/* ═══════════════════════════════════════════════════════════════════
   Atelier Terra — Main Stylesheet
   Brand book palette · Montserrat · Luxury architecture Noosa
   ═══════════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --clay:       #4F392B;
  --soil:       #271D10;
  --black:      #050606;
  --white:      #ffffff;
  --dusk:       #0e1210;
  --hinterland: #1a1a14;
  --soil-warm:  #2d2218;
  --gold:       #c8903a;
  --ironbark:   #6b4c2a;
  --limestone:  #e8ddd0;
  --sandstone:  #d4b896;
  --warm-mid:   #9a8670;
  --ghost:      rgba(212,184,150,0.08);
  --ghost-mid:  rgba(212,184,150,0.15);
  --font:       'Montserrat', sans-serif;
  --gap:        clamp(80px,12vw,160px);
  --mh:         clamp(24px,8vw,120px);
  --eout:       cubic-bezier(0.16,1,0.3,1);
  --eslow:      cubic-bezier(0.4,0,0.2,1);
}

/* ── DEV: per-section nav visibility toggles ───────────────────────────
   Comment out a line below to re-enable that section's nav/footer links.
   Each link gets the matching .nav-section-* class so the toggle is
   localised — turning Services on does not affect Work or Locations.
─────────────────────────────────────────────────────────────────────── */
.nav-section-work     { display:none !important }
.nav-section-services { display:none !important }
.nav-section-locations { display:none !important }

/* ── RESET ───────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0 }
html { scroll-behavior:smooth }
body {
  background: var(--black);
  color: var(--limestone);
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(1.05rem,1.5vw,1.15rem);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.has-cursor { cursor: none }
body.has-cursor a,
body.has-cursor button,
body.has-cursor input,
body.has-cursor textarea,
body.has-cursor select,
body.has-cursor [data-cursor] { cursor: none }
a { text-decoration:none; color:inherit }
img { display:block; max-width:100% }
ul { list-style:none }
p { margin-bottom:1.3em }
p:last-child { margin-bottom:0 }
main { animation: pagefade 1.2s ease both }
@keyframes pagefade { from { opacity:0 } }

/* ── SKIP LINK ────────────────────────────────────────────────────────── */
.skip-link {
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus {
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 18px; background:var(--clay); color:var(--limestone);
  z-index:9999; font-size:.8rem; letter-spacing:.1em;
}

/* ── FILM GRAIN ──────────────────────────────────────────────────────── */
body::after {
  content:''; position:fixed; inset:0; pointer-events:none; z-index:9000;
  opacity:0.028;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  background-size:200px;
}

/* ── CURSOR ──────────────────────────────────────────────────────────── */
#cur-dot,#cur-ring {
  position:fixed; top:0; left:0; pointer-events:none; z-index:9999;
  transform:translate(-50%,-50%); border-radius:50%;
}
#cur-dot { width:5px; height:5px; background:var(--sandstone) }
#cur-ring {
  width:30px; height:30px;
  border:1px solid rgba(212,184,150,0.4);
  opacity:0;
  transition:transform .3s var(--eout),opacity .28s ease,width .3s var(--eout),height .3s var(--eout);
}
#cur-ring.on { opacity:1; width:46px; height:46px }

/* ── TYPOGRAPHY ──────────────────────────────────────────────────────── */
.eyebrow {
  display:block; font-size:0.68rem; font-weight:500;
  letter-spacing:0.28em; text-transform:uppercase;
  color:var(--sandstone); margin-bottom:1.4rem;
}
h1 {
  font-weight:300;
  font-size:clamp(3rem,8.5vw,8rem);
  line-height:0.95; letter-spacing:-0.02em; color:var(--limestone);
}
h2 {
  font-weight:300;
  font-size:clamp(1.9rem,4.5vw,3.8rem);
  line-height:1.0; letter-spacing:-0.02em; color:var(--limestone);
}
h3 {
  font-weight:400;
  font-size:clamp(1rem,1.8vw,1.25rem);
  line-height:1.3; letter-spacing:0.01em;
  color:var(--limestone); margin-bottom:0.85rem;
}

/* ── SCROLL REVEAL ───────────────────────────────────────────────────── */
.rv {
  opacity:0; transform:translateY(22px);
  transition:opacity .9s var(--eout),transform .9s var(--eout);
}
.rv.in { opacity:1; transform:none }
.rv.d1 { transition-delay:.15s }
.rv.d2 { transition-delay:.3s }
.rv.d3 { transition-delay:.45s }

/* ── NAV ─────────────────────────────────────────────────────────────── */
#nav {
  position:fixed; inset:0 0 auto; z-index:800;
  display:flex; align-items:center; justify-content:space-between;
  padding:24px var(--mh);
  transition:background .42s ease,padding .38s ease,backdrop-filter .42s ease;
}
#nav.scrolled {
  background:rgba(5,6,6,.88);
  padding-top:16px; padding-bottom:16px;
  backdrop-filter:blur(12px);
}
.nav-logo { flex-shrink:0 }
.nav-links {
  display:flex; align-items:center; gap:clamp(20px,3vw,48px);
}
.nav-links a {
  font-size:.68rem; font-weight:400; letter-spacing:.18em; text-transform:uppercase;
  color:var(--sandstone); position:relative;
  transition:color .35s ease;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-3px; left:0; width:0; height:1px;
  background:var(--sandstone); transition:width .35s var(--eout);
}
.nav-links a:hover { color:var(--limestone) }
.nav-links a:hover::after { width:100% }
.nav-links a.nav-cta {
  padding:8px 18px;
  border:1px solid var(--ghost-mid);
  color:var(--limestone);
  transition:all .35s ease;
}
.nav-links a.nav-cta:hover {
  background:var(--clay);
  border-color:var(--clay);
}
.nav-links a.nav-cta::after { display:none }
.nav-toggle {
  display:none; flex-direction:column; gap:5px; cursor:pointer;
  background:none; border:none; padding:4px;
}
.nav-toggle span {
  display:block; width:24px; height:1px; background:var(--sandstone);
  transition:all .3s var(--eout);
}
.nav-toggle.open span:nth-child(1) { transform:translateY(6px) rotate(45deg) }
.nav-toggle.open span:nth-child(2) { opacity:0 }
.nav-toggle.open span:nth-child(3) { transform:translateY(-6px) rotate(-45deg) }

/* ── MOBILE NAV ──────────────────────────────────────────────────────── */
.mob-nav {
  position:fixed; inset:0; background:rgba(5,6,6,.96);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:2rem; z-index:700; opacity:0; pointer-events:none;
  transition:opacity .38s ease; backdrop-filter:blur(8px);
}
.mob-nav.open { opacity:1; pointer-events:all }
.mob-nav a {
  font-size:clamp(1.4rem,6vw,2.2rem); font-weight:300;
  letter-spacing:.08em; color:var(--warm-mid);
  transition:color .3s ease;
}
.mob-nav a:hover { color:var(--limestone) }
.mob-nav-close {
  position:absolute; top:28px; right:var(--mh);
  background:none; border:none; color:var(--warm-mid);
  font-size:1.8rem; cursor:pointer; transition:color .25s;
}
.mob-nav-close:hover { color:var(--limestone) }

/* ── HERO ────────────────────────────────────────────────────────────── */
#hero {
  position:relative; height:100svh; min-height:600px;
  display:flex; flex-direction:column; justify-content:flex-end;
  overflow:hidden;
}
.hero-yt-wrap {
  position:absolute; inset:0; overflow:hidden; z-index:0;
}
.hero-overlay {
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(to bottom,rgba(5,6,6,.35) 0%,rgba(14,18,12,.12) 50%,rgba(5,6,6,.55) 100%);
}
.hero-warmth {
  position:absolute; inset:0; z-index:0;
  background:radial-gradient(ellipse at 30% 60%,rgba(79,57,43,.22) 0%,transparent 60%),
             linear-gradient(180deg,rgba(5,6,6,.45) 0%,rgba(26,19,10,.3) 100%);
}
.hero-text {
  position:relative; z-index:10;
  padding:0 var(--mh) clamp(60px,10vh,120px);
}
.hero-text h1 { display:flex; flex-direction:column }
.hero-text h1 span {
  overflow:hidden;
  animation:heroLine 1.2s var(--eout) both;
}
.hero-text h1 span:nth-child(1) { animation-delay:.1s }
.hero-text h1 span:nth-child(2) { animation-delay:.22s }
.hero-text h1 span:nth-child(3) { animation-delay:.34s }
.hero-text h1 span:nth-child(4) { animation-delay:.46s }
@keyframes heroLine {
  from { transform:translateY(100%); opacity:0 }
  to   { transform:none; opacity:1 }
}
.hero-text .eyebrow { animation:heroeye .8s var(--eout) .05s both }
@keyframes heroeye { from { opacity:0; transform:translateY(8px) } }
.cta-link {
  display:inline-flex; align-items:center; gap:.5rem;
  margin-top:2rem; font-size:.65rem; font-weight:400; letter-spacing:.2em;
  text-transform:uppercase; color:var(--sandstone); position:relative;
  animation:heroeye 1s var(--eout) .5s both;
  transition:color .35s ease;
}
.cta-link::after {
  content:''; position:absolute; bottom:-2px; left:0; right:0; height:1px;
  background:var(--warm-mid); transform:scaleX(0); transform-origin:left;
  transition:transform .5s var(--eout);
}
.cta-link:hover { color:var(--limestone) }
.cta-link:hover::after { transform:scaleX(1) }
.scroll-hint {
  position:absolute; bottom:32px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  z-index:10; animation:heroeye 1s var(--eout) 1.1s both;
}
.scroll-line {
  width:1px; height:40px; background:var(--warm-mid);
  animation:scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%,100% { opacity:.3; transform:scaleY(1) }
  50% { opacity:.8; transform:scaleY(1.2) }
}
.scroll-hint span {
  font-size:.5rem; letter-spacing:.28em; text-transform:uppercase; color:var(--warm-mid);
}

/* ── SERVICES ────────────────────────────────────────────────────────── */
#services { padding:var(--gap) var(--mh) }
.services-header { max-width:600px; margin-bottom:clamp(48px,8vw,96px) }
.services-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(28px,4vw,56px);
}
.svc { display:flex; flex-direction:column }
.svc-img {
  position:relative; aspect-ratio:3/2; overflow:hidden; margin-bottom:1.8rem;
}
.svc-img img {
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform 1.2s var(--eout);
}
.svc:hover .svc-img img { transform:scale(1.04) }
.svc-img-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to bottom,transparent 40%,rgba(5,6,6,.6) 100%);
}
.svc-num {
  font-size:.56rem; font-weight:500; letter-spacing:.3em;
  color:var(--warm-mid); margin-bottom:.6rem;
}
.svc h3 { margin-bottom:.8rem }
.svc p { font-size:1rem; color:var(--sandstone) }
.commission-note {
  font-size:.7rem; font-style:italic; color:var(--clay); margin-top:.8rem;
}

/* ── IMAGE BREAK ─────────────────────────────────────────────────────── */
.img-break {
  width:100%; aspect-ratio:21/9; overflow:hidden; position:relative;
}
.img-break img {
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(.5) sepia(.3) brightness(.72) contrast(1.1);
}

/* ── IMAGE CREDIT (reference under each image) ───────────────────────── */
.img-credit {
  font-size:.55rem; font-weight:400; letter-spacing:.22em;
  text-transform:uppercase; color:var(--warm-mid);
  margin-top:.7rem; line-height:1.4;
}
.img-credit em {
  font-style:italic; letter-spacing:.18em; color:var(--warm-mid);
}
.img-credit-overlay {
  position:absolute; left:clamp(16px,2.5vw,32px); bottom:clamp(12px,2vw,24px);
  z-index:2; pointer-events:none;
  font-size:.5rem; font-weight:400; letter-spacing:.22em;
  text-transform:uppercase; color:var(--sandstone);
  text-shadow:0 1px 8px rgba(5,6,6,.7);
}
.img-credit-overlay em {
  font-style:italic; letter-spacing:.18em;
}

/* ── PRACTICE ────────────────────────────────────────────────────────── */
#practice {
  display:grid;
  grid-template-columns:2fr 1fr;
  grid-template-areas:
    "header video"
    "text   video";
  column-gap:clamp(40px,5vw,80px);
  row-gap:clamp(24px,3vw,48px);
  padding:var(--gap) var(--mh);
  align-items:start;
}
.practice-header { grid-area:header }
.practice-img    { grid-area:video; align-self:stretch }
.practice-text   { grid-area:text }
.practice-text {
  column-count:2;
  column-gap:clamp(28px,3vw,56px);
}
.practice-text > p { break-inside:avoid; margin-top:0 }
.practice-text > p + p { margin-top:1rem }
.alliance-block {
  margin-top:2.4rem; padding-top:1.6rem; border-top:1px solid var(--ghost-mid);
  break-inside:avoid;
}
.alliance-block p {
  font-size:.88rem; color:var(--sandstone); margin-bottom:.6rem;
}
.alliance-block a {
  font-size:.65rem; font-weight:400; letter-spacing:.16em; text-transform:uppercase;
  color:var(--sandstone); transition:color .3s ease;
}
.alliance-block a:hover { color:var(--limestone) }
.practice-img {
  position:relative; overflow:hidden;
  width:100%;
  background:var(--soil);
}
.practice-img iframe {
  position:absolute;
  top:50%; left:50%;
  height:100%;
  aspect-ratio:16/9;
  min-width:100%;
  transform:translate(-50%,-50%);
  border:none;
  pointer-events:none;
}

/* ── 404 PAGE ────────────────────────────────────────────────────────
   Tasteful catch-all for missing pages. Quiet typography, oversized
   "404" mark in the corner, IA-aware action row.
─────────────────────────────────────────────────────────────────────── */
.four04 {
  position:relative; overflow:hidden;
  min-height:80vh;
  display:flex; align-items:center; justify-content:flex-start;
  padding:var(--gap) var(--mh);
}
.four04-inner { max-width:48rem; position:relative; z-index:1 }
.four04-num {
  position:absolute; right:-.06em; bottom:-.18em;
  font-size:clamp(14rem,32vw,28rem); font-weight:300;
  line-height:.9; letter-spacing:-.04em;
  color:var(--ghost); user-select:none; pointer-events:none;
  z-index:0;
}
.four04 .eyebrow { display:inline-block; margin-bottom:1.4rem }
.four04 h1 {
  font-size:clamp(2.2rem,5vw,4rem); font-weight:300;
  line-height:1.05; letter-spacing:-.02em;
  color:var(--limestone); margin-bottom:1.6rem;
  max-width:22ch;
}
.four04 p {
  font-size:clamp(1rem,1.5vw,1.1rem);
  color:var(--sandstone); line-height:1.85;
  max-width:54ch; margin-bottom:2.8rem;
}
.four04-actions { display:flex; gap:1rem; flex-wrap:wrap }
.four04-btn {
  display:inline-flex; align-items:center; padding:14px 24px;
  border:1px solid var(--ghost-mid);
  color:var(--limestone); font-family:var(--font);
  font-size:.66rem; font-weight:500; letter-spacing:.2em;
  text-transform:uppercase; text-decoration:none;
  transition:background .25s ease, border-color .25s ease, color .25s ease;
}
.four04-btn:hover { background:var(--clay); border-color:var(--clay) }
.four04-btn-primary {
  background:var(--clay); border-color:var(--clay);
}
.four04-btn-primary:hover { background:var(--sandstone); color:var(--black); border-color:var(--sandstone) }

/* ── TESTIMONIALS ────────────────────────────────────────────────────
   Section is hidden until activated by removing .tx-pending from the
   <section> opening tag (after real client copy is filled in).
─────────────────────────────────────────────────────────────────────── */
.testimonials.tx-pending { display:none }
.testimonials {
  padding:clamp(60px,8vw,100px) var(--mh);
  border-top:1px solid var(--ghost); border-bottom:1px solid var(--ghost);
}
.testimonials-inner { max-width:1200px; margin:0 auto }
.testimonials-heading {
  font-size:clamp(1.6rem,3vw,2.4rem); color:var(--limestone);
  letter-spacing:-.015em; margin:1rem 0 clamp(40px,5vw,64px);
}
.testimonials-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(24px,3vw,48px);
}
.testimonial {
  margin:0; padding:1.6rem 0;
  border-top:1px solid var(--ghost-mid);
}
.testimonial blockquote {
  font-size:clamp(1rem,1.4vw,1.15rem); font-weight:300;
  line-height:1.6; color:var(--limestone); margin:0 0 1.4rem;
}
.testimonial figcaption {
  display:flex; flex-direction:column; gap:.3rem;
}
.testimonial-name {
  font-size:.72rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--sandstone);
}
.testimonial-meta {
  font-size:.66rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--warm-mid);
}
@media (max-width:900px) {
  .testimonials-grid { grid-template-columns:1fr; gap:0 }
}

/* ── PULL QUOTES ─────────────────────────────────────────────────────── */
.pullquote {
  padding:clamp(60px,10vw,120px) var(--mh);
  text-align:center; border-top:1px solid var(--ghost); border-bottom:1px solid var(--ghost);
}
.pullquote blockquote {
  font-size:clamp(1.2rem,2.8vw,2.2rem); font-weight:300;
  line-height:1.3; letter-spacing:-.01em;
  color:var(--limestone); max-width:800px; margin:0 auto;
}
.pullquote cite {
  display:block; margin-top:1.6rem;
  font-size:.62rem; font-weight:400; letter-spacing:.2em;
  text-transform:uppercase; color:var(--warm-mid);
  font-style:normal;
}
.pullquote-dark {
  position:relative; overflow:hidden;
  padding:clamp(80px,14vw,160px) var(--mh);
}
.pullquote-dark-bg {
  position:absolute; inset:0;
  background:rgba(5,6,6,.62); z-index:1;
}
.pullquote-dark-img {
  position:absolute; inset:0;
}
.pullquote-dark-img img {
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(.4) sepia(.4) brightness(.5) contrast(1.1);
}
.pullquote-dark-content {
  position:relative; z-index:2; text-align:center;
}
.pullquote-dark-content blockquote {
  font-size:clamp(1.3rem,3vw,2.4rem); font-weight:300;
  line-height:1.25; letter-spacing:-.01em;
  color:var(--limestone); max-width:900px; margin:0 auto;
}
.pullquote-dark-content cite {
  display:block; margin-top:1.8rem;
  font-size:.62rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--warm-mid); font-style:normal;
}

/* ── CAROUSEL ────────────────────────────────────────────────────────── */
.carousel { position:relative; overflow:hidden }
.carousel-track {
  display:flex; transition:transform .7s var(--eout);
  height:100%;
}
.carousel-slide {
  flex:0 0 100%; position:relative; overflow:hidden;
  background:linear-gradient(135deg,#2a1f14 0%,#1a130a 55%,#0a0806 100%);
}
.carousel-slide img {
  width:100%; height:100%; object-fit:cover; display:block;
}
.carousel-cap {
  position:absolute; bottom:0; left:0;
  padding:clamp(24px,4vw,48px);
  background:linear-gradient(transparent,rgba(5,6,6,.75));
  width:100%;
}
.carousel-cap-eye {
  font-size:.58rem; letter-spacing:.22em; text-transform:uppercase;
  color:var(--warm-mid); margin-bottom:.4rem;
}
.carousel-cap-title {
  font-size:clamp(.9rem,2vw,1.2rem); font-weight:300;
  color:var(--limestone); letter-spacing:.02em; margin:0;
}
.carousel-btn {
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(5,6,6,.4); border:1px solid var(--ghost-mid);
  color:var(--sandstone); cursor:pointer; z-index:10;
  width:48px; height:48px; font-size:1.1rem;
  transition:all .3s ease; display:flex; align-items:center; justify-content:center;
  backdrop-filter:blur(4px);
}
.carousel-btn:hover { background:var(--clay); border-color:var(--clay) }
.carousel-prev { left:clamp(12px,3vw,32px) }
.carousel-next { right:clamp(12px,3vw,32px) }
.carousel-dots {
  position:absolute; bottom:clamp(16px,3vw,28px); right:clamp(24px,4vw,48px);
  display:flex; gap:8px; z-index:10;
}
.carousel-dot {
  width:5px; height:5px; border-radius:50%;
  background:rgba(212,184,150,.3);
  cursor:pointer; transition:all .3s ease;
}
.carousel-dot.active {
  background:var(--sandstone); width:20px; border-radius:3px;
}

/* ── IMAGE STRIP ─────────────────────────────────────────────────────── */
.img-strip {
  display:grid; grid-template-columns:repeat(3,1fr); gap:3px;
}
.strip-slot { aspect-ratio:4/3; overflow:hidden; position:relative }
.strip-slot img {
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(.5) sepia(.3) brightness(.72);
  transition:filter .5s ease,transform .7s var(--eout);
}
.strip-slot:hover img {
  filter:saturate(.75) sepia(.15) brightness(.85);
  transform:scale(1.03);
}

/* ── STUDIO ──────────────────────────────────────────────────────────── */
#studio { padding:var(--gap) var(--mh) }
.studio-header { margin-bottom:clamp(40px,6vw,72px) }
.studio-imgs {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(12px,2vw,24px); margin-bottom:clamp(40px,6vw,64px);
}
.studio-figure { display:flex; flex-direction:column; margin:0 }
.studio-img { aspect-ratio:4/3; overflow:hidden }
.studio-img img {
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(.5) sepia(.3) brightness(.75);
  transition:filter .5s ease,transform .8s var(--eout);
}
.studio-img:hover img { filter:saturate(.7) sepia(.18) brightness(.88); transform:scale(1.03) }
.studio-cols {
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(32px,5vw,80px);
}
.studio-cols p { color:var(--sandstone); font-size:1rem }

/* ── CREDENTIALS / AIA BADGE ──────────────────────────────────────────── */
.credentials-strip {
  background:var(--hinterland);
  border-top:1px solid var(--ghost);
  border-bottom:1px solid var(--ghost);
  padding:clamp(32px,5vw,56px) var(--mh);
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:clamp(24px,4vw,48px);
}
.credentials-left { display:flex; flex-direction:column; gap:1.2rem }
.credentials-left .eyebrow { margin-bottom:0 }
.cred-items {
  display:flex; align-items:center; gap:clamp(16px,3vw,40px); flex-wrap:wrap;
}
.cred-item {
  display:flex; flex-direction:column; gap:.25rem;
}
.cred-item-label {
  font-size:.54rem; letter-spacing:.22em; text-transform:uppercase; color:var(--warm-mid);
}
.cred-item-value {
  font-size:.82rem; font-weight:400; color:var(--limestone); letter-spacing:.04em;
}
.cred-divider {
  width:1px; height:36px; background:var(--ghost-mid); flex-shrink:0;
}
.aia-badge {
  display:flex; align-items:center; gap:1.4rem;
  padding:18px 28px;
  border:1px solid rgba(212,184,150,.22);
  background:rgba(212,184,150,.06);
  flex-shrink:0;
  transition:background .35s ease,border-color .35s ease;
}
.aia-badge:hover {
  background:rgba(212,184,150,.1);
  border-color:rgba(212,184,150,.35);
}
.aia-badge img {
  height:56px; width:auto; display:block;
  filter:brightness(1) sepia(.08) contrast(.95);
  transition:filter .35s ease;
}
.aia-badge:hover img { filter:brightness(1.05) sepia(0) contrast(1) }
.aia-badge-text {
  display:flex; flex-direction:column; gap:.3rem;
}
.aia-badge-text span:first-child {
  font-size:.6rem; letter-spacing:.24em; text-transform:uppercase; color:var(--sandstone);
}
.aia-badge-text span:last-child {
  font-size:.88rem; font-weight:400; color:var(--limestone); letter-spacing:.03em; line-height:1.35;
}

/* ── ABOUT ───────────────────────────────────────────────────────────── */
#about {
  display:grid; grid-template-columns:1fr auto;
  gap:clamp(40px,6vw,96px);
  padding:var(--gap) var(--mh);
  align-items:start;
}
.about-text h3 { margin-top:2rem; margin-bottom:.6rem; color:var(--limestone) }
.about-text p { color:var(--sandstone); font-size:1rem }
.about-sidebar { width:clamp(220px,24vw,300px); flex-shrink:0 }
.portrait {
  aspect-ratio:4/5; overflow:hidden; margin-bottom:1.4rem;
}
.portrait img {
  width:100%; height:100%; object-fit:cover; object-position:top center; display:block;
  filter:saturate(.5) sepia(.28) brightness(.8);
}
.name-block { margin-bottom:1.2rem }
.name-block p {
  font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--warm-mid);
  margin:0 0 .25rem;
}
.name-block p:first-child {
  font-size:.92rem; font-weight:400; color:var(--limestone); letter-spacing:.04em;
  text-transform:none; margin-bottom:.4rem;
}
.name-block a { color:var(--sandstone); transition:color .3s ease; text-decoration:none }
.name-block a:hover { color:var(--limestone) }
.cv-toggle-btn {
  background:none; border:none; cursor:pointer; color:var(--warm-mid);
  font-family:var(--font); font-size:.62rem; font-weight:400; letter-spacing:.16em;
  text-transform:uppercase; padding:0; display:flex; align-items:center; gap:.4rem;
  transition:color .3s ease;
}
.cv-toggle-btn:hover { color:var(--limestone) }
.cv-arrow { transition:transform .35s ease }
.cv-toggle-btn.open .cv-arrow { transform:rotate(180deg) }
.cv-panel {
  max-height:0; overflow:hidden;
  transition:max-height .6s var(--eout);
}
.cv-panel.open { max-height:800px }
.cv-label {
  display:block; font-size:.54rem; letter-spacing:.24em;
  text-transform:uppercase; color:var(--warm-mid);
  margin-top:1.4rem; margin-bottom:.5rem;
}
.cv-row {
  display:flex; justify-content:space-between; align-items:baseline;
  padding:4px 0; border-bottom:1px solid var(--ghost);
  font-size:.75rem; color:var(--limestone);
}
.cv-meta { font-size:.7rem; color:var(--warm-mid) }
.intl {
  font-size:.75rem; color:var(--warm-mid); line-height:1.8;
  padding:6px 0;
}

/* ── ENQUIRY ─────────────────────────────────────────────────────────── */
#enquire {
  display:grid; grid-template-columns:1fr 1fr;
}
.enquiry-img {
  position:relative; overflow:hidden; min-height:600px;
}
.enquiry-img img {
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(.45) sepia(.35) brightness(.65);
}
.enquiry-img-quote {
  position:absolute; bottom:0; left:0; right:0;
  padding:clamp(24px,4vw,48px);
  background:linear-gradient(transparent,rgba(5,6,6,.82));
}
.enquiry-img-quote blockquote {
  font-size:clamp(.85rem,1.8vw,1.1rem); font-weight:300;
  line-height:1.55; color:var(--limestone); margin-bottom:.8rem;
}
.enquiry-img-quote cite {
  font-size:.6rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--warm-mid); font-style:normal;
}
.enquiry-form-col { padding:clamp(40px,6vw,80px) }

/* ── FORM ────────────────────────────────────────────────────────────── */
.form-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:0 24px; margin-bottom:1.2rem;
}
.form-field { margin-bottom:1.2rem }
.form-field label {
  display:block; font-size:.68rem; font-weight:500; letter-spacing:.14em;
  text-transform:uppercase; color:var(--sandstone); margin-bottom:.6rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width:100%; padding:13px 0;
  background:transparent; border:none; border-bottom:1px solid rgba(212,184,150,.35);
  color:var(--limestone); font-family:var(--font); font-size:1rem; font-weight:300;
  outline:none; transition:border-color .3s ease;
  appearance:none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color:var(--sandstone) }
.form-field input::placeholder,
.form-field textarea::placeholder { color:rgba(212,184,150,.55) }
.form-field textarea { resize:none; line-height:1.75; min-height:100px }
.form-field select {
  cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4b896' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  padding-right:36px;
}
.form-field select option { background:var(--soil); color:var(--limestone) }
.btn-submit {
  margin-top:.8rem; padding:15px 36px;
  background:transparent; border:1px solid rgba(212,184,150,.3);
  color:var(--limestone); font-family:var(--font); font-size:.7rem;
  font-weight:500; letter-spacing:.22em; text-transform:uppercase;
  cursor:pointer; transition:all .35s ease; width:100%;
}
.btn-submit:hover { background:var(--clay); border-color:var(--clay) }
.form-success {
  display:none; padding:40px 0; text-align:center;
}
.form-success h3 {
  font-size:1.4rem; font-weight:300; color:var(--limestone); margin-bottom:.8rem;
}
.form-success p { color:var(--warm-mid); font-size:.9rem }

/* ── PROCESS ─────────────────────────────────────────────────────────── */
.process-steps {
  display:grid; grid-template-columns:repeat(5,1fr);
  gap:clamp(16px,2.5vw,32px);
}
.process-step {
  display:flex; flex-direction:column; gap:1rem;
  padding-top:1.6rem;
  border-top:1px solid var(--ghost-mid);
}
.process-num {
  font-size:.56rem; font-weight:500; letter-spacing:.28em;
  color:var(--warm-mid);
}
.process-content h3 {
  font-size:clamp(.88rem,1.4vw,1rem); margin-bottom:.6rem; color:var(--limestone);
}
.process-content p {
  font-size:.85rem; color:var(--sandstone); line-height:1.8;
}

/* ── FOOTER ──────────────────────────────────────────────────────────── */
.site-footer {
  padding:32px var(--mh) 28px; background:var(--black);
  border-top:1px solid var(--ghost);
}
.site-footer-inner {
  padding:28px var(--mh); background:var(--black);
  border-top:1px solid var(--ghost);
}
.footer-row {
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:16px;
}
.footer-credit {
  font-size:.68rem; font-weight:300; color:var(--warm-mid); margin:0;
}
.footer-link {
  font-size:.62rem; color:var(--warm-mid); letter-spacing:.08em;
  transition:color .3s;
}
.footer-link:hover { color:var(--sandstone) }
.footer-links { display:flex; gap:1.4rem; align-items:center }
.footer-copy {
  font-size:.58rem; color:var(--warm-mid); opacity:.35;
}

/* ── HOME FOOTER (extended) ─────────────────────────────────────────── */
.home-footer-top {
  background:var(--hinterland); padding:clamp(48px,6vw,80px) var(--mh);
}
.home-footer-ig-header {
  display:flex; justify-content:space-between; align-items:baseline;
  margin-bottom:clamp(24px,4vw,40px); flex-wrap:wrap; gap:12px;
}
.home-footer-ig-label {
  display:block; font-size:.6rem; font-weight:500; letter-spacing:.28em;
  text-transform:uppercase; color:var(--warm-mid); margin-bottom:.6rem;
}
.home-footer-ig-link {
  font-size:.72rem; font-weight:300; letter-spacing:.1em;
  color:var(--sandstone); display:flex; align-items:center; gap:.5rem;
  transition:color .35s;
}
.home-footer-ig-link:hover { color:var(--limestone) }
.home-footer-ig-more {
  font-size:.6rem; font-weight:400; letter-spacing:.18em;
  text-transform:uppercase; color:var(--warm-mid); transition:color .35s;
}
.home-footer-ig-more:hover { color:var(--sandstone) }
.ig-grid {
  display:grid; grid-template-columns:repeat(6,1fr); gap:3px; overflow:hidden;
}
.ig-cell {
  position:relative; aspect-ratio:1; overflow:hidden; display:block;
  background:var(--soil-warm);
}
.ig-cell img {
  width:100%; height:100%; object-fit:cover;
  filter:saturate(.55) sepia(.3) brightness(.74) contrast(1.12);
  transition:filter .4s,transform .6s;
}
.ig-cell:hover img {
  filter:saturate(.7) sepia(.2) brightness(.9);
  transform:scale(1.05);
}

/* Curator.io consent gate — shown until the user opts in to load the feed */
.curator-gate {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:1.4rem; min-height:240px; padding:clamp(28px,4vw,48px);
  text-align:center; border:1px solid var(--ghost);
  background:rgba(212,184,150,.02);
}
.curator-gate-text {
  font-size:.78rem; color:var(--warm-mid); line-height:1.7;
  max-width:48ch; margin:0;
}
.curator-gate-btn {
  background:transparent; border:1px solid var(--sandstone);
  color:var(--sandstone); padding:.85rem 1.6rem;
  font-size:.7rem; letter-spacing:.18em; text-transform:uppercase;
  cursor:pointer; transition:background .25s ease, color .25s ease;
  font-family:inherit;
}
.curator-gate-btn:hover { background:var(--sandstone); color:var(--black) }

/* Curator.io Instagram feed — grade to match site aesthetic (10% backed off) */
#curator-feed-default-feed-layout img,
#curator-feed-default-feed-layout video,
#curator-feed-default-feed-layout [style*="background-image"] {
  filter:saturate(.6) sepia(.27) brightness(.77) contrast(1.11);
  transition:filter .4s ease,transform .6s ease;
}
#curator-feed-default-feed-layout a:hover img,
#curator-feed-default-feed-layout a:hover video,
#curator-feed-default-feed-layout a:hover [style*="background-image"],
#curator-feed-default-feed-layout .crt-post:hover img,
#curator-feed-default-feed-layout .crt-post:hover [style*="background-image"] {
  filter:saturate(.75) sepia(.18) brightness(.91) contrast(1.07);
}
.home-footer-bar {
  display:grid; grid-template-columns:auto 1fr auto;
  align-items:start; gap:clamp(20px,5vw,80px);
  margin-bottom:28px; flex-wrap:wrap;
}
.home-footer-contact {
  display:flex; flex-direction:column; gap:.3rem;
}
.home-footer-contact p { margin:0 }
.home-footer-contact-name {
  font-size:.72rem; font-weight:300; color:var(--sandstone); line-height:1.7;
}
.home-footer-contact-detail {
  font-size:.68rem; font-weight:300; color:var(--warm-mid);
}
.home-footer-contact-detail a {
  color:var(--warm-mid); transition:color .3s;
}
.home-footer-contact-detail a:hover { color:var(--sandstone) }
.social-icons { display:flex; gap:1rem; align-items:center }
.social-icon {
  color:var(--warm-mid); transition:color .3s;
}
.social-icon:hover { color:var(--limestone) }
.home-footer-bottom {
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:10px; padding-top:16px;
  border-top:1px solid var(--ghost);
}
.home-footer-nav { display:flex; gap:1.4rem; flex-wrap:wrap; align-items:center }

/* ── INLINE HOVER LINK (replaces onmouseenter/leave) ────────────────── */
.link-warm { color:var(--warm-mid); transition:color .3s }
.link-warm:hover { color:var(--sandstone) }
.link-sand { color:var(--sandstone); transition:color .3s }
.link-sand:hover { color:var(--limestone) }
.link-lime { color:var(--limestone); transition:color .3s }
.link-lime:hover { color:var(--gold) }
.link-cta-inline {
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.68rem; font-weight:500; letter-spacing:.2em;
  text-transform:uppercase; color:var(--limestone);
  border:1px solid rgba(212,184,150,.3); padding:14px 28px;
  transition:all .35s ease;
}
.link-cta-inline:hover { background:var(--clay); border-color:var(--clay) }

/* ── NAV LOGO (external SVG) ────────────────────────────────────────── */
.nav-logo img { display:block; width:88px; height:39px }
.home-footer-logo { display:block; width:72px; height:32px; opacity:.75 }


/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width:1100px) {
  .services-grid { grid-template-columns:repeat(2,1fr) }
  .process-steps { grid-template-columns:repeat(3,1fr) }
}
@media (max-width:900px) {
  #practice {
    grid-template-columns:1fr;
    grid-template-areas:
      "header"
      "video"
      "text";
  }
  .practice-text { column-count:1 }
  /* Don't force a 16:9 box on mobile — the inline wrapper is 9:16 portrait
     with min-height:560px. Forcing 16:9 here squashed the portrait video into
     a small landscape strip on phones. Letting the inner wrapper drive height
     keeps the intended full-page portrait. */
  .practice-img { aspect-ratio:auto; justify-self:stretch }
  #about { grid-template-columns:1fr }
  .about-sidebar { width:100%; max-width:320px }
  #enquire { grid-template-columns:1fr }
  .enquiry-img { min-height:340px }
  .studio-cols { grid-template-columns:1fr }
  .credentials-strip { flex-direction:column }
  .aia-badge { align-self:flex-start }
}
@media (max-width:700px) {
  .nav-links { display:none }
  .ig-grid { grid-template-columns:repeat(3,1fr) }
  .nav-toggle { display:flex }
  .services-grid { grid-template-columns:1fr }
  .process-steps { grid-template-columns:1fr }
  .studio-imgs { grid-template-columns:1fr }
  .img-strip { grid-template-columns:1fr }
  .form-grid { grid-template-columns:1fr }
  .cred-items { flex-direction:column; gap:.8rem }
  .cred-divider { display:none }
}
