/* =====================================================================
   VANO LIMITED — editorial brand & media practice
   Quiet-luxury · soft-pastel · geometric-rounded sans + optical serif
   ===================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;1,9..144,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
dialog { margin: auto; } /* re-assert centering after reset */

/* ---------- Tokens ---------- */
:root {
  --paper:      #F4F0E9;
  --paper-deep: #ECE5D9;
  --paper-card: #FBF8F2;
  --ink:        #23201B;
  --ink-soft:   #5A544B;
  --ink-faint:  #6E6757;
  --line:       rgba(35,32,27,.14);
  --line-soft:  rgba(35,32,27,.08);

  --blush:  #E7C6C0;
  --sage:   #C1CFC1;
  --peri:   #C6CADD;
  --butter: #EBDCB6;
  --clay:   #B07659;
  --clay-text: #8F5A3F; /* darker clay for AA-legible text on paper */

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Outfit", ui-sans-serif, system-ui, sans-serif;

  --nums: "onum" 1, "pnum" 1;

  --page-max: 1300px;
  --gutter: clamp(1.25rem, 4vw, 4rem);

  --s0: .5rem; --s1: 1rem; --s2: 1.5rem; --s3: 2.5rem;
  --s4: 4rem; --s5: 6rem; --s6: 9rem;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-feature-settings: var(--nums);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,h2,h3,h4 { font-weight: 500; line-height: 1.06; letter-spacing: -.01em; }
p { text-wrap: pretty; }

/* Fluid type scale */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7.4vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.02em;
}
.h-xl { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.h-lg { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.h-md { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

.serif { font-family: var(--serif); font-weight: 400; }
.italic { font-style: italic; }

/* Running-head / eyebrow */
.eyebrow {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-feature-settings: "tnum" 1;
}
.eyebrow--rule {
  display: inline-flex; align-items: center; gap: .8rem;
}
.eyebrow--rule::before {
  content: ""; width: 2.2rem; height: 1px; background: var(--ink); opacity: .5;
}

.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
section { position: relative; }
.pad-y { padding-block: clamp(3.5rem, 9vw, 8rem); }
.rule { border: 0; border-top: 1px solid var(--line); }
.rule--ink { border-top: 1.5px solid var(--ink); }

.grid { display: grid; gap: var(--gutter); }
@media (min-width: 760px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) { .cols-3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 900px) { .cols-12 { grid-template-columns: repeat(12,1fr); } }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper);
  text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn .arw { transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.tlink {
  display: inline-flex; align-items: baseline; gap: .5rem;
  text-decoration: none; font-weight: 500;
  border-bottom: 1.5px solid var(--clay);
  padding-bottom: 2px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.tlink:hover { color: var(--clay-text); }
.tlink .arw { transition: transform .3s var(--ease); }
.tlink:hover .arw { transform: translate(3px,-3px); }

/* Focus visibility */
:focus-visible {
  outline: 2.5px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip {
  position: absolute; left: 1rem; top: -3.5rem;
  background: var(--ink); color: var(--paper);
  padding: .6rem 1rem; border-radius: 8px; z-index: 200;
  text-decoration: none; transition: top .25s var(--ease);
}
.skip:focus { top: 1rem; }

/* ---------- Masthead / nav ---------- */
.mast {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mast__row {
  max-width: var(--page-max); margin-inline: auto;
  padding: .85rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__type { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif); font-size: 1.28rem; letter-spacing: .01em; font-weight: 500;
}
.brand__tag {
  font-size: .58rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: clamp(1rem,2.2vw,2.1rem); }
.nav__links { display: contents; }
.nav a {
  text-decoration: none; font-size: .92rem; font-weight: 400;
  color: var(--ink-soft); position: relative; padding: .3rem 0;
  transition: color .25s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--clay);
}
.nav__cta { margin-left: .4rem; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    background: transparent; border: 1.5px solid var(--ink);
    border-radius: 999px; padding: .5rem .9rem; cursor: pointer;
    font-size: .85rem; font-weight: 500;
  }
  .drawer[hidden] { display: none !important; }
  .drawer {
    position: fixed; inset: 0; z-index: 150;
    background: var(--paper);
    display: flex; flex-direction: column;
    padding: var(--gutter);
  }
  .drawer__top { display:flex; justify-content: space-between; align-items:center; }
  .drawer__close {
    background: transparent; border: 1.5px solid var(--ink);
    border-radius: 999px; padding: .5rem .9rem; cursor: pointer; font-weight: 500;
  }
  .drawer nav { display: flex; flex-direction: column; gap: .4rem; margin-top: 2.5rem; }
  .drawer nav a {
    text-decoration: none; font-family: var(--serif);
    font-size: clamp(1.8rem,7vw,2.6rem); padding: .35rem 0;
    border-bottom: 1px solid var(--line);
  }
  .drawer .btn { margin-top: 2rem; align-self: flex-start; }
}

/* ---------- Reveal (near-still) ---------- */
.reveal { opacity: 1; } /* visible by default */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
  .btn, .tlink, .nav a { transition: none; }
}

/* =====================================================================
   HERO / masthead editorial
   ===================================================================== */
.hero { border-bottom: 1px solid var(--line); }
.hero__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: clamp(2rem,5vw,3.5rem); padding-bottom: 1.3rem;
  border-bottom: 1.5px solid var(--ink);
  font-feature-settings: "tnum" 1;
}
.hero__meta span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.hero__grid { display: grid; gap: var(--gutter); padding-block: clamp(2rem,6vw,4.5rem); }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.55fr 1fr; align-items: end; } }
.hero__title .display span { display: block; }
.hero__title .tint-clay { color: var(--clay); font-style: italic; }
.hero__aside { display: flex; flex-direction: column; gap: 1.6rem; }
.hero__figure {
  margin-top: clamp(1.5rem,4vw,2.5rem);
  border: 1px solid var(--line);
  background: var(--paper-deep);
  overflow: hidden;
  aspect-ratio: 16 / 6.6;
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }

/* stat / marginalia */
.figure-cap {
  font-size: .74rem; color: var(--ink-faint); letter-spacing: .04em;
  margin-top: .7rem; display: flex; gap: .6rem; align-items: baseline;
}
.figure-cap b { color: var(--ink-soft); font-weight: 600; }

/* dropfigure number */
.dropnum {
  font-family: var(--serif); font-size: clamp(2.4rem,4vw,3.4rem);
  line-height: .8; color: var(--clay); font-feature-settings: "lnum" 1;
}

/* ---------- Marquee scroller (near-still, respects RM) ---------- */
.strip { border-block: 1px solid var(--line); background: var(--paper-deep); overflow: hidden; }
.strip__track {
  display: flex; gap: 3.5rem; align-items: center;
  padding: 1rem var(--gutter); white-space: nowrap;
  animation: drift 46s linear infinite;
}
.strip__track span {
  font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 3.5rem;
}
.strip__track span::after { content: "✳"; font-style: normal; color: var(--clay); font-size: .8rem; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* =====================================================================
   Editorial content blocks
   ===================================================================== */
.lead-in {
  display: grid; gap: var(--gutter);
}
@media (min-width: 900px) { .lead-in { grid-template-columns: 4fr 8fr; } }
.lead-in__title { position: sticky; top: 6rem; align-self: start; }

.bignote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.28; letter-spacing: -.01em;
}
.bignote em { font-style: italic; color: var(--clay); }

.body-cols { columns: 2; column-gap: var(--gutter); }
.body-cols p { break-inside: avoid; margin-bottom: 1rem; }
@media (max-width: 720px) { .body-cols { columns: 1; } }

/* index cards / capability list */
.caplist { border-top: 1.5px solid var(--ink); }
.caprow {
  display: grid; gap: 1rem 2rem; align-items: baseline;
  padding: clamp(1.4rem,3vw,2.2rem) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 820px) { .caprow { grid-template-columns: 3.2rem 4.2fr 5.6fr; } }
.caprow__idx { font-family: var(--serif); color: var(--ink-faint); font-feature-settings: "lnum" 1; }
.caprow__ttl { font-size: clamp(1.35rem,2.4vw,1.9rem); font-weight: 500; letter-spacing: -.01em; }
.caprow__ttl .k { display:block; font-family: var(--serif); font-style: italic; color: var(--clay-text); font-size: .7em; margin-top:.15rem; }
.caprow__txt { color: var(--ink-soft); max-width: 52ch; }
.caprow__txt ul { list-style: none; margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.caprow__txt li {
  font-size: .78rem; letter-spacing: .04em; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem;
}
.caprow:hover { background: color-mix(in srgb, var(--paper-deep) 60%, transparent); }

/* pastel plane panels */
.plane { border-radius: 22px; padding: clamp(1.6rem,3.5vw,2.8rem); }
.plane--blush  { background: var(--blush); }
.plane--sage   { background: var(--sage); }
.plane--peri   { background: var(--peri); }
.plane--butter { background: var(--butter); }
.plane--card   { background: var(--paper-card); border: 1px solid var(--line); }

.statgrid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
@media (min-width: 640px){ .statgrid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px){ .statgrid--4 { grid-template-columns: repeat(4,1fr); } }
.stat { background: var(--paper-card); padding: clamp(1.4rem,3vw,2rem); }
.stat__n { font-family: var(--serif); font-size: clamp(2.4rem,5vw,3.4rem); line-height: 1; letter-spacing: -.02em; font-feature-settings: "lnum" 1; }
.stat__l { margin-top: .6rem; color: var(--ink-soft); font-size: .95rem; }

/* figure / image blocks */
.figframe { border: 1px solid var(--line); background: var(--paper-deep); overflow: hidden; border-radius: 14px; }
.figframe img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4x5 { aspect-ratio: 4/5; }
.ratio-3x2 { aspect-ratio: 3/2; }
.ratio-1x1 { aspect-ratio: 1/1; }
.ratio-16x9 { aspect-ratio: 16/9; }

/* pull quote */
.pull {
  font-family: var(--serif); font-size: clamp(1.6rem,3.4vw,2.6rem);
  line-height: 1.2; letter-spacing: -.01em;
}
.pull em { font-style: italic; color: var(--clay); }
.pull__by { font-family: var(--sans); font-size: .9rem; letter-spacing: .04em; color: var(--ink-soft); margin-top: 1.5rem; }

/* =====================================================================
   Work / portfolio
   ===================================================================== */
.case {
  display: grid; gap: var(--gutter); align-items: center;
  padding-block: clamp(2.5rem,6vw,4.5rem);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .case { grid-template-columns: 1fr 1fr; }
  .case:nth-child(even) .case__media { order: 2; }
}
.case__k { display:flex; gap:1rem; align-items:center; margin-bottom: 1rem; }
.case__k .tag { font-size: .72rem; letter-spacing:.16em; text-transform: uppercase; color: var(--ink-soft); }
.case__k .yr { font-family: var(--serif); color: var(--ink-faint); font-feature-settings:"lnum" 1; }
.case h2 { font-size: clamp(1.6rem,3vw,2.4rem); margin-bottom: .8rem; }
.case p { color: var(--ink-soft); max-width: 50ch; }
.case__metrics { display:flex; gap: 2rem; margin-top: 1.6rem; flex-wrap: wrap; }
.case__metrics div span { display:block; }
.case__metrics .m-n { font-family: var(--serif); font-size: 1.6rem; font-feature-settings:"lnum" 1; }
.case__metrics .m-l { font-size: .78rem; color: var(--ink-soft); letter-spacing:.04em; }

/* team */
.people { display: grid; gap: var(--gutter); }
@media (min-width: 700px){ .people { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px){ .people { grid-template-columns: repeat(3,1fr); } }
.person { border-top: 1.5px solid var(--ink); padding-top: 1rem; }
.person__role { color: var(--clay-text); font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.person__name { font-size: 1.3rem; font-weight: 500; margin-top: .2rem; }
.person__bio { color: var(--ink-soft); margin-top: .7rem; font-size: .95rem; }

/* timeline */
.time { border-top: 1.5px solid var(--ink); }
.time__row { display: grid; gap: .6rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px){ .time__row { grid-template-columns: 8rem 1fr; } }
.time__yr { font-family: var(--serif); font-size: 1.5rem; color: var(--clay); font-feature-settings:"lnum" 1; }
.time__d h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.time__d p { color: var(--ink-soft); max-width: 60ch; }

/* =====================================================================
   Forms / contact
   ===================================================================== */
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.3rem; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem .9rem; font-size: 1rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 22%, transparent);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--ink-faint); }
.form-status { margin-top: 1rem; font-size: .95rem; }
.form-status[data-state="ok"] { color: #2f6b45; }

/* contact info list */
.info-list { display: grid; gap: 1.6rem; }
.info-list dt { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .35rem; }
.info-list dd { font-size: 1.05rem; }
.info-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.info-list a:hover { border-color: var(--ink); }

/* contact form + aside — stacks on mobile, two columns on desktop */
.form-grid { align-items: start; }
@media (min-width: 900px){ .form-grid { grid-template-columns: 1.5fr 1fr; } }

/* =====================================================================
   CTA band + footer
   ===================================================================== */
.cta-band { background: var(--ink); color: var(--paper); border-radius: 26px; padding: clamp(2.2rem,6vw,4.5rem); }
.cta-band .display { color: var(--paper); }
.cta-band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn:hover { background: transparent; color: var(--paper); }
.cta-band .tint { color: var(--blush); font-style: italic; }

.foot { border-top: 1px solid var(--line); padding-block: clamp(2.5rem,5vw,4rem) 2rem; }
.foot__top { display: grid; gap: var(--gutter); }
@media (min-width: 820px){ .foot__top { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.foot h4 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1rem; font-weight: 600; }
.foot ul { list-style: none; display: grid; gap: .55rem; }
.foot a { text-decoration: none; color: var(--ink-soft); }
.foot a:hover { color: var(--ink); }
.foot__brand p { color: var(--ink-soft); max-width: 34ch; margin-top: 1rem; }
.foot__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: center; margin-top: clamp(2.5rem,5vw,3.5rem);
  padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-faint);
}
.foot__bottom a { text-decoration: none; color: var(--ink-faint); }
.foot__bottom a:hover { color: var(--ink); }

/* page hero (interior) */
.phero { border-bottom: 1px solid var(--line); padding-block: clamp(2.5rem,7vw,5rem) clamp(2rem,5vw,3.5rem); }
.phero__crumb { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.4rem; }
.phero__crumb a { text-decoration: none; color: var(--ink-soft); }
.phero__grid { display: grid; gap: var(--gutter); align-items: end; }
@media (min-width: 900px){ .phero__grid { grid-template-columns: 1.5fr 1fr; } }

/* prose (legal) */
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.4rem,2.6vw,1.9rem); margin: 2.5rem 0 .8rem; }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: .9rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--clay-text); }

/* utility */
.mt1{margin-top:var(--s1)} .mt2{margin-top:var(--s2)} .mt3{margin-top:var(--s3)} .mt4{margin-top:var(--s4)}
.mb1{margin-bottom:var(--s1)} .mb2{margin-bottom:var(--s2)} .mb3{margin-bottom:var(--s3)}
.muted{color:var(--ink-soft)} .faint{color:var(--ink-faint)}
.center{text-align:center} .maxw{max-width:60ch}
.flexb{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}
.between{justify-content:space-between}
.stack-sm{display:flex;flex-direction:column;gap:.6rem}
