* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light theme colors - More minimalist palette */
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #707070;
    --text-muted: #a0a0a0;
    --border-color: #e8e8e8;
    --accent-color: #3366ff;
    --accent-hover: #2952cc;
    --nav-bg: rgba(255, 255, 255, 0.8);
    --card-bg: transparent;
    --card-hover: #f8f9fa;
    --slice-sep: #000000;
    --title-bg: rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] {
    /* Dark theme colors - More sophisticated */
    --bg-color: #0a0a0a;
    --bg-secondary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #606060;
    --border-color: #1a1a1a;
    --accent-color: #4d79ff;
    --accent-hover: #6690ff;
    --nav-bg: rgba(10, 10, 10, 0.8);
    --card-bg: transparent;
    --card-hover: #111111;
    --slice-sep: #ffffff;
    --title-bg: rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-color);
    font-weight: 400;
    font-size: 16px;
    letter-spacing: -0.01em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
.serif {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.02em;
}

/* Fixed Brand */
.brand-fixed {
    position: fixed;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 1.05rem;
    line-height: 1;
    pointer-events: none; /* don’t block clicks */
}

/* Main Content */
main {
    margin-top: 0;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    /* Use --vh for reliable mobile height */
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, white 100%);
    z-index: 5;
    pointer-events: none;
}

#wireframe-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    padding: 0 3rem;
    max-width: 1200px;
    /* Use variable for offset, default -25vh */
    transform: translateY(var(--hero-offset, -25vh));
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.06em;
    line-height: 0.85;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 300;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Projects Section */
.projects {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 3rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 5rem;
    text-align: center;
    letter-spacing: -0.03em;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-top: 4rem;
}
/* Slashes-style gallery (desktop) */
.projects-slashes {
    display: none; /* hidden by default; enabled on desktop */
    margin-top: 3.5rem;
    position: relative; /* for floating title positioning */
    /* Lock the gallery row height to prevent Y-axis jitter */
    --slash-height: clamp(280px, 48vh, 560px);
    height: var(--slash-height);
    overflow: visible; /* allow expanded slices to render fully */
    pointer-events: none; /* restrict hit-testing to slices */
}

/* Floating title above slashes */
.slashes-floating-title {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.slashes-track {
    display: flex;
    align-items: stretch;
    gap: 0; /* separators drawn by borders */
    height: 100%;
    overflow: visible;
}

.slash-item {
    position: relative;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    isolation: isolate;
    /* slanted slice wrapper */
    transform: skewX(-18deg);
    border: none;
    /* baseline: narrow slices */
    flex: 0 1 120px;
    transition: flex-basis 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.35s ease;
    pointer-events: auto; /* re-enable hit-testing on each slice */
    /* slight overlap to eliminate anti-aliasing gaps */
    margin-right: -1px;
}

.slashes-track .slash-item:hover {
    flex: 1 1 min(60vw, 820px);
    z-index: 3; /* raise above neighbors while expanded */
}

/* Active (default-selected) slice when not hovering another */
.slash-item.active {
    flex: 1 1 min(60vw, 820px);
    z-index: 2;
}

.slash-bg {
    position: absolute;
    /* extend massively beyond container to cover even the most extreme diagonal cuts */
    left: -100px;
    right: -100px;
    top: -30px;
    bottom: -30px;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* unskew to make image appear straight and scale to fill angled cuts completely */
    transform: skewX(18deg) scaleX(1);
    transform-origin: center;
    filter: grayscale(100%) contrast(1.05) brightness(0.9);
    transition: filter 0.45s ease;
    z-index: 1;
}

.slashes-track .slash-item:hover .slash-bg {
    filter: grayscale(0%) saturate(1.2) contrast(1.05) brightness(1.02);
}

/* active slice shows color and title even without hover */
.slash-item.active .slash-bg {
    filter: grayscale(0%) saturate(1.2) contrast(1.05) brightness(1.02);
}
.slash-item.active .slash-title {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.slash-title {
    /* Hide the old in-slice title */
    display: none;
}

.slashes-track .slash-item:hover .slash-title {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* Show slashes on desktop; hide list */
@media (min-width: 1024px) {
    .projects-slashes { display: block; }
    .projects-grid { display: none; }
}

.project-card {
    grid-column: span 12;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.project-card:hover {
    transform: translateY(-4px);
    background: var(--card-hover);
}

.project-content {
    display: grid;
    grid-template-columns: 320px 1fr auto;
    gap: 32px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.project-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(51,102,255,0.08), rgba(102,153,255,0.06));
    min-height: 180px;
    border: 1px solid var(--border-color);
}

.project-media .media-accent {
    position: absolute;
    inset: 0;
    background: radial-gradient(120px 120px at var(--mx,50%) var(--my,50%), rgba(77,121,255,0.25), transparent 60%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0.6;
}

.project-number {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
    z-index: 2;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-title {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.project-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
}

.project-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    text-align: right;
}

.project-status {
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.status-live {
    color: var(--accent-color);
}

.status-development {
    color: #ff6b35;
}

.status-active {
    color: var(--accent-color);
}

.project-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.project-link:hover {
    color: var(--accent-color);
}

.project-link::after {
    content: '↗';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.project-link:hover::after {
    transform: translate(2px, -2px);
}

/* About Section */
.about {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 3rem;
    text-align: center;
}

.about h2 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 3rem;
    letter-spacing: -0.03em;
}

.about p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Footer */
footer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 3rem 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer .logo {
    font-size: 1rem;
    color: var(--text-muted);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

/* Contact section (replaces traditional footer/large about block) */
.contact {
    background: transparent;
    border-top: none;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 5rem 3rem;
    text-align: center;
}

.contact h2 {
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-icons {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.contact-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.contact-icons a:hover {
    color: var(--accent-color);
    background: rgba(51,102,255,0.06);
    transform: translateY(-3px);
}

.contact-icons svg { display: block; }

.contact-icons i {
    font-size: 2.5em;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .brand-fixed {
    top: 18px;
        left: 50%;
        transform: translateX(-50%);
    font-size: 0.95rem;
    }

    .hero {
        /* height: 100vh; */ /* removed, using --vh now */
        padding: 0 2rem;
    }
    
    .hero-content {
    padding: 0 1rem;
    /* Move up a smidge more on mobile */
    --hero-offset: -35vh;
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 5rem);
        line-height: 0.9;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    #wireframe-canvas {
        opacity: 0.25;
    }
    
    .projects {
        padding: 5rem 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .projects-grid { grid-template-columns: 1fr; gap: 16px; }
    .project-card { grid-column: span 1; }
    .project-content { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
    .project-media { min-height: 140px; }
    
    .project-number {
        order: 1;
    }
    
    .project-info {
        order: 2;
    }
    
    .project-meta {
        order: 3;
        align-items: flex-start;
        text-align: left;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .project-card { padding: 0; }
    
    .about-content {
        padding: 5rem 2rem;
    }
    
    .about h2 {
        font-size: 2.5rem;
    }
    
    .about p {
        font-size: 1.1rem;
    }
    
    footer { padding: 4rem 2rem 2rem; }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        gap: 2rem;
    }
}

/* Ensure preview grid spans full width between tablet and desktop so items don't collapse into a single
   1/12 column (fixes tall/narrow aspect ratios where previews were stacking down the left edge). */
@media (max-width: 1023px) {
    .projects-grid {
        /* use a single column layout for the projects container on small/medium viewports */
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* make sure the mobile previews take the full grid width rather than a single 1/12 column */
    .mobile-previews-grid {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* Mobile previews grid: compact 2x4 layout */
.mobile-previews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px; /* increased spacing between circles */
    align-items: stretch;
    width: 100%;
}

/* Mobile: use a flex layout so items can be reliably spaced across the viewport
   and avoid the circles getting squished together on narrow screens. */
@media (max-width: 768px) {
    .mobile-previews-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start; /* align items to fill rows left-to-right */
        gap: 0; /* edge-to-edge thumbnails, no gutters */
        padding: 0; /* ensure thumbnails reach viewport edges */
        width: 100%;
        box-sizing: border-box;
    }

    /* Two-up layout: each thumbnail takes exactly half the width so the row is
       completely filled (no gaps) and thumbnails are rectangular. Remove the
       min-width constraint to allow true edge-to-edge behavior. */
    .mobile-previews-grid .preview-item {
        flex: 0 0 50%;
        max-width: 50%;
        min-width: 0;
        box-sizing: border-box;
    }

    /* Give each preview item a fixed aspect ratio on mobile so the absolutely
       positioned .preview-thumb inside can size itself and be visible. */
    .mobile-previews-grid .preview-item {
        aspect-ratio: 16 / 9;
        display: block; /* ensure it establishes a formatting context */
        overflow: hidden;
    }

    /* Ensure the thumb fills the preview box */
    .mobile-previews-grid .preview-thumb {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        width: 100%;
        height: 100%;
    }
}

.preview-item {
    /* Rectangular thumbnail: no circular mask, no border, let image fill the box */
    background: transparent;
    border-radius: 0;
    border: none;
    aspect-ratio: auto;
    overflow: hidden;
    display: block;
    height: auto;
    position: relative;
    cursor: pointer;
    transition: transform 0.28s ease;
}

.preview-item:active,
.preview-item.opening,
.preview-item.expanded {
    /* keep a subtle scale on interaction but remove any shadows */
    transform: scale(1.02);
}

/* make border a touch more visible on hover */
.preview-item:hover {
    /* slightly increase ring brightness on hover via CSS variable */
    --ring-brightness: 1.25;
}

/* respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .preview-item::before { animation: none !important; }
}

/* ensure the frame and thumbnail render beneath the ring */
.preview-frame { z-index: 1; }
.preview-thumb { z-index: 1; }

/* per-item gradient colors (tweak stops as needed) */
.preview-item[data-id="getfanatic"] { --ring-gradient: #ff7a7a, #ffd17a, #7affc2, #7ab8ff; }
.preview-item[data-id="stickerlife"] { --ring-gradient: #ff9ec7, #ffcc6e, #9ef0c1, #bfa3ff; }
.preview-item[data-id="dnhk"] { --ring-gradient: #a6ffea, #6ee7ff, #9fb4ff, #c2a6ff; }
.preview-item[data-id="futureminds"] { --ring-gradient: #7ab8ff, #6ef3ff, #a6ffd8, #ffd17a; }
.preview-item[data-id="baseline"] { --ring-gradient: #b0ffb3, #8fe6ff, #d0b3ff, #ffc6b3; }
.preview-item[data-id="docuhaven"] { --ring-gradient: #ffd1a6, #ff9ec7, #c9b3ff, #9ee7ff; }
.preview-item[data-id="geteverything"] { --ring-gradient: #ffd17a, #ff9ec7, #9ef0c1, #7ab8ff; }

/* slightly reduce opacity for subtlety */
.preview-item { --ring-opacity: 0.9; }

.preview-frame {
    position: absolute;
    inset: 0;
    display: block;
}

.preview-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform-origin: center;
    transition: transform 0.45s cubic-bezier(.2,.9,.2,1), filter 0.45s ease, opacity 0.25s ease;
    filter: saturate(0.8) contrast(0.95) brightness(0.98);
}

/* Mobile/tablet: slightly zoom thumbnails by ~5% so the circle appears closer */
@media (max-width: 1023px) {
    .mobile-previews-grid .preview-thumb {
        transform: scale(1.05);
    }

    /* Keep preview items measurable (so they don't collapse to 0 height)
       on tablet/narrow-desktop viewports. Also make the previews container
       full-bleed so images can reach the absolute sides of the viewport. */
    .mobile-previews-grid {
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        width: 100vw;
        box-sizing: border-box;
    }

    .mobile-previews-grid .preview-item {
        aspect-ratio: 16 / 9; /* ensure each item has height so thumbs are visible */
        overflow: hidden;
        display: block;
    }

    /* Ensure thumbs still cover the container area when using background-image */
    .mobile-previews-grid .preview-thumb {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
    }
}

.preview-caption {
    position: relative;
    z-index: 3;
    padding: 12px 14px;
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.6));
    backdrop-filter: blur(4px);
    text-align: left;
}

/* soften harsh cutoff on thumbnail by adding a smooth, more gradual gradient overlay */
.preview-frame::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    /* gentle vignette that's stronger at the bottom but fades toward the top */
    background: linear-gradient(180deg,
        rgba(255,255,255,0.0) 0%,
        rgba(255,255,255,0.0) 12%,
        rgba(0,0,0,0.04) 28%,
        rgba(0,0,0,0.12) 48%,
        rgba(0,0,0,0.26) 72%,
        rgba(0,0,0,0.42) 100%);
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 2;
    display: none !important; /* remove animated ring; use a simple static outline above */
}

/* Remove any darkening overlay and filters for the mobile preview thumbnails so images render at full brightness */
.mobile-previews-grid .preview-frame::after {
    background: none !important;
    opacity: 0 !important;
}

.mobile-previews-grid .preview-item {
    background: transparent !important;
}

.mobile-previews-grid .preview-thumb {
    /* disable any image filters that reduced brightness/saturation */
    filter: none !important;
}

/* Expanded overlay that covers viewport */
.preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none; /* enabled when active */
    align-items: center;
    justify-content: center;
    flex-direction: column; /* stack image above caption */
    gap: 18px; /* spacing between image and caption */
    padding: 28px; /* decent padding for small screens */
    z-index: 1500;
    background: rgba(0,0,0,0.45);
    transition: opacity 0.25s ease;
}

.preview-overlay.active {
    display: flex;
}

.preview-overlay .expanded-image {
    /* container for the image element; size adapts to viewport */
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 92vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 0;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    position: relative;
    background-color: var(--bg-secondary);
    padding: 6px; /* small frame around image */
}

/* the actual image element that will contain the full preview; object-fit: contain keeps entire image visible */
.expanded-image img.expanded-img-element {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.2,.9,.2,1);
}

.expanded-image img.expanded-img-element.loaded {
    opacity: 1;
}

.preview-overlay .expanded-caption {
    /* center caption below the expanded image */
    position: relative;
    margin-top: 14px;
    color: #fff;
    font-weight: 800;
    z-index: 10;
    /* remove heavy glow so titles render crisply */
    text-shadow: none;
    font-size: 1.1rem;
    text-align: center;
    max-width: 92vw;
    overflow-wrap: anywhere;
    word-break: break-word;
}
/* overlay close button */

.preview-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1600;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: transform 0.18s ease, background 0.18s ease;
}

.preview-close:active { transform: scale(0.96); }

/* small tweak for very small devices */
@media (max-width: 420px) {
    .preview-item { height: 190px; }
}

/* Prevent background from scrolling when overlay open */
body.preview-overlay-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .hero {
        padding: 0 1.5rem;
    }
    .hero-content {
        --hero-offset: calc(var(--vh) * -18); /* Slightly more up for very small devices */
    }
    
    .projects {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-description {
        font-size: 0.95rem;
    }
    
    .about-content {
        padding: 4rem 1.5rem;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    footer {
        padding: 3rem 1.5rem 2rem;
    }
}

/* Separators with anti-aliasing fix */
.slash-item + .slash-item {
    border-left: 10px solid var(--slice-sep);
    margin-left: -1px; /* pull back to overlap and eliminate white line */
}
/* outer-edge separators */
.slash-item:first-child { border-left: 10px solid var(--slice-sep); }
.slash-item:last-child { border-right: 10px solid var(--slice-sep); }