/* Format: a pink course-page layout. Full-bleed photo bands with heavy white caps, a black statement card on
   pink, white bordered boxes for lists, black buttons and pink pills. One family throughout: Jost, the open
   Futura-style geometric, regular for reading and 700/800 caps for headlines. Single deliberate light look. */
:root {
  --pink: #fad3e6;
  --pink-2: #fad7e6;
  --coral: #e2546d;
  --black: #000;
  --white: #fff;
  --ink: #111;
  --grey: #333;
  --font: "Jost", "Futura", "Century Gothic", "Avenir Next", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--pink); color: var(--ink); font: 400 17px/1.55 var(--font); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font); text-transform: uppercase; line-height: 1.02; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.wrap { max-width: 1060px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--pink); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--pink); }
.top .wrap { max-width: 1240px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font: 700 23px/0.9 var(--font); color: var(--coral); text-decoration: none; letter-spacing: -0.01em; }
.logo small { display: block; font: 500 10.5px/1.2 var(--font); letter-spacing: .22em; text-transform: uppercase; margin-top: 4px; }
nav { display: flex; gap: clamp(14px, 3vw, 30px); }
nav a { font: 700 12.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--coral); text-decoration: none; padding: 6px 0; }
nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--coral); }

/* photo bands */
.band { position: relative; color: var(--white); overflow: hidden; background: #222; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.band > .wrap { position: relative; z-index: 1; }
.hero .wrap { min-height: clamp(360px, 48vw, 520px); display: grid; place-content: center; text-align: center; gap: 18px; padding-block: 64px; }
.hero h1 { font-weight: 800; font-size: clamp(2.6rem, 7.2vw, 5rem); letter-spacing: -0.005em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero .tag { font: 700 clamp(1.05rem, 2.2vw, 1.55rem)/1.3 var(--font); }
.hero > img { object-position: 50% 28%; }
.caption { font: 400 13px/1.4 var(--font); color: var(--ink); padding-block: 8px 0; }

/* the black statement card */
.statement { padding-block: clamp(36px, 6vw, 64px); }
.statement .card { background: var(--black); color: var(--white); padding: clamp(28px, 5.5vw, 64px); display: grid; gap: 22px; }
.statement h2 { font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); }
.statement p { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 62ch; }

/* section headings and white boxes */
.section { padding-block: clamp(28px, 5vw, 56px); display: grid; gap: 28px; }
.section > h2 { font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); }
.box { background: var(--white); border: 1px solid var(--black); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.piece { display: grid; align-content: start; }
.piece video, .piece .frame { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #ddd; border-bottom: 1px solid var(--black); }
.piece .body { padding: 22px; display: grid; gap: 10px; }
.ep { font: 500 13px/1.3 var(--font); letter-spacing: .02em; color: var(--grey); }
.piece h3 { font-weight: 800; font-size: 1.55rem; }
.piece p { font-size: 15.5px; }
.piece .line { font-style: italic; font-weight: 500; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.split .text { display: grid; gap: 16px; font-size: 17px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.list li { background: var(--white); border: 1px solid var(--black); padding: 16px 18px; font-size: 16px; }
.list li + li { border-top: 0; }
.note { padding: 18px 22px; text-align: center; font-style: italic; font-size: 15px; display: grid; gap: 14px; justify-items: center; }

/* buttons */
.btn { display: inline-block; background: var(--black); color: var(--white); text-decoration: none; text-transform: uppercase;
  font: 700 14px/1 var(--font); letter-spacing: .06em; padding: 15px 26px; border: 0; transition: background .2s; }
.btn:hover { background: var(--coral); }
.pill { display: inline-block; background: var(--pink); color: var(--coral); text-decoration: none; border-radius: 999px;
  font: 500 14.5px/1 var(--font); padding: 12px 22px; transition: background .2s, color .2s; }
.pill:hover { background: var(--white); }

/* snippets */
.snips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.snip { margin: 0; display: grid; }
.snip video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-bottom: 1px solid var(--black); background: #ddd; }
.snip figcaption { padding: 10px 12px; font: 500 13px/1.35 var(--font); }
.snip figcaption span { display: block; font-weight: 400; color: var(--grey); }

/* photo band with a list */
.qa .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.qa .left { text-align: center; display: grid; gap: 16px; justify-items: center; font: 700 clamp(1.2rem, 2.2vw, 1.5rem)/1.25 var(--font); }
.qa h2 { font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.qa ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: clamp(1rem, 1.5vw, 1.1rem); }
.qa > img { object-position: 50% 35%; }

/* product-style card */
.offer { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.offer img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: 50% 30%; border-right: 1px solid var(--black); }
.offer .body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; align-content: center; }
.offer h3 { font-weight: 700; font-size: 1.5rem; text-transform: none; }
.offer .price { font: 500 1.1rem/1 var(--font); }
.offer ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }

/* about band */
.about .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(24px, 5vw, 56px); align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.about h2 { font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 18px; }
.about .copy { display: grid; gap: 12px; max-width: 58ch; font-size: 16.5px; }
.about dl { margin: 18px 0 0; display: grid; gap: 6px; font-size: 16px; }
.about dt { display: inline; font-weight: 700; }
.about dd { display: inline; margin: 0; }
.about .right { display: grid; justify-items: center; gap: 12px; }
.about > img { object-position: 50% 30%; }

footer { padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); text-align: center; display: grid; gap: 12px; justify-items: center; font-size: 13px; }
footer .icons { display: flex; gap: 18px; }
footer .icons a { display: inline-flex; width: 28px; height: 28px; }
footer svg { width: 100%; height: 100%; }
.fine { font-size: 12.5px; color: var(--grey); max-width: 60ch; }

/* manifest */
.ledger-wrap { overflow-x: auto; }
.ledger { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--white); border: 1px solid var(--black); }
.ledger th { text-align: left; font: 800 13px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 14px 18px; border-bottom: 1px solid var(--black); background: var(--black); color: var(--white); }
.ledger td { padding: 16px 18px; border-bottom: 1px solid var(--black); vertical-align: top; font-size: 16px; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger td:first-child { width: 40%; font-style: italic; color: var(--grey); }
.quote .wrap { padding-block: clamp(56px, 8vw, 96px); text-align: center; display: grid; gap: 16px; justify-items: center; }
.quote p { font: 800 clamp(1.6rem, 4vw, 2.6rem)/1.15 var(--font); text-transform: uppercase; max-width: 22ch; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--black); padding: 20px 22px 20px 74px; position: relative; display: grid; gap: 6px; }
.steps li + li { border-top: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 22px; top: 18px; font: 800 1.4rem/1 var(--font); color: var(--coral); }
.steps h3 { font-size: 1.05rem; font-weight: 800; }
.steps p { font-size: 15.5px; color: var(--grey); }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cases article { padding: 24px; display: grid; gap: 12px; align-content: start; }
.cases .kind { font: 500 13px/1 var(--font); color: var(--grey); }
.cases h3 { font-size: 1.25rem; font-weight: 800; }
.cases dl { margin: 0; display: grid; gap: 8px; font-size: 15px; }
.cases dt { font-weight: 700; display: inline; }
.cases dd { margin: 0; display: inline; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.three article { padding: 24px; display: grid; gap: 10px; align-content: start; }
.three h3 { font-size: 1.2rem; font-weight: 800; }
.three p { font-size: 15.5px; }
.three .said { font-style: italic; color: var(--grey); }

@media (max-width: 860px) {
  .snips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .duo, .split, .qa .wrap, .about .wrap, .offer, .cases { grid-template-columns: minmax(0, 1fr); }
  .offer img { border-right: 0; border-bottom: 1px solid var(--black); min-height: 260px; max-height: 420px; }
  .duo { max-width: 420px; margin-inline: auto; width: 100%; }
  .logo small { display: none; }
  nav a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* sizing: keep the 9:16 work videos and the offer photo within one screen on a laptop */
.duo { max-width: 760px; width: 100%; margin-inline: auto; }
.offer img { aspect-ratio: 4 / 5; height: auto; min-height: 0; }
@media (min-width: 721px) { .offer { max-width: 880px; margin-inline: auto; } }
.about > img { object-position: 78% 30%; }
.about::after { background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.32)); }

.logo { white-space: nowrap; }
@media (max-width: 420px) { .logo { font-size: 19px; } nav { gap: 12px; } nav a { font-size: 11px; } }

/* contact + live clock */
.about dl.reach { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.45); }
.about dl.reach a { color: var(--white); text-underline-offset: 3px; }
.clock { font-variant-numeric: tabular-nums; font-weight: 500; }
footer .now { font: 500 14px/1.3 var(--font); }
footer a { text-underline-offset: 3px; }

.three.design { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .three.design { grid-template-columns: minmax(0, 1fr); } }

.m-hero > img { object-position: 50% 55%; }
.m-hero::after { background: rgba(0, 0, 0, .58); }

/* ---------- the glow: deep navy with a cool blue light (no purple anywhere) ---------- */
.glow { position: relative; color: var(--white); overflow: hidden;
  background:
    radial-gradient(60% 70% at 18% 85%, rgba(30, 110, 255, .42), transparent 70%),
    radial-gradient(55% 60% at 88% 12%, rgba(0, 170, 255, .28), transparent 70%),
        linear-gradient(135deg, #05101f 0%, #08193a 55%, #0b2250 100%); }
.glow::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(71.9% 62.07% at 50% 50%, rgba(255,255,255,0) 0%, rgba(2,8,22,.4) 100%); }
.glow > .wrap { position: relative; z-index: 1; }
.hero2 .wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.hero2 .hero-copy { display: grid; gap: 18px; }
.hero2 h1 { font-weight: 800; font-size: clamp(2.6rem, 6.6vw, 5rem); }
.hero2 .tag { font: 700 clamp(1.05rem, 2vw, 1.45rem)/1.3 var(--font); }
.kicker { font: 500 12.5px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.btn.light { background: var(--white); color: var(--black); }
.btn.light:hover { background: var(--pink); }

/* ---------- iPhone frame ---------- */
.phone { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 9 / 19.5; border-radius: 15% / 7%;
  background: linear-gradient(145deg, #2c2c31, #0c0c0e 40%, #1b1b1f); padding: 3.4%;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12), 0 24px 60px rgba(2, 8, 22, .35); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 12% / 5.6%; overflow: hidden; background: #000; }
.phone .screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; border: 0; aspect-ratio: auto; }
.phone .island { position: absolute; top: 2.1%; left: 50%; transform: translateX(-50%); width: 31%; height: 3.5%; background: #000; border-radius: 999px; z-index: 4; box-shadow: 0 0 0 1px rgba(255,255,255,.04); }
.phone .status { position: absolute; top: 2.3%; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 0 9.5%; color: #fff; font: 600 5.4cqw/1 -apple-system, "SF Pro Text", var(--font); font-variant-numeric: tabular-nums; pointer-events: none; }
.phone .sys { display: inline-flex; align-items: flex-end; gap: 1.2cqw; height: 3.6cqw; }
.phone .sys i { display: block; width: 1.1cqw; background: #fff; border-radius: .4cqw; }
.phone .sys i:nth-child(1) { height: 40%; } .phone .sys i:nth-child(2) { height: 70%; } .phone .sys i:nth-child(3) { height: 100%; }
.phone .sys b { display: block; width: 7cqw; height: 3.4cqw; margin-left: 1.6cqw; border: .45cqw solid rgba(255,255,255,.9); border-radius: 1.1cqw; background: linear-gradient(90deg, #fff 70%, transparent 70%) content-box; padding: .35cqw; }
.phone .home { position: absolute; bottom: 1.4%; left: 50%; transform: translateX(-50%); width: 36%; height: 1.1cqw; min-height: 3px; background: rgba(255,255,255,.85); border-radius: 99px; z-index: 3; pointer-events: none; }
.phone video[controls] ~ .home { display: none; }
.hero-phone { max-width: 300px; justify-self: center; }

/* work pieces: the phone sits on a soft stage inside the white box */
.piece .stage { padding: 28px 18% 30px; background: linear-gradient(160deg, #f8e6ee, #e9eef4); border-bottom: 1px solid var(--black); }
.piece .stage video { border-bottom: 0; }

/* snippets: phones on the glow */
.snips-band .section { padding-block: clamp(48px, 7vw, 88px); }
.snips-band h2 { color: var(--white); }
.snips { gap: clamp(16px, 2.6vw, 28px); }
.snip { margin: 0; display: grid; gap: 12px; }
.snip figcaption { padding: 0 4px; color: var(--white); font: 600 14px/1.35 var(--font); }
.snip figcaption span { display: block; font-weight: 400; color: rgba(255,255,255,.7); }
.snip .phone video { border-bottom: 0; }

/* ---------- iOS widgets ---------- */
.widgets { display: grid; grid-template-columns: 1fr; gap: 16px; justify-items: stretch; max-width: 340px; width: 100%; justify-self: end; }
.widget { border-radius: 26px; padding: 18px 20px; color: var(--white);
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 12px 30px rgba(0,0,0,.18); display: grid; gap: 6px; }
.w-label { font: 600 12.5px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.w-time { font: 700 clamp(2.4rem, 5vw, 3.1rem)/1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.w-sub { font: 500 14px/1.2 var(--font); color: rgba(255,255,255,.85); }
.contact-w a, .contact-w .row { display: flex; align-items: center; gap: 10px; font: 500 15px/1.35 var(--font); color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.contact-w a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-w .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.22); font-size: 13px; }
.about .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }

@media (max-width: 760px) {
  .hero2 .wrap { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero2 .hero-copy { justify-items: center; }
  .hero-phone { max-width: 230px; order: 2; }
  .hero-cta { justify-content: center; }
  .widgets { justify-self: stretch; max-width: none; }
  .about .wrap { grid-template-columns: minmax(0, 1fr); }
  .piece .stage { padding: 22px 16% 24px; }
}

/* the four retention metrics, quiet, under the statement */
.metrics { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.25);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metrics li { display: grid; gap: 4px; }
.metrics b { font: 700 14px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.metrics span { font: 400 14px/1.35 var(--font); color: rgba(255,255,255,.7); }
@media (max-width: 720px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* the five questions, larger */
.qa ul { font-size: clamp(1.2rem, 2.1vw, 1.5rem); line-height: 1.35; gap: 12px; }

.copy-btn { margin-left: auto; flex: none; font: 600 12px/1 var(--font); letter-spacing: .04em; color: var(--black); background: rgba(255,255,255,.9);
  border: 0; border-radius: 999px; padding: 6px 11px; cursor: pointer; transition: background .2s; }
.copy-btn:hover { background: var(--pink); }

/* widgets: the solid navy glow instead of see-through glass, so the contact lines read over any photo */
.widget { background:
    radial-gradient(80% 90% at 15% 100%, rgba(30, 110, 255, .42), transparent 70%),
    radial-gradient(70% 80% at 95% 0%, rgba(0, 170, 255, .28), transparent 70%),
    linear-gradient(135deg, #05101f, #0b2250);
  backdrop-filter: none; -webkit-backdrop-filter: none; }

/* phones: the white/silver finish of the 3D model in the hero */
.phone { background: linear-gradient(145deg, #f7f8fa 0%, #d3d6db 22%, #f1f3f5 48%, #c2c6cc 78%, #eceef1 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), inset 0 0 0 2.5px rgba(150,155,165,.55), 0 22px 50px rgba(2, 8, 22, .28); }
.phone .screen { box-shadow: 0 0 0 1.5px #0d0d0f; }
/* the 3D hero phone */
.hero-3d { position: relative; width: 100%; max-width: 360px; aspect-ratio: 9 / 15; justify-self: center; }
.hero-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.hero-3d { display: none; }
.has-3d .hero-3d { display: block; }
.has-3d .hero-phone { display: none; }
@media (max-width: 760px) { .hero-3d { max-width: 300px; order: 2; } }

/* the hero now holds the open Duo, which is about as wide as it is tall */
@media (min-width: 761px) { .hero2 .wrap { grid-template-columns: minmax(0, 470px) minmax(0, 1fr); } }
.hero-3d { max-width: 470px; aspect-ratio: 1 / 1.08; }
@media (max-width: 760px) { .hero-3d { max-width: 380px; } }

/* the Duo opens wide: about 4:3 */
.hero-3d { aspect-ratio: 4 / 3.2; }

/* ---------- one type system: Jost only, two treatments ----------
   headlines: Jost 700 caps, normal tracking. everything else: Jost 400/500, sentence case, normal tracking. */
h1, h2, h3 { font-weight: 700 !important; letter-spacing: 0 !important; }
.kicker, .logo small, nav a, .w-label, .metrics b, .ep, .label, .cases .kind, .snip figcaption, .tc {
  letter-spacing: 0 !important; text-transform: none !important; font-family: var(--font) !important; }
.kicker { font: 500 16px/1.3 var(--font); color: rgba(255,255,255,.8); }
.logo small { font: 500 12px/1.2 var(--font); }
nav a { font: 500 15px/1 var(--font); }
.w-label { font: 500 13px/1 var(--font); }
.metrics b { font: 700 15px/1.2 var(--font); }
.btn { letter-spacing: 0; text-transform: none; font: 600 15px/1 var(--font); }
.phone .status { font-family: var(--font); }
.about::after { content: none; }

/* backgrounds from the Givebutter desk shot (brick, tall windows) */
.band.about::after { content: ""; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.3) 100%); }
.band.about > img { object-position: 50% 32%; }
.quote > img { object-position: 50% 30%; }
.offer img { object-position: 50% 35%; }
/* the five questions, bigger again */
.qa ul { font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.3; gap: 14px; }
.qa .wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); }
@media (max-width: 720px) { .qa .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- glass seams: layered Apple-style glass widgets straddling every pink / navy border ----------
   the seam has no height; its row sits on the border line, so each pane frosts pink above and navy below. */
.seam { position: relative; height: 0; z-index: 6; }
.seam-row { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center;
  width: max-content; max-width: calc(100vw - 32px); }
.glass { position: relative; display: grid; gap: 3px; align-content: center; padding: 14px 20px; min-height: 64px; border-radius: 22px;
  color: #0b1424; text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.34) 100%);
  backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.25), 0 10px 30px rgba(3, 12, 30, .22), 0 2px 6px rgba(3,12,30,.12); }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;   /* the specular sheen */
  background: linear-gradient(115deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,0) 70%, rgba(255,255,255,.18) 100%); }
.glass.wide { display: flex; align-items: center; gap: 14px; padding: 16px 24px; min-height: 76px; z-index: 2; }
.glass.wide > span:last-child { display: grid; gap: 3px; }
.glass.g1 { margin-right: -14px; transform: translateY(8px) rotate(-2deg); z-index: 1; }
.glass.g3 { margin-left: -14px; transform: translateY(-8px) rotate(2deg); z-index: 1; }
.g-k { font: 500 12.5px/1 var(--font); color: rgba(11, 20, 36, .62); }
.g-v { font: 700 22px/1.05 var(--font); font-variant-numeric: tabular-nums; }
.g-v.sm { font: 600 15px/1.2 var(--font); }
a.glass:hover { background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.5)); }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
.eq i { display: block; width: 4px; border-radius: 2px; background: #0b1424; height: 30%; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #e2546d; box-shadow: 0 0 0 4px rgba(226, 84, 109, .2); }
@media (prefers-reduced-motion: no-preference) {
  .eq i { animation: eq 1s ease-in-out infinite; }
  .eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
  @keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
  .seam-row { animation: float 6s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 4px)); } }
}
/* breathing room so the panes don't cover the first and last lines of the sections they sit on */
.hero2 .wrap, .snips-band .section, .qa .wrap { padding-bottom: calc(clamp(48px, 7vw, 88px) + 30px); }
.seam + .statement, .seam + .glow, .seam + .section { padding-top: calc(clamp(28px, 5vw, 56px) + 34px); }
.seam-foot + footer { padding-top: 70px; }
@media (max-width: 720px) {
  .glass { padding: 11px 14px; min-height: 54px; border-radius: 18px; }
  .glass.wide { padding: 12px 16px; min-height: 62px; gap: 10px; }
  .g-v { font-size: 18px; } .g-v.sm { font-size: 13px; }
  .glass.g3 { display: none; }
  .seam-foot .glass.g1 { display: none; } .seam-foot .glass.g3 { display: grid; margin-left: -10px; }
}

/* ---------- availability ---------- */
.avail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 32px); align-items: stretch; }
.avail-card { padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 18px; align-content: start; }
.avail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px; font: 600 14.5px/1 var(--font); background: #eef1f5; }
.status-pill i { width: 9px; height: 9px; border-radius: 50%; background: #9aa3ae; }
.status-pill.open { background: #e3f6ea; color: #14532d; } .status-pill.open i { background: #22a35a; box-shadow: 0 0 0 4px rgba(34,163,90,.18); }
.status-pill.busy { background: #fde7ec; color: #8a1c33; } .status-pill.busy i { background: var(--coral); box-shadow: 0 0 0 4px rgba(226,84,109,.18); }
.avail-next { font: 500 15px/1.3 var(--font); color: var(--grey); }
.windows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.windows li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--black); }
.windows li:last-child { border-bottom: 1px solid var(--black); }
.windows b { font: 700 clamp(1.3rem, 2.4vw, 1.7rem)/1.1 var(--font); font-variant-numeric: tabular-nums; }
.windows span { color: var(--grey); }
.avail-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.week { padding: clamp(16px, 2.5vw, 24px); }
.week-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; height: 100%; }
.day { display: grid; gap: 8px; align-content: start; padding: 12px 10px; border-radius: 16px; background: #f7f3f6; }
.day.today { background: #fde7f0; box-shadow: inset 0 0 0 1.5px var(--coral); }
.dname { font: 700 14px/1.2 var(--font); }
.slot { display: block; padding: 10px 8px; border-radius: 12px; background: var(--white); border: 1px solid var(--black); font: 500 13px/1.25 var(--font); text-align: center; }
.slot.gone { opacity: .35; text-decoration: line-through; }
.slot.now { background: #e3f6ea; border-color: #22a35a; }
@media (max-width: 860px) {
  .avail-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .week-days { grid-template-columns: minmax(0, 1fr); }
  .day { grid-template-columns: 4.5rem 1fr 1fr; align-items: center; }
}

/* official-portfolio ask */
.portfolio-ask { padding-bottom: 0; }
.ask-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ask-row .pill { font-weight: 600; }
.pill.discord { display: inline-flex; align-items: center; gap: 10px; }
.pill.discord .copy-btn { margin-left: 4px; background: var(--white); }
/* week slots stay on one line */
.slot { white-space: nowrap; padding: 9px 4px; font-size: 12.5px; }

/* ---------- first screen: the hero fills the window so the glass row and the top of the black card show at the bottom ----------
   header 68px + the pink gap above the black card + a 16px sliver of the card itself */
:root { --gap-above-card: calc(clamp(28px, 5vw, 56px) + 34px); }
@media (min-width: 761px) {
  .hero2 { min-height: calc(100svh - 68px - var(--gap-above-card) - 16px); display: flex; align-items: center; }
  .hero2 > .wrap { width: 100%; padding-block: 48px calc(48px + 30px); }
}
.seam + .statement { padding-top: var(--gap-above-card); }

/* a small red apple beside the name */
.logo-name { display: inline-flex; align-items: center; gap: 6px; }
.logo .apple { width: 22px; height: 22px; flex: none; transform: translateY(-1px); }
@media (max-width: 420px) { .logo .apple { width: 18px; height: 18px; } }
.logo .apple { width: 28px; height: 28px; transform: translateY(-2px); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.logo:hover .apple { transform: translateY(-3px) rotate(-12deg) scale(1.12); }
@media (prefers-reduced-motion: no-preference) {
  .logo .apple { animation: wiggle 4s ease-in-out infinite; transform-origin: 50% 80%; }
  @keyframes wiggle { 0%, 86%, 100% { transform: translateY(-2px) rotate(0); } 90% { transform: translateY(-3px) rotate(-10deg); } 94% { transform: translateY(-3px) rotate(8deg); } }
}

/* hero: the tagline and "See the work" as liquid glass on the navy */
.hero2 .tag, .hero2 .btn.light { position: relative; color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.08) 100%);
  backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(255,255,255,.12), 0 10px 30px rgba(0, 6, 20, .35); }
.hero2 .tag::after, .hero2 .btn.light::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 72%, rgba(255,255,255,.12) 100%); }
.hero2 .tag { justify-self: start; padding: 16px 22px; border-radius: 22px; max-width: 30ch; }
.hero2 .btn.light { border-radius: 999px; padding: 15px 26px; }
.hero2 .btn.light:hover { background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,.14)); color: #fff; }
@media (max-width: 760px) { .hero2 .tag { justify-self: center; } }

/* 3D hero: reserve its space from the first paint, fade the canvas in, CSS phone only if 3D fails */
.hero-3d { display: block; }
.hero-phone { display: none; }
.no-3d .hero-3d { display: none; }
.no-3d .hero-phone { display: block; }
.hero-3d canvas { opacity: 0; transition: opacity .45s ease; }
.hero-3d.ready canvas { opacity: 1; }

/* liquid glass, flat: an even frosted tint with no sheen gradient (the navy background stays as it was) */
.hero2 .tag, .hero2 .btn.light { background: rgba(255,255,255,.12); }
.hero2 .tag::after, .hero2 .btn.light::after { content: none; }
.hero2 .btn.light:hover { background: rgba(255,255,255,.2); }
.glass { background: rgba(255,255,255,.55); }
.glass::after { content: none; }
a.glass:hover { background: rgba(255,255,255,.7); }

/* "…" then a squiggly line that runs off the right edge of the page */
.end-line { position: relative; white-space: nowrap; }
.squiggle { position: absolute; left: calc(100% + .2em); top: 50%; width: 100vw; height: .34em; transform: translateY(-20%);
  color: var(--pink); overflow: visible; pointer-events: none; }
.hero2, .hero2 > .wrap, .hero2 .hero-copy { overflow-x: clip; }
.hero2 { overflow: hidden; }
.hero2 .hero-copy { overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .squiggle path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.2s .4s ease-out forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* the Duo about 30% larger: a wider stage (470 -> 540px) and a closer camera */
@media (min-width: 761px) { .hero2 .wrap { grid-template-columns: minmax(0, 540px) minmax(0, 1fr); } }
.hero-3d { max-width: 540px; }
@media (max-width: 760px) { .hero-3d { max-width: 420px; } }
/* rebalance after the bigger Duo: headline sized to its narrower column, the 3D box a touch shorter */
.hero2 h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.hero-3d { aspect-ratio: 4 / 3; }
.hero2 .hero-copy { min-width: 0; }

/* "Based at MIT" band: the desk photo softly blurred (about 30%), scaled a touch so the blur doesn't fade the edges */
.band.about > img { filter: blur(7px); transform: scale(1.06); }
