/* Dad Weight — site styles
   Layout language modeled on axiomsy.com: serif display + sans body + mono labels,
   floating pill header, full-screen overlay menu, numbered rows, ticker, accent contact block. */

:root {
  /* Brand colors sampled from the official logo files */
  --paper: #f1eee5;
  --paper-2: #e7e2d4;
  --ink: #0c1b1e;
  --ink-2: #16292d;
  --accent: #b55833;
  --accent-deep: #964322;
  --line: rgba(12, 27, 30, .16);
  --line-strong: rgba(12, 27, 30, .9);
  --muted: rgba(12, 27, 30, .68);
  --line-dk: rgba(241, 238, 229, .16);
  --muted-dk: rgba(241, 238, 229, .68);
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- Type ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; line-height: .92; }
h1 em, h2 em, .accent-i { font-style: italic; color: var(--accent); }
.eyebrow {
  font: 500 11.5px/1.5 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.dark .eyebrow { color: var(--accent); }
.mono { font-family: var(--mono); }

/* ---------- Progress + header ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; z-index: 60; pointer-events: none; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px 8px 0; border-radius: 999px;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.brand img { width: 30px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand-name { font: 700 17px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.brand-sub { font: 400 8.5px/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; }
.site-header.scrolled .brand { background: var(--paper); box-shadow: 0 6px 24px rgba(12, 27, 30, .12); padding-left: 14px; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 18px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; box-shadow: 0 6px 24px rgba(12, 27, 30, .1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.menu-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(12, 27, 30, .16); }
.menu-icon { position: relative; width: 22px; height: 12px; }
.menu-icon::before, .menu-icon::after {
  content: ''; position: absolute; right: 0; height: 2px; background: var(--accent); border-radius: 2px;
  transition: transform .4s var(--ease), width .3s var(--ease), top .4s var(--ease);
}
.menu-icon::before { top: 1px; width: 22px; }
.menu-icon::after { top: 9px; width: 14px; }
.menu-btn[aria-expanded="true"] .menu-icon::before { top: 5px; width: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { top: 5px; width: 20px; transform: rotate(-45deg); }
.menu-btn .lbl-close { display: none; }
.menu-btn[aria-expanded="true"] .lbl-open { display: none; }
.menu-btn[aria-expanded="true"] .lbl-close { display: inline; }

/* ---------- Overlay menu ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 40;
  display: grid; grid-template-columns: 58fr 42fr;
  background: var(--paper);
  visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease), opacity .3s ease, visibility 0s linear .6s;
  overflow-y: auto;
}
.menu-overlay.open { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path .6s var(--ease), opacity .2s ease, visibility 0s; }
.menu-left { background: var(--paper-2); padding: calc(var(--header-h) + 18px) var(--gutter) 40px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.menu-right { padding: calc(var(--header-h) + 18px) var(--gutter) 40px; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  font: 400 clamp(46px, 7.4vw, 92px)/.98 var(--serif); letter-spacing: -.03em;
  transition: color .25s ease, transform .35s var(--ease);
  width: fit-content;
}
.menu-links a:hover { color: var(--accent); transform: translateX(8px); }
.menu-links a[aria-current="page"] { color: rgba(12, 27, 30, .38); }
.menu-group h3 { font: 500 11.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 12px; }
.menu-group a { display: block; padding: 5px 0; font-size: 18px; transition: color .2s ease, padding-left .3s var(--ease); width: fit-content; }
.menu-group a:hover { color: var(--accent-deep); padding-left: 6px; }
.menu-group .soon { font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
.menu-left .mail { font: 400 13px/1 var(--mono); border-bottom: 1px solid var(--ink); padding-bottom: 4px; width: fit-content; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 7px 7px 7px 26px; min-height: 54px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font: 500 15px/1 var(--sans);
  transition: transform .35s var(--ease), background .25s ease;
  width: fit-content;
}
.btn:hover { transform: translateY(-2px); background: var(--ink-2); }
.btn .circ {
  width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--ink);
  display: grid; place-items: center; transition: transform .35s var(--ease);
}
.btn:hover .circ { transform: rotate(45deg); }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.light .circ { background: var(--ink); color: var(--paper); }
.btn.light:hover { background: #fff; }
.ar { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ulink { display: inline-block; font-weight: 500; border-bottom: 2px solid currentColor; padding-bottom: 4px; transition: color .2s ease, border-color .2s ease; }
.ulink:hover { color: var(--accent-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  padding: calc(var(--header-h) + 36px) var(--gutter) 56px;
  display: flex; flex-direction: column; overflow: hidden;
}
.hero .eyebrow { position: relative; z-index: 2; margin-top: 8px; width: fit-content; }
.hero h1 {
  position: relative; z-index: 2;
  font-size: clamp(64px, 12.2vw, 200px); letter-spacing: -.04em; line-height: .84;
  margin-top: clamp(14px, 2.4vw, 34px);
}
.hero h1 .ln { display: block; overflow: hidden; padding: .08em .06em .2em; margin: -.08em -.06em -.2em; }
.hero h1 { pointer-events: none; }
.hero h1 .ln > span { display: block; width: fit-content; pointer-events: auto; }
.hero h1 em { padding-right: .04em; }

/* Cinematic atmosphere: soft vignette + fine film grain */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 70% 45%, transparent 55%, rgba(12, 27, 30, .035) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Animated logo. The d, w and cross are real vector strokes drawn by app.js.
   The camera pushes in slowly as it draws. Click to replay. */
.fig {
  position: absolute; z-index: 1; right: var(--gutter); top: calc(var(--header-h) + 28px);
  width: min(46vw, 700px, max(300px, calc((100svh - 460px) * 1.17)));
  aspect-ratio: 492 / 420; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.fig-stage {
  position: relative; width: 100%; height: 100%; transform-origin: 50% 55%; will-change: transform;
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) + var(--sy, 0px)), 0) scale(var(--zs, 1));
}
.fig svg { position: relative; display: block; width: 100%; height: 100%; overflow: visible; }
.fig .dw { fill: none; stroke: var(--accent); stroke-width: 44.5; stroke-linecap: butt; stroke-dasharray: 100 100; stroke-dashoffset: 0; }
.fig .bar { stroke-width: 44; }
.js .fig:not(.static) .dw { stroke-dashoffset: 100; visibility: hidden; }
.js .fig:not(.static) { --zs: 1.13; }

/* Hero text: line-mask reveal with a soft focus pull */
.js .hero h1 .ln > span { transform: translateY(108%); filter: blur(10px); animation: lineUp 1.5s cubic-bezier(.16, .84, .24, 1) var(--rd, 0s) both; }
@keyframes lineUp { to { transform: none; filter: blur(0); } }
.js .rise { opacity: 0; transform: translateY(26px); animation: rise 1.1s var(--ease) var(--rd, 0s) both; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .hero .eyebrow.rise { letter-spacing: .3em; animation: eyebrowIn 1.6s var(--ease) var(--rd, 0s) both; }
@keyframes eyebrowIn { to { opacity: 1; transform: none; letter-spacing: .09em; } }

.hero-foot {
  position: relative; z-index: 2; margin-top: auto; padding-top: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; pointer-events: none;
}
.hero-foot > * { pointer-events: auto; }
.hero-tag { font: 400 clamp(24px, 2.3vw, 34px)/1.12 var(--serif); letter-spacing: -.01em; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; max-width: 520px; }
.hero-copy p { color: var(--muted); font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.scroll-cue { position: absolute; z-index: 2; left: var(--gutter); bottom: 18px; font: 400 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) var(--gutter); position: relative; }
.section.paper2 { background: var(--paper-2); }
.section.dark { background: var(--ink); color: var(--paper); }
.section.accent { background: var(--accent); color: var(--ink); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head h2 { font-size: clamp(44px, 6.6vw, 104px); margin-top: 18px; }
.sec-head > p { color: var(--muted); font-size: 19px; max-width: 480px; }
.dark .sec-head > p, .dark .muted { color: var(--muted-dk); }
.two { display: grid; grid-template-columns: 5fr 6fr; gap: var(--gutter); }
.two h2 { font-size: clamp(44px, 6vw, 96px); margin-top: 18px; }
.prose { display: flex; flex-direction: column; gap: 22px; font-size: 19px; color: var(--muted); max-width: 640px; }
.prose strong { color: var(--ink); font-weight: 500; }
.built { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; font-size: 16px; }

/* Numbered rows */
.rows { border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 64px minmax(180px, 1.1fr) 1.3fr 56px; gap: clamp(14px, 3vw, 40px); align-items: center;
  padding: clamp(22px, 2.6vw, 34px) 0; border-top: 1px solid var(--line);
  position: relative; transition: padding .4s var(--ease);
}
.row .n { font: 500 11.5px/1 var(--mono); color: var(--accent-deep); letter-spacing: .08em; }
.row h3 { font: 400 clamp(34px, 4vw, 60px)/1 var(--serif); letter-spacing: -.025em; transition: color .25s ease, transform .4s var(--ease); }
.row p { color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 460px; }
.row .go { width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: background .3s ease, color .3s ease, transform .4s var(--ease); }
a.row:hover h3 { color: var(--accent-deep); transform: translateX(8px); }
a.row:hover .go { background: var(--ink); color: var(--paper); transform: rotate(45deg); }
.row .tag { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 999px; width: fit-content; justify-self: end; white-space: nowrap; }
.dark .rows, .dark .row { border-color: var(--line-dk); }
.dark .row .go { border-color: rgba(241, 238, 229, .6); }
.dark a.row:hover .go { background: var(--paper); color: var(--ink); }
.dark .row p { color: var(--muted-dk); }
.dark .row .n { color: var(--accent); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dk); }
.pillar { padding: clamp(26px, 3vw, 44px) clamp(18px, 2.4vw, 36px) clamp(30px, 4vw, 56px); border-left: 1px solid var(--line-dk); display: flex; flex-direction: column; gap: 22px; min-height: 340px; }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar .n { font: 500 11.5px/1 var(--mono); letter-spacing: .09em; color: var(--accent); }
.pillar h3 { font: 400 clamp(44px, 4.8vw, 76px)/.95 var(--serif); letter-spacing: -.03em; }
.pillar h3 em { font-style: italic; color: var(--accent); }
.pillar p { color: var(--muted-dk); max-width: 340px; margin-top: 0; }

/* Callout / accent block */
.accent-block { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gutter); align-items: end; }
.accent-block h2 { font-size: clamp(56px, 9.4vw, 160px); line-height: .86; margin-top: 20px; }
.accent-block h2 em { color: var(--paper); }
.accent .eyebrow { color: var(--ink); }
.accent-block .side { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; padding-bottom: 10px; }
.accent-block .side p { font: 400 clamp(26px, 2.6vw, 38px)/1.1 var(--serif); letter-spacing: -.01em; }
.copy-mail {
  display: inline-flex; align-items: center; gap: 14px; cursor: pointer;
  font: 400 14px/1 var(--mono); padding: 14px 18px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  transition: background .25s ease, color .25s ease;
}
.copy-mail:hover { background: var(--ink); color: var(--accent); }
.copy-mail b { font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.accent-block .side p.fine, .fine { font: 400 12px/1.5 var(--mono); letter-spacing: .06em; opacity: .75; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 8vw, 110px)) var(--gutter) clamp(50px, 7vw, 100px); }
.page-hero h1 { font-size: clamp(64px, 11.5vw, 190px); letter-spacing: -.04em; line-height: .86; margin-top: 22px; }
.page-hero .lede { margin-top: clamp(28px, 4vw, 56px); max-width: 620px; font-size: 21px; line-height: 1.5; color: var(--muted); }

/* Hosts */
.hosts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.host { border-top: 1px solid var(--line); padding-top: 24px; display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.avatar { width: clamp(96px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.avatar span { font: 400 clamp(34px, 4vw, 54px)/1 var(--serif); letter-spacing: -.02em; }
.avatar span::first-letter { color: var(--accent); }
.host h3 { font: 400 clamp(34px, 3.4vw, 52px)/1 var(--serif); letter-spacing: -.02em; margin: 6px 0 12px; }
.host p:not(.eyebrow) { color: var(--muted); font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 100px) var(--gutter) 34px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--gutter); }
.foot-brand .brand { padding: 0; }
.foot-brand p { margin-top: 22px; color: var(--muted-dk); max-width: 320px; font-size: 16px; }
.site-footer h4 { margin: 0 0 16px; font: 500 11.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.site-footer li { list-style: none; }
.site-footer ul { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: var(--paper); opacity: .88; transition: opacity .2s ease, color .2s ease; }
.site-footer ul a:hover { opacity: 1; color: var(--accent); }
.foot-bottom { margin-top: clamp(48px, 7vw, 100px); padding-top: 22px; border-top: 1px solid var(--line-dk); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dk); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .fig:not(.static) .dw { stroke-dashoffset: 0; }
  .fig-stage { transform: none; }
  .js .rise, .js .hero h1 .ln > span { animation: none; opacity: 1; transform: none; filter: none; letter-spacing: inherit; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .fig { position: relative; top: auto; right: auto; width: min(78vw, 480px) !important; margin: clamp(28px, 6vw, 52px) auto 0; align-self: center; }
  .hero { padding-bottom: 48px; }
  .hero h1 { font-size: clamp(60px, 19vw, 150px); }
  .hero-foot { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; }
  .sec-head, .two, .accent-block { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--line-dk); padding-left: 0; min-height: 0; }
  .pillar:first-child { border-top: 0; }
  .pillar p { margin-top: 4px; }
  .row { grid-template-columns: 54px 1fr auto; gap: 8px 14px; }
  .row .n { white-space: nowrap; }
  .row p { grid-column: 2 / -1; grid-row: 2; max-width: none; }
  .row .go, .row .tag { grid-column: 3; grid-row: 1; }
  .hosts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .menu-overlay { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; }
  .menu-left, .menu-right { justify-content: flex-start; }
  .menu-left { padding-bottom: 26px; gap: 22px; }
  .menu-right { padding-top: 30px; padding-bottom: 36px; gap: 22px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .fig { width: min(66vw, 300px) !important; margin-top: 24px; }
  .hero-foot { padding-top: 30px; gap: 22px; }
  .hero-tag { font-size: 24px; }
  .hero-copy { gap: 22px; }
  .hero-copy p { font-size: 17px; }
  .menu-links a { font-size: 44px; }
  .menu-group a { padding: 4px 0; font-size: 17px; }
  .brand-sub { display: none; }
  .menu-btn { padding: 0 16px; gap: 12px; }
  .built { grid-template-columns: 1fr; gap: 6px; }
}
