/* AC Digital, one-page site (v2). Reference: a bold, playful Jersey agency site.
   Brand: navy + Jersey Sea teal, with soft accents (lemon, lilac, coral, sky, sand) for the service bands. */

:root {
  --navy: #0B1930;
  --navy-2: #13264A;
  --sand: #F4F1EC;
  --teal: #14B8A6;
  --sea: #0B6B63;
  --foam: #99F6E4;
  --lemon: #FFEC99;
  --lilac: #D9D1FF;
  --coral: #FF8E72;
  --sky: #CDE8FF;
  --soft-on-navy: #C3CEDC;

  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --t1: clamp(64px, 10vw, 168px);
  --t2: clamp(40px, 6vw, 96px);
  --t3: clamp(21px, 1.9vw, 28px);
  --t4: 18px;
  --t5: 15px;

  --m: clamp(16px, 2.2vw, 32px);
  --r: 24px;
  --nav: 76px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 12px); }
body { margin: 0; background: var(--sand); color: var(--navy); font-family: var(--sans); font-size: var(--t4); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--foam); color: var(--navy); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 100; background: var(--teal); color: var(--navy); padding: 10px 14px; }
.skip:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons: pills, flat ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 800; font-size: var(--t4); text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease-out), background-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn--teal { background: var(--teal); color: var(--navy); }
.btn--teal:hover { background: var(--foam); }
.btn--navy { background: var(--navy); color: var(--sand); }
.btn--navy:hover { background: var(--navy-2); }
.btn--outline { border: 2px solid var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--sand); }

/* ---------- nav: clear over the film, solid once you scroll ---------- */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--nav);
  padding: 0 var(--m); display: flex; align-items: center; gap: 28px;
  color: var(--sand); background: transparent;
  transition: transform .45s var(--ease-out), background-color .35s, height .35s var(--ease-out);
}
.nav.is-solid { background: var(--navy); height: calc(var(--nav) - 10px); }
.nav.is-hidden:not(.is-open) { transform: translateY(-100%); }
.nav__logo img { height: 40px; width: auto; transition: transform .5s var(--ease-out); }
.nav__logo:hover img { transform: rotate(-4deg) scale(1.03); }

.nav__links { position: relative; display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  border: 0; background: none; color: inherit; font: inherit; font-size: var(--t4); text-decoration: none; cursor: pointer;
}
/* rolling label: the word slides up and its teal twin takes its place */
.roll { display: inline-block; height: 1.25em; overflow: hidden; line-height: 1.25; }
.roll > span { position: relative; display: block; transition: transform .45s var(--ease-out); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--foam); white-space: nowrap; }
.nav__link:hover .roll > span, .nav__link:focus-visible .roll > span { transform: translateY(-1.25em); }
/* where you are: a teal marker that glides under the section in view */
.nav__ink {
  position: absolute; left: 0; bottom: 2px; height: 3px; width: 0; border-radius: 3px; background: var(--teal);
  opacity: 0; transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s;
}
.nav__ink.is-on { opacity: 1; }

.nav__status { display: flex; align-items: center; gap: 10px; font-size: var(--t5); color: var(--soft-on-navy); white-space: nowrap; }
.nav__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; }
.nav__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #4ADE80; animation: beacon 2s ease-out infinite; }
@keyframes beacon { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }

.nav__cta { min-height: 46px; padding: 0 22px; gap: 0; }
.nav__arrow { display: inline-block; width: 0; opacity: 0; overflow: hidden; transform: translateX(-6px); transition: width .3s var(--ease-out), opacity .3s, transform .3s var(--ease-out); }
.nav__cta:hover .nav__arrow, .nav__cta:focus-visible .nav__arrow { width: 1.2em; opacity: 1; transform: none; padding-left: 8px; }

.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; transition: opacity .3s; }
.nav.is-solid .nav__progress { opacity: 1; }

/* phone menu */
.nav__burger { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(244, 241, 236, .14); cursor: pointer; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--sand); transition: transform .35s var(--ease-out); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu {
  position: fixed; z-index: 45; inset: 0; padding: calc(var(--nav) + 24px) 20px 28px; overflow-y: auto;
  background: var(--navy); color: var(--sand); display: none; flex-direction: column; gap: 32px;
}
.mobile-menu.is-open { display: flex; animation: fade-in .3s ease-out; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu__main { display: grid; gap: 4px; }
.mobile-menu__main a { font-size: var(--t2); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; text-decoration: none; }
.mobile-menu.is-open .mobile-menu__main a { animation: rise-in .5s var(--ease-out) both; }
.mobile-menu.is-open .mobile-menu__main a:nth-child(2) { animation-delay: .05s; }
.mobile-menu.is-open .mobile-menu__main a:nth-child(3) { animation-delay: .1s; }
.mobile-menu.is-open .mobile-menu__main a:nth-child(4) { animation-delay: .15s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.mobile-menu__services { display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-menu__services a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(244, 241, 236, .1); color: var(--sand); text-decoration: none; font-size: var(--t5); font-weight: 800; }
.mobile-menu__contact { margin-top: auto; display: grid; gap: 10px; }
.btn--ghost { border: 2px solid rgba(244, 241, 236, .35); color: var(--sand); }
.btn--ghost:hover { background: var(--sand); color: var(--navy); }
.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background: var(--navy); color: var(--sand);
  padding: calc(var(--nav) + 24px) var(--m) 32px;
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr auto; gap: 0 24px;
}
/* Jersey, softly: photos cross-fade behind a light blur and a navy scrim that keeps the type readable */
.hero__photos { position: absolute; inset: 0; overflow: hidden; }
.hero__photo {
  position: absolute; top: -32px; left: -32px; width: calc(100% + 64px); height: calc(100% + 64px); max-width: none;
  object-fit: cover; filter: blur(5px) saturate(1.05); opacity: 0;
}
.hero__photo.is-on { opacity: 1; }
.hero__video {
  position: absolute; top: -32px; left: -32px; width: calc(100% + 64px); height: calc(100% + 64px); max-width: none;
  object-fit: cover; filter: blur(5px) saturate(1.05);
}
.hero__video.is-failed { display: none; }
.hero__scrim { position: absolute; inset: 0; background: rgba(11, 25, 48, .6); }
.hero__services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; max-width: 640px; }
.hero__services a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: rgba(244, 241, 236, .14); color: var(--sand); text-decoration: none; font-size: var(--t5); font-weight: 800;
  transition: background-color .2s, color .2s, transform .18s var(--ease-out);
}
.hero__services a:hover, .hero__services a:focus-visible { background: var(--teal); color: var(--navy); }
.svc svg { width: 18px; height: 18px; margin-right: 8px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.svc svg * { transform-box: fill-box; transform-origin: center; }
.svc .d { fill: currentColor; stroke: none; }
/* each icon acts out its service on hover, focus, and once on arrival */
.svc:is(:hover, :focus-visible, .play) .bar { animation: build .5s var(--ease-out) both; transform-origin: left center; }
.svc:is(:hover, :focus-visible, .play) .bar2 { animation-delay: .12s; }
.svc:is(:hover, :focus-visible, .play) .d { animation: typing .9s ease-in-out infinite; }
.svc:is(:hover, :focus-visible, .play) .d2 { animation-delay: .15s; }
.svc:is(:hover, :focus-visible, .play) .d3 { animation-delay: .3s; }
.svc:is(:hover, :focus-visible, .play) .w { animation: ring .8s ease-out infinite; }
.svc:is(:hover, :focus-visible, .play) .w2 { animation-delay: .2s; }
.svc:is(:hover, :focus-visible, .play) .cog { animation: turn 1.6s linear infinite; }
.svc:is(:hover, :focus-visible, .play) .st { animation: pop .55s var(--ease-out); fill: currentColor; }
.svc:is(:hover, :focus-visible, .play) .flap { animation: flap .7s var(--ease-out); transform-box: fill-box; transform-origin: center top; }
.svc:is(:hover, :focus-visible, .play) .tl { animation: tile-in .45s var(--ease-out) both; }
.svc:is(:hover, :focus-visible, .play) .t2 { animation-delay: .08s; }
.svc:is(:hover, :focus-visible, .play) .t3 { animation-delay: .16s; }
.svc:is(:hover, :focus-visible, .play) .t4 { animation-delay: .24s; }
@keyframes tile-in { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes build { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes typing { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-2.5px); } }
@keyframes ring { from { opacity: 1; transform: scale(.85); } to { opacity: .2; transform: scale(1.25); } }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(1) rotate(0); } 50% { transform: scale(1.45) rotate(36deg); } 100% { transform: scale(1) rotate(72deg); } }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 45% { transform: scaleY(-.7); } }
.hero__services a:active { transform: scale(.97); }
.hero__place { font-weight: 800; color: var(--sand); }
.hero__copy { grid-column: 1 / 10; grid-row: 2; position: relative; z-index: 1; }
.hero__title { font-size: var(--t1); line-height: .92; letter-spacing: -.035em; font-weight: 800; }
.hero__title .serif { display: block; font-size: var(--t2); line-height: 1; color: var(--sand); }
.rotor { display: grid; overflow: hidden; height: 1.02em; font-weight: 800; color: var(--foam); }
.rotor__word { grid-area: 1 / 1; }
.rotor__word:not(.is-on) { visibility: hidden; }
.hero__lede { margin-top: 24px; max-width: 30ch; font-size: var(--t3); line-height: 1.35; color: var(--soft-on-navy); }
.hero__meta {
  grid-column: 10 / 13; grid-row: 2; align-self: end; justify-self: end; position: relative; z-index: 1;
  display: grid; justify-items: end; gap: 4px; font-size: var(--t5); color: var(--soft-on-navy);
}
.clock { font-size: var(--t3); font-weight: 800; color: var(--sand); font-variant-numeric: tabular-nums; }

/* ---------- intro: one statement, one card ---------- */
.intro {
  padding: clamp(96px, 11vw, 168px) var(--m);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; align-items: center;
}
.intro__text { grid-column: 1 / 7; }
.intro__text h2 { font-size: var(--t2); font-weight: 800; line-height: .95; letter-spacing: -.035em; }
.intro__text p { margin-top: 24px; max-width: 40ch; font-size: var(--t3); line-height: 1.35; }
/* typed on scroll: letters keep their space so nothing reflows, a teal cursor sits after the last typed letter */
.typing .ch { opacity: 0; }
.typing .ch.on { opacity: 1; }
.typing .ch.caret::after {
  content: ""; display: inline-block; width: .08em; height: .9em; margin-left: .04em; vertical-align: -.08em;
  background: var(--teal); animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.link-arrow { display: inline-flex; gap: 8px; margin-top: 28px; font-weight: 800; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow span { transition: transform .2s var(--ease-out); }
.link-arrow:hover span { transform: translateX(4px); }

.bento { grid-column: 7 / 13; }
.card { position: relative; border-radius: var(--r); overflow: hidden; }
.card--hello {
  display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: auto 1fr; gap: 28px 28px; align-items: start;
  min-height: 340px; padding: clamp(28px, 3vw, 44px);
  background: var(--coral); color: var(--navy); text-decoration: none;
  transition: transform .3s var(--ease-out);
}
.card--hello:hover { transform: translateY(-4px); }
.card__title { grid-column: 1 / -1; padding-right: 64px; font-size: var(--t2); font-weight: 800; line-height: .92; letter-spacing: -.035em; }
.card__sub { grid-column: 1; grid-row: 2; align-self: end; max-width: 16em; font-family: var(--serif); font-style: italic; font-size: var(--t3); line-height: 1.25; }
.chat { grid-column: 2; grid-row: 2; align-self: end; display: grid; gap: 10px; }
.chat__bubble { max-width: 92%; padding: 12px 16px; border-radius: 18px; font-size: var(--t5); line-height: 1.35; }
.chat__bubble--in { justify-self: start; background: var(--sand); border-bottom-left-radius: 6px; }
.chat__bubble--out { justify-self: end; background: var(--navy); color: var(--sand); border-bottom-right-radius: 6px; }
.chat__typing { justify-self: end; display: none; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--navy); color: var(--soft-on-navy); font-size: var(--t5); }
.chat__typing img { width: 22px; height: 22px; }
.motion .chat__typing { display: inline-flex; }
.card__go {
  position: absolute; top: 24px; right: 24px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--sand); font-size: var(--t4);
  transition: transform .25s var(--ease-out);
}
.card--hello:hover .card__go { transform: rotate(-45deg); }
.card--photo img { width: 100%; height: 100%; object-fit: cover; }
.card--photo figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px;
  background: var(--sand); color: var(--navy); font-size: var(--t5); font-weight: 800;
}

/* ---------- services: stacked bands ---------- */
.services { padding: 0 var(--m) clamp(96px, 10vw, 160px); }
.services__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: end; padding-bottom: 48px; }
.services__head h2 { grid-column: 1 / 8; font-size: var(--t2); font-weight: 800; line-height: .95; letter-spacing: -.035em; }
.services__head p { grid-column: 8 / 13; max-width: 40ch; }
.bands { display: grid; gap: 20px; }
@media (max-width: 1180px) { .nav__status { display: none; } }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; }
}
@media (max-width: 1080px) { .bands { gap: 24px; } }
/* compact band: title, description and deliverables grouped together on the left, drawing on the right */
.band {
  position: sticky; top: calc(var(--nav) + 16px);
  background: var(--bg); border-radius: var(--r); padding: clamp(28px, 3.4vw, 52px);
  display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto 1fr; gap: 0 clamp(32px, 4vw, 64px);
  align-items: start; transform-origin: 50% 0;
}
.band__title { grid-column: 1; grid-row: 1; font-size: var(--t2); font-weight: 800; line-height: .95; letter-spacing: -.035em; }
.band__pitch { grid-column: 1; grid-row: 2; margin-top: 20px; font-size: var(--t3); line-height: 1.35; max-width: 32ch; }
.band__list { grid-column: 1; grid-row: 3; margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 32px; font-size: var(--t4); }
.band__list li { white-space: nowrap; }
.band__list li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--navy); vertical-align: .15em; }
.band__art { grid-column: 2; grid-row: 1 / 4; align-self: stretch; background: var(--navy); border-radius: calc(var(--r) - 6px); display: grid; place-items: center; padding: 24px; min-height: 300px; }
.band__art svg { width: 100%; max-width: 440px; height: auto; }

/* ---------- service drawings: each one shows its job ---------- */
.band__art svg * { transform-box: fill-box; transform-origin: center; }
.motion .band__art .b, .motion .band__art .ph, .motion .band__art .mrow, .motion .band__art .soc { opacity: 0; }
.motion .band__art .tick { stroke-dasharray: 1; stroke-dashoffset: 1; }
.band.is-live .wave rect { animation: eq .9s ease-in-out infinite alternate; }
.band.is-live .wave rect:nth-child(2n) { animation-delay: -.3s; }
.band.is-live .wave rect:nth-child(3n) { animation-delay: -.6s; }
.band.is-live .arcs path { animation: ring 1.6s ease-out infinite; }
.band.is-live .arcs path:nth-child(2n) { animation-delay: .4s; }
.band.is-live .b { animation: bubble .45s var(--ease-out) forwards; }
.band.is-live .b2 { animation-delay: .9s; }
.band.is-live .b3 { animation-delay: 1.8s; }
.band.is-live .dots circle { animation: typing .9s ease-in-out infinite; }
.band.is-live .dots circle:nth-child(2) { animation-delay: .15s; }
.band.is-live .dots circle:nth-child(3) { animation-delay: .3s; }
.band.is-live .step { animation: glow 3s ease-in-out infinite; }
.band.is-live .step2 { animation-delay: .6s; }
.band.is-live .step3 { animation-delay: 1.2s; }
.band.is-live .tick { animation: draw .5s 1.4s var(--ease-out) forwards; }
.band.is-live .ph { animation: rise .6s var(--ease-out) forwards; }
.band.is-live .ph:nth-of-type(n+3) { animation-delay: .15s; }
.band.is-live .star { animation: pop .6s var(--ease-out) both; }
.band.is-live .star:nth-child(2) { animation-delay: .12s; }
.band.is-live .star:nth-child(3) { animation-delay: .24s; }
.band.is-live .star:nth-child(4) { animation-delay: .36s; }
.band.is-live .star:nth-child(5) { animation-delay: .48s; }
.band.is-live .pin { animation: hop 2.4s var(--ease-out) infinite; }
.band.is-live .mrow { animation: rise .6s .2s var(--ease-out) forwards; }
.band.is-live .mrow:nth-of-type(3) { animation-delay: .35s; }
.band.is-live .mrow:nth-of-type(4) { animation-delay: .5s; }
.band.is-live .soc { animation: rise .7s .75s var(--ease-out) forwards; }
.motion .band__art .tile, .motion .band__art .grow { transform: scale(0); }
.band.is-live .tile { animation: tile-in .45s var(--ease-out) forwards; }
.band.is-live .tile:nth-child(2) { animation-delay: .1s; }
.band.is-live .tile:nth-child(3) { animation-delay: .2s; }
.band.is-live .tile:nth-child(4) { animation-delay: .3s; }
.band.is-live .tile:nth-child(5) { animation-delay: .4s; }
.band.is-live .tile:nth-child(6) { animation-delay: .5s; }
.band__art .grow { transform-origin: 50% 100%; }
.motion .band__art .grow { transform: scaleY(0); }
.band.is-live .grow { animation: grow .7s var(--ease-out) forwards; }
.band.is-live .grow:nth-child(2) { animation-delay: .15s; }
.band.is-live .grow:nth-child(3) { animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1.15); } }
@keyframes bubble { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 60%, 100% { opacity: 1; } 20% { opacity: .55; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }

/* ---------- who it's for ---------- */
.who { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: stretch; }
.card--map { margin: 0; background: var(--navy); color: var(--sand); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 28px; }
.jmap { display: block; width: 100%; height: auto; margin: auto 0; overflow: visible; }
/* one calm tone, fine lines; only St Helier (where we are) is lit */
.jmap__parishes .parish { fill: #12304A; stroke: rgba(153, 246, 228, .28); stroke-width: 5; stroke-linejoin: round; transition: fill .3s var(--ease-out); }
.jmap__parishes .parish:hover { fill: #1A4560; }
.jmap__parishes .parish[data-name="Saint Helier"] { fill: var(--teal); }
.jmap__parishes .parish[data-name="Saint Helier"]:hover { fill: #2DD4BF; }
.card--map { position: relative; }
.jmap__parishes .parish { cursor: default; }
.jmap__tip {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--navy); font-size: var(--t5); font-weight: 800;
  visibility: hidden;
}
.jmap__tip.is-on { visibility: visible; }
.jmap__coast path { stroke: var(--foam); stroke-width: 6; stroke-linejoin: round; opacity: .9; }
.jmap__ping { fill: none; stroke: var(--foam); stroke-width: 10; opacity: .5; }
.jmap__badge { fill: var(--navy); stroke: var(--foam); stroke-width: 8; }
.card--map figcaption { display: grid; gap: 4px; }
.card--map figcaption strong { font-size: var(--t3); }
.card--map figcaption span { color: var(--soft-on-navy); font-size: var(--t5); }
.who { padding: 0 var(--m) clamp(96px, 10vw, 160px); }
.who h2 { font-size: var(--t2); font-weight: 800; line-height: .95; letter-spacing: -.035em; max-width: 14em; }
.pills { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.pills li {
  background: var(--c); color: var(--navy); border-radius: 999px;
  padding: 14px 24px; font-size: var(--t3); line-height: 1.1; font-weight: 400;
  transition: transform .25s var(--ease-out);
}
.pills li { cursor: default; }

/* ---------- how it works ---------- */
.how { background: var(--navy); color: var(--sand); padding: clamp(96px, 11vw, 168px) var(--m); }
.how h2 { font-size: var(--t2); font-weight: 800; line-height: .95; letter-spacing: -.035em; }
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--navy-2); border-radius: var(--r); padding: 28px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.steps h3 { font-size: var(--t3); font-weight: 800; color: var(--foam); }
.steps p { color: var(--soft-on-navy); }
.steps li:nth-child(2) h3 { color: var(--lemon); }
.steps li:nth-child(3) h3 { color: var(--lilac); }
.steps li:nth-child(4) h3 { color: var(--coral); }


/* ---------- cta ---------- */
.cta { background: var(--teal); color: var(--navy); padding: clamp(110px, 13vw, 200px) var(--m); text-align: center; display: grid; justify-items: center; gap: 28px; }
.cta h2 { font-size: var(--t1); font-weight: 800; line-height: .92; letter-spacing: -.04em; max-width: 11em; }
.cta h2 .serif { display: block; font-size: var(--t2); line-height: 1; }
.cta p { font-size: var(--t3); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* contact form */
.cta__form { margin-top: 24px; width: min(760px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
.cta__form-title { grid-column: 1 / -1; font-size: var(--t3); font-weight: 800; text-align: center; margin-bottom: 4px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--t5); font-weight: 800; }
.field label span { font-weight: 400; }
.field input, .field textarea {
  font: inherit; color: var(--navy); background: var(--sand); border: 2px solid transparent; border-radius: 14px;
  padding: 14px 16px; min-height: 52px; transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.cta__form .btn { justify-self: center; min-width: 220px; }
@media (max-width: 760px) { .cta__form { grid-template-columns: 1fr; } .cta__form .btn { width: 100%; } }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--sand); padding: 72px var(--m) 0; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 32px; }
.footer__h { font-size: var(--t5); font-weight: 800; color: var(--foam); margin-bottom: 14px; }
.footer__cols ul { display: grid; gap: 6px; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { text-decoration: underline; }
.footer__time { margin-top: 6px; color: var(--soft-on-navy); }
.footer__time .clock { font-size: inherit; }
.back { align-self: start; }
.credits { margin-top: 56px; font-size: var(--t5); color: var(--soft-on-navy); max-width: 68ch; }
.credits a { color: var(--sand); }
.footer__giant { margin-top: 40px; margin-bottom: -3.2vw; }
.footer__giant img { width: 100%; height: auto; }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .intro__text { grid-column: 1 / 13; }
  .bento { grid-column: 1 / 13; }
  .band { position: relative; top: auto; }
  .band__art { min-height: 240px; }
  .who { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --t1: 15vw; --t2: 38px; --t3: 21px; --t4: 17px; --t5: 15px; --nav: 64px; --r: 20px; }
  .nav { gap: 10px; }
  .nav__logo img { height: 32px; }
  .nav__cta { min-height: 42px; padding: 0 16px; font-size: 15px; }
  .hero { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 24px; }
  .hero__services a { min-height: 36px; padding: 0 12px; }
  .hero__meta { justify-items: start; justify-self: start; text-align: left; margin-top: 28px; }
  .intro, .services__head { display: block; }
  .services__head p { margin-top: 16px; }
  .bento { margin-top: 40px; }
  .intro { padding-bottom: 120px; }
  .card--hello { grid-template-columns: 1fr; min-height: 0; padding: 24px; }
  .card__sub { grid-row: auto; }
  .chat { grid-column: 1; grid-row: auto; padding-top: 8px; }
  .band { grid-template-columns: 1fr; grid-template-rows: auto; }
  .band__title, .band__art, .band__pitch, .band__list { grid-column: 1; grid-row: auto; }
  .band__pitch { margin-top: 14px; }
  .band__list { margin-top: 20px; grid-template-columns: 1fr; gap: 8px; }
  .band__list li { white-space: normal; }
  .band__art { order: -1; min-height: 0; margin-bottom: 22px; }
  .pills li { padding: 11px 18px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .cta__actions .btn { width: 100%; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .flowdot { display: none; }
  .nav__dot::after { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
