:root{
  --bg:#1b1512;
  --bg-2:#221a15;
  --card-bg:#241b16;
  --maroon:#6d3a2d;
  --rust:#8e5330;
  --amber:#ab6f31;
  --gold:#c28d40;
  --sand:#dfb474;
  --cream:#f4efe6;
  --cream-dim:#c9c1b4;
  --border:rgba(244,239,230,0.10);
  --max-w:960px;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:
    radial-gradient(ellipse 900px 500px at 50% 0%, rgba(194,141,64,0.14), transparent 60%),
    var(--bg);
  color:var(--cream);
  font-family:'Inter','Space Grotesk',Helvetica,Arial,sans-serif;
  line-height:1.6;
  min-height:100vh;
}
a{color:inherit;}
img{max-width:100%;}

/* ---------- layout shell ---------- */
.page{
  max-width:var(--max-w);
  margin:0 auto;
  padding:0 24px 80px;
}

/* ---------- nav ---------- */
.site-nav{
  max-width:var(--max-w);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:28px 24px;
}
.site-nav .brand{
  display:flex;
  align-items:center;
  /* No gap: ".io" is its own element and therefore its own flex item, so a
     gap here would space it away from "neonbrown". The mark carries the
     spacing on its own margin instead. */
  gap:0;
  font-family:'Space Grotesk',Helvetica,Arial,sans-serif;
  font-weight:600;
  font-size:17px;
  text-decoration:none;
  color:var(--cream);
}
.site-nav .brand span{color:var(--gold);}
.site-nav .brand .mark{width:26px;height:26px;margin-right:10px;}
.site-nav ul{
  list-style:none;
  display:flex;
  gap:28px;
  margin:0;
  padding:0;
  font-size:14.5px;
}
.site-nav a.nav-link{
  text-decoration:none;
  color:var(--cream-dim);
  transition:color .15s ease;
}
.site-nav a.nav-link:hover,
.site-nav a.nav-link.active{
  color:var(--sand);
}

/* ---------- hero (index page) ---------- */
/* ---------- home arc glow ---------- */
.glow{position:relative;overflow:clip;}
.glow-sky{
  position:sticky;
  top:0;
  height:100vh;
  /* Pulled back out of the flow so the sticky layer sits behind the page
     rather than pushing it down by a full viewport. */
  margin-bottom:-100vh;
  z-index:0;
  pointer-events:none;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:hidden;
}
.glow-arcs{
  width:min(180vw,1500px);
  aspect-ratio:1/1;
  /* --p is scroll progress 0→1, set by assets/js/home.js */
  transform:translateY(calc(58% - (var(--p,0) * 26%))) scale(calc(0.72 + (var(--p,0) * 0.42)));
  opacity:calc(0.26 + (var(--p,0) * 0.5));
  transition:transform .12s linear, opacity .12s linear;
}
.glow-fade{
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse 70% 50% at 50% 100%, transparent, var(--bg) 78%);
}
.glow-content{position:relative;z-index:2;}

/* ---------- home hero ---------- */
.home-hero{
  /* Tight at the bottom on purpose — the sub ends on "any of this" and the
     bands need to start right underneath it for that to land. */
  padding:9vh 0 0;
}
/* The sub is the last thing in the hero now that the buttons moved down, so
   its trailing margin is the only thing between the copy and the bands —
   .page's own 80px bottom padding has to come off too, hence .page.flush. */
.home-hero .hero-sub:last-child{margin-bottom:22px;}
.page.flush{padding-bottom:0;}
/* The home page is centred, so every width-constrained block needs auto
   side margins — a max-width with margin:0 would sit hard against the left
   edge no matter what text-align says. */
.home-hero,
.turn,
.invite{text-align:center;}
.hero-actions{justify-content:center;}

h1{
  font-family:'Space Grotesk',Helvetica,Arial,sans-serif;
  font-weight:500;
  font-size:clamp(40px,7.5vw,86px);
  line-height:.98;
  letter-spacing:-0.045em;
  margin:0 auto 26px;
  max-width:15ch;
}
h1 span{color:var(--sand);}
.hero-sub{
  max-width:52ch;
  font-size:17px;
  line-height:1.65;
  color:var(--cream-dim);
  margin:0 auto 36px;
}
.hero-sub span{color:var(--sand);}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;}
/* .btn-primary/.btn-secondary are built for <button>; these two lines let
   them sit on an <a> without the underline and baseline quirks. */
.btn-link{display:inline-block;text-decoration:none;}

/* ---------- jargon bands ---------- */
.bands{margin:0 0 12vh;}
.band{
  position:relative;
  padding:18px 0;
  border-top:1px solid var(--border);
  overflow:hidden;
  user-select:none;
}
.band:last-child{border-bottom:1px solid var(--border);}
.band-inner{
  display:flex;
  width:max-content;
  gap:52px;
  animation:band-slide 44s linear infinite;
}
.band.rev .band-inner{animation-direction:reverse;}
.band.fast .band-inner{animation-duration:30s;}
@keyframes band-slide{
  from{transform:translateX(0);}
  /* The word list is duplicated in the markup, so travelling exactly half
     the width lands back on an identical frame — no visible seam. */
  to{transform:translateX(-50%);}
}
.band span{
  font-family:'Space Grotesk',Helvetica,Arial,sans-serif;
  font-size:clamp(26px,4.5vw,50px);
  font-weight:500;
  letter-spacing:-0.03em;
  white-space:nowrap;
  color:transparent;
  -webkit-text-stroke:1px rgba(223,180,116,0.34);
}
.band.solid span{
  color:var(--maroon);
  -webkit-text-stroke:0;
}
.band-mask{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,var(--bg) 0%,transparent 12%,transparent 88%,var(--bg) 100%);
}

/* ---------- home sections ---------- */
.eyebrow{
  font-family:'Space Grotesk',Helvetica,Arial,sans-serif;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold);
  margin:0 0 16px;
}
.turn,
.invite{padding:0 0 12vh;}
.invite .lede{margin-bottom:30px;}
.turn h2,
.invite h2{
  font-family:'Space Grotesk',Helvetica,Arial,sans-serif;
  font-weight:500;
  font-size:clamp(27px,4.6vw,46px);
  line-height:1.12;
  letter-spacing:-0.035em;
  margin:0 auto 32px;
  max-width:18ch;
}
.turn h2 em,
.invite h2 em{font-style:normal;color:var(--sand);}
p.lede{
  font-size:17px;
  line-height:1.7;
  color:var(--cream-dim);
  max-width:62ch;
  margin:0 auto 20px;
}
/* Same size and rhythm as the surrounding copy — it stands out by colour
   alone, sand against the dimmer cream everything else is set in. */
p.lede.accent{
  color:var(--sand);
  font-weight:500;
  margin:26px auto;
}
.divider{
  width:64px;
  height:1px;
  background:linear-gradient(90deg,transparent, var(--gold), transparent);
  margin:0 auto 40px;
  opacity:.6;
}

@media (prefers-reduced-motion:reduce){
  .band-inner{animation:none;}
}

/* ---------- contact block (shared) ---------- */
.contact{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
}
.email-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:'Space Grotesk',Helvetica,Arial,sans-serif;
  font-weight:500;
  font-size:16px;
  color:var(--bg);
  background:linear-gradient(135deg,var(--gold),var(--sand));
  padding:14px 28px;
  border-radius:10px;
  text-decoration:none;
  letter-spacing:-0.01em;
  box-shadow:0 6px 24px rgba(194,141,64,0.28);
  transition:transform .18s ease, box-shadow .18s ease;
}
.email-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(194,141,64,0.4);
}
.socials{display:flex;gap:20px;}
.socials a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid rgba(244,239,230,0.16);
  color:var(--cream-dim);
  transition:all .18s ease;
}
.socials a:hover{
  color:var(--bg);
  background:var(--sand);
  border-color:var(--sand);
  transform:translateY(-2px);
}
.socials svg{width:18px;height:18px;fill:currentColor;}

/* ---------- section headers (portfolio/projects pages) ---------- */
.section-head{
  text-align:center;
  margin:20px 0 48px;
}
.section-head h2{
  font-family:'Space Grotesk',Helvetica,Arial,sans-serif;
  font-weight:600;
  font-size:clamp(26px,4vw,36px);
  margin:0 0 14px;
  color:var(--cream);
}
.section-head p{
  color:var(--cream-dim);
  max-width:560px;
  margin:0 auto;
  font-size:15.5px;
}

/* ---------- cards grid (portfolio + projects) ---------- */
.card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:20px;
}
.card-grid.single-card{
  grid-template-columns:minmax(0, 560px);
  justify-content:center;
}
.card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:14px;
  padding:26px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.card .tag{
  align-self:flex-start;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--gold);
  background:rgba(194,141,64,0.12);
  border:1px solid rgba(194,141,64,0.25);
  padding:4px 10px;
  border-radius:999px;
}
.card h3{
  font-family:'Space Grotesk',Helvetica,Arial,sans-serif;
  font-size:19px;
  margin:0;
  color:var(--cream);
}
.card p{
  font-size:14.5px;
  color:var(--cream-dim);
  margin:0;
}
.card .meta{
  font-size:12.5px;
  color:var(--cream-dim);
  opacity:.75;
  margin-top:auto;
}
.card .card-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  color:var(--sand);
  text-decoration:none;
  margin-top:4px;
}
.card .card-link:hover{color:var(--gold);}
.placeholder-note{
  font-size:12px;
  color:rgba(201,193,180,0.5);
  font-style:italic;
}

/* ---------- footer ---------- */
footer.site-footer{
  text-align:center;
  margin-top:64px;
  font-size:12px;
  color:rgba(201,193,180,0.55);
  letter-spacing:.03em;
}

@media (max-width:600px){
  .site-nav{flex-direction:column;gap:16px;text-align:center;}
  .site-nav ul{gap:18px;flex-wrap:wrap;justify-content:center;}
  .mark-lg{width:110px;}
  p.lede{font-size:15.5px;}
}

/* ---------- intake wizard ---------- */
.wizard-shell{
  max-width:560px;
  margin:0 auto;
  padding:6vh 0 10vh;
}
.wizard-progress{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-bottom:36px;
}
.wizard-progress .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(244,239,230,0.16);
  transition:background .2s ease;
}
.wizard-progress .dot.active{background:var(--gold);}
.wizard-progress .dot.done{background:var(--sand);}
.wizard-step{display:none;}
.wizard-step.active{display:block;animation:wizardFade .25s ease;}
@keyframes wizardFade{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);}}
.wizard-step h2{
  font-family:'Space Grotesk',Helvetica,Arial,sans-serif;
  font-weight:600;
  font-size:clamp(24px,4vw,32px);
  margin:0 0 12px;
  text-align:center;
}
.wizard-step .step-sub{
  text-align:center;
  color:var(--cream-dim);
  font-size:14.5px;
  margin:0 0 32px;
}
.field{margin-bottom:22px;}
.field > label{
  display:block;
  font-size:13px;
  color:var(--sand);
  margin-bottom:8px;
  letter-spacing:.02em;
}
.field .hint{
  display:block;
  font-size:12px;
  color:var(--cream-dim);
  opacity:.7;
  margin-top:6px;
}
.field textarea,
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"]{
  width:100%;
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:10px;
  padding:13px 14px;
  color:var(--cream);
  font-family:'Inter',Helvetica,Arial,sans-serif;
  font-size:15px;
  resize:vertical;
}
.field textarea:focus,
.field input:focus{
  outline:none;
  border-color:var(--gold);
}
.field textarea{min-height:100px;}
.radio-group{display:flex;flex-direction:column;gap:10px;}
.radio-option{
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:10px;
  padding:12px 14px;
  cursor:pointer;
  transition:border-color .15s ease;
  font-size:14.5px;
}
.radio-option:hover{border-color:rgba(194,141,64,0.4);}
.radio-option input{accent-color:var(--gold);}
.radio-option.selected{border-color:var(--gold);background:rgba(194,141,64,0.08);}
.honeypot-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.wizard-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-top:8px;
}
.btn-primary,
.btn-secondary{
  font-family:'Space Grotesk',Helvetica,Arial,sans-serif;
  font-weight:500;
  font-size:15px;
  padding:13px 26px;
  border-radius:10px;
  border:none;
  cursor:pointer;
  letter-spacing:-0.01em;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn-primary{
  color:var(--bg);
  background:linear-gradient(135deg,var(--gold),var(--sand));
  box-shadow:0 6px 20px rgba(194,141,64,0.25);
}
.btn-primary:hover{transform:translateY(-2px);}
.btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none;}
.btn-secondary{
  color:var(--cream-dim);
  background:transparent;
  border:1px solid var(--border);
}
.btn-secondary:hover{color:var(--cream);border-color:rgba(244,239,230,0.3);}
.category-grid{display:flex;flex-direction:column;gap:10px;margin-bottom:8px;}
.category-btn{
  text-align:left;
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:10px;
  padding:14px 16px;
  color:var(--cream);
  cursor:pointer;
  font-family:'Inter',Helvetica,Arial,sans-serif;
  font-size:14.5px;
  transition:border-color .15s ease;
}
.category-btn:hover{border-color:var(--gold);}
.error-banner{
  background:rgba(194,86,64,0.12);
  border:1px solid rgba(194,86,64,0.35);
  color:#e8a894;
  border-radius:10px;
  padding:12px 14px;
  font-size:13.5px;
  margin-bottom:20px;
}
.spinner-note{
  text-align:center;
  color:var(--cream-dim);
  font-size:13.5px;
  padding:12px 0;
}
.calendar-embed{
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--card-bg);
  /* Anchors .calendar-cta, which floats over the embed. */
  position:relative;
}
/* color-scheme propagates into the embedded document, so Google's booking
   page renders its dark theme for every visitor rather than following each
   one's OS setting — which otherwise dropped a white panel into the page. */
.calendar-embed iframe{display:block;width:100%;border:none;color-scheme:dark;}
.calendar-cta{
  position:absolute;
  right:16px;
  bottom:16px;
  z-index:2;
  font-size:14px;
  padding:10px 18px;
  box-shadow:0 6px 20px rgba(27,21,18,0.55);
}
@media (max-width:600px){
  /* Full-width along the bottom edge on small screens, where a floating
     pill would cover the picker's own controls. */
  .calendar-cta{left:16px;right:16px;bottom:12px;}
}
.done-links{
  margin:24px 0 0;
  padding:20px 0 0;
  border-top:1px solid var(--border);
  text-align:left;
}
.done-links h3{
  margin:0 0 12px;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--gold);
}
.done-links a{
  display:block;
  padding:4px 0;
  color:var(--sand);
  text-decoration:none;
}
.done-links a:hover{color:var(--cream);}
.confirm-icon{
  width:52px;
  height:52px;
  border-radius:50%;
  background:rgba(194,141,64,0.14);
  border:1px solid rgba(194,141,64,0.3);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 20px;
  color:var(--gold);
}
