/* ==========================================================================
   Wigs by L — Editorial Hair Beauty
   Palette: Cream (#F4EEE7), Sand (#E9DFD3), Clay (#9A5B3F), Espresso (#211813)
   Type: Cormorant Garamond (display) + Jost (text)
   ========================================================================== */

:root {
    --bg: #F4EEE7;
    --bg-2: #EAE0D4;
    --bg-3: #DDD0C1;
    --ink: #211813;
    --ink-2: #54453B;
    --muted: #8C7B6E;
    --cream: #F7F2EC;
    --accent: #9A5B3F;
    --accent-deep: #7C4630;
    --line: rgba(33, 24, 19, 0.14);
    --line-strong: rgba(33, 24, 19, 0.32);
    --line-light: rgba(247, 242, 236, 0.18);
    --whatsapp: #1E6B48;
    --whatsapp-deep: #16543A;

    --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-text: 'Jost', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

    --gutter: clamp(1rem, 4vw, 3rem);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
    --intro: 1.55s;

    /* Legacy tokens still referenced by inline markup */
    --text-primary: var(--ink);
    --text-secondary: var(--ink-2);
    --text-muted: var(--muted);
    --bg-secondary: var(--bg-2);
    --border: var(--line);
    --gold: var(--accent);
    --accent-light: var(--bg-2);
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
}

html.intro-seen { --intro: 0.1s; }

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    background: var(--bg);
    color: var(--ink-2);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

ul, ol { list-style: none; }

button { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--cream); }

:focus-visible {
    outline: 1px solid var(--ink);
    outline-offset: 4px;
}

.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .serif {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.015em;
    color: var(--ink);
}

h1 em, h2 em, h3 em {
    font-style: italic;
    font-weight: 400;
}

h2 { font-size: clamp(2.4rem, 5vw, 4.25rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.12; }

p strong { color: var(--ink); font-weight: 500; }

.eyebrow {
    display: block;
    font-family: var(--font-text);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--accent);
    margin-bottom: 1.1rem;
}

.section-header {
    max-width: 760px;
    margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.section-header h2 { margin-bottom: 1.1rem; }

.section-header p {
    max-width: 520px;
    font-size: 1.02rem;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 { max-width: 12ch; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--cream);
    --btn-fill: var(--accent);
    --btn-fill-fg: var(--cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.05rem 2.1rem;
    font-family: var(--font-text);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1.2;
    border: 1px solid var(--btn-bg);
    border-radius: 0;
    color: var(--btn-fg);
    background: linear-gradient(var(--btn-fill), var(--btn-fill)) no-repeat bottom / 100% 0%, var(--btn-bg);
    cursor: pointer;
    transition: background-size 0.55s var(--ease-out), color 0.4s ease, border-color 0.4s ease;
    white-space: nowrap;
}

.btn:hover {
    background-size: 100% 100%;
    color: var(--btn-fill-fg);
    border-color: var(--btn-fill);
}

.btn-sm { padding: 0.8rem 1.4rem; }
.btn-lg { padding: 1.2rem 2.5rem; }

.btn-primary { /* defaults */ }

.btn-accent {
    --btn-bg: var(--accent);
    --btn-fill: var(--ink);
}

.btn-outline {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-fill: var(--ink);
    border-color: var(--line-strong);
}

.btn-whatsapp {
    --btn-bg: var(--whatsapp);
    --btn-fill: var(--whatsapp-deep);
}

.btn-light {
    --btn-bg: var(--cream);
    --btn-fg: var(--ink);
    --btn-fill: var(--accent);
}

.btn-outline-light {
    --btn-bg: transparent;
    --btn-fg: var(--cream);
    --btn-fill: var(--cream);
    --btn-fill-fg: var(--ink);
    border-color: var(--line-light);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0.4rem 0;
    background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 100% 1px;
    transition: background-size 0.5s var(--ease-out);
    white-space: nowrap;
}

.link-arrow::after {
    content: '→';
    font-size: 0.95rem;
    letter-spacing: 0;
    transition: transform 0.5s var(--ease-out);
}

.link-arrow:hover {
    background-size: 0% 1px;
}

.link-arrow:hover::after { transform: translateX(5px); }

.link-arrow--light { color: var(--cream); }

.text-link {
    color: var(--ink);
    border-bottom: 1px solid var(--line-strong);
    transition: border-color 0.3s ease;
}

.text-link:hover { border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Intro loader
   -------------------------------------------------------------------------- */
.page-loader { display: none; }

html.js .page-loader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--cream);
    clip-path: inset(0 0 0 0);
    animation: loaderLift 1s var(--ease-in-out) 1.05s forwards;
    pointer-events: none;
}

.page-loader__mark {
    display: flex;
    align-items: baseline;
    gap: 0.28em;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    line-height: 1;
    overflow: hidden;
    padding-bottom: 0.1em;
}

.page-loader__mark span {
    display: inline-block;
    transform: translateY(110%);
    animation: loaderWord 0.9s var(--ease-out) forwards;
    animation-delay: calc(0.12s + var(--i) * 0.09s);
}

.page-loader__mark em { font-style: italic; }

.page-loader__line {
    position: absolute;
    left: 50%;
    bottom: 18%;
    width: min(180px, 40vw);
    height: 1px;
    background: var(--line-light);
    transform: translateX(-50%);
    overflow: hidden;
}

.page-loader__line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cream);
    transform: scaleX(0);
    transform-origin: left;
    animation: loaderBar 0.95s var(--ease-in-out) 0.05s forwards;
}

html.intro-seen .page-loader { display: none; }

@keyframes loaderWord { to { transform: translateY(0); } }
@keyframes loaderBar { to { transform: scaleX(1); } }
@keyframes loaderLift {
    to { clip-path: inset(0 0 100% 0); visibility: hidden; }
}

/* --------------------------------------------------------------------------
   Announcement bar & header
   -------------------------------------------------------------------------- */
.announcement-bar {
    background: var(--ink);
    color: rgba(247, 242, 236, 0.8);
    font-size: 0.66rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 0.7rem 0;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.announcement-link {
    color: var(--cream);
    border-bottom: 1px solid var(--line-light);
    white-space: nowrap;
}

.announcement-link:hover { border-color: var(--cream); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid transparent;
    transition: transform 0.6s var(--ease-out), border-color 0.4s ease;
}

.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.brand-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-text { display: flex; flex-direction: column; }

.brand-name {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.brand-name em { font-style: italic; font-weight: 400; }

.brand-tagline { display: none; }

.nav-list {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.4vw, 2.4rem);
}

.nav-link {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-2);
    padding: 0.35rem 0;
    background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0% 1px;
    transition: color 0.3s ease, background-size 0.5s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink);
    background-size: 100% 1px;
}

.nav-cta-item { margin-left: 0.5rem; }

.mobile-menu-toggle {
    display: none;
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.5s var(--ease-out), opacity 0.3s ease;
}

.hamburger-line:nth-child(1) { top: 16px; }
.hamburger-line:nth-child(2) { top: 22px; }
.hamburger-line:nth-child(3) { top: 28px; }

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Homepage hero
   -------------------------------------------------------------------------- */
.hero {
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 7rem);
    position: relative;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.hero-top .eyebrow { margin: 0; color: var(--muted); }

.hero-title {
    font-size: clamp(3.3rem, 10.5vw, 9.6rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hero-title em { color: var(--accent); }

.hero-layout {
    display: grid;
    grid-template-columns: 4fr 5fr 3fr;
    gap: clamp(1.25rem, 3vw, 3rem);
    align-items: start;
}

.hero-copy { padding-top: 0.5rem; }

.hero-lead {
    font-size: 1.08rem;
    max-width: 380px;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 2rem;
}

.hero-shades {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.shade-dots { display: flex; gap: 6px; }

.shade-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.frame {
    position: relative;
    overflow: hidden;
    background: var(--bg-2);
}

.frame img,
.frame video {
    position: absolute;
    left: 0;
    top: -12%;
    width: 100%;
    height: 124%;
    object-fit: cover;
    max-width: none;
}

.hero-figure--main { aspect-ratio: 4 / 5; }

.hero-figure--side {
    aspect-ratio: 3 / 4;
    margin-top: clamp(4rem, 12vw, 11rem);
}

.figure-caption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Marquee */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.35rem 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 38s linear infinite;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    font-style: italic;
    color: var(--ink);
    white-space: nowrap;
}

.marquee-track span::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(5rem, 10vw, 9rem) 0; }

.section-alt { background: var(--bg-2); }

.section-dark {
    background: var(--ink);
    color: rgba(247, 242, 236, 0.74);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--cream); }

.section-dark .eyebrow { color: #C99A7F; }

.section-dark .section-header p { color: rgba(247, 242, 236, 0.74); }

/* Two-column helper used across pages */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

/* Made-to-order feature */
.custom-feature-grid {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: center;
}

.custom-feature-media {
    position: relative;
    padding-right: 18%;
    padding-bottom: 14%;
}

.custom-feature-media .frame--tall { aspect-ratio: 4 / 5; }

.custom-feature-media .frame--small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    aspect-ratio: 3 / 4;
    outline: 10px solid var(--ink);
}

.custom-feature-copy h2 { margin-bottom: 1.5rem; }

.custom-feature-copy > p {
    max-width: 440px;
    margin-bottom: 2.5rem;
}

.steps-list {
    margin-bottom: 2.75rem;
    border-top: 1px solid var(--line-light);
}

.steps-list li {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line-light);
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--cream);
}

.steps-list li span {
    font-family: var(--font-text);
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    color: #C99A7F;
}

/* Craft / why section */
.craft-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: start;
}

.craft-media {
    position: sticky;
    top: 110px;
}

.craft-media .frame { aspect-ratio: 4 / 5; }

.craft-copy h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 14ch; }

.craft-list li {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid var(--line);
}

.craft-list li:last-child { border-bottom: 1px solid var(--line); }

.craft-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--accent);
    line-height: 1.4;
}

.craft-list h3 { margin-bottom: 0.5rem; }

.craft-list p { max-width: 460px; }

/* Closing band */
.closing {
    position: relative;
    min-height: min(92vh, 860px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--ink);
    color: var(--cream);
}

.closing-media {
    position: absolute;
    inset: 0;
}

.closing-media video,
.closing-media img {
    position: absolute;
    left: 0;
    top: -12%;
    width: 100%;
    height: 124%;
    object-fit: cover;
    object-position: 50% 22%;
    max-width: none;
}

.closing::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(33, 24, 19, 0.82) 0%, rgba(33, 24, 19, 0.25) 60%, rgba(33, 24, 19, 0.15) 100%);
}

.closing-inner {
    position: relative;
    z-index: 1;
    padding-top: 6rem;
    padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.closing h2 {
    color: var(--cream);
    font-size: clamp(2.8rem, 7.5vw, 6.8rem);
    max-width: 13ch;
    margin-bottom: 2.5rem;
}

.closing .eyebrow { color: rgba(247, 242, 236, 0.7); }


/* Shades: horizontal track (scroll-driven on desktop, swipe on phones) */
.shades {
    position: relative;
    padding: clamp(5rem, 10vw, 9rem) 0;
}

.shades-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.shades-head h2 { max-width: 11ch; }
.shades-head p { max-width: 340px; }

.shades-track {
    display: flex;
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    padding: 0 max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)));
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.shades-track::-webkit-scrollbar { display: none; }

.shade-card {
    flex: 0 0 clamp(220px, 23vw, 340px);
    scroll-snap-align: start;
}

.shade-card .frame { aspect-ratio: 3 / 4; }

.shade-card .frame img {
    top: 0;
    height: 100%;
    transition: transform 1.4s var(--ease-out);
}

.shade-card:hover .frame img { transform: scale(1.05); }

.shade-card-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.9rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--ink);
}

.shade-card-label small {
    margin-left: auto;
    font-family: var(--font-text);
    font-size: 0.64rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Pinned version: JS sets the section height and moves the track */
html.js .shades.is-pinned { padding: 0; }

html.js .shades.is-pinned .shades-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

html.js .shades.is-pinned .shades-track {
    overflow: visible;
    width: max-content;
    will-change: transform;
}

/* --------------------------------------------------------------------------
   Product tiles
   -------------------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 2vw, 1.75rem);
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-card-media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-2);
}

.product-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out), opacity 0.7s ease;
}

.product-card-media .img-alt { opacity: 0; }

.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card:hover .product-card-media .img-alt { opacity: 1; }

.product-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 1;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--cream);
    padding: 0.4rem 0.7rem;
}

.product-card-body { padding-top: 1.15rem; }

.product-card-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.product-title {
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    line-height: 1.1;
}

.product-price {
    font-size: 0.88rem;
    color: var(--ink);
    white-space: nowrap;
}

.product-meta {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

.product-card .link-arrow { font-size: 0.66rem; }

/* --------------------------------------------------------------------------
   Feature lists (care guide, contact)
   -------------------------------------------------------------------------- */
.features-grid,
.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0 clamp(1.5rem, 3vw, 3rem);
}

.feature-card {
    padding: 2rem 0 2.25rem;
    border-top: 1px solid var(--line);
}

.feature-icon {
    display: block;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--accent);
}

.feature-icon svg { width: 22px; height: 22px; stroke-width: 1.3; }

.feature-card h3 { margin-bottom: 0.75rem; }

.feature-card p { font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Custom wig builder
   -------------------------------------------------------------------------- */
.configurator-wrapper {
    display: grid;
    grid-template-columns: 7fr 4fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.configurator-form-card { counter-reset: step; }

.config-step {
    padding: 2.5rem 0;
    border-top: 1px solid var(--line);
}

.config-step:first-child { padding-top: 0; border-top: none; }

.config-step-label {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.config-step-label::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    font-family: var(--font-text);
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    transform: translateY(-0.35em);
}

.config-step-hint {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill-option { position: relative; }

.pill-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pill-option span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.15rem;
    border: 1px solid var(--line);
    font-size: 0.86rem;
    color: var(--ink-2);
    cursor: pointer;
    user-select: none;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.pill-option span:hover { border-color: var(--ink); color: var(--ink); }

.pill-option input:checked + span {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

.pill-option input:focus-visible + span {
    outline: 1px solid var(--ink);
    outline-offset: 3px;
}

.swatch-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(247, 242, 236, 0.25);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.form-control {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    background: transparent;
    font-family: var(--font-text);
    font-size: 1rem;
    color: var(--ink);
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23211813' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    padding-right: 1.5rem;
}

textarea.form-control { resize: vertical; }

.form-control::placeholder { color: var(--muted); opacity: 0.7; }

.form-control:focus {
    outline: none;
    border-bottom-color: var(--ink);
}

.inspiration-banner {
    display: none;
    margin-bottom: 2.5rem;
    padding: 1rem 0 1rem 1.25rem;
    border-left: 1px solid var(--accent);
    color: var(--ink);
}

.configurator-summary-card {
    position: sticky;
    top: 110px;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ink);
}

.configurator-summary-card h3 {
    font-size: clamp(1.9rem, 2.6vw, 2.4rem);
    margin-bottom: 0.6rem;
}

.summary-subtitle {
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
}

.summary-list { margin-bottom: 2rem; }

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
}

.summary-row:last-child { border-bottom: 1px solid var(--line); }

.summary-row span:first-child {
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 0.2rem;
}

.summary-row strong {
    text-align: right;
    font-weight: 400;
    color: var(--ink);
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.summary-actions .btn { width: 100%; }

.summary-note {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 1.25rem;
}

/* Contact page */
.contact-channels { display: flex; flex-direction: column; }

.contact-channels .feature-card h3 { margin-bottom: 0.6rem; }
.contact-channels .feature-card p { margin-bottom: 1.5rem; }

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.contact-list a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.contact-list a:hover { border-color: var(--ink); }

.form-intro h2 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 0.6rem; }
.form-intro p { font-size: 0.95rem; margin-bottom: 2rem; }

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Filters, lookbook & lightbox
   -------------------------------------------------------------------------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    margin-bottom: 3rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.filter-btn {
    padding: 0.35rem 0;
    border: none;
    background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0% 1px;
    color: var(--muted);
    font-family: var(--font-text);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease, background-size 0.5s var(--ease-out);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--ink);
    background-size: 100% 1px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.gallery-grid--home {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.75rem, 2vw, 2rem);
}

.gallery-grid--home .gallery-item:nth-child(3n + 2) { margin-top: clamp(2rem, 7vw, 6rem); }
.gallery-grid--home .gallery-item:nth-child(3n + 3) { margin-top: clamp(1rem, 3vw, 2.5rem); }

.gallery-item {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-2);
    cursor: pointer;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}

.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 3.5rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(33, 24, 19, 0.6), transparent);
    color: var(--cream);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
    opacity: 1;
    transform: none;
}

.gallery-category {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(247, 242, 236, 0.75);
    margin-bottom: 0.3rem;
}

.gallery-title {
    font-size: 1.35rem;
    color: var(--cream);
}

.video-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream);
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(33, 24, 19, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--gutter);
}

.lightbox-modal.open {
    display: flex;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn { from { opacity: 0; } }

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1040px;
    max-height: calc(100vh - 2 * var(--gutter));
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: var(--bg);
    overflow: auto;
}

.lightbox-media {
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-media img,
.lightbox-media video {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
}

.lightbox-details {
    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.lightbox-details h3 { font-size: 2rem; margin-bottom: 0.75rem; }
.lightbox-details p { margin-bottom: 2rem; }

.lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    z-index: 2;
    background: none;
    border: none;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */
.back-link-row { margin-bottom: 2.5rem; }

.product-detail-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.product-gallery-main {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--bg-2);
    margin-bottom: 0.75rem;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.product-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    padding: 0;
    border: none;
    background: var(--bg-2);
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.3s ease;
}

.product-thumb.active,
.product-thumb:hover { opacity: 1; }

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-panel {
    position: sticky;
    top: 110px;
}

.product-info-panel h1 {
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    margin-bottom: 0.75rem;
}

.product-detail-price {
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 1.75rem;
}

.product-specs-list { margin: 2rem 0; }

.product-specs-list li {
    padding: 0.8rem 0;
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
}

.product-specs-list li:last-child { border-bottom: 1px solid var(--line); }

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 2rem;
}

.product-actions .btn { width: 100%; }

.product-note {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
    padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    max-width: 13ch;
    margin-bottom: 1.75rem;
}

.page-hero p {
    max-width: 520px;
    font-size: 1.05rem;
}

/* Inner page bits */
.story-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: end;
}

.story-media .frame { aspect-ratio: 3 / 4; }
.story-media .frame:last-child { aspect-ratio: 4 / 5; margin-bottom: 3rem; }

.story-copy h2 { margin-bottom: 1.75rem; }
.story-copy p { margin-bottom: 1.25rem; max-width: 520px; }
.story-copy .hero-actions { margin-top: 2.25rem; }

.cta-band {
    margin-top: clamp(5rem, 9vw, 8rem);
    padding-top: clamp(3rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: end;
}

.cta-band h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1rem; max-width: 16ch; }
.cta-band p { max-width: 540px; }

/* FAQ */
.faq-list { max-width: 900px; }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.6rem 0;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    line-height: 1.2;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary span {
    font-family: var(--font-text);
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.5s var(--ease-out);
}

.faq-item[open] summary span { transform: rotate(45deg); }

.faq-item p {
    max-width: 680px;
    padding-bottom: 1.75rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--ink);
    color: rgba(247, 242, 236, 0.66);
    padding: clamp(4.5rem, 9vw, 7.5rem) 0 2rem;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.9fr 1.1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    line-height: 1;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.footer-logo img { width: 44px; height: 44px; border-radius: 50%; }

.footer-desc {
    max-width: 340px;
    margin-bottom: 1.75rem;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
}

.social-pill {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--line-light);
    transition: border-color 0.3s ease;
}

.social-pill:hover { border-color: var(--cream); }

.site-footer h4 {
    font-family: var(--font-text);
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(247, 242, 236, 0.45);
    margin-bottom: 1.4rem;
}

.footer-links-col ul,
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links-col a,
.footer-contact-list a { color: rgba(247, 242, 236, 0.85); }

.footer-links-col a:hover,
.footer-contact-list a:hover { color: var(--cream); }

.footer-contact-list strong { font-weight: 400; color: rgba(247, 242, 236, 0.45); }

.footer-contact-col p { margin-bottom: 1.25rem; }

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid var(--line-light);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(247, 242, 236, 0.4);
}

.footer-admin-link a { color: rgba(247, 242, 236, 0.4); }

/* WhatsApp button */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--whatsapp);
    color: #FFFFFF;
    transition: transform 0.5s var(--ease-out), background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.06);
    background: var(--whatsapp-deep);
}

.whatsapp-float-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* --------------------------------------------------------------------------
   Motion: intro, scroll reveals, split text
   Only applied when JS is running and the visitor allows motion.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    html.js [data-intro] {
        opacity: 0;
        transform: translateY(28px);
        animation: introUp 1.2s var(--ease-out) forwards;
        animation-delay: calc(var(--intro) + var(--d, 0s));
    }

    html.js [data-intro-mask] {
        clip-path: inset(100% 0 0 0);
        animation: maskUp 1.4s var(--ease-in-out) forwards;
        animation-delay: calc(var(--intro) + var(--d, 0s));
    }

    html.js [data-intro-mask] > img,
    html.js [data-intro-mask] > video {
        scale: 1.25;
        animation: settle 2s var(--ease-out) forwards;
        animation-delay: calc(var(--intro) + var(--d, 0s));
    }

    html.js [data-reveal] {
        opacity: 0;
        transform: translateY(36px);
        transition: opacity 1s ease, transform 1.3s var(--ease-out);
        transition-delay: var(--rd, 0s);
    }

    html.js [data-reveal].is-in {
        opacity: 1;
        transform: none;
    }

    html.js [data-reveal="mask"] {
        opacity: 1;
        transform: none;
        clip-path: inset(100% 0 0 0);
        transition: clip-path 1.4s var(--ease-in-out);
        transition-delay: var(--rd, 0s);
    }

    html.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }

    html.js [data-reveal="mask"] > img,
    html.js [data-reveal="mask"] > video {
        scale: 1.2;
        transition: scale 2s var(--ease-out);
        transition-delay: var(--rd, 0s);
    }

    html.js [data-reveal="mask"].is-in > img,
    html.js [data-reveal="mask"].is-in > video { scale: 1; }

    html.js [data-reveal="fade"] { transform: none; }

    .split-word {
        display: inline-block;
        overflow: hidden;
        vertical-align: top;
        padding-bottom: 0.12em;
        margin-bottom: -0.12em;
    }

    .split-word > span {
        display: inline-block;
        transform: translateY(110%);
        transition: transform 1.2s var(--ease-out);
        transition-delay: calc(var(--rd, 0s) + var(--wi) * 0.055s);
    }

    .is-in .split-word > span { transform: none; }

    .is-intro .split-word > span {
        transition: none;
        animation: wordUp 1.3s var(--ease-out) forwards;
        animation-delay: calc(var(--intro) + var(--wi) * 0.07s);
    }
}

@keyframes introUp { to { opacity: 1; transform: none; } }
@keyframes maskUp { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { scale: 1; } }
@keyframes wordUp { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html.js .page-loader { display: none; }
    .marquee-track { animation: none; }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .hero-layout { grid-template-columns: 1fr 1fr; }
    .hero-copy { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; align-items: end; }
    .hero-shades { grid-column: 1 / -1; }
    .hero-figure--side { margin-top: clamp(3rem, 10vw, 7rem); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    .hero-grid,
    .custom-feature-grid,
    .craft-grid,
    .configurator-wrapper,
    .product-detail-grid,
    .lightbox-content {
        grid-template-columns: 1fr;
    }

    .craft-media,
    .configurator-summary-card,
    .product-info-panel { position: static; }

    .craft-media .frame { aspect-ratio: 4 / 3; }

    .lightbox-media img,
    .lightbox-media video { max-height: 55vh; }
}

@media (max-width: 860px) {
    .mobile-menu-toggle { display: block; }

    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 1;
        background: var(--bg);
        display: flex;
        align-items: flex-end;
        padding: 6rem var(--gutter) 3rem;
        clip-path: inset(0 0 100% 0);
        visibility: hidden;
        transition: clip-path 0.8s var(--ease-in-out), visibility 0s linear 0.8s;
    }

    .main-nav.open {
        clip-path: inset(0 0 0 0);
        visibility: visible;
        transition: clip-path 0.8s var(--ease-in-out);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        width: 100%;
    }

    .nav-link {
        font-family: var(--font-display);
        font-size: clamp(2.4rem, 10vw, 3.4rem);
        letter-spacing: -0.01em;
        text-transform: none;
        color: var(--ink);
        line-height: 1.15;
    }

    .nav-cta-item { margin: 2rem 0 0; }

    .announcement-link { display: none; }
}

@media (max-width: 720px) {
    .section-head,
    .shades-head { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .shade-card { flex-basis: 68vw; }
    .hero-top .eyebrow:last-child { display: none; }
    .hero-copy { display: block; }
    .hero-layout { gap: 0.75rem; }
    .hero-layout { grid-template-columns: 1fr; }
    .hero-layout > div:last-child { display: none; }
    .hero-copy { margin-bottom: 2rem; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 0.75rem; }
    .product-card .link-arrow { white-space: normal; letter-spacing: 0.14em; gap: 0.4rem; }
    .product-badge { top: 0.5rem; left: 0.5rem; font-size: 0.55rem; letter-spacing: 0.14em; }
    .product-card-row { flex-direction: column; gap: 0.2rem; }
    .gallery-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-grid--home .gallery-item:nth-child(n) { margin-top: 0; }
    .gallery-grid--home .gallery-item:nth-child(even) { margin-top: 2.5rem; }
    .gallery-overlay { opacity: 1; transform: none; padding: 2.5rem 0.9rem 0.9rem; }
    .gallery-title { font-size: 1.1rem; }
    .custom-feature-media { padding-right: 12%; }
    .form-row { grid-template-columns: 1fr; }
    .cta-band { grid-template-columns: 1fr; }
    .story-media .frame:last-child { margin-bottom: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .marquee { padding: 1rem 0; }
}
