/* ------------------------------------------------------------------
   AO Design Kitchens & Joinery
   Direction: THE WALL — every page is dark, and the work is the ground
   the page is built on. A fixed photo wall sits behind everything; the
   content floats over it in dark glass and cut marble.
   Static. No scroll-driven animation. Motion is hover and cross-fade.
   ------------------------------------------------------------------ */

/* ------------------------------------------------------------------
   Montserrat, full weight axis.
   assets/fonts/fonts.css is generated by tools/selfhost-fonts.mjs and only
   declares Montserrat at 500 and 600, but the file it points at is the
   variable font with the whole 100-900 axis in it. Declaring it again under
   its own name unlocks the light weights the hero uses, and costs no extra
   request because it is the same already-cached file.
   ------------------------------------------------------------------ */
@font-face{
  font-family:'Montserrat VF';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url(/assets/fonts/Montserrat-variable-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Montserrat VF';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url(/assets/fonts/Montserrat-variable-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root{
  /* Dark only (round 3: the client asked for the white option to go).
     color-scheme makes the browser draw scrollbars, the native <select> on
     the contact form and form field autofill dark to match. */
  color-scheme: dark;

  --ground:      #100f0e;   /* the page, and the inside of any solid panel */
  --ground-deep: #1a1917;   /* a hole waiting for a photo to load */
  --ink:         #f3f1ee;   /* type. Light, because the page is dark */
  --vein:        #cbb392;   /* the one warm accent, taken from the gold in the marble */

  --rule:  color-mix(in srgb, var(--ink) 17%, transparent);
  --quiet: color-mix(in srgb, var(--ink) 62%, transparent);

  --stone-ink: #171512;     /* type that sits ON marble, not on the page */

  /* ---- theme tokens: panels, rules and type over the photo wall ---- */
  --ink-strong: #fff;                      /* headings, the brightest type */
  --panel:      rgba(14,13,12,.62);        /* glass over the photo wall */
  --panel-2:    rgba(14,13,12,.66);        /* the same, one step denser */
  --panel-line: rgba(255,255,255,.16);     /* the hairline around a panel */
  --head-bg:    rgba(12,11,10,.58);        /* the sticky header */
  --field-bg:   rgba(255,255,255,.05);     /* a form field */
  --field-bg-2: rgba(255,255,255,.08);     /* a form field, focused */
  --option-bg:  #1a1917;                   /* the OS drawn select menu */
  --edge:       rgba(255,255,255,.22);     /* the edge of a marble band */
  --lb-bg:      rgba(10,9,8,.9);           /* the lightbox ground */
  /* the scrim that makes anything readable over the photo wall */
  --scrim: linear-gradient(180deg, rgba(12,11,10,.80) 0%, rgba(12,11,10,.62) 38%, rgba(12,11,10,.86) 100%),
           radial-gradient(120% 80% at 50% 40%, rgba(12,11,10,.10) 0%, rgba(12,11,10,.66) 100%);
  --scrim-deep: linear-gradient(180deg, rgba(12,11,10,.82) 0%, rgba(12,11,10,.72) 40%, rgba(12,11,10,.88) 100%),
           radial-gradient(120% 80% at 50% 35%, rgba(12,11,10,.28) 0%, rgba(12,11,10,.72) 100%);

  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --brand: "Montserrat", var(--sans);
  --brand-vf: "Montserrat VF", "Montserrat", var(--sans);

  --gut: clamp(20px, 5vw, 72px);
  --max: 1560px;
}

*,*::before,*::after{ box-sizing:border-box }
html{ -webkit-text-size-adjust:100% }
body{
  margin:0;
  background:var(--ground);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block }
a{ color:inherit }

.wrap{ max-width:var(--max); margin:0 auto; padding-inline:var(--gut) }

/* ------------------------------------------------------------------
   THE WALL
   Fixed behind every page: a grid of finished kitchens, edge to edge.
   The scrim is not decoration - without it nothing laid over the wall
   is readable. Pages carrying long copy add .wall--deep.
   ------------------------------------------------------------------ */
.wall{
  position:fixed; inset:0; z-index:0; overflow:hidden;
  display:grid; gap:2px;
  grid-template-columns:repeat(4,1fr);
  grid-template-rows:repeat(2,1fr);
}
.wall img{
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(.92) contrast(1.02);
}
.wall::after{
  content:""; position:absolute; inset:0;
  background:var(--scrim);
}
.wall--deep::after{
  background:var(--scrim-deep);
}
@media(max-width:900px){
  .wall{ grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(4,1fr) }
}
body > main, body > header, body > footer{ position:relative; z-index:1 }

/* ---------- panels ---------- */
.glass{
  background:var(--panel);
  backdrop-filter:saturate(140%) blur(16px);
  border:1px solid var(--panel-line);
}
/* ---------- type ---------- */
.eyebrow{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--quiet);
  margin:0;
}
.display{
  font-family:var(--serif);
  font-weight:400;
  font-optical-sizing:auto;
  letter-spacing:-.021em;
  line-height:1.06;
  margin:0;
  font-size:clamp(34px, 5.4vw, 78px);
  color:var(--ink-strong);
  text-shadow:0 2px 40px rgba(0,0,0,.5);
}
.display--sm{ font-size:clamp(27px, 3.3vw, 46px); line-height:1.12; letter-spacing:-.018em }
.lede{
  font-size:clamp(16px, 1.25vw, 19px);
  line-height:1.65;
  max-width:46ch;
  color:color-mix(in srgb, var(--ink) 84%, transparent);
}

/* ---------- link ---------- */
.link{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--ink-strong);
  border-bottom:1px solid color-mix(in srgb, var(--ink-strong) 42%, transparent);
  padding-bottom:3px;
  transition:border-color .3s ease, color .3s ease;
}
.link:hover{ border-bottom-color:var(--ink-strong) }
.links{ display:flex; flex-wrap:wrap; gap:14px 34px; align-items:center }

/* ---------- header ---------- */
.site-head{
  position:sticky; top:0; z-index:20;
  background:var(--head-bg);
  backdrop-filter:saturate(140%) blur(14px);
  border-bottom:1px solid var(--panel-line);
}
.site-head__in{
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; min-height:74px;
  max-width:var(--max); margin:0 auto; padding-inline:var(--gut);
}
.mark{ text-decoration:none; display:flex; align-items:baseline; gap:10px; line-height:1 }
.mark__word{
  font-family:var(--brand);
  font-weight:600;
  font-size:29px;   /* round 3: a little bigger, client ask */
  letter-spacing:-.02em;
  color:var(--ink);
}
.mark__word span{ color:color-mix(in srgb, var(--ink) 48%, transparent) }
.mark__est{
  font-family:var(--mono); font-size:10.5px; letter-spacing:.2em;
  text-transform:uppercase; color:var(--quiet); white-space:nowrap;
}
.nav{ display:flex; align-items:center; gap:clamp(14px,2vw,30px); flex-wrap:wrap; margin-left:auto }

/* Instagram, Facebook, TikTok in the header (round 3) */
.head-social{ display:flex; align-items:center; gap:2px; margin-left:clamp(4px,1vw,14px) }
.head-social a{
  display:grid; place-items:center; width:38px; height:38px; border-radius:50%;
  color:color-mix(in srgb, var(--ink) 74%, transparent); transition:color .25s ease, background-color .25s ease;
}
.head-social a:hover{ color:var(--ink-strong); background:color-mix(in srgb, var(--ink) 10%, transparent) }
.nav a{
  font-family:var(--mono); font-size:11.5px; letter-spacing:.16em;
  text-transform:uppercase; text-decoration:none;
  color:color-mix(in srgb, var(--ink) 74%, transparent);
  transition:color .25s ease;
}
.nav a:hover{ color:var(--ink-strong) }
.nav a[aria-current="page"]{
  color:var(--ink-strong);
  text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px;
}

/* ------------------------------------------------------------------
   PAGE HERO - the subpage equivalent of the home page hero. Sits
   straight on the wall, no panel, so the work is the first thing seen.
   ------------------------------------------------------------------ */
.phero{
  padding-block:clamp(56px,9vw,132px) clamp(40px,6vw,80px);
  display:grid; gap:clamp(20px,2.6vw,36px);
}
.phero h1{ max-width:15ch }
.phero__foot{ display:grid; gap:clamp(16px,2vw,30px); grid-template-columns:1fr; align-items:end }
@media(min-width:920px){
  .phero__foot{ grid-template-columns:minmax(0,46ch) minmax(0,1fr) auto }
}
.phero__lede{ margin:0; font-size:clamp(15px,1.2vw,18px); line-height:1.65; color:color-mix(in srgb, var(--ink) 86%, transparent); max-width:none }

/* ---------- marble band ---------- */
/* One page takes the stone full bleed, edge to edge, so the through-line is
   seen to change across the site rather than repeat at the same inset on
   every page. Completed Projects carries it. */
.band--bleed{ margin-inline:calc(var(--gut) * -1) !important; border-left:0; border-right:0 }
@media(min-width:1560px){ .band--bleed{ margin-inline:calc((100vw - var(--max)) / -2 - var(--gut)) !important } }

.band{
  position:relative;
  margin-inline:2cm;
  margin-block:clamp(48px, 7vw, 104px);
  min-height:clamp(240px, 30vw, 420px);
  display:grid; place-items:center;
  overflow:hidden;
  border:1px solid var(--edge);
  background:radial-gradient(120% 90% at 50% 50%, #f7f5f3 0%, #efece8 55%, #e4e0db 100%);
}
@media(max-width:900px){
  .band{ margin-inline:16px; margin-block:clamp(36px,8vw,64px); min-height:clamp(220px,42vw,320px) }
}
/* A photograph of AO's own Arabescato island, cut from the Drake St job,
   rather than a procedurally drawn canvas. Real stone beside real
   photographs; the generated one read as a texture next to them. */
.band__img{
  position:absolute; inset:0; width:100%; height:100%; display:block;
  object-fit:cover; object-position:center 62%;
}
.band::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:radial-gradient(60% 80% at 50% 50%, rgba(255,255,255,.72) 0%, rgba(255,255,255,.18) 70%, rgba(255,255,255,0) 100%);
}
.band__line{
  position:relative; z-index:2;
  font-family:var(--serif); font-weight:400;
  font-size:clamp(21px, 3vw, 42px);
  line-height:1.22; letter-spacing:-.015em; text-align:center;
  color:var(--stone-ink);
  margin:0; padding:0 clamp(20px,5vw,64px);
  max-width:24ch;
}
.band__tag{
  position:absolute; z-index:2; right:clamp(16px,3vw,34px); bottom:14px;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:#2a2721;
}

/* ---------- sections ---------- */
.section{ padding-block:clamp(64px, 9vw, 140px) }
.section--tight{ padding-block:clamp(44px, 6vw, 90px) }
.section__head{
  display:grid; gap:18px; align-items:end;
  grid-template-columns:1fr; margin-bottom:clamp(32px,4vw,60px);
}
@media(min-width:860px){
  .section__head{ grid-template-columns:minmax(0,1fr) minmax(0,34ch); gap:48px }
}

/* ---------- practice facts ---------- */
/* Translucent cells over a hairline grid, so the wall reads through them */
.facts{
  display:grid; gap:1px; background:var(--rule);
  border:1px solid var(--rule);
  grid-template-columns:1fr;
}
@media(min-width:700px){ .facts{ grid-template-columns:repeat(2,1fr) } }
@media(min-width:1080px){ .facts{ grid-template-columns:repeat(4,1fr) } }
.fact{
  background:var(--panel-2); backdrop-filter:saturate(140%) blur(16px);
  padding:28px 26px 30px; display:grid; gap:10px; align-content:start;
}
.fact__n{
  font-family:var(--serif); font-size:clamp(30px,3vw,42px); line-height:1.05;
  letter-spacing:-.018em; color:var(--ink-strong);
}
.fact__t{ font-size:14.5px; line-height:1.55; color:color-mix(in srgb, var(--ink) 78%, transparent); margin:0 }
.fact__t strong{ color:var(--ink-strong); font-weight:600 }

/* ------------------------------------------------------------------
   PROJECT SETS - Completed Projects
   One job per block: a heading column and the photographs of that job.
   The copy under each heading describes only what is visible in the
   photographs. Specifications go in when the client sends them.
   ------------------------------------------------------------------ */
.sets{ display:grid; gap:clamp(56px,8vw,120px); padding-bottom:clamp(48px,7vw,110px) }
.set{ display:grid; gap:clamp(20px,2.6vw,36px) }
@media(min-width:1040px){
  /* the heading column is narrow and sticks, so a long job stays labelled
     while its photographs run past */
  .set{ grid-template-columns:minmax(0,30ch) minmax(0,1fr); gap:clamp(32px,4vw,64px); align-items:start }
  .set__head{ position:sticky; top:104px }
}
.set__head{ display:grid; gap:14px; align-content:start }
.set__head h2{ margin:0 }
.set__head .lede{ margin:0; font-size:15px; line-height:1.62; max-width:38ch }

/* Photographs are laid out by their own aspect ratio: flex-grow is set to
   --ar (written on the figure from the real file dimensions) against a zero
   basis, so each photograph takes width in proportion to its shape and every
   photograph in a row therefore ends up exactly the same height. Nothing is
   cropped, and a landscape next to a portrait still bottoms out level.
   A set with one photograph is capped so it does not fill the screen. */
.set__grid{ display:flex; gap:clamp(8px,1vw,16px); align-items:flex-start }
.set__grid figure{ margin:0; overflow:hidden; flex:var(--ar,1) 1 0; min-width:0 }
/* One set runs the other way, with its photograph bleeding off the left edge
   of the page. Without it the page is six identical heading columns at the
   same x, which reads as a template however good the photographs are. */
@media(min-width:1040px){
  .set--flip{ grid-template-columns:minmax(0,1fr) minmax(0,30ch) }
  .set--flip .set__head{ order:2 }
  .set--flip .set__grid{ margin-left:calc(var(--gut) * -1) }
  .set--flip .set__grid--1 figure{ max-width:none }
}

/* --2 and --3 carry no rules on purpose: with widths driven by --ar the row
   justifies itself whatever the count. They stay on the markup because the
   count is worth being able to read off the HTML. */
.set__grid--1 figure{ max-width:calc(var(--ar,1) * clamp(300px, 40vw, 520px)) }
.set__grid img{
  width:100%; height:auto; display:block; background:var(--ground-deep);
  transition:transform .9s cubic-bezier(.4,.05,.2,1);
}
.set__grid .split__cap{ padding:10px 2px 0 }
@media(max-width:759px){
  /* a phone gets one photograph per row at full width */
  .set__grid{ flex-wrap:wrap }
  .set__grid figure{ flex:1 1 100% }
  .set__grid--1 figure{ max-width:100% }
}
@media(hover:hover){ .set__grid figure:hover img{ transform:scale(1.03) } }

/* ---------- quotes ---------- */
.quotes{ display:grid; gap:1px; background:var(--rule); border:1px solid var(--rule) }
@media(min-width:760px){ .quotes{ grid-template-columns:repeat(2,1fr) } }
@media(min-width:1180px){ .quotes{ grid-template-columns:repeat(4,1fr) } }
.quote{
  background:var(--panel-2); backdrop-filter:saturate(140%) blur(16px);
  padding:32px 26px 34px; display:grid; gap:16px; align-content:space-between; margin:0;
}
.quote p{
  font-family:var(--serif); font-size:clamp(17px,1.5vw,22px); line-height:1.34;
  letter-spacing:-.01em; margin:0; color:var(--ink-strong);
}
.quote footer{
  font-family:var(--mono); font-size:10.5px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--quiet); line-height:1.7;
}

/* ------------------------------------------------------------------
   FAQ
   Native <details>, so it opens with no JavaScript and a keyboard and a
   screen reader both get it for free.
   ------------------------------------------------------------------ */
/* Held to a readable measure: a question row stretched to 1300px puts the
   open/close marker a long way from the words it belongs to. */
.faq{ display:grid; gap:1px; background:var(--rule); border:1px solid var(--rule); max-width:1020px }
.faq__q{
  background:var(--panel-2); backdrop-filter:saturate(140%) blur(16px);
}
.faq__q summary{
  cursor:pointer; list-style:none; padding:22px clamp(20px,2.4vw,34px);
  display:flex; align-items:baseline; justify-content:space-between; gap:24px;
  font-family:var(--serif); font-size:clamp(17px,1.55vw,22px); line-height:1.3;
  letter-spacing:-.012em; color:var(--ink-strong);
  transition:color .25s ease;
}
.faq__q summary::-webkit-details-marker{ display:none }
.faq__q summary::after{
  content:"+"; flex:none; font-family:var(--mono); font-size:19px; line-height:1;
  color:var(--vein); transition:transform .3s ease;
}
.faq__q[open] summary::after{ transform:rotate(45deg) }
.faq__q summary:hover{ color:var(--vein) }
.faq__a{
  padding:0 clamp(20px,2.4vw,34px) 26px;
  max-width:74ch;
}
.faq__a p{ margin:0 0 12px; font-size:15px; line-height:1.68; color:color-mix(in srgb, var(--ink) 80%, transparent) }
.faq__a p:last-child{ margin-bottom:0 }
.faq__a a{ color:var(--vein) }

/* ---------- FAQ: the Materials group ----------
   The accordion caps at 1020px for readability, which left the right 60% of a
   1440px page doing nothing for three screens. Materials is the one group
   where an image carries information, so it takes that space and runs off the
   right edge of the page rather than stopping politely at the gutter. */
.faq-split{ display:grid; gap:clamp(24px,3vw,48px); grid-template-columns:1fr }
@media(min-width:1100px){
  .faq-split{ grid-template-columns:minmax(0,1fr) minmax(0,34%); align-items:start }
  .faq-split__fig{
    margin:0; overflow:hidden; background:var(--ground-deep);
    margin-right:calc(var(--gut) * -1);   /* the bleed */
    position:sticky; top:104px;
  }
  .faq-split__fig img{ width:100%; height:auto; display:block }
}
@media(max-width:1099px){
  /* on a narrow screen it sits under the questions, still bled right */
  .faq-split__fig{ margin:0 calc(var(--gut) * -1) 0 0; overflow:hidden; background:var(--ground-deep) }
  .faq-split__fig img{ width:100%; height:auto; display:block }
}

/* ---------- about ---------- */
/* A long read, so it gets a panel of its own rather than sitting straight
   on the wall like a heading does. */
.prose{ max-width:70ch; display:grid; gap:20px }
.prose p{ margin:0; font-size:clamp(15.5px,1.15vw,17.5px); line-height:1.72; color:color-mix(in srgb, var(--ink) 84%, transparent) }
.prose h2{
  font-family:var(--serif); font-weight:400; margin:18px 0 0; color:var(--ink-strong);
  font-size:clamp(22px,2.4vw,32px); line-height:1.15; letter-spacing:-.018em;
}
.prose h2:first-child{ margin-top:0 }
.prose strong{ color:var(--ink-strong); font-weight:600 }

.split{ display:grid; gap:clamp(24px,3.4vw,60px); grid-template-columns:1fr; align-items:start }
@media(min-width:1000px){ .split{ grid-template-columns:minmax(0,1fr) minmax(0,42%) } }
.split__fig{ margin:0; overflow:hidden; background:var(--ground-deep) }
.split__fig img{ width:100%; height:auto }
.split__cap{
  padding:12px 2px 0; font-family:var(--mono); font-size:9.5px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--quiet);
}

/* ---------- one photograph, bled ----------
   Used under the contact form. It runs off the right edge of the page so the
   form is not sitting on top of a tidy four up grid of thumbnails. */
.shelf{ padding-bottom:clamp(40px,6vw,90px) }
.shelf__fig{ margin:0; overflow:hidden; background:var(--ground-deep); margin-right:calc(var(--gut) * -1) }
.shelf__fig img{ width:100%; height:auto; display:block }

/* ---------- contact ---------- */
.contact{ display:grid; gap:clamp(32px,5vw,72px); grid-template-columns:1fr }
@media(min-width:940px){ .contact{ grid-template-columns:minmax(0,1fr) minmax(0,46ch); align-items:start } }
.panel{ padding:clamp(24px,3vw,44px) }
.dl{ margin:0; border-top:1px solid var(--rule) }
/* round 3: label and value sit close together instead of at opposite edges */
.dl div{ display:grid; grid-template-columns:110px 1fr; align-items:baseline; gap:16px; padding:10px 0; border-bottom:1px solid var(--rule) }
.dl dt{ font-family:var(--mono); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--quiet) }
.dl dd{ margin:0; font-size:15.5px; text-align:left }
.dl dd a{ text-decoration:none; border-bottom:1px solid var(--rule) }
.dl dd a:hover{ border-bottom-color:var(--vein) }

.form{ display:grid; gap:18px }
.field{ display:grid; gap:7px }
.field label{ font-family:var(--mono); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--quiet) }
.field input, .field textarea, .field select{
  font-family:var(--sans); font-size:15px; color:var(--ink);
  background:var(--field-bg); border:0; border-bottom:1px solid var(--rule);
  padding:10px 12px; border-radius:0;
  transition:border-color .25s ease, background-color .25s ease;
}
/* the native menu is drawn by the OS in its own colours, so force it dark */
.field select option{ background:var(--option-bg); color:var(--ink) }
.field textarea{ resize:vertical; min-height:110px }
.field input:focus, .field textarea:focus, .field select:focus{
  outline:0; border-bottom-color:var(--vein); background:var(--field-bg-2);
}
.field input::placeholder, .field textarea::placeholder{ color:color-mix(in srgb, var(--ink) 40%, transparent) }
.btn{
  justify-self:start; cursor:pointer;
  font-family:var(--mono); font-size:11.5px; letter-spacing:.18em; text-transform:uppercase;
  background:var(--ink); color:var(--ground);
  border:1px solid var(--ink); padding:15px 30px;
  transition:background-color .3s ease, color .3s ease;
}
.btn:hover{ background:transparent; color:var(--ink) }
.hp{ position:absolute; left:-9999px }

/* ---------- footer ---------- */
/* the footer is a glass panel like everything else, so the wall runs under it */
/* round 3: much smaller gap above the footer panel, client ask */
.site-foot{ margin-top:clamp(12px,1.4vw,20px); padding-bottom:clamp(20px,3vw,40px) }
.site-foot__in{
  display:grid; gap:26px; grid-template-columns:1fr;
  padding:clamp(26px,3vw,48px);
}
@media(min-width:820px){ .site-foot__in{ grid-template-columns:minmax(0,1fr) auto auto; align-items:start; gap:56px } }
.foot-nav{ display:grid; gap:9px; align-content:start }
/* an icon beside each social link (round 3) */
.foot-nav--social a{ display:flex; align-items:center; gap:10px }
.foot-nav--social svg{ width:16px; height:16px; flex:none }
/* email and phone in the footer (round 3) */
.foot-contact{ display:flex; flex-wrap:wrap; gap:8px 26px; margin:22px 0 0 }
.foot-contact a{
  font-family:var(--mono); font-size:12px; letter-spacing:.12em; text-transform:uppercase;
  text-decoration:none; color:var(--ink-strong);
  border-bottom:1px solid color-mix(in srgb, var(--ink-strong) 42%, transparent); padding-bottom:3px;
}
.foot-contact a:hover{ border-bottom-color:var(--ink-strong) }
.foot-nav a, .foot-nav span{
  font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  text-decoration:none; color:color-mix(in srgb, var(--ink) 72%, transparent);
}
.foot-nav a:hover{ color:var(--ink-strong) }
.foot-legal{ font-family:var(--mono); font-size:10.5px; letter-spacing:.1em; color:var(--quiet); margin:18px 0 0; line-height:1.9 }

/* ---------- utility ---------- */
.skip{ position:absolute; left:-9999px }
.skip:focus{
  left:var(--gut); top:10px; z-index:50; background:var(--ink); color:var(--ground);
  padding:10px 16px; font-family:var(--mono); font-size:12px;
}
:focus-visible{ outline:2px solid var(--vein); outline-offset:3px }
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ transition-duration:.01ms !important; animation-duration:.01ms !important }
}

/* ---------- touch targets ----------
   The nav links and the .link CTAs are set in 11-12px mono, which gave an
   18.4px and a 23.2px tall hit area on a phone - under the 24px minimum.
   Padding only: nothing moves, the target just gets big enough to hit. */
@media(max-width:640px){
  .nav a{ padding-block:6px }
  .link{ padding-block:5px 6px; display:inline-block }
  .foot-nav a{ padding-block:5px }
  .mark{ padding-block:4px }
  .dl dd a{ padding-block:4px; display:inline-block }
}

/* ---------- small screens: header stacks, nav scrolls ---------- */
@media(max-width:1179px){   /* round 3: six links + icons need the room */
  .site-head__in{
    flex-wrap:wrap; align-items:center;
    gap:0; min-height:0; padding-block:12px 0;
  }

  .head-social{ margin-left:auto }
  .nav{
    order:3; margin-left:0;
    width:100%; flex-wrap:nowrap; gap:20px;
    overflow-x:auto; padding-block:12px 13px;
    scrollbar-width:none; -ms-overflow-style:none;
  }
  .nav::-webkit-scrollbar{ display:none }
  .nav a{ white-space:nowrap }
}

/* ------------------------------------------------------------------
   LIGHTBOX — click-to-enlarge for gallery and project figures
   ------------------------------------------------------------------ */
.lb-trigger{ cursor:zoom-in }
.lb-trigger:focus-visible{ outline:2px solid var(--vein); outline-offset:3px }
.lb{
  position:fixed; inset:0; z-index:60;
  display:flex; align-items:center; justify-content:center;
  padding:clamp(16px,4vw,48px);
  background:var(--lb-bg);
  backdrop-filter:saturate(120%) blur(6px);
}
.lb[hidden]{ display:none }
.lb__fig{
  margin:0; max-width:100%; max-height:100%;
  display:flex; flex-direction:column; align-items:center; gap:12px;
}
.lb__img{
  max-width:100%; max-height:calc(100vh - clamp(80px,12vw,140px));
  object-fit:contain; cursor:default;
  border:1px solid var(--panel-line);
  animation:lb-in .22s ease both;
}
.lb__cap{
  font-family:var(--mono); font-size:13px; color:var(--quiet);
  letter-spacing:.04em; cursor:default;
}
.lb__close{
  position:absolute; top:clamp(10px,2vw,22px); right:clamp(10px,2vw,22px);
  width:44px; height:44px; padding:0;
  font:26px/1 var(--sans); color:var(--ink);
  background:var(--panel); border:1px solid var(--panel-line);
  border-radius:50%; cursor:pointer;
}
.lb__close:hover{ border-color:var(--vein) }
.lb__close:focus-visible{ outline:2px solid var(--vein); outline-offset:3px }
body.lb-open{ overflow:hidden }
@keyframes lb-in{ from{ opacity:0; transform:scale(.985) } to{ opacity:1; transform:none } }
@media (prefers-reduced-motion: reduce){
  .lb__img{ animation:none }
}
@media(max-width:480px){ .mark__word{ font-size:26px } }
/* phones: wrap the six links onto two lines so Contact / Enquire is never off screen */
@media(max-width:719px){ .nav{ flex-wrap:wrap; overflow:visible; gap:4px 18px; padding-block:8px 10px } }

/* ---------- round 3 (Oct 2026) ---------- */
/* Completed Projects: hero text centred, client ask */
.phero--center{ justify-items:center; text-align:center }
.phero--center h1{ max-width:none }
.phero--center .phero__foot{ grid-template-columns:1fr !important; max-width:62ch; justify-items:center }

/* "Yours could be next. Enquire now…" - the whole line is the link to the form */
.next{ padding-block:clamp(36px,5vw,72px) clamp(8px,1vw,14px); text-align:center }
.next__link{
  text-decoration:none; color:var(--ink-strong);
  border-bottom:1px solid color-mix(in srgb, var(--ink-strong) 35%, transparent);
  transition:border-color .3s ease, color .3s ease;
}
.next__link:hover{ border-bottom-color:var(--vein); color:var(--vein) }

/* the contact form is the target of every "Enquire now" link */
#enquire{ scroll-margin-top:110px }

/* About: heading left, team photo right (round 3). The photo is a stock
   placeholder until Ali sends his own; the label sits over it so nobody
   mistakes it for his team. */
.phero--team{ grid-template-columns:1fr; align-items:center }
@media(min-width:1000px){ .phero--team{ grid-template-columns:minmax(0,1fr) minmax(0,44%); gap:clamp(32px,4vw,64px) } }
.phero__text{ display:grid; gap:clamp(18px,2.2vw,30px); align-content:center }
.phero__text .phero__lede{ max-width:52ch }
.team-ph{ position:relative; margin:0; overflow:hidden; background:var(--ground-deep); border:1px solid var(--panel-line) }
.team-ph img{ width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; display:block; filter:saturate(.5) brightness(.5) contrast(1.05) }
/* Round 5: Ali's real team photo, shown whole at its own 3:4 and undimmed */
.team-ph--real img{ aspect-ratio:auto; filter:none }
.team-ph__label{
  position:absolute; inset:0; display:grid; place-items:center; text-align:center; padding:20px;
  font-family:var(--mono); font-size:clamp(11px,.95vw,12.5px); letter-spacing:.18em; text-transform:uppercase;
  color:rgba(255,255,255,.92); background:none;
}


/* FAQ: every question in one place, grouped by heading (round 3) */
.faq-list{ max-width:1020px; display:grid; gap:12px }
.faq-list__h{
  font-family:var(--mono); font-weight:400; font-size:11px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--quiet); margin:22px 0 4px;
}
.faq-list__h:first-child{ margin-top:0 }
.faq-list__end{ margin:clamp(28px,3vw,44px) 0 clamp(20px,3vw,40px) }

/* ---------- Journal (round 3) ---------- */
.jgrid{ display:grid; gap:clamp(12px,1.4vw,20px); grid-template-columns:1fr; padding-bottom:clamp(24px,3vw,48px) }
@media(min-width:760px){ .jgrid{ grid-template-columns:repeat(2,1fr) } }
@media(min-width:1180px){ .jgrid{ grid-template-columns:repeat(3,1fr) } }
.jcard{
  display:grid; gap:14px; grid-template-rows:auto 1fr auto; text-decoration:none;
  padding:clamp(22px,2.4vw,34px); transition:border-color .3s ease;
}
.jcard:hover{ border-color:var(--vein) }
.jcard__t{ font-family:var(--serif); font-weight:400; margin:0; color:var(--ink-strong); font-size:clamp(21px,1.9vw,27px); line-height:1.18; letter-spacing:-.015em }
.jcard__d{ margin:0; font-size:15px; line-height:1.6; color:color-mix(in srgb, var(--ink) 80%, transparent) }
.jcard__m{ margin:0; font-family:var(--mono); font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--vein) }

.jart{ max-width:880px; padding-block:clamp(44px,7vw,100px) clamp(20px,3vw,40px); display:grid; gap:clamp(18px,2vw,26px) }
.jart__meta a{ color:inherit }
.jart__lede{ margin:0; font-size:clamp(16px,1.3vw,19px); line-height:1.6; color:color-mix(in srgb, var(--ink) 86%, transparent) }
.jart__body ul{ margin:0; padding-left:1.2em; display:grid; gap:8px }
.jart__body li{ font-size:clamp(15.5px,1.15vw,17.5px); line-height:1.65; color:color-mix(in srgb, var(--ink) 84%, transparent) }
.jart__body a{ color:var(--vein) }
.jart__cta{ margin:6px 0 0 }
.jmore{ border-top:1px solid var(--rule); padding-top:22px; display:grid; gap:12px }
.jmore ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px }
.jmore li{ display:flex; justify-content:space-between; gap:16px; align-items:baseline }
.jmore a{ color:var(--ink-strong); text-decoration:none; font-family:var(--serif); font-size:clamp(17px,1.4vw,20px) }
.jmore a:hover{ color:var(--vein) }
.jmore span{ font-family:var(--mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--quiet); white-space:nowrap }

/* ---------- round 3 fixes after the check ---------- */
/* phones: the header no longer follows you down the page; with the links on
   two rows it took a third of a small screen */
@media(max-width:719px){ .site-head{ position:relative } }
/* FAQ list centred in the page, with its links under it */
.faq-list{ margin-inline:auto }
.faq-list__end{ max-width:1020px; margin-inline:auto }
/* very narrow phones (320px): nothing pushes the page sideways */
@media(max-width:359px){
  .dl div{ grid-template-columns:84px 1fr; gap:10px }
  .dl dd{ overflow-wrap:anywhere }
  .site-foot .mark{ flex-wrap:wrap; row-gap:6px }
}
.dl dd{ min-width:0 }
/* journal photos (critic, round 3) */
.jcard{ grid-template-rows:auto auto 1fr auto; padding-top:0; overflow:hidden }
.jcard__img{ width:calc(100% + 2 * clamp(22px,2.4vw,34px)); max-width:none; margin-inline:calc(clamp(22px,2.4vw,34px) * -1); aspect-ratio:3/2; object-fit:cover; display:block; margin-bottom:6px }
.jart__fig{ margin:0; overflow:hidden; border:1px solid var(--panel-line); background:var(--ground-deep) }
.jart__fig img{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block }

/* contact photo: smaller and centred, client ask (was full width, bled off the right edge) */
.shelf__fig{ max-width:900px; margin:0 auto; border:1px solid var(--panel-line) }

/* contact: the enquiry form is the big column, the details panel hugs its text (client ask) */
@media(min-width:940px){
  .contact{ grid-template-columns:minmax(0,440px) minmax(0,1fr); gap:clamp(20px,2.4vw,36px) }
}
.contact > .glass:first-child{ align-self:start; padding-bottom:clamp(20px,2vw,28px) }
.contact > .glass:first-child .lede{ margin-bottom:0 }
.contact .form{ gap:20px }
.contact .field textarea{ min-height:160px }

/* contact hero: centred, short, straight into the form (client ask) */
.phero--tight{ padding-block:clamp(36px,5vw,72px) clamp(20px,2.4vw,32px); gap:clamp(12px,1.4vw,20px) }
/* journal: per-article common questions (SEO round) */
.jfaq{ display:grid; gap:14px }
.jfaq__h{ font-family:var(--serif); font-weight:400; margin:0; color:var(--ink-strong); font-size:clamp(22px,2.2vw,30px); letter-spacing:-.015em }
.jfaq .faq{ max-width:none }

/* contact photo scroll reveal (js/reveal.js) - frame opens, kitchen settles */
.shelf__fig.is-reveal{ border:0; will-change:clip-path }
.shelf__fig.is-reveal img{ transform-origin:50% 55%; will-change:transform }
.shelf__fig.is-reveal .split__cap{ opacity:calc(var(--reveal, 1) * 1.4 - .4) }

/* round 4: journal blogs (numbered steps) and the "Book in with Ali" box at the foot of each */
.jart__body ol{ margin:0; padding-left:1.4em; display:grid; gap:8px }
.jart__body ol li{ font-size:clamp(15.5px,1.15vw,17.5px); line-height:1.65; color:color-mix(in srgb, var(--ink) 84%, transparent) }
.jart__book{ display:grid; gap:12px; border-color:var(--vein) }
.jart__book h2{ font-family:var(--serif); font-weight:400; margin:0; color:var(--ink-strong); font-size:clamp(24px,2.2vw,32px); line-height:1.15 }
.jart__book p{ margin:0; font-size:clamp(15.5px,1.15vw,17.5px); line-height:1.65 }
.jart__book a{ color:var(--vein) }
.jart__fig img{ height:auto }
