/* Six Day Studio
   Layout: a quiet paper page that lets the client screenshots (mostly dark, loud brands) do the talking.
   One accent, used on the sixth bar of the mark and on the things you can click. */

@font-face { font-family: "Funnel Display"; src: url("fonts/funnel-display-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Funnel Display"; src: url("fonts/funnel-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #F3F3EF;
  --paper-2: #E8E8E2;
  --card: #FBFBF8;
  --ink: #121316;
  --ink-2: #55575F;
  --line: #D5D5CD;
  --accent: #2B37F2;
  --accent-ink: #FFFFFF;
  --accent-soft: #E1E3FD;
  --err: #B3261E;
  --shade: rgba(18, 19, 22, .55);

  --display: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --step-4: clamp(2.6rem, 1.4rem + 5.6vw, 6rem);

  --r: 10px;
  --maxw: 1240px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap {
  max-width: var(--maxw); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.25rem; border-radius: 999px;
  font: 600 var(--step-0)/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: .9375rem; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.3125rem/1 var(--display); letter-spacing: -.02em; }
.mark { width: 28px; height: 21px; fill: var(--ink); flex: none; }
.wm { display: inline-grid; line-height: .9; }
.wm-b { display: flex; justify-content: space-between; margin-top: .32em; font: 500 .5em/1 var(--mono); letter-spacing: 0; color: var(--ink-2); }
.wm-b i { font-style: normal; }
.mark .sixth { fill: var(--accent); }
.head-nav { display: none; gap: 28px; margin-left: auto; }
.head-nav a { text-decoration: none; font-size: .9375rem; color: var(--ink-2); }
.head-nav a:hover { color: var(--ink); }
.head-row > .btn { margin-left: auto; }
@media (min-width: 860px) { .head-nav { display: flex; } .head-row > .btn { margin-left: 8px; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 120px) clamp(56px, 8vw, 120px); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy { display: grid; justify-items: start; min-width: 0; }
.hero-title { margin: 0; font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem); letter-spacing: -.045em; line-height: .95; max-width: 11ch; }
.hero-title .em { color: var(--accent); }
.lede { margin-top: 28px; font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* three live-site screenshots, overlapped */
.hero-stack { position: relative; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 560 / 430; }
.hero-stack .shot { position: absolute; width: 78%; box-shadow: 0 28px 56px -30px var(--shade); }
.hero-stack .shot:nth-child(1) { top: 0; left: 0; }
.hero-stack .shot:nth-child(2) { top: 22%; right: 0; }
.hero-stack .shot:nth-child(3) { bottom: 0; left: 9%; }
.hero-stack .shot:hover { z-index: 3; }
.hero-stack .chrome { height: 24px; }
.hero-stack .chrome i { width: 6px; height: 6px; }
.hero-stack .chrome .url { font-size: .6875rem; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .hero-stack { justify-self: end; }
}

/* ---------- section heads ---------- */
section { scroll-margin-top: 72px; }
.work, .tools, .how, .pricing, .faq { padding-block: clamp(56px, 8vw, 112px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 640px; }
.sec-head h2 { font-size: var(--step-3); }
.sec-head p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }

/* ---------- work ---------- */
.work-grid { display: grid; gap: clamp(36px, 4vw, 56px) 32px; }
@media (min-width: 760px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.proj { display: grid; gap: 16px; min-width: 0; align-content: start; }
.shot {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--paper-2); cursor: pointer; text-align: left; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.shot:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px var(--shade); }
.chrome { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--card); }
.chrome i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; }
.chrome .url { margin-left: 8px; font: 400 .75rem/1 var(--mono); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot img { width: 100%; height: auto; aspect-ratio: 1200 / 573; object-fit: cover; object-position: top left; background: var(--paper-2); }
.proj-meta { display: grid; gap: 8px; min-width: 0; }
.proj h3 { font-size: var(--step-2); }
.proj p.sum { color: var(--ink-2); max-width: 52ch; }
.tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font: 400 .8125rem/1 var(--body); padding: 7px 10px; border-radius: 6px; background: var(--paper-2); color: var(--ink); }
.proj-links { display: flex; gap: 20px; margin-top: 6px; flex-wrap: wrap; }
.tlink {
  font: 600 .9375rem/1.2 var(--body); color: var(--ink); background: none; border: 0; padding: 4px 0; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--line);
}
.tlink:hover { text-decoration-color: var(--accent); color: var(--accent); }

/* ---------- tools ---------- */
.tools { background: var(--card); border-block: 1px solid var(--line); }
.tool-cols { display: grid; gap: 40px; }
@media (min-width: 860px) { .tool-cols { grid-template-columns: 1fr 1fr; gap: 56px; } }
.tool-col { display: grid; gap: 10px; align-content: start; min-width: 0; }
.tool-col h3 { font-size: var(--step-2); }
.tool-list, .hosting ul { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.tool-list li { display: grid; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tool-list strong { font-weight: 600; }
.tool-list span { color: var(--ink-2); }
.tool-proof { display: grid; gap: 24px; margin-top: clamp(40px, 5vw, 64px); align-items: center; }
.tool-proof-copy { display: grid; gap: 12px; justify-items: start; }
.tool-proof-copy h3 { font-size: var(--step-2); }
.tool-proof-copy p { color: var(--ink-2); max-width: 48ch; }
.tool-proof-copy .btn { margin-top: 6px; }
@media (min-width: 860px) { .tool-proof { grid-template-columns: 7fr 5fr; gap: 48px; } }

/* ---------- pricing ---------- */
.pricing { border-top: 1px solid var(--line); }
.packages { display: grid; gap: 16px; }
@media (min-width: 900px) { .packages { grid-template-columns: repeat(3, 1fr); } }
.pkg { display: grid; gap: 16px; align-content: start; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.pkg.featured { border: 1.5px solid var(--ink); }
.pkg h3 { font-size: var(--step-2); }
.pkg .price { min-height: 1.6em; font: 700 var(--step-3)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pkg .price small { font: 500 var(--step-1)/1 var(--body); letter-spacing: 0; color: var(--ink-2); }
.pkg .for { color: var(--ink-2); }
.pkg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.pkg li { padding-left: 22px; position: relative; font-size: .9375rem; }
.pkg li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pkg .btn { margin-top: 8px; width: 100%; }

.hosting { margin-top: 40px; display: grid; gap: 16px; }
.hosting h3 { font-size: var(--step-1); }
.hosting ul { margin-top: 0; }
.hosting li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 2px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.hosting .h-price { grid-row: span 2; font: 700 var(--step-2)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hosting .h-price small { font: 400 .9375rem/1 var(--body); letter-spacing: 0; color: var(--ink-2); }
.hosting strong { font-weight: 600; }
.hosting .h-note { color: var(--ink-2); }
@media (min-width: 760px) { .hosting li { grid-template-columns: 9rem 16rem 1fr; } .hosting .h-price { grid-row: auto; } }

/* ---------- pillars ---------- */
.pillars { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.pillars > div { display: grid; gap: 10px; padding: 22px 0 26px; border-bottom: 1px solid var(--line); align-content: start; }
.pillars h3 { font-size: var(--step-3); letter-spacing: -.04em; }
.pillars > div:nth-child(3) h3 { color: var(--accent); }
.pillars p { color: var(--ink-2); max-width: 40ch; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillars > div { border-bottom: 0; border-right: 1px solid var(--line); padding: 26px 28px 8px; }
  .pillars > div:first-child { padding-left: 0; }
  .pillars > div:last-child { border-right: 0; }
}

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 8px 64px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 5fr 7fr; } .faq .sec-head { position: sticky; top: 96px; align-self: start; } }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 600 var(--step-1)/1.35 var(--body); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem/1 var(--body); color: var(--ink-2); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 60ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 8vw, 104px); }
.cta-band-row { display: grid; gap: 24px; align-items: end; }
.cta-band h2 { font-size: var(--step-3); }
.cta-band p { margin-top: 12px; font-size: var(--step-1); color: color-mix(in srgb, var(--paper) 70%, var(--ink)); max-width: 40ch; }
.btn-lg { min-height: 56px; padding: 0 1.75rem; font-size: 1.0625rem; justify-self: start; }
@media (min-width: 860px) { .cta-band-row { grid-template-columns: 1fr auto; } }

/* ---------- start page ---------- */
.start { padding-block: clamp(32px, 6vw, 88px) clamp(56px, 8vw, 112px); }
.start-grid { display: grid; gap: 32px; grid-template-areas: "head" "form" "aside"; }
.start-head { grid-area: head; } .start-aside { grid-area: aside; } .start .brief { grid-area: form; }
@media (min-width: 960px) {
  .start-grid { grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; grid-template-areas: "head form" "aside form"; gap: 32px 64px; align-items: start; }
}
.start-copy { display: grid; gap: 18px; align-content: start; }
.start-copy h1 { font-size: var(--step-3); }
.start-lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.next { list-style: none; counter-reset: n; margin: 10px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.next li { counter-increment: n; display: grid; grid-template-columns: 2rem 1fr; gap: 2px 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.next li::before { content: counter(n); grid-row: span 2; font: 700 1rem/1.5 var(--display); color: var(--accent); }
.next strong { font-weight: 600; }
.next span { color: var(--ink-2); font-size: .9375rem; }
.direct { margin: 8px 0 0; display: grid; gap: 10px; }
.direct div { display: grid; grid-template-columns: 4.5rem 1fr; align-items: baseline; }
.direct dt { font-size: .9375rem; color: var(--ink-2); }
.direct dd { margin: 0; font-weight: 600; font-size: var(--step-1); user-select: all; overflow-wrap: anywhere; }
.direct a { text-decoration: none; }
.head-back { display: none; }
@media (max-width: 859px) { .head-back { display: inline-flex; } }

.brief { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 36px); min-width: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 24px; }
.steps span { height: 4px; border-radius: 4px; background: var(--line); }
.steps span.on { background: var(--accent); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { font: 700 var(--step-2)/1.1 var(--display); letter-spacing: -.025em; padding: 0; margin-bottom: 20px; }
.choices { display: grid; gap: 10px; }
@media (min-width: 560px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; cursor: pointer; display: block; }
.choice input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: grid; gap: 4px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); height: 100%; transition: border-color .15s ease; }
.choice strong { font-weight: 600; }
.choice small { color: var(--ink-2); font-size: .875rem; }
.choice:hover > span { border-color: var(--ink-2); }
.choice input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.choice input:focus-visible + span, .pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.q { font-weight: 600; margin: 4px 0 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pill { cursor: pointer; }
.pill > span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .9375rem; }
.pill:hover > span { border-color: var(--ink-2); }
.pill input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.fields { display: grid; gap: 14px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .field.wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: .875rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.hp { position: absolute; left: -9999px; }
.err { color: var(--err); font-size: .9375rem; margin-top: 12px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.fine { font-size: .8125rem; color: var(--ink-2); margin-top: 14px; }
.done { display: grid; gap: 12px; justify-items: start; padding-block: 8px; }
.done h2 { font-size: var(--step-3); }
.done p { color: var(--ink-2); max-width: 46ch; }
.notice { margin-top: 18px; padding: 14px 16px; border-radius: 8px; background: var(--accent-soft); font-size: .9375rem; }
.notice code { font: 400 .875rem var(--mono); }
.brief.sending [data-submit] { opacity: .6; pointer-events: none; }

/* ---------- footer ---------- */
.site-foot { padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot-row { display: grid; gap: 10px; }
.foot-line, .foot-contact, .foot-small { color: var(--ink-2); font-size: .9375rem; }
.foot-small { font-size: .8125rem; }
@media (min-width: 860px) { .foot-row { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; } .foot-small { grid-column: 1 / -1; } }

/* ---------- sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--paper) 94%, transparent); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.show { transform: none; }
@media (min-width: 860px) { .mobile-cta { display: none; } }
@media (max-width: 859px) { .site-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- case dialog ---------- */
.case {
  width: min(980px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 14px;
  background: var(--paper); color: var(--ink); overflow: auto;
}
.case::backdrop { background: var(--shade); backdrop-filter: blur(3px); }
.case-inner { position: relative; display: grid; }
.case-close {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 400 1.5rem/1 var(--body); cursor: pointer;
}
.case-shot { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.case-shot img { width: 100%; height: auto; aspect-ratio: 1200 / 573; object-fit: cover; object-position: top left; }
.case-body { padding: clamp(20px, 3vw, 36px); display: grid; gap: 10px; }
.case-body h3 { font-size: var(--step-3); }
.case-where { color: var(--ink-2); }
.case-body h4 { font: 600 .9375rem/1.3 var(--body); letter-spacing: 0; margin-top: 14px; }
.case-body p { max-width: 62ch; }
.case-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
