/* =========================================================================
   Olyvogue Brand Site — Design System
   Style: Editorial B2B Commerce (Swiss grid order + warm boutique warmth)
   Audience: small wholesalers / boutique owners / accessory shop owners
   ========================================================================= */

:root {
  /* --- Color tokens --- */
  --bg:            #FAF7F2;  /* warm ivory canvas */
  --bg-elevated:   #FFFFFF;  /* cards / elevated surfaces */
  --bg-sunken:     #F1EBE1;  /* sunken bands */
  --ink:           #1C1A17;  /* primary text (warm charcoal) */
  --ink-soft:      #5A554C;  /* secondary text */
  --ink-faint:     #8C857A;  /* tertiary / captions */
  --gold:          #B8975A;  /* champagne gold accent */
  --gold-deep:     #9A7C45;  /* gold hover / on-light text */
  --gold-tint:     #F3EBDB;  /* gold wash background */
  --line:          #E4DCCE;  /* hairline borders */
  --line-strong:   #D3C8B5;
  --success:       #3E7C5A;  /* trust badges */
  --success-tint:  #E5F0E9;

  /* --- Typography --- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* --- Layout --- */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* --- Elevation (soft, flat — texture not drop) --- */
  --shadow-sm: 0 1px 2px rgba(28, 26, 23, .04), 0 1px 3px rgba(28, 26, 23, .04);
  --shadow-md: 0 4px 14px rgba(28, 26, 23, .06), 0 2px 6px rgba(28, 26, 23, .04);
  --shadow-lg: 0 18px 48px rgba(28, 26, 23, .10);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ----------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

/* --------------------------- Typography -------------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.05rem, 6.2vw, 4rem); font-optical-sizing: auto; overflow-wrap: break-word; }
.hero h1 { hyphens: none; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
  max-width: 100%;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--gold);
  display: inline-block; vertical-align: middle; margin-right: .7em;
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }

/* ----------------------------- Layout ---------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--sunken { background: var(--bg-sunken); }
.section--dark { background: var(--ink); color: #F4EFE7; }
.section--dark h2, .section--dark h3 { color: #FBF7F0; }
.section--dark p { color: #C9C1B4; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin-top: .7rem; }
.center { text-align: center; margin-inline: auto; }

/* ----------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 600; font-size: .98rem; letter-spacing: -0.01em;
  padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--ink); color: #FBF7F0; }
.btn--primary:hover { background: #2e2a25; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(28,26,23,.03); }
.btn--light { background: #FBF7F0; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ------------------------------ Header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: .5ch; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; }
.brand .dot { color: var(--gold); }
.brand small { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); align-self: center; margin-left: .4ch; }
.brand-logo { height: 30px; width: auto; display: block; }
.site-footer .brand-logo { height: 40px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .96rem; font-weight: 500; color: var(--ink-soft); transition: color .15s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { position: relative; }
.nav-links a[aria-current="page"]::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background: var(--gold); border-radius:2px; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s var(--ease); }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

/* --------------------------- Mobile nav -------------------------------- */
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-elevated); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .28s var(--ease); visibility: hidden;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn--desktop { display: none; }
}

/* ------------------------------- Hero ---------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6rem); }
.hero::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(900px 460px at 88% -8%, var(--gold-tint), transparent 60%),
    radial-gradient(700px 500px at -5% 110%, #F0E7D6, transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin: 1rem 0 1.2rem; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero .lede { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.75rem; }
.hero-note { font-size: .9rem; color: var(--ink-faint); display: flex; align-items: flex-start; gap: .5em; flex-wrap: wrap; }
.hero-note svg { flex-shrink: 0; margin-top: .25em; }
.hero-note span { min-width: 0; }
.hero-note strong { color: var(--ink-soft); font-weight: 600; }

/* Hero visual: stacked category tiles */
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 14px; }
.tile {
  aspect-ratio: 1; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile:nth-child(2){ margin-top: 28px; }
.tile:nth-child(3){ margin-top: -28px; }
.tile .t-label {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: rgba(250,247,242,.9); padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}

/* ---------------------------- Stat band -------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-elevated); padding: 1.6rem 1.25rem; text-align: center; }
.stat .num { font-family: var(--font-mono); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.stat .num span { color: var(--gold); }
.stat .lbl { font-size: .85rem; color: var(--ink-faint); margin-top: .35rem; }

/* --------------------------- Platform cards ---------------------------- */
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pcard {
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.pcard .badge {
  align-self: flex-start; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .4em .8em; border-radius: 999px; background: var(--gold-tint); color: var(--gold-deep); margin-bottom: 1.25rem;
}
.pcard h3 { margin-bottom: .5rem; }
.pcard .url { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-faint); margin-bottom: 1rem; }
.pcard p { margin-bottom: 1.25rem; flex: 1; }
.pcard .feats { margin-bottom: 1.5rem; }
.pcard .feats li { font-size: .92rem; color: var(--ink-soft); padding-left: 1.5em; position: relative; margin-bottom: .5rem; }
.pcard .feats li::before { content: "›"; position: absolute; left: .2em; color: var(--gold); font-weight: 700; }

/* ------------------------------ Feature grid --------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-tint); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.1rem; }
.feature h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.feature p { font-size: .95rem; }

/* ---------------------------- Category grid ---------------------------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.cat { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; text-align: center; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.cat .name { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); padding: .7rem .5rem; }

/* ----------------------------- Lookbook -------------------------------- */
.lookbook { column-count: 4; column-gap: 14px; }
.lookbook a { display: block; margin: 0 0 14px; border-radius: var(--radius); overflow: hidden; position: relative; break-inside: avoid; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lookbook img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.lookbook a:hover img { transform: scale(1.05); }
.lookbook a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,26,23,.22), transparent 45%); opacity: 0; transition: opacity .3s var(--ease); }
.lookbook a:hover::after { opacity: 1; }
@media (max-width: 980px) { .lookbook { column-count: 3; } }
@media (max-width: 680px)  { .lookbook { column-count: 2; } }

/* ----------------------------- Trust / social -------------------------- */
.trust { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.trust-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.tbadge { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; font-weight: 600; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-elevated); }
.tbadge .star { color: var(--gold); }
.socials { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.social { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; color: var(--ink-soft); transition: .2s var(--ease); }
.social:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

/* ------------------------------- CTA band ------------------------------ */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band .lede { margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }

/* -------------------------------- Footer ------------------------------- */
.site-footer { background: var(--ink); color: #C9C1B4; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #FBF7F0; }
.footer-about { font-size: .92rem; color: #ABA496; max-width: 34ch; margin-top: 1rem; }
.footer-col h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8C857A; margin-bottom: 1rem; font-weight: 500; }
.footer-col a { display: block; font-size: .94rem; color: #C9C1B4; padding: .35rem 0; transition: color .15s var(--ease); }
.footer-col a:hover { color: #FBF7F0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; font-size: .85rem; color: #8C857A; }
.footer-bottom a:hover { color: #C9C1B4; }

/* ------------------------------ Page hero ------------------------------ */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem,3vw,2.5rem); }
.page-hero h1 { margin: 1rem 0 1.2rem; max-width: 16ch; }
.breadcrumb { font-size: .82rem; color: var(--ink-faint); font-family: var(--font-mono); letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--ink-soft); }
.breadcrumb span { margin: 0 .5em; }

/* ------------------------------ Prose ---------------------------------- */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.25rem; font-size: 1.08rem; }
.prose p:first-of-type { font-size: 1.2rem; color: var(--ink); }
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 .75rem; }
.prose ul.ticks li { padding-left: 1.8em; position: relative; margin-bottom: .75rem; color: var(--ink-soft); }
.prose ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ------------------------- Two-column content -------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.audience-list { display: grid; gap: 1rem; }
.audience { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.audience .ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 11px; background: var(--gold-tint); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.audience h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.audience p { font-size: .92rem; margin: 0; }

/* ------------------------------ Contact -------------------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.ccard { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.ccard h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.ccard a, .ccard p { font-size: .98rem; color: var(--ink-soft); }
.ccard a:hover { color: var(--gold-deep); }
.form { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem,3vw,2.25rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: .8em 1em;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-tint); }
.field textarea { resize: vertical; min-height: 130px; }

/* ----------------------------- Utilities ------------------------------- */
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.muted{color:var(--ink-faint)}
.note-box{background:var(--gold-tint);border:1px solid var(--line-strong);border-radius:var(--radius);padding:1.1rem 1.3rem;font-size:.92rem;color:var(--gold-deep)}

/* --------------------------- Responsive -------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; }
  .features { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .trust, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .platforms { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
