/* ==================================================================
   B12 Photography — shared styles (every page loads only this file)

   The idea: photos first, type as caption. Headings are sentence
   case and modest in size so pictures reach the top of every page.
   One family, Saira, does all the type: slightly wide for headings,
   normal for reading, condensed capitals for small labels.

   Two themes share one set of tokens. The page follows the visitor's
   device (light or dark) and the switch in the header overrides it.
   ================================================================== */

:root{
  /* ---- Light theme (default) ---- */
  --bg:#f4f3f0;
  --surface:#ffffff;
  --raise:#eae8e3;
  --fg:#131315;
  --fg-2:#4d4d52;
  --fg-3:#6b6b70;
  --rule:rgba(19,19,21,.12);
  --rule-2:rgba(19,19,21,.24);
  --accent-text:#a85800;        /* amber dark enough to read as text */

  /* ---- Same in both themes ---- */
  --amber:#ffa31a;              /* the brand colour: buttons, tabs, the pip */
  --amber-ink:#131315;          /* text on amber */
  --go:#3ee08f;
  --r-btn:999px;                /* how round every button and tab is; 0 = square */
  --r-field:12px;               /* form boxes */

  --font:'Saira','Helvetica Neue',Arial,sans-serif;
  --gutter:clamp(16px,2.6vw,40px);
  --max:1760px;
  --header-h:72px;
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-io:cubic-bezier(.7,0,.2,1);

  color-scheme:light;
}
:root[data-theme="dark"]{
  --bg:#111113;
  --surface:#19191c;
  --raise:#222226;
  --fg:#f1eee8;
  --fg-2:#b9b6b0;
  --fg-3:#93908b;
  --rule:rgba(241,238,232,.13);
  --rule-2:rgba(241,238,232,.27);
  --accent-text:#ffa31a;
  color-scheme:dark;
}

/* Text sitting on a photograph (hero, gallery headers, the clear
   header over them) is always light, whichever theme is showing. */
.on-photo,
html:not(.menu-open) body.has-hero .site-header:not(.is-solid){
  --bg:#111113;
  --fg:#f6f3ec;
  --fg-2:rgba(246,243,236,.84);
  --fg-3:rgba(246,243,236,.68);
  --rule:rgba(246,243,236,.22);
  --rule-2:rgba(246,243,236,.42);
  --accent-text:#ffa31a;
  color:var(--fg);
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{
  background:var(--bg);
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  overflow-x:hidden;
  scroll-padding-top:calc(var(--header-h) + 12px);
}
body{
  background:var(--bg);
  color:var(--fg);
  font-family:var(--font);
  font-size:17px;
  line-height:1.55;
  font-stretch:100%;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  text-rendering:optimizeLegibility;
}
img,picture,svg,video{ display:block; max-width:100%; }
img{ -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; -webkit-user-drag:none; }
a{ color:inherit; text-decoration:none; }
ul,ol{ list-style:none; }
button,input,select,textarea{ font:inherit; color:inherit; }
button{ background:none; border:0; cursor:pointer; }
em,i{ font-style:normal; }
[hidden]{ display:none !important; }
::selection{ background:var(--amber); color:var(--amber-ink); }
:focus-visible{ outline:2px solid var(--amber); outline-offset:3px; border-radius:4px; }

.skip{
  position:fixed; left:12px; top:12px; z-index:500;
  background:var(--amber); color:var(--amber-ink);
  padding:10px 16px; font-weight:650; border-radius:var(--r-btn);
  transform:translateY(-200%);
}
.skip:focus{ transform:none; }

.wrap{ width:100%; max-width:var(--max); margin-inline:auto; padding-inline:var(--gutter); }
.narrow{ max-width:1280px; }
.visually-hidden{ position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* Sits over photos so right-click / long-press lands on this rather
   than the <img> (no "Save image" on a plain element). Clicks still
   bubble up to whatever the photo sits inside. */
.img-shield{ position:absolute; inset:0; z-index:2; }

/* ------------------------------------------------------------------
   Type
   ------------------------------------------------------------------ */
.h-1,.h-2,.h-3{ font-family:var(--font); text-wrap:balance; font-kerning:normal; }
.h-1{
  font-size:clamp(36px,5vw,76px);
  font-stretch:108%; font-weight:650;
  line-height:1.02; letter-spacing:-.032em;
}
.h-2{
  font-size:clamp(28px,3.3vw,48px);
  font-stretch:106%; font-weight:640;
  line-height:1.06; letter-spacing:-.026em;
}
.h-3{
  font-size:clamp(20px,1.65vw,26px);
  font-stretch:104%; font-weight:620;
  line-height:1.16; letter-spacing:-.016em;
}
.label{
  font-size:12.5px;
  font-stretch:88%;
  font-weight:600;
  line-height:1.3;
  letter-spacing:.075em;
  text-transform:uppercase;
  color:var(--fg-3);
  font-variant-numeric:tabular-nums;
}
.lede{
  font-size:clamp(19px,1.55vw,23px);
  line-height:1.42;
  font-weight:450;
  letter-spacing:-.008em;
  text-wrap:pretty;
}
.muted{ color:var(--fg-2); }
.faint{ color:var(--fg-3); }
.amber{ color:var(--accent-text); }
.tnum{ font-variant-numeric:tabular-nums; }
.prose p{ text-wrap:pretty; }
.prose p + p{ margin-top:1.05em; }
/* Camera data keeps its own case: "300mm", "1/200s". */
.exif-case{ text-transform:none; letter-spacing:.02em; font-stretch:92%; font-weight:500; }

/* The amber square that stands in for a full stop in the wordmark:
   a single "staged" bulb. */
.pip{
  display:inline-block;
  width:.2em; height:.2em;
  margin-left:.06em;
  background:var(--amber);
  vertical-align:baseline;
}

/* ------------------------------------------------------------------
   Links and buttons
   ------------------------------------------------------------------ */
/* Underline that draws in from the left on hover (small links). */
.u{
  background:linear-gradient(currentColor,currentColor) no-repeat right bottom / 0 1px;
  transition:background-size .4s var(--ease-out);
  padding-bottom:1px;
}
.u:hover{ background-position:left bottom; background-size:100% 1px; }
/* Links inside text (email, Instagram, articles): a faint underline
   that a stronger one draws over, left to right, on hover. */
.u-always{
  text-decoration:none;
  background:
    linear-gradient(currentColor,currentColor) no-repeat left bottom / 0 1px,
    linear-gradient(var(--rule-2),var(--rule-2)) no-repeat left bottom / 100% 1px;
  padding-bottom:2px;
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
  transition:background-size .45s var(--ease-out), color .25s ease;
}
.u-always:hover{ background-size:100% 1px, 100% 1px; color:var(--accent-text); }

/* Buttons. On hover (mouse only) a fill rises from the bottom, the
   label rolls up to a second copy and the arrow nudges along. */
.btn{
  position:relative; overflow:hidden; isolation:isolate;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  height:48px; padding:0 24px;
  border:0;
  border-radius:var(--r-btn);
  font-size:15.5px; font-weight:620; font-stretch:100%;
  line-height:1; white-space:nowrap;
  transition:color .3s ease, transform .15s ease;
}
.btn::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:var(--fg);
  transform:translateY(102%);
  transition:transform .45s var(--ease-out);
}
.btn .arr{ width:14px; height:10px; flex:none; transition:transform .35s var(--ease-out); }
.btn .roll{ display:inline-block; position:relative; overflow:hidden; line-height:1.3; height:1.3em; }
.btn .roll > span{ display:block; transition:transform .45s var(--ease-out); }
.btn .roll > span + span{ position:absolute; left:0; top:100%; }
.btn--amber{ background:var(--amber); color:var(--amber-ink); }
.btn--line{ box-shadow:inset 0 0 0 1px var(--rule-2); color:var(--fg); }
@media (hover:hover){
  .btn:hover{ color:var(--bg); }
  .btn:hover::before{ transform:none; }
  .btn:hover .roll > span{ transform:translateY(-100%); }
  .btn:hover .arr{ transform:translateX(4px); }
}
.btn:active{ transform:scale(.975); }
.btn--sm{ height:40px; padding:0 18px; font-size:14.5px; }
.btn[disabled]{ opacity:.6; pointer-events:none; }
.on-photo .btn--line{ background:rgba(17,17,19,.28); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }

.icon-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; flex:none;
  border:1px solid var(--rule-2);
  border-radius:50%;
  color:var(--fg);
  transition:background-color .25s, color .25s, border-color .25s, transform .15s ease;
}
.icon-btn:hover{ background:var(--fg); border-color:var(--fg); color:var(--bg); }
.icon-btn:active{ transform:scale(.94); }
.icon-btn svg{ width:18px; height:18px; transition:transform .5s var(--ease-out); }
[data-theme="dark"] .theme-btn svg{ transform:rotate(180deg); }

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */
.site-header{
  position:fixed; left:0; right:0; top:0; z-index:80;
  height:var(--header-h);
  border-bottom:1px solid transparent;
  transition:transform .5s var(--ease-out), background-color .3s ease, border-color .3s ease, color .3s ease;
}
.site-header.is-solid, .menu-open .site-header{
  background:color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  backdrop-filter:blur(14px) saturate(1.2);
  border-bottom-color:var(--rule);
}
.site-header.is-hidden{ transform:translateY(-101%); }
.header-row{ height:100%; display:flex; align-items:center; gap:clamp(16px,2.4vw,36px); }
.brand{ display:inline-flex; align-items:baseline; gap:10px; line-height:1; margin-right:auto; }
.brand-mark{ font-size:26px; font-stretch:112%; font-weight:800; letter-spacing:-.04em; }
.brand-name{ font-size:15px; font-weight:520; color:var(--fg-2); transition:color .25s; }
.brand:hover .brand-name{ color:var(--fg); }
@media (hover:hover){ .brand:hover .pip{ animation:pipPulse .7s ease-out; } }
@keyframes pipPulse{ from{ box-shadow:0 0 0 0 rgba(255,163,26,.6); } to{ box-shadow:0 0 0 9px rgba(255,163,26,0); } }
.primary-nav{ display:flex; gap:clamp(18px,2.2vw,32px); }
.primary-nav a{
  position:relative; padding:10px 0;
  font-size:15.5px; font-weight:520;
  color:var(--fg-2);
  background:linear-gradient(currentColor,currentColor) no-repeat right calc(100% - 7px) / 0 1px;
  transition:color .25s, background-size .4s var(--ease-out);
}
@media (hover:hover){ .primary-nav a:not([aria-current="page"]):hover{ background-position:left calc(100% - 7px); background-size:100% 1px; } }
.primary-nav a:hover, .primary-nav a[aria-current="page"]{ color:var(--fg); }
.primary-nav a[aria-current="page"]::after{
  content:""; position:absolute; left:0; bottom:2px;
  width:6px; height:6px; background:var(--amber);
}
/* Raised with position, not vertical-align, so the count never pushes
   "Galleries" lower than its neighbours (fonts differ on Windows). */
.primary-nav sup{ position:relative; top:-.55em; font-size:10.5px; font-weight:650; line-height:0; vertical-align:baseline; margin-left:3px; color:var(--accent-text); }
.header-actions{ display:flex; align-items:center; gap:10px; }
.menu-btn{ display:none; align-items:center; gap:10px; height:40px; padding:0 4px 0 8px; font-size:15.5px; font-weight:560; color:var(--fg); }
.menu-btn .bars{ position:relative; width:22px; height:9px; }
.menu-btn .bars::before,.menu-btn .bars::after{
  content:""; position:absolute; left:0; right:0; height:1.5px; background:currentColor;
  transition:transform .4s var(--ease-out), top .4s var(--ease-out);
}
.menu-btn .bars::before{ top:0; }
.menu-btn .bars::after{ top:7.5px; }
.menu-open .menu-btn .bars::before{ top:3.75px; transform:rotate(45deg); }
.menu-open .menu-btn .bars::after{ top:3.75px; transform:rotate(-45deg); }

@media (max-width:940px){
  .primary-nav{ display:none; }
  .menu-btn{ display:inline-flex; }
}
@media (max-width:560px){
  :root{ --header-h:62px; }
  .header-actions .btn{ display:none; }
  .brand-name{ display:none; }
  .brand-mark{ font-size:24px; }
}

/* Full-screen menu (phones and tablets). Links are plain blocks, not
   flex items: some in-app browsers don't reliably blockify flex children. */
.menu{
  position:fixed; inset:0; z-index:70;
  background:var(--bg); color:var(--fg);
  padding:calc(var(--header-h) + 18px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display:flex; flex-direction:column; justify-content:space-between; gap:24px;
  overflow-y:auto;
  visibility:hidden; opacity:0;
  transition:opacity .3s ease, visibility 0s linear .3s;
}
.menu-open .menu{ visibility:visible; opacity:1; transition:opacity .3s ease, visibility 0s; }
.menu-links li{ display:block; border-bottom:1px solid var(--rule); }
.menu-links a{
  display:block; padding:15px 0;
  font-size:clamp(28px,8vw,40px); font-stretch:106%; font-weight:640; letter-spacing:-.025em; line-height:1.1;
  opacity:0; transform:translate3d(0,10px,0);
  transition:opacity .45s ease, transform .55s var(--ease-out);
}
.menu-links a[aria-current="page"]{ color:var(--accent-text); }
.menu-open .menu-links a{ opacity:1; transform:none; }
.menu-open .menu-links li:nth-child(1) a{ transition-delay:.06s; }
.menu-open .menu-links li:nth-child(2) a{ transition-delay:.1s; }
.menu-open .menu-links li:nth-child(3) a{ transition-delay:.14s; }
.menu-open .menu-links li:nth-child(4) a{ transition-delay:.18s; }
.menu-open .menu-links li:nth-child(5) a{ transition-delay:.22s; }
.menu-open .menu-links li:nth-child(6) a{ transition-delay:.26s; }
.menu-foot{ display:grid; grid-template-columns:1fr 1fr; gap:18px 16px; font-size:15px; }
.menu-foot div{ display:grid; gap:4px; align-content:start; min-width:0; }
.menu-foot a{ overflow-wrap:anywhere; }
.menu-foot div:first-child{ grid-column:1 / -1; }
.menu-lock{ overflow:hidden; }

/* ------------------------------------------------------------------
   Page scaffolding
   ------------------------------------------------------------------ */
.section{ padding-block:clamp(64px,8vw,128px); }
.section--tight{ padding-top:0; }
.page-head{
  padding-top:calc(var(--header-h) + clamp(28px,4.4vw,68px));
  padding-bottom:clamp(22px,2.6vw,36px);
}
.head-row{ display:flex; align-items:baseline; justify-content:space-between; gap:10px 32px; flex-wrap:wrap; }
.page-head .lede{ margin-top:clamp(12px,1.4vw,18px); max-width:58ch; color:var(--fg-2); }
.section-head{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,26rem);
  gap:14px 40px; align-items:end;
  margin-bottom:clamp(24px,3vw,40px);
}
.section-head .side{ color:var(--fg-2); font-size:16px; }
@media (max-width:820px){ .section-head{ grid-template-columns:1fr; } }

/* ------------------------------------------------------------------
   Reveal on scroll. Only armed once JS has confirmed motion is OK.
   Short travel and a quick settle: it reads as a slide-up without
   asking the browser to move big areas a long way.
   ------------------------------------------------------------------ */
.motion [data-reveal]{
  opacity:0;
  transform:translate3d(0,14px,0);
  transition:opacity .6s ease, transform .75s var(--ease-out);
  transition-delay:var(--d,0ms);
}
.motion [data-reveal].is-in{ opacity:1; transform:none; }

/* Scroll-scrubbed statement: words darken as you read down */
[data-scrub] .sw{ color:var(--fg-3); opacity:.55; white-space:nowrap; transition:color .35s ease, opacity .35s ease; }
[data-scrub] .sw.is-lit{ color:var(--fg); opacity:1; }
.no-js [data-scrub]{ color:var(--fg); }

/* ------------------------------------------------------------------
   Photo frames: placeholder colour first, image fades in on load
   ------------------------------------------------------------------ */
.ph{
  position:relative;
  display:block;
  overflow:hidden;
  background:color-mix(in srgb, var(--c,#77746e) 42%, var(--raise));
}
.ph picture,.ph > img{ position:absolute; inset:0; width:100%; height:100%; }
.ph img{
  width:100%; height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .6s ease, transform 1.2s var(--ease-out);
}
.ph img.is-loaded{ opacity:1; }
.no-js .ph img{ opacity:1; }

/* ------------------------------------------------------------------
   Justified photo rows (homepage selected work, event galleries).
   Each item grows in proportion to its aspect ratio and keeps that
   ratio, so every photo in a row is the same height and nothing is
   cropped.
   ------------------------------------------------------------------ */
.jrows{ display:flex; flex-direction:column; gap:var(--jgap,8px); }
.jrow{ display:flex; gap:var(--jgap,8px); }
.jitem{
  position:relative;
  flex:var(--ar) 1 0;
  aspect-ratio:var(--ar);
  min-width:0;
  display:block;
  cursor:zoom-in;
  padding:0;
}
.jitem > .ph{ position:absolute; inset:0; }
@media (hover:hover){ .jitem:hover img.is-loaded{ transform:scale(1.03); } }
@media (max-width:640px){ .jrows,.jrow{ --jgap:5px; } }

/* ------------------------------------------------------------------
   Cursor tag (mouse only): a small amber disc that says what a click
   will do — "View", "Next", "Open". Only over photos and cards.
   ------------------------------------------------------------------ */
.ctag{ position:fixed; left:0; top:0; z-index:400; pointer-events:none; width:0; height:0; }
.ctag span{
  position:absolute; left:-42px; top:-42px;
  width:84px; height:84px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--amber); color:var(--amber-ink);
  font-size:12.5px; font-stretch:88%; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  transform:scale(0);
  transition:transform .45s var(--ease-out);
}
.ctag.is-on span{ transform:scale(1); }
.has-ctag [data-cursor],.has-ctag [data-cursor] *{ cursor:none !important; }

/* ------------------------------------------------------------------
   Homepage: start lights (first visit per session)
   ------------------------------------------------------------------ */
.tree{ display:none; }
.staging .tree{
  display:flex; position:fixed; inset:0; z-index:200;
  flex-direction:column; align-items:center; justify-content:center; gap:30px;
  background:#111113; color:#f1eee8;
  opacity:1;
  transition:opacity .7s ease, visibility 0s linear .7s;
  animation:treeFailsafe 0s linear 6s forwards;
  cursor:pointer;
}
.staged .tree{ opacity:0; visibility:hidden; }
@keyframes treeFailsafe{ to{ visibility:hidden; } }
.tree-lights{ display:flex; gap:30px; padding:22px 26px; background:#17171a; border:1px solid rgba(241,238,232,.12); border-radius:18px; }
.tree-col{ display:grid; justify-items:center; gap:11px; }
.tree-col .pair{ display:flex; gap:6px; margin-bottom:6px; }
.bulb{ width:28px; height:28px; border-radius:50%; background:#26262a; box-shadow:inset 0 0 0 1px rgba(255,255,255,.05), inset 0 -3px 6px rgba(0,0,0,.5); transition:background-color .06s linear, box-shadow .2s ease; }
.bulb.sm{ width:11px; height:11px; }
.tree.s1 .b-pre, .tree.s2 .b-stage{ background:#f4ecd2; box-shadow:0 0 12px 1px rgba(244,236,210,.55); }
.tree.a1 .b-a1, .tree.a2 .b-a2, .tree.a3 .b-a3{ background:var(--amber); box-shadow:0 0 26px 4px rgba(255,163,26,.55); }
.tree.go .b-go{ background:var(--go); box-shadow:0 0 30px 6px rgba(62,224,143,.5); }
.tree-meta{ display:flex; align-items:baseline; gap:14px; }
.tree-status{ color:rgba(241,238,232,.6); min-width:8ch; }

/* ------------------------------------------------------------------
   Homepage: hero
   ------------------------------------------------------------------ */
.hero{
  position:relative;
  height:100vh; height:100svh;
  height:calc(var(--vh, 1vh) * 100);
  min-height:600px;
  display:flex; flex-direction:column; justify-content:flex-end;
  overflow:hidden;
  isolation:isolate;
  background:#111113;
}
.hero-media{ position:absolute; inset:0; z-index:-2; overflow:hidden; }
.hero-media img{ width:100%; height:100%; object-fit:cover; object-position:var(--focus, 50% 60%); }
@media (max-aspect-ratio:4/3){ .hero-media img{ --focus:52% 55%; } }
@media (max-aspect-ratio:3/4){ .hero-media img{ --focus:46% 50%; } }
.hero-shade{
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(180deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,0) 22%, rgba(10,10,11,0) 44%, rgba(10,10,11,.72) 80%, rgba(10,10,11,.92) 100%),
    linear-gradient(90deg, rgba(10,10,11,.32) 0%, rgba(10,10,11,0) 55%);
}
.hero-kicker{ display:flex; flex-wrap:wrap; gap:4px 22px; margin-bottom:clamp(12px,1.4vw,18px); }
.hero-kicker span:first-child{ color:var(--fg); }
.hero-row{ display:flex; align-items:flex-end; justify-content:space-between; gap:22px 40px; flex-wrap:wrap; }
.hero-intro{
  max-width:26ch;
  font-size:clamp(24px,2.9vw,44px);
  font-stretch:106%; font-weight:600;
  line-height:1.1; letter-spacing:-.026em;
  text-wrap:balance;
}
.hero-ctas{ display:flex; gap:10px; flex-wrap:wrap; }
.hero-strip{
  display:flex; align-items:center; gap:10px 28px;
  margin-top:clamp(20px,2.6vw,34px);
  padding-block:14px calc(14px + env(safe-area-inset-bottom));
  border-top:1px solid var(--rule);
}
.hero-strip .label{ color:var(--fg-2); }
.hs-now{ flex:0 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--fg) !important; }
.hs-now .faint{ margin-right:10px; }
.hs-pub{ margin-left:14px; color:var(--amber); }
.hs-exif{ flex:0 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hs-scroll{ flex:none; margin-left:auto; display:inline-flex; align-items:center; gap:12px; }
.hs-scroll i{ position:relative; width:1px; height:22px; background:var(--rule-2); overflow:hidden; }
.hs-scroll i::after{ content:""; position:absolute; left:0; top:0; width:1px; height:8px; background:var(--amber); animation:drip 1.8s var(--ease-io) infinite; }
@keyframes drip{ from{ transform:translateY(-8px); } to{ transform:translateY(22px); } }
@media (max-width:860px){
  .hs-exif,.hs-pub{ display:none; }
}
@media (max-width:480px){ .hs-now .faint{ display:none; } }

/* Hero entrance. Opacity and scale only: both run on the graphics
   chip, so the entrance stays smooth on phones. */
.motion .hero-media img{ scale:1.05; opacity:0; transition:scale 2s var(--ease-out), opacity 1.1s ease; }
.motion.hero-go .hero-media img{ scale:1; opacity:1; }
.motion .hero-fade{ opacity:0; transform:translate3d(0,14px,0); transition:opacity .9s ease, transform 1s var(--ease-out); transition-delay:var(--d, .5s); }
.motion.hero-go .hero-fade{ opacity:1; transform:none; }
/* Backup: if the entrance signal never arrives, show the hero anyway. */
.motion:not(.hero-go) .hero-media img,
.motion:not(.hero-go) .hero-fade{ animation:heroFailsafe .6s ease 2.5s forwards; }
@keyframes heroFailsafe{ to{ opacity:1; scale:1; transform:none; } }
@supports (animation-timeline: view()){
  .motion .hero-media img{ animation:heroDrift linear both; animation-timeline:view(); animation-range:exit 0% exit 100%; }
  @keyframes heroDrift{ to{ translate:0 18%; } }
}

/* ------------------------------------------------------------------
   Homepage: intro, selected work, booking
   ------------------------------------------------------------------ */
.intro-statement{
  max-width:34ch;
  font-size:clamp(25px,3.4vw,58px);
  font-stretch:104%; font-weight:560;
  line-height:1.12; letter-spacing:-.028em;
  text-wrap:pretty;
}
.creds{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px 20px;
  margin-top:clamp(40px,5vw,72px);
  padding-top:clamp(20px,2vw,28px);
  border-top:1px solid var(--rule);
}
.creds div{ display:grid; gap:8px; align-content:start; }
.creds dd{ font-size:16.5px; color:var(--fg-2); max-width:38ch; }
@media (max-width:820px){ .creds{ grid-template-columns:1fr; } }

.work-more{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-top:clamp(28px,3.4vw,48px); }

.contact-grid{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:48px clamp(32px,6vw,110px); margin-top:clamp(28px,3.6vw,52px); }
.contact-info .lede{ max-width:28ch; color:var(--fg-2); }
.contact-list{ margin-top:clamp(22px,2.6vw,32px); display:grid; gap:0; border-top:1px solid var(--rule); }
.contact-list > div{ display:grid; grid-template-columns:7.5rem minmax(0,1fr); gap:12px; align-items:baseline; padding:14px 0; border-bottom:1px solid var(--rule); }
.contact-list dd{ display:flex; align-items:baseline; gap:8px 14px; flex-wrap:wrap; min-width:0; font-size:17px; font-weight:520; overflow-wrap:anywhere; }
.copy{
  font-size:13px; font-weight:600; color:var(--fg-2);
  border:1px solid var(--rule-2); border-radius:var(--r-btn);
  padding:3px 11px;
  transition:background-color .25s, color .25s, border-color .25s, transform .15s ease;
}
.copy:hover{ background:var(--fg); border-color:var(--fg); color:var(--bg); }
.copy:active, .filters button:active, .views button:active, .choice label span:active{ transform:scale(.96); }

/* Starting rates panel beside the booking form */
.rates-card{
  margin-top:clamp(24px,3vw,36px);
  background:var(--surface); border:1px solid var(--rule); border-radius:18px;
  padding:clamp(18px,1.8vw,24px);
  display:grid; gap:14px; justify-items:start;
}
.rates-mini{ width:100%; border-top:1px solid var(--rule); }
.rates-mini li{ display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:10px 0; border-bottom:1px solid var(--rule); font-size:16.5px; }
.rates-mini li span:last-child{ font-weight:620; white-space:nowrap; font-variant-numeric:tabular-nums; }
.contact-form{ display:grid; gap:22px; align-content:start; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:22px 18px; }
.form-foot{ display:flex; align-items:center; gap:14px 22px; flex-wrap:wrap; }
.form-note{ color:var(--fg-3); font-size:14.5px; }
.form-error{ color:#b3261e; background:color-mix(in srgb, #b3261e 9%, transparent); border:1px solid color-mix(in srgb, #b3261e 40%, transparent); border-radius:var(--r-field); padding:12px 15px; font-size:15.5px; }
[data-theme="dark"] .form-error{ color:#ff9a85; }
.form-success{ align-self:start; background:var(--surface); border:1px solid var(--rule); border-radius:18px; padding:clamp(22px,3vw,36px); }
.form-success p{ color:var(--fg-2); margin-top:12px; max-width:42ch; }
.hp{ position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
@media (max-width:560px){
  .form-row{ grid-template-columns:1fr; }
  .contact-list > div{ grid-template-columns:1fr; gap:4px; }
}

/* ------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------ */
.field{ display:block; min-width:0; }
.field label, .choice legend{ display:block; font-size:14.5px; font-weight:580; color:var(--fg-2); margin-bottom:8px; }
.field input,.field textarea{
  width:100%;
  background:var(--surface);
  border:1px solid var(--rule-2);
  border-radius:var(--r-field);
  padding:13px 15px;
  font-size:17px; line-height:1.3;
  color:var(--fg);
  transition:border-color .2s, box-shadow .2s;
  -webkit-appearance:none; appearance:none;
}
.field textarea{ resize:vertical; min-height:128px; line-height:1.45; }
.field input::placeholder,.field textarea::placeholder{ color:var(--fg-3); opacity:.9; }
.field input:hover,.field textarea:hover{ border-color:var(--fg-3); }
.field input:focus,.field textarea:focus{ outline:none; border-color:var(--fg); box-shadow:0 0 0 3px color-mix(in srgb, var(--amber) 55%, transparent); }
.field input[type="date"]{ min-height:52px; }
.choice{ border:0; min-width:0; }
.choice-set{ display:flex; flex-wrap:wrap; gap:8px; }
.choice input{ position:absolute; opacity:0; pointer-events:none; }
.choice label span{
  display:inline-flex; align-items:center; height:42px; padding:0 17px;
  border:1px solid var(--rule-2);
  border-radius:var(--r-btn);
  font-size:15px; font-weight:540;
  transition:background-color .2s, color .2s, border-color .2s;
  cursor:pointer;
}
.choice label span:hover{ border-color:var(--fg); }
.choice input:checked + span{ background:var(--amber); border-color:var(--amber); color:var(--amber-ink); font-weight:620; }
.choice input:focus-visible + span{ outline:2px solid var(--amber); outline-offset:3px; }

/* ------------------------------------------------------------------
   Galleries page: filter bar, cards, index list
   ------------------------------------------------------------------ */
.toolbar{
  position:sticky; top:0; z-index:20;
  background:color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border-block:1px solid var(--rule);
  transition:top .5s var(--ease-out);
}
.site-header:not(.is-hidden) ~ main .toolbar{ top:var(--header-h); }
.toolbar-row{ display:flex; justify-content:space-between; align-items:center; gap:20px; min-height:72px; }
.filters{ display:flex; gap:8px; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin-inline:calc(var(--gutter) * -1); padding:12px var(--gutter); }
.filters::-webkit-scrollbar{ display:none; }
.filters button{
  display:inline-flex; align-items:center; gap:8px;
  height:46px; padding:0 19px;
  font-size:15.5px; font-weight:560;
  color:var(--fg-2); white-space:nowrap;
  border:1px solid var(--rule-2);
  border-radius:var(--r-btn);
  transition:color .2s, background-color .2s, border-color .2s, transform .15s ease;
}
.filters button sup{ font-size:12px; font-weight:650; vertical-align:0; color:var(--fg-3); transition:color .2s; font-variant-numeric:tabular-nums; }
.filters button:hover{ color:var(--fg); border-color:var(--fg); }
.filters button[aria-pressed="true"]{ background:var(--amber); border-color:var(--amber); color:var(--amber-ink); font-weight:640; }
.filters button[aria-pressed="true"] sup{ color:rgba(19,19,21,.62); }
.views{ display:flex; gap:2px; flex:none; padding:3px; border:1px solid var(--rule-2); border-radius:var(--r-btn); }
.views button{ height:34px; padding:0 14px; font-size:14px; font-weight:560; color:var(--fg-2); border-radius:var(--r-btn); transition:color .2s, background-color .2s; }
.views button[aria-pressed="true"]{ color:var(--bg); background:var(--fg); }
@media (max-width:700px){
  .views{ display:none; }
  .toolbar-row{ min-height:64px; }
  .filters{ padding-block:10px; }
  .filters button{ height:42px; padding:0 16px; font-size:15px; }
}
.filter-note{ margin-top:clamp(18px,2vw,26px); color:var(--fg-2); font-size:16px; }

.events{ padding-top:clamp(22px,2.6vw,36px); padding-bottom:clamp(72px,9vw,128px); }
.cards{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:clamp(14px,1.6vw,24px); row-gap:clamp(30px,3.4vw,52px); }
@media (max-width:1040px){ .cards{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px){ .cards{ grid-template-columns:1fr; } }
.card{ display:block; color:var(--fg); }
.card .ph{ aspect-ratio:3/2; }
@media (hover:hover){ .card:hover .ph img.is-loaded{ transform:scale(1.035); } }
.card-tag{ display:block; margin-top:14px; }
.card h2, .card h3{ margin-top:6px; transition:color .25s; }
.card:hover h2, .card:hover h3{ color:var(--accent-text); }
.card .sub{ display:block; margin-top:4px; color:var(--fg-2); font-size:16px; }
.card-meta{ display:flex; flex-wrap:wrap; gap:2px 0; margin-top:8px; color:var(--fg-2); font-size:15px; font-variant-numeric:tabular-nums; }
.card-meta span + span::before{ content:"·"; margin-inline:9px; color:var(--fg-3); }
.card.is-hidden{ display:none; }
.empty{ color:var(--fg-2); padding:60px 0; }
.cards-vt .card{ view-transition-name:var(--vtn); view-transition-class:card-vt; }
::view-transition-group(*.card-vt){ animation-duration:.5s; animation-timing-function:cubic-bezier(.16,1,.3,1); }

/* Index list (the "Index" view of the galleries page) */
.ix-head, .ix-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 190px 220px 120px 76px 22px;
  gap:20px; align-items:center;
}
.ix-head{ padding:0 0 10px; }
.ix-head .ix-frames, .ix-frames{ text-align:right; }
.ix{ border-top:1px solid var(--rule-2); }
.ix-row{ position:relative; padding:18px 0; border-bottom:1px solid var(--rule); color:var(--fg); transition:background-color .25s; }
.ix-row::before{ content:""; position:absolute; inset:0 calc(var(--gutter) * -.5); z-index:-1; border-radius:10px; background:var(--raise); opacity:0; transition:opacity .25s; }
.ix{ position:relative; z-index:0; }
.ix-name{ min-width:0; }
.ix-name .h-3{ display:block; font-size:clamp(18px,1.5vw,22px); }
.ix-name .sub{ display:block; margin-top:2px; color:var(--fg-2); font-size:15px; }
.ix-row .ix-disc,.ix-row .ix-venue,.ix-row .ix-date,.ix-row .ix-frames{ font-size:15px; color:var(--fg-2); font-variant-numeric:tabular-nums; }
.ix-arr{ width:18px; height:12px; justify-self:end; color:var(--fg-3); transition:transform .3s var(--ease-out), color .25s; }
.ix-arr svg{ width:100%; height:100%; }
@media (hover:hover){
  .ix-row:hover::before{ opacity:1; }
  .ix-row:hover .ix-arr{ transform:translateX(4px); color:var(--accent-text); }
}
.ix-thumb{ display:none; }
@media (max-width:1100px){
  .ix-head, .ix-row{ grid-template-columns:minmax(0,1fr) 170px 110px 22px; }
  .ix-venue,.ix-frames{ display:none; }
}
@media (max-width:700px){
  .ix-head{ display:none; }
  .ix-row{
    grid-template-columns:76px minmax(0,1fr) 18px;
    grid-template-areas:"thumb name arr" "thumb meta arr";
    column-gap:14px; row-gap:4px; padding:12px 0;
  }
  .ix-thumb{ display:block; grid-area:thumb; width:76px; aspect-ratio:1; align-self:start; }
  .ix-disc{ display:none; }
  .ix-name{ grid-area:name; align-self:end; }
  .ix-name .sub{ display:none; }
  .ix-date{ grid-area:meta; align-self:start; }
  .ix-arr{ grid-area:arr; }
}

/* ------------------------------------------------------------------
   Event gallery page
   ------------------------------------------------------------------ */
.gh{
  position:relative;
  height:min(74svh, 820px); min-height:460px;
  display:flex; align-items:flex-end;
  overflow:hidden; isolation:isolate;
  background:#111113;
}
.gh-media,.gh-full{ position:absolute; inset:0; z-index:-2; width:100%; height:100%; }
.gh-media img,.gh-full{ width:100%; height:100%; object-fit:cover; object-position:50% 55%; }
.gh-full{ opacity:0; transition:opacity .8s ease; }
.gh-full.is-loaded{ opacity:1; }
.gh-shade{ position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,0) 26%, rgba(10,10,11,.04) 46%, rgba(10,10,11,.86) 100%); }
/* Sits above the photo's save-protection layer, so links are tappable. */
.gh-content{ position:relative; z-index:3; padding-bottom:clamp(26px,3.4vw,48px); }
.back{ margin-bottom:clamp(18px,2.4vw,30px); }
.back svg{ width:14px; height:10px; transition:transform .35s var(--ease-out); }
.back:hover svg{ transform:translateX(-4px); }
.gh-kicker{ display:flex; gap:6px 18px; flex-wrap:wrap; margin-bottom:10px; color:var(--fg-2); }
.gh-title{ max-width:18ch; }
.gh-sub{ margin-top:10px; font-size:clamp(17px,1.5vw,21px); font-weight:500; color:var(--fg-2); }
@supports (animation-timeline: view()){
  .motion .gh-media img,.motion .gh-full{ animation:ghDrift linear both; animation-timeline:view(); animation-range:exit 0% exit 100%; }
  @keyframes ghDrift{ to{ translate:0 16%; } }
}

.gsheet{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:36px clamp(32px,6vw,110px); padding-top:clamp(32px,4vw,60px); }
.gsheet-side .lede{ max-width:34ch; }
.gsheet-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.sheet{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:20px; align-content:start; border-top:1px solid var(--rule); }
.sheet > div{ padding:13px 0 14px; border-bottom:1px solid var(--rule); display:grid; gap:4px; align-content:start; }
.sheet dd{ font-size:17px; font-weight:520; line-height:1.3; }
.sheet .wide{ grid-column:1 / -1; }
.sheet .wide dd{ font-size:16px; font-weight:400; color:var(--fg-2); }
@media (max-width:900px){ .gsheet{ grid-template-columns:1fr; } }

.ggrid{ padding-top:clamp(40px,5vw,72px); }
.ggrid-head{ display:flex; justify-content:space-between; align-items:baseline; gap:20px; margin-bottom:14px; }

.gnext{ display:grid; grid-template-columns:1fr 1fr; gap:20px; padding-top:clamp(72px,9vw,128px); padding-bottom:clamp(64px,8vw,112px); }
.gn{ display:grid; grid-template-columns:minmax(0,1fr) 40%; gap:20px; align-items:center; padding:14px; border:1px solid var(--rule); border-radius:18px; background:var(--surface); transition:border-color .25s; }
.gn:hover{ border-color:var(--rule-2); }
.gn .ph{ aspect-ratio:3/2; border-radius:8px; }
.gn:hover .ph img.is-loaded{ transform:scale(1.04); }
.gn-text{ padding-left:6px; min-width:0; }
.gn-dir{ display:flex; align-items:center; gap:9px; }
.gn-dir svg{ width:14px; height:10px; transition:transform .35s var(--ease-out); }
.gn--next .gn-dir svg{ order:2; }
.gn--prev:hover .gn-dir svg{ transform:translateX(-4px); }
.gn--next:hover .gn-dir svg{ transform:translateX(4px); }
.gn h2{ margin-top:10px; }
.gn-meta{ margin-top:6px; color:var(--fg-2); font-size:15px; }
.gn--prev{ grid-template-columns:40% minmax(0,1fr); }
.gn--prev .ph{ order:-1; }
.gn--prev .gn-text{ padding-left:0; }
@media (max-width:860px){
  .gnext{ grid-template-columns:1fr; }
  .gn,.gn--prev{ grid-template-columns:minmax(0,1fr) 38%; }
  .gn--prev .ph{ order:0; }
  .gn--prev .gn-text{ padding-left:6px; }
}

.not-found{ padding-top:calc(var(--header-h) + clamp(60px,10vw,140px)); padding-bottom:clamp(80px,12vw,160px); }
.not-found p{ color:var(--fg-2); margin-top:16px; max-width:42ch; }
.not-found .btn{ margin-top:28px; }
.lost-acts{ display:flex; gap:10px; flex-wrap:wrap; margin-top:28px; }
.lost-acts .btn{ margin-top:0; }
body.is-404{ min-height:100vh; min-height:100svh; display:flex; flex-direction:column; }
body.is-404 main{ flex:1; display:flex; align-items:center; }

/* ------------------------------------------------------------------
   Published page
   ------------------------------------------------------------------ */
.pr-feature{ display:grid; grid-template-columns:minmax(0,8fr) minmax(0,4fr); gap:22px clamp(24px,3vw,48px); align-items:end; margin-bottom:clamp(44px,5.5vw,84px); }
.pr-photo{ display:block; }
.pr-photo .ph{ aspect-ratio:3/2; }
@media (hover:hover){ .pr-photo:hover .ph img.is-loaded{ transform:scale(1.025); } }
.pr-copy{ display:grid; justify-items:start; gap:14px; }
.pr-copy p:not(.label){ color:var(--fg-2); }
.pr-list-head{ margin-bottom:12px; }
.pr-list{ border-top:1px solid var(--rule-2); }
.pr-row{ display:grid; grid-template-columns:minmax(0,1fr) 120px 110px; gap:8px 20px; align-items:baseline; padding:16px 0; border-bottom:1px solid var(--rule); }
.pr-title{ font-size:clamp(17.5px,1.4vw,20.5px); font-weight:540; letter-spacing:-.008em; line-height:1.28; text-wrap:pretty; transition:color .25s; }
.pr-title::after{ content:"\2197"; display:inline-block; margin-left:.3em; color:var(--accent-text); transition:transform .3s var(--ease-out); }
.pr-title:hover::after{ transform:translate(2px,-2px); }
.pr-title:hover{ color:var(--accent-text); }
.pr-date{ font-size:15px; color:var(--fg-2); font-variant-numeric:tabular-nums; }
.pr-gallery{ justify-self:end; font-size:15px; font-weight:560; white-space:nowrap; }
@media (max-width:900px){
  .pr-feature{ grid-template-columns:1fr; }
  .pr-row{ grid-template-columns:auto minmax(0,1fr); column-gap:16px; }
  .pr-title{ grid-column:1 / -1; }
}

/* ------------------------------------------------------------------
   Services page
   ------------------------------------------------------------------ */
.rates{ border-top:1px solid var(--rule-2); }
.rate{
  display:grid; grid-template-columns:minmax(0,4fr) minmax(0,5fr) minmax(9.5rem,2fr); gap:10px clamp(20px,3vw,48px);
  align-items:baseline;
  padding:clamp(22px,2.4vw,34px) 0;
  border-bottom:1px solid var(--rule);
}
.rate-desc{ color:var(--fg-2); max-width:52ch; text-wrap:pretty; }
.rate-desc a{ white-space:nowrap; }
.rate-price{ text-align:right; white-space:nowrap; color:var(--fg-2); font-size:15.5px; }
.rate-price b{ font-size:clamp(26px,2.5vw,38px); font-stretch:106%; font-weight:660; letter-spacing:-.025em; margin:0 5px; color:var(--fg); font-variant-numeric:tabular-nums; }
.rate-price .q{ font-size:clamp(19px,1.6vw,23px); font-weight:620; letter-spacing:-.012em; color:var(--fg); }
@media (max-width:900px){
  .rate{ grid-template-columns:1fr; }
  .rate-price{ text-align:left; }
}
.process{ margin-top:clamp(64px,8vw,120px); }
.process-head{ display:flex; justify-content:space-between; gap:20px; align-items:baseline; margin-bottom:clamp(20px,2.4vw,32px); }
.steps{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; counter-reset:step; }
.step{ background:var(--surface); border:1px solid var(--rule); border-radius:18px; padding:clamp(18px,1.8vw,26px); display:grid; gap:8px; align-content:start; }
.step .label{ color:var(--accent-text); }
.step h3{ margin-top:clamp(18px,2.4vw,36px); }
.step p{ color:var(--fg-2); font-size:16px; }
@media (max-width:1000px){ .steps{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:520px){ .steps{ grid-template-columns:1fr; } }

/* ------------------------------------------------------------------
   About page
   ------------------------------------------------------------------ */
.about-body{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:40px clamp(32px,6vw,110px); align-items:start; }
.about-portrait{ position:sticky; top:calc(var(--header-h) + 20px); }
.about-portrait .ph{ aspect-ratio:2 / 3; }
.about-portrait figcaption{ margin-top:10px; display:flex; justify-content:space-between; gap:16px; }
.about-text .label{ margin-bottom:14px; }
.about-text .lede{ margin-top:clamp(18px,2vw,28px); font-size:clamp(21px,2vw,30px); line-height:1.28; letter-spacing:-.016em; font-weight:500; }
.about-text .prose{ margin-top:clamp(20px,2.2vw,30px); color:var(--fg-2); max-width:60ch; }
.about-text .prose strong{ color:var(--fg); font-weight:560; }
.about-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:30px; }
.miles-head{ margin-top:clamp(44px,5vw,72px); margin-bottom:10px; }
.miles{ border-top:1px solid var(--rule-2); }
.miles li{ display:grid; grid-template-columns:7.5rem minmax(0,1fr); gap:16px; align-items:baseline; padding:14px 0; border-bottom:1px solid var(--rule); }
.miles li .label{ color:var(--accent-text); }
@media (max-width:900px){
  .about-body{ grid-template-columns:1fr; }
  .about-portrait{ position:relative; top:0; max-width:480px; }
}
@media (max-width:480px){ .miles li{ grid-template-columns:1fr; gap:4px; } }

/* ------------------------------------------------------------------
   Discipline pages
   ------------------------------------------------------------------ */
.disc-facts{ display:flex; flex-wrap:wrap; gap:6px 0; margin-top:clamp(14px,1.6vw,20px); color:var(--fg-2); font-size:16px; font-variant-numeric:tabular-nums; }
.disc-facts span + span::before{ content:"·"; margin-inline:10px; color:var(--fg-3); }
.disc-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:clamp(18px,2vw,26px); }
.disc-press{ padding-top:0; }
.disc-others{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }

/* ------------------------------------------------------------------
   Call-to-action band (About, Services, discipline pages)
   ------------------------------------------------------------------ */
.cta-band{ border-top:1px solid var(--rule); }
.cta-link{ display:flex; justify-content:space-between; align-items:center; gap:24px; padding-block:clamp(44px,6vw,92px); }
.cta-link .h-1{ transition:color .3s; }
.cta-link .cta-arrow{
  flex:none; display:inline-flex; align-items:center; justify-content:center;
  width:clamp(56px,6vw,88px); height:clamp(56px,6vw,88px);
  border-radius:50%; background:var(--amber); color:var(--amber-ink);
  transition:transform .45s var(--ease-out), background-color .25s, color .25s;
}
.cta-link .cta-arrow svg{ width:36%; height:auto; }
.cta-link:hover .cta-arrow{ transform:translateX(8px); background:var(--fg); color:var(--bg); }

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.site-footer{ border-top:1px solid var(--rule); padding-top:clamp(40px,5vw,72px); }
.foot-grid{ display:grid; grid-template-columns:minmax(0,5fr) repeat(3,minmax(0,2.2fr)); gap:36px 24px; }
.foot-brand{ display:grid; gap:14px; align-content:start; justify-items:start; }
.foot-brand .brand{ margin:0; }
.foot-brand p{ color:var(--fg-2); max-width:26ch; }
.foot-col{ display:grid; gap:9px; align-content:start; justify-items:start; min-width:0; }
.foot-col h2{ margin-bottom:6px; }
.foot-col a, .foot-col .js-clock{ font-size:16px; color:var(--fg-2); transition:color .2s; overflow-wrap:anywhere; }
.foot-col a{ background:linear-gradient(currentColor,currentColor) no-repeat right bottom / 0 1px; padding-bottom:1px; transition:color .2s, background-size .4s var(--ease-out); }
.foot-col a:hover{ color:var(--fg); background-position:left bottom; background-size:100% 1px; }
.foot-col .js-clock{ font-variant-numeric:tabular-nums; }
.foot-col .js-clock b{ font-weight:600; color:var(--fg); }
@media (max-width:900px){
  .foot-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .foot-brand{ grid-column:1 / -1; }
}
@media (max-width:560px){ .foot-col:last-child{ grid-column:1 / -1; } }
.foot-base{
  display:flex; justify-content:space-between; align-items:center; gap:14px 24px; flex-wrap:wrap;
  margin-top:clamp(40px,5vw,72px);
  padding:18px 0 calc(22px + env(safe-area-inset-bottom));
  border-top:1px solid var(--rule);
  color:var(--fg-3); font-size:14.5px;
}
.foot-base > span{ max-width:68ch; }
.foot-tools{ display:flex; align-items:center; gap:18px; }
.theme-text{ display:inline-flex; align-items:center; gap:8px; color:var(--fg-2); font-size:14.5px; font-weight:540; transition:color .2s; }
.theme-text:hover{ color:var(--fg); }
.theme-text svg{ width:15px; height:15px; }
.to-top{ display:inline-flex; gap:8px; align-items:center; color:var(--fg-2); font-weight:540; transition:color .2s; }
.to-top:hover{ color:var(--fg); }
.to-top svg{ width:10px; height:12px; transition:transform .35s var(--ease-out); }
.to-top:hover svg{ transform:translateY(-3px); }

/* ------------------------------------------------------------------
   Lightbox. Always dark, whichever theme the page is in.
   ------------------------------------------------------------------ */
.lb{
  --fg:#f1eee8; --fg-2:rgba(241,238,232,.72); --fg-3:rgba(241,238,232,.6);
  --rule-2:rgba(241,238,232,.26); --bg:#0b0b0c; --accent-text:#ffa31a;
  position:fixed; inset:0; z-index:300;
  display:grid; grid-template-rows:auto 1fr auto;
  color:var(--fg);
  visibility:hidden;
  color-scheme:dark;
}
.lb.is-open{ visibility:visible; }
.lb-bg{ position:absolute; inset:0; background:#0b0b0c; opacity:0; transition:opacity .4s ease; }
.lb.is-open .lb-bg{ opacity:1; }
.lb-top,.lb-bottom{
  position:relative; z-index:3;
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px;
  padding:14px var(--gutter);
  opacity:0; transition:opacity .35s ease .12s;
  font-size:15px;
}
.lb.is-open .lb-top,.lb.is-open .lb-bottom{ opacity:1; }
.lb-title{ color:var(--fg-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lb-count{ justify-self:center; font-variant-numeric:tabular-nums; color:var(--fg-2); font-weight:540; }
.lb-count b{ color:var(--amber); font-weight:650; }
.lb-close{ justify-self:end; display:inline-flex; align-items:center; gap:10px; height:40px; padding:0 6px 0 14px; font-weight:560; color:var(--fg); }
.lb-close i{ position:relative; width:14px; height:14px; }
.lb-close i::before,.lb-close i::after{ content:""; position:absolute; left:0; right:0; top:50%; height:1.5px; background:currentColor; }
.lb-close i::before{ transform:rotate(45deg); }
.lb-close i::after{ transform:rotate(-45deg); }
.lb-stage{
  position:relative; z-index:2;
  display:flex; align-items:center; justify-content:center;
  min-height:0;
  padding:0 var(--gutter);
  /* Pans go to the swipe handler (left/right = next/prev, down = close);
     pinch-zoom stays native. */
  touch-action:pinch-zoom;
}
.lb-figure{ position:relative; will-change:transform; }
.lb-figure img{ display:block; width:100%; height:100%; object-fit:contain; }
.lb-figure .lb-hi{ position:absolute; inset:0; opacity:0; transition:opacity .35s ease; }
.lb-figure .lb-hi.is-loaded{ opacity:1; }
.lb-zone{ position:absolute; top:0; bottom:0; width:50%; z-index:3; cursor:pointer; }
.lb-zone--prev{ left:0; }
.lb-zone--next{ right:0; }
.lb-exif{ color:var(--fg-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:14.5px; }
.lb-nav{ justify-self:center; display:flex; gap:8px; }
.lb-nav button{
  width:46px; height:40px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--rule-2);
  border-radius:var(--r-btn);
  transition:border-color .2s, background-color .2s, color .2s;
}
.lb-nav button:hover{ border-color:var(--fg); background:var(--fg); color:var(--bg); }
.lb-nav svg{ width:14px; height:10px; }
.lb-enquire{ justify-self:end; color:var(--fg-2); font-weight:540; }
.lb-enquire:hover{ color:var(--amber); }
.lb-progress{ position:absolute; left:0; right:0; bottom:0; height:2px; z-index:4; background:rgba(241,238,232,.08); }
.lb-progress i{ position:absolute; left:0; top:0; bottom:0; width:100%; background:var(--amber); transform-origin:left; transform:scaleX(var(--p,0)); transition:transform .5s var(--ease-out); }
@media (max-width:700px){
  .lb-top{ grid-template-columns:1fr auto; }
  .lb-title{ display:none; }
  .lb-count{ justify-self:start; }
  .lb-bottom{ grid-template-columns:1fr auto; row-gap:12px; padding-bottom:calc(16px + env(safe-area-inset-bottom)); }
  .lb-exif{ grid-column:1 / -1; grid-row:1; white-space:normal; }
  .lb-nav{ justify-self:start; }
  .lb-stage{ padding:0; }
  .lb-zone{ display:none; }
}

/* ------------------------------------------------------------------
   Page transitions (Chrome, Edge, Safari 18.2+): a short, plain
   crossfade. Nothing moves, so there's nothing to stutter. Other
   browsers simply change page normally.
   ------------------------------------------------------------------ */
@view-transition{ navigation:auto; }
::view-transition-old(root),::view-transition-new(root){ animation-duration:.24s; animation-timing-function:ease; }

/* ------------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion:reduce){
  @view-transition{ navigation:none; }
  *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
