/* ============================================================
   VIVANDOR — Interior Design Studio
   Refined luxury-minimal. Linen canvas, ink, brass accents.
   ============================================================ */

:root{
  --linen:      #f2efe8;   /* warm off-white canvas */
  --linen-2:    #ebe7de;   /* slightly deeper panel  */
  --paper:      #faf8f3;
  --ink:        #171512;   /* near-black */
  --ink-soft:   #4a453d;
  --muted:      #8a827534; /* hairlines use rgba below */
  --taupe:      #7c6f5d;   /* muted text */
  --brass:      #9a7f56;   /* accent */
  --brass-deep: #7d6540;
  --line:       rgba(23,21,18,0.14);
  --line-soft:  rgba(23,21,18,0.08);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --nav-h: 104px;
  --bar-h: 74px;          /* height of the solid top bar = footer bar */

  --pad-x: clamp(20px, 6vw, 120px);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }
body{
  font-family:var(--sans);
  font-weight:300;
  color:var(--ink);
  background:var(--linen);
  line-height:1.6;
  overflow-x:hidden;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul,ol{ list-style:none; }

/* subtle linen grain over the whole page */
body::before{
  content:"";
  position:fixed; inset:0;
  background-image:url("assets/img/linen-texture.jpg");
  background-size:520px;
  opacity:.4;
  mix-blend-mode:multiply;
  pointer-events:none;
  z-index:1;
}

/* ---------- Shared type ---------- */
.eyebrow{
  display:inline-block;
  font-size:11px;
  letter-spacing:.34em;
  text-transform:uppercase;
  color:var(--brass-deep);
  font-weight:400;
}
h1,h2,h3{ font-family:var(--serif); font-weight:300; letter-spacing:.01em; line-height:1.12; }

.section-label{ text-align:left; margin-bottom:clamp(38px,5vw,70px); }
.section-label.center{ text-align:center; }
.section-label .eyebrow{ margin-bottom:18px; }
.section-label h2{ font-size:clamp(38px,6vw,74px); }

.link-underline{
  position:relative;
  font-size:12px; letter-spacing:.22em; text-transform:uppercase; font-weight:400;
  padding-bottom:6px;
}
.link-underline::after{
  content:""; position:absolute; left:0; bottom:0; height:1px; width:100%;
  background:var(--ink); transform:scaleX(1); transform-origin:right;
  transition:transform .5s var(--ease);
}
.link-underline:hover::after{ transform:scaleX(0); transform-origin:left; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:50;
  height:var(--nav-h);
  display:flex; align-items:center;
  padding:0 var(--pad-x);
  transition:background .6s var(--ease), box-shadow .6s var(--ease), height .5s var(--ease);
}
.nav{
  width:100%;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
}
.nav-group{ display:flex; gap:clamp(20px,3vw,52px); }
.nav-left{ justify-content:flex-start; }
.nav-right{ justify-content:flex-end; }
.nav-group a{
  font-size:12px; letter-spacing:.2em; text-transform:uppercase; font-weight:400;
  position:relative; padding:4px 0;
  color:#f4f1ea; /* light over hero */
  transition:color .5s var(--ease), opacity .4s var(--ease);
  opacity:.9;
}
.nav-group a::after{
  content:""; position:absolute; left:0; bottom:-2px; height:1px; width:100%;
  background:currentColor; transform:scaleX(0); transform-origin:left;
  transition:transform .45s var(--ease);
}
.nav-group a:hover{ opacity:1; }
.nav-group a:hover::after{ transform:scaleX(1); }

.brand{ justify-self:center; display:block; line-height:0; }
.brand img{ height:66px; width:auto; transition:height .5s var(--ease); }
.brand-dark{ display:none; }

/* nav social icons */
.nav-icons{ display:flex; align-items:center; gap:18px; }
.nav-icons a{
  color:#f4f1ea; opacity:.9; display:inline-flex; line-height:0;
  transition:color .5s var(--ease), opacity .4s var(--ease), transform .4s var(--ease);
}
.nav-icons a:hover{ opacity:1; transform:translateY(-2px); color:#fff; }
.site-header.scrolled .nav-icons a{ color:var(--ink); }
.site-header.scrolled .nav-icons a:hover{ color:var(--brass-deep); }
.solid-header .nav-icons a{ color:var(--ink); }
.solid-header .nav-icons a:hover{ color:var(--brass-deep); }

/* scrolled state */
.site-header.scrolled{
  background:rgba(242,239,232,0.92);
  backdrop-filter:blur(10px);
  box-shadow:0 1px 0 var(--line-soft);
  height:var(--bar-h);
}
.site-header.scrolled .nav-group a{ color:var(--ink); opacity:.85; }
.site-header.scrolled .brand-light{ display:none; }
.site-header.scrolled .brand-dark{ display:block; }
.site-header.scrolled .brand img{ height:46px; }

/* ---------- mobile toggle ---------- */
.menu-toggle{
  display:none;
  position:absolute; right:var(--pad-x); top:50%; transform:translateY(-50%);
  width:34px; height:22px; background:none; border:0; cursor:pointer;
}
.menu-toggle span{
  position:absolute; left:0; height:1.5px; width:100%; background:#f4f1ea;
  transition:transform .4s var(--ease), opacity .3s, background .4s;
}
.menu-toggle span:nth-child(1){ top:4px; }
.menu-toggle span:nth-child(2){ bottom:4px; }
.scrolled .menu-toggle span{ background:var(--ink); }
body.menu-open .menu-toggle span{ background:var(--ink); }
body.menu-open .menu-toggle span:nth-child(1){ top:10px; transform:rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2){ bottom:10px; transform:rotate(-45deg); }

.mobile-menu{
  position:fixed; inset:0; z-index:45;
  background:var(--linen);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition:opacity .5s var(--ease), visibility .5s;
}
body.menu-open .mobile-menu{ opacity:1; visibility:visible; }
.mobile-menu ul{ text-align:center; }
.mobile-menu li{ margin:14px 0; overflow:hidden; }
.mobile-menu a{
  font-family:var(--serif); font-size:34px; color:var(--ink);
  display:inline-block; transform:translateY(110%); transition:transform .6s var(--ease);
}
body.menu-open .mobile-menu a{ transform:translateY(0); }
.mobile-icons{ display:flex; justify-content:center; gap:28px; margin-top:40px; }
.mobile-icons a{ color:var(--ink); opacity:0; transform:translateY(20px); transition:opacity .5s var(--ease) .42s, transform .5s var(--ease) .42s, color .3s; }
.mobile-icons a:hover{ color:var(--brass-deep); }
body.menu-open .mobile-icons a{ opacity:.85; transform:translateY(0); }
.mobile-menu li:nth-child(1) a{ transition-delay:.08s; }
.mobile-menu li:nth-child(2) a{ transition-delay:.14s; }
.mobile-menu li:nth-child(3) a{ transition-delay:.20s; }
.mobile-menu li:nth-child(4) a{ transition-delay:.26s; }
.mobile-menu li:nth-child(5) a{ transition-delay:.32s; }
.mobile-menu li:nth-child(6) a{ transition-delay:.38s; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative; height:100svh; min-height:600px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
/* hero crossfade slideshow with mixed Ken-Burns motion (zoom in/out, pan) */
.hero-slides{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero-slide{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:0; transform:scale(1.06);
  transition:opacity 1.8s var(--ease);
  will-change:opacity, transform;
}
.hero-slide.is-active{ opacity:1; }
/* motion plays only while a slide is active; each slide gets a different move */
.hero-slide.is-active{ animation-duration:9s; animation-timing-function:ease-out; animation-fill-mode:forwards; }
.hero-slide.fx-zoomin.is-active{  animation-name:kbZoomIn; }
.hero-slide.fx-zoomout.is-active{ animation-name:kbZoomOut; }
.hero-slide.fx-panleft.is-active{ animation-name:kbPanLeft; }
.hero-slide.fx-panright.is-active{animation-name:kbPanRight; }
.hero-slide.fx-panup.is-active{   animation-name:kbPanUp; }
@keyframes kbZoomIn  { from{ transform:scale(1.02); } to{ transform:scale(1.15); } }
@keyframes kbZoomOut { from{ transform:scale(1.15); } to{ transform:scale(1.03); } }
@keyframes kbPanLeft { from{ transform:scale(1.12) translateX(3%); }  to{ transform:scale(1.12) translateX(-3%); } }
@keyframes kbPanRight{ from{ transform:scale(1.12) translateX(-3%); } to{ transform:scale(1.12) translateX(3%); } }
@keyframes kbPanUp   { from{ transform:scale(1.13) translateY(3%); }  to{ transform:scale(1.13) translateY(-3%); } }
/* legacy single-image support (unused) */
.hero-media{ position:absolute; inset:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-overlay{
  position:absolute; inset:0; z-index:2;
  background:
    linear-gradient(180deg, rgba(20,17,13,.42) 0%, rgba(20,17,13,.12) 30%, rgba(20,17,13,.22) 70%, rgba(20,17,13,.5) 100%);
}
.hero-inner{
  position:relative; z-index:3; text-align:center; padding:0 24px;
}
.hero-logo{
  height:clamp(46px,9vw,104px); width:auto; margin:0 auto;
  opacity:0; transform:translateY(24px);
  animation:riseIn 1.3s var(--ease) .5s forwards;
  filter:drop-shadow(0 2px 30px rgba(0,0,0,.25));
}
.hero-sub{
  margin-top:38px;
  font-size:clamp(11px,1.4vw,14px); letter-spacing:.52em; text-transform:uppercase;
  color:#efe9dd; font-weight:300; padding-left:.52em;
  opacity:0; transform:translateY(20px);
  animation:riseIn 1.3s var(--ease) .75s forwards;
}
@keyframes riseIn{ to{ opacity:1; transform:translateY(0); } }

.hero-scroll{
  position:absolute; left:50%; bottom:34px; z-index:3; transform:translateX(-50%);
  width:40px; height:40px; display:flex; align-items:flex-start; justify-content:center;
  opacity:0; animation:riseIn 1.2s var(--ease) 1.2s forwards;
}
.hero-scroll .chev{
  width:14px; height:14px; border-right:1px solid #f0ebe0; border-bottom:1px solid #f0ebe0;
  transform:rotate(45deg);
  animation:bob 2.4s var(--ease) infinite;
}
@keyframes bob{ 0%,100%{ transform:translateY(0) rotate(45deg); } 50%{ transform:translateY(8px) rotate(45deg); } }

/* ============================================================
   INTRO
   ============================================================ */
.intro{
  position:relative; z-index:2;
  padding:clamp(90px,14vw,180px) var(--pad-x);
  max-width:1100px;
  text-align:center; margin:0 auto;
}
.intro .eyebrow{ margin-bottom:30px; }
.intro-head{
  font-size:clamp(30px,4.6vw,60px);
  line-height:1.22; font-weight:300; letter-spacing:.005em;
  margin-bottom:44px; color:var(--ink);
}
.intro-head + .link-underline{ }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects{ position:relative; z-index:2; padding:clamp(40px,6vw,80px) var(--pad-x) clamp(80px,10vw,140px); }
.project-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:clamp(14px,2vw,30px);
  grid-auto-flow:dense;
}
.project{ position:relative; display:block; overflow:hidden; }
.project-img{ overflow:hidden; aspect-ratio:4/5; background:var(--linen-2); }
.project--tall{ grid-row:span 2; }
.project--tall .project-img{ aspect-ratio:auto; height:100%; }
.project--wide{ grid-column:span 2; }
.project--wide .project-img{ aspect-ratio:16/10; }
.project-img img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 1.1s var(--ease), filter 1.1s var(--ease);
  filter:saturate(.96);
}
.project:hover .project-img img{ transform:scale(1.05); filter:saturate(1.05); }
.project-cap{
  display:flex; flex-direction:column; gap:7px;
  padding:16px 4px 0;
}
.p-name{ font-family:var(--serif); font-size:23px; line-height:1.1; }
.p-meta{ font-size:10.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--taupe); }

/* homepage projects preview: single row + MORE bar */
.project-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(14px,2vw,30px); }
.more-bar{
  display:flex; align-items:center; justify-content:center;
  margin-top:clamp(26px,3.4vw,48px); padding:clamp(20px,2.4vw,30px);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  transition:background .5s var(--ease);
}
.more-bar span{
  font-family:var(--sans); font-size:12px; letter-spacing:.4em; text-transform:uppercase;
  color:var(--ink); padding-left:.4em; transition:color .4s var(--ease);
}
.more-bar:hover{ background:var(--paper); }
.more-bar:hover span{ color:var(--brass-deep); }

/* ============================================================
   SERVICES SHOWCASE (image cards)
   ============================================================ */
.svc-showcase{ position:relative; z-index:2; padding:clamp(70px,9vw,120px) var(--pad-x) clamp(80px,10vw,140px); background:var(--paper); }
.svc-cards{ display:grid; grid-template-columns:repeat(5,1fr); gap:6px; }
.svc-card{
  position:relative; display:block; overflow:hidden;
  aspect-ratio:3/4.4; min-height:340px; background:#f4f1ea;
  border:1px solid var(--line-soft);
  transition:background .5s var(--ease), border-color .5s var(--ease);
}
.svc-card:hover{ background:#ece7dd; border-color:var(--line); }
.svc-card .c{ position:relative; z-index:2; padding:clamp(24px,2vw,34px) clamp(20px,1.6vw,28px); }
/* white circle — thin dark outline keeps it visible on the cream card */
.svc-card .sq{ display:block; width:12px; height:12px; border-radius:50%; background:#ffffff; border:1px solid var(--ink); margin-bottom:18px; }
.svc-card h3{
  font-family:var(--sans); font-weight:500; font-size:clamp(16px,1.25vw,19px);
  line-height:1.24; color:var(--ink); margin-bottom:12px; letter-spacing:.01em;
}
.svc-card p{
  font-family:var(--sans); font-weight:300; font-size:12.5px; line-height:1.55;
  color:var(--ink-soft);
}
@media (max-width:1100px){ .svc-cards{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:720px){ .svc-cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .svc-cards{ grid-template-columns:1fr; } .svc-card{ aspect-ratio:16/10; min-height:220px; } }
@media (max-width:760px){ .project-row{ grid-template-columns:1fr; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about{ position:relative; z-index:2; background:var(--paper); padding:clamp(80px,11vw,150px) var(--pad-x); }
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px,7vw,110px); align-items:center; }
.about-text .eyebrow{ margin-bottom:26px; }
.about-text h2{ font-size:clamp(26px,3.2vw,44px); margin-bottom:34px; }
.about-text{ width:fit-content; max-width:100%; }
/* paragraphs take the heading's width (width:0 + min-width:100% keeps them from widening the block) */
.about-text p{
  color:var(--ink-soft); font-size:15.5px; margin-bottom:20px;
  width:0; min-width:100%;
  text-align:justify; text-justify:inter-word; hyphens:auto; -webkit-hyphens:auto;
}
.about-figure{ overflow:hidden; }
.about-figure img{ width:100%; aspect-ratio:4/5; object-fit:cover; }

/* ============================================================
   TEAM
   ============================================================ */
.team{ position:relative; z-index:2; background:var(--linen); padding:clamp(70px,10vw,130px) var(--pad-x) clamp(80px,11vw,150px); }
.team-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(24px,3vw,44px); max-width:620px; margin:0 auto; }
.member{ text-align:center; }
.member-avatar{
  width:clamp(88px,10vw,124px); height:clamp(88px,10vw,124px); border-radius:0;
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
  margin:0 auto 22px; background:var(--paper);
  transition:background .5s var(--ease), border-color .5s var(--ease);
}
.member-avatar span{ font-family:var(--serif); font-size:clamp(22px,2.4vw,30px); letter-spacing:.06em; color:var(--brass-deep); transition:color .5s var(--ease); }
.member:hover .member-avatar{ background:var(--ink); border-color:var(--ink); }
.member:hover .member-avatar span{ color:var(--linen); }
.member h3{ font-family:var(--serif); font-weight:400; font-size:clamp(18px,1.6vw,22px); margin-bottom:7px; }
.member p{ font-family:var(--sans); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--taupe); }
@media (max-width:820px){ .team-grid{ grid-template-columns:repeat(2,1fr); gap:44px 24px; } }
@media (max-width:440px){ .team-grid{ grid-template-columns:1fr; } }

/* ============================================================
   SERVICES
   ============================================================ */
.services{ position:relative; z-index:2; padding:clamp(80px,11vw,150px) var(--pad-x); }
.services-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px,7vw,110px); align-items:center; }
.services-figure{ overflow:hidden; }
.services-figure img{ width:100%; aspect-ratio:3/4; object-fit:cover; }
.services-text .eyebrow{ margin-bottom:18px; }
.services-text h2{ font-size:clamp(38px,5vw,64px); margin-bottom:36px; }
.service-list{ border-top:1px solid var(--line); }
.service-list li{
  padding:16px 2px; border-bottom:1px solid var(--line-soft);
  font-size:17px; letter-spacing:.02em; color:var(--ink);
  display:flex; align-items:center; gap:16px;
  transition:padding-left .45s var(--ease), color .45s var(--ease);
}
.service-list li::before{
  content:""; width:6px; height:6px; border:1px solid var(--brass);
  transform:rotate(45deg); flex:none;
  transition:background .45s var(--ease);
}
.service-list li:hover{ padding-left:14px; color:var(--brass-deep); }
.service-list li:hover::before{ background:var(--brass); }

/* ============================================================
   PROCESS
   ============================================================ */
.process{ position:relative; z-index:2; background:var(--linen-2); padding:clamp(80px,11vw,150px) var(--pad-x); }
.process-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(30px,4vw,60px); }
.process-steps li{ position:relative; padding-top:26px; border-top:1px solid var(--line); }
.step-no{ font-family:var(--serif); font-size:15px; color:var(--brass-deep); letter-spacing:.1em; }
.step-name{ display:block; font-family:var(--serif); font-size:30px; margin:8px 0 14px; }
.process-steps p{ color:var(--ink-soft); font-size:14.5px; max-width:32ch; }

/* ============================================================
   WHY
   ============================================================ */
.why{ position:relative; z-index:2; padding:clamp(90px,13vw,170px) var(--pad-x) 0; text-align:center; }
.why-inner{ max-width:960px; margin:0 auto clamp(60px,8vw,100px); }
.why .eyebrow{ margin-bottom:34px; }
.why blockquote{
  font-family:var(--serif); font-weight:300; font-style:italic;
  font-size:clamp(26px,3.6vw,46px); line-height:1.3; letter-spacing:.01em;
}
.why-note{ margin-top:34px; color:var(--ink-soft); font-size:15.5px; max-width:60ch; margin-left:auto; margin-right:auto; }
.why-strip{ overflow:hidden; }
.why-strip img{ width:100%; height:clamp(180px,26vw,340px); object-fit:cover; }

/* ============================================================
   MEDIA
   ============================================================ */
.media{ position:relative; z-index:2; padding:clamp(80px,11vw,150px) var(--pad-x); }
.media .section-label h2{ font-size:clamp(28px,4.4vw,52px); line-height:1.18; max-width:20ch; margin:0 auto; }

/* tabs */
.insight-tabs{ display:flex; justify-content:center; gap:clamp(26px,4vw,54px); margin:clamp(30px,4vw,52px) 0 clamp(40px,5vw,64px); flex-wrap:wrap; }
.insight-tab{
  background:none; border:0; cursor:pointer; padding:6px 0; position:relative;
  font-family:var(--sans); font-size:12px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--taupe); transition:color .4s var(--ease);
}
.insight-tab::after{
  content:""; position:absolute; left:0; bottom:-2px; height:1px; width:100%;
  background:var(--brass); transform:scaleX(0); transform-origin:left; transition:transform .45s var(--ease);
}
.insight-tab:hover{ color:var(--ink); }
.insight-tab.is-active{ color:var(--brass-deep); }
.insight-tab.is-active::after{ transform:scaleX(1); }

/* article grid */
.insight-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(30px,4vw,60px) clamp(26px,3.5vw,48px); max-width:1080px; margin:0 auto; }
.insight{ display:block; }
.insight[hidden]{ display:none; }
.insight-img{ overflow:hidden; aspect-ratio:16/11; background:var(--linen-2); }
.insight-img img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease), filter 1.1s var(--ease); filter:saturate(.97); }
.insight:hover .insight-img img{ transform:scale(1.045); filter:saturate(1.04); }
.insight-tag{
  display:inline-block; margin:18px 0 10px; font-family:var(--sans); font-size:9.5px;
  letter-spacing:.24em; text-transform:uppercase; color:var(--brass-deep);
}
.insight h3{
  font-family:var(--serif); font-weight:400; font-size:clamp(20px,2vw,27px);
  line-height:1.2; color:var(--ink); max-width:22ch; transition:color .4s var(--ease);
}
.insight:hover h3{ color:var(--brass-deep); }

@media (max-width:680px){
  .insight-grid{ grid-template-columns:1fr; gap:38px; }
}

/* ============================================================
   ENQUIRY
   ============================================================ */
.enquiry, .apply{ position:relative; z-index:2; background:var(--ink); color:var(--paper); padding:clamp(80px,11vw,150px) var(--pad-x); }
/* last section on the homepage: with the top bar and footer bar it fills the whole screen,
   so the section above never peeks through at the bottom of the page */
.enquiry{
  min-height:calc(100vh - 2 * var(--bar-h));
  min-height:calc(100svh - 2 * var(--bar-h));
  display:flex; flex-direction:column; justify-content:center;
}
.enquiry .eyebrow, .apply .eyebrow{ color:var(--brass); }
.enquiry-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px,7vw,110px); }
.enquiry-intro h2{ font-size:clamp(38px,5vw,64px); margin:16px 0 26px; color:var(--paper); }
.enquiry-intro p{ color:#c8c1b4; font-size:15.5px; max-width:42ch; margin-bottom:40px; }
.contact-lines li{ padding:16px 0; border-top:1px solid rgba(255,255,255,.14); display:flex; gap:20px; font-size:14.5px; }
.contact-lines li:last-child{ border-bottom:1px solid rgba(255,255,255,.14); }
.contact-lines span{ min-width:66px; color:var(--brass); letter-spacing:.14em; text-transform:uppercase; font-size:11px; padding-top:3px; }
.contact-lines a:hover{ color:var(--brass); }

.enquiry-form{ display:flex; flex-direction:column; gap:8px; }
.field{ position:relative; margin-bottom:22px; }
.field input, .field textarea{
  width:100%; background:transparent; border:0; border-bottom:1px solid rgba(255,255,255,.26);
  color:var(--paper); font-family:var(--sans); font-size:15px; font-weight:300;
  padding:14px 0 10px; resize:none; transition:border-color .4s var(--ease);
}
.field textarea{ min-height:80px; }
.field label{
  position:absolute; left:0; top:14px; color:#9c968a; font-size:15px; pointer-events:none;
  transition:transform .35s var(--ease), font-size .35s var(--ease), color .35s var(--ease); transform-origin:left;
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--brass); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label{
  transform:translateY(-22px) scale(.72); color:var(--brass);
}
.btn{
  align-self:flex-start; margin-top:8px;
  background:var(--brass); color:#1b160f; border:1px solid var(--brass);
  font-family:var(--sans); font-size:12px; letter-spacing:.22em; text-transform:uppercase; font-weight:400;
  padding:15px 40px; cursor:pointer;
  transition:background .45s var(--ease), color .45s var(--ease);
}
.btn:hover{ background:transparent; color:var(--brass); }
.btn--ghost{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:var(--linen); }
.form-note{ font-size:13px; color:var(--brass); margin-top:14px; }

/* ============================================================
   CAREERS
   ============================================================ */
.careers{ position:relative; z-index:2; padding:clamp(90px,13vw,170px) var(--pad-x); text-align:center; }
.careers-inner{ max-width:640px; margin:0 auto; }
.careers .eyebrow{ margin-bottom:24px; }
.careers h2{ font-size:clamp(36px,5vw,60px); margin-bottom:26px; }
.careers p{ color:var(--ink-soft); font-size:15.5px; margin-bottom:40px; }

/* ============================================================
   FOOTER
   ============================================================ */
/* footer bar = same height as the solid header bar (--bar-h) */
.site-footer{ position:relative; z-index:2; background:var(--linen); min-height:var(--bar-h); padding:0 var(--pad-x); display:flex; align-items:center; }
.site-footer .footer-bottom{ width:100%; align-items:center; }
.footer-top{ display:grid; grid-template-columns:1fr auto; gap:60px; padding-bottom:clamp(40px,6vw,70px); }
.footer-links{ display:flex; gap:clamp(40px,7vw,90px); flex-wrap:wrap; }
.footer-links a{ font-size:13.5px; color:var(--ink-soft); line-height:2.5; letter-spacing:.02em; transition:color .35s; }
.footer-links a:hover{ color:var(--brass-deep); }
.footer-signup h3{ font-family:var(--sans); font-weight:400; font-size:12px; letter-spacing:.24em; text-transform:uppercase; margin-bottom:20px; }
.signup{ display:flex; align-items:center; border-bottom:1px solid var(--line); min-width:260px; }
.signup input{ flex:1; background:none; border:0; padding:10px 0; font-family:var(--sans); font-size:14px; color:var(--ink); }
.signup input:focus{ outline:none; }
.signup button{
  background:none; border:0; cursor:pointer; padding:10px 0 10px 20px;
  font-family:var(--sans); font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--ink);
  transition:color .35s;
}
.signup button:hover{ color:var(--brass-deep); }
.signup-note{ font-size:12.5px; color:var(--brass-deep); margin-top:12px; }

.footer-brand{ border-top:1px solid var(--line); padding:clamp(40px,6vw,70px) 0; text-align:center; }
.footer-brand img{ width:100%; max-width:min(88vw,1100px); margin:0 auto; opacity:.9; }

.footer-bottom{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.footer-bottom p{ font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--taupe); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal{ opacity:0; transform:translateY(34px); transition:opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
[data-stagger] > *{ opacity:0; transform:translateY(30px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
[data-stagger].in > *{ opacity:1; transform:none; }
[data-stagger].in > *:nth-child(1){ transition-delay:.05s; }
[data-stagger].in > *:nth-child(2){ transition-delay:.13s; }
[data-stagger].in > *:nth-child(3){ transition-delay:.21s; }
[data-stagger].in > *:nth-child(4){ transition-delay:.29s; }
[data-stagger].in > *:nth-child(5){ transition-delay:.37s; }
[data-stagger].in > *:nth-child(6){ transition-delay:.45s; }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  .reveal,[data-stagger]>*{ opacity:1; transform:none; }
  .hero-media img{ transform:none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1024px){
  .about-grid, .services-grid, .enquiry-grid{ grid-template-columns:1fr; gap:48px; }
  .services-figure{ order:2; }
  .about-figure{ order:-1; }
  .process-steps{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:760px){
  :root{ --nav-h:64px; --bar-h:64px; }
  .nav-group{ display:none; }
  .brand{ justify-self:start; }
  .nav{ grid-template-columns:1fr; }
  .menu-toggle{ display:block; }
  .site-header{ height:64px; }

  .project-grid{ grid-template-columns:1fr 1fr; }
  .project--tall{ grid-row:span 1; }
  .project--tall .project-img{ aspect-ratio:4/5; height:auto; }
  .project--wide{ grid-column:span 2; }
  .process-steps{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .p-name{ font-size:18px; }
  .footer-bottom{ justify-content:flex-start; }
}
@media (max-width:440px){
  .project-grid{ grid-template-columns:1fr; }
  .project--wide{ grid-column:span 1; }
  .project--wide .project-img{ aspect-ratio:4/5; }
}

/* ============================================================
   PROJECTS GALLERY PAGE (projects.html)
   ============================================================ */
/* force solid header on pages without a hero */
.solid-header .site-header{
  background:rgba(242,239,232,0.94); backdrop-filter:blur(10px);
  box-shadow:0 1px 0 var(--line-soft); height:64px;
}
.solid-header .site-header .nav-group a{ color:var(--ink); opacity:.85; }
.solid-header .brand-light{ display:none; }
.solid-header .brand-dark{ display:block; }
.solid-header .brand img{ height:46px; }
.solid-header .site-header{ height:var(--bar-h); }
.solid-header .menu-toggle span{ background:var(--ink); }
.nav-group a.is-active{ opacity:1; }
.nav-group a.is-active::after{ transform:scaleX(1); background:var(--brass); }

.projects-page{ padding-top:74px; position:relative; z-index:2; background:var(--linen); }

.pp-head{
  text-align:center; padding:clamp(60px,9vw,120px) var(--pad-x) clamp(30px,4vw,54px);
}
.pp-head .eyebrow{ margin-bottom:20px; }
.pp-head h1{ font-family:var(--serif); font-weight:300; font-size:clamp(46px,8vw,88px); line-height:1; }
.pp-head p{ margin:22px auto 0; max-width:52ch; color:var(--taupe); font-size:15px; }

.gallery{ padding:0 var(--pad-x) clamp(70px,9vw,130px); }
.g-row{ display:grid; gap:clamp(18px,2.4vw,36px); margin-bottom:clamp(26px,3.4vw,52px); }
.g-row.row-3{ grid-template-columns:repeat(3,1fr); }
.g-row.row-2{ grid-template-columns:repeat(2,1fr); }
.g-item{ display:block; }
.g-img{ overflow:hidden; aspect-ratio:16/10; background:var(--linen-2); }
.g-img img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform 1.1s var(--ease), filter 1.1s var(--ease); filter:saturate(.97);
}
.g-item:hover .g-img img{ transform:scale(1.045); filter:saturate(1.04); }
.g-cap{ margin-top:16px; display:flex; flex-direction:column; gap:5px; }
.g-name{ font-family:var(--serif); font-weight:400; font-size:clamp(18px,1.5vw,22px); color:var(--ink); letter-spacing:.005em; transition:color .4s var(--ease); }
.g-meta{ font-family:var(--sans); font-size:10.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--taupe); }
.g-item:hover .g-name{ color:var(--brass-deep); }

@media (max-width:900px){
  .g-row.row-3, .g-row.row-2{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px){
  .g-row.row-3, .g-row.row-2{ grid-template-columns:1fr; }
  .g-cap{ font-size:18px; }
}

/* ============================================================
   PROJECT DETAIL PAGE (project.html)
   ============================================================ */
.project-detail{ position:relative; z-index:2; background:var(--linen); }

/* master render */
.pd-hero{ position:relative; height:92vh; min-height:560px; overflow:hidden; }
.pd-hero img{ width:100%; height:100%; object-fit:cover; }
.pd-hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(20,17,13,.34) 0%, rgba(20,17,13,0) 26%, rgba(20,17,13,0) 62%, rgba(20,17,13,.52) 100%);
}
.pd-hero-cap{
  position:absolute; left:var(--pad-x); bottom:clamp(34px,5vw,64px); z-index:2; color:#f4f1ea;
}
.pd-hero-cap .eyebrow{ color:#f0e6d2; margin-bottom:12px; text-shadow:0 1px 12px rgba(20,17,13,.55); }
.pd-hero-cap h1{
  font-family:var(--serif); font-weight:300; letter-spacing:.01em; line-height:1;
  font-size:clamp(40px,6.5vw,86px); color:#f7f4ec; text-shadow:0 2px 26px rgba(20,17,13,.5);
}

/* info block: left render + right info/description */
.pd-intro{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4.5vw,72px);
  align-items:stretch;
  padding:clamp(48px,7vw,104px) var(--pad-x) clamp(30px,4vw,56px);
}
.pd-intro-media{ overflow:hidden; background:var(--linen-2); }
.pd-intro-media img{ width:100%; height:100%; min-height:440px; object-fit:cover; display:block; }
.pd-info{ align-self:center; max-width:560px; }
.pd-info .eyebrow{ display:block; margin-bottom:16px; }
.pd-title{
  font-family:var(--serif); font-weight:300; line-height:1.02;
  font-size:clamp(32px,4.4vw,56px); margin-bottom:26px;
}
.pd-meta{ width:100%; border-collapse:collapse; }
.pd-meta tr{ border-top:1px solid var(--line); }
.pd-meta tr:last-child{ border-bottom:1px solid var(--line); }
.pd-meta th{
  text-align:left; vertical-align:baseline; width:36%; padding:15px 0;
  font-family:var(--sans); font-weight:400; font-size:10.5px; letter-spacing:.24em;
  text-transform:uppercase; color:var(--taupe);
}
.pd-meta td{ padding:15px 0; font-size:15px; color:var(--ink); font-family:var(--serif); }
.pd-desc{ margin-top:30px; }
.pd-desc p{ font-size:15px; line-height:1.72; color:var(--ink-soft); text-align:justify; hyphens:auto; -webkit-hyphens:auto; }
.pd-desc p + p{ margin-top:16px; }

/* remaining renders — full width, stacked */
.pd-gallery{
  display:flex; flex-direction:column; gap:clamp(14px,2vw,30px);
  padding:clamp(20px,3vw,44px) var(--pad-x) 0;
}
.pd-shot{ overflow:hidden; background:var(--linen-2); }
.pd-shot img{
  width:100%; aspect-ratio:16/9; object-fit:cover; display:block;
  transition:transform 1.2s var(--ease);
}
.pd-shot:hover img{ transform:scale(1.03); }
/* vertical photographs (e.g. Heartbake): side by side at 3:4 instead of 16:9 strips */
.pd-gallery.is-portrait{ display:grid; grid-template-columns:repeat(3,1fr); }
.pd-gallery.is-portrait .pd-shot img{ aspect-ratio:3/4; }
@media (max-width:820px){ .pd-gallery.is-portrait{ grid-template-columns:1fr; } }

.pd-foot{ text-align:center; padding:clamp(56px,8vw,110px) var(--pad-x) clamp(60px,9vw,120px); }

@media (max-width:820px){
  .pd-intro{ grid-template-columns:1fr; gap:34px; }
  .pd-intro-media img{ min-height:0; aspect-ratio:4/3; }
  .pd-info{ max-width:none; }
}

/* ============================================================
   CAREERS PAGE (careers.html)
   ============================================================ */
.careers-page{ position:relative; z-index:2; background:var(--linen); padding-top:74px; }
.about-page{ position:relative; z-index:2; background:var(--linen); padding-top:74px; }
/* Who We Are page: logo + text sit in the middle of the first screen */
.about-page .about{
  min-height:calc(100vh - var(--bar-h));
  min-height:calc(100svh - var(--bar-h));
  display:flex; align-items:center; justify-content:center;
  padding-top:clamp(32px,5vh,64px); padding-bottom:clamp(32px,5vh,64px);
}
@media (min-width:1025px){
  .about-page .about-grid{ grid-template-columns:auto auto; justify-content:center; gap:clamp(48px,6vw,110px); }
  .about-page .about-figure img{ width:auto; height:min(68vh, 620px); height:min(68svh, 620px); aspect-ratio:4/5; }
}
@media (max-width:1024px){
  .about-page .about-grid{ justify-items:center; }
}
.media-page{ position:relative; z-index:2; background:var(--linen); padding-top:74px; }
.pp-head .pp-cta{ display:inline-block; margin-top:32px; }
.positions-wrap{ padding:clamp(10px,2vw,30px) var(--pad-x) clamp(60px,8vw,100px); max-width:1120px; margin:0 auto; }
.pos-label{ text-align:center; margin-bottom:clamp(22px,3vw,38px); }
.positions{ border-top:1px solid var(--line); }
.position{
  display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:clamp(18px,3vw,50px);
  padding:clamp(24px,3vw,38px) 0; border-bottom:1px solid var(--line);
}
.pos-main h2{ font-family:var(--serif); font-weight:400; font-size:clamp(22px,2.4vw,30px); margin-bottom:6px; }
.pos-main p{ color:var(--ink-soft); font-size:14px; max-width:54ch; }
.pos-meta{ display:flex; flex-direction:column; gap:4px; text-align:right; }
.pos-meta span{ font-family:var(--sans); font-size:10.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--taupe); }
.pos-apply{
  font-family:var(--sans); font-size:11px; letter-spacing:.22em; text-transform:uppercase;
  border:1px solid var(--ink); padding:12px 26px; white-space:nowrap;
  transition:background .4s var(--ease), color .4s var(--ease);
}
.pos-apply:hover{ background:var(--ink); color:var(--linen); }
.pos-note{ margin-top:clamp(30px,4vw,50px); text-align:center; color:var(--taupe); font-size:14px; }

/* select field on the dark application form */
.field-select select{
  width:100%; background:transparent; border:0; border-bottom:1px solid rgba(255,255,255,.26);
  color:var(--paper); font-family:var(--sans); font-size:15px; font-weight:300;
  padding:14px 0 10px; appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='none' stroke='%239a7f56' stroke-width='1.4' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 2px center;
}
.field-select select:focus{ outline:none; border-color:var(--brass); }
.field-select select:valid + label,
.field-select select:focus + label{ transform:translateY(-22px) scale(.72); color:var(--brass); }
.field-select option{ color:#1b160f; }

@media (max-width:640px){
  .position{ grid-template-columns:1fr; align-items:start; gap:14px; }
  .pos-meta{ flex-direction:row; gap:16px; text-align:left; }
  .pos-apply{ justify-self:start; }
}

/* spam honeypot on the forms: off-screen, never filled by people */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }

/* custom cursor: bronze four-point star (desktop only; touch has no cursor) */
@media (hover:hover) and (pointer:fine){
  html, body{ cursor:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2228%22 height=%2228%22 viewBox=%220 0 32 32%22%3E %3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220.15%22 y1=%220.2%22 x2=%220.9%22 y2=%220.85%22%3E %3Cstop offset=%220%22 stop-color=%22%235a3517%22/%3E%3Cstop offset=%220.55%22 stop-color=%22%23a8743f%22/%3E%3Cstop offset=%221%22 stop-color=%22%23cf9a63%22/%3E%3C/linearGradient%3E%3C/defs%3E %3Cpath d=%22M16 0.6 C16.9 9.4 19.6 14.9 28.6 16 C19.6 17.1 16.9 22.6 16 31.4 C15.1 22.6 12.4 17.1 3.4 16 C12.4 14.9 15.1 9.4 16 0.6 Z%22 fill=%22url(%23g)%22 stroke=%22rgba(18,14,10,.45)%22 stroke-width=%22.6%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") 14 14, auto; }
  a, button, [role="button"], label, select, summary, .g-item, .pos-apply{ cursor:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2232%22 height=%2232%22 viewBox=%220 0 32 32%22%3E %3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220.15%22 y1=%220.2%22 x2=%220.9%22 y2=%220.85%22%3E %3Cstop offset=%220%22 stop-color=%22%237a4a22%22/%3E%3Cstop offset=%220.55%22 stop-color=%22%23c48a4f%22/%3E%3Cstop offset=%221%22 stop-color=%22%23e8b77d%22/%3E%3C/linearGradient%3E%3C/defs%3E %3Cpath d=%22M16 0.6 C16.9 9.4 19.6 14.9 28.6 16 C19.6 17.1 16.9 22.6 16 31.4 C15.1 22.6 12.4 17.1 3.4 16 C12.4 14.9 15.1 9.4 16 0.6 Z%22 fill=%22url(%23g)%22 stroke=%22rgba(18,14,10,.45)%22 stroke-width=%22.6%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") 16 16, pointer; }
  input, textarea{ cursor:text; }
}

/* live cursor (script.js adds html.has-cur on fine pointers): small solid bronze square + trailing
   square outline. The square tracks the pointer exactly; the outline follows with easing. Links (project
   cards included) turn both 45deg into diamonds, same size. Colour is adaptive: white drawn with
   mix-blend-mode:difference inverts whatever is underneath, so it reads on linen, dark and bronze photos.
   On plain white / cream surfaces (html.cur-brass, set by script.js) it switches to the brass of the
   first version. The CSS star above stays as the no-JS fallback. */
html.has-cur, html.has-cur *{ cursor:none !important; }
html.has-cur input, html.has-cur textarea{ cursor:text !important; }
.cur, .cur-ring{ position:fixed; left:0; top:0; z-index:9999; pointer-events:none; will-change:transform; mix-blend-mode:difference; }
.cur{ width:6px; height:6px; margin:-3px 0 0 -3px; transition:opacity .25s; }
.cur-sq{ display:block; width:100%; height:100%; background:#fff; transition:transform .45s cubic-bezier(.2,.7,.2,1); }
.cur-ring{ width:26px; height:26px; margin:-13px 0 0 -13px; }
.cur-ring::before{ content:""; position:absolute; inset:0; border-radius:1px; border:1px solid #fff;
  transition:transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s; }
.has-cur.cur-link .cur-sq{ transform:rotate(45deg); }
.has-cur.cur-link .cur-ring::before{ transform:rotate(45deg); }
.has-cur.cur-down .cur-ring::before{ transform:scale(.72); }
.has-cur.cur-link.cur-down .cur-ring::before{ transform:rotate(45deg) scale(.72); }
.cur-brass .cur, .cur-brass .cur-ring{ mix-blend-mode:normal; }
.cur-brass .cur-sq{ background:linear-gradient(135deg,#5a3517 0%,#a8743f 55%,#d9a56c 100%); }
.cur-brass .cur-ring::before{ border-color:rgba(176,124,72,.7); }
.has-cur.cur-text .cur, .has-cur.cur-text .cur-ring, .has-cur.cur-out .cur, .has-cur.cur-out .cur-ring{ opacity:0; }
