/* Jot marketing theme. Layout adapted from Arise Website Templates (ai-website). */

:root {
  --ink: #111;
  --ink-2: #1c1414;
  --muted: #6d6a6a;
  --muted-2: #9b9898;
  --paper: #fff;
  --card: #f2f2f2;
  --line: rgba(17, 17, 17, 0.12);
  --line-2: rgba(17, 17, 17, 0.2);
  --red: #8b1a1a;
  --red-hi: #a3211f;
  --red-lo: #6e1212;
  --night: #0c0303;

  --font: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(16px, 2.8vw, 40px);
  --wrap: 1360px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Silk canvases always fill their (dark) parent. */
.silk { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dark-fallback {
  background:
    radial-gradient(60% 80% at 30% 20%, rgba(150, 30, 26, 0.55), transparent 70%),
    radial-gradient(50% 70% at 85% 80%, rgba(110, 18, 18, 0.45), transparent 70%),
    #0c0303;
}
.bronze-fallback {
  background:
    radial-gradient(70% 60% at 40% 40%, rgba(160, 96, 56, 0.55), transparent 70%),
    #0a0503;
}

/* ------------------------------------------------------------------ */
/* Type helpers                                                        */
/* ------------------------------------------------------------------ */
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.6; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; background: currentColor; flex: none; }
.eyebrow.ink { color: var(--ink); }
.eyebrow.light { color: #fff; }

.statement {
  margin: 22px auto 0;
  max-width: 19.5em;
  font-size: clamp(28px, 3.5vw, 50px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: var(--ink-2);
  text-wrap: balance;
}
.h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.lede { font-size: 15px; line-height: 1.6; color: #2a2626; letter-spacing: -0.005em; text-wrap: pretty; }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 50px;
  padding: 0 12px 0 20px;
  border: 0;
  border-radius: 2px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.3s var(--ease);
}
.btn .ico {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: #fff;
  color: var(--red);
  overflow: hidden;
}
.btn .ico svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; transition: transform 0.4s var(--ease); }
.btn:hover { background: var(--red-lo); }
.btn:hover .ico svg { animation: nudge 0.55s var(--ease); }
@keyframes nudge { 0% { transform: none; } 45% { transform: translate(140%, -140%); } 46% { transform: translate(-140%, 140%); } 100% { transform: none; } }
.btn.lg { height: 58px; padding: 0 14px 0 26px; font-size: 15px; gap: 22px; }
.btn.lg .ico { width: 30px; height: 30px; }
.btn.white { background: #fff; color: var(--ink); }
.btn.white .ico { background: var(--red); color: #fff; }
.btn.white:hover { background: #f1eded; }
.btn-talk {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-talk:hover { background: var(--red); color: #fff; }

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  color: #fff;
}
.hero > .silk { z-index: -2; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 0, 0, 0.45) 0%, rgba(8, 0, 0, 0) 22%),
    linear-gradient(0deg, rgba(8, 0, 0, 0.5) 0%, rgba(8, 0, 0, 0) 30%);
}
.hero-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 16px;
  padding: 18px var(--pad) 0;
}
.hero-nav ul { list-style: none; margin: 0; padding: 0; }
.hero-nav li { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.75; }
.hero-nav a { display: inline-flex; align-items: center; gap: 8px; opacity: 0.92; transition: opacity 0.2s, transform 0.3s var(--ease); }
.hero-nav a::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; transition: background 0.2s, transform 0.3s var(--ease); }
.hero-nav a:hover { opacity: 1; transform: translateX(3px); }
.hero-nav a:hover::before { transform: scale(1.6); }
.hero-brand { padding-top: 6px; font-size: clamp(18px, 1.75vw, 26px); font-weight: 500; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; }
.hero-top .btn-talk { justify-self: end; }

.hero-mid {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 40px var(--pad) clamp(48px, 15vh, 150px);
}
.hero-tag { max-width: 360px; }
.hero-tag svg { width: 12px; height: 12px; margin-bottom: 26px; fill: none; stroke: #fff; stroke-width: 1.5; }
.hero-tag p { margin: 0; font-size: clamp(14px, 1.15vw, 16.5px); line-height: 1.45; letter-spacing: -0.005em; text-transform: uppercase; }
.socials { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); font-size: clamp(16px, 1.5vw, 21px); letter-spacing: -0.01em; }
.socials a { transition: opacity 0.2s; }
.socials a:hover { opacity: 0.65; }
.socials i { font-style: normal; color: rgba(255, 255, 255, 0.4); }

.mark {
  margin: 0;
  padding: 0 calc(var(--pad) * 0.45);
  font-size: 15.6vw;
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.045em;
  white-space: nowrap;
  text-align: center;
}
.mark > span { display: inline-block; padding-right: 0.06em; }

.hero-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  padding: 18px var(--pad) 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-bar > :last-child { justify-self: end; }
.hero-bar a:hover { opacity: 0.7; }
.clock b { font-weight: 400; }
.clock .colon { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

/* ------------------------------------------------------------------ */
/* Partners                                                            */
/* ------------------------------------------------------------------ */
.partners { padding: clamp(28px, 3vw, 40px) 0 0; }
.partners-label { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(15px, 1.2vw, 17px); letter-spacing: -0.02em; }
.partners-label::before { content: ''; width: 6px; height: 6px; background: var(--ink); }
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: clamp(26px, 3vw, 40px);
  color: #1d1d1d;
}
.logos span { font-size: clamp(19px, 1.75vw, 25px); line-height: 1; white-space: nowrap; color: #262222; }
.logos span:hover { color: var(--red); }
.logos .l1 { font-weight: 600; letter-spacing: -0.045em; }
.logos .l2 { font-family: var(--mono); font-weight: 500; font-size: clamp(15px, 1.35vw, 19px); letter-spacing: 0.08em; text-transform: uppercase; }
.logos .l3 { font-weight: 600; font-style: italic; letter-spacing: -0.04em; }
.logos .l4 { font-weight: 500; letter-spacing: -0.035em; }
.logos .l5 { font-weight: 400; letter-spacing: -0.02em; }
.logos .l6 { font-family: var(--mono); font-weight: 400; letter-spacing: -0.02em; text-transform: lowercase; }
.logos .l7 { font-weight: 600; letter-spacing: -0.03em; text-transform: lowercase; }

/* ------------------------------------------------------------------ */
/* Centred statement section ("Who we are")                            */
/* ------------------------------------------------------------------ */
.about { text-align: center; padding: clamp(84px, 10vw, 150px) 0 clamp(90px, 10vw, 150px); }
.about-img {
  position: relative;
  overflow: hidden;
  width: clamp(190px, 17vw, 250px);
  aspect-ratio: 1.42;
  margin: clamp(36px, 4vw, 52px) auto 0;
  border-radius: 2px;
}
.about .lede { max-width: 43ch; margin: clamp(32px, 3.4vw, 46px) auto 0; }
.about .btn { margin-top: 30px; }

/* ------------------------------------------------------------------ */
/* Service rows                                                        */
/* ------------------------------------------------------------------ */
.services { padding: 0 0 clamp(90px, 10vw, 150px); }
.svc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.svc-head .h2 { max-width: 11em; margin-top: 18px; }
.svc-head p { margin: 0; max-width: 36ch; color: var(--muted); font-size: 15px; }
.svc-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1.15fr) minmax(0, 1fr) 46px;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 2.4vw, 32px) 0;
  border-top: 1px solid var(--line);
}
.svc-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 0;
  background: var(--red);
  transition: width 0.6s var(--ease);
}
.svc-row:hover::before { width: 100%; }
.svc-row .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--red); }
.svc-row h3 {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 40px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
  transition: transform 0.5s var(--ease), color 0.3s;
}
.svc-row:hover h3 { transform: translateX(10px); color: var(--red); }
.svc-row p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 46ch; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.svc-tags span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3b3737;
}
.svc-go {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  transition: background 0.3s var(--ease), border-color 0.3s, color 0.3s;
}
.svc-go svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; transition: transform 0.4s var(--ease); }
.svc-row:hover .svc-go { background: var(--red); border-color: var(--red); color: #fff; }
.svc-row:hover .svc-go svg { transform: rotate(45deg); }

/* ------------------------------------------------------------------ */
/* Project showcase: sticky heading with stacking cards                */
/* ------------------------------------------------------------------ */
.showcase {
  --ht: clamp(72px, 13vh, 130px);
  --hfs: clamp(34px, 4.6vw, 66px);
  position: relative;
  padding: clamp(40px, 5vw, 60px) 0 clamp(90px, 10vw, 140px);
}
.showcase-head {
  position: sticky;
  top: var(--ht);
  z-index: 0;
  margin: 0 auto;
  max-width: 11.5em;
  text-align: center;
  font-size: var(--hfs);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.stack { position: relative; z-index: 1; margin-top: clamp(28px, 4vh, 48px); }
.pcard {
  --i: 0;
  position: sticky;
  top: calc(var(--ht) + var(--hfs) * 1.12 + var(--i) * 16px);
  display: block;
  width: min(720px, 100%);
  height: min(64vh, 520px);
  margin: 0 auto 14vh;
}
.pcard:last-child { margin-bottom: 0; }
.pcard-in {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100%;
  border-radius: 3px;
  color: #fff;
  transform-origin: 50% 0;
  box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, 0.35);
  will-change: transform;
}
.pcard-in .silk { z-index: -2; transition: transform 1.2s var(--ease); }
.pcard-in::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 42%);
  opacity: var(--dim, 1);
}
.pcard:hover .silk { transform: scale(1.04); }
.chips { position: absolute; top: 14px; right: 14px; display: flex; gap: 4px; }
.chips span {
  padding: 5px 9px;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-size: 11.5px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.pcard-meta {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.pcard-meta b { display: block; font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; }
.pcard-meta small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.75; }
.pcard-meta .stat { text-align: right; }
.pcard-meta .stat b { font-size: clamp(26px, 2.8vw, 40px); }

/* ------------------------------------------------------------------ */
/* Journey card + testimonial                                          */
/* ------------------------------------------------------------------ */
.story { padding: clamp(80px, 9vw, 130px) 0; }
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.jpanel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(110px, 14vw, 200px) clamp(12px, 1.3vw, 18px) clamp(12px, 1.3vw, 18px);
  border-radius: 3px;
}
.jpanel .silk { z-index: -1; }
.jcard { position: relative; background: #fff; border-radius: 3px; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.6); }
.jcard-head { padding: 16px 26px 15px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; letter-spacing: -0.025em; }
.jcard-body { padding: clamp(22px, 2.4vw, 30px) clamp(18px, 2vw, 26px) clamp(18px, 2vw, 24px); }
.jbrand { display: flex; align-items: center; gap: 16px; }
.jlogo { flex: none; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: #2a0c0c; color: #fff; }
.jlogo svg { width: 30px; height: 30px; }
.jbrand b { display: block; font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.15; }
.jbrand small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted-2); letter-spacing: -0.01em; }

.timeline { --p: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(30px, 3.4vw, 44px); }
.timeline::before, .timeline::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 12.5%;
  height: 3px;
  border-radius: 2px;
}
.timeline::before { right: 12.5%; background: #e2e0e0; }
.timeline::after { width: calc(75% * var(--p)); background: var(--ink); transition: width 1.1s var(--ease); }
.jstep {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 4px;
  border: 0;
  background: none;
  text-align: center;
  cursor: default;
}
.jstep i {
  display: block;
  width: 13px;
  height: 13px;
  margin-bottom: 14px;
  border-radius: 50%;
  border: 2px solid #d4d1d1;
  background: #fff;
  transition: border-color 0.4s, transform 0.4s var(--ease), background 0.4s;
}
.jstep.done i { border-color: var(--ink); }
.jstep.on i { border-color: var(--ink); transform: scale(1.25); box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.06); }
.jstep b { font-size: 12.5px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.jstep small { margin-top: 4px; font-size: 11px; color: var(--muted-2); }
[data-cycle] .jstep { cursor: pointer; }
[data-cycle] .jstep:hover b { color: var(--red); }

.story-side { display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(36px, 5vw, 64px); height: 100%; }
.story-side .h3 { max-width: 16em; margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(30px, 3vw, 44px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.stats span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }

.tcard { margin: 0; padding: clamp(22px, 2.2vw, 28px) clamp(20px, 2vw, 26px); background: var(--card); border-radius: 2px; }
.stars { display: flex; gap: 4px; color: var(--red); }
.stars svg { width: 11px; height: 11px; fill: currentColor; }
.tcard blockquote { margin: 16px 0 0; font-size: 15px; line-height: 1.55; letter-spacing: -0.012em; color: #1b1818; }
.tcard figcaption { margin-top: 18px; font-size: 12.5px; letter-spacing: -0.01em; color: #2b2727; }
.tcard figcaption span { color: var(--muted-2); }

/* ------------------------------------------------------------------ */
/* Footer card with giant gradient wordmark                            */
/* ------------------------------------------------------------------ */
.footer { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 8vw, 110px) var(--pad); }
.footer > .silk { z-index: -1; }
.fcard {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(26px, 3.4vw, 48px) clamp(18px, 2.8vw, 40px) clamp(10px, 1.2vw, 18px);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7);
}
.ftop { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; }
.ftitle { margin: 0; font-size: clamp(24px, 2.1vw, 30px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.15; }
.fcopy { margin: 12px 0 0; font-size: 13px; color: var(--muted-2); letter-spacing: -0.01em; }
.news { max-width: 360px; margin-top: clamp(40px, 5vw, 64px); }
.news label { display: block; font-size: 14px; font-weight: 500; letter-spacing: -0.02em; }
.news-field { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-bottom: 10px; border-bottom: 1.5px solid #b9b6b6; transition: border-color 0.3s; }
.news-field:focus-within { border-color: var(--ink); }
.news-field input { flex: 1; min-width: 0; padding: 4px 0; border: 0; outline: 0; background: none; font-size: 13.5px; letter-spacing: -0.01em; }
.news-field input::placeholder { color: #8f8b8b; }
.news-field button { display: inline-flex; align-items: center; gap: 7px; padding: 4px 0; border: 0; background: none; font-size: 13px; font-weight: 500; }
.news-field button svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.3s var(--ease); }
.news-field button:hover svg { transform: translateX(3px); }

.flinks { display: grid; grid-template-columns: auto auto; gap: 0 clamp(48px, 8vw, 120px); align-content: start; }
.flinks ul { list-style: none; margin: 0; padding: 0; }
.flinks li { padding: 5px 0; font-size: 14.5px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.4; }
.flinks li a { transition: color 0.2s; }
.flinks li > a:hover { color: var(--red); }
.flinks sup { margin-left: 4px; font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: 0; color: var(--muted-2); vertical-align: 1px; }
.flinks sup a { margin-right: 3px; }
.flinks sup a:first-child { color: var(--ink); }
.flinks sup a:hover { color: var(--red); }

.fmark { margin-top: clamp(56px, 10vw, 170px); padding: 0; line-height: 0.86; }
.fmark > span {
  padding-bottom: 0.04em;
  background:
    radial-gradient(34% 120% at 57% 60%, rgba(34, 3, 3, 0.7), rgba(34, 3, 3, 0) 72%),
    linear-gradient(180deg, #a02121 0%, #7e1515 50%, #4c0a0a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fbase {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: clamp(8px, 1vw, 14px);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.fbase a:hover { color: var(--red); }

/* ------------------------------------------------------------------ */
/* Toast                                                               */
/* ------------------------------------------------------------------ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.has-sticky .toast { bottom: 96px; }

/* ------------------------------------------------------------------ */
/* Motion                                                              */
/* ------------------------------------------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

.rise { animation: rise 1.1s var(--ease) both; animation-delay: var(--rd, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* Wordmark entrance: GSAP splits it into letters when available (html.gs), otherwise a CSS fallback plays */
.gs .mark-in > span { visibility: hidden; }
.mark-play > span { animation: markIn 1.5s var(--ease) both; animation-delay: var(--rd, 0.15s); }
.gs [data-split='load'] { visibility: hidden; }
@keyframes markIn { from { opacity: 0; transform: translateY(28%); filter: blur(14px); } to { opacity: 1; transform: none; filter: none; } }
.silk-fade { animation: silkFade 1.8s ease both; }
@keyframes silkFade { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 960px) {
  .svc-row { grid-template-columns: 48px minmax(0, 1fr) 46px; }
  .svc-row .svc-body { grid-column: 2 / 4; grid-row: 2; }
  .story-grid { grid-template-columns: 1fr; }
  .ftop { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-top { grid-template-columns: 1fr auto; }
  .hero-brand { display: none; }
  .hero-mid { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 28px; padding-bottom: clamp(36px, 8vh, 64px); }
  .hero-tag p { font-size: 14px; }
  .logos { justify-content: flex-start; gap: 18px 26px; }
  .svc-row { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 14px; }
  .svc-go { width: 40px; height: 40px; }
  .pcard { height: min(58vh, 420px); margin-bottom: 10vh; }
  .pcard-meta { flex-direction: column; align-items: flex-start; }
  .pcard-meta .stat { text-align: left; }
  .jcard-head { padding: 14px 18px; }
  .jlogo { width: 54px; height: 54px; }
  .jstep b { font-size: 11px; }
  .jstep small { font-size: 10px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stats span { font-size: 9.5px; }
  .flinks { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .fbase { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ */
/* Testimonial bar                                                     */
/* ------------------------------------------------------------------ */
.tbar { --tb-bg: #fff; --tb-card: #f2f2f2; --tb-text: var(--ink); --tb-muted: #6d6d6d; --tb-accent: var(--red); --tb-border: transparent; --tb-radius: 4px; --tb-av: var(--red); }
.tbar .tbar-kicker { font-family: var(--mono); color: var(--red); letter-spacing: 0.06em; }
.tbar .tbar-kicker::before { content: '■ '; }
.tbar .tbar-title { letter-spacing: -0.045em; }

/* ------------------------------------------------------------------ */
/* Booking section (Calendly)                                          */
/* ------------------------------------------------------------------ */
.book { --bk-bg: #fff; --bk-text: var(--ink); --bk-muted: #6d6d6d; --bk-card: #fff; --bk-line: rgba(17, 17, 17, 0.1); --bk-accent: var(--red); --bk-accent-soft: rgba(139, 26, 26, 0.08); --bk-accent-text: #fff; --bk-radius: 4px; --bk-cal-bg: #ffffff; --bk-cal-text: #111111; --bk-cal-primary: #8b1a1a; }
.book .book-kicker { font-family: var(--mono); letter-spacing: 0.06em; }
.book .book-kicker::before { content: '■ '; }
.book .book-title { letter-spacing: -0.045em; }
