/* =========================================================
   NOVARIS — Interior Architecture Studio
   Single stylesheet, shared by every page.
   Layout: mobile-first, fluid type, breakpoints at
   560 / 768 / 1024 / 1280 / 1600.
   ========================================================= */

/* ---------------------------------------------------------
   1. Tokens
   --------------------------------------------------------- */
:root{
  --ink:#14130f;
  --ink-2:#3a382f;
  --muted:#767264;
  --line:#e2ded4;
  --line-2:#efece4;
  --paper:#f7f5f0;
  --paper-2:#efebe2;
  --white:#ffffff;
  --clay:#b06e3f;          /* accent */
  --clay-2:#8f5629;
  --brick:#a3452f;         /* quote marks */
  --sand:#d9cfbe;

  --font-display:"Cormorant Garamond","Times New Roman",serif;
  --font-body:"Jost",system-ui,-apple-system,"Segoe UI",sans-serif;

  --shell:1280px;
  --gutter:20px;
  --head-h:70px;

  --ease:cubic-bezier(.22,.61,.36,1);
  --slow:.7s var(--ease);
  --mid:.45s var(--ease);
  --fast:.25s var(--ease);
}

@media (min-width:768px){ :root{ --gutter:34px; --head-h:82px; } }
@media (min-width:1280px){ :root{ --gutter:48px; --head-h:92px; } }

/* ---------------------------------------------------------
   2. Reset & base
   --------------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink-2);
  font-family:var(--font-body);
  font-size:16px;
  font-weight:300;
  line-height:1.75;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button,input,textarea,select{ font:inherit; color:inherit; }
button{ background:none; border:0; cursor:pointer; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5{
  margin:0;
  font-family:var(--font-display);
  font-weight:400;
  line-height:1.08;
  color:var(--ink);
  letter-spacing:-.01em;
}
p{ margin:0 0 1em; }
p:last-child{ margin-bottom:0; }
svg{ width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
::selection{ background:var(--ink); color:var(--paper); }

h1{ font-size:clamp(2.6rem,8.5vw,5.6rem); }
h2{ font-size:clamp(2.05rem,5.4vw,3.7rem); }
h3{ font-size:clamp(1.45rem,3vw,2.05rem); }
h4{ font-size:clamp(1.15rem,2vw,1.4rem); }

/* ---------------------------------------------------------
   3. Layout helpers
   --------------------------------------------------------- */
.container{
  width:100%;
  max-width:var(--shell);
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.container--wide{ max-width:1560px; }
.section{ padding-block:clamp(64px,10vw,130px); }
.section--tight{ padding-block:clamp(48px,7vw,90px); }
.section--paper2{ background:var(--paper-2); }
.section--white{ background:var(--white); }
.section--ink{ background:var(--ink); color:#c9c4b6; }
.section--ink h2,.section--ink h3,.section--ink h4{ color:var(--white); }

.grid{ display:grid; gap:clamp(26px,4vw,54px); }
@media (min-width:768px){ .g-2{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:768px){ .g-3{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .g-3{ grid-template-columns:repeat(3,1fr); } }
@media (min-width:560px){ .g-4{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .g-4{ grid-template-columns:repeat(4,1fr); } }

.lead{ font-size:clamp(1.02rem,1.6vw,1.2rem); color:var(--ink-2); }
.muted{ color:var(--muted); }
.center{ text-align:center; }

/* eyebrow label with rule */
.tag{
  display:inline-flex; align-items:center; gap:12px;
  font-size:.68rem; font-weight:400; letter-spacing:.28em;
  text-transform:uppercase; color:var(--clay); margin-bottom:18px;
}
.tag::before{ content:""; width:34px; height:1px; background:currentColor; }
.tag--center::after{ content:""; width:34px; height:1px; background:currentColor; }
/* dot marker instead of the rule */
.tag--dot::before{ width:7px; height:7px; border-radius:50%; }

.sec-head{ margin-bottom:clamp(34px,5vw,60px); }
.sec-head p{ max-width:56ch; margin-top:18px; }
.sec-head--center{ text-align:center; }
.sec-head--center p{ margin-inline:auto; }
@media (min-width:900px){
  .sec-head--split{ display:flex; align-items:flex-end; justify-content:space-between; gap:60px; }
  .sec-head--split p{ margin:0; max-width:42ch; }
}

/* ---------------------------------------------------------
   4. Buttons & links
   --------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:12px;
  padding:15px 30px; border:1px solid var(--ink); border-radius:999px;
  font-size:.74rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--ink); background:transparent; position:relative; overflow:hidden;
  transition:color var(--mid),border-color var(--mid);
}
.btn span{ position:relative; z-index:1; }
.btn svg{ width:16px; height:16px; position:relative; z-index:1; transition:transform var(--mid); }
.btn::after{
  content:""; position:absolute; inset:0; background:var(--ink);
  transform:scaleY(0); transform-origin:bottom; transition:transform var(--mid);
}
.btn:hover{ color:var(--paper); }
.btn:hover::after{ transform:scaleY(1); transform-origin:top; }
.btn:hover svg{ transform:translateX(5px); }
.btn--solid{ background:var(--ink); color:var(--paper); }
.btn--solid::after{ background:var(--clay); }
.btn--solid:hover{ color:#fff; border-color:var(--clay); }
.btn--clay{ background:var(--clay); border-color:var(--clay); color:#fff; }
.btn--clay::after{ background:var(--ink); }
.btn--clay:hover{ border-color:var(--ink); color:#fff; }
.btn--light{ border-color:rgba(255,255,255,.35); color:#fff; }
.btn--light::after{ background:var(--white); }
.btn--light:hover{ color:var(--ink); border-color:var(--white); }

.tlink{
  display:inline-flex; align-items:center; gap:10px;
  font-size:.73rem; letter-spacing:.2em; text-transform:uppercase; color:var(--ink);
  padding-bottom:5px; border-bottom:1px solid var(--line);
  transition:border-color var(--mid),color var(--mid);
}
.tlink svg{ width:15px; height:15px; transition:transform var(--mid); }
.tlink:hover{ color:var(--clay); border-color:var(--clay); }
.tlink:hover svg{ transform:translateX(5px); }

/* ---------------------------------------------------------
   5. Preloader
   --------------------------------------------------------- */
.preloader{
  position:fixed; inset:0; z-index:9999; background:var(--ink);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px;
  transition:opacity .6s ease,visibility .6s ease;
}
.preloader__word{
  font-family:var(--font-display); font-size:clamp(2rem,7vw,3.2rem);
  letter-spacing:.3em; color:var(--paper); text-indent:.3em;
}
.preloader__bar{ width:min(200px,50vw); height:1px; background:rgba(255,255,255,.2); overflow:hidden; }
.preloader__bar span{
  display:block; height:100%; width:40%; background:var(--clay);
  animation:load 1.1s var(--ease) infinite;
}
@keyframes load{ 0%{ transform:translateX(-100%);} 100%{ transform:translateX(350%);} }
.preloader.is-done{ opacity:0; visibility:hidden; }

/* ---------------------------------------------------------
   6. Header
   --------------------------------------------------------- */
.header{
  position:fixed; top:0; left:0; right:0; z-index:900;
  height:var(--head-h);
  transition:background var(--mid),height var(--mid),box-shadow var(--mid);
}
.header__inner{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.logo{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-size:1.45rem; letter-spacing:.24em;
  text-transform:uppercase; color:var(--ink); line-height:1; white-space:nowrap;
}
.logo i{ color:var(--clay); font-style:normal; }
.logo svg{ width:26px; height:26px; flex:none; stroke-width:1.3; }

.header.is-stuck{ background:var(--paper); box-shadow:0 1px 0 var(--line); height:calc(var(--head-h) - 8px); }

/* opaque light bar with a hairline accent along the very top */
.header--solid{ background:var(--white); box-shadow:inset 0 -1px 0 var(--line); }
.header--solid::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px; background:var(--clay);
}
.header--solid.is-stuck{ background:var(--white); box-shadow:inset 0 -1px 0 var(--line),0 8px 24px -20px rgba(20,19,15,.5); }

/* transparent header over dark hero (home) */
.header--over{ color:#fff; }
.header--over .logo{ color:#fff; }
.header--over .nav__link{ color:rgba(255,255,255,.86); }
.header--over .burger span{ background:#fff; }
.header--over .header__meta{ color:rgba(255,255,255,.8); }
.header--over.is-stuck{ color:inherit; }
.header--over.is-stuck .logo{ color:var(--ink); }
.header--over.is-stuck .nav__link{ color:var(--ink-2); }
.header--over.is-stuck .burger span{ background:var(--ink); }
.header--over.is-stuck .header__meta{ color:var(--muted); }

.header__meta{
  display:none; font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted);
}
@media (min-width:1280px){ .header__meta{ display:block; } }

.header__right{ display:flex; align-items:center; gap:clamp(14px,2vw,26px); }

/* desktop nav */
.nav__list{ display:none; }
@media (min-width:1024px){
  .nav__list{ display:flex; align-items:center; gap:clamp(20px,2.4vw,38px); }
  .nav__link{
    position:relative; font-size:.76rem; letter-spacing:.18em; text-transform:uppercase;
    color:var(--ink-2); padding-block:6px; transition:color var(--fast);
  }
  .nav__link::after{
    content:""; position:absolute; left:0; bottom:0; height:1px; width:100%;
    background:currentColor; transform:scaleX(0); transform-origin:right;
    transition:transform var(--mid);
  }
  .nav__link:hover::after,.nav__link.is-active::after{ transform:scaleX(1); transform-origin:left; }
  .nav__link.is-active{ color:var(--clay); }
  .nav__item{ position:relative; }
  .nav__item:hover .drop{ opacity:1; visibility:visible; transform:translateY(0); }
  .drop{
    position:absolute; top:100%; left:-18px; min-width:210px; padding:14px 0;
    background:var(--white); border:1px solid var(--line);
    opacity:0; visibility:hidden; transform:translateY(12px);
    transition:all var(--mid);
  }
  .drop a{
    display:block; padding:8px 22px; font-size:.78rem; letter-spacing:.06em;
    color:var(--ink-2); transition:color var(--fast),padding var(--fast);
  }
  .drop a:hover{ color:var(--clay); padding-left:28px; }
}

/* the burger stays visible at every width — on desktop it opens the same
   drawer as an extra menu, as in the reference navbar */
.burger{ width:34px; height:20px; position:relative; display:block; }
.burger span{
  position:absolute; left:0; height:1.6px; width:100%; background:var(--ink);
  transition:transform var(--mid),opacity var(--fast),width var(--mid);
}
.burger span:nth-child(1){ top:1px; }
.burger span:nth-child(2){ top:9px; width:70%; }
.burger span:nth-child(3){ top:17px; }
.burger.is-open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity:0; }
.burger.is-open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* mobile drawer */
.drawer{
  position:fixed; top:0; right:0; z-index:950;
  width:min(340px,86vw); height:100dvh; background:var(--paper);
  padding:26px var(--gutter) 40px;
  transform:translateX(100%); transition:transform var(--slow);
  overflow-y:auto; display:flex; flex-direction:column;
}
.drawer.is-open{ transform:translateX(0); }
.drawer__top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:34px; }
.drawer__close{ width:26px; height:26px; color:var(--ink); }
.drawer__list a{
  display:block; padding:13px 0; border-bottom:1px solid var(--line);
  font-family:var(--font-display); font-size:1.35rem; color:var(--ink);
}
.drawer__list .drawer__sub a{ font-family:var(--font-body); font-size:.9rem; padding-left:16px; color:var(--muted); }
.drawer__foot{ margin-top:auto; padding-top:30px; font-size:.85rem; }
.drawer__foot a{ display:block; margin-bottom:6px; }
.drawer__social{ display:flex; gap:14px; margin-top:18px; }
.drawer__social a{ width:20px; height:20px; color:var(--ink); }

.scrim{
  position:fixed; inset:0; z-index:940; background:rgba(20,19,15,.55);
  opacity:0; visibility:hidden; transition:all var(--mid);
}
.scrim.is-open{ opacity:1; visibility:visible; }

/* ---------------------------------------------------------
   7. Hero (home)
   --------------------------------------------------------- */
/* split hero: copy on a light left half, full-bleed image on the right */
.hero{ position:relative; background:var(--paper); overflow:hidden; }
.hero__grid{ display:grid; }
@media (min-width:900px){
  .hero__grid{
    grid-template-columns:1fr 1fr;
    align-items:center;
    min-height:max(480px,74svh);
  }
}

/* the panel is right-aligned inside the left half, so its left edge lands
   exactly on the page container's left edge */
.hero__panel{
  position:relative; z-index:2;
  width:100%; margin-left:auto;
  padding:calc(var(--head-h) + clamp(26px,4vw,44px)) var(--gutter) clamp(30px,4vw,48px);
}
@media (min-width:900px){
  .hero__panel{ max-width:calc(var(--shell) / 2); padding-block:clamp(28px,3.4vw,46px); }
}

/* one copy block per image; only the active one is in flow */
.hero__copy{ position:relative; }
.hero__slide{ display:none; }
.hero__slide.is-active{ display:block; animation:heroCopyIn .65s var(--ease) both; }
@keyframes heroCopyIn{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }

.hero__chip{
  display:inline-block; margin-bottom:clamp(16px,2vw,24px);
  padding:9px 16px; background:var(--paper-2);
  font-size:.68rem; letter-spacing:.24em; text-transform:uppercase; color:var(--ink-2);
}
.hero h1{
  font-family:var(--font-body); text-transform:uppercase;
  font-size:clamp(2rem,4.4vw,3.5rem); line-height:1.06; letter-spacing:-.015em;
  color:var(--ink); margin-bottom:clamp(14px,1.8vw,20px);
}
.hero h1 b{ display:block; font-weight:500; }
.hero h1 span{ display:block; font-weight:200; }
.hero__panel p{ color:var(--muted); max-width:44ch; font-size:1.02rem; }
.hero__cta{
  display:flex; flex-wrap:wrap; align-items:center; gap:clamp(16px,2.4vw,28px);
  margin-top:clamp(20px,2.6vw,30px);
}
.hero__play{
  display:inline-flex; align-items:center; gap:16px;
  font-size:.9rem; color:var(--ink);
}
.hero__play i{
  width:54px; height:54px; border-radius:50%; border:1px solid var(--line);
  display:grid; place-items:center; color:var(--ink);
  transition:background var(--mid),border-color var(--mid),color var(--mid);
}
.hero__play i svg{ width:15px; height:15px; fill:currentColor; stroke:none; margin-left:2px; }
.hero__play:hover i{ background:var(--clay); border-color:var(--clay); color:#fff; }

/* image side — cross-fading stack, bleeds to the right edge of the viewport */
.hero__stage{ position:relative; order:-1; height:clamp(230px,42svh,400px); }
@media (min-width:900px){ .hero__stage{ order:0; height:100%; align-self:stretch; min-height:inherit; } }
.hero__shot{ position:absolute; inset:0; opacity:0; transition:opacity 1.1s var(--ease); }
.hero__shot.is-active{ opacity:1; }
.hero__shot img{ width:100%; height:100%; object-fit:cover; transform:scale(1.08); transition:transform 7s linear; }
.hero__shot.is-active img{ transform:scale(1); }

/* slider controls, sitting under the copy */
.hero__bar{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  margin-top:clamp(22px,3vw,34px); padding-top:18px; border-top:1px solid var(--line);
}
.hero__dots{ display:flex; gap:10px; }
.hero__dots button{ width:34px; height:2px; background:var(--sand); transition:background var(--mid); }
.hero__dots button.is-active{ background:var(--clay); }
.hero__scroll{ margin-left:auto; font-size:.68rem; letter-spacing:.24em; text-transform:uppercase; color:var(--muted); }
.hero__arrows{ display:flex; gap:10px; }
.hero__arrows button{
  width:46px; height:46px; border:1px solid var(--line); border-radius:50%; color:var(--ink);
  display:grid; place-items:center; transition:background var(--mid),color var(--mid),border-color var(--mid);
}
.hero__arrows button svg{ width:17px; height:17px; }
.hero__arrows button:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }

/* ---------------------------------------------------------
   8. Page banner (inner pages)
   --------------------------------------------------------- */
.banner{
  position:relative; padding-top:calc(var(--head-h) + clamp(56px,9vw,110px));
  padding-bottom:clamp(52px,8vw,100px); background:var(--ink); overflow:hidden;
}
.banner img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.5;
  animation:bannerIn 1.4s var(--ease) both;
}
@keyframes bannerIn{ from{ transform:scale(1.08); opacity:0; } to{ transform:scale(1); opacity:.5; } }
/* darkest at the top so the transparent header stays readable over any photo */
.banner::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(20,19,15,.85) 0%,rgba(20,19,15,.5) 42%,rgba(20,19,15,.62) 100%);
}
.banner__inner{ position:relative; z-index:2; }
.banner h1{ color:#fff; font-size:clamp(2.3rem,6.5vw,4.4rem); }
.crumb{
  display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:18px;
  font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.68);
}
.crumb a:hover{ color:#fff; }
.crumb i{ font-style:normal; color:var(--clay); }

/* ---------------------------------------------------------
   9. Marquee
   --------------------------------------------------------- */
.marquee{
  overflow:hidden; border-block:1px solid var(--line); background:var(--paper);
  padding-block:16px;
}
.marquee__track{ display:flex; gap:0; width:max-content; animation:slide 26s linear infinite; }
.marquee__track span{
  display:inline-flex; align-items:center; gap:26px; padding-inline:26px;
  font-family:var(--font-display); font-size:clamp(1.4rem,3.4vw,2.4rem); color:var(--ink);
  white-space:nowrap;
}
.marquee__track span::after{ content:"✦"; font-size:.7em; color:var(--clay); }
@keyframes slide{ to{ transform:translateX(-50%); } }
.marquee:hover .marquee__track{ animation-play-state:paused; }

/* ---------------------------------------------------------
   10. About / split media blocks
   --------------------------------------------------------- */
.split{ display:grid; gap:clamp(32px,5vw,64px); align-items:center; }
@media (min-width:900px){ .split{ grid-template-columns:1fr 1fr; } }
.split--wide-left{ }
@media (min-width:900px){ .split--wide-left{ grid-template-columns:1.15fr 1fr; } }

.figstack{ position:relative; }
.figstack__main{ aspect-ratio:4/5; overflow:hidden; }
.figstack__main img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease); }
.figstack:hover .figstack__main img{ transform:scale(1.05); }
.figstack__sub{
  display:none; position:absolute; right:-24px; bottom:-30px;
  width:46%; aspect-ratio:1/1; border:8px solid var(--paper); overflow:hidden;
}
.figstack__sub img{ width:100%; height:100%; object-fit:cover; }
@media (min-width:560px){ .figstack__sub{ display:block; } }
.figstack__badge{
  position:absolute; left:-10px; top:-10px; background:var(--clay); color:#fff;
  padding:16px 20px; text-align:center; line-height:1.15;
}
.figstack__badge b{ display:block; font-family:var(--font-display); font-size:2rem; font-weight:400; }
.figstack__badge small{ font-size:.62rem; letter-spacing:.2em; text-transform:uppercase; }

/* --- About block: rectangle with a circular photo breaking its corner --- */
.abt{ display:grid; gap:clamp(34px,5vw,70px); align-items:center; }
@media (min-width:900px){ .abt{ grid-template-columns:1fr 1.06fr; } }

.abt__media{ position:relative; padding-bottom:clamp(46px,8vw,90px); }
.abt__main{ overflow:hidden; aspect-ratio:4/4.6; }
.abt__main img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease); }
.abt__media:hover .abt__main img{ transform:scale(1.05); }
.abt__circle{
  position:absolute; right:-4%; bottom:0; width:58%; aspect-ratio:1/1;
  border-radius:50%; overflow:hidden; border:9px solid var(--paper);
  box-shadow:0 30px 60px -40px rgba(20,19,15,.6);
}
.section--white .abt__circle{ border-color:var(--white); }
.abt__circle img{ width:100%; height:100%; object-fit:cover; }
.abt__years{
  position:absolute; left:0; top:0; background:var(--clay); color:#fff;
  padding:16px 20px; text-align:center; line-height:1.15;
}
.abt__years b{ display:block; font-family:var(--font-display); font-size:2rem; font-weight:400; }
.abt__years small{ font-size:.62rem; letter-spacing:.2em; text-transform:uppercase; }

/* the heading here is deliberately the big uppercase sans, not the serif */
.abt__title{
  font-family:var(--font-body); font-weight:500; text-transform:uppercase;
  font-size:clamp(1.85rem,4.4vw,3.3rem); line-height:1.12; letter-spacing:-.012em;
  margin-bottom:clamp(24px,3vw,34px);
}
.abt__points{
  display:grid; gap:14px 26px; margin-bottom:26px;
}
@media (min-width:560px){ .abt__points{ grid-template-columns:repeat(2,1fr); } }
.abt__points li{ display:flex; align-items:center; gap:12px; }
.abt__points svg{ width:22px; height:22px; flex:none; color:var(--clay); stroke-width:2.2; }
.abt__points span{
  font-size:clamp(.86rem,1.2vw,1rem); font-weight:400; text-transform:uppercase;
  letter-spacing:.02em; color:var(--ink);
}
.abt__text{ color:var(--muted); max-width:58ch; margin-bottom:30px; }

/* pill CTA with a circular arrow badge */
.btn--pill{
  padding:9px 9px 9px 30px; gap:16px;
  background:var(--ink); color:var(--paper); border-color:var(--ink);
}
.btn--pill::after{ background:var(--clay); }
.btn--pill:hover{ color:#fff; border-color:var(--clay); }
.btn--pill i{
  position:relative; z-index:1; width:40px; height:40px; border-radius:50%;
  background:var(--clay); display:grid; place-items:center; flex:none;
  transition:background var(--mid),color var(--mid);
}
.btn--pill i svg{ width:16px; height:16px; }
.btn--pill:hover i{ background:var(--white); color:var(--ink); }

.tick{ display:grid; gap:12px; margin:26px 0; }
.tick li{ display:flex; gap:12px; align-items:flex-start; font-size:.97rem; }
.tick svg{ width:19px; height:19px; flex:none; margin-top:4px; color:var(--clay); }

/* ---------------------------------------------------------
   11. Stats
   --------------------------------------------------------- */
.stats{ display:grid; gap:1px; background:var(--line); border:1px solid var(--line); }
@media (min-width:560px){ .stats{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .stats{ grid-template-columns:repeat(4,1fr); } }
.stat{ background:var(--paper); padding:32px 26px; text-align:center; }
.section--ink .stat{ background:var(--ink); }
.section--ink .stats{ background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.14); }
.stat b{
  display:block; font-family:var(--font-display); font-size:clamp(2.4rem,5vw,3.4rem);
  font-weight:400; color:var(--ink); line-height:1;
}
.section--ink .stat b{ color:#fff; }
.stat b i{ font-style:normal; color:var(--clay); }
.stat span{
  display:block; margin-top:12px; font-size:.7rem; letter-spacing:.22em;
  text-transform:uppercase; color:var(--muted);
}
.section--ink .stat span{ color:rgba(255,255,255,.6); }

/* ---------------------------------------------------------
   12. Services — numbered rows
   --------------------------------------------------------- */
.srows{ border-top:1px solid var(--line); }
.srow{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:
    "no title go"
    "no desc  go";
  align-items:center;
  column-gap:clamp(8px,1.4vw,18px);
  padding:clamp(16px,2.6vw,30px) 0;
  border-bottom:1px solid var(--line);
}
/* small superscript index, hung off the top-left of the headline */
.srow__no{
  grid-area:no; align-self:start;
  padding-top:.35em;
  font-size:clamp(.6rem,.9vw,.8rem); letter-spacing:.18em; color:var(--muted);
}
/* oversized editorial headline — the whole point of the row */
.srow h3{
  grid-area:title;
  font-family:var(--font-body);
  font-weight:300;
  text-transform:uppercase;
  font-size:clamp(1.5rem,6.6vw,4.6rem);
  line-height:1.02;
  letter-spacing:-.015em;
  color:var(--ink);
  transition:transform var(--mid),color var(--mid);
}
.srow p{
  grid-area:desc;
  margin-top:8px; font-size:.92rem; color:var(--muted); max-width:52ch;
}
/* on wide screens the headline carries the row on its own, and the space
   to its right belongs to the hover preview image */
@media (min-width:1024px){ .srow p{ display:none; } }

.srow__go{
  grid-area:go; justify-self:end;
  width:clamp(30px,4vw,48px); height:clamp(30px,4vw,48px);
  display:grid; place-items:center; color:var(--ink);
  transition:transform var(--mid),color var(--mid);
}
.srow__go svg{ width:clamp(16px,2vw,24px); height:clamp(16px,2vw,24px); stroke-width:1.1; }
.srow:hover .srow__go{ color:var(--clay); transform:translate(4px,-4px); }
.srow:hover h3{ color:var(--clay); }
@media (min-width:768px){ .srow:hover h3{ transform:translateX(10px); } }

/* hover preview image — parked at a fixed point in the row, never follows the pointer */
.srow__peek{
  display:none; position:absolute; right:14%; top:50%;
  width:clamp(200px,20vw,290px); height:clamp(260px,26vw,380px);
  transform:translate(0,-50%) scale(.92); opacity:0; pointer-events:none; overflow:hidden;
  transition:opacity var(--mid),transform var(--mid); z-index:3;
}
.srow__peek img{ width:100%; height:100%; object-fit:cover; }
@media (min-width:1024px){
  .srow__peek{ display:block; }
  .srow:hover .srow__peek{ opacity:1; transform:translate(0,-50%) scale(1); }
}

/* service cards (services page) */
.scard{
  background:var(--white); border:1px solid var(--line); padding:30px 26px;
  transition:transform var(--mid),box-shadow var(--mid),border-color var(--mid);
}
.scard:hover{ transform:translateY(-6px); border-color:var(--clay); box-shadow:0 22px 48px -32px rgba(20,19,15,.5); }
.scard__ico{
  width:56px; height:56px; border:1px solid var(--line); border-radius:50%; display:grid; place-items:center;
  color:var(--clay); margin-bottom:22px; transition:background var(--mid),color var(--mid);
}
.scard__ico svg{ width:26px; height:26px; }
.scard:hover .scard__ico{ background:var(--clay); color:#fff; border-color:var(--clay); }
.scard h3{ font-size:1.35rem; margin-bottom:10px; }
.scard p{ font-size:.95rem; color:var(--muted); margin-bottom:18px; }

/* ---------------------------------------------------------
   13. Projects
   --------------------------------------------------------- */
.filters{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:36px; }
.filter{
  padding:9px 20px; border:1px solid var(--line); border-radius:999px; background:var(--white);
  font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted);
  transition:all var(--fast);
}
.filter:hover{ color:var(--ink); }
.filter.is-active{ background:var(--ink); border-color:var(--ink); color:var(--paper); }

/* pagination — looks like .filter but carries no filtering behaviour */
.pager{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:40px; }
.pager a{
  min-width:44px; padding:9px 16px; border:1px solid var(--line); border-radius:999px; background:var(--white);
  font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted);
  text-align:center; transition:all var(--fast);
}
.pager a:hover{ color:var(--ink); border-color:var(--ink); }
.pager a.is-active{ background:var(--ink); border-color:var(--ink); color:var(--paper); }

.pgrid{ display:grid; gap:clamp(20px,3vw,34px); }
@media (min-width:640px){ .pgrid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1100px){ .pgrid--3{ grid-template-columns:repeat(3,1fr); } }
.project{ position:relative; overflow:hidden; display:block; background:var(--ink); }
.project.is-hidden{ display:none; }
.project__img{ aspect-ratio:4/3.2; overflow:hidden; }
.project--tall .project__img{ aspect-ratio:3/4; }
.project__img img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease),opacity var(--mid); }
.project:hover .project__img img{ transform:scale(1.07); opacity:.62; }
/* gallery tiles with no caption overlay keep their full brightness */
.project--plain:hover .project__img img{ opacity:1; }
.project__body{
  position:absolute; left:0; right:0; bottom:0; padding:24px;
  display:flex; align-items:flex-end; justify-content:space-between; gap:16px;
  background:linear-gradient(180deg,transparent,rgba(20,19,15,.85));
  transform:translateY(18px); opacity:0; transition:all var(--mid);
}
.project:hover .project__body{ transform:translateY(0); opacity:1; }
@media (hover:none){ .project__body{ transform:none; opacity:1; } }
.project__body small{
  display:block; font-size:.66rem; letter-spacing:.22em; text-transform:uppercase; color:var(--sand);
  margin-bottom:6px;
}
.project__body h3{ color:#fff; font-size:1.35rem; }
.project__go{
  width:44px; height:44px; flex:none; border:1px solid rgba(255,255,255,.5); border-radius:50%; color:#fff;
  display:grid; place-items:center;
}
.project__go svg{ width:16px; height:16px; }

/* ---------------------------------------------------------
   13b. Work carousel — full-bleed strip on a dark ground
   --------------------------------------------------------- */
.work{
  background:var(--ink); color:rgba(255,255,255,.7);
  padding-top:clamp(56px,8vw,110px);
  padding-bottom:clamp(28px,3.4vw,48px);
}
/* the stats band shares the same dark ground — keep the two tight together
   so they read as one block rather than two sections with a hole between */
.work + .section--ink{ padding-top:clamp(18px,2.4vw,34px); }
.work h2{ color:#fff; }
.work__head{ display:grid; gap:20px; margin-bottom:clamp(30px,4.5vw,56px); }
.work__head p{ color:rgba(255,255,255,.6); max-width:54ch; font-size:.98rem; }
@media (min-width:1024px){
  .work__head{
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:end; gap:clamp(30px,4vw,64px);
  }
}
.work__nav{ display:flex; gap:12px; }
.work__nav button{
  width:clamp(44px,4vw,52px); height:clamp(44px,4vw,52px); border-radius:50%;
  border:1px solid rgba(255,255,255,.3); color:#fff; display:grid; place-items:center;
  transition:background var(--mid),border-color var(--mid),color var(--mid);
}
.work__nav button svg{ width:18px; height:18px; }
.work__nav button:hover{ background:var(--clay); border-color:var(--clay); }

/* the strip itself: native horizontal scroll, snapped, edges bleeding off-screen */
.work__track{
  display:flex; gap:clamp(12px,1.6vw,24px);
  overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory; scroll-behavior:smooth;
  /* 100% (not 100vw) so a visible scrollbar can't push the track wider than the page */
  padding-inline:max(var(--gutter),calc((100% - 1560px) / 2 + var(--gutter)));
  scrollbar-width:none; -ms-overflow-style:none;
}
.work__track::-webkit-scrollbar{ display:none; }

.work__slide{
  flex:0 0 auto; scroll-snap-align:center;
  width:clamp(230px,74vw,440px);
}
.work__slide--wide{ width:clamp(280px,88vw,840px); }
/* every slide shares one height, whatever its width */
.work__slide .project__img{ aspect-ratio:auto; height:clamp(290px,42vw,430px); }

.work__foot{ margin-top:clamp(20px,2.6vw,34px); }
.tlink--light{ color:#fff; border-color:rgba(255,255,255,.28); }
.tlink--light:hover{ color:var(--clay); border-color:var(--clay); }

/* ---------------------------------------------------------
   14. Process / steps
   --------------------------------------------------------- */
.steps{ counter-reset:step; display:grid; gap:clamp(24px,3vw,34px); }
@media (min-width:640px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1100px){ .steps{ grid-template-columns:repeat(4,1fr); } }
.step{ position:relative; padding-top:26px; border-top:1px solid var(--line); }
.section--ink .step{ border-color:rgba(255,255,255,.18); }
.step b{
  font-family:var(--font-display); font-size:2.6rem; font-weight:400; color:var(--sand);
  line-height:1; display:block; margin-bottom:14px;
}
.step h4{ margin-bottom:8px; }
.step p{ font-size:.94rem; color:var(--muted); }
.section--ink .step p{ color:rgba(255,255,255,.62); }

/* ---------------------------------------------------------
   15. Testimonials
   --------------------------------------------------------- */
.quotes{ position:relative; max-width:820px; margin-inline:auto; text-align:center; }
.quote{ display:none; }
.quote.is-active{ display:block; animation:fade .6s var(--ease); }
@keyframes fade{ from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:none;} }
.quote__stars{ display:flex; justify-content:center; gap:6px; color:var(--clay); margin-bottom:22px; }
.quote__stars svg{ width:17px; height:17px; fill:currentColor; stroke:none; }
.quote p{
  font-family:var(--font-display); font-size:clamp(1.3rem,2.9vw,2.05rem);
  line-height:1.4; color:var(--ink); margin-bottom:26px;
}
.section--ink .quote p{ color:#fff; }
.quote__who{ display:flex; align-items:center; justify-content:center; gap:14px; }
.quote__who img{ width:54px; height:54px; border-radius:50%; object-fit:cover; }
.quote__who b{ display:block; font-weight:400; color:var(--ink); }
.section--ink .quote__who b{ color:#fff; }
.quote__who span{ font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
.quotes__nav{ display:flex; justify-content:center; gap:12px; margin-top:34px; }
.quotes__nav button{
  width:46px; height:46px; border:1px solid var(--line); border-radius:50%; display:grid; place-items:center;
  color:var(--ink); transition:all var(--mid);
}
.section--ink .quotes__nav button{ border-color:rgba(255,255,255,.28); color:#fff; }
.quotes__nav button svg{ width:16px; height:16px; }
.quotes__nav button:hover{ background:var(--clay); border-color:var(--clay); color:#fff; }

/* ---------------------------------------------------------
   15b. Testimonial cards — speech bubble with the face below the tail
   --------------------------------------------------------- */
/* the track: one card per view on phones, two on tablets, three on desktop,
   paged by the dots underneath */
.says{
  display:flex; gap:clamp(18px,2.4vw,30px);
  overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory; scroll-behavior:smooth;
  scrollbar-width:none; -ms-overflow-style:none;
  padding-bottom:6px;
}
.says::-webkit-scrollbar{ display:none; }
.say{
  --tail:50%;          /* tail and avatar both centre on the card */
  flex:0 0 100%; scroll-snap-align:start;
  display:flex; flex-direction:column;
}
@media (min-width:700px){ .say{ flex-basis:calc(50% - clamp(9px,1.2vw,15px)); } }
@media (min-width:1024px){ .say{ flex-basis:calc(33.333% - clamp(12px,1.6vw,20px)); } }

.say__card{
  position:relative; background:var(--white);
  border-radius:16px; padding:clamp(24px,2.6vw,32px) clamp(24px,2.6vw,34px) clamp(26px,3vw,34px);
  box-shadow:0 20px 44px -30px rgba(20,19,15,.4);
  transition:transform var(--mid),box-shadow var(--mid);
}
.say:hover .say__card{ transform:translateY(-5px); box-shadow:0 30px 56px -30px rgba(20,19,15,.45); }
/* speech-bubble tail, same offset on every card */
.say__card::after{
  content:""; position:absolute; top:100%; left:var(--tail);
  width:0; height:0; border-inline:13px solid transparent;
  border-top:16px solid var(--white); transform:translateX(-50%);
}
/* the mark sits inside the card, top-left, clear of the quote below it */
.say__mark{
  display:block;
  font-family:var(--font-body); font-weight:500;
  font-size:clamp(3.4rem,5.4vw,4.4rem); line-height:.74; color:var(--brick);
  margin-bottom:clamp(28px,3.2vw,40px);
}
.say__card p{ font-size:1rem; line-height:1.7; color:var(--ink-2); }
.say__by{ margin-top:26px; padding-top:22px; border-top:1px solid var(--line); }
.say__by b{
  display:block; font-family:var(--font-display); font-weight:600;
  font-size:1.25rem; color:var(--ink); line-height:1.2;
}
.say__by span{
  display:block; margin-top:7px;
  font-size:.68rem; font-weight:400; letter-spacing:.1em; text-transform:uppercase; color:var(--clay);
}
.say__face{
  width:clamp(74px,7vw,88px); aspect-ratio:1/1; margin:20px 0 0 var(--tail);
  transform:translateX(-50%); border-radius:50%; overflow:hidden;
  border:4px solid var(--white);
  box-shadow:0 0 0 1px var(--line-2),0 14px 26px -18px rgba(20,19,15,.55);
}
.say__face img{ width:100%; height:100%; object-fit:cover; }

.says.is-dragging{ cursor:grabbing; user-select:none; }
.says.is-dragging .say__card{ transform:none; }

/* slider controls */
.says__nav{
  display:flex; align-items:center; justify-content:center; gap:clamp(14px,2vw,22px);
  margin-top:clamp(26px,3vw,38px);
}
.says__arrow{
  width:46px; height:46px; border-radius:50%; border:1px solid var(--line);
  display:grid; place-items:center; color:var(--ink); background:var(--white);
  transition:background var(--mid),border-color var(--mid),color var(--mid);
}
.says__arrow svg{ width:17px; height:17px; }
.says__arrow:hover{ background:var(--clay); border-color:var(--clay); color:#fff; }

/* paging dots */
.says__dots{ display:flex; justify-content:center; align-items:center; gap:6px; }
.says__dots button{
  /* 9px dot inside a 21px tap target: the transparent border is the padding,
     background-clip keeps the fill on the content box only */
  appearance:none; -webkit-appearance:none;
  box-sizing:content-box; flex:0 0 auto; padding:0;
  width:9px; height:9px; border:6px solid transparent; border-radius:50%;
  background:var(--sand); background-clip:content-box;
  transition:background-color var(--fast),transform var(--fast);
}
.says__dots button:hover{ background-color:var(--muted); }
.says__dots button.is-active{ background-color:var(--ink); transform:scale(1.2); }

/* ---------------------------------------------------------
   16. Team
   --------------------------------------------------------- */
.member{ text-align:center; }
.member__img{ position:relative; aspect-ratio:3/3.6; overflow:hidden; background:var(--paper-2); }
.member__img img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease),filter var(--mid); }
.member:hover .member__img img{ transform:scale(1.05); }
.member__soc{
  position:absolute; left:0; right:0; bottom:0; padding:16px;
  display:flex; justify-content:center; gap:12px;
  background:linear-gradient(180deg,transparent,rgba(20,19,15,.8));
  transform:translateY(100%); transition:transform var(--mid);
}
.member:hover .member__soc{ transform:translateY(0); }
.member__soc a{ width:34px; height:34px; border:1px solid rgba(255,255,255,.45); border-radius:50%; color:#fff; display:grid; place-items:center; }
.member__soc svg{ width:15px; height:15px; }
.member h4{ margin-top:18px; }
.member span{ font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; color:var(--clay); }

/* ---------------------------------------------------------
   17. Blog
   --------------------------------------------------------- */
.post{ background:var(--white); border:1px solid var(--line); display:flex; flex-direction:column; height:100%; }
.post__img{ aspect-ratio:16/10; overflow:hidden; }
.post__img img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease); }
.post:hover .post__img img{ transform:scale(1.06); }
.post__body{ padding:24px; display:flex; flex-direction:column; flex:1; }
.post__meta{
  display:flex; flex-wrap:wrap; gap:16px; font-size:.68rem; letter-spacing:.16em;
  text-transform:uppercase; color:var(--muted); margin-bottom:14px;
}
.post h3{ font-size:1.3rem; margin-bottom:12px; transition:color var(--fast); }
.post:hover h3{ color:var(--clay); }
.post p{ font-size:.94rem; color:var(--muted); margin-bottom:20px; }
.post .tlink{ margin-top:auto; align-self:flex-start; }

.article h2,.article h3{ margin:34px 0 14px; }
.article p{ margin-bottom:1.15em; }
.article figure{ margin:32px 0; }
.article figcaption{ font-size:.82rem; color:var(--muted); margin-top:10px; }
.article blockquote{
  margin:34px 0; padding:26px 28px; background:var(--paper-2); border-left:2px solid var(--clay);
  font-family:var(--font-display); font-size:1.3rem; line-height:1.45; color:var(--ink);
}
.article ul{ list-style:disc; padding-left:20px; margin-bottom:1.15em; }
.article ul li{ margin-bottom:8px; }

.side{ display:grid; gap:30px; align-content:start; }
.widget{ background:var(--white); border:1px solid var(--line); padding:24px; }
.widget h4{ margin-bottom:18px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.widget__search{ display:flex; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.widget__search input{ flex:1; min-width:0; border:0; padding:12px 20px; background:transparent; outline:none; }
.widget__search button{ width:48px; background:var(--ink); color:var(--paper); display:grid; place-items:center; }
.widget__search button svg{ width:16px; height:16px; }
.wlist li a{
  display:flex; justify-content:space-between; gap:10px; padding:10px 0;
  border-bottom:1px dashed var(--line); font-size:.92rem; transition:color var(--fast);
}
.wlist li:last-child a{ border-bottom:0; }
.wlist li a:hover{ color:var(--clay); }
.wpost{ display:flex; gap:14px; padding:12px 0; border-bottom:1px solid var(--line-2); }
.wpost:last-child{ border-bottom:0; }
.wpost img{ width:76px; height:66px; object-fit:cover; flex:none; }
.wpost span{ font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.wpost b{ display:block; font-family:var(--font-display); font-weight:400; font-size:1.02rem; color:var(--ink); line-height:1.3; }
.tags{ display:flex; flex-wrap:wrap; gap:8px; }
.tags a{
  padding:7px 14px; border:1px solid var(--line); font-size:.68rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--muted); transition:all var(--fast);
}
.tags a:hover{ background:var(--clay); border-color:var(--clay); color:#fff; }

@media (min-width:1024px){
  .blog-wrap{ display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:clamp(34px,4vw,60px); align-items:start; }
}

/* ---------------------------------------------------------
   18. Accordion / FAQ
   --------------------------------------------------------- */
.acc{ border-top:1px solid var(--line); }
.acc__item{ border-bottom:1px solid var(--line); }
.acc__q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:18px;
  padding:20px 0; text-align:left; font-family:var(--font-display); font-size:1.15rem; color:var(--ink);
}
.acc__q i{ flex:none; width:20px; height:20px; position:relative; }
.acc__q i::before,.acc__q i::after{
  content:""; position:absolute; background:var(--clay); transition:transform var(--mid);
}
.acc__q i::before{ left:0; top:9px; width:20px; height:1.5px; }
.acc__q i::after{ top:0; left:9px; width:1.5px; height:20px; }
.acc__item.is-open .acc__q i::after{ transform:scaleY(0); }
.acc__a{ overflow:hidden; max-height:0; transition:max-height var(--slow); }
.acc__item.is-open .acc__a{ max-height:460px; }
.acc__a p{ padding:0 0 22px; color:var(--muted); font-size:.96rem; max-width:70ch; }

/* ---------------------------------------------------------
   19. Forms
   --------------------------------------------------------- */
.form{ display:grid; gap:16px; }
@media (min-width:640px){ .form--2{ grid-template-columns:repeat(2,1fr); } .form--2 .full{ grid-column:1/-1; } }
.field label{
  display:block; font-size:.68rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--muted); margin-bottom:8px;
}
.field input,.field textarea,.field select{
  width:100%; padding:14px 16px; background:var(--white);
  border:1px solid var(--line); outline:none; transition:border-color var(--fast);
}
.field textarea{ min-height:150px; resize:vertical; }
.field input:focus,.field textarea:focus,.field select:focus{ border-color:var(--clay); }
.note{
  padding:13px 16px; background:#eef4ec; border:1px solid #cfe0ca; color:#38553a; font-size:.9rem;
}

.newsletter{ display:flex; flex-wrap:wrap; gap:10px; }
.newsletter input{
  flex:1; min-width:200px; padding:14px 22px; background:transparent;
  border:1px solid rgba(255,255,255,.28); border-radius:999px; color:#fff; outline:none;
}
.newsletter input::placeholder{ color:rgba(255,255,255,.45); }

/* ---------------------------------------------------------
   20. Info cards / contact
   --------------------------------------------------------- */
.info{ background:var(--white); border:1px solid var(--line); padding:30px 26px; text-align:center; }
.info__ico{
  width:52px; height:52px; margin:0 auto 18px; border-radius:50%;
  background:var(--paper-2); color:var(--clay); display:grid; place-items:center;
}
.info__ico svg{ width:22px; height:22px; }
.info h4{ margin-bottom:8px; }
.info p,.info a{ font-size:.95rem; color:var(--muted); }
.info a:hover{ color:var(--clay); }
.map{ width:100%; height:clamp(280px,42vw,440px); border:0; filter:grayscale(1) contrast(1.05); }

/* ---------------------------------------------------------
   21. CTA band
   --------------------------------------------------------- */
.cta{ position:relative; overflow:hidden; background:var(--ink); }
.cta img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.3; }
.cta__inner{ position:relative; z-index:2; text-align:center; padding-block:clamp(60px,9vw,110px); }
.cta h2{ color:#fff; max-width:20ch; margin-inline:auto; }
.cta p{ color:rgba(255,255,255,.75); max-width:56ch; margin:18px auto 30px; }

/* ---------------------------------------------------------
   22. Footer
   --------------------------------------------------------- */
.footer{ background:#100f0c; color:rgba(255,255,255,.62); padding-top:clamp(56px,8vw,90px); }
.footer h4{ color:#fff; font-size:1.05rem; letter-spacing:.14em; text-transform:uppercase; font-family:var(--font-body); font-weight:400; margin-bottom:22px; }
.footer__grid{ display:grid; gap:38px; }
@media (min-width:640px){ .footer__grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .footer__grid{ grid-template-columns:1.5fr 1fr 1fr 1.4fr; gap:clamp(28px,4vw,60px); } }
.footer .logo{ color:#fff; }
.footer__about p{ margin:20px 0; font-size:.95rem; max-width:38ch; }
.footer__links li a{ display:inline-block; padding:6px 0; font-size:.94rem; transition:color var(--fast),transform var(--fast); }
.footer__links li a:hover{ color:#fff; transform:translateX(5px); }
.footer__contact li{ display:flex; gap:12px; padding:8px 0; font-size:.94rem; }
.footer__contact svg{ width:18px; height:18px; flex:none; margin-top:5px; color:var(--clay); }
.social{ display:flex; gap:10px; margin-top:22px; }
.social a{
  width:40px; height:40px; border:1px solid rgba(255,255,255,.22); border-radius:50%; display:grid; place-items:center;
  color:#fff; transition:all var(--mid);
}
.social svg{ width:16px; height:16px; }
.social a:hover{ background:var(--clay); border-color:var(--clay); }
.footer__bottom{
  margin-top:clamp(40px,6vw,70px); padding-block:24px; border-top:1px solid rgba(255,255,255,.12);
  display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between;
  font-size:.82rem;
}
.footer__bottom a:hover{ color:#fff; }

.totop{
  position:fixed; right:16px; bottom:16px; z-index:800;
  width:46px; height:46px; border-radius:50%; background:var(--ink); color:var(--paper);
  display:grid; place-items:center; opacity:0; visibility:hidden; transform:translateY(12px);
  transition:all var(--mid);
}
.totop svg{ width:17px; height:17px; }
.totop.is-visible{ opacity:1; visibility:visible; transform:none; }
.totop:hover{ background:var(--clay); }
@media (min-width:768px){ .totop{ right:26px; bottom:26px; } }

/* ---------------------------------------------------------
   23. Reveal animation
   --------------------------------------------------------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease),transform .8s var(--ease); }
.reveal.is-in{ opacity:1; transform:none; }

/* ---------------------------------------------------------
   24. Responsive refinements
   Base layout is fluid; these tune the extremes so nothing
   crowds on small phones or drifts on very wide screens.
   --------------------------------------------------------- */

/* nothing may push the page sideways */
body,h1,h2,h3,h4,h5,p,li,a{ overflow-wrap:break-word; }

/* thin slider dots need a real tap target — transparent border supplies it */
.hero__dots button{
  box-sizing:content-box; border-block:9px solid transparent;
  background-clip:content-box;
}

/* ---- phones up to 479px ---- */
@media (max-width:479px){
  .btn{ padding:13px 22px; font-size:.7rem; letter-spacing:.16em; }
  .btn--pill{ padding:8px 8px 8px 22px; gap:12px; }
  .btn--pill i{ width:36px; height:36px; }

  .hero__scroll{ display:none; }            /* frees the row for dots + arrows */
  .hero__dots button{ width:24px; }
  .hero__arrows button{ width:42px; height:42px; }
  .hero__play i{ width:46px; height:46px; }
  .hero__play{ gap:12px; font-size:.85rem; }

  .abt__points{ gap:12px; }
  .abt__circle{ width:54%; border-width:6px; }
  .abt__years{ padding:12px 15px; }
  .abt__years b{ font-size:1.6rem; }

  .srow{ padding:18px 0; }
  .srow h3{ font-size:clamp(1.35rem,7.2vw,2rem); line-height:1.1; }
  .srow__no{ padding-top:.5em; }

  .work__nav button{ width:42px; height:42px; }
  .says__arrow{ width:42px; height:42px; }
  .say__card p{ font-size:.95rem; }

  .marquee__track span{ gap:16px; padding-inline:16px; }
  .stat{ padding:26px 18px; }
  .filter,.pager a{ padding:8px 15px; font-size:.64rem; letter-spacing:.13em; }
  .footer__bottom{ font-size:.78rem; }
  .totop{ width:42px; height:42px; }
}

/* ---- very narrow phones (320–359px) ---- */
@media (max-width:359px){
  .logo{ font-size:1.2rem; letter-spacing:.18em; }
  .logo svg{ width:22px; height:22px; }
  .hero__cta{ gap:14px; }
  .hero__cta .btn{ width:100%; }
  .say__card{ padding:22px 20px 24px; }
}

/* ---- landscape phones: don't let the hero image eat the screen ---- */
@media (max-width:899px) and (orientation:landscape){
  .hero__stage{ height:clamp(180px,58svh,300px); }
  .hero__panel{ padding-top:calc(var(--head-h) + 22px); }
}

/* ---- tablets 560–899px: give the split blocks a little more air ---- */
@media (min-width:560px) and (max-width:899px){
  .abt__media{ max-width:520px; margin-inline:auto; width:100%; }
  .says__nav{ gap:20px; }
}

/* ---- large desktops ---- */
@media (min-width:1600px){
  .work__slide{ width:480px; }
  .work__slide--wide{ width:880px; }
  .hero__stage{ min-height:620px; }
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
  .reveal{ opacity:1; transform:none; }
  html{ scroll-behavior:auto; }
}
