/* ---------- THEME — MONOCHROME ---------- */
  :root {
    --bg: #F4F1EA;          /* warm cream */
    --bg-2: #ECE7DC;        /* slightly deeper cream */
    --bg-3: #E2DCCE;        /* card hover */
    --ink: #0E0E0E;         /* near-black */
    --ink-soft: #6A6663;    /* muted text */
    --line: #1A1A1A;        /* hard divider on cream */
    --line-soft: #D9D2C2;   /* soft divider on cream */
    --logo-gold: #E8DDB5;   /* the cream-gold from the logo, used sparingly on dark */
    --max: 1640px;
    --gutter: 32px;
    --display: 'Tenor Sans', serif;
    --display-italic: 'Italiana', serif;
    --body: 'DM Sans', sans-serif;
    --mono: 'DM Mono', ui-monospace, monospace;
  }

  /* ---------- RESET ---------- */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
  body { overflow-x: hidden; font-weight: 400; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
  input { font: inherit; }

  /* Subtle paper texture */
  body::before {
    content: "";
    position: fixed; inset: 0;
    background-image: radial-gradient(rgba(0,0,0,0.018) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
    z-index: 1;
  }

  /* ---------- LOGO ASSET (embedded) ---------- */
  /* The .logo-img class points to the inline base64 data URI set in the body */
  .logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
  }
  /* When used on dark backgrounds, invert to make it cream-white */
  .logo-img--invert { filter: invert(1) brightness(1.05); }

  /* ---------- SPLASH OVERLAY (ALD style) ---------- */
  .splash {
    position: fixed; inset: 0;
    z-index: 100;
    background: var(--ink);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* dvh = "dynamic viewport height" — accounts for iOS Safari's
       collapsing address bar so we don't lose content below the fold */
    height: 100dvh;
    overflow: hidden;
    /* Hard lock — prevents iOS rubber-band scroll from revealing content beneath */
    overscroll-behavior: contain;
    touch-action: none;
  }
  /* When splash is active, lock the body so users can't scroll past it.
     Class added/removed via JS. Using overflow:hidden + height:100dvh instead
     of position:fixed so the body doesn't lose its scroll position when
     the lock is removed — that was causing a "blank screen" after Enter Site. */
  body.splash-locked {
    overflow: hidden;
    height: 100dvh;
    touch-action: none;
    overscroll-behavior: contain;
  }
  html.splash-locked {
    overflow: hidden;
    height: 100dvh;
  }
  .splash.hidden {
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s 1.15s;
  }
  /* The two panels animate apart on exit with motion blur */
  .splash.hidden .splash__photo {
    transform: translateX(-105%) scale(0.88);
    filter: blur(6px);
  }
  .splash.hidden .splash__panel {
    transform: translateX(105%) scale(0.88);
    filter: blur(6px);
  }

  .splash__photo {
    position: relative;
    overflow: hidden;
    background: #0a0805;
    transition: transform 1.05s cubic-bezier(0.65, 0, 0.2, 1),
                filter 0.85s ease;
    will-change: transform, filter;
  }
  .splash__photo img.splash__photo-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: contrast(1.03) saturate(1.05);
  }
  .splash__photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 70%, rgba(0,0,0,0.35) 100%);
  }
  .splash__panel-logo {
    height: clamp(90px, 11vh, 150px);
    width: auto;
    margin: 14px 0 6px -12px;
    opacity: 0.95;
    display: block;
    flex-shrink: 0;
  }
  .splash__photo-tag {
    position: absolute; bottom: 28px; left: 28px;
    color: rgba(244,241,234,0.6);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    z-index: 2;
  }
  .splash__photo-tag-r {
    position: absolute; bottom: 28px; right: 28px;
    color: rgba(244,241,234,0.6);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    z-index: 2;
  }

  .splash__panel {
    background: var(--bg);
    padding: 22px 60px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 1.05s cubic-bezier(0.65, 0, 0.2, 1) 0.08s,
                filter 0.85s ease 0.08s;
    will-change: transform, filter;
    /* No internal scroll — content sized to fit viewport via clamps + media queries below */
    overflow: hidden;
  }
  .splash__top {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
  }
  .splash__heading {
    font-family: var(--display);
    font-size: clamp(32px, 3.6vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.005em;
    margin: 0 0 14px;
    color: var(--ink);
  }
  .splash__heading em {
    font-family: var(--display);
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.005em;
    -webkit-text-stroke: 0.6px currentColor;
  }
  .splash__sub {
    font-family: var(--body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 420px;
    margin-bottom: 20px;
  }

  .splash__form {
    border-top: 1px solid var(--line-soft);
    padding-top: 14px;
  }
  .splash__form-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 16px;
  }

  /* ---------- WELCOME OFFER (premium attention-grabber) ---------- */
  .splash__offer {
    margin-bottom: 16px;
    padding: 4px 0 4px 20px;
    background: transparent;
    color: var(--ink);
    position: relative;
    overflow: hidden;
  }
  /* Ink accent stripe on the left edge */
  .splash__offer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--ink);
  }
  /* Subtle gold shimmer that travels down the accent — draws the eye */
  .splash__offer::after {
    content: "";
    position: absolute;
    left: 0;
    top: -50%;
    width: 3px;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(232, 221, 181, 0.95), transparent);
    animation: offerShimmer 3.2s ease-in-out infinite;
  }
  @keyframes offerShimmer {
    0%, 30% { top: -50%; opacity: 0; }
    50% { top: 50%; opacity: 1; }
    70%, 100% { top: 110%; opacity: 0; }
  }
  .splash__offer-tag {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.65;
    margin-bottom: 12px;
  }
  .splash__offer-headline {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .splash__offer-percent {
    font-family: 'Tenor Sans', serif;
    font-size: 56px;
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-weight: 400;
    flex-shrink: 0;
  }
  .splash__offer-percent-sign {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 32px;
    color: var(--ink);
    margin-left: 2px;
    font-weight: 700;
  }
  .splash__offer-text {
    flex: 1;
    min-width: 0;
  }
  .splash__offer-text-main {
    font-family: 'Tenor Sans', serif;
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -0.005em;
    color: var(--ink);
  }
  .splash__offer-text-sub {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.55;
    margin-top: 4px;
  }
  .splash__form-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 10px;
    margin-bottom: 14px;
    transition: border-color 0.2s;
  }
  .splash__form-row:hover { border-color: var(--ink); }
  .splash__form-row input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--body);
    font-size: 15px;
    padding: 6px 0;
    outline: none;
    color: var(--ink);
    letter-spacing: 0.01em;
  }
  .splash__form-row input::placeholder {
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .splash__form-row button {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 0;
    transition: color 0.2s, transform 0.2s;
  }
  .splash__form-row button:hover { transform: translateX(3px); }
  .splash__form-status {
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    min-height: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .splash__form-status.show { opacity: 1; }
  .splash__form-status--ok { color: #2d6a4f; }
  .splash__form-status--err { color: #c1432a; }
  .splash__form-row.locked input,
  .splash__form-row.locked button {
    opacity: 0.55;
    pointer-events: none;
  }
  .splash__form-row.success {
    border-color: #2d6a4f;
  }
  .splash__form-row.success button {
    color: #2d6a4f;
  }

  .splash__enter {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    font-family: var(--display);
    font-size: 22px;
    letter-spacing: 0.02em;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 6px;
    transition: gap 0.4s ease;
    align-self: flex-start;
    position: relative;
    z-index: 5;
  }
  .splash__enter:hover { gap: 28px; }
  .splash__enter::after {
    content: "→";
    font-family: var(--body);
  }

  /* ---------- SHORT-VIEWPORT COMPRESSION (laptops, smaller monitors) ---------- */
  /* When viewport height is tight, aggressively shrink margins/typography so
     the entire splash panel fits without scrolling — Enter Site is always visible. */
  @media (min-width: 769px) and (max-height: 860px) {
    .splash__panel { padding: 16px 48px 22px; }
    .splash__panel-logo { height: clamp(72px, 9vh, 110px); margin: 8px 0 4px -10px; }
    .splash__heading { font-size: clamp(28px, 3vw, 42px); margin-bottom: 10px; }
    .splash__sub { font-size: 14px; line-height: 1.45; margin-bottom: 14px; }
    .splash__form { padding-top: 10px; }
    .splash__offer { margin-bottom: 12px; padding: 2px 0 2px 16px; }
    .splash__offer-tag { margin-bottom: 8px; }
    .splash__offer-percent { font-size: 44px; }
    .splash__offer-percent-sign { font-size: 26px; }
    .splash__offer-text-main { font-size: 16px; }
    .splash__form-row { margin-bottom: 10px; padding-bottom: 8px; }
    .splash__form-status { margin-top: 8px; min-height: 12px; }
    .splash__enter { margin-top: 12px; font-size: 20px; }
  }
  @media (min-width: 769px) and (max-height: 720px) {
    /* Very short — drop the descriptive sub paragraph entirely */
    .splash__panel { padding: 12px 40px 18px; }
    .splash__panel-logo { height: 72px; margin: 4px 0 2px -8px; }
    .splash__heading { font-size: 28px; margin-bottom: 8px; }
    .splash__sub { display: none; }
    .splash__offer-percent { font-size: 38px; }
    .splash__offer-percent-sign { font-size: 22px; }
    .splash__form-row { margin-bottom: 8px; padding-bottom: 6px; }
    .splash__enter { font-size: 18px; margin-top: 10px; }
  }

  /* ---------- HEADER ---------- */
  .header {
    position: sticky; top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
  }
  .header__top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
    padding: 18px var(--gutter);
    border-bottom: 1px solid var(--line-soft);
  }
  .header__logo {
    display: flex;
    align-items: center;
    justify-self: start;
  }
  .header__logo img {
    height: 38px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
  }
  .header__brand {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-self: start;
  }
  .header__wholesale {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
  }
  .header__wholesale:hover {
    background: var(--ink);
    color: var(--bg);
  }
  .header__wholesale:hover .header__wholesale-dot {
    background: var(--logo-gold);
  }
  .header__wholesale-dot {
    width: 6px;
    height: 6px;
    background: var(--ink);
    border-radius: 50%;
    transition: background 0.2s;
  }
  /* In wholesale mode, this pill becomes the "active" indicator */
  body.is-wholesale .header__wholesale {
    background: var(--logo-gold);
    border-color: var(--logo-gold);
    color: var(--ink);
  }
  body.is-wholesale .header__wholesale-dot {
    background: var(--ink);
    animation: tag-pulse 2s ease-in-out infinite;
  }
  body.is-wholesale .header__wholesale-text::after {
    content: " · Active";
    opacity: 0.6;
  }
  body.is-wholesale .header__wholesale:hover {
    background: var(--ink);
    color: var(--logo-gold);
    border-color: var(--ink);
  }

  /* Isolated search bubble */
  .search {
    justify-self: center;
    width: min(440px, 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-2);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    padding: 10px 18px;
    transition: border-color 0.2s, background 0.2s;
  }
  .search:focus-within {
    border-color: var(--ink);
    background: var(--bg);
  }
  .search svg {
    flex-shrink: 0;
    color: var(--ink-soft);
  }
  .search input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--body);
    font-size: 14px;
    color: var(--ink);
  }
  .search input::placeholder {
    color: var(--ink-soft);
    font-weight: 300;
  }
  .search__hint {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    border: 1px solid var(--line-soft);
    padding: 2px 6px;
    border-radius: 4px;
  }

  .header__icons {
    justify-self: end;
    display: flex;
    gap: 24px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .header__icons a {
    cursor: pointer;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .header__icons a:hover { opacity: 0.6; }
  .header__cart-count {
    font-weight: 500;
  }

  /* Brand bar (Stadium Goods style) */
  .brandbar {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .brandbar::-webkit-scrollbar { display: none; }
  .brandbar a {
    flex-shrink: 0;
    padding: 14px 20px;
    font-family: var(--body);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border-right: 1px solid var(--line-soft);
    transition: color 0.2s, background 0.2s;
    position: relative;
    display: inline-flex;
    align-items: center;
  }
  .brandbar a:first-child {
    border-left: 1px solid var(--line-soft);
    color: var(--ink);
    font-weight: 800;
  }
  .brandbar a:hover {
    color: var(--ink);
    background: var(--bg-2);
  }
  .brandbar a.live::before {
    content: "";
    display: inline-block;
    width: 5px; height: 5px;
    background: var(--ink);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2.4s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
  }

  /* ---------- MARQUEE ---------- */
  .marquee {
    background: var(--ink);
    color: var(--bg);
    padding: 11px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--ink);
  }
  .marquee__track {
    display: inline-block;
    animation: scroll 50s linear infinite;
  }
  .marquee__track span {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 28px;
    color: rgba(244,241,234,0.8);
  }
  .marquee__track span.dot {
    color: var(--logo-gold);
    margin: 0 4px;
  }
  @keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ---------- HERO ENTRY ANIMATION (post-splash) ---------- */
  @keyframes hero-rise {
    from {
      opacity: 0;
      transform: translateY(40px) scale(1.03);
      filter: blur(4px);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }
  }
  /* Subtle Ken Burns zoom on hero photos as page settles */
  @keyframes hero-photo-settle {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
  }
  /* Header drops in from above */
  @keyframes header-drop {
    from { opacity: 0; transform: translateY(-24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  body.is-entering .header {
    animation: header-drop 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
  }
  body.is-entering .hero__bg-img {
    animation: hero-photo-settle 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both;
  }
  body.is-entering .hero__main .hero__content,
  body.is-entering .hero__side-top .hero__content,
  body.is-entering .hero__side-bot .hero__content,
  body.is-entering .marquee__track {
    animation: hero-rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  body.is-entering .marquee__track { animation-delay: 0.3s; }
  body.is-entering .hero__main .hero__content { animation-delay: 0.55s; }
  body.is-entering .hero__side-top .hero__content { animation-delay: 0.7s; }
  body.is-entering .hero__side-bot .hero__content { animation-delay: 0.85s; }

  /* ---------- HERO (Karmaloop layout, monochrome) ---------- */
  .hero {
    padding: 36px var(--gutter) 0;
  }
  .hero__grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 18px;
    height: 80vh;
    min-height: 620px;
  }
  .hero__main, .hero__side-top, .hero__side-bot {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--bg);
  }
  .hero__side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
  }

  .hero__main {
    background: #0c0a08;
  }
  .hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    z-index: 0;
  }
  .hero__main::after,
  .hero__side-top::after,
  .hero__side-bot::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 28%, transparent 48%, rgba(0,0,0,0.78) 100%);
    z-index: 1;
  }
  .hero__side-top {
    background: #0c0a08;
    color: #ffffff;
  }
  .hero__side-top .hero__title,
  .hero__side-top .hero__title em,
  .hero__side-top .hero__cta {
    color: #ffffff;
  }
  .hero__side-bot {
    background: #0c0a08;
  }
  .hero__side-top {
    background: linear-gradient(135deg, #d4cdb8 0%, #b5ad97 100%);
    color: var(--ink);
  }
  .hero__side-bot {
    background:
      radial-gradient(ellipse 80% 60% at 70% 40%, #2a2520 0%, #0a0805 70%),
      var(--ink);
  }

  /* ===== Clickable hero tile state ===== */
  .hero-tile {
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(.2,.8,.2,1), box-shadow 0.5s ease;
  }
  .hero-tile .hero__bg-img {
    transition: transform 0.9s cubic-bezier(.2,.8,.2,1);
  }
  .hero-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(0,0,0,0.18);
  }
  .hero-tile:hover .hero__bg-img {
    transform: scale(1.06);
  }
  .hero-tile:hover .hero__cta {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .hero-tile:active {
    transform: translateY(-1px);
  }
  /* Keyboard focus state for accessibility */
  .hero-tile:focus-visible {
    outline: 2px solid var(--logo-gold);
    outline-offset: 4px;
  }
  .hero-tile:focus { outline: none; }

  .hero__content {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
  }
  .hero__tag {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 9px 16px;
    background: #ffffff;
    color: var(--ink);
    border: 1px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  }
  .hero__tag::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--ink);
    border-radius: 50%;
    animation: tag-pulse 2s ease-in-out infinite;
  }
  @keyframes tag-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
  }
  .hero__title {
    font-family: var(--display);
    line-height: 1;
    letter-spacing: -0.005em;
  }
  .hero__main .hero__title { font-size: clamp(56px, 7vw, 110px); }
  .hero__side-top .hero__title,
  .hero__side-bot .hero__title { font-size: clamp(36px, 4vw, 60px); }
  .hero__title em {
    font-family: var(--display-italic);
    font-style: normal;
    font-weight: 400;
  }

  .hero__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
  }
  .hero__meta {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
    max-width: 300px;
    line-height: 1.5;
  }
  .hero__cta {
    font-family: var(--display);
    font-size: 18px;
    letter-spacing: 0.04em;
    border-bottom: 1px solid currentColor;
    padding-bottom: 3px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s;
  }
  .hero__cta::after { content: "→"; font-family: var(--body); }
  .hero__cta:hover { gap: 18px; }

  /* ---------- SECTIONS ---------- */
  .section {
    padding: 120px var(--gutter) 40px;
  }
  .section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
  }
  .section__title {
    font-family: var(--display);
    font-size: clamp(40px, 5vw, 80px);
    line-height: 1;
    letter-spacing: -0.01em;
  }
  .section__title em {
    font-family: var(--display-italic);
    font-style: normal;
    font-weight: 400;
  }
  .section__link {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 3px;
    transition: opacity 0.2s, gap 0.3s;
    display: inline-flex;
    gap: 8px;
  }
  .section__link::after { content: "→"; font-family: var(--body); }
  .section__link:hover { opacity: 0.55; }

  /* ---------- BRAND GRID ---------- */
  .brands {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    max-width: 720px;
    margin: 0 auto;
  }
  .brand-tile {
    aspect-ratio: 1.15 / 1;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    transition: background 0.4s, color 0.4s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .brand-tile:hover { background: var(--ink); color: var(--bg); }
  .brand-tile:hover .brand-tile__count { color: var(--bg); opacity: 0.55; }
  .brand-tile__count {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
    text-transform: uppercase;
  }
  .brand-tile__name {
    font-family: var(--display);
    font-size: clamp(20px, 1.7vw, 26px);
    line-height: 1;
    letter-spacing: -0.005em;
  }
  /* Brand tile with logo image instead of text name */
  .brand-tile--has-logo {
    position: relative;
  }
  .brand-tile--has-logo .brand-tile__count,
  .brand-tile--has-logo .brand-tile__name {
    display: none;
  }
  .brand-tile--has-logo .brand-tile__logo {
    position: absolute;
    inset: 0;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
  }
  .brand-tile--has-logo .brand-tile__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.4s ease;
  }
  /* Text-only logo fallback for brands without an uploaded logo */
  .brand-tile__logo--text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
  }
  .brand-tile__logo--text span {
    font-family: var(--display);
    font-size: 22px;
    line-height: 1.05;
    color: var(--ink);
    letter-spacing: -0.005em;
    transition: opacity 0.3s ease;
  }
  .brand-tile:hover .brand-tile__logo--text span { opacity: 0.6; }
  .brand-tile:hover .brand-tile__logo img {
    filter: invert(1);
  }
  .brand-tile--keep-color:hover .brand-tile__logo img {
    filter: none;
  }
  .brand-tile--has-logo .brand-tile__arrow {
    z-index: 2;
  }
  .brand-tile__arrow {
    position: absolute;
    bottom: 22px; right: 22px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(-8px);
  }
  .brand-tile:hover .brand-tile__arrow {
    opacity: 1;
    transform: translateX(0);
  }

  /* ---------- CAROUSEL (New Drops) ---------- */
  .carousel {
    position: relative;
    margin: 0 calc(var(--gutter) * -1);
  }
  .carousel__viewport {
    overflow: hidden;
    padding: 0 var(--gutter);
  }
  .carousel__track {
    display: flex;
    gap: 24px;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.2, 1);
    will-change: transform;
  }
  .carousel__slide {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
  }
  .carousel__slide .product { cursor: pointer; }
  .carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--line-soft);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  }
  .carousel__nav:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
  }
  .carousel__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }
  .carousel__nav--prev { left: 12px; }
  .carousel__nav--next { right: 12px; }
  .carousel__nav svg { width: 18px; height: 18px; }
  .carousel__progress {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
  }
  .carousel__dot {
    width: 32px;
    height: 2px;
    background: var(--line-soft);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
  }
  .carousel__dot.active { background: var(--ink); }

  /* ---------- PRODUCTS GRID (legacy, used in brand pages + related)  ---------- */
  .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 24px;
  }
  .product { cursor: pointer; position: relative; }
  .product__img-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--bg-2);
    overflow: hidden;
    margin-bottom: 14px;
  }
  .product__img {
    position: absolute; inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: clamp(28px, 3.4vw, 48px);
    color: rgba(0,0,0,0.10);
    letter-spacing: -0.005em;
    text-align: center;
    line-height: 1;
    transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
  }
  /* Stacked layout for placeholder: brand name on top, "Photo coming soon" below */
  .product__img--no-photo {
    flex-direction: column;
    gap: 14px;
  }
  .product__img-brand {
    font-family: var(--display);
    font-size: clamp(22px, 2.8vw, 36px);
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.005em;
    text-align: center;
    line-height: 1;
  }
  .product__img-pending {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
  }
  /* On light variant cards (cream backdrop), invert these colors */
  .product--cream .product__img-brand,
  .product--cream .product__img-pending {
    color: rgba(14, 14, 14, 0.6);
  }
  .product--cream .product__img-pending {
    border-color: rgba(14, 14, 14, 0.18);
  }
  /* Real product photo replaces the gradient + brand-name placeholder */
  .product__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
    z-index: 1;
  }
  .product:hover .product__photo { transform: scale(1.03); }
  /* Hide the brand-name placeholder text when a real photo is present */
  .product--has-photo .product__img { display: none; }
  /* Photo backdrop tone — matches the photo's natural background so it blends seamlessly */
  .product--has-photo .product__img-wrap { background: var(--bg); }
  .product--photo-light .product__img-wrap { background: var(--bg); }
  .product--photo-dark .product__img-wrap { background: #0c0a08; }
  /* When a real product photo is present, display it edge-to-edge */
  .product__img-wrap--photo {
    background: var(--bg) !important;
  }
  .product__img-wrap--photo .product__img {
    display: none;
  }
  .product__img-wrap--photo .product__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
  }
  .product:hover .product__img-wrap--photo .product__photo {
    transform: scale(1.03);
  }
  .product:hover .product__img { transform: scale(1.04); }

  /* MONOCHROME product variants */
  .product--cream .product__img-wrap   { background: linear-gradient(140deg, #EDE7D7, #DAD0B5); }
  .product--bone .product__img-wrap    { background: linear-gradient(140deg, #E8E2D0, #C9C0A8); }
  .product--sand .product__img-wrap    { background: linear-gradient(140deg, #D4C8AE, #B0A283); }
  .product--taupe .product__img-wrap   { background: linear-gradient(140deg, #B5A993, #8A7E68); }
  .product--stone .product__img-wrap   { background: linear-gradient(140deg, #9C9384, #6E6555); }
  .product--charcoal .product__img-wrap{ background: linear-gradient(140deg, #3A3530, #1A1816); }
  .product--ink .product__img-wrap     { background: linear-gradient(140deg, #1F1B17, #0A0807); }
  .product--soft .product__img-wrap    { background: linear-gradient(140deg, #F0EAD8, #DCD3BE); }

  .product--charcoal .product__img,
  .product--ink .product__img,
  .product--stone .product__img { color: rgba(255,255,255,0.10); }

  /* Hover overlay with quick-add */
  .product__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 14px;
    background: rgba(244,241,234,0.94);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
    z-index: 2;
  }
  .product:hover .product__overlay { transform: translateY(0); }
  .product__overlay-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 10px;
  }
  .product__sizes {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .product__size {
    flex: 1;
    min-width: 36px;
    padding: 9px 4px;
    border: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-align: center;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    background: transparent;
  }
  .product__size:hover { background: var(--ink); color: var(--bg); }
  .product__size.sold {
    color: var(--ink-soft);
    border-color: var(--line-soft);
    text-decoration: line-through;
    cursor: not-allowed;
  }
  .product__size.sold:hover { background: transparent; color: var(--ink-soft); }

  .product__zoom {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(244,241,234,0.92);
    backdrop-filter: blur(8px);
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--ink);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3;
  }
  .product:hover .product__zoom { opacity: 1; }

  .product__tag {
    position: absolute;
    top: 12px; left: 12px;
    padding: 5px 9px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    z-index: 2;
  }
  .product__tag--alt {
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--ink);
  }

  .product__info {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .product__brand {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 6px;
  }
  .product__name {
    font-family: var(--body);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 6px;
    letter-spacing: 0.005em;
  }
  .product__cond {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
    text-transform: uppercase;
  }
  .product__price {
    font-family: var(--display);
    font-size: 18px;
    line-height: 1;
    text-align: right;
    flex-shrink: 0;
    letter-spacing: 0.005em;
  }
  .product__price-was {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink-soft);
    text-decoration: line-through;
    margin-top: 5px;
  }

  /* ---------- EDITORIAL STRIP ---------- */
  .editorial {
    margin: 120px 0 0;
    padding: 120px var(--gutter);
    background: var(--ink);
    color: var(--bg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .editorial__title {
    font-family: var(--display);
    font-size: clamp(48px, 6vw, 96px);
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
  }
  .editorial__title em {
    font-family: var(--display-italic);
    font-style: normal;
    font-weight: 400;
    color: var(--logo-gold);
  }
  .editorial__body {
    font-family: var(--body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(244,241,234,0.7);
    max-width: 480px;
    margin-bottom: 36px;
  }
  .editorial__cta {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--bg);
    padding-bottom: 4px;
    display: inline-flex;
    gap: 8px;
    transition: gap 0.3s;
  }
  .editorial__cta::after { content: "→"; font-family: var(--body); }
  .editorial__cta:hover { gap: 16px; }
  .editorial__visual {
    aspect-ratio: 1 / 1;
    background:
      radial-gradient(ellipse 70% 60% at 50% 50%, #2a2520 0%, #0c0a08 80%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232,221,181,0.15);
  }
  .editorial__visual img {
    width: 70%;
    max-width: 480px;
    /* Use the inverted-to-cream variant */
    filter: invert(1) brightness(1.05);
    opacity: 0.95;
  }
  .editorial__visual::before {
    content: "EST. 2026";
    position: absolute;
    bottom: 24px; left: 24px;
    font-family: var(--mono);
    font-size: 10px;
    color: rgba(232,221,181,0.5);
    letter-spacing: 0.18em;
  }
  .editorial__visual::after {
    content: "AUTHENTIC / RESELL";
    position: absolute;
    bottom: 24px; right: 24px;
    font-family: var(--mono);
    font-size: 10px;
    color: rgba(232,221,181,0.5);
    letter-spacing: 0.18em;
  }

  /* ---------- FOOTER ---------- */
  .footer {
    padding: 96px var(--gutter) 36px;
    border-top: 1px solid var(--line-soft);
  }
  .footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 72px;
  }
  .footer__logo img {
    height: 80px;
    width: auto;
  }
  .footer__col-title {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 18px;
  }
  .footer__col a {
    display: block;
    font-family: var(--body);
    font-weight: 300;
    font-size: 14px;
    padding: 5px 0;
    transition: opacity 0.2s;
  }
  .footer__col a:hover { opacity: 0.55; }
  .footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--line-soft);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
    text-transform: uppercase;
  }

  /* ---------- ZOOM MODAL (Supreme-style) ---------- */
  .zoom {
    position: fixed; inset: 0;
    z-index: 200;
    background: rgba(10,10,10,0.96);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
  }
  .zoom.active { display: flex; }
  .zoom__content {
    width: min(720px, 90vw);
    aspect-ratio: 4/5;
    background: var(--bg-2);
    position: relative;
    cursor: crosshair;
    overflow: hidden;
  }
  .zoom__img {
    position: absolute; inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: clamp(48px, 8vw, 120px);
    color: rgba(0,0,0,0.14);
    transition: transform 0.1s ease-out;
    transform-origin: center;
    text-align: center;
    line-height: 1;
    padding: 40px;
  }
  .zoom__close {
    position: absolute;
    top: 28px; right: 28px;
    color: var(--bg);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 1;
  }
  .zoom__hint {
    position: absolute;
    bottom: 28px; left: 28px;
    color: rgba(244,241,234,0.55);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  /* ---------- WHOLESALE PASSCODE GATE ---------- */
  .gate {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--ink);
    color: var(--bg);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
  }
  .gate.active { display: flex; }
  .gate__bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% 40%, #1a1612 0%, #0a0805 80%);
    z-index: 0;
  }
  .gate__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(232,221,181,0.04) 1px, transparent 1px);
    background-size: 4px 4px;
  }
  .gate__inner {
    position: relative;
    z-index: 1;
    max-width: 480px;
    width: 100%;
    text-align: center;
  }
  .gate__logo {
    height: clamp(70px, 8vw, 110px);
    width: auto;
    margin: 0 auto 40px;
    display: block;
    filter: invert(1) brightness(1.05);
    opacity: 0.9;
  }
  .gate__eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--logo-gold);
    margin-bottom: 18px;
  }
  .gate__title {
    font-family: var(--display);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    margin-bottom: 16px;
    letter-spacing: -0.005em;
  }
  .gate__title em {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 700;
  }
  .gate__sub {
    font-family: var(--body);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(244,241,234,0.65);
    max-width: 360px;
    margin: 0 auto 48px;
  }
  .gate__form {
    border-top: 1px solid rgba(232,221,181,0.2);
    border-bottom: 1px solid rgba(232,221,181,0.2);
    padding: 24px 0;
    margin-bottom: 28px;
  }
  .gate__label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(244,241,234,0.55);
    margin-bottom: 14px;
  }
  .gate__input-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
  }
  .gate__input {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(232,221,181,0.25);
    color: var(--bg);
    padding: 14px 18px;
    font-family: var(--mono);
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    transition: border-color 0.2s;
  }
  .gate__input:focus {
    outline: none;
    border-color: var(--logo-gold);
  }
  .gate__input::placeholder {
    color: rgba(244,241,234,0.35);
    letter-spacing: 0.2em;
  }
  .gate__btn {
    background: var(--bg);
    color: var(--ink);
    border: none;
    padding: 0 28px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
  }
  .gate__btn:hover {
    background: var(--logo-gold);
  }
  .gate__error {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e85a3f;
    margin-top: 14px;
    height: 16px;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .gate__error.show {
    opacity: 1;
    animation: gate-shake 0.4s ease;
  }
  @keyframes gate-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
  }
  .gate__back {
    display: inline-block;
    margin-top: 32px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(244,241,234,0.55);
    cursor: pointer;
    border-bottom: 1px solid rgba(244,241,234,0.3);
    padding-bottom: 3px;
    transition: color 0.2s;
  }
  .gate__back:hover { color: var(--bg); }
  .gate__apply-link {
    text-decoration: underline;
    color: var(--logo-gold);
  }
  .gate__footnote {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(244,241,234,0.4);
    margin-top: 48px;
  }

  /* ---------- GATE STATE BLOCKS (Clerk-based access) ---------- */
  .gate__state {
    border-top: 1px solid rgba(232,221,181,0.2);
    border-bottom: 1px solid rgba(232,221,181,0.2);
    padding: 28px 0;
    margin-bottom: 28px;
  }
  .gate__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  .gate__btn--primary {
    background: var(--logo-gold);
    color: var(--ink);
    padding: 14px 28px;
    border: none;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700;
    transition: opacity 0.2s;
    flex: 1;
    min-width: 140px;
  }
  .gate__btn--primary:hover { opacity: 0.85; }
  .gate__btn--ghost {
    background: transparent;
    color: var(--bg);
    padding: 14px 28px;
    border: 1px solid rgba(232,221,181,0.35);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    flex: 1;
    min-width: 140px;
  }
  .gate__btn--ghost:hover {
    border-color: var(--logo-gold);
    background: rgba(232,221,181,0.08);
  }
  .gate__pending-note {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(244,241,234,0.5);
    margin-top: 18px;
    text-align: center;
  }
  @media (max-width: 720px) {
    .gate__actions { flex-direction: column; }
    .gate__btn--primary, .gate__btn--ghost { width: 100%; }
  }

  /* ---------- WHOLESALE APPLY MODAL ---------- */
  .apply-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .apply-modal.active { display: flex; }
  .apply-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
  }
  .apply-modal__panel {
    position: relative;
    background: var(--bg);
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 48px 44px 40px;
    border: 1px solid var(--ink);
    box-shadow: 0 28px 80px rgba(0,0,0,0.4);
  }
  .apply-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--ink);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: opacity 0.2s;
  }
  .apply-modal__close:hover { opacity: 0.6; }
  .apply-modal__eyebrow {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 12px;
  }
  .apply-modal__title {
    font-family: var(--display);
    font-size: 36px;
    line-height: 1.05;
    margin: 0 0 12px;
    letter-spacing: -0.005em;
  }
  .apply-modal__title em {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 700;
  }
  .apply-modal__sub {
    font-family: var(--body);
    font-weight: 300;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0 0 28px;
  }
  .apply-modal__field {
    margin-bottom: 16px;
  }
  .apply-modal__field label {
    display: block;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 6px;
  }
  .apply-modal__field input,
  .apply-modal__field textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 11px 14px;
    font-family: var(--body);
    font-size: 14px;
    transition: border-color 0.2s;
    resize: vertical;
  }
  .apply-modal__field input:focus,
  .apply-modal__field textarea:focus {
    outline: none;
    border-color: var(--ink);
  }
  .apply-modal__submit {
    width: 100%;
    background: var(--ink);
    color: var(--bg);
    border: none;
    padding: 16px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700;
    margin-top: 8px;
    transition: background 0.2s, transform 0.2s;
  }
  .apply-modal__submit:hover { transform: translateY(-1px); }
  .apply-modal__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
  }
  .apply-modal__status {
    margin-top: 14px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    min-height: 14px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .apply-modal__status.show { opacity: 1; }
  .apply-modal__status--ok { color: #2d6a4f; }
  .apply-modal__status--err { color: #c1432a; }
  @media (max-width: 720px) {
    .apply-modal__panel {
      padding: 36px 22px 28px;
    }
    .apply-modal__title { font-size: 28px; }
  }

  /* Size guide modal specifics */
  .size-guide-panel { max-width: 580px; }
  .size-guide-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
  }
  .size-guide-tab {
    background: transparent;
    border: none;
    padding: 12px 0;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
  }
  .size-guide-tab.active {
    color: var(--ink);
    border-bottom-color: var(--ink);
  }
  .size-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
  }
  .size-table th, .size-table td {
    padding: 10px 8px;
    text-align: left;
    font-family: var(--mono);
    font-size: 12px;
    border-bottom: 1px solid var(--line-soft);
  }
  .size-table th {
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 700;
  }
  .size-guide-note {
    font-family: var(--body);
    font-weight: 300;
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.5;
    padding: 12px 14px;
    background: var(--bg-2);
    border-left: 2px solid var(--ink);
    margin: 0;
  }

  /* ---------- AUTH MODAL specifics ---------- */
  .auth-modal-panel { max-width: 440px; }
  .auth-tabs {
    display: flex;
    gap: 0;
    margin: -8px -8px 24px;
    border-bottom: 1px solid var(--line-soft);
  }
  .auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 0;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
  }
  .auth-tab.active {
    color: var(--ink);
    border-bottom-color: var(--ink);
  }
  .auth-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
  }
  .auth-social__btn {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--ink);
    color: var(--ink);
    padding: 12px 16px;
    font-family: var(--body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background 0.2s, color 0.2s;
  }
  .auth-social__btn:hover {
    background: var(--ink);
    color: var(--bg);
  }
  .auth-social__btn:hover svg path { fill: currentColor; }
  .auth-divider {
    text-align: center;
    margin: 22px 0;
    position: relative;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .auth-divider::before, .auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 24px);
    height: 1px;
    background: var(--line-soft);
  }
  .auth-divider::before { left: 0; }
  .auth-divider::after { right: 0; }
  .auth-divider span {
    background: var(--bg);
    padding: 0 4px;
  }
  .apply-modal__field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .auth-footnote {
    text-align: center;
    margin-top: 20px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .auth-footnote a {
    color: var(--ink-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }
  .auth-footnote a:hover { color: var(--ink); }

  /* ---------- HEADER AVATAR (logged-in state) ---------- */
  .header__avatar {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--logo-gold);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    line-height: 24px;
    margin-right: 8px;
    vertical-align: middle;
  }
  #header-account-loggedin {
    display: inline-flex;
    align-items: center;
  }

  /* ---------- ACCOUNT PAGE ---------- */
  .account-page {
    max-width: var(--max);
    margin: 0 auto;
    padding: 32px var(--gutter) 96px;
  }
  .account-page__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 24px 0 32px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .account-page__eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 8px;
  }
  .account-page__title {
    font-family: var(--display);
    font-size: clamp(40px, 5vw, 56px);
    line-height: 1;
    margin: 0 0 6px;
    letter-spacing: -0.005em;
  }
  .account-page__title em {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 700;
  }
  .account-page__email {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
  }
  .account-page__signout {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    padding: 10px 18px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .account-page__signout:hover {
    background: var(--ink);
    color: var(--bg);
  }

  .account-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .account-card {
    border: 1px solid var(--line-soft);
    background: var(--bg);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
  }
  .account-card--span {
    grid-column: 1 / -1;
  }
  .account-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 16px;
  }
  .account-card__title {
    font-family: var(--display);
    font-size: 20px;
    margin: 0;
    letter-spacing: -0.005em;
    font-weight: 400;
  }
  .account-card__badge {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 4px 10px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
  }
  .account-card__badge--gold {
    background: var(--logo-gold);
    border-color: var(--logo-gold);
    color: var(--ink);
    font-weight: 700;
  }
  .account-card__action {
    background: transparent;
    border: none;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
  }
  .account-card__action:hover { color: var(--ink); }
  .account-card__action--primary {
    border: 1px solid var(--ink);
    color: var(--ink);
    padding: 10px 18px;
    margin-top: 12px;
    background: var(--bg);
    align-self: flex-start;
  }
  .account-card__action--primary:hover {
    background: var(--ink);
    color: var(--bg);
  }
  .account-card__body {
    flex: 1;
  }
  .account-card__body--empty {
    text-align: left;
  }
  .account-card__text {
    font-family: var(--body);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0 0 12px;
  }
  .account-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--mono);
    font-size: 12px;
  }
  .account-row:last-child { border-bottom: none; }
  .account-row__label {
    color: var(--ink-soft);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 10px;
  }
  .account-row__value {
    color: var(--ink);
    text-align: right;
  }

  /* ---------- REQUEST ORDER MODAL ---------- */
  .request-order-panel { max-width: 520px; }
  .request-order-summary {
    background: var(--bg-2);
    border: 1px solid var(--line-soft);
    padding: 16px 18px;
    margin-bottom: 22px;
    max-height: 200px;
    overflow-y: auto;
  }
  .request-order-summary__title {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-soft);
  }
  .request-order-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-family: var(--body);
    font-size: 13px;
    border-bottom: 1px dashed var(--line-soft);
  }
  .request-order-line:last-of-type { border-bottom: none; }
  .request-order-line__name {
    flex: 1;
    color: var(--ink);
  }
  .request-order-line__name small {
    display: block;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: 2px;
  }
  .request-order-line__price {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink);
    text-align: right;
    margin-left: 12px;
  }
  .request-order-summary__total {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: 10px;
    border-top: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
  }
  .request-order-summary__wholesale-note {
    margin-top: 8px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--logo-gold);
    background: var(--ink);
    padding: 6px 10px;
    text-align: center;
  }
  .request-order-select {
    width: 100%;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 11px 14px;
    font-family: var(--body);
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%230E0E0E' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    transition: border-color 0.2s;
  }
  .request-order-select:focus {
    outline: none;
    border-color: var(--ink);
  }
  .request-order-empty {
    text-align: center;
    padding: 24px 0;
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  /* ---------- EDITORIAL CONTENT PAGES (About, Contact, Privacy, Terms) ---------- */
  .content-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px var(--gutter) 96px;
  }
  .content-page__head {
    padding: 24px 0 48px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 56px;
  }
  .content-page__eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 14px;
  }
  .content-page__title {
    font-family: var(--display);
    font-size: clamp(48px, 8vw, 110px);
    line-height: 0.95;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
  }
  .content-page__title em {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 700;
  }
  .content-page__lede {
    font-family: var(--body);
    font-weight: 300;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.45;
    color: var(--ink);
    max-width: 720px;
    margin: 0;
  }
  .content-page__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 80px;
  }
  .content-page__body--contact {
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    margin-bottom: 0;
  }
  .content-page__col {
    font-family: var(--body);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
  }
  .content-page__col p {
    margin: 0 0 18px;
  }
  .content-page__col strong {
    font-weight: 600;
    color: var(--ink);
  }
  .content-page__h2 {
    font-family: var(--display);
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 1.1;
    margin: 0 0 20px;
    letter-spacing: -0.005em;
    font-weight: 400;
  }
  .content-page__h2:not(:first-child) {
    margin-top: 36px;
  }
  .content-page__cta {
    display: inline-block;
    background: var(--ink);
    color: var(--bg);
    border: 1px solid var(--ink);
    padding: 14px 22px;
    margin-top: 12px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .content-page__cta:hover {
    background: transparent;
    color: var(--ink);
  }
  .content-page__cta-block {
    border-top: 1px solid var(--line-soft);
    padding-top: 56px;
    text-align: center;
  }
  .content-page__cta-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--logo-gold);
    margin-bottom: 12px;
  }
  .content-page__cta-title {
    font-family: var(--display);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 0.95;
    margin: 0 0 16px;
    letter-spacing: -0.005em;
  }
  .content-page__cta-title em {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 700;
  }
  .content-page__cta-block p {
    font-family: var(--body);
    font-weight: 300;
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.5;
  }

  /* ----- Contact page specifics ----- */
  .content-page__col--info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-right: 32px;
    border-right: 1px solid var(--line-soft);
  }
  .contact-info__label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 6px;
  }
  .contact-info__value {
    font-family: var(--display);
    font-size: 18px;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.3;
    letter-spacing: -0.005em;
    word-break: break-word;
  }
  a.contact-info__value:hover { color: var(--logo-gold); }
  .contact-form {
    display: flex;
    flex-direction: column;
  }

  /* ----- Legal pages ----- */
  .content-page--legal .content-page__title { font-size: clamp(40px, 6vw, 80px); }
  .legal-body {
    max-width: 760px;
    font-family: var(--body);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
  }
  .legal-intro {
    font-family: var(--body);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.55;
    margin: 0 0 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink);
  }
  .legal-body h2 {
    font-family: var(--display);
    font-size: 22px;
    line-height: 1.15;
    margin: 36px 0 16px;
    letter-spacing: -0.005em;
    font-weight: 400;
  }
  .legal-body h2:first-of-type { margin-top: 0; }
  .legal-body p { margin: 0 0 16px; }
  .legal-body ul {
    margin: 0 0 20px;
    padding-left: 22px;
  }
  .legal-body li {
    margin-bottom: 8px;
    line-height: 1.6;
  }
  .legal-body strong { font-weight: 600; color: var(--ink); }
  .legal-body a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .legal-body a:hover { color: var(--logo-gold); }

  @media (max-width: 720px) {
    .content-page { padding: 20px var(--gutter) 64px; }
    .content-page__head {
      padding: 16px 0 28px;
      margin-bottom: 36px;
    }
    .content-page__title { font-size: 44px; }
    .content-page__lede { font-size: 15px; }
    .content-page__body {
      grid-template-columns: 1fr;
      gap: 32px;
      margin-bottom: 48px;
    }
    .content-page__body--contact {
      grid-template-columns: 1fr;
      gap: 36px;
    }
    .content-page__col--info {
      padding-right: 0;
      border-right: none;
      padding-bottom: 28px;
      border-bottom: 1px solid var(--line-soft);
    }
    .content-page__h2 { font-size: 22px; }
    .content-page__cta-title { font-size: 32px; }
    .legal-body { font-size: 14px; }
    .legal-body h2 { font-size: 19px; margin: 28px 0 12px; }
  }


  /* ---------- AUTHENTICATION PAGE V2 (revamped) ---------- */
  .auth-page-v2 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px var(--gutter) 0;
    overflow: hidden;
  }

  /* HERO with Fraunces editorial display */
  .auth-hero {
    padding: 56px 0 88px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 88px;
  }
  .auth-hero__tag {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--logo-gold);
    background: var(--ink);
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 36px;
    animation: authFadeUp 0.7s cubic-bezier(.2,.8,.2,1) both;
  }
  .auth-hero__title {
    font-family: 'Fraunces', serif;
    font-size: clamp(60px, 11vw, 168px);
    line-height: 0.88;
    margin: 0 0 36px;
    letter-spacing: -0.025em;
    font-weight: 400;
    color: var(--ink);
    font-variation-settings: "opsz" 144;
  }
  .auth-hero__line-1,
  .auth-hero__line-2 {
    display: block;
    animation: authFadeUp 0.85s cubic-bezier(.2,.8,.2,1) both;
  }
  .auth-hero__line-1 { animation-delay: 0.1s; }
  .auth-hero__line-2 { animation-delay: 0.25s; padding-left: clamp(40px, 7vw, 96px); }
  .auth-hero__title em {
    font-style: italic;
    font-weight: 700;
    font-variation-settings: "opsz" 144;
  }
  .auth-hero__lede {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(17px, 1.8vw, 22px);
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0;
    animation: authFadeUp 0.9s cubic-bezier(.2,.8,.2,1) both;
    animation-delay: 0.4s;
    font-variation-settings: "opsz" 14;
  }
  @keyframes authFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* CARDS section heading */
  .auth-cards {
    margin-bottom: 96px;
  }
  .auth-cards__head {
    margin-bottom: 40px;
    text-align: center;
  }
  .auth-cards__head-eyebrow {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 12px;
  }
  .auth-cards__head-title {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    color: var(--ink);
    font-variation-settings: "opsz" 60;
  }
  .auth-cards__head-hint {
    display: block;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    opacity: 0.55;
  }

  /* CARDS row */
  .auth-cards__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: start;
    transition: gap 0.35s cubic-bezier(.2,.8,.2,1);
  }

  .auth-card {
    --card-pad: clamp(20px, 2vw, 28px);
    background: var(--bg);
    border: 1px solid var(--line-soft);
    padding: var(--card-pad);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    position: relative;
    overflow: hidden;
    transition: background 0.4s cubic-bezier(.2,.8,.2,1),
                border-color 0.4s cubic-bezier(.2,.8,.2,1),
                color 0.4s cubic-bezier(.2,.8,.2,1),
                transform 0.4s cubic-bezier(.2,.8,.2,1);
  }
  .auth-card:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
  }
  .auth-card:focus-visible {
    outline: 2px solid var(--logo-gold);
    outline-offset: 4px;
  }
  .auth-card--active {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
  }
  .auth-card--active:hover {
    transform: none;
  }
  .auth-card__num {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    transition: color 0.3s;
    font-variation-settings: "opsz" 14;
  }
  .auth-card--active .auth-card__num {
    color: var(--logo-gold);
  }
  .auth-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: color 0.3s, transform 0.5s cubic-bezier(.2,.8,.2,1);
  }
  .auth-card--active .auth-card__icon {
    color: var(--bg);
  }
  .auth-card__icon svg {
    width: 100%;
    height: 100%;
  }
  .auth-svg-stroke {
    stroke: currentColor;
  }
  .auth-svg-accent {
    stroke: currentColor;
    color: var(--ink);
  }
  .auth-card--active .auth-svg-accent {
    color: var(--logo-gold);
  }
  .auth-card:hover .auth-card__icon {
    transform: scale(1.08) rotate(-2deg);
  }
  .auth-card__title {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.1;
    margin: 8px 0 0;
    letter-spacing: -0.005em;
    font-variation-settings: "opsz" 36;
  }
  .auth-card__subtitle {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    transition: color 0.3s;
  }
  .auth-card--active .auth-card__subtitle {
    color: rgba(244, 241, 234, 0.6);
  }

  /* Card EXPANDED content — only visible on the active card */
  .auth-card__expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(.2,.8,.2,1),
                opacity 0.4s ease,
                margin-top 0.4s ease;
    opacity: 0;
    margin-top: 0;
  }
  .auth-card--active .auth-card__expand {
    max-height: 500px;
    opacity: 1;
    margin-top: 12px;
  }
  .auth-card__body {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(244, 241, 234, 0.85);
    margin: 0 0 18px;
    font-variation-settings: "opsz" 14;
  }
  .auth-card__body strong {
    color: var(--bg);
    font-weight: 500;
  }
  .auth-card__highlight {
    border-top: 1px solid rgba(244, 241, 234, 0.18);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .auth-card__highlight-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--logo-gold);
  }
  .auth-card__highlight-value {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 17px;
    color: var(--bg);
    line-height: 1.25;
    font-variation-settings: "opsz" 14;
  }

  /* Pagination dots */
  .auth-cards__dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
  }
  .auth-cards__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--ink);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.25s;
  }
  .auth-cards__dot:hover { transform: scale(1.3); }
  .auth-cards__dot--active {
    background: var(--ink);
    transform: scale(1.3);
  }

  /* CHECKS V2 — editorial list-style */
  .auth-checks-v2 {
    background: var(--bg-2);
    margin: 0 calc(-1 * var(--gutter)) 96px;
    padding: 88px var(--gutter);
  }
  .auth-checks-v2__head {
    text-align: center;
    margin-bottom: 56px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .auth-checks-v2__eyebrow {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 14px;
  }
  .auth-checks-v2__title {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 80;
  }
  .auth-checks-v2__title em {
    font-style: italic;
    font-weight: 700;
  }
  .auth-checks-v2__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 56px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .auth-mark {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-variation-settings: "opsz" 14;
  }
  .auth-mark strong {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--ink);
    font-style: italic;
    margin-right: 4px;
    font-variation-settings: "opsz" 14;
  }
  .auth-mark__num {
    color: var(--logo-gold);
    font-family: var(--mono);
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* GUARANTEE V2 */
  .auth-guarantee-v2 {
    text-align: center;
    padding: 96px 32px;
    background: var(--ink);
    color: var(--bg);
    margin: 0 calc(-1 * var(--gutter));
    position: relative;
  }
  .auth-guarantee-v2__seal {
    width: 96px;
    height: 96px;
    margin: 0 auto 28px;
    color: var(--logo-gold);
    animation: authSealRotate 14s linear infinite;
  }
  @keyframes authSealRotate {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
  }
  .auth-guarantee-v2__eyebrow {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--logo-gold);
    margin-bottom: 18px;
  }
  .auth-guarantee-v2__title {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
    color: var(--bg);
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    font-variation-settings: "opsz" 100;
  }
  .auth-guarantee-v2__title em {
    font-style: italic;
    font-weight: 700;
    color: var(--logo-gold);
  }
  .auth-guarantee-v2__text {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.55;
    color: rgba(244, 241, 234, 0.7);
    max-width: 620px;
    margin: 0 auto 36px;
    font-variation-settings: "opsz" 14;
  }
  .auth-guarantee-v2__ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .auth-guarantee-v2__cta {
    display: inline-block;
    padding: 14px 22px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--bg);
    color: var(--bg);
  }
  .auth-guarantee-v2__cta:hover {
    background: var(--bg);
    color: var(--ink);
  }
  .auth-guarantee-v2__cta--primary {
    background: var(--logo-gold);
    color: var(--ink);
    border-color: var(--logo-gold);
  }
  .auth-guarantee-v2__cta--primary:hover {
    background: var(--bg);
    color: var(--ink);
    border-color: var(--bg);
  }

  @media (max-width: 1024px) {
    .auth-cards__row { grid-template-columns: repeat(2, 1fr); }
    .auth-checks-v2__grid { grid-template-columns: 1fr; gap: 20px; }
  }
  @media (max-width: 720px) {
    .auth-page-v2 { padding: 20px var(--gutter) 0; }
    .auth-hero {
      padding: 28px 0 40px;
      margin-bottom: 56px;
    }
    .auth-hero__title { font-size: 56px; line-height: 0.92; }
    .auth-hero__line-2 { padding-left: 32px; }
    .auth-cards { margin-bottom: 56px; }
    .auth-cards__head { margin-bottom: 28px; }
    .auth-cards__row { grid-template-columns: 1fr; gap: 10px; }
    .auth-card { min-height: 0; padding: 22px; }
    .auth-card__title { font-size: 22px; }
    .auth-checks-v2 {
      margin: 0 calc(-1 * var(--gutter)) 56px;
      padding: 56px var(--gutter);
    }
    .auth-mark { font-size: 15px; padding-bottom: 16px; }
    .auth-guarantee-v2 { padding: 56px 20px; }
    .auth-guarantee-v2__seal { width: 72px; height: 72px; }
    .auth-guarantee-v2__title { font-size: 28px; }
    .auth-guarantee-v2__ctas { flex-direction: column; }
  }

  @media (prefers-reduced-motion: reduce) {
    .auth-hero__line-1,
    .auth-hero__line-2,
    .auth-hero__lede,
    .auth-hero__tag,
    .auth-guarantee-v2__seal {
      animation: none !important;
    }
    .auth-card { transition: none !important; }
  }


  /* ---------- ALL BRANDS PAGE ---------- */
  .brands-page {
    max-width: var(--max);
    margin: 0 auto;
    padding: 32px var(--gutter) 96px;
  }
  .brands-page__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 24px 0 36px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .brands-page__eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 8px;
  }
  .brands-page__title {
    font-family: var(--display);
    font-size: clamp(48px, 7vw, 92px);
    line-height: 1;
    margin: 0 0 12px;
    letter-spacing: -0.005em;
  }
  .brands-page__title em {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 700;
  }
  .brands-page__sub {
    font-family: var(--body);
    font-weight: 300;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0;
    max-width: 560px;
  }
  .brands-page__count {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .brands--full {
    /* Use the same grid as homepage but no max-width restriction */
    max-width: none;
    grid-template-columns: repeat(4, 1fr);
  }
  @media (max-width: 1100px) {
    .brands--full { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 720px) {
    .brands--full { grid-template-columns: repeat(2, 1fr); }
    .brands-page__head { padding: 18px 0 24px; }
    .brands-page__title { font-size: 44px; }
    .brands-page__sub { font-size: 13px; }
  }
  .search-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
  }
  .search-overlay.active { display: block; }
  .search-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 14, 14, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: searchOverlayFadeIn 0.18s ease;
  }
  @keyframes searchOverlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .search-overlay__panel {
    position: relative;
    max-width: 760px;
    margin: 80px auto 0;
    background: var(--bg);
    border: 1px solid var(--ink);
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    animation: searchOverlaySlideIn 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  @keyframes searchOverlaySlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .search-overlay__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 26px;
    border-bottom: 1px solid var(--line-soft);
  }
  .search-overlay__icon { color: var(--ink-soft); flex-shrink: 0; }
  .search-overlay__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--display);
    font-size: 22px;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .search-overlay__input::placeholder { color: var(--ink-soft); }
  .search-overlay__close {
    background: var(--bg-2);
    border: 1px solid var(--line-soft);
    padding: 6px 12px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--ink-soft);
    transition: all 0.2s;
  }
  .search-overlay__close:hover {
    color: var(--ink);
    border-color: var(--ink);
  }
  .search-overlay__results {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
    flex: 1;
  }
  .search-overlay__hint {
    padding: 32px 26px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-align: center;
  }
  .search-overlay__section-title {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 16px 26px 8px;
  }
  .search-result {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 26px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid var(--line-soft);
  }
  .search-result:last-child { border-bottom: none; }
  .search-result:hover,
  .search-result.focused {
    background: var(--bg-2);
  }
  .search-result__thumb {
    width: 56px;
    height: 70px;
    flex-shrink: 0;
    background: var(--bg-2);
    object-fit: contain;
    object-position: center;
    border: 1px solid var(--line-soft);
  }
  .search-result__info {
    flex: 1;
    min-width: 0;
  }
  .search-result__brand {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .search-result__name {
    font-family: var(--display);
    font-size: 16px;
    color: var(--ink);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .search-result__price {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--ink);
    margin-left: auto;
    flex-shrink: 0;
  }
  .search-result--brand {
    /* Brand result variant */
  }
  .search-result__brand-label {
    background: var(--ink);
    color: var(--bg);
    width: 56px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .search-empty {
    padding: 40px 26px;
    text-align: center;
    color: var(--ink-soft);
  }
  .search-empty__title {
    font-family: var(--display);
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .search-empty__sub {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  @media (max-width: 720px) {
    .search-overlay__panel {
      margin: 0;
      max-height: 100vh;
      height: 100vh;
      border: none;
    }
    .search-overlay__bar { padding: 16px 18px; }
    .search-overlay__input { font-size: 18px; }
    .search-result { padding: 12px 18px; }
    .search-result__thumb { width: 48px; height: 60px; }
    .search-result__name { font-size: 14px; }
  }

  @media (max-width: 720px) {
    .account-grid { grid-template-columns: 1fr; gap: 14px; }
    .account-card { padding: 20px; }
    .account-card__title { font-size: 17px; }
    .account-page__head { padding: 18px 0 24px; }
    .apply-modal__field-row { grid-template-columns: 1fr; gap: 0; }
  }

  /* ---------- WHOLESALE BANNER (when authenticated) ---------- */
  body.is-wholesale .header {
    background: var(--ink);
    color: var(--bg);
    border-bottom-color: rgba(232,221,181,0.15);
  }
  body.is-wholesale .header__top {
    border-bottom-color: rgba(232,221,181,0.15);
  }
  body.is-wholesale .header__logo .logo-img {
    filter: invert(1) brightness(1.05);
  }
  body.is-wholesale .search {
    background: rgba(255,255,255,0.06);
    border-color: rgba(232,221,181,0.2);
  }
  body.is-wholesale .search input { color: var(--bg); }
  body.is-wholesale .search input::placeholder { color: rgba(244,241,234,0.5); }
  body.is-wholesale .search svg { color: rgba(244,241,234,0.6); }
  body.is-wholesale .search__hint {
    border-color: rgba(232,221,181,0.2);
    color: rgba(244,241,234,0.5);
  }
  body.is-wholesale .brandbar {
    background: var(--ink);
    border-top: 1px solid rgba(232,221,181,0.1);
  }
  body.is-wholesale .brandbar a {
    color: rgba(244,241,234,0.6);
    border-right-color: rgba(232,221,181,0.15);
  }
  body.is-wholesale .brandbar a:first-child {
    border-left-color: rgba(232,221,181,0.15);
    color: var(--bg);
  }
  body.is-wholesale .brandbar a:hover {
    background: rgba(255,255,255,0.04);
    color: var(--bg);
  }
  /* Wholesale ribbon — slim gold strip identifying mode */
  .wholesale-ribbon {
    display: none;
    background: var(--logo-gold);
    color: var(--ink);
    padding: 8px 0;
    text-align: center;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
  }
  body.is-wholesale .wholesale-ribbon { display: block; }
  .wholesale-ribbon__exit {
    margin-left: 24px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* Wholesale price toggling — show retail by default, wholesale when active */
  .price-wholesale, .price-retail-strike { display: none; }
  body.is-wholesale .price-retail { display: none; }
  body.is-wholesale .price-wholesale { display: inline; }
  body.is-wholesale .price-retail-strike {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink-soft);
    text-decoration: line-through;
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: 0.04em;
  }
  body.is-wholesale .price-wholesale::after {
    content: " W";
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
    margin-left: 4px;
    vertical-align: 2px;
    font-weight: 400;
  }

  /* ---------- VIEW SYSTEM (cinematic transitions) ---------- */
  .view {
    display: none;
    transform-origin: center center;
    will-change: opacity, transform, filter;
  }
  .view--active { display: block; }

  /* ===== EXIT TRANSITIONS (180ms) ===== */
  .view-leaving {
    pointer-events: none;
    transition:
      opacity 180ms cubic-bezier(0.4, 0, 0.2, 1),
      transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
      filter 180ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .view-leaving--soft-fade {
    opacity: 0;
    transform: scale(0.985);
    filter: blur(4px);
  }
  .view-leaving--forward-push {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(6px);
  }
  .view-leaving--backward-pull {
    opacity: 0;
    transform: scale(1.04);
    filter: blur(6px);
  }
  .view-leaving--cart-whoosh {
    opacity: 0;
    transform: translateX(-12px);
    filter: blur(3px);
  }
  .view-leaving--account-reveal {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(3px);
  }

  /* ===== ENTRY TRANSITIONS (220ms) ===== */
  /* Initial state — view starts in the "from" position, no transition */
  .view-entering--soft-fade {
    opacity: 0;
    transform: scale(1.015);
    filter: blur(4px);
  }
  .view-entering--forward-push {
    opacity: 0;
    transform: scale(1.04);
    filter: blur(6px);
  }
  .view-entering--backward-pull {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(6px);
  }
  .view-entering--cart-whoosh {
    opacity: 0;
    transform: translateX(12px);
    filter: blur(3px);
  }
  .view-entering--account-reveal {
    opacity: 0;
    transform: translateY(-8px);
    filter: blur(3px);
  }
  /* Once "view-entering--*" class is removed, animate to the natural state */
  .view-entering {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    filter: blur(0);
    transition:
      opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
      filter 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  /* Honor user preferences — reduced motion = instant transitions */
  @media (prefers-reduced-motion: reduce) {
    .view-leaving,
    .view-entering {
      transition: none !important;
      animation: none !important;
      filter: none !important;
      transform: none !important;
    }
  }

  /* ---------- BREADCRUMBS ---------- */
  .crumbs {
    padding: 28px var(--gutter) 0;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    max-width: var(--max);
    margin: 0 auto;
  }
  .crumbs a { transition: opacity 0.2s; cursor: pointer; }
  .crumbs a:hover { opacity: 0.55; }
  .crumbs span.sep { margin: 0 12px; opacity: 0.4; }
  .crumbs .crumbs__current { color: var(--ink); }

  /* ---------- BRAND PAGE ---------- */
  .brand-hero {
    padding: 64px var(--gutter) 48px;
    border-bottom: 1px solid var(--line-soft);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: end;
    max-width: var(--max);
    margin: 0 auto;
  }
  .brand-hero__name {
    font-family: var(--display);
    font-size: clamp(72px, 11vw, 200px);
    line-height: 0.85;
    letter-spacing: -0.02em;
  }
  .brand-hero__meta {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-align: right;
  }
  .brand-hero__count {
    display: block;
    font-family: var(--display);
    font-size: clamp(36px, 4vw, 56px);
    color: var(--ink);
    line-height: 1;
    margin-bottom: 8px;
  }
  .brand-hero__desc {
    grid-column: 1 / -1;
    margin-top: 24px;
    font-family: var(--body);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 680px;
  }

  .filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px var(--gutter);
    border-bottom: 1px solid var(--line-soft);
    flex-wrap: wrap;
    gap: 16px;
    max-width: var(--max);
    margin: 0 auto;
    position: sticky;
    top: 92px;
    background: var(--bg);
    z-index: 10;
  }
  .filters__group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .filter-pill {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 9px 14px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--ink);
    position: relative;
    user-select: none;
  }
  .filter-pill:hover { border-color: var(--ink); }
  .filter-pill.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .filter-pill.open { border-color: var(--ink); }
  .filter-pill__caret { font-size: 9px; opacity: 0.6; }
  .filter-pill__label { color: var(--ink-soft); }

  .filter-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: var(--bg);
    border: 1px solid var(--ink);
    min-width: 200px;
    z-index: 30;
    display: none;
    flex-direction: column;
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  }
  .filter-pill.open .filter-dropdown { display: flex; }
  .filter-dropdown button {
    background: transparent;
    border: none;
    padding: 12px 16px;
    text-align: left;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
    border-bottom: 1px solid var(--line-soft);
    transition: background 0.15s;
  }
  .filter-dropdown button:last-child { border-bottom: none; }
  .filter-dropdown button:hover { background: var(--bg-2); }
  .filter-dropdown button.active { background: var(--ink); color: var(--bg); }
  .filters__count {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  .brand-products {
    padding: 56px var(--gutter) 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 24px;
    max-width: var(--max);
    margin: 0 auto;
  }

  /* ---------- PRODUCT DETAIL ---------- */
  .pd {
    padding: 32px var(--gutter) 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: var(--max);
    margin: 0 auto;
  }
  .pd__gallery {
    display: block;
  }
  .pd__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .pd__thumb {
    aspect-ratio: 1;
    border: 1px solid var(--line-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
    transition: border-color 0.2s, color 0.2s;
    background: var(--bg-2);
    text-transform: uppercase;
  }
  .pd__thumb.active, .pd__thumb:hover { border-color: var(--ink); color: var(--ink); }

  .pd__main {
    aspect-ratio: 4/5;
    background: var(--bg-2);
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pd__main-img {
    font-family: var(--display);
    font-size: clamp(48px, 7vw, 110px);
    color: rgba(0,0,0,0.12);
    text-align: center;
    line-height: 1;
    letter-spacing: -0.005em;
    transition: transform 0.5s;
    padding: 40px;
  }
  .pd__main:hover .pd__main-img { transform: scale(1.05); }
  .pd__main--charcoal { background: linear-gradient(140deg, #3A3530, #1A1816); }
  .pd__main--charcoal .pd__main-img { color: rgba(255,255,255,0.10); }
  .pd__main--cream { background: linear-gradient(140deg, #EDE7D7, #DAD0B5); }
  .pd__main--ink { background: linear-gradient(140deg, #1F1B17, #0A0807); }
  .pd__main--ink .pd__main-img { color: rgba(255,255,255,0.10); }
  .pd__main--stone { background: linear-gradient(140deg, #9C9384, #6E6555); }
  .pd__main--stone .pd__main-img { color: rgba(255,255,255,0.10); }
  .pd__main--bone { background: linear-gradient(140deg, #E8E2D0, #C9C0A8); }
  .pd__main--sand { background: linear-gradient(140deg, #D4C8AE, #B0A283); }
  .pd__main--taupe { background: linear-gradient(140deg, #B5A993, #8A7E68); }
  /* Product photo override on detail page */
  .pd__main--photo { background: var(--bg); }
  .pd__main--photo .pd__main-img { display: none; }
  .pd__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s;
  }
  .pd__main:hover .pd__photo { transform: scale(1.04); }

  .pd__info { padding-top: 16px; }
  .pd__brand {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 14px;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    display: inline-block;
    transition: border-color 0.2s;
  }
  .pd__brand:hover { border-color: var(--ink-soft); }
  .pd__name {
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.005em;
    margin-bottom: 20px;
  }
  .pd__price-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line-soft);
  }
  .pd__price {
    font-family: var(--display);
    font-size: 30px;
    letter-spacing: 0;
  }
  .pd__price-was {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--ink-soft);
    text-decoration: line-through;
  }
  .pd__cond-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 6px 12px;
    background: var(--bg-2);
    border-radius: 999px;
    margin-left: auto;
  }
  .pd__cond-pill::before {
    content: "";
    width: 5px; height: 5px;
    background: var(--ink);
    border-radius: 50%;
  }

  .pd__section { margin-bottom: 28px; }
  .pd__section-title {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .pd__section-title a {
    text-transform: none;
    letter-spacing: 0.05em;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    color: var(--ink);
  }

  .pd__sizes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  .pd__size {
    padding: 16px 6px;
    border: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-align: center;
    cursor: pointer;
    background: transparent;
    transition: background 0.18s, color 0.18s;
  }
  .pd__size:hover { background: var(--ink); color: var(--bg); }
  .pd__size.selected { background: var(--ink); color: var(--bg); }
  .pd__size.sold {
    color: var(--ink-soft);
    border-color: var(--line-soft);
    text-decoration: line-through;
    cursor: not-allowed;
  }
  .pd__size.sold:hover { background: transparent; color: var(--ink-soft); }

  .pd__add {
    width: 100%;
    padding: 20px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 18px;
    transition: background 0.2s, opacity 0.2s;
  }
  .pd__add:hover:not(:disabled) { background: #2a2520; }
  .pd__add:disabled {
    background: var(--line-soft);
    color: var(--ink-soft);
    cursor: not-allowed;
  }

  .pd__description {
    font-family: var(--body);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ink);
    margin-bottom: 32px;
  }

  .pd__accordion { border-top: 1px solid var(--line-soft); }
  .pd__accordion-item { border-bottom: 1px solid var(--line-soft); }
  .pd__accordion-trigger {
    width: 100%;
    text-align: left;
    padding: 20px 0;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  .pd__accordion-trigger::after {
    content: "+";
    font-size: 16px;
    transition: transform 0.2s;
  }
  .pd__accordion-item.open .pd__accordion-trigger::after { content: "−"; }
  .pd__accordion-content {
    display: none;
    padding-bottom: 20px;
    font-family: var(--body);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.65;
    color: var(--ink-soft);
  }
  .pd__accordion-item.open .pd__accordion-content { display: block; }

  .pd__related {
    padding: 0 var(--gutter) 80px;
    max-width: var(--max);
    margin: 0 auto;
  }

  /* ---------- CART ---------- */
  .cart-page {
    padding: 56px var(--gutter) 96px;
    max-width: var(--max);
    margin: 0 auto;
  }
  .cart-page__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line-soft);
  }
  .cart-page__title {
    font-family: var(--display);
    font-size: clamp(40px, 5.5vw, 80px);
    line-height: 1;
    letter-spacing: -0.005em;
  }
  .cart-page__title em {
    font-family: var(--display-italic);
    font-style: normal;
    font-weight: 400;
  }
  .cart-page__count {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .cart-page__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
  }
  .cart-line {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line-soft);
    align-items: start;
  }
  .cart-line:first-child { padding-top: 0; }
  .cart-line__img {
    aspect-ratio: 4/5;
    background: var(--bg-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 13px;
    color: rgba(0,0,0,0.18);
    text-align: center;
    line-height: 1;
    cursor: pointer;
  }
  .cart-line__img--charcoal { background: linear-gradient(140deg, #3A3530, #1A1816); color: rgba(255,255,255,0.18); }
  .cart-line__img--ink { background: linear-gradient(140deg, #1F1B17, #0A0807); color: rgba(255,255,255,0.18); }
  .cart-line__img--cream { background: linear-gradient(140deg, #EDE7D7, #DAD0B5); }
  .cart-line__img--stone { background: linear-gradient(140deg, #9C9384, #6E6555); color: rgba(255,255,255,0.18); }
  .cart-line__img--bone { background: linear-gradient(140deg, #E8E2D0, #C9C0A8); }
  .cart-line__img--sand { background: linear-gradient(140deg, #D4C8AE, #B0A283); }
  .cart-line__img--taupe { background: linear-gradient(140deg, #B5A993, #8A7E68); }

  .cart-line__brand {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 8px;
  }
  .cart-line__name {
    font-family: var(--body);
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.3;
  }
  .cart-line__meta {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 14px;
  }
  .cart-line__remove {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--ink-soft);
    cursor: pointer;
    transition: color 0.2s;
  }
  .cart-line__remove:hover { color: var(--ink); }
  .cart-line__price {
    font-family: var(--display);
    font-size: 22px;
    text-align: right;
  }

  .cart-summary {
    background: var(--bg-2);
    padding: 36px;
    position: sticky;
    top: 160px;
  }
  .cart-summary__title {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-soft);
  }
  .cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--body);
    font-size: 14px;
    margin-bottom: 14px;
    color: var(--ink-soft);
  }
  .cart-summary__row span:last-child {
    font-family: var(--mono);
    color: var(--ink);
  }
  .cart-summary__row--total {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
    color: var(--ink);
    font-size: 16px;
  }
  .cart-summary__row--total span:last-child {
    font-family: var(--display);
    font-size: 24px;
  }
  .cart-summary__checkout {
    width: 100%;
    padding: 20px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 24px;
    transition: background 0.2s;
  }
  .cart-summary__checkout:hover { background: #2a2520; }
  .cart-summary__note {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
    margin-top: 16px;
    text-align: center;
    text-transform: uppercase;
  }

  .cart-empty {
    grid-column: 1 / -1;
    padding: 100px 0;
    text-align: center;
  }
  .cart-empty__title {
    font-family: var(--display);
    font-size: clamp(36px, 4vw, 64px);
    margin-bottom: 16px;
    line-height: 1;
  }
  .cart-empty__title em {
    font-family: var(--display-italic);
    font-style: normal;
    font-weight: 400;
  }
  .cart-empty__sub {
    font-family: var(--body);
    font-weight: 300;
    color: var(--ink-soft);
    margin-bottom: 36px;
  }
  .cart-empty__cta {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 4px;
    cursor: pointer;
  }

  /* Toast — disabled per user request */
  .toast {
    display: none !important;
  }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 1100px) {
    .brands { grid-template-columns: repeat(3, 1fr); }
    .products, .brand-products { grid-template-columns: repeat(3, 1fr); }
    .hero__grid { grid-template-columns: 1fr; height: auto; }
    .hero__main { aspect-ratio: 16/10; }
    .hero__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
    .hero__side-top, .hero__side-bot { aspect-ratio: 1/1; }
    .header__top { grid-template-columns: auto 1fr auto; }
    .search { width: 100%; max-width: 360px; }
    .pd { gap: 40px; }
    /* On stacked splash, curtains split vertically instead of horizontally */
    .splash.hidden .splash__photo {
      transform: translateY(-105%) scale(0.88);
      filter: blur(6px);
    }
    .splash.hidden .splash__panel {
      transform: translateY(105%) scale(0.88);
      filter: blur(6px);
    }
  }
  @media (max-width: 900px) {
    .pd { grid-template-columns: 1fr; gap: 32px; }
    .pd__gallery { grid-template-columns: 1fr; }
    .pd__thumbs { flex-direction: row; order: 2; overflow-x: auto; }
    .pd__thumb { width: 64px; height: 64px; flex-shrink: 0; }
    .cart-page__grid { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .brand-hero { grid-template-columns: 1fr; gap: 24px; }
    .brand-hero__meta { text-align: left; }
    .brand-products { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
    .filters { position: static; }
  }
  @media (max-width: 720px) {
    :root { --gutter: 16px; }

    /* ===== SPLASH (mobile redesign — full-bleed photo + overlay) ===== */
    .splash {
      grid-template-columns: 1fr;
      grid-template-rows: 1fr;
      height: 100dvh;
      position: relative;
      overflow: hidden;
    }
    /* Photo becomes the full-bleed background */
    .splash__photo {
      grid-column: 1;
      grid-row: 1;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }
    .splash__photo img.splash__photo-bg {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 25%;
    }
    /* Stronger gradient — readable text over any photo */
    .splash__photo::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg,
          rgba(0,0,0,0.25) 0%,
          rgba(0,0,0,0.15) 25%,
          rgba(0,0,0,0.45) 55%,
          rgba(0,0,0,0.85) 85%,
          rgba(0,0,0,0.95) 100%);
    }
    /* Hide the desktop tag pill on mobile, it's redundant */
    .splash__photo-tag,
    .splash__photo-tag-r {
      display: none;
    }
    /* Panel now overlays the photo from the bottom */
    .splash__panel {
      grid-column: 1;
      grid-row: 1;
      position: relative;
      z-index: 2;
      background: transparent;
      color: var(--bg);
      padding: 24px 22px 32px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      gap: 0;
      overflow: visible;
    }
    /* Top eyebrow text */
    .splash__top {
      font-size: 9px;
      letter-spacing: 0.18em;
      color: rgba(244, 241, 234, 0.65);
      position: absolute;
      top: 28px;
      left: 22px;
      right: 22px;
    }
    .splash__top::before { background: rgba(244, 241, 234, 0.4); }
    /* Logo larger and bolder, positioned in the bottom block */
    .splash__panel-logo {
      filter: invert(1) brightness(1.05);
      height: 72px;
      width: auto;
      max-width: 280px;
      margin: 0 0 12px -4px;
      object-fit: contain;
    }
    /* Heading: smaller display caption above the CTA */
    .splash__heading {
      font-size: 22px;
      line-height: 1.1;
      margin: 0 0 8px;
      color: var(--bg);
      font-family: var(--display);
    }
    .splash__heading em { color: var(--logo-gold); }
    /* Subhead */
    .splash__sub {
      font-size: 13px;
      line-height: 1.45;
      margin: 0 0 22px;
      max-width: 100%;
      color: rgba(244, 241, 234, 0.75);
      font-family: var(--body);
      font-weight: 300;
    }
    /* Form section: collapsible, dropped below the CTA */
    .splash__form {
      padding-top: 0;
      border-top: none;
      margin-top: 16px;
      order: 2;
    }
    .splash__form-label {
      font-size: 9px;
      margin-bottom: 10px;
      color: rgba(244, 241, 234, 0.55);
      letter-spacing: 0.18em;
    }
    /* Mobile offer: scale down sizes + flip text/accent to cream so it
       reads against the dark photo, matching the rest of mobile splash text */
    .splash__offer {
      padding: 4px 0 4px 18px;
      margin-bottom: 16px;
    }
    .splash__offer::before { background: var(--bg); }
    .splash__offer::after {
      background: linear-gradient(180deg, transparent, rgba(232, 221, 181, 0.9), transparent);
    }
    .splash__offer-tag {
      font-size: 8px;
      margin-bottom: 8px;
      color: var(--bg);
      opacity: 0.65;
    }
    .splash__offer-headline { gap: 14px; }
    .splash__offer-percent {
      font-size: 48px;
      color: var(--bg);
    }
    .splash__offer-percent-sign {
      font-size: 28px;
      color: var(--bg);
    }
    .splash__offer-text-main {
      font-size: 15px;
      color: var(--bg);
    }
    .splash__offer-text-sub {
      font-size: 8px;
      color: var(--bg);
      opacity: 0.55;
    }
    .splash__form-row {
      padding-bottom: 8px;
      margin-bottom: 10px;
      border-bottom: 1px solid rgba(244, 241, 234, 0.25);
    }
    .splash__form-row input {
      font-size: 14px;
      padding: 6px 0;
      min-width: 0;
      color: var(--bg);
      background: transparent;
    }
    .splash__form-row input::placeholder {
      font-size: 12px;
      color: rgba(244, 241, 234, 0.45);
    }
    .splash__form-row button {
      font-size: 10px;
      padding-left: 10px;
      flex-shrink: 0;
      color: var(--bg);
    }
    /* The big "Enter site" CTA — now bottom-prominent, full feel */
    .splash__enter {
      font-size: 16px;
      letter-spacing: 0.18em;
      margin-top: 0;
      margin-bottom: 14px;
      align-self: stretch;
      text-align: center;
      color: var(--ink);
      background: var(--bg);
      padding: 18px 24px;
      font-family: var(--mono);
      font-weight: 700;
      text-transform: uppercase;
      transition: background 0.25s ease, color 0.25s ease;
      order: 1;
      border: 1px solid var(--bg);
    }
    .splash__enter:hover,
    .splash__enter:active {
      background: transparent;
      color: var(--bg);
    }
    .splash__enter::after { display: none; }
    /* Form status messages over dark bg */
    .splash__form-status--ok { color: var(--logo-gold); }
    .splash__form-status--err { color: #ff7b6b; }

    /* ===== HEADER ===== */
    .header__top {
      grid-template-columns: 1fr auto;
      grid-template-rows: auto auto;
      gap: 12px;
      padding: 12px var(--gutter);
    }
    .header__brand { grid-column: 1; grid-row: 1; gap: 10px; }
    .header__logo img { height: 28px; max-width: 150px; object-fit: contain; }
    .header__wholesale {
      padding: 5px 10px 5px 9px;
      font-size: 9px;
      letter-spacing: 0.12em;
    }
    .header__wholesale-text { display: none; }
    .header__icons { grid-column: 2; grid-row: 1; gap: 14px; font-size: 10px; }
    .search { grid-column: 1 / -1; grid-row: 2; max-width: 100%; padding: 8px 14px; }
    .search input { font-size: 13px; }
    .search__hint { display: none; }
    .brandbar a { padding: 10px 14px; font-size: 10px; letter-spacing: 0.06em; }

    /* ===== Mobile splash EXIT — single clean fade+zoom (replaces desktop curtain) ===== */
    .splash {
      transition: opacity 0.35s ease, visibility 0s linear 0.35s;
    }
    .splash.hidden {
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.35s ease, visibility 0s linear 0.35s;
    }
    .splash.hidden .splash__photo {
      transform: scale(1.06);
      filter: blur(4px);
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    }
    .splash.hidden .splash__panel {
      transform: translateY(8px);
      transition: transform 0.4s ease;
      filter: none;
    }
    /* Reset desktop's translate/scale defaults for mobile */
    .splash__photo {
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    }
    .splash__panel {
      transition: transform 0.4s ease;
    }

    /* ===== MARQUEE ===== */
    .marquee { padding: 8px 0; }
    .marquee__track span { font-size: 9px; letter-spacing: 0.12em; margin: 0 18px; }

    /* ===== HERO ===== */
    .hero { padding: 16px var(--gutter) 0; }
    .hero__grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      gap: 10px;
      height: auto;
      min-height: 0;
    }
    .hero__main { aspect-ratio: 4/5; min-height: 0; }
    .hero__side {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr;
      gap: 10px;
    }
    .hero__side-top, .hero__side-bot { aspect-ratio: 4/5; }
    .hero__content { padding: 18px; }
    .hero__main .hero__content { padding: 22px; }
    .hero__main .hero__title { font-size: 42px; }
    .hero__side-top .hero__title,
    .hero__side-bot .hero__title { font-size: 24px; }
    .hero__tag { font-size: 8px; padding: 5px 10px; letter-spacing: 0.14em; }
    .hero__meta { font-size: 9px; max-width: 180px; }
    .hero__cta { font-size: 14px; }

    /* ===== SECTIONS ===== */
    .section { padding: 56px var(--gutter) 16px; }
    .section__head {
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 24px;
      padding-bottom: 12px;
    }
    .section__title { font-size: 36px; }
    .section__link { font-size: 10px; letter-spacing: 0.12em; }

    /* ===== BRAND GRID ===== */
    /* On mobile, keep 4×3 — but smaller tiles since the screen is narrow */
    .brands {
      grid-template-columns: repeat(3, 1fr);
      max-width: 100%;
    }
    .brand-tile { aspect-ratio: 1 / 1; padding: 14px; }
    .brand-tile--has-logo .brand-tile__logo { padding: 14px; }

    /* ===== PRODUCTS ===== */
    .products { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; }
    .product__name { font-size: 13px; }
    .product__brand { font-size: 9px; }
    .product__cond { font-size: 9px; }
    .product__price { font-size: 16px; }
    .product__tag { font-size: 8px; padding: 4px 7px; letter-spacing: 0.12em; }
    .product__overlay { transform: translateY(0); position: static; background: transparent; padding: 8px 0 0; backdrop-filter: none; }
    .product__overlay-label { display: none; }
    .product__zoom { display: none; }
    .product__size { font-size: 9px; padding: 7px 4px; }

    /* ===== CAROUSEL (mobile: show 1.5 slides for swipe hint) ===== */
    .carousel__slide { flex: 0 0 calc(78% - 12px); }
    .carousel__nav { width: 38px; height: 38px; }
    .carousel__nav--prev { left: 8px; }
    .carousel__nav--next { right: 8px; }
    .carousel__nav svg { width: 14px; height: 14px; }
    .carousel__track { gap: 14px; }

    /* ===== EDITORIAL ===== */
    .editorial {
      grid-template-columns: 1fr;
      gap: 36px;
      padding: 64px var(--gutter);
      margin-top: 64px;
    }
    .editorial__title { font-size: 40px; margin-bottom: 20px; }
    .editorial__body { font-size: 14px; margin-bottom: 24px; }
    .editorial__cta { font-size: 10px; }

    /* ===== FOOTER ===== */
    .footer { padding: 48px var(--gutter) 24px; }
    .footer__grid {
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      margin-bottom: 48px;
    }
    .footer__logo { grid-column: 1 / -1; }
    .footer__logo img { height: 56px; }
    .footer__col-title { font-size: 9px; margin-bottom: 12px; }
    .footer__col a { font-size: 13px; padding: 3px 0; }
    .footer__bottom {
      flex-direction: column;
      gap: 10px;
      align-items: flex-start;
      font-size: 9px;
    }

    /* ===== WHOLESALE GATE ===== */
    .gate { padding: 24px; }
    .gate__logo { height: 48px; margin-bottom: 28px; }
    .gate__title { font-size: 32px; }
    .gate__sub { font-size: 13px; margin-bottom: 32px; }
    .gate__input-row { flex-direction: column; gap: 8px; }
    .gate__input { width: 100%; font-size: 13px; padding: 12px 14px; }
    .gate__btn { width: 100%; padding: 12px; }
    .gate__footnote { font-size: 9px; margin-top: 32px; }

    /* ===== WHOLESALE RIBBON ===== */
    .wholesale-ribbon { font-size: 8px; letter-spacing: 0.16em; padding: 6px 0; }
    .wholesale-ribbon__exit { margin-left: 12px; }

    /* ===== TOAST ===== */
    .toast { top: 80px; right: 12px; left: 12px; font-size: 10px; padding: 12px 16px; }
    .toast { transform: translateY(-150%); }
    .toast.show { transform: translateY(0); }

    /* ===== CART ===== */
    .cart-page { padding: 32px var(--gutter) 64px; }
    .cart-page__head { margin-bottom: 28px; padding-bottom: 16px; }
    .cart-page__title { font-size: 36px; }
    .cart-page__grid { gap: 24px; }
    .cart-line {
      grid-template-columns: 80px 1fr auto;
      gap: 14px;
      padding: 18px 0;
    }
    .cart-line__name { font-size: 14px; margin-bottom: 6px; }
    .cart-line__brand { font-size: 9px; margin-bottom: 6px; }
    .cart-line__meta { font-size: 9px; margin-bottom: 10px; }
    .cart-line__remove { font-size: 9px; }
    .cart-line__price { font-size: 16px; }
    .cart-summary { padding: 22px; }
    .cart-summary__title { font-size: 9px; margin-bottom: 16px; padding-bottom: 14px; }
    .cart-summary__row { font-size: 13px; margin-bottom: 10px; }
    .cart-summary__row--total { font-size: 14px; margin-top: 16px; padding-top: 16px; }
    .cart-summary__row--total span:last-child { font-size: 20px; }
    .cart-summary__checkout {
      padding: 16px;
      font-size: 11px;
      letter-spacing: 0.16em;
      margin-top: 18px;
    }
    .cart-summary__note { font-size: 9px; margin-top: 12px; }
  }

  /* Even smaller screens (older iPhone SE etc.) */
  @media (max-width: 380px) {
    .brands { grid-template-columns: repeat(2, 1fr); }
    .hero__main .hero__title { font-size: 36px; }
    .splash__heading { font-size: 24px; }
    .splash__panel-logo { height: 60px; max-width: 200px; }
  }

/* ============================================
   CATEGORY NAV + BRANDS DROPDOWN  (Deploy 2)
   ============================================ */

/* Distribute the category nav across the full width on desktop so it feels
   like one continuous bar, not a left group + lonely right button. */
.brandbar {
  justify-content: space-between;
}
/* The old brand bar relied on right-borders to divide items butted against
   each other. With even spacing now, those borders read as trailing edges. */
.brandbar a {
  border-right: none;
}
.brandbar a:first-child {
  border-left: none;
}

/* The Brands trigger that lives inside .brandbar */
.brandbar a.brandbar__brands-trigger {
  background: var(--logo-gold);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.brandbar a.brandbar__brands-trigger:hover {
  background: #DAC98F;
  color: var(--ink);
}
.brandbar__caret {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  transition: transform 0.25s ease;
}
.brandbar a.brandbar__brands-trigger.is-open .brandbar__caret {
  transform: rotate(180deg);
}

/* Active category indicator: subtle underline matching brand-bar voice */
.brandbar a.is-active {
  color: var(--ink);
  font-weight: 800;
}
.brandbar a.is-active::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  background: var(--ink);
}

/* Inline-expanding dropdown panel below the brand bar */
.brands-dropdown {
  background: #fff;
  border-bottom: 0 solid var(--line-soft);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, border-bottom-width 0.25s ease;
}
.brands-dropdown.is-open {
  max-height: 900px;
  padding: 28px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.brands-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 36px;
  max-width: 1200px;
  margin: 0 auto;
}
.brands-dropdown__group {
  display: flex;
  flex-direction: column;
}
.brands-dropdown__letter {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 6px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.brands-dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brands-dropdown__brand {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  padding: 4px 0;
  transition: padding-left 0.18s ease, color 0.18s ease;
  text-decoration: none;
}
.brands-dropdown__brand:hover {
  padding-left: 6px;
  color: var(--ink-soft);
}

/* Category page reuses .brand-* styling — no extra rules needed,
   but ensure crumb separator + filter pills inside view-category render
   identically. They use the same class names by design. */

/* Mobile: dropdown stacks to 2 cols then 1 */
@media (max-width: 880px) {
  .brands-dropdown__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
  }
  /* If the panel content is taller than viewport on smaller screens,
     let the panel itself scroll instead of clipping content. */
  .brands-dropdown.is-open {
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 560px) {
  .brands-dropdown__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .brands-dropdown__letter {
    font-size: 20px;
    margin-bottom: 6px;
  }
}
/* On mobile, items will naturally overflow and horizontal-scroll as before
   (the existing .brandbar overflow-x: auto handles it). */


/* ============================================
   WHOLESALE TEASE + NUDGE  (on product detail page)
   Dark CTA panel — editorial, gold-accented, on-brand.
   ============================================ */
.pd__wholesale-tease {
  background: var(--ink);
  color: var(--bg);
  padding: 18px 22px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 2px solid var(--logo-gold);
}
.pd__tease-price {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--logo-gold);
}
.pd__tease-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.65);
}
.pd__tease-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--logo-gold);
  margin-top: 6px;
  cursor: pointer;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(232, 221, 181, 0.4);
  align-self: flex-start;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pd__tease-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Wholesale nudge (only shown to wholesale buyers, replaces the tease) */
.pd__wholesale-nudge {
  background: var(--ink);
  color: var(--logo-gold);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  margin: 14px 0;
  text-align: center;
  border-top: 2px solid var(--logo-gold);
}


/* ============================================
   QUICK VIEW MODAL  (first-click product preview)
   First click on a .product card pops this open.
   Click the panel → navigates to full product page.
   Click backdrop / X / Esc → closes.
   ============================================ */
.quickview-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.quickview-modal.is-open {
  display: flex;
}
body.quickview-locked {
  overflow: hidden;
}
.quickview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.7);
  opacity: 0;
  animation: qv-backdrop-in 220ms ease-out forwards;
}
@keyframes qv-backdrop-in {
  to { opacity: 1; }
}
.quickview__panel {
  position: relative;
  max-width: 480px;
  width: 100%;
  max-height: 86vh;
  background: var(--bg);
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.92);
  /* Slight overshoot — feels like a pop */
  animation: qv-panel-in 320ms cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(14, 14, 14, 0.25);
}
@keyframes qv-panel-in {
  to { opacity: 1; transform: scale(1); }
}
/* Closing animation */
.quickview-modal.is-closing .quickview__backdrop {
  animation: qv-backdrop-out 200ms ease-in forwards;
}
.quickview-modal.is-closing .quickview__panel {
  animation: qv-panel-out 200ms ease-in forwards;
}
@keyframes qv-backdrop-out {
  to { opacity: 0; }
}
@keyframes qv-panel-out {
  to { opacity: 0; transform: scale(0.94); }
}

.quickview__photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  overflow: hidden;
}
.quickview__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.quickview__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.quickview__info {
  padding: 20px 22px 22px;
}
.quickview__brand {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.quickview__name {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 10px;
}
.quickview__price {
  font-family: var(--display);
  font-size: 18px;
}
.quickview__price-was {
  margin-left: 8px;
  font-size: 14px;
  text-decoration: line-through;
  color: var(--ink-soft);
}
.quickview__cta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 0.5px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}
.quickview__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  background: rgba(244, 241, 234, 0.94);
  border: 0;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.18s ease;
}
.quickview__close:hover {
  background: #fff;
}
