/* deidré de waal architect
   Quiet, cinematic, phone first. Serif display (Cormorant), light sans (Jost). */

:root {
  --paper: #f6f3ee;
  --bone: #ece6dc;
  --ink: #1d1b18;
  --night: #171614;
  --text: #3d3934;
  --muted: #8a8378;
  --line: rgba(29, 27, 24, .14);
  --line-light: rgba(255, 255, 255, .22);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 20px;
  --max: 1320px;
  --bar: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* Type helpers */
.display { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 7vw, 76px); line-height: 1.02; letter-spacing: -.012em; text-wrap: balance; }
/* Lining figures for statistics: old-style "11" reads like "II" */
.hero-stats dd, .numbers dd, .facts dd, .ranges dd, .timeline span { font-variant-numeric: lining-nums; }
.display em { font-weight: 300; }
.display.xl { font-size: clamp(46px, 10vw, 128px); line-height: .96; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--text); }
.small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Section label: big serif numeral + tiny tracked label, as in the reference */
.sec-label { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; color: var(--ink); }
.sec-label .num { font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 300; }
.sec-label .lbl { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.sec-label.light { color: #fff; }
.sec-label.light .lbl { color: rgba(255, 255, 255, .7); }

/* Wordmark */
.wordmark { font: 300 14px/1 var(--sans); letter-spacing: .3em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark span { color: var(--muted); }

/* Top bar: frosted glass */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(246, 243, 238, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.bar.scrolled { background: rgba(246, 243, 238, .9); box-shadow: 0 1px 0 var(--line); }
.bar-nav, .bar-actions { display: none; }
.bar-nav a { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--text); padding: 6px 0; position: relative; }
.bar-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.bar-nav a:hover::after, .bar-nav a[aria-current="page"]::after { transform: scaleX(1); }
.bar-nav a[aria-current="page"] { color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 16px 5px 5px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); white-space: nowrap;
  background: rgba(255, 255, 255, .35);
  transition: background .3s, border-color .3s;
}
.pill:hover { background: rgba(255, 255, 255, .75); border-color: rgba(29, 27, 24, .3); }
.pill-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(29, 27, 24, .75); }
.pill-icon svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.pill small { font-weight: 400; letter-spacing: .08em; opacity: .7; }
.pill.light { color: #fff; border-color: var(--line-light); background: rgba(255, 255, 255, .06); }
.pill.light:hover { background: rgba(255, 255, 255, .16); }
.pill.light .pill-icon { background: rgba(255, 255, 255, .9); }
.pill.light .pill-icon svg { stroke: var(--ink); }

.menu-btn {
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .4);
  padding: 8px 18px; font-size: 10px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; cursor: pointer;
}
.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--paper);
  padding: calc(var(--bar) + 32px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--serif); font-size: 40px; font-weight: 300; line-height: 1.25; text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 1px solid var(--line); }
.menu nav i { font-style: normal; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--muted); vertical-align: middle; margin-right: 14px; }
.menu-foot { display: grid; gap: 10px; font-size: 14px; }
.menu-foot a { color: var(--text); }
.menu-foot .pill { justify-self: start; margin-bottom: 8px; padding: 6px 20px 6px 6px; font-size: 11px; }
body.menu-open { overflow: hidden; }

/* 01 Hero */
.hero { position: relative; min-height: 100svh; color: #fff; overflow: hidden; background: var(--night); display: flex; }
.slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity 1.8s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.slide.is-on img { animation: kenburns 9s ease-out forwards; }
.slide-wide img { object-position: 50% 60%; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 14, 12, .35) 0%, rgba(15, 14, 12, 0) 22%),
    linear-gradient(0deg, rgba(15, 14, 12, .82) 0%, rgba(15, 14, 12, .35) 45%, rgba(15, 14, 12, 0) 70%),
    linear-gradient(90deg, rgba(15, 14, 12, .45) 0%, rgba(15, 14, 12, 0) 60%);
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: calc(var(--bar) + 40px) var(--gutter) 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.kicker { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .8); padding-bottom: 14px; margin-bottom: 26px; border-bottom: 1px solid var(--line-light); align-self: flex-start; }
.hero h1 { font-family: var(--serif); font-weight: 300; color: #fff; font-size: clamp(46px, 11vw, 124px); line-height: .98; letter-spacing: -.015em; margin-bottom: 26px; max-width: 11em; text-wrap: balance; }
.hero-lede { max-width: 34em; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .86); }
.hero-foot { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-light); display: grid; gap: 22px; }
.hero-stats { margin: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 16px; }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dd { margin: 0; font-family: var(--serif); font-size: clamp(34px, 6vw, 64px); line-height: 1; font-weight: 300; }
.hero-stats dt { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .72); margin-top: 8px; }
.dots { display: flex; gap: 6px; }
.dots button { background: none; border: 0; padding: 10px 0; cursor: pointer; }
.dots span { display: block; width: 32px; height: 1px; background: rgba(255, 255, 255, .35); position: relative; overflow: hidden; }
.dots span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dots [aria-current="true"] span::after { animation: progress 7s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* 02 Approach */
.approach { padding: 104px 0 0; }
.approach-grid { display: grid; gap: 40px; }
.principles { list-style: none; padding: 0; margin: 36px 0 28px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.principles li { font-family: var(--serif); font-size: 23px; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; }
.principles span { font-family: var(--sans); font-size: 10px; letter-spacing: .12em; color: var(--muted); width: 18px; }
.band { position: relative; margin: 96px 0 0; height: 62svh; min-height: 340px; overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band figcaption, .impression { position: absolute; right: var(--gutter); bottom: 16px; margin: 0; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }

/* Parallax (progressive: only where scroll-driven animations exist) */
@supports (animation-timeline: view()) {
  .parallax img { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  /* keep the zoom small: enlarging a photo softens it */
  @keyframes drift { from { transform: translateY(-3%) scale(1.06); } to { transform: translateY(3%) scale(1.06); } }
}

/* Feature sections (full-screen image, text, gallery) */
.feature { background: var(--paper); }
.cinema { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; }
.cinema picture, .cinema img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cinema-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 14, 12, .75) 0%, rgba(15, 14, 12, .1) 50%, rgba(15, 14, 12, .15) 100%); }
.cinema-text { position: absolute; left: 0; right: 0; bottom: 56px; margin: 0 auto; }
.cinema-text h2 { color: #fff; margin-bottom: 18px; }
.cinema-text p { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .82); max-width: 30em; }

.feature-grid { display: grid; gap: 40px; padding-top: 96px; padding-bottom: 72px; }
.feature-quote { margin: 0; }
.feature-quote p { font-family: var(--serif); font-size: clamp(34px, 5.4vw, 64px); line-height: 1.05; color: var(--ink); font-weight: 300; }
.feature-body > p { max-width: 34em; }
.facts { margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts div { background: var(--paper); padding: 18px 18px 16px; display: flex; flex-direction: column-reverse; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--ink); white-space: nowrap; }
.facts dt { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.strip-wrap { padding-bottom: 104px; }
.strip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.strip-head .small { margin: 0; }
.strip-nav { display: none; gap: 8px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .3s; }
.arrow:hover { background: rgba(29, 27, 24, .06); }
.arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }
.strip-item { flex: 0 0 auto; height: 58svh; max-height: 560px; min-height: 300px; scroll-snap-align: start; position: relative; overflow: hidden; text-decoration: none; background: var(--bone); cursor: zoom-in; }
.strip-item img { height: 100%; width: auto; max-width: none; transition: transform 1.2s var(--ease); }
.strip-item span { position: absolute; left: 14px; bottom: 12px; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
@media (hover: hover) { .strip-item:hover img { transform: scale(1.04); } }
/* Phones: fixed card size so the next image peeks in and invites a swipe */
@media (max-width: 719px) {
  .strip-item { height: 64vw; min-height: 0; width: 84vw; }
  .strip-item.tall { width: 48vw; }
  .strip-item img { width: 100%; height: 100%; object-fit: cover; }
  .principles li { font-size: 20px; }
  .cinema { height: 78svh; min-height: 520px; }
  .cinema img { object-position: 50% 12%; }
  .parallax img { animation: none !important; }
}

/* 04 House at Finkenstein */
.house { background: var(--bone); padding: 104px 0; }
.house-grid { display: grid; gap: 40px; }
.house-text .meta { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 18px 0 22px; }
.house-text > p:not(.meta):not(.small) { max-width: 30em; }
.house-images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shot { display: block; overflow: hidden; cursor: zoom-in; background: var(--paper); }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform 1.2s var(--ease); }
.shot.wide { grid-column: 1 / -1; }
.shot.wide img { aspect-ratio: 16 / 9; }
@media (hover: hover) { .shot:hover img { transform: scale(1.03); } }

/* 05 Built work */
.built { padding: 112px 0; }
.head { margin-bottom: 56px; max-width: 52em; }
.head .lede { margin-top: 26px; max-width: 40em; }
.cards { display: grid; gap: 56px 28px; }
.card { display: flex; flex-direction: column; }
.card-img { display: block; overflow: hidden; background: var(--bone); cursor: zoom-in; margin-bottom: 20px; }
.card-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .card:hover .card-img img { transform: scale(1.04); } }
.card-meta { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.card h3 { font-family: var(--serif); font-size: 32px; line-height: 1.1; margin-bottom: 12px; }
.card > p:not(.card-meta) { font-size: 15px; line-height: 1.65; }
.card-link { align-self: flex-start; margin-top: 14px; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 0 0 4px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
.card-link span { display: inline-block; transition: transform .4s var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* 06 Footprint (dark) */
.footprint { background: var(--night); color: rgba(255, 255, 255, .78); padding: 112px 0; }
.footprint h2 { color: #fff; }
.footprint-grid { display: grid; gap: 56px; }
.map { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1000 / 961; }
.map-shape {
  position: absolute; inset: 0; background: #3a3732;
  -webkit-mask: url(img/namibia.webp) center / contain no-repeat;
  mask: url(img/namibia.webp) center / contain no-repeat;
}
.dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #d8cfbf; opacity: .85; }
.js .map.in .dot { animation: ping 2.6s ease-out both; }
.map .dot:nth-child(3n) { animation-delay: .3s; }
.map .dot:nth-child(3n+1) { animation-delay: .6s; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(216, 207, 191, .6); } 70% { box-shadow: 0 0 0 10px rgba(216, 207, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(216, 207, 191, 0); } }
.dot.key { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--night); border: 1.5px solid #fff; opacity: 1; }
.dot.home { background: #fff; }
.dot i { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-style: normal; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.dot.home i { bottom: auto; top: 14px; }

.numbers { margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; }
.numbers div { border-top: 1px solid var(--line-light); padding-top: 14px; }
.numbers dd { margin: 0; font-family: var(--serif); font-size: clamp(44px, 6vw, 68px); line-height: 1; color: #fff; }
.numbers dt { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-top: 8px; }

.project-list { margin-top: 48px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.project-list summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: #fff; display: flex; justify-content: space-between; }
.project-list summary::-webkit-details-marker { display: none; }
.project-list summary::after { content: "+"; font-size: 18px; line-height: .6; }
.project-list[open] summary::after { content: "–"; }
.list-cols { display: grid; gap: 22px; padding: 8px 0 28px; font-size: 14px; line-height: 1.7; }
.list-cols h4 { font-size: 10px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 6px; }

/* 07 Studio */
.studio { padding: 112px 0; }
.studio-grid { display: grid; gap: 48px; }
.portrait { margin: 0; overflow: hidden; }
.portrait img { width: 100%; filter: grayscale(1) contrast(1.02); }
.studio-text h2 { margin-bottom: 30px; }
.studio-text > p { max-width: 34em; }
.timeline { list-style: none; padding: 0; margin: 44px 0 0; border-top: 1px solid var(--line); font-size: 14px; }
.timeline li { display: flex; gap: 22px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.timeline span { flex: 0 0 3em; font-family: var(--serif); font-size: 18px; line-height: 1.3; color: var(--ink); }

/* 08 Process */
.process { background: var(--bone); padding: 112px 0; }
.stages { list-style: none; padding: 0; margin: 0; display: grid; gap: 34px; }
.stage-num { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ink); padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.stages h3 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.stages p { font-size: 15px; line-height: 1.6; }
.stages-title { margin: 0 0 22px; color: var(--ink); }
.ranges-title { margin-top: 72px; }
.ranges { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ranges div { background: var(--bone); padding: 22px 20px; display: flex; flex-direction: column-reverse; }
.ranges dd { margin: 0; font-family: var(--serif); font-size: 30px; color: var(--ink); line-height: 1.1; }
.ranges dt { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* 09 Contact */
.contact { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 14, 12, .95) 0%, rgba(15, 14, 12, .86) 55%, rgba(15, 14, 12, .5) 100%); }
.contact-inner { position: relative; padding-top: 140px; padding-bottom: 72px; }
.contact h2 { color: #fff; margin-bottom: 20px; }
.contact-lede { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin-bottom: 40px; }
.email { display: inline-block; font-family: var(--serif); font-size: clamp(30px, 6vw, 64px); line-height: 1.1; color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-light); padding-bottom: 8px; word-break: break-word; transition: border-color .4s; }
.email:hover { border-color: #fff; }
.contact-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-light); display: grid; gap: 22px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.contact-foot .reg { font-size: 12px; color: rgba(255, 255, 255, .6); max-width: 28em; }
.contact-foot .pill { justify-self: start; }

.foot { background: var(--night); color: rgba(255, 255, 255, .5); border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px var(--gutter) calc(26px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: 12px; }
.foot .wordmark { color: rgba(255, 255, 255, .85); font-size: 12px; }
.foot .wordmark span { color: rgba(255, 255, 255, .45); }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100svh; max-width: none; max-height: none; background: rgba(15, 14, 12, .96); color: #fff; }
.lightbox::backdrop { background: rgba(15, 14, 12, .96); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 12px 72px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox figcaption { margin-top: 16px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-align: center; }
.lb-close { position: absolute; top: 14px; right: 14px; background: none; border: 1px solid var(--line-light); border-radius: 999px; color: #fff; padding: 8px 18px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; }
.lightbox .arrow { position: absolute; top: 50%; transform: translateY(-50%); border-color: var(--line-light); color: #fff; background: rgba(0, 0, 0, .25); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-count { position: absolute; left: 18px; top: 22px; margin: 0; font-size: 10px; letter-spacing: .24em; color: rgba(255, 255, 255, .6); }
.lightbox.single .arrow, .lightbox.single .lb-count { display: none; }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Multi-page additions ---------- */
section[id], .feature { scroll-margin-top: var(--bar); }
.page-top { padding-top: calc(var(--bar) + 72px) !important; }
.page-head { padding-top: calc(var(--bar) + 88px); padding-bottom: 72px; }
.page-head h1 { max-width: 12em; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.subnav a { border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ink); transition: background .3s; }
.subnav a:hover { background: rgba(29, 27, 24, .06); }
.feature + .feature .cinema { margin-top: 0; }

/* Work: house section mirrored (photos left) on a light background */
.house-flip { background: var(--paper); }
@media (min-width: 1100px) {
  .house-flip .house-grid { grid-template-columns: 8fr 4fr; }
  .house-flip .house-images { order: -1; }
}

/* Work: Am Weinberg, the built feature */
.built-feature { background: var(--paper); border-bottom: 1px solid var(--line); }
.feature-name { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.built-feature .house-text .meta { margin-top: 10px; }

/* Home: selected work teasers */
.teaser { padding: 112px 0; }
.teasers { display: grid; gap: 44px 28px; }
.teaser-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.teaser-img { display: block; overflow: hidden; margin-bottom: 18px; background: var(--bone); }
.teaser-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .teaser-card:hover .teaser-img img { transform: scale(1.04); } }
.teaser-title { font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.teaser-card .card-meta { margin-bottom: 6px; }
.teaser-links { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); }
.teaser-links a { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.teaser-links a span { display: inline-block; transition: transform .4s var(--ease); }
.teaser-links a:hover span { transform: translateX(4px); }

/* Home: one showcased project */
.showcase { display: grid; gap: 26px; text-decoration: none; color: var(--ink); }
.showcase-img { display: block; overflow: hidden; background: var(--bone); }
.showcase-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.6s var(--ease); }
@media (hover: hover) { .showcase:hover .showcase-img img { transform: scale(1.03); } }
.showcase-text { display: flex; flex-direction: column; }
.showcase-text .card-meta { margin-bottom: 10px; }
.showcase-title { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6vw, 84px); line-height: 1; margin-bottom: 22px; }
.showcase-lede { font-size: 16px; line-height: 1.7; color: var(--text); max-width: 30em; }
.showcase-link { margin-top: 26px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.showcase-link span { display: inline-block; transition: transform .4s var(--ease); }
.showcase:hover .showcase-link span { transform: translateX(4px); }
.showcase + .showcase { margin-top: 88px; }
.showcase-flip .showcase-img img { aspect-ratio: 16 / 9; } /* keep the full street-front lettering */
@media (min-width: 1100px) {
  .showcase { grid-template-columns: 8fr 4fr; gap: 56px; align-items: end; }
  .showcase-flip { grid-template-columns: 4fr 8fr; }
  .showcase-flip .showcase-img { order: 2; }
}

/* Home: closing call to action */
.cta { background: var(--night); color: #fff; padding: 104px 0; }
.cta-inner { display: grid; gap: 36px; justify-items: start; }
.cta .display { color: #fff; margin: 0; }

/* Studio */
.studio-text h1 { margin-bottom: 30px; }
.pull { margin: 40px 0 0; padding-left: 22px; border-left: 1px solid var(--line); }
.pull p { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; color: var(--ink); }

/* Studio: Deidré's story */
.story-kicker { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.15; color: var(--ink); margin: -8px 0 26px; }
.story-quote { background: var(--bone); padding: 104px 0; }
.story-quote blockquote { margin: 0; max-width: 1040px; }
.story-quote blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.12; color: var(--ink); text-wrap: balance; }
.story-quote footer { margin-top: 26px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.story-row { padding: 104px 0; }
.story-row-flip { background: var(--bone); }
.story-row-grid { display: grid; gap: 40px; align-items: center; }
.story-row-text h2 { margin-bottom: 24px; }
.story-row-text > p { max-width: 32em; }
.story-row-img { margin: 0; }
.story-row-img img { width: 100%; }
.story-row-img figcaption { margin-top: 12px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.sketch-img { background: #fff; padding: 6%; }
.sketch-img img { mix-blend-mode: multiply; max-height: 70svh; width: auto; margin: 0 auto; }
.story-path { padding: 104px 0; }
.story-path-grid { display: grid; gap: 32px; }
.story-path .timeline { margin-top: 0; }
.invite { padding: 120px 0; text-align: left; }
.invite h2 { margin-bottom: 24px; }
.invite .lede { max-width: 34em; margin-bottom: 34px; }

/* Process: other services (extras) */
.extras { padding: 104px 0; }
.extras-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.extras-list li { display: grid; grid-template-columns: 2.4em 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.extras-num { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--muted); }
.extras-list h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; margin-bottom: 8px; }
.extras-list p { font-size: 15px; line-height: 1.65; max-width: 44em; margin: 0; }
.extras-foot { margin-top: 32px; font-size: 14px; }
.extras-foot a { color: var(--ink); text-underline-offset: 3px; }
.foot-legal { flex-basis: 100%; margin: 6px 0 0; font-size: 11px; line-height: 1.6; color: rgba(255, 255, 255, .45); }

/* Enquiry form (contact section, dark background) */
.enquiry { margin-top: 8px; max-width: 760px; display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.field small { letter-spacing: .08em; text-transform: none; color: rgba(255, 255, 255, .5); }
.field input, .field select, .field textarea {
  width: 100%; font: 300 16px/1.4 var(--sans); color: #fff;
  background: rgba(15, 14, 12, .55); border: 1px solid rgba(255, 255, 255, .28); border-radius: 0;
  padding: 13px 14px; transition: border-color .3s, background .3s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option, .field select optgroup { color: var(--ink); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, .12); }
.field textarea { resize: vertical; min-height: 120px; }
.enquiry .invalid { border-color: #e7a28f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 14px; justify-items: start; margin-top: 6px; }
.send { cursor: pointer; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.send[disabled] { opacity: .5; cursor: wait; }
.form-note { margin: 0; font-size: 12px; color: rgba(255, 255, 255, .55); }
.form-status { margin: 0; font-size: 15px; color: #fff; min-height: 1em; }
.enquiry.sent .field, .enquiry.sent .field-row, .enquiry.sent .form-foot { display: none; }
.enquiry.sent .form-status { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; }

/* Footer nav */
.foot-nav { display: flex; gap: 22px; }
.foot-nav a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.foot-nav a:hover { color: #fff; }

@media (min-width: 720px) {
  .teasers { grid-template-columns: repeat(3, 1fr); }
  .teaser-card:nth-child(2) { margin-top: 64px; }
  .cta-inner { grid-template-columns: 1fr auto; align-items: end; }
}

/* Tablet */
@media (min-width: 720px) {
  :root { --gutter: 40px; --bar: 72px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stages { grid-template-columns: repeat(2, 1fr); gap: 44px 40px; }
  .ranges { grid-template-columns: repeat(3, 1fr); }
  .numbers { grid-template-columns: repeat(3, 1fr); }
  .list-cols { grid-template-columns: 1fr 1fr; }
  .list-cols .span { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .strip-nav { display: flex; }
  .hero-foot { grid-template-columns: 1fr auto; align-items: end; }
  .hero-stats { justify-content: start; gap: 64px; }
  .contact-foot { grid-template-columns: 1fr 1fr; align-items: end; }
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* Desktop */
@media (min-width: 1100px) {
  .bar-nav { display: flex; gap: 30px; }
  .bar-actions { display: flex; gap: 10px; }
  .menu-btn { display: none; }
  .wordmark { font-size: 15px; }
  .hero-inner { padding-bottom: 36px; }
  .hero-lede { font-size: 17px; }
  .approach-grid { grid-template-columns: 7fr 5fr; gap: 80px; align-items: start; }
  /* optical nudge: first line of the paragraph sits level with the heading's first line */
  .approach-body { padding-top: 10px; }
  /* one sentence per line */
  .approach-grid { grid-template-columns: 3fr 2fr; }
  .approach-head { font-size: clamp(40px, 4.2vw, 64px); text-wrap: nowrap; }
  .feature-grid { grid-template-columns: 6fr 5fr; gap: 96px; align-items: start; }
  .house-grid { grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; }
  .house-text { position: sticky; top: calc(var(--bar) + 40px); }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 72px 36px; }
  .footprint-grid { grid-template-columns: 5fr 7fr; gap: 96px; align-items: center; }
  .list-cols { grid-template-columns: repeat(3, 1fr); }
  .studio-grid { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
  .portrait { position: sticky; top: calc(var(--bar) + 40px); }
  .story-row-grid { grid-template-columns: 6fr 5fr; gap: 88px; }
  .story-row-flip .story-row-grid { grid-template-columns: 5fr 6fr; }
  .story-row-flip .story-row-img { order: -1; }
  .story-path-grid { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
  .extras-list { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .extras-list li:nth-child(2) { border-top: 0; }
  .stages { grid-template-columns: repeat(5, 1fr); gap: 32px; }
  .strip-item { height: 64svh; max-height: 620px; }
  .strip { gap: 14px; }
}

@media (min-width: 1500px) {
  .strip { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .slide img, .reveal, .strip-item img, .card-img img, .shot img { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .parallax img { animation: none !important; }
  .dots span::after { animation: none !important; }
}
