:root{
  --ground:#FCFBF8; --ground-2:#F5F2EC;
  --ink:#2B2721; --ink-2:#8A8175;
  --hair:#EAE4D9; --brass:#A8874C;
  --logo-blend:multiply; --logo-filter:none;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ground:#141310; --ground-2:#1B1915;
    --ink:#EDE7DA; --ink-2:#8F8676;
    --hair:#2A2620; --brass:#C9A96A;
    --logo-blend:screen; --logo-filter:invert(1);
  }
}
:root[data-theme="dark"]{
  --ground:#141310; --ground-2:#1B1915;
  --ink:#EDE7DA; --ink-2:#8F8676;
  --hair:#2A2620; --brass:#C9A96A;
  --logo-blend:screen; --logo-filter:invert(1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }

body{
  margin:0; background:var(--ground); color:var(--ink);
  font-family:"Jost", ui-sans-serif, system-ui, sans-serif;
  font-weight:300; font-size:16px; line-height:1.85;
  letter-spacing:0.012em; -webkit-font-smoothing:antialiased;
}

/* pictures keep their own proportions — nothing is ever cropped */
figure{ margin:0; }
img{ display:block; width:100%; height:auto; max-width:100%; }

/* ---------- nav ---------- */
nav{
  position:sticky; top:0; z-index:20;
  background:color-mix(in srgb, var(--ground) 90%, transparent);
  backdrop-filter:blur(12px);
}
.nav-inner{
  max-width:1180px; margin:0 auto; padding:20px 28px;
  position:relative; min-height:76px;
  display:flex; align-items:center; justify-content:space-between;
}
/* the name reads from the left, the mark holds the centre */
.wordmark{
  font-weight:300; font-size:12px; letter-spacing:0.42em;
  text-transform:uppercase; color:var(--ink); text-decoration:none;
  transition:color .25s ease; white-space:nowrap;
}
.wordmark:hover, .wordmark:focus-visible{ color:var(--brass); }
.brand{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  display:block; text-align:center; text-decoration:none; color:var(--ink);
}
.brand img{
  width:46px; height:auto; margin:0 auto;
  filter:var(--logo-filter); opacity:.92;
}
.mark{
  font-weight:300; font-size:12px; letter-spacing:0.42em;
  text-transform:uppercase; color:var(--ink); text-decoration:none;
}
.nav-links{ display:flex; gap:34px; }
.nav-links a{
  font-size:10.5px; letter-spacing:0.26em; text-transform:uppercase;
  color:var(--ink-2); text-decoration:none; font-weight:300;
  transition:color .25s ease;
}
.nav-links a[aria-current="page"]{ color:var(--ink); }
.nav-links a:hover, .nav-links a:focus-visible{ color:var(--brass); }
@media (max-width:640px){
  .nav-inner{
    padding:16px 20px 14px; min-height:0;
    flex-direction:column; align-items:center; justify-content:center; gap:11px;
  }
  .brand{ position:static; transform:none; order:1; }
  .wordmark{ order:2; letter-spacing:0.22em; font-size:11px; }
  .nav-links{ order:3; }
  .nav-links{ gap:15px; }
  .nav-links a{ letter-spacing:0.1em; font-size:9.5px; }
  .mark{ letter-spacing:0.22em; font-size:11px; }
  .brand img{ width:38px; margin-bottom:7px; }
}

/* ---------- mastheads ---------- */
.masthead{ text-align:center; padding:62px 28px 46px; }
.masthead.page{ padding:96px 28px 66px; }
.masthead h1{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:300; font-size:clamp(34px,7vw,88px);
  line-height:1.14; letter-spacing:0.012em; margin:0 0 26px; text-wrap:balance;
}
.masthead.page h1{ font-size:clamp(34px,6vw,64px); margin-bottom:28px; }
.masthead h1 em{ font-style:italic; color:var(--brass); }
.masthead p{
  max-width:44ch; margin:0 auto; color:var(--ink-2);
  font-size:14.5px; letter-spacing:0.05em; line-height:2;
}
@media (max-width:640px){
  .masthead{ padding:40px 22px 32px; }
  .masthead.page{ padding:62px 22px 44px; }
}

.eyebrow{
  font-size:9.5px; letter-spacing:0.32em; text-transform:uppercase;
  color:var(--brass); margin:0 0 26px;
}

/* ---------- plates ---------- */
.plate{ padding:0 44px; margin:0 auto 118px; max-width:1020px; }
.plate.wide{ max-width:1300px; padding:0 28px; }
.plate.tall{ max-width:640px; }
.plate.tight{ margin-bottom:62px; }
@media (max-width:700px){ .plate{ padding:0 20px; margin-bottom:76px; } }

.cap{ text-align:center; margin-top:30px; }
.cap .name{
  display:block; font-family:"Cormorant Garamond", Georgia, serif;
  font-size:27px; font-weight:300; letter-spacing:0.035em;
}
.cap .meta{
  display:block; margin-top:9px;
  font-size:9.5px; letter-spacing:0.3em; text-transform:uppercase; color:var(--ink-2);
}
.cap .note{
  display:block; margin:14px auto 0; max-width:48ch;
  color:var(--ink-2); font-size:14.5px; line-height:1.95;
}

.duo{ display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:start; }
@media (max-width:760px){ .duo{ grid-template-columns:1fr; gap:20px; } }

/* ---------- statement ---------- */
.statement{
  text-align:center; padding:104px 28px;
  border-top:1px solid var(--hair); border-bottom:1px solid var(--hair);
  margin:0 auto 118px; max-width:1300px;
}
.statement p{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(23px,3.6vw,38px); font-style:italic;
  font-weight:300; line-height:1.5; max-width:24ch; margin:0 auto; color:var(--ink);
}
@media (max-width:640px){ .statement{ padding:66px 22px; margin-bottom:76px; } }
/* a statement sitting straight on the enquiry block drew two hairlines with
   nothing between them — keep one rule and one gap */
.statement:has(+ .foot-cta){ margin-bottom:0; }
.statement + .foot-cta{ border-top:0; }

/* ---------- passages ---------- */
.passage{ padding:0 28px; margin:0 auto 74px; text-align:center; }
h2{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:300; font-size:clamp(28px,4.2vw,44px); line-height:1.22;
  margin:0 auto 28px; letter-spacing:0.015em; max-width:20ch; text-wrap:balance;
}
.prose{
  max-width:52ch; margin:0 auto; color:var(--ink-2);
  font-size:15.5px; line-height:2;
}
.prose p{ margin:0 0 20px; }
.prose p:last-child{ margin-bottom:0; }
.prose strong{ color:var(--ink); font-weight:400; }

/* ---------- the record list ---------- */
.record{ max-width:900px; margin:0 auto 118px; padding:0 28px; }
.record ul{ list-style:none; margin:0; padding:0; border-top:1px solid var(--hair); }
.record li{
  display:grid; grid-template-columns:1fr auto; gap:20px; align-items:baseline;
  padding:18px 2px; border-bottom:1px solid var(--hair);
}
.record .nm{ font-family:"Cormorant Garamond", Georgia, serif; font-size:21px; letter-spacing:0.03em; }
.record .ds{ display:block; color:var(--ink-2); font-size:14px; line-height:1.8; margin-top:3px; max-width:56ch; }
.record .kind{
  font-size:9.5px; letter-spacing:0.28em; text-transform:uppercase;
  color:var(--ink-2); white-space:nowrap;
}

/* ---------- onward links ---------- */
.more{ text-align:center; margin:0 auto 118px; padding:0 28px; }
.more a, a.quiet{
  font-size:10.5px; letter-spacing:0.28em; text-transform:uppercase;
  color:var(--ink); text-decoration:none;
  border-bottom:1px solid var(--brass); padding-bottom:7px;
  transition:color .25s ease;
}
.more a:hover, .more a:focus-visible, a.quiet:hover, a.quiet:focus-visible{ color:var(--brass); }

/* three doors on the home page */
.doors{
  max-width:1300px; margin:0 auto 118px; padding:0 28px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
}
.doors.two{ grid-template-columns:repeat(2,1fr); max-width:1020px; }
@media (max-width:820px){ .doors{ grid-template-columns:1fr; gap:34px; } .doors.two{ grid-template-columns:1fr; } }
.door{ text-decoration:none; color:inherit; display:block; }
/* the three doors are navigation, not the work — a shared 3:2 keeps the labels level */
.door figure{ background:var(--ground-2); overflow:hidden; aspect-ratio:3/2; }
.door img{ height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.2,.7,.3,1); }
.door:hover img, .door:focus-visible img{ transform:scale(1.03); }
.door .t{
  display:block; margin-top:20px; text-align:center;
  font-family:"Cormorant Garamond", Georgia, serif; font-size:25px; font-weight:300;
  letter-spacing:0.035em;
}
.door .s{
  display:block; margin-top:8px; text-align:center;
  font-size:13.5px; color:var(--ink-2); line-height:1.8;
}
.door:hover .t, .door:focus-visible .t{ color:var(--brass); }

/* ---------- stages: the process in the same ruled form as the credits ---------- */
.stages{
  list-style:none; margin:0 auto; padding:0; max-width:58ch;
  border-top:1px solid var(--hair); text-align:left;
}
.stages li{
  display:grid; grid-template-columns:54px 1fr; gap:16px;
  padding:16px 0; border-bottom:1px solid var(--hair);
  font-size:14.5px; line-height:1.85; color:var(--ink-2);
}
.stages .no{ font-size:9.5px; letter-spacing:0.22em; color:var(--brass); padding-top:6px; }
.stages b{ color:var(--ink); font-weight:400; }
@media (max-width:560px){ .stages li{ grid-template-columns:40px 1fr; gap:12px; } }

.listhead{
  max-width:46ch; margin:34px auto 0; text-align:left;
  font-size:9.5px; letter-spacing:0.28em; text-transform:uppercase; color:var(--ink-2);
}
.listhead + .credits{ margin-top:10px; }

/* ---------- credits ---------- */
.credits{
  list-style:none; margin:40px auto 0; padding:0; max-width:46ch;
  border-top:1px solid var(--hair); text-align:left;
}
.credits li{
  display:grid; grid-template-columns:54px 1fr; gap:16px;
  padding:13px 0; border-bottom:1px solid var(--hair);
  font-size:14px; line-height:1.75; color:var(--ink-2);
}
.credits .yr{ font-size:9.5px; letter-spacing:0.22em; color:var(--brass); padding-top:5px; }
.credits b{ color:var(--ink); font-weight:400; }

/* ---------- terms ---------- */
.terms{
  list-style:none; margin:0 auto; padding:0; max-width:46ch;
  border-top:1px solid var(--hair); text-align:left;
}
.terms li{
  display:grid; grid-template-columns:auto 1fr; gap:18px;
  padding:15px 0; border-bottom:1px solid var(--hair);
  font-size:14.5px; line-height:1.8; color:var(--ink-2);
}
.terms .k{
  font-size:9.5px; letter-spacing:0.24em; text-transform:uppercase;
  color:var(--brass); white-space:nowrap; padding-top:5px; min-width:9ch;
}
.terms b{ color:var(--ink); font-weight:400; }

/* ---------- contact ---------- */
a.mailto{
  display:inline-block; margin-top:14px;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(25px,4vw,40px); font-weight:300;
  color:var(--ink); text-decoration:none;
  border-bottom:1px solid var(--hair); padding-bottom:6px;
  transition:color .25s ease, border-color .25s ease;
}
a.mailto:hover, a.mailto:focus-visible{ color:var(--brass); border-color:var(--brass); }

/* ---------- gallery wall ---------- */
/* uniform grid — every cell the same 3:2, pictures cropped to fit it */
.wall{
  max-width:1400px; margin:0 auto; padding:0 28px 24px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
}
.wall figure{ aspect-ratio:3/2; overflow:hidden; background:var(--ground-2); }
.wall figure img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:1000px){ .wall{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .wall{ gap:9px; padding:0 16px 14px; } }
@media (max-width:420px){ .wall{ grid-template-columns:1fr; } }

/* ---------- foot ---------- */
.foot-cta{
  text-align:center; padding:82px 28px 0; max-width:1300px; margin:0 auto;
  border-top:1px solid var(--hair);
}
.foot-cta h2{ margin-bottom:26px; }
.foot-cta p{ max-width:52ch; margin:0 auto 26px; color:var(--ink-2); font-size:15.5px; line-height:2; }

footer{
  padding:64px 28px 76px; text-align:center;
  font-size:9.5px; letter-spacing:0.26em; text-transform:uppercase; color:var(--ink-2);
}
footer img{
  width:30px; height:auto; margin:0 auto 18px; opacity:.45;
  filter:var(--logo-filter);
}
footer .fl{ display:flex; justify-content:center; gap:26px; margin-top:16px; flex-wrap:wrap; }
footer .fl a{ color:var(--ink-2); text-decoration:none; transition:color .25s ease; }
footer .fl a:hover, footer .fl a:focus-visible{ color:var(--brass); }

a:focus-visible{ outline:1px solid var(--brass); outline-offset:5px; }

/* piece names — bottom left of each tile, on hover; always shown where there is no hover */
.wall figure{ position:relative; }
.wall figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding:34px 14px 11px; text-align:left;
  font-size:8.5px; letter-spacing:0.26em; text-transform:uppercase;
  color:#fff; text-shadow:0 1px 5px rgba(0,0,0,.6);
  background:linear-gradient(to top, rgba(0,0,0,.40), rgba(0,0,0,0));
  opacity:0; transition:opacity .35s ease; pointer-events:none;
}
.wall figure:hover figcaption{ opacity:1; }
@media (hover:none){ .wall figcaption{ opacity:1; } }
