/* Elevato Kiln - additions on top of the design CSS (kiln.css):
   mobile nav, admin-bar offset, and generic page prose. */

/* ---- Mobile navigation (the prototype had none) ---- */
.hd__burger{
  display:none; appearance:none; -webkit-appearance:none; background:none; border:0;
  color:var(--on-ink); width:44px; height:44px; align-items:center; justify-content:center;
  cursor:pointer; padding:0;
}
.hd__burger svg{ display:block; }

@media(max-width:900px){
  .hd__burger{ display:inline-flex; position:relative; z-index:80; }
  .hd__r > .tl{ display:none; }
  /* keep the logo tappable above the open panel */
  .hd__brand{ position:relative; z-index:80; }
  /* Overrides kiln.css `.hd__n{display:none}` at this breakpoint.
     NB: `.hd` sets backdrop-filter + transform, so it is the containing block
     for this fixed panel - `inset:0` would collapse to the 84px header. We size
     with viewport units (dvh) instead so the panel reliably fills the screen. */
  .hd__n{
    position:fixed; top:0; left:0; width:100%;
    height:100vh; height:100dvh; z-index:70; display:flex; flex-direction:column;
    align-items:flex-start; justify-content:center; gap:10px; padding:0 var(--pad);
    background:var(--ink); transform:translateY(-100%);
    transition:transform .5s var(--e); pointer-events:none;
  }
  html.nav-open .hd__n{ transform:none; pointer-events:auto; }
  html.nav-open{ overflow:hidden; }
  .hd__n a{
    font-family:var(--d); font-weight:900; text-transform:uppercase;
    font-size:clamp(2rem,10vw,3.4rem); line-height:1; color:var(--on-ink); min-height:auto;
  }
  .hd__n a::after{ display:none; }
}

/* ---- "What we do" services MEGA MENU (desktop hover) ---- */
.hd__has{ position:relative; display:inline-flex; align-items:center; }
.hd__mega{
  position:absolute; top:100%; left:50%; transform:translate(-50%,6px); margin-top:14px;
  width:min(1040px,92vw); max-width:92vw;
  border:1px solid var(--rule-ink); border-radius:14px;
  background:rgba(14,15,16,.76); -webkit-backdrop-filter:blur(24px) saturate(140%); backdrop-filter:blur(24px) saturate(140%);
  box-shadow:0 30px 80px rgba(0,0,0,.55);
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .25s var(--e), transform .25s var(--e), visibility .25s;
  z-index:65;
}
.hd__mega__in{
  display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:20px 22px;
}
/* invisible bridge so the hover doesn't drop in the gap below the label */
.hd__mega::before{ content:""; position:absolute; left:0; right:0; top:-18px; height:18px; }
.hd__has--mega:hover .hd__mega,
.hd__has--mega:focus-within .hd__mega{
  opacity:1; visibility:visible; pointer-events:auto; transform:translate(-50%,0);
}
.hd__col{ display:flex; flex-direction:column; padding:6px 8px; }
.hd__col + .hd__col{ border-left:1px solid var(--rule-ink); }
.hd__col__h{
  margin:4px 8px 8px; font-size:10.5px; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; color:var(--sienna);
}
/* scope with a.hd__mi so the nav color rules don't win */
.hd__mega a.hd__mi{
  display:block; padding:8px 10px; border-radius:8px; min-height:0;
  color:var(--on-ink); transition:background .22s var(--e), color .22s var(--e);
}
.hd__mega a.hd__mi:hover{ background:rgba(200,240,74,.12); }
.hd__mega a.hd__mi::after{ display:none; }
.hd__mi__t{ display:block; font-size:13.5px; font-weight:600; line-height:1.25; }
.hd__mi__d{
  display:block; margin-top:2px; font-size:11.5px; line-height:1.3; color:var(--on-ink-2);
  overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
}
.hd__col--cta{ background:rgba(200,240,74,.06); border-radius:10px; }
.hd__cta__p{ margin:0 8px 14px; font-size:12.5px; line-height:1.4; color:var(--on-ink-2); }
.hd__mega a.hd__cta__b{
  display:inline-flex; align-items:center; gap:7px; margin:0 8px 10px; padding:9px 14px;
  border-radius:999px; background:var(--sienna); color:var(--ink);
  font-size:12.5px; font-weight:700; width:fit-content;
}
.hd__mega a.hd__cta__b::after,
.hd__mega a.hd__cta__l::after{ display:none; }
.hd__mega a.hd__cta__l{ margin:0 8px; font-size:12px; color:var(--on-ink-2); text-decoration:underline; text-underline-offset:3px; }
@media(max-width:1040px){ .hd__mega{ width:min(680px,94vw); } .hd__mega__in{ grid-template-columns:repeat(2,1fr); } }

@media(max-width:900px){
  /* In the full-screen mobile menu, "What we do" is just a link (the Services
     hub lists everything); the mega panel is a desktop-only enhancement. */
  .hd__mega{ display:none; }
  .hd__has{ display:inline-flex; }
}

/* ---- "What we do" hub layout (ek-services, layout=hub) ---- */
.svh{ display:flex; flex-direction:column; gap:clamp(34px,5vh,60px); }
.svh__major{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(16px,2vw,26px); }
.svh__m{
  display:grid; grid-template-rows:auto 1fr; gap:0; overflow:hidden;
  border:1px solid var(--rule-ink); border-radius:16px; background:var(--paper-2);
  transition:border-color .18s ease, transform .18s ease-out;
}
.svh__m:hover{ border-color:var(--sienna); transform:translateY(-4px); }
.svh__m__v{
  display:flex; align-items:center; justify-content:center; aspect-ratio:16/7;
  background:radial-gradient(120% 140% at 50% 0,rgba(200,240,74,.10),transparent 60%);
  color:var(--sienna); border-bottom:1px solid var(--rule-ink); overflow:hidden;
}
.svh__m__v .svart{ width:70%; height:82%; }
.svh__m__v--ui{ padding:20px 20px 0; align-items:flex-end; }
.svh__m__art{ display:block; width:100%; height:100%; }
.svh__m__tx{ display:flex; flex-direction:column; gap:8px; padding:clamp(18px,2vw,26px); }
.svh__m__t{ font-family:var(--d); font-weight:900; text-transform:uppercase; letter-spacing:-.01em;
  font-size:clamp(1.3rem,2.2vw,1.9rem); line-height:1; color:var(--on-ink); }
.svh__m__d{ font-size:.95rem; line-height:1.55; color:var(--on-ink-2); }
.svh__m__a{ display:inline-flex; align-items:center; gap:7px; margin-top:4px;
  font-size:13px; font-weight:600; color:var(--sienna); }
.svh__grp + .svh__grp{ margin-top:4px; }
.svh__grp__h{ margin:0 0 16px; font-size:11px; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; color:var(--sienna); border-top:1px solid var(--rule-ink); padding-top:18px; }
.svh__tiles{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(12px,1.4vw,18px); }
.svh__tile{
  display:grid; grid-template-columns:1fr auto; align-items:start; gap:6px 12px;
  padding:18px; border:1px solid var(--rule-ink); border-radius:12px; background:var(--paper-2);
  transition:border-color .18s ease, background .18s ease, transform .18s ease-out;
}
.svh__tile:hover{ border-color:var(--sienna); transform:translateY(-3px); }
.led__all{ margin-top:26px; }
.svh__tile__t{ font-family:var(--d); font-weight:800; text-transform:uppercase; letter-spacing:-.01em;
  font-size:1.08rem; line-height:1.02; color:var(--on-ink); }
.svh__tile__d{ grid-column:1/-1; font-size:.86rem; line-height:1.5; color:var(--on-ink-2); }
.svh__tile__a{ color:var(--sienna); display:inline-flex; }
@media(max-width:860px){
  .svh__major{ grid-template-columns:1fr; }
  .svh__tiles{ grid-template-columns:repeat(2,1fr); }
}
@media(max-width:560px){ .svh__tiles{ grid-template-columns:1fr; } }

/* ---- Featured service cards (home teaser) ----
   Content-dense (eyebrow + title + desc + corner arrow) with the site's
   signature ledger hover: a chartreuse sweep fills up, text inverts to ink. */
.svf{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(12px,1.4vw,18px); margin-top:clamp(28px,4vh,48px); }
.svf__c{
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; flex-direction:column; gap:9px;
  padding:clamp(22px,2.6vw,34px);
  border:1px solid var(--rule-ink); border-radius:14px; background:var(--paper-2);
  transition:border-color .45s var(--e);
}
.svf__c::before{
  content:""; position:absolute; inset:0; z-index:-1; background:var(--sienna);
  transform:translateY(101%); transition:transform .6s var(--e);
}
.svf__c:hover{ border-color:var(--sienna); }
.svf__c:hover::before{ transform:translateY(0); }
.svf__k{
  font-size:10px; font-weight:700; letter-spacing:.17em; text-transform:uppercase;
  color:var(--sienna); transition:color .45s var(--e);
}
.svf__t{
  font-family:var(--d); font-weight:900; text-transform:uppercase; letter-spacing:-.015em;
  font-size:clamp(1.35rem,2vw,1.8rem); line-height:1; color:var(--on-ink);
  padding-right:42px; transition:color .45s var(--e);
}
.svf__d{
  font-size:.93rem; line-height:1.55; color:var(--on-ink-2); max-width:44ch;
  transition:color .45s var(--e);
}
.svf__a{
  position:absolute; top:clamp(22px,2.6vw,34px); right:clamp(22px,2.6vw,34px);
  color:var(--on-ink-2); transition:color .45s var(--e), transform .5s var(--e);
}
.svf__c:hover .svf__k{ color:var(--ink); }
.svf__c:hover .svf__t{ color:var(--ink); }
.svf__c:hover .svf__d{ color:rgba(14,15,16,.78); }
.svf__c:hover .svf__a{ color:var(--ink); transform:rotate(-45deg); }
@media(max-width:720px){ .svf{ grid-template-columns:1fr; } }

/* ---- Service pages: pin the image column while the text column scrolls ----
   Only on the desktop two-column layout; stacked mobile keeps normal flow. */
@media(min-width:901px){
  .band--stick .band__pic{ position:sticky; top:clamp(96px,11vh,124px); align-self:start; }
}

/* ---- Footer: services grouped into columns (not one tall list) ---- */
.ft .ft__g{ grid-template-columns:1.4fr 2.7fr 1fr; align-items:start; }
.ft__svc__cols{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px 24px; }
.ft__svc__h{ margin:0 0 11px; font-size:10px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--sienna); }
.ft__svc__col ul{ list-style:none; margin:0; padding:0; }
.ft__brand .ft__ab + .ft__ab{ margin-top:12px; }
@media(max-width:900px){ .ft .ft__g{ grid-template-columns:1fr 1fr; } }
@media(max-width:620px){ .ft .ft__g{ grid-template-columns:1fr; } }
@media(max-width:460px){ .ft__svc__cols{ grid-template-columns:1fr; } }

/* ---- WP admin bar offset so the fixed header isn't hidden behind it ---- */
body.admin-bar .hd{ top:32px; }
@media(max-width:782px){ body.admin-bar .hd{ top:46px; } }

/* ---- Generic page prose (page.php / posts) ---- */
.prose{ max-width:72ch; margin-inline:auto; }
.prose > * + *{ margin-top:1.1em; }
.prose h2{ font-family:var(--d); font-weight:900; text-transform:uppercase; font-size:clamp(1.8rem,4vw,2.8rem); line-height:.95; margin-top:1.6em; }
.prose h3{ font-family:var(--d); font-weight:700; text-transform:uppercase; font-size:1.4rem; margin-top:1.4em; }
.prose p,.prose li{ font-size:clamp(1rem,1.28vw,1.12rem); line-height:1.7; color:var(--on-ink-2); }
.prose a{ color:var(--sienna); text-decoration:underline; text-underline-offset:3px; }
.prose img{ border-radius:4px; }
.prose ul,.prose ol{ padding-left:1.2em; }

/* a plain interior wrapper with breathing room under the fixed header */
.pagewrap{ padding-top:clamp(120px,16vh,200px); padding-bottom:clamp(64px,10vh,140px); }

/* ---- Work page category filter ---- */
.wkf{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:clamp(28px,4vh,48px); }
.wkf__b{
  appearance:none; -webkit-appearance:none; cursor:pointer;
  background:transparent; color:var(--on-ink-2);
  border:1px solid var(--rule-ink); border-radius:999px;
  padding:9px 18px; font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  transition:color .3s, border-color .3s, background .3s;
}
.wkf__b:hover{ color:var(--on-ink); border-color:var(--on-ink-2); }
.wkf__b.is-on{ background:var(--sienna); color:var(--ink); border-color:var(--sienna); }
.wk--all .wi.is-hidden{ display:none; }

/* Full portfolio grid (Work page): clean cover tiles instead of the browser-frame
   showcase, so logos, business cards and screenshots all read uniformly. 3→2→1. */
.wk--all{ grid-template-columns:repeat(3,1fr)!important; gap:clamp(18px,2vw,28px); }
@media(max-width:860px){ .wk--all{ grid-template-columns:repeat(2,1fr)!important; } }
@media(max-width:520px){ .wk--all{ grid-template-columns:1fr!important; } }
.wk--all .wi__f{
  padding-top:0; aspect-ratio:4/3; background:var(--paper-2);
  border:1px solid var(--rule-ink); box-shadow:none;
}
.wk--all .wi__f::before, .wk--all .wi__f::after{ display:none; } /* no browser bar / sheen */
.wk--all .wi::before, .wk--all .wi::after{ display:none; }       /* no corner ticks */
.wk--all .wi__img{ aspect-ratio:auto; width:100%; height:100%; object-fit:cover; }
/* website screenshots show their top (header/hero); logos/cards stay centred */
.wi__img--top{ object-position:top center!important; }

/* Curated showcase (home + services): newer full-page screenshots top-cropped to
   the header inside the browser frame, instead of the default contain/letterbox. */
.wk--show .wi__f{ aspect-ratio:1228/669; }
.wk--show .wi__img{ aspect-ratio:auto!important; height:100%!important; object-fit:cover!important; }

/* ---- Single portfolio item: the case-study screenshot ---- */
.pfx__hero{
  position:relative; margin:0; border:1px solid var(--rule-ink); border-radius:6px;
  overflow:hidden; background:#08090a; box-shadow:0 34px 80px -34px rgba(0,0,0,.78);
}
.pfx__scroll{ display:block; }
.pfx__img{ width:100%; height:auto; display:block; }

/* website entries get a browser frame; the whole page design shows at once */
.pfx__hero--web{ padding-top:34px; }
.pfx__bar{
  position:absolute; top:0; left:0; right:0; height:34px; z-index:3;
  border-bottom:1px solid var(--rule-ink);
  background:
    radial-gradient(circle at 18px 17px,rgba(237,235,230,.30) 4px,transparent 4.6px),
    radial-gradient(circle at 36px 17px,rgba(237,235,230,.19) 4px,transparent 4.6px),
    radial-gradient(circle at 54px 17px,rgba(237,235,230,.13) 4px,transparent 4.6px),
    #17181a;
}
.pfx__cap{ margin:28px 0 0; text-align:center; color:var(--on-ink-2); }

/* Extra project images (brand / mockup sheets) stacked below the main shot */
.pf-gallery{ display:flex; flex-direction:column; gap:clamp(18px,3vh,30px); }
.pf-gallery__i{ margin:0; }

/* Case-study overview (clean prose column) */
.pf-prose__eye{ color:var(--sienna); margin-bottom:16px; }
.pf-prose{ max-width:60ch; }
.pf-prose p{ margin:0 0 1.1em; color:var(--on-ink-2); font-size:clamp(1rem,1.25vw,1.14rem); line-height:1.62; }
.pf-prose p:last-child{ margin-bottom:0; }

/* Related "More work" - three cards in a single row, each showing the site top */
.wk--more{ grid-template-columns:repeat(3,1fr)!important; }
.wk--more .wi__img{ object-fit:cover!important; }
@media(max-width:860px){ .wk--more{ grid-template-columns:repeat(2,1fr)!important; } }
@media(max-width:560px){ .wk--more{ grid-template-columns:1fr!important; } }

/* Single-column work cards: the cross-column baseline rule on .wi__m reads as a
   stray divider between stacked cards (looks like it caps the next image), so
   drop it and tuck the caption tight under its own image. */
@media(max-width:560px){
  .wi__f{ margin-bottom:12px; }
  .wi__m{ border-top:0; padding-top:0; }
}

/* ---- Project facts strip ---- */
.pf-facts{
  display:flex; flex-wrap:wrap; gap:0; margin:0;
  border:1px solid var(--rule-ink); border-radius:6px; overflow:hidden; background:var(--paper-2);
}
.pf-facts__i{
  flex:1 1 0; min-width:150px; padding:16px 20px;
  border-right:1px solid var(--rule-ink);
}
.pf-facts__i:last-child{ border-right:0; }
.pf-facts__l{
  margin:0; font-size:10.5px; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--sienna);
}
.pf-facts__v{
  margin:7px 0 0; font-family:var(--d); font-weight:600; text-transform:uppercase;
  letter-spacing:-.01em; font-size:1.18rem; line-height:1.04; color:var(--on-ink);
}
@media(max-width:720px){
  .pf-facts__i{ flex:1 1 50%; min-width:0; }
  .pf-facts__i:nth-child(2n){ border-right:0; }
  .pf-facts__i{ border-bottom:1px solid var(--rule-ink); }
  .pf-facts__i:nth-last-child(-n+1){ border-bottom:0; }
}

/* Facts strip inside a portfolio band's text column: stacked (the column is
   narrow), sitting under the write-up beside the screenshot. */
.pf-facts--band{ flex-direction:column; margin-top:clamp(22px,3vh,34px); }
.pf-facts--band .pf-facts__i{
  flex:1 1 100%; min-width:0; border-right:0;
  border-bottom:1px solid var(--rule-ink); padding:14px 18px;
}
.pf-facts--band .pf-facts__i:last-child{ border-bottom:0; }
.pf-facts--band .pf-facts__v{ font-size:1.05rem; }

/* wide/full blocks shouldn't overflow the gutter */
.prose .alignwide,.prose .alignfull{ max-width:none; }

/* ---- Process steps: horizontal "blocky" card layout (ek-steps layout=cards).
   The default .stp is a tall numbered list; cards lay the stages out as a
   color-accented row that wraps on smaller screens - used on case studies. */
.stp--cards{
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px;
  border-top:0; margin-top:6px;
}
@media(max-width:900px){ .stp--cards{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:520px){ .stp--cards{ grid-template-columns:1fr; } }

.stp--cards .stp__i{
  display:block; grid-template-columns:none; gap:0;
  padding:clamp(22px,2.2vw,30px); border:1px solid var(--rule-ink); border-radius:4px;
  background:
    linear-gradient(180deg, rgba(200,240,74,.07), rgba(200,240,74,0) 46%),
    rgba(237,235,230,.03);
  position:relative; overflow:hidden;
  transition:border-color .4s var(--e), transform .4s var(--e), background .4s var(--e);
}
/* color cap along the top edge of every card */
.stp--cards .stp__i::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px; background:var(--sienna);
}
/* solid chartreuse number chip - blocky + the color the brief asked for */
.stp--cards .stp__n{
  display:inline-grid; place-items:center; width:3rem; height:3rem; margin-bottom:20px;
  background:var(--sienna); color:var(--ink);
  -webkit-text-stroke:0; text-stroke:0;
  font-size:1.5rem; line-height:1; border-radius:3px;
}
.stp--cards .stp__t{ font-size:clamp(1.15rem,1.5vw,1.45rem); margin-bottom:10px; }
.stp--cards .stp__d{ max-width:none; font-size:14.5px; }

/* hover lift must outrank `[data-rv].on .fade` (0,3,0), which pins transform:none */
[data-rv].on .stp--cards .stp__i.fade:hover,
.stp--cards .stp__i.fade:hover{ transform:translateY(-4px); border-color:var(--sienna); }

/* ---- Services: alternating "feature rows" (ek-services layout=rows) ----
   A richer, more editorial treatment than the compact .led ledger, for the
   dedicated "What we do" page. Each service is a full row: text on one side, an
   icon panel on the other, sides alternating down the page. */
.svx{ display:flex; flex-direction:column; }
.svx__r{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,5vw,72px); align-items:center;
  padding:clamp(26px,4vw,52px) 0; border-top:1px solid var(--rule-ink);
}
.svx__r:first-child{ border-top:0; padding-top:clamp(10px,2vw,22px); }
/* text side */
.svx__tx{ max-width:46ch; }
.svx__t{
  font-family:var(--d); font-weight:900; text-transform:uppercase; color:var(--on-ink);
  font-size:clamp(1.7rem,3.4vw,2.9rem); line-height:.98; letter-spacing:-.015em; margin:0 0 14px;
}
.svx__d{ color:var(--on-ink-2); font-size:clamp(1rem,1.2vw,1.1rem); line-height:1.6; margin:0 0 22px; }
.svx__a{
  display:inline-flex; align-items:center; gap:9px; color:var(--on-ink);
  font-size:12.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  transition:color .35s var(--e);
}
.svx__a svg{ transition:transform .4s var(--e); }
.svx__r:hover .svx__a{ color:var(--sienna); }
.svx__r:hover .svx__a svg{ transform:translateX(6px); }
/* icon panel */
.svx__v{
  position:relative; aspect-ratio:5/4; border:1px solid var(--rule-ink); border-radius:8px; overflow:hidden;
  display:grid; place-items:center;
  background:
    radial-gradient(circle at 1px 1px, rgba(237,235,230,.09) 1px, transparent 0) 0 0/22px 22px,
    linear-gradient(150deg, rgba(200,240,74,.12), rgba(200,240,74,0) 58%),
    var(--paper-2);
  transition:border-color .5s var(--e);
}
.svx__r:hover .svx__v{ border-color:rgba(200,240,74,.4); }
.svx__ic{ position:relative; z-index:1; color:var(--sienna); width:clamp(60px,8vw,96px); height:clamp(60px,8vw,96px); display:grid; place-items:center; }
.svx__ic svg{ width:100%; height:100%; display:block; }
/* full-panel service illustration (replaces the small icon) */
.svx__art{ position:relative; z-index:1; color:var(--sienna); width:100%; height:100%; display:grid; place-items:center; padding:clamp(12px,1.8vw,30px); }
.svx__art svg{ width:100%; height:100%; max-width:580px; display:block; }

/* service illustration as a band's media - clean minimal panel, no texture/glow */
.band__pic--art{
  aspect-ratio:4/3; padding-top:0; border:1px solid var(--rule-ink); border-radius:16px; box-shadow:none;
  background:radial-gradient(78% 78% at 50% 38%, #191b1e, #0f1012);
}
.band__pic--art::before{ display:none; }          /* remove the browser dot bar */
.band__art{ position:absolute; inset:0; display:grid; place-items:center; padding:clamp(18px,2.6vw,44px); color:var(--sienna); }
.band__art svg{ width:100%; height:100%; max-width:660px; display:block; }

/* "real UI" device mockup: a clean browser frame with a live, slowly scrolling screen */
.uim{
  position:absolute; inset:clamp(14px,2.2vw,30px); border-radius:12px; overflow:hidden;
  background:#0c0d0f; border:1px solid var(--rule-ink);
  box-shadow:0 36px 72px -34px rgba(0,0,0,.85);
  display:flex; flex-direction:column;
}
.svx__v .uim{ inset:clamp(12px,1.8vw,22px); }
.uim__bar{ height:36px; flex:none; display:flex; align-items:center; gap:12px; padding:0 14px;
  background:linear-gradient(#202327,#191b1e); border-bottom:1px solid var(--rule-ink); }
.uim__dots{ display:flex; gap:7px; flex:none; }
.uim__dots i{ width:10px; height:10px; border-radius:50%; background:#3a3d42; }
.uim__dots i:nth-child(1){ background:#ff5f57; } .uim__dots i:nth-child(2){ background:#febc2e; } .uim__dots i:nth-child(3){ background:#28c840; }
.uim__addr{ flex:1; max-width:64%; font-size:12px; line-height:1; color:#9a9da2;
  background:#0f1113; border:1px solid rgba(237,235,230,.06); padding:7px 12px; border-radius:7px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* The screen is a real scroll container: theme.js drives a CONSTANT-SPEED
   auto-scroll (so long designs don't race past) and the visitor can grab and
   drag it up/down. Scrollbar hidden; scroll naturally stops at the image edges. */
.uim__view{ position:relative; flex:1; overflow-y:auto; overflow-x:hidden; background:#fff;
  cursor:grab; touch-action:pan-y; overscroll-behavior:contain;
  scrollbar-width:none; -ms-overflow-style:none; }
.uim__view::-webkit-scrollbar{ width:0; height:0; display:none; }
.uim__view.is-grab{ cursor:grabbing; }
.uim__shot{ position:static; width:100%; height:auto; display:block;
  user-select:none; -webkit-user-drag:none; }
@media(prefers-reduced-motion:reduce){ .uim__view{ cursor:grab; } }

/* A bare scrolling window (tall non-website art): no browser chrome bar. */
.uim--bare{ border:1px solid var(--rule-ink); }
.uim--bare .uim__view{ border-radius:11px; }

/* A UI mockup is its own frame - drop the outer panel box so only the browser shows */
.band__pic--ui{ aspect-ratio:4/3; padding-top:0; border:0; background:transparent; box-shadow:none; overflow:visible; }

/* Portfolio screenshot band. The old fixed 4:3 box sat centered, so a tall
   write-up left a big empty gap above and below a short window. Instead the
   window now HUGS its screenshot (height follows the image, so it's never taller
   than the picture - no white gap inside the browser), CAPS its height so a tall
   full-page capture still scrolls inside a bounded frame, TOP-aligns, and STICKS
   alongside the text so the left column rides with the write-up instead of
   reading as dead space. */
.band--shot{ align-items:start; }
.band--shot .band__pic--ui{ position:sticky; top:clamp(88px,11vh,116px); align-self:start;
  aspect-ratio:auto; min-height:0; }
.band--shot .band__pic--ui .uim{ position:static; inset:auto; }
.band--shot .uim__view{ flex:0 1 auto; max-height:clamp(420px,72vh,760px); }
@media(max-width:900px){
  .band--shot .band__pic--ui{ position:static; top:auto; }
  .band--shot .uim__view{ max-height:clamp(340px,78vh,560px); }
}
.band__pic--ui::before{ display:none; }
.band__pic--ui .uim, .svx__v--ui .uim{ inset:0; }
.svx__v--ui{ background:none; border:0; overflow:visible; }

/* flat real artefact (logo / business card) - static; there's nothing to
   scroll, so it holds still rather than animating for animation's sake. */
.uim--flat{ background:#0c0d0f; }
.uim__flat{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }

/* search-results (SERP) mockup - client ranks #1 */
.uim--serp{ display:block; background:#0f1012; padding:clamp(16px,2.4vw,26px); overflow:hidden; }
.serp__search{ display:flex; align-items:center; gap:8px; background:#1a1c1f; border:1px solid var(--rule-ink);
  border-radius:999px; padding:10px 16px; }
.serp__q{ font-size:13px; color:var(--on-ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.serp__caret{ flex:none; width:2px; height:15px; background:var(--sienna); animation:serpCaret 1.1s ease-in-out infinite; }
@keyframes serpCaret{ 0%,100%{ opacity:.25; } 50%{ opacity:1; } }
.serp__meta{ font-size:11px; color:var(--on-ink-2); margin:12px 2px 10px; }
.serp__item{ display:flex; gap:12px; padding:10px 12px; border-radius:10px; margin-bottom:8px; align-items:flex-start; }
.serp__item--win{ background:rgba(200,240,74,.07); border:1px solid rgba(200,240,74,.26); animation:serpWin 3.4s ease-in-out infinite; }
@keyframes serpWin{ 0%,100%{ box-shadow:0 0 0 0 rgba(200,240,74,0); } 50%{ box-shadow:0 0 0 3px rgba(200,240,74,.13); } }
.serp__rank{ flex:none; width:22px; height:22px; border-radius:50%; background:var(--sienna); color:var(--ink);
  font-size:12px; font-weight:700; display:grid; place-items:center; }
.serp__rank--dim{ background:#2a2d31; color:var(--on-ink-2); }
.serp__body{ display:flex; flex-direction:column; gap:6px; min-width:0; flex:1; }
.serp__url{ font-size:11px; color:var(--sienna); }
.serp__url--dim{ color:#6b6e72; }
.serp__title{ font-size:13.5px; font-weight:600; line-height:1.2; color:#bcd9ff; }
.serp__title--dim{ height:12px; width:72%; background:#2a2d31; border-radius:4px; }
.serp__line{ height:8px; background:#222528; border-radius:4px; }
.serp__line--s{ width:58%; }

/* automation workflow mockup - a pulse runs through the steps */
.uim--flow{ display:flex; flex-direction:column; align-items:stretch; justify-content:center;
  background:#0f1012; padding:clamp(18px,2.8vw,32px); }
.flow__node{ display:flex; align-items:center; gap:14px; background:#17191c; border:1px solid var(--rule-ink);
  border-radius:12px; padding:13px 16px; animation:flowPulse 3s ease-in-out infinite;
  animation-delay:calc(var(--i) * .9s); }
@keyframes flowPulse{ 0%,100%{ border-color:var(--rule-ink); box-shadow:0 0 0 0 rgba(200,240,74,0); }
  18%,34%{ border-color:rgba(200,240,74,.5); box-shadow:0 0 0 3px rgba(200,240,74,.1); } }
.flow__ic{ flex:none; width:38px; height:38px; border-radius:10px; background:rgba(200,240,74,.14);
  color:var(--sienna); display:grid; place-items:center; font-size:17px; }
.flow__tx{ display:flex; flex-direction:column; gap:3px; font-size:13px; color:var(--on-ink); min-width:0; }
.flow__tx b{ font-size:9.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--sienna); font-weight:700; }
.flow__wire{ width:2px; height:26px; background:var(--rule-ink); margin:0 auto; position:relative; overflow:hidden; }
.flow__run{ position:absolute; left:-1px; top:0; width:4px; height:16px; border-radius:2px; background:var(--sienna);
  animation:flowRun 1.8s linear infinite; }
@keyframes flowRun{ 0%{ transform:translateY(-18px); } 100%{ transform:translateY(28px); } }
@media(prefers-reduced-motion:reduce){ .uim__flat,.serp__caret,.serp__item--win,.flow__node,.flow__run{ animation:none; } }

/* ---- illustration motion: slow, smooth, continuous loops (no steps / snaps) ---- */
.svart{ animation:svFloat 9s ease-in-out infinite; transform-origin:center; will-change:transform; }
@keyframes svFloat{ 0%,100%{ transform:translateY(-4px); } 50%{ transform:translateY(4px); } }
.svart [class^="an-"]:not(.an-flow):not(.an-cta){ transform-box:fill-box; transform-origin:center; will-change:transform; }

/* soft opacity throb for small accents (lights, carets, bolts) */
.svart .an-glow{ animation:anGlow 3s ease-in-out infinite; }
@keyframes anGlow{ 0%,100%{ opacity:.4; } 50%{ opacity:1; } }

/* gentle symmetric breathe for grouped accents (bars, swatches) */
.svart .an-breathe{ animation:anBreathe 4s ease-in-out infinite; }
@keyframes anBreathe{ 0%,100%{ transform:scale(.92); } 50%{ transform:scale(1.06); } }

/* cursor glides to the CTA and back */
.svart .an-glide{ animation:anGlide 5.5s ease-in-out infinite; }
@keyframes anGlide{ 0%,100%{ transform:translate(0,0); } 42%,58%{ transform:translate(-72px,-4px); } }
/* CTA fills as the cursor arrives */
.svart .an-cta{ animation:anCta 5.5s ease-in-out infinite; }
@keyframes anCta{ 0%,32%{ fill:rgba(200,240,74,0); } 46%,54%{ fill:rgba(200,240,74,.22); } 68%,100%{ fill:rgba(200,240,74,0); } }

/* gauge needle sweep */
.svart .an-needle{ transform-origin:100% 100%!important; animation:anNeedle 6s ease-in-out infinite; }
@keyframes anNeedle{ 0%,100%{ transform:rotate(-6deg); } 50%{ transform:rotate(22deg); } }

/* sparkle twinkle */
.svart .an-spark{ animation:anSpark 3.2s ease-in-out infinite; }
@keyframes anSpark{ 0%,100%{ transform:scale(.8); opacity:.55; } 50%{ transform:scale(1.1); opacity:1; } }

/* data flowing along connectors */
.svart .an-flow{ stroke-dasharray:6 10; animation:anFlow 1.9s linear infinite; }
@keyframes anFlow{ to{ stroke-dashoffset:-32; } }

@media(prefers-reduced-motion:reduce){ .svart, .svart *{ animation:none!important; } }
/* alternate the sides */
.svx__r:nth-child(even) .svx__tx{ order:2; }
.svx__r:nth-child(even) .svx__v{ order:1; }
@media(max-width:760px){
  .svx__r{ grid-template-columns:1fr; gap:22px; }
  .svx__r:nth-child(even) .svx__tx,
  .svx__r:nth-child(even) .svx__v{ order:0; }
  .svx__v{ aspect-ratio:16/9; }
}

/* ---- Hero: keep "brands & the websites" on one line (the 22ch cap in kiln.css
   put that 21-char line right on the wrap boundary, so it flipped between 3 and
   4 lines depending on window size). A little more room keeps it compact/3-line
   at desktop widths; it still wraps gracefully on small screens. */
.hero__st{ max-width:34ch; font-size:clamp(2.7rem, min(12vw,12svh), 9rem); }

/* ---- Band "AI answer" animation (band media=ai) --------------------------
   A CSS-only looping mock of someone asking an AI and the answer naming the
   business - sits inside the same browser frame as the image bands. One 9s
   cycle: question types in -> AI "thinks" -> answer types in, brand highlights,
   a cited source appears -> hold -> fade and loop. */
.band__pic--ai{ padding-bottom:0; }
.aiq{
  position:relative; z-index:1; min-height:clamp(300px,34vw,430px);
  display:flex; flex-direction:column; justify-content:center; gap:clamp(13px,2.2vw,20px);
  padding:clamp(20px,3.2vw,34px); font-family:var(--b);
  animation:aiq-cycle 9s linear infinite;
}
/* user question (right) */
.aiq__q{
  align-self:flex-end; max-width:84%; position:relative;
  background:var(--ink-2); border:1px solid var(--rule-ink);
  border-radius:14px 14px 4px 14px; padding:12px 15px;
}
.aiq__qt{
  margin:0; font-size:clamp(12.5px,1.45vw,15px); line-height:1.4; color:var(--on-ink);
  white-space:normal; clip-path:inset(0 100% 0 0); animation:aiq-type 9s var(--e) infinite;
}
.aiq__caret{
  position:absolute; right:13px; bottom:12px; width:2px; height:1.05em; background:var(--sienna);
  animation:aiq-blink .7s steps(1) infinite, aiq-caret-env 9s linear infinite;
}
/* AI answer (left) */
.aiq__a{ display:flex; gap:11px; align-items:flex-start; max-width:94%;
  opacity:0; transform:translateY(8px); animation:aiq-show 9s var(--e) infinite; }
.aiq__badge{
  flex:none; width:clamp(30px,3.4vw,36px); height:clamp(30px,3.4vw,36px); border-radius:50%;
  display:grid; place-items:center; background:var(--sienna); color:var(--ink);
  box-shadow:0 0 0 4px rgba(200,240,74,.12);
}
.aiq__badge svg{ width:58%; height:58%; }
.aiq__bubble{
  flex:1; position:relative; background:var(--ink-2); border:1px solid var(--rule-ink);
  border-radius:14px 14px 14px 4px; padding:13px 15px;
}
.aiq__dots{ display:flex; gap:5px; align-items:center; height:14px; overflow:hidden;
  animation:aiq-dots 9s step-end infinite; }
.aiq__dots i{ width:7px; height:7px; border-radius:50%; background:var(--on-ink-2);
  animation:aiq-bounce 1.1s var(--e) infinite; }
.aiq__dots i:nth-child(2){ animation-delay:.14s; }
.aiq__dots i:nth-child(3){ animation-delay:.28s; }
.aiq__at{
  margin:0; font-size:clamp(12.5px,1.45vw,15px); line-height:1.5; color:var(--on-ink);
  clip-path:inset(0 100% 0 0); animation:aiq-type2 9s var(--e) infinite;
}
.aiq__at mark{
  color:inherit; padding:0 2px; font-weight:600; border-radius:2px;
  background:linear-gradient(transparent 60%, rgba(200,240,74,.85) 0);
  background-size:0% 100%; background-repeat:no-repeat; animation:aiq-mark 9s var(--e) infinite;
}
.aiq__cite{
  display:inline-flex; align-items:center; gap:7px; margin-top:11px;
  font-size:11.5px; color:var(--on-ink-2); opacity:0; transform:translateY(4px);
  animation:aiq-cite 9s var(--e) infinite;
}
.aiq__favi{ width:13px; height:13px; border-radius:3px; background:var(--sienna); flex:none; }

@keyframes aiq-cycle{ 0%,3%{opacity:0} 8%{opacity:1} 92%{opacity:1} 100%{opacity:0} }
@keyframes aiq-type{ 0%,5%{clip-path:inset(0 100% 0 0)} 17%{clip-path:inset(0 0 0 0)} 100%{clip-path:inset(0 0 0 0)} }
@keyframes aiq-blink{ 0%,50%{opacity:1} 51%,100%{opacity:0} }
@keyframes aiq-caret-env{ 0%,4%{visibility:hidden} 5%{visibility:visible} 17%{visibility:visible} 19%,100%{visibility:hidden} }
@keyframes aiq-show{ 0%,19%{opacity:0;transform:translateY(8px)} 27%{opacity:1;transform:none} 100%{opacity:1;transform:none} }
@keyframes aiq-dots{ 0%,20%{opacity:0;max-height:0;margin-bottom:0} 22%{opacity:1;max-height:14px;margin-bottom:8px} 37%{opacity:1;max-height:14px;margin-bottom:8px} 39%,100%{opacity:0;max-height:0;margin-bottom:0} }
@keyframes aiq-bounce{ 0%,60%,100%{transform:translateY(0);opacity:.5} 30%{transform:translateY(-5px);opacity:1} }
@keyframes aiq-type2{ 0%,39%{clip-path:inset(0 100% 0 0)} 58%{clip-path:inset(0 0 0 0)} 100%{clip-path:inset(0 0 0 0)} }
@keyframes aiq-mark{ 0%,55%{background-size:0% 100%} 66%{background-size:100% 100%} 100%{background-size:100% 100%} }
@keyframes aiq-cite{ 0%,60%{opacity:0;transform:translateY(4px)} 68%{opacity:1;transform:none} 100%{opacity:1;transform:none} }

@media (prefers-reduced-motion: reduce){
  .aiq, .aiq *{ animation:none !important; }
  .aiq{ opacity:1; }
  .aiq__qt, .aiq__at{ clip-path:none; }
  .aiq__a{ opacity:1; transform:none; }
  .aiq__caret, .aiq__dots{ display:none; }
  .aiq__at mark{ background-size:100% 100%; }
  .aiq__cite{ opacity:1; transform:none; }
}

/* ===========================================================================
 * Home hero - "Wall - Spotlight" (ported from the Kiln hero prototype)
 * A full-viewport hero with five tilted columns of full-page designs streaming
 * behind the copy, lit through one soft oval on the right. Decorative only.
 * ========================================================================= */
.hx{ position:relative; min-height:100svh; overflow:hidden; display:flex; align-items:center; isolation:isolate; }
.hx__in{ position:relative; width:100%; max-width:var(--max); margin:0 auto;
  padding:clamp(100px,15svh,130px) var(--pad) clamp(40px,7svh,70px); }
.hx__copy{ position:relative; z-index:3; }

/* streaming columns of full-page designs (duplicated once -> seamless loop) */
.hxcol{ flex:1; min-width:0; overflow:visible; }
.hxcol__in{ display:flex; flex-direction:column; will-change:transform;
  animation:hxUp var(--dur,80s) linear infinite; }
.hxcol--rev .hxcol__in{ animation-name:hxDown; }
.hxcol img{ display:block; width:100%; height:auto; margin-bottom:18px;
  border:1px solid var(--rule-ink); box-shadow:0 30px 60px -28px rgba(0,0,0,.8); }
@keyframes hxUp{ from{ transform:translate3d(0,0,0); } to{ transform:translate3d(0,-50%,0); } }
@keyframes hxDown{ from{ transform:translate3d(0,-50%,0); } to{ transform:translate3d(0,0,0); } }

/* the tilted wall + spotlight overlay */
.hxA .hx__in{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; }
.hxA__wall{ position:absolute; z-index:1; display:flex; gap:16px; }
.hxA--spot .hxA__wall{ top:-40%; right:-12%; width:118%; height:180%; transform:rotate(-12deg); }
.hxA::after{ content:""; position:absolute; inset:0; z-index:2; pointer-events:none; }
.hxA--spot.hx--stacked::after{
  background:radial-gradient(40% 58% at 78% 48%, rgba(14,15,16,0), rgba(14,15,16,.6) 60%, rgba(14,15,16,.96) 100%),
    linear-gradient(90deg, var(--ink) 26%, rgba(14,15,16,.55) 48%, rgba(14,15,16,0) 66%); }

/* stacked headline: two clean one-line rows with real breathing room */
.hx--stacked .hx__copy{ grid-column:1 / -1; }
.hx--stacked .hx__h{ font-size:clamp(2.2rem, min(8.2vw,15svh), 8.4rem); line-height:.92; letter-spacing:.006em; max-width:none; }
.hx--stacked .hx__h .mask{ white-space:nowrap; }
.hx--stacked .hx__h .mask + .mask{ margin-top:.04em; }

/* Rotating headline word: the {word} token cycles (Custom websites -> logos ->
   integrations -> solutions). Before JS runs - and in the block-editor preview,
   where this script doesn't execute - only the first word shows, so the backend
   matches the live page. The word takes the sienna accent so it reads as the
   changing element, tying it to "elevate". */
.hx__h .rot{ display:inline-block; color:var(--sienna); }
.hx__h .rot .rot__w{ display:none; }
.hx__h .rot .rot__w:first-child{ display:inline-block; }
/* JS-enhanced: one word sits in flow (holding the height + baseline); the next
   slides in over it while the pill width eases, so the comma after glides
   instead of jumping. */
.hx__h .rot.is-live{ position:relative; white-space:nowrap; vertical-align:baseline;
  transition:width .5s cubic-bezier(.76,0,.24,1); }
.hx__h .rot.is-live .rot__w{ display:inline-block; white-space:nowrap;
  transition:opacity .38s ease, transform .5s cubic-bezier(.76,0,.24,1); }
.hx__h .rot.is-live .rot__w--abs{ position:absolute; left:0; top:0; }
.hx__h .rot.is-live .rot__w.is-pre{ opacity:0; transform:translateY(.2em); }
.hx__h .rot.is-live .rot__w.is-out{ opacity:0; transform:translateY(-.2em); }
.hx--stacked .hx__copy .lede{ margin-top:clamp(24px,4vh,38px); max-width:52ch;
  font-size:clamp(1.05rem,1.3vw,1.25rem); line-height:1.65; color:var(--on-ink-2); }
.hx--stacked .hx__copy .hero__acts{ margin-top:clamp(26px,4.4vh,40px); }

@media (max-width:860px){
  .hxA .hx__in{ grid-template-columns:1fr; }
  /* subdue the wall so it reads as texture, not competing content */
  .hxA--spot .hxA__wall{ width:170%; right:-35%; opacity:.6; }
  /* dark plateau across the centred copy zone (38-72%) so white headline and
     muted standfirst both stay high-contrast over the screenshots */
  .hxA--spot.hx--stacked::after{
    background:linear-gradient(180deg,
      rgba(14,15,16,.74) 0%,
      rgba(14,15,16,.93) 36%,
      rgba(14,15,16,.93) 74%,
      rgba(14,15,16,.98) 100%); }
}
@media (prefers-reduced-motion: reduce){ .hxcol__in{ animation:none !important; } }

/* ---- Testimonials (ek-testimonials block): real client quote cards ---- */
.tst{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(16px,2vw,26px);
  align-items:start; margin-top:clamp(28px,4vh,46px); }
.tst__c{ position:relative; background:var(--paper-2); border:1px solid var(--rule-ink);
  border-radius:16px; padding:clamp(26px,2.6vw,40px); padding-top:clamp(34px,3vw,48px);
  display:flex; flex-direction:column; gap:20px; overflow:hidden; }
.tst__c::before{ content:""; position:absolute; left:0; top:0; width:3px; height:100%;
  background:var(--sienna); opacity:.9; }
.tst__mark{ position:absolute; top:clamp(6px,1vw,14px); right:clamp(16px,2vw,26px);
  font-family:var(--d); font-size:clamp(68px,7vw,104px); line-height:1; color:var(--sienna);
  opacity:.16; pointer-events:none; }
.tst__q{ margin:0; font-size:clamp(1rem,1.15vw,1.12rem); line-height:1.65; color:var(--on-ink);
  position:relative; z-index:1; }
.tst__by{ display:flex; flex-direction:column; gap:3px; margin-top:auto; }
.tst__name{ font-weight:700; color:var(--on-ink); font-size:1.02rem; }
.tst__role{ font-size:13px; letter-spacing:.04em; text-transform:uppercase; color:var(--sienna); }
@media(max-width:760px){ .tst{ grid-template-columns:1fr; } }

/* ---- Band "device mockup" (media=duo): desktop browser + overlapping phone,
   each slowly auto-scrolling a screenshot (CSS only, so the editor matches).
   Ported from the Kiln handoff (BandMedia look="duo"). ---- */
.band__media{ position:relative; isolation:isolate; align-self:center; min-width:0; }
.band--r .band__media{ order:2; }
@media(max-width:900px){ .band .band__media{ order:0 !important; } }
.band__media .band__glow{ position:absolute; inset:-220px; z-index:-1; pointer-events:none; filter:blur(30px);
  background:radial-gradient(circle 200px at 240px 232px,rgba(200,240,74,.11),rgba(200,240,74,.05) 45%,rgba(200,240,74,0)),
    radial-gradient(circle 160px at calc(100% - 240px) calc(100% - 232px),rgba(200,240,74,.07),rgba(200,240,74,.03) 45%,rgba(200,240,74,0)); }

.bm-win{ position:relative; padding-top:22px; background:#08090a; border:1px solid var(--rule-ink);
  box-shadow:0 30px 70px -24px rgba(0,0,0,.75); transition:border-color .5s var(--e),box-shadow .6s var(--e); }
.bm-win::before{ content:""; position:absolute; top:0; left:0; right:0; height:22px; z-index:2;
  background:radial-gradient(circle at 12px 11px,rgba(237,235,230,.28) 3px,transparent 3.5px),
    radial-gradient(circle at 24px 11px,rgba(237,235,230,.18) 3px,transparent 3.5px),
    radial-gradient(circle at 36px 11px,rgba(237,235,230,.12) 3px,transparent 3.5px),#17181a;
  border-bottom:1px solid var(--rule-ink); }
.band:hover .bm-win{ border-color:rgba(200,240,74,.5); }
.bm-view{ position:relative; overflow:hidden; container-type:size; background:#fff; }
.bm-scroll{ position:absolute; top:0; left:0; width:100%; height:auto; display:block; will-change:transform;
  min-height:100%; object-fit:cover; object-position:top;
  animation:bmScrollSoft 30s linear infinite alternate; }
@keyframes bmScrollSoft{
  0%  { transform:translate3d(0,0,0); animation-timing-function:cubic-bezier(.5,0,1,1); }
  6%  { transform:translate3d(0,0,0); animation-timing-function:cubic-bezier(.4,0,.6,1); }
  94% { transform:translate3d(0,min(0px,calc(-100% + 100cqh)),0); }
  100%{ transform:translate3d(0,min(0px,calc(-100% + 100cqh)),0); } }
@media(prefers-reduced-motion:reduce){ .bm-scroll{ animation:none; } }

/* duo: desktop window + phone overlapping its lower corner */
.bm--duo{ padding:0 9% 9% 0; }
.bm--duo .bm-win--tall .bm-view{ aspect-ratio:4/3.6; }
.bm-phone{ position:absolute; right:0; bottom:0; width:30%; padding:10px; border-radius:26px; background:#0b0c0d;
  border:1px solid rgba(237,235,230,.22); box-shadow:0 30px 60px -20px rgba(0,0,0,.85); z-index:2; }
.bm-phone .bm-view{ aspect-ratio:9/18; border-radius:16px; }
.band--r .bm--duo{ padding:0 0 9% 9%; }
.band--r .bm--duo .bm-phone{ right:auto; left:0; }
@media(max-width:560px){ .bm-phone{ width:34%; } }

/* ---- Contact Form 7 on the contact page: inherits the native .fld styling;
   this just tidies CF7's own wrappers + response/validation output. ---- */
.ct__form .wpcf7-form-control-wrap{ display:block; }
.ct__form .wpcf7 input.wpcf7-submit{ margin-top:4px; }
.ct__form .wpcf7-not-valid-tip{ color:var(--sienna); font-size:13px; margin-top:6px; letter-spacing:0; text-transform:none; font-weight:500; }
.ct__form .wpcf7 .wpcf7-response-output{ margin:18px 0 0; padding:14px 16px; border:1px solid var(--rule-ink);
  border-radius:10px; font-size:14px; line-height:1.5; color:var(--on-ink); }
.ct__form .wpcf7 form.invalid .wpcf7-response-output,
.ct__form .wpcf7 form.unaccepted .wpcf7-response-output,
.ct__form .wpcf7 form.spam .wpcf7-response-output{ border-color:var(--sienna); }
.ct__form .wpcf7 form.sent .wpcf7-response-output{ border-color:#28c840; }
.ct__form .wpcf7-spinner{ margin:0 0 0 12px; }

/* ---- Turnstile gate: hide the submit until the challenge is solved ---- */
.wpcf7 form.ek-gate .wpcf7-submit{ display:none; }
.wpcf7 form.ek-gate.ek-gate-ok .wpcf7-submit{ display:inline-flex; }
.wpcf7 form.ek-gate .cf-turnstile{ margin:4px 0 16px; }
.ek-gate-hint{ margin:0 0 14px; opacity:.72; }
.wpcf7 form.ek-gate.ek-gate-ok .ek-gate-hint{ display:none; }

/* ---- Prose block: long-form rich text, styled to the dark site ---- */
.prose{ font-size:16.5px; line-height:1.72; color:var(--on-ink-2); }
.prose--narrow{ max-width:72ch; }
.prose > :first-child{ margin-top:0; }
.prose > :last-child{ margin-bottom:0; }
.prose p{ margin:0 0 1.15em; }
.prose h2{ font-size:clamp(22px,3vw,30px); line-height:1.15; color:var(--on-ink); margin:1.9em 0 .55em; letter-spacing:-.01em; }
.prose h3{ font-size:clamp(18px,2.2vw,21px); line-height:1.25; color:var(--on-ink); margin:1.6em 0 .4em; }
.prose h4{ font-size:16px; color:var(--on-ink); margin:1.4em 0 .35em; text-transform:uppercase; letter-spacing:.1em; }
.prose a{ color:var(--sienna); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.prose a:hover{ text-decoration-thickness:2px; }
.prose strong{ color:var(--on-ink); font-weight:650; }
.prose ul,.prose ol{ margin:0 0 1.2em; padding-left:1.3em; }
.prose li{ margin:.4em 0; padding-left:.2em; }
.prose li::marker{ color:var(--sienna); }
.prose blockquote{ margin:1.5em 0; padding:.2em 0 .2em 1.1em; border-left:2px solid var(--sienna); color:var(--on-ink); font-style:italic; }
.prose hr{ border:0; height:1px; background:var(--rule-ink); margin:2.2em 0; }
.prose img{ max-width:100%; height:auto; border-radius:12px; margin:1.4em 0; }
.prose table{ width:100%; border-collapse:collapse; margin:1.4em 0; font-size:15px; }
.prose th,.prose td{ text-align:left; padding:10px 12px; border-bottom:1px solid var(--rule-ink); vertical-align:top; }
.prose th{ color:var(--on-ink); font-weight:650; }
.prose code{ font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.92em; background:var(--paper-2); padding:.12em .4em; border-radius:5px; color:var(--on-ink); }

/* ---- Cookie consent manager ---- */
.ekc[hidden]{ display:none; }
.ekc__bar{ position:fixed; z-index:9000; left:16px; right:16px; bottom:16px; margin:0 auto; max-width:1080px;
  display:flex; gap:20px; align-items:center; justify-content:space-between; flex-wrap:wrap;
  background:var(--ink-2); color:var(--on-ink); border:1px solid var(--rule-ink); border-radius:16px;
  padding:20px 22px; box-shadow:0 18px 50px rgba(0,0,0,.45); animation:ekcUp .4s var(--e,ease) both; }
@keyframes ekcUp{ from{ transform:translateY(14px); opacity:0 } to{ transform:none; opacity:1 } }
.ekc__body{ flex:1 1 440px; min-width:0; }
.ekc__h{ font-size:16px; margin:0 0 6px; color:var(--on-ink); letter-spacing:0; }
.ekc__t{ margin:0; font-size:14px; line-height:1.55; color:var(--on-ink-2); }
.ekc__t a{ color:var(--sienna); text-decoration:underline; text-underline-offset:2px; }
.ekc__acts{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.ekc__acts--modal{ margin-top:22px; justify-content:flex-end; }
.ekc__btn{ font:inherit; font-size:13.5px; font-weight:600; cursor:pointer; border-radius:999px;
  padding:11px 18px; min-height:44px; border:1px solid var(--rule-ink); transition:background .3s,color .3s,border-color .3s; }
.ekc__btn--ghost{ background:transparent; color:var(--on-ink); }
.ekc__btn--ghost:hover{ background:var(--paper-2); border-color:var(--on-ink-2); }
.ekc__btn--solid{ background:var(--sienna); color:var(--ink); border-color:var(--sienna); }
.ekc__btn--solid:hover{ background:var(--paper); border-color:var(--paper); }

.ekc__modal{ position:fixed; inset:0; z-index:9100; display:grid; place-items:center; padding:16px; }
.ekc__modal[hidden]{ display:none; }
.ekc__scrim{ position:absolute; inset:0; background:rgba(0,0,0,.6); backdrop-filter:blur(2px); }
.ekc__card{ position:relative; z-index:1; width:100%; max-width:520px; max-height:88vh; overflow:auto;
  background:var(--ink-2); border:1px solid var(--rule-ink); border-radius:18px; padding:28px;
  box-shadow:0 24px 60px rgba(0,0,0,.5); animation:ekcUp .35s var(--e,ease) both; }
.ekc__opt{ padding:16px 0; border-top:1px solid var(--rule-ink); }
.ekc__opt:first-of-type{ border-top:0; margin-top:6px; }
.ekc__opt--toggle{ display:block; cursor:pointer; }
.ekc__opt-h{ display:flex; align-items:center; gap:12px; }
.ekc__opt-name{ font-size:15px; font-weight:650; color:var(--on-ink); flex:1; }
.ekc__opt-d{ margin:6px 0 0; font-size:13.5px; line-height:1.5; color:var(--on-ink-2); }
.ekc__always{ font-size:12px; color:var(--sienna); font-weight:600; }
/* toggle switch */
.ekc__check{ position:absolute; opacity:0; width:0; height:0; }
.ekc__sw{ width:46px; height:26px; border-radius:999px; background:var(--paper-2); border:1px solid var(--rule-ink);
  position:relative; flex:none; transition:background .25s; }
.ekc__sw::after{ content:""; position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%;
  background:var(--on-ink-2); transition:transform .25s,background .25s; }
.ekc__check:checked + .ekc__sw{ background:var(--sienna); border-color:var(--sienna); }
.ekc__check:checked + .ekc__sw::after{ transform:translateX(20px); background:var(--ink); }
.ekc__check:focus-visible + .ekc__sw{ outline:2px solid var(--sienna); outline-offset:3px; }

/* footer legal links */
.ft__legal{ display:inline-flex; gap:16px; flex-wrap:wrap; }
.ft__legal a{ color:inherit; }
.ft__legal a:hover{ color:var(--sienna); }

@media (max-width:640px){
  .ekc__bar{ left:10px; right:10px; bottom:10px; padding:18px; }
  .ekc__acts{ width:100%; }
  .ekc__btn{ flex:1 1 auto; text-align:center; }
}

/* ---- Solo contact/discovery form (no side panel): single, readable column ---- */
.ct--solo .ct__g{ grid-template-columns:1fr; max-width:760px; }
/* Discovery forms wrap everything in .discoveryForm - neutralise that wrapper */
.ct__form .discoveryForm{ display:block; }
/* On-brand section headers inside long forms (replaces the old teal <h3>) */
.ct__form .fsec{ margin:34px 0 18px; padding-top:22px; border-top:1px solid var(--rule-ink);
  font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--sienna); }
.ct__form .discoveryForm > h3:first-child,
.ct__form .fsec:first-child{ margin-top:0; padding-top:0; border-top:0; }
.ct__form .fld .fhint{ font-weight:400; letter-spacing:0; text-transform:none; color:var(--on-ink-2);
  font-size:13.5px; line-height:1.5; margin:2px 0 0; }
.ct__form .fld .fhint ul{ margin:6px 0 0; padding-left:1.2em; }
.ct__form .fld .fhint li{ margin:3px 0; }
.ct__form .discoveryForm hr{ display:none; } /* section headers already divide */
.ct__form input[type=date]{ color-scheme:dark; }
/* ---- Footer service-area block (admin-only preview; adapts to dark footer) ---- */
.ft__areas{ margin-top:clamp(40px,6vh,72px); padding-top:clamp(26px,4vh,38px); border-top:1px solid var(--rule-ink); }
.ft__areas__note{ font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--sienna); margin:0 0 16px; }
.ft__areas__intro{ color:var(--on-ink-2); max-width:72ch; line-height:1.6; margin:0; }
.ft__areas__sub{ color:var(--on-ink); font-weight:600; margin:12px 0 0; }
.ft__areas__cols{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(20px,2.4vw,34px); margin-top:24px; }
.ft__areas__h{ font-family:var(--d); font-weight:900; text-transform:uppercase; letter-spacing:-.01em; font-size:1.05rem; line-height:1; color:var(--on-ink); margin:0; }
.ft__areas__all{ font-size:12px; line-height:1.45; color:var(--on-ink-2); margin:9px 0 13px; }
.ft__areas__cols ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:7px; }
.ft__areas__cols a{ font-size:13px; color:var(--on-ink-2); transition:color .3s var(--e); }
.ft__areas__cols a:hover{ color:var(--sienna); }
@media(max-width:860px){ .ft__areas__cols{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px){ .ft__areas__cols{ grid-template-columns:1fr; } }

/* ---- CF7 6.2.x structural empties: hide the hidden-fields <fieldset> (browser
   default fieldset border) and the empty response-output box (only show it when
   CF7 puts a message in it, i.e. not aria-hidden). ---- */
.wpcf7 .hidden-fields-container{ display:none !important; margin:0; padding:0; border:0; }
.ct__form .wpcf7 .wpcf7-response-output[aria-hidden="true"]{ display:none; }
