:root {
  color-scheme: dark;
  --bg: #0b0a09;
  --surface: #141416;
  --surface-hi: #1b1b1e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f1ec;
  --text-2: rgba(244, 241, 236, 0.64);
  --text-3: rgba(244, 241, 236, 0.42);
  --accent: #d9bd94;
  --accent-ink: #14100b;
  --chrome: rgba(10, 10, 11, 0.62);

  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 5rem; --s7: 8rem;
  --r-sm: 0.75rem; --r-md: 1.25rem; --r-lg: 1.75rem; --r-pill: 999px;
  --press: 100ms ease-out;
  --settle: 320ms cubic-bezier(0.2, 0.8, 0.2, 1); /* critically damped feel, no overshoot */
  --max: 72rem;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font: 100%/1.55 system-ui, -apple-system, "SF Pro Text", "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
ul, ol { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }

/* Nav — translucent chrome with a scroll-edge fade instead of a hard divider */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s2) max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--chrome);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
}
.nav::after {
  content: ""; position: absolute; inset: 100% 0 auto; height: 1.5rem; pointer-events: none;
  background: linear-gradient(var(--chrome), transparent);
}
.wordmark { font-family: var(--serif); font-size: 1.875rem; font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.wordmark span { color: var(--accent); }
.nav nav { display: flex; align-items: center; gap: var(--s3); font-size: 0.9375rem; }
.nav nav a:not(.pill) { color: var(--text-2); transition: color var(--settle); min-height: 44px; display: inline-flex; align-items: center; }
.nav nav a:not(.pill):hover { color: var(--text); }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.125rem;
  border-radius: var(--r-pill); background: var(--text); color: var(--bg); font-weight: 600;
  transition: transform var(--press);
}
.pill:active { transform: scale(0.97); }

/* Shared */
main > section { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s1);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3);
}
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.15); }
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--text-2); max-width: 36rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.5rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  transition: transform var(--press), background var(--settle);
}
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #e6cba4; }
.btn.ghost { background: var(--surface-hi); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: #232327; }
.btn.large { min-height: 60px; padding: 0 2rem; font-size: 1.0625rem; }

/* Hero */
.hero { position: relative; padding: var(--s7) 0 var(--s6); }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -10% -20% auto auto; width: 42rem; height: 42rem;
  background: radial-gradient(closest-side, rgba(217, 189, 148, 0.12), transparent);
  pointer-events: none;
}
.hero h1 {
  margin: var(--s3) 0;
  font-size: clamp(2.75rem, 8vw, 6.25rem);
  line-height: 0.98; letter-spacing: -0.045em; font-weight: 700;
  max-width: 14ch; text-wrap: balance;
}
.hero h1 em { letter-spacing: -0.02em; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s4); }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3);
  margin-top: var(--s6); padding-top: var(--s4);
  border-top: 1px solid var(--line);
}
.facts strong { display: block; font-size: 1.25rem; letter-spacing: -0.02em; }
.facts span { font-size: 0.9375rem; color: var(--text-3); }

/* Sections */
.section { padding: var(--s6) 0; }
.section-head { margin-bottom: var(--s5); }
.section-head h2, .contact h2 {
  margin-top: var(--s2);
  font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700;
  max-width: 20ch; text-wrap: balance;
}

/* Work */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
.card {
  position: relative; display: flex; gap: var(--s3); align-items: flex-start;
  padding: var(--s4); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--press), background var(--settle);
}
a.card:hover { background: var(--surface-hi); }
a.card:active { transform: scale(0.985); }
.card img { flex: none; width: 56px; height: 56px; border-radius: 22.5%; }
.card h3 { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; }
.card p { margin-top: 0.375rem; color: var(--text-2); font-size: 0.9875rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: var(--s2); }
.tags li { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.01em; color: var(--text-2); padding: 0.25rem 0.625rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.05); }
.arrow { position: absolute; top: var(--s3); right: var(--s3); color: var(--text-3); transition: color var(--settle), transform var(--settle); }
a.card:hover .arrow { color: var(--accent); transform: translate(2px, -2px); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.service { padding: var(--s5) var(--s4); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.service.featured { background: linear-gradient(160deg, rgba(217, 189, 148, 0.12), var(--surface) 55%); box-shadow: inset 0 0 0 1px rgba(217, 189, 148, 0.3); }
.num { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--accent); }
.service h3 { margin-top: var(--s2); font-size: clamp(1.625rem, 3vw, 2.125rem); letter-spacing: -0.03em; line-height: 1.1; }
.service > p:not(.num) { margin-top: var(--s2); color: var(--text-2); }
.service ul { margin-top: var(--s3); display: grid; gap: 0.625rem; }
.service li { display: flex; gap: 0.75rem; font-size: 0.9875rem; }
.service li::before { content: "—"; color: var(--accent); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-top: var(--s5); counter-reset: step; }
.process li { counter-increment: step; padding-top: var(--s2); border-top: 1px solid var(--line); }
.process li::before { content: "0" counter(step); display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text-3); }
.process strong { display: block; margin-top: var(--s1); font-size: 1.0625rem; letter-spacing: -0.01em; }
.process span { display: block; margin-top: 0.25rem; font-size: 0.9375rem; color: var(--text-2); }

/* Contact */
.contact { padding: var(--s7) 0; text-align: center; display: grid; justify-items: center; gap: var(--s3); }
.contact h2 { max-width: 16ch; margin-inline: auto; font-size: clamp(2.5rem, 6.5vw, 4.75rem); line-height: 1; letter-spacing: -0.045em; }
.contact .lede { margin-inline: auto; }

.footer {
  display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap;
  width: min(var(--max), 100% - 2rem); margin: 0 auto; padding: var(--s4) 0 calc(var(--s4) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--text-3);
}

/* Phone width */
@media (max-width: 720px) {
  .nav nav a:not(.pill) { display: none; }
  .hero { padding: var(--s6) 0 var(--s5); }
  .facts, .grid, .services { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .card { padding: var(--s3); gap: var(--s2); }
  .card img { width: 48px; height: 48px; }
  .service { padding: var(--s4) var(--s3); }
  .actions .btn { flex: 1 1 auto; }
}

/* Accessibility fallbacks */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .btn:active, .pill:active, a.card:active { transform: none; opacity: 0.8; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav::after { display: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(255, 255, 255, 0.4); --text-2: rgba(244, 241, 236, 0.85); --text-3: rgba(244, 241, 236, 0.7); }
  .nav { background: var(--bg); border-bottom: 1px solid var(--line); }
}

/* Editorial serif for the large emotional headings only */
.hero h1, .section-head h2, .contact h2, .service h3 {
  font-family: var(--serif); font-weight: 400;
}
.hero h1 { font-size: clamp(3.25rem, 9vw, 7.5rem); line-height: 0.95; letter-spacing: -0.025em; max-width: 13ch; }
.section-head h2, .contact h2 { letter-spacing: -0.02em; line-height: 1.02; }
.section-head h2 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
.contact h2 { font-size: clamp(3rem, 7.5vw, 5.5rem); }
.service h3 { font-size: clamp(2rem, 3.6vw, 2.625rem); letter-spacing: -0.015em; }
.eyebrow { letter-spacing: 0.14em; font-weight: 500; }

/* Founder product status */
.status { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.375rem; }
.card .status { margin-top: 0; }
.status.live { color: var(--accent); }
.status.live::before { content: "● "; font-size: 0.625rem; vertical-align: 0.1em; }
.card { min-width: 0; }
.card > div { min-width: 0; }

/* Track record */
.section-head .lede { margin-top: var(--s2); }
.record { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.record li { background: var(--bg); padding: var(--s4); }
.kind { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.record h3 { margin-top: var(--s1); font-size: 1.25rem; letter-spacing: -0.015em; }
.metric { margin-top: var(--s3); font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
.metric span { font-family: system-ui, -apple-system, sans-serif; font-size: 0.9375rem; letter-spacing: 0; color: var(--text-2); }
.note { margin-top: var(--s1); font-size: 0.9375rem; color: var(--text-2); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
.portrait { position: sticky; top: 6rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% center; }
.about-copy h2 { margin: var(--s2) 0 var(--s3); font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -0.02em; }
.about-copy .lede { max-width: none; }
blockquote { margin: var(--s4) 0; padding-left: var(--s3); border-left: 1px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.3; color: var(--text); }
.timeline { display: grid; margin-top: var(--s4); border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 8.5rem 1fr; column-gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.timeline span { grid-row: span 2; font-size: 0.875rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.timeline strong { font-size: 1.0625rem; letter-spacing: -0.01em; }
.timeline em { font-family: inherit; font-style: normal; color: var(--text-2); font-size: 0.9375rem; letter-spacing: 0; }
.creds { margin-top: var(--s3); font-size: 0.875rem; color: var(--text-3); }
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--s4); }
.socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.125rem; border-radius: var(--r-pill); background: var(--surface-hi); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9375rem; font-weight: 500; transition: transform var(--press), background var(--settle); }
.socials a:hover { background: #232120; }
.socials a:active { transform: scale(0.97); }
.footer nav { display: flex; gap: var(--s3); flex-wrap: wrap; }
.footer nav a:hover { color: var(--text); }

@media (max-width: 960px) {
  .services, .record { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: var(--s4); }
  .portrait { position: static; max-width: 28rem; }
}
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .services, .record { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; }
  .timeline span { grid-row: auto; }
}


/* Standalone services */
.service { display: flex; flex-direction: column; }
.ask { margin-top: var(--s2); font-size: 0.9375rem; color: var(--accent); }
.service h3 { margin-top: 0.25rem; }
.service ul { flex: 1; }
.service .btn { margin-top: var(--s4); align-self: flex-start; min-height: 44px; font-size: 0.9375rem; }
.bundle {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap;
  margin-top: var(--s2); padding: var(--s4); border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(217, 189, 148, 0.14), var(--surface) 60%);
  box-shadow: inset 0 0 0 1px rgba(217, 189, 148, 0.3);
}
.bundle h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.015em; line-height: 1.1; }
.bundle p { margin-top: 0.375rem; color: var(--text-2); max-width: 36rem; }

.contact .lede a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: var(--s5); align-items: center; padding: var(--s4); margin-block: var(--s5); border-radius: var(--r-lg); background: linear-gradient(120deg, rgba(217, 189, 148, 0.08), var(--surface) 55%); box-shadow: inset 0 0 0 1px var(--line); }
.founder img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% center; border-radius: var(--r-md); }
.founder-copy { max-width: 34rem; }
.founder h2 { margin-top: var(--s2); font-family: var(--serif); font-weight: 400; font-size: clamp(2.75rem, 5.5vw, 4.25rem); line-height: 1; letter-spacing: -0.02em; }
.founder-copy > p:not(.eyebrow) { margin-top: var(--s3); font-size: 1.125rem; color: var(--text-2); }
.handle { display: inline-flex; align-items: center; gap: 0.875rem; margin-top: var(--s4); padding: 0.625rem 1.25rem 0.625rem 0.625rem; min-height: 44px; border-radius: var(--r-pill); background: var(--surface-hi); box-shadow: inset 0 0 0 1px var(--line); transition: transform var(--press), background var(--settle); }
.handle:hover { background: #232120; }
.handle:active { transform: scale(0.98); }
.handle .x { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 1.125rem; }
.handle strong { display: block; font-size: 1rem; letter-spacing: -0.01em; }
.handle small { display: block; font-size: 0.8125rem; color: var(--text-3); }
.handle .arrow-in { margin-left: var(--s1); color: var(--accent); }
@media (max-width: 720px) {
  .founder { grid-template-columns: 1fr; gap: var(--s3); padding: var(--s3); }
  .founder img { max-width: 16rem; }
}
.contact-actions { justify-content: center; margin-top: 0; }

/* Hero: copy left, studio apps right */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: var(--s5); align-items: center; }
.hero .facts { grid-column: 1 / -1; }
.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 32rem; justify-self: end; }
.hero-art::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px solid rgba(217, 189, 148, 0.16); }
.hero-art::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; border: 1px dashed rgba(217, 189, 148, 0.12); }
.app { position: absolute; z-index: 1; display: grid; justify-items: center; gap: 0.625rem; transform: translate(-50%, -50%); }
.app img { width: clamp(4.5rem, 9vw, 7rem); height: auto; aspect-ratio: 1; border-radius: 22.5%; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.app em { font-family: inherit; font-style: normal; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--text-3); white-space: nowrap; }
.a1 { left: 50%; top: 14%; }
.a2 { left: 86%; top: 40%; }
.a3 { left: 72%; top: 84%; }
.a4 { left: 28%; top: 84%; }
.a5 { left: 14%; top: 40%; }
.app.a1 img { width: clamp(5.5rem, 11vw, 8.5rem); }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 22rem; margin-top: var(--s5); }
}
