/* ============================
   0todeploy — site.css  (redesign layer, loaded on every page after styles.css)
   Shared tokens and atoms, header + full-screen phone menu, footer, and an
   editorial restyle of the components inner pages share (.hero, .card,
   .faq, .section-heading, .about-cta, page heads). Logo files untouched.
   ============================ */

:root{
  --header-offset:72px;   /* the header's real height (min-height 72px), so pages don't jump when main.js measures it */
  --font-mono:ui-monospace,"SF Mono","Cascadia Code","JetBrains Mono",Consolas,monospace;
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-io:cubic-bezier(.65,0,.35,1);
  --gutter:clamp(1rem,4vw,3.5rem);
  --rule:var(--border-strong);
  /* Filled orange surfaces carry black text, so they always use the brand
     orange (6.9:1 with #0a0a0c); --accent darkens in light theme for text. */
  --brand:#ff6b00;
  --wide:1400px;
}

/* ---------- Canvas ---------- */
body{ overflow-x:clip; }
/* Film grain: tiny inline SVG turbulence tile, fixed, never intercepts input */
body::before{
  content:"";
  position:fixed; inset:0;
  z-index:2990;
  pointer-events:none;
  contain:strict;
  opacity:.06;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nLjg1JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJy8+PC9zdmc+");
}
:root[data-theme="light"] body::before{ opacity:.045; }
::selection{ background:var(--brand); color:#0a0a0c; }

h1,h2,h3,h4{ letter-spacing:-.025em; }

/* One keyboard focus ring everywhere (component rules may refine it) */
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
}

/* ---------- Shared atoms ---------- */
.h-mono{
  font-family:var(--font-mono);
  font-size:.74rem;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-muted);
}
.h-accent{ font-style:normal; color:var(--accent); }
.h-ico{ width:1.1em; height:1.1em; flex-shrink:0; }

.h-btn{
  position:relative;
  display:inline-flex; align-items:center; gap:.7rem;
  padding:1rem 1.6rem;
  border-radius:999px;
  font-weight:600;
  font-size:1rem;
  text-decoration:none;
  overflow:hidden;
  isolation:isolate;
  transition:color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.h-btn::before{
  content:"";
  position:absolute; inset:0;
  z-index:-1;
  border-radius:inherit;
  transform:translateY(101%);
  transition:transform .5s var(--ease-out);
}
.h-btn:hover::before, .h-btn:focus-visible::before{ transform:none; }
.h-btn .h-ico{ transition:transform .4s var(--ease-out); }
.h-btn:hover .h-ico{ transform:translateX(4px); }
.h-btn:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
.h-btn--solid{ background:var(--brand); color:#0a0a0c; }
.h-btn--solid::before{ background:var(--text); }
.h-btn--solid:hover{ color:var(--bg); }
.h-btn--ghost{ color:var(--text); border:1px solid var(--rule); }
.h-btn--ghost::before{ background:var(--text); }
.h-btn--ghost:hover{ color:var(--bg); border-color:var(--text); }

.h-link{
  display:inline-flex; align-items:center; gap:.5rem;
  color:var(--text);
  font-weight:600;
  text-decoration:none;
  background:linear-gradient(currentColor,currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom:.2rem;
  transition:background-size .5s var(--ease-out), color .3s ease;
}
.h-link:hover{ background-size:100% 1px; color:var(--accent); }
.h-link .h-ico{ transition:transform .4s var(--ease-out); }
.h-link:hover .h-ico{ transform:translateX(4px); }

/* Legacy buttons → pills in the new language (markup unchanged sitewide) */
.btn-primary, .btn-group a{
  background:var(--brand);
  color:#0a0a0c;
  border-radius:999px;
  padding:.9rem 1.5rem;
  font-weight:600;
  transition:background-color .35s var(--ease-out), color .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.btn-primary:hover, .btn-group a:hover{
  background:var(--text);
  color:var(--bg);
  transform:translateY(-2px);
  box-shadow:none;
}
.btn-secondary, .btn-group a.btn-secondary{
  background:transparent;
  color:var(--text);
  border:1px solid var(--rule);
  border-radius:999px;
  padding:.9rem 1.5rem;
  font-weight:600;
}
.btn-secondary:hover, .btn-group a.btn-secondary:hover{
  background:var(--text);
  color:var(--bg);
  border-color:var(--text);
}
.service-btn{
  border-radius:999px;
  color:var(--text);
  border-color:var(--rule);
  font-weight:600;
}
.service-btn:hover{ background:var(--brand); border-color:var(--brand); color:#0a0a0c; }
.btn-primary:focus-visible, .btn-secondary:focus-visible, .service-btn:focus-visible{
  outline:2px solid var(--accent); outline-offset:3px;
}

/* ============ HEADER ============ */
.site-header{
  background:color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom:1px solid var(--border);
  padding:.7rem var(--gutter);
  min-height:72px;
  transition:transform .5s var(--ease-out), background-color .3s ease, border-color .3s ease;
}
.site-header::after{ display:none; }
/* hide while scrolling down, return on scroll up (main.js toggles the class) */
.site-header.is-hidden{ transform:translate3d(0,-100%,0); }
.logo{ height:40px; }

.nav-num{ display:none; }
.nav-extra{ display:none; }
.nav-list{ gap:.15rem; align-items:center; }
.nav-link{
  position:relative;
  padding:.55rem .85rem;
  color:var(--text-muted);
  font-weight:500;
  font-size:.95rem;
  border-radius:0;
  background:none;
}
.nav-link::after{
  content:"";
  position:absolute;
  left:.85rem; right:.85rem; bottom:.25rem;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .45s var(--ease-out);
}
.nav-link:hover{ background:none; color:var(--text); }
.nav-link:hover::after{ transform:scaleX(1); transform-origin:left; }
.nav-link.active,
.nav-link[aria-current="page"]{ background:none; color:var(--text); }
.nav-link.active::after,
.nav-link[aria-current="page"]::after{ transform:scaleX(1); background:var(--accent); height:2px; }

.nav-item--cta{ display:block; margin-left:.5rem; }
.nav-cta{ padding:.6rem 1.15rem; font-size:.9rem; }

.theme-toggle{
  background:transparent;
  border-color:var(--rule);
  color:var(--text);
  transition:border-color .3s ease, color .3s ease, transform .3s var(--ease-out);
}
.theme-toggle:hover{ color:var(--accent); border-color:var(--accent); transform:rotate(-20deg); }

/* eight links: tighten the desktop bar on laptops so labels never wrap */
.nav-link{ white-space:nowrap; }
@media(max-width:1320px) and (min-width:901px){
  .nav-link{ padding:.55rem .6rem; font-size:.9rem; }
  .nav-link::after{ left:.6rem; right:.6rem; }
}
@media(max-width:1180px) and (min-width:901px){
  .nav-item--cta{ display:none; }
}
@media(max-width:1040px) and (min-width:901px){
  .logo{ height:32px; }
  .nav-link{ padding:.5rem .42rem; font-size:.84rem; }
  .nav-link::after{ left:.42rem; right:.42rem; }
}

/* ---------- Phone: full-screen menu ---------- */
@media(max-width:900px){
  .menu-toggle{ color:var(--text); font-size:1.45rem; }

  /* The header's backdrop-filter makes it the containing block, so the panel
     hangs off its bottom edge and fills the rest of the screen. */
  .main-nav{
    top:100%;
    height:calc(100dvh - var(--header-offset));
    max-height:none;
    display:flex; flex-direction:column; justify-content:space-between; align-items:stretch;
    padding:1.5rem var(--gutter) calc(1.75rem + env(safe-area-inset-bottom));
    background:var(--bg);
    border-bottom:0;
    box-shadow:none;
    transform:none;
    clip-path:inset(0 0 100% 0);
    opacity:1;
    transition:clip-path .6s var(--ease-io), visibility 0s linear .6s, background-color .3s ease;
  }
  .main-nav.nav-visible{
    clip-path:inset(0 0 0 0);
    transform:none;
    transition:clip-path .6s var(--ease-io), visibility 0s, background-color .3s ease;
  }
  .nav-backdrop{ display:none; }

  .nav-list{ flex-direction:column; align-items:stretch; gap:0; }
  .nav-item{ border-bottom:1px solid var(--rule); overflow:hidden; }
  .nav-link{
    display:flex; align-items:baseline; gap:1rem;
    padding:.9rem 0;
    font-family:var(--font-heading);
    font-size:clamp(2.4rem,11vw,3.6rem);
    font-weight:600;
    letter-spacing:-.045em;
    line-height:1;
    color:var(--text);
    border-radius:0;
  }
  .nav-link::after{ display:none; }
  .nav-link.active, .nav-link[aria-current="page"]{ color:var(--accent); }
  .nav-num{
    display:inline;
    font-family:var(--font-mono);
    font-size:.72rem;
    font-weight:500;
    letter-spacing:.08em;
    color:var(--accent);
    transform:translateY(-1.6em);
  }
  .nav-item--cta{ border-bottom:0; margin:1.5rem 0 0; }
  .nav-cta{ width:100%; justify-content:center; padding:1rem; font-size:1rem; }

  /* staggered rise when the panel opens */
  .nav-item > a{ transform:translate3d(0,105%,0); transition:transform .7s var(--ease-out); }
  .nav-visible .nav-item > a{ transform:none; }
  .nav-visible .nav-item:nth-child(1) > a{ transition-delay:.12s; }
  .nav-visible .nav-item:nth-child(2) > a{ transition-delay:.17s; }
  .nav-visible .nav-item:nth-child(3) > a{ transition-delay:.22s; }
  .nav-visible .nav-item:nth-child(4) > a{ transition-delay:.27s; }
  .nav-visible .nav-item:nth-child(5) > a{ transition-delay:.32s; }

  .nav-extra{
    display:flex; flex-direction:column; gap:.35rem;
    padding-top:1.5rem;
    opacity:0;
    transition:opacity .5s ease .35s;
  }
  .nav-visible .nav-extra{ opacity:1; }
  .nav-extra a{ color:var(--text); text-decoration:none; font-weight:500; }
  .nav-extra a:hover{ color:var(--accent); }
  .nav-extra__label{
    font-family:var(--font-mono);
    font-size:.72rem;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--text-muted);
  }
  .nav-extra__label:last-child{ margin-top:.5rem; }
}

/* ============ FOOTER ============ */
footer, .site-footer{
  background:var(--bg);
  border-top:1px solid var(--rule);
  padding:0 var(--gutter);
  text-align:left;
}
.sf{ max-width:var(--wide); margin:0 auto; }
.sf-top{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end;
  gap:1rem 2rem;
  padding:clamp(3.5rem,8vw,7rem) 0 clamp(2.5rem,5vw,4rem);
  border-bottom:1px solid var(--rule);
}
.sf-kicker{
  grid-column:1 / -1;
  margin:0;
  font-family:var(--font-mono);
  font-size:.74rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-muted);
}
.sf-mail{
  font-family:var(--font-heading);
  font-size:clamp(1.8rem,6.4vw,6.5rem);
  font-weight:600;
  letter-spacing:-.05em;
  line-height:1;
  color:var(--text);
  text-decoration:none;
  overflow-wrap:anywhere;
  background:linear-gradient(var(--accent),var(--accent)) 0 100% / 0 .06em no-repeat;
  transition:background-size .6s var(--ease-out), color .3s ease;
}
.sf-mail:hover{ background-size:100% .06em; color:var(--accent); }
.sf-mail__arrow{
  display:inline-block;
  margin-left:.25em;
  color:var(--accent);
  transform:rotate(-45deg);
  transition:transform .6s var(--ease-out);
}
.sf-mail:hover .sf-mail__arrow{ transform:rotate(0deg) translateX(.1em); }
.sf-cta{ white-space:nowrap; }

.sf-grid{
  display:grid;
  grid-template-columns:1.4fr repeat(3,minmax(0,1fr));
  gap:2.5rem;
  padding:clamp(2.5rem,5vw,4rem) 0;
}
.sf-logo{ display:inline-block; }
.sf-logo img{ height:44px; width:auto; display:block; }
.sf-logo .logo-light{ display:none; }
:root[data-theme="light"] .sf-logo .logo-dark{ display:none; }
:root[data-theme="light"] .sf-logo .logo-light{ display:block; }
.footer-copy-tag{ margin:1rem 0 1.5rem; color:var(--text-muted); max-width:28ch; }

.social-icons{ display:flex; gap:.5rem; margin:0; }
.social-icons a{
  margin:0;
  width:42px; height:42px;
  border-color:var(--rule);
  color:var(--text);
  transition:color .3s ease, border-color .3s ease, background-color .3s ease, transform .4s var(--ease-out);
}
.social-icons a:hover{ background:var(--brand); border-color:var(--brand); color:#0a0a0c; transform:translateY(-3px); }

.sf-col, .footer-links{
  display:flex; flex-direction:column; align-items:flex-start;
  gap:.6rem;
  margin:0; max-width:none;
  font-size:.95rem;
}
.sf-label{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-muted);
  margin-bottom:.4rem;
}
.sf-col a, .footer-links a{
  color:var(--text);
  text-decoration:none;
  font-weight:500;
  background:linear-gradient(currentColor,currentColor) 0 100% / 0 1px no-repeat;
  transition:background-size .45s var(--ease-out), color .3s ease;
}
.sf-col a:hover, .footer-links a:hover{ color:var(--accent); background-size:100% 1px; }
.sf-text{ color:var(--text-muted); }

.sf-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;
  gap:1rem;
  padding:1.5rem 0;
  border-top:1px solid var(--rule);
  font-size:.88rem;
}
.sf-bottom p{ margin:0; }
.footer-nav{ display:flex; gap:1.5rem; margin:0; font-size:.88rem; }
.sf-legal{ padding:0 0 2rem; }
.footer-alias-text, .footer-legal-text{ margin:.25rem 0 0; font-size:.78rem; }

@media(max-width:900px){
  .sf-top{ grid-template-columns:1fr; }
  .sf-cta{ justify-self:start; }
  .sf-grid{ grid-template-columns:1fr 1fr; }
  .sf-brand{ grid-column:1 / -1; }
}
@media(max-width:520px){
  .sf-grid{ grid-template-columns:1fr; gap:2rem; }
}

/* ============ INNER PAGES ============ */

/* Product / service hero: left-aligned, oversized */
.hero{
  text-align:left;
  max-width:var(--wide);
  margin:0 auto;
  padding:clamp(3rem,8vw,7rem) var(--gutter) clamp(2.5rem,5vw,4rem);
}
.hero::before{
  inset:-30% auto auto -15%;
  width:70%; height:700px;
  background:radial-gradient(closest-side, color-mix(in srgb, var(--accent) 18%, transparent), transparent);
  filter:blur(30px);
}
.hero-eyebrow, .section-eyebrow{
  display:inline-flex; align-items:center; gap:.55rem;
  padding:0;
  margin-bottom:1.5rem;
  border:0; border-radius:0;
  background:none;
  font-family:var(--font-mono);
  font-size:.74rem;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-muted);
}
.hero-eyebrow i, .section-eyebrow i{ color:var(--accent); }
.hero-eyebrow::before, .section-eyebrow::before{
  content:"";
  width:2rem; height:1px;
  background:var(--accent);
}
:root[data-theme="light"] .section-eyebrow{ color:var(--text-muted); }

.hero h1{
  max-width:18ch;
  margin:0;
  font-size:clamp(2.6rem,7.2vw,7rem);
  font-weight:700;
  line-height:.95;
  letter-spacing:-.05em;
  background:none;
  -webkit-background-clip:border-box;
  background-clip:border-box;
  color:var(--text);
  text-wrap:balance;
}
.hero p{
  max-width:52ch;
  margin:1.75rem 0 2rem;
  font-size:clamp(1.02rem,1.35vw,1.2rem);
  line-height:1.55;
}
.hero .btn-group{ justify-content:flex-start; }

.page-reel{
  max-width:none;
  margin:clamp(2.5rem,5vw,4rem) 0 0;
  border-radius:clamp(16px,2vw,28px);
  border-color:var(--rule);
  box-shadow:none;
}

/* Page heads on About / Services / Contact / legal */
.home-section{ max-width:var(--wide); padding:clamp(3rem,8vw,7rem) var(--gutter) 0; }
.home-section__head{
  max-width:none;
  margin:0 0 clamp(2.5rem,5vw,4rem);
  text-align:left;
}
.home-section__head h1,
.page-head h1,
.services-page .home-section__head h1{
  max-width:16ch;
  margin:0;
  font-size:clamp(2.6rem,7.2vw,7rem);
  line-height:.95;
  letter-spacing:-.05em;
}
.home-section__head h2{
  font-size:clamp(2rem,4.6vw,4rem);
  line-height:1;
  letter-spacing:-.04em;
}
.home-section__head p{
  max-width:56ch;
  margin-top:1.25rem;
  font-size:clamp(1rem,1.3vw,1.15rem);
  line-height:1.6;
}
.home-section__head > p:first-of-type{ margin-top:1.75rem; }

/* Section blocks on product/service pages */
.section.container{
  max-width:var(--wide);
  padding:clamp(3rem,7vw,6rem) var(--gutter) 0;
}
.container{ max-width:var(--wide); padding:0 var(--gutter); }

.section-heading{
  display:block;
  padding:0 0 1.25rem;
  margin:0;
  font-size:clamp(1.9rem,4.4vw,3.8rem);
  line-height:1;
  letter-spacing:-.045em;
  border-bottom:1px solid var(--rule);
}
.section-heading::after{ display:none; }

/* Cards: hairline grid, number-free, orange rule grows on hover */
/* Each card draws its own hairline box and overlaps its neighbour by 1px,
   so a short last row ends cleanly instead of leaving an open grid. */
.services-grid{
  gap:0;
  margin-top:clamp(1.5rem,3vw,2.5rem);
  padding:1px 0 0 1px;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}
@media(min-width:1000px){
  .services-grid:has(> .card:nth-child(5)){ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.card,
.services .services-grid .card{
  position:relative;
  max-width:none;
  margin:-1px 0 0 -1px;
  padding:clamp(1.5rem,2.4vw,2.25rem);
  min-height:0;
  text-align:left;
  background:transparent;
  border:1px solid var(--rule);
  border-radius:0;
  box-shadow:none;
  transition:background-color .45s var(--ease-out);
}
.card::before{
  content:"";
  position:absolute; left:0; top:0;
  width:100%; height:2px;
  background:var(--brand);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .6s var(--ease-out);
}
.card:hover{ transform:none; box-shadow:none; border-color:var(--rule); background:var(--bg-soft); }
.card:hover::before{ transform:scaleX(1); }
.card .card-icon{
  width:48px; height:48px;
  margin:0 0 1.5rem;
  border-radius:50%;
  border:1px solid var(--rule);
  background:transparent;
  color:var(--accent);
  font-size:1.1rem;
  transition:background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s;
}
.card:hover .card-icon{ background:var(--brand); border-color:var(--brand); color:#0a0a0c; }
.card h3{ font-size:clamp(1.2rem,1.6vw,1.45rem); letter-spacing:-.025em; margin-bottom:.6rem; }
.card p{ line-height:1.6; }
.card .service-btn{ margin-top:1rem; }
.services-grid--home{ grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(max-width:1100px){ .services-grid--home{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px){ .services-grid--home{ grid-template-columns:1fr; } }

/* Checklist ticks (were an icon-font glyph that never loaded) */
.service-list li::before{
  content:"";
  font:inherit;
  top:.55em;
  width:.75rem; height:2px;
  background:var(--accent);
}

/* FAQ: ruled rows with a plus that turns into a minus */
.faq details{
  margin:0;
  padding:0;
  background:none;
  border:0;
  border-bottom:1px solid var(--rule);
  border-radius:0;
}
.faq details:hover{ border-color:var(--rule); }
.faq summary{
  padding:1.5rem 0;
  font-family:var(--font-heading);
  font-size:clamp(1.1rem,1.8vw,1.5rem);
  font-weight:600;
  letter-spacing:-.02em;
  transition:color .3s ease;
}
.faq summary:hover{ color:var(--accent); }
.faq summary:focus-visible{ outline:2px solid var(--accent); outline-offset:4px; }
.faq summary::after{
  content:"";
  font:inherit;
  width:1rem; height:1rem;
  flex-shrink:0;
  background:
    linear-gradient(var(--accent),var(--accent)) center / 100% 2px no-repeat,
    linear-gradient(var(--accent),var(--accent)) center / 2px 100% no-repeat;
  transition:transform .45s var(--ease-out);
}
.faq details[open] summary::after{
  transform:rotate(180deg);
  background:linear-gradient(var(--accent),var(--accent)) center / 100% 2px no-repeat;
}
.faq details p{ max-width:70ch; margin:0 0 1.5rem; line-height:1.65; }
.faq details[open] p{ animation:sf-fade .5s var(--ease-out); }
@keyframes sf-fade{ from{ opacity:0; transform:translateY(-6px); } }

/* Closing CTA on inner pages → orange block like the homepage */
.about-cta-wide{
  position:relative;
  margin:clamp(4rem,8vw,7rem) 0 clamp(2rem,4vw,3rem);
  padding:clamp(2.5rem,6vw,5rem) clamp(1.5rem,5vw,4.5rem);
  border-radius:clamp(20px,2.4vw,40px);
  background:var(--brand);
  color:#0a0a0c;
  text-align:left;
  overflow:hidden;
  isolation:isolate;
  display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between;
  gap:1.5rem 3rem;
}
.about-cta-wide::before{
  content:"0";
  position:absolute;
  right:-.06em; top:-.3em;
  z-index:-1;
  font-family:var(--font-heading);
  font-weight:700;
  font-size:clamp(14rem,30vw,30rem);
  line-height:1;
  color:transparent;
  -webkit-text-stroke:2px rgba(10,10,12,.16);
  pointer-events:none;
}
.about-cta-wide p{
  margin:0;
  max-width:22ch;
  font-family:var(--font-heading);
  font-size:clamp(1.6rem,3.6vw,3.2rem);
  font-weight:600;
  line-height:1.05;
  letter-spacing:-.04em;
  color:#0a0a0c;
}
.about-cta-wide a{ color:#0a0a0c; }
.about-cta-wide .btn-primary{ background:#0a0a0c; color:var(--brand); }
.about-cta-wide .btn-primary:hover{ background:#fff; color:#0a0a0c; }
.contact-alias-text{ color:var(--text-muted); font-size:.92rem; }
.contact-alias-text--center{ text-align:center; margin-top:1rem; }
.contact-alias-text a{ color:var(--accent); }

/* Screenshot cards */
.shot-card{ border-radius:clamp(14px,1.6vw,22px); border-color:var(--rule); background:var(--bg-soft); }

/* Contact form: underline fields */
form.contact-form input,
form.contact-form select,
.contact-section textarea{
  border-radius:0;
  border:0;
  border-bottom:1px solid var(--rule);
  background:transparent;
  padding-left:0; padding-right:0;
  font-size:1.05rem;
  transition:border-color .3s ease;
}
form.contact-form input:focus,
form.contact-form select:focus,
.contact-section textarea:focus{
  outline:none;
  border-bottom-color:var(--accent);
  box-shadow:0 1px 0 0 var(--accent);
}
.contact-section button{ border-radius:999px; background:var(--brand); color:#0a0a0c; font-weight:600; }
.contact-section button:hover{ background:var(--text); color:var(--bg); }

/* Legal pages: readable column, quiet card */
.legal-main{ max-width:78ch; background:transparent; border:0; box-shadow:none; padding:0; }
.legal-toc{ background:transparent; border:1px solid var(--rule); border-radius:14px; }

/* ---------- Motion ---------- */
.js-reveal [data-aos]{
  transition:opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay:var(--aos-delay, 0ms);
}
.js-reveal [data-aos="fade-up"]{ transform:translate3d(0,40px,0); }

/* First-screen content (page heroes and heads) animates in with CSS from the
   first paint instead of waiting for the deferred main.js observer, so the
   largest text on the page is not held back by JavaScript. */
@keyframes sf-rise{ from{ opacity:0; transform:translate3d(0,24px,0); } }
.js-reveal :is(.hero, .page-head) [data-aos],
.js-reveal .page-head[data-aos]{
  opacity:1;
  transform:none;
  animation:sf-rise .65s var(--ease-out) both;
}
.js-reveal :is(.hero, .page-head) [data-aos-delay="80"]{ animation-delay:60ms; }
.js-reveal :is(.hero, .page-head) [data-aos-delay="150"]{ animation-delay:120ms; }
.js-reveal :is(.hero, .page-head) [data-aos-delay="250"]{ animation-delay:180ms; }
.js-reveal :is(.hero, .page-head) [data-aos-delay="300"]{ animation-delay:220ms; }

/* ---------- Page transitions: the deploy panel ----------
   A calm, branded panel (near-black, hairline grid, soft orange glow,
   orange leading edge) that slides down over the page, shows the logo
   mark and the destination's name with a progress line, then lifts away
   to reveal the new page.
   - Leaving (main.js builds .tx-scene, ~1.05s): the panel glides down,
     the name and progress line settle in, then the browser navigates.
   - Arriving (theme-init.js sets html.tx-in + data-tx-name before first
     paint): the new page starts covered (::after = panel, ::before =
     progress line), holds briefly, then the panel lifts up.
   Replaces the cross-document View Transition fade. Never runs for
   reduced motion. */
@view-transition{ navigation:none; }

:root{
  --tx-ease:cubic-bezier(.76,0,.24,1);
  /* stack geometry shared by both halves so the arriving panel lines up
     with the leaving one: mark, gap, name (one line), gap, 2px line */
  --tx-m:clamp(44px,4.5vw,60px);
  --tx-g:1.1rem;
  --tx-fs:clamp(2rem,5.5vw,4.25rem);
  --tx-n:calc(var(--tx-fs) * 1.05);
  --tx-panel:
    linear-gradient(var(--brand),var(--brand)) left 0 bottom 0 / 100% 2px no-repeat,
    radial-gradient(ellipse 50% 42% at 50% 52%, rgba(255,107,0,.11), transparent 72%),
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 72px 100%,
    linear-gradient(180deg, #111114 0%, #0a0a0c 100%);
}

/* ===== Leaving ===== */
.tx-scene{
  position:fixed; inset:0;
  z-index:100000;            /* above the WhatsApp button (10000) and cookie bar (99990) */
  pointer-events:none;
  visibility:hidden;
}
.tx-scene.is-on{ visibility:visible; pointer-events:auto; }

.tx-shutter{
  position:absolute; inset:0;
  background:var(--tx-panel);
  transform:translate3d(0,-100%,0);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.45);
}
.tx-scene.is-on .tx-shutter{ animation:tx-down .75s var(--tx-ease) both; }
@keyframes tx-down{ to{ transform:none; } }

.tx-read{
  position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%);
  display:flex; flex-direction:column; align-items:center; gap:var(--tx-g);
  width:calc(100% - 2rem);
  text-align:center;
  color:#eeeef0;
}
.tx-scene.is-on .tx-read{ animation:tx-rise .6s var(--ease-out) .3s both; }
@keyframes tx-rise{
  from{ opacity:0; transform:translate(-50%,calc(-50% + 18px)); }
  to{ opacity:1; transform:translate(-50%,-50%); }
}
.tx-mark{ display:block; width:var(--tx-m); height:var(--tx-m); }
.tx-name{
  margin:0;
  font-family:var(--font-heading);
  font-weight:600;
  font-size:var(--tx-fs);
  line-height:1.05;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
}
.tx-bar{
  width:clamp(140px,16vw,200px); height:2px;
  background:rgba(255,255,255,.12);
  overflow:hidden;
}
.tx-bar span{ display:block; height:100%; background:var(--brand); transform-origin:left; transform:scaleX(0); }
.tx-scene.is-on .tx-bar span{ animation:tx-fill .7s var(--ease-io) .35s both; }
@keyframes tx-fill{ to{ transform:none; } }

/* ===== Arriving: ::after is the panel with the name, ::before the progress line ===== */
html.tx-in::after,
html.tx-in::before{
  position:fixed;
  pointer-events:none;
}
html.tx-in::after{
  content:attr(data-tx-name);
  inset:0;
  z-index:100000;
  display:flex; align-items:center; justify-content:center;
  padding:calc(var(--tx-m) - 2px) 1rem 0;
  text-align:center;
  overflow-wrap:anywhere;
  font-family:var(--font-heading);
  font-weight:600;
  font-size:var(--tx-fs);
  line-height:1.05;
  letter-spacing:-.02em;
  color:#eeeef0;
  background:
    url("/images/icon-mark.svg") center calc(50% - var(--tx-g) - var(--tx-n) / 2 - 1px) / var(--tx-m) no-repeat,
    var(--tx-panel);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.45);
  animation:tx-lift .8s var(--tx-ease) .45s both;
}
html.tx-in::before{
  content:"";
  z-index:100001;
  left:50%; top:calc(50% + (var(--tx-m) + 2 * var(--tx-g) + var(--tx-n)) / 2 - 1px);
  width:clamp(140px,16vw,200px); height:2px;
  margin-left:calc(clamp(140px,16vw,200px) / -2);
  background:var(--brand);
  animation:tx-lift .8s var(--tx-ease) .45s both, tx-fade-out .3s ease .45s both;
}
@keyframes tx-lift{
  from{ transform:none; }
  to{ transform:translate3d(0,-100vh,0); }
}
@keyframes tx-fade-out{ to{ opacity:0; } }
/* while the panel covers the page, keep the floating buttons out of the way */
html.tx-in #wa-fab, html.tx-in .airplane-wrapper{ opacity:0; transition:opacity .3s ease .6s; }

@media(prefers-reduced-motion:reduce){
  .tx-scene, html.tx-in::after, html.tx-in::before{ display:none; }
}

/* ---------- Depth: tilt + glare on media (main.js drives transform) ---------- */
.d-host{ transform-origin:50% 50%; backface-visibility:hidden; }
.d-host.d-rel{ position:relative; }
.d-glare{
  position:absolute; inset:0;
  z-index:3;
  border-radius:inherit;
  pointer-events:none;
  opacity:0;
  background:radial-gradient(circle at var(--gx,50%) var(--gy,50%), rgba(255,255,255,.17), rgba(255,255,255,0) 52%);
  mix-blend-mode:screen;
  transition:opacity .5s var(--ease-out);
}
.d-host.is-tilt > .d-glare{ opacity:1; }
.cs-shot > .d-glare{ bottom:auto; aspect-ratio:16 / 10; border-radius:clamp(14px,1.6vw,24px); }
.post-card > .d-glare{ border-radius:var(--radius-lg); }
:root[data-theme="light"] .d-glare{ background:radial-gradient(circle at var(--gx,50%) var(--gy,50%), rgba(255,255,255,.4), rgba(255,255,255,0) 52%); }
@media(prefers-reduced-motion:reduce){ .d-glare{ display:none; } }

/* About: generous rhythm between sections, left-aligned like the page head */
.about-section .section-heading,
.about-section .about-section-gap-md,
.about-section .about-section-gap-lg{ margin-top:clamp(4rem,8vw,7rem); }
.about-section .page-head + .section-heading,
.about-section .home-section__head + .section-heading{ margin-top:clamp(2rem,4vw,3rem); }
.about-cta-tight{ text-align:left; display:flex; flex-wrap:wrap; gap:.75rem; }
.about-cta-inline-gap{ margin-left:0; }
.about-vision, .about-sub{
  max-width:40ch;
  margin:1.5rem 0 0;
  font-family:var(--font-heading);
  font-size:clamp(1.3rem,2.4vw,2rem);
  font-weight:500;
  line-height:1.25;
  letter-spacing:-.025em;
  color:var(--text);
}
.about-lead{ font-size:clamp(1.05rem,1.4vw,1.25rem); }

/* Contact: form sits under the left-aligned head */
form.contact-form{ max-width:640px; margin:0; gap:1.25rem; }
.contact-section button{ align-self:flex-start; padding:1rem 1.75rem; transform:none; box-shadow:none; }
.contact-section button:hover{ transform:translateY(-2px); box-shadow:none; }

/* Floating buttons step aside while the phone menu is open */
html:has(.main-nav.nav-visible) #wa-fab,
html:has(.main-nav.nav-visible) .airplane-wrapper{ opacity:0; pointer-events:none; }

/* ============ SERVICE & PRODUCT PAGES (shared template) ============
   The ten service/product pages share one structure: hero (+ reel),
   "What's included" cards, optional screenshots, FAQ, orange CTA.
   Scoped so the bespoke Services index (main.services.p-page) is untouched. */
main.services:not(.p-page){ counter-reset:sec; }

/* Hero: giant title on its own line, lead + actions side by side, reel below */
main.services:not(.p-page) .hero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  grid-template-areas:
    "eyebrow eyebrow"
    "title   title"
    "lead    actions"
    "reel    reel";
  column-gap:clamp(1.5rem,5vw,5rem);
  align-items:end;
  padding-top:clamp(2.5rem,7vw,6rem);
}
main.services:not(.p-page) .hero-eyebrow{ grid-area:eyebrow; }
main.services:not(.p-page) .hero h1{
  grid-area:title;
  max-width:none;
  font-size:clamp(2.8rem,8.4vw,9rem);
  line-height:.9;
  letter-spacing:-.055em;
  text-wrap:balance;
}
main.services:not(.p-page) .hero > p{ grid-area:lead; margin:2rem 0 0; }
main.services:not(.p-page) .hero .btn-group{ grid-area:actions; justify-self:end; margin-top:2rem; }
main.services:not(.p-page) .page-reel{
  grid-area:reel;
  margin-top:clamp(2.5rem,5vw,4.5rem);
  aspect-ratio:21 / 9;
}
/* Reel grows to full size as it scrolls into view (CSS scroll timeline;
   browsers without it just show the reel) */
@supports (animation-timeline: view()){
  @keyframes sf-reel-in{ from{ transform:scale(.9); border-radius:48px; } to{ transform:none; } }
  @media(prefers-reduced-motion:no-preference){
    main.services:not(.p-page) .page-reel{
      animation:sf-reel-in linear both;
      animation-timeline:view();
      animation-range:entry 0% cover 40%;
    }
  }
}

/* Sections: sticky numbered heading in a side column, content beside it */
main.services:not(.p-page) .section.container{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,2.6fr);
  gap:clamp(1.5rem,4vw,4rem);
  align-items:start;
  padding-top:clamp(4rem,9vw,8rem);
}
main.services:not(.p-page) .section-heading{
  counter-increment:sec;
  position:sticky;
  top:calc(var(--header-offset) + 1.5rem);
  padding:1.25rem 0 0;
  border-bottom:0;
  border-top:1px solid var(--rule);
  font-size:clamp(1.6rem,2.8vw,2.8rem);
  line-height:1.02;
}
main.services:not(.p-page) .section-heading::before{
  content:"(" counter(sec, decimal-leading-zero) ")";
  display:block;
  margin-bottom:1rem;
  font-family:var(--font-mono);
  font-size:.74rem;
  font-weight:500;
  letter-spacing:.08em;
  color:var(--accent);
}
main.services:not(.p-page) .section.container > :not(.section-heading){ margin-top:0; }
/* heading on the left (sticky), everything else stacked in the right column */
main.services:not(.p-page) .section.container > .section-heading{ grid-row:1 / span 6; }
main.services:not(.p-page) .section.container > :not(.section-heading){ grid-column:2; }
main.services:not(.p-page) .section.container{ row-gap:0; }
main.services:not(.p-page) .section.container > :not(.section-heading) + :not(.section-heading){ margin-top:clamp(1.75rem,3vw,2.75rem); }

/* Feature cards: two up, each with a big outlined index number */
main.services:not(.p-page) .services-grid{
  counter-reset:feat;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
main.services:not(.p-page) .services-grid .card{ counter-increment:feat; padding-top:clamp(2rem,3vw,2.75rem); }
main.services:not(.p-page) .services-grid .card::after{
  content:counter(feat, decimal-leading-zero);
  position:absolute;
  top:clamp(1.25rem,2vw,1.75rem); right:clamp(1.25rem,2vw,1.75rem);
  font-family:var(--font-heading);
  font-size:clamp(2.4rem,4vw,3.6rem);
  font-weight:600;
  line-height:.8;
  letter-spacing:-.05em;
  color:transparent;
  -webkit-text-stroke:1px var(--rule);
  transition:-webkit-text-stroke-color .4s ease, color .4s ease;
}
main.services:not(.p-page) .services-grid .card:hover::after{ -webkit-text-stroke-color:var(--accent); }
main.services:not(.p-page) .services-grid .card h3{ font-size:clamp(1.3rem,1.9vw,1.7rem); max-width:16ch; }
main.services:not(.p-page) .shot-grid{ margin-top:0; }

/* CTA block keeps full width below the split sections */
main.services:not(.p-page) > .container{ padding-top:clamp(2rem,5vw,4rem); }

/* comparison table + requirement list (0signer) */
.cmp-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--rule); border-radius:var(--radius-lg,18px); }
.cmp-table{ width:100%; min-width:640px; border-collapse:collapse; font-size:.95rem; }
.cmp-table th, .cmp-table td{ padding:.9rem 1.1rem; text-align:left; vertical-align:top; border-bottom:1px solid var(--rule); }
.cmp-table tbody tr:last-child > *{ border-bottom:0; }
.cmp-table thead th{ font-family:var(--font-mono); font-size:.72rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); background:var(--bg-soft); }
.cmp-table tbody th{ font-weight:600; color:var(--text); }
.cmp-table td{ color:var(--text-muted); }
.cmp-table td:last-child, .cmp-table thead th:last-child{ color:var(--accent); font-weight:600; }
.req-list{ margin:0; padding:0; list-style:none; display:grid; gap:0; max-width:820px; }
.req-list li{ position:relative; padding:1rem 0 1rem 2rem; border-bottom:1px solid var(--rule); color:var(--text-muted); line-height:1.6; }
.req-list li::before{ content:""; position:absolute; left:.2rem; top:1.55rem; width:.6rem; height:.6rem; border-radius:50%; background:var(--accent); }
.req-list strong{ color:var(--text); }
main.services:not(.p-page) .about-sub a{ color:var(--accent); text-decoration:underline; text-underline-offset:3px; }

@media(max-width:900px){
  main.services:not(.p-page) .hero{
    grid-template-columns:1fr;
    grid-template-areas:"eyebrow" "title" "lead" "actions" "reel";
  }
  main.services:not(.p-page) .hero .btn-group{ justify-self:start; margin-top:1.5rem; }
  main.services:not(.p-page) .hero > p{ margin-top:1.5rem; }
  main.services:not(.p-page) .page-reel{ aspect-ratio:16 / 10; }
  main.services:not(.p-page) .section.container{ grid-template-columns:1fr; row-gap:clamp(1.25rem,4vw,2rem); }
  main.services:not(.p-page) .section-heading{ position:static; }
  main.services:not(.p-page) .section.container > .section-heading,
  main.services:not(.p-page) .section.container > :not(.section-heading){ grid-row:auto; grid-column:auto; }
}
@media(max-width:640px){
  main.services:not(.p-page) .services-grid{ grid-template-columns:1fr; }
}

/* Touch screens: no "stuck" hover colour after a tap */
@media(hover:none){
  .btn-primary:hover, .btn-group a:hover{ background:var(--brand); color:#0a0a0c; transform:none; }
  .btn-secondary:hover, .btn-group a.btn-secondary:hover{ background:transparent; color:var(--text); border-color:var(--rule); }
  .h-btn:hover::before{ transform:translateY(101%); }
  .h-btn--solid:hover{ color:#0a0a0c; }
  .h-btn--ghost:hover{ color:var(--text); border-color:var(--rule); }
  .about-cta-wide .btn-primary:hover{ background:#0a0a0c; color:var(--brand); }
}

/* ---------- Accent words: Instrument Serif Italic ----------
   The orange highlight words in headlines ("deployed.", "services",
   "work.") switch to an italic serif against the Bricolage grotesk. The
   serif has a smaller x-height, so it is sized up a touch; a little right
   padding keeps the italic overhang from clipping inside line masks. */
.h-accent,
:is(h1,h2,h3) .accent{
  font-family:var(--font-accent);
  font-style:italic;
  font-weight:400;
  font-size:1.1em;
  letter-spacing:-.01em;
  padding-right:.08em;
}

/* Bricolage display cut is already narrow: ease the very tight tracking the
   oversized headlines used with the previous face (higher specificity so it
   wins over home.css / pages.css, which load later). */
:root :is(.h-hero__title, .p-title, .cs-title, .h-cta__title, .cs-next__name){ letter-spacing:-.03em; }
:root :is(.h-title, .w-case__name, .a-feature__title, .h-svc__name, .hero h1, .home-section__head h1, .about-cta-wide p){ letter-spacing:-.025em; }
:root :is(.h-stat strong, .a-step__num, .cs-fact strong, .a-case__facts strong, .p-count, .h-step__num, .a-year){ letter-spacing:-.03em; }
/* masked headline lines: room for descenders (p, y, g) in the italic accent */
:root .h-line{ padding-bottom:.18em; margin-bottom:-.18em; }

/* ---------- Sound toggle (header) ---------- */
.sound-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px;
  flex-shrink:0;
  border-radius:50%;
  border:1px solid var(--rule);
  background:transparent;
  color:var(--text-muted);
  cursor:pointer;
  transition:color .3s ease, border-color .3s ease, transform .3s var(--ease-out);
}
.sound-toggle:hover{ color:var(--accent); border-color:var(--accent); }
.sound-toggle__icon{ width:18px; height:18px; }
.sound-toggle__waves{ display:none; }
html.sound-on .sound-toggle{ color:var(--accent); border-color:var(--accent); }
html.sound-on .sound-toggle__waves{ display:inline; }
html.sound-on .sound-toggle__off{ display:none; }

/* ---------- Labelled cursor ("View", "Play", "Next"…) ---------- */
.cursor-trail::after{
  content:attr(data-label);
  position:absolute; inset:0;
  display:grid; place-items:center;
  font:600 .7rem/1 var(--font-mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#0a0a0c;
  opacity:0;
  transition:opacity .2s ease;
}
.cursor-trail.is-label{
  width:84px; height:84px;
  margin:-42px 0 0 -42px;
  background:var(--brand);
  border-color:var(--brand);
  opacity:1;
}
.cursor-trail.is-label::after{ opacity:1; transition-delay:.08s; }
.cursor.is-label{ opacity:0; }

/* 0todeploy.com · otd:82660bf0:css */
:root{ --otd:"82660bf0"; }
