/* Productize Your Life — official brand kit implementation. */

:root {
  color-scheme: light;
  --paper: var(--pyl-ivory);
  --sheet: #fffdf9;
  --ink: var(--pyl-obsidian);
  --pencil: #635d55;
  --rule: rgba(11, 11, 11, .15);
  --champagne: var(--pyl-champagne);
  --blush: var(--pyl-blush);
  --sage: var(--pyl-sage);
  --mocha: var(--pyl-mocha);
  --green: #315f49;
  --red: #91372f;
  --display: "Playfair Display", "GFS Didot", Didot, Georgia, serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --accent: "Cormorant Garamond", Georgia, serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: var(--pyl-radius);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 18px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden;
  background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--mocha); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
a:active { transform: translateY(1px); }
:focus-visible { outline: 3px solid var(--mocha); outline-offset: 4px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
  font-size: 13px; letter-spacing: .04em; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

.kicker {
  margin: 0 0 18px;
  color: var(--pencil); font: 600 11px/1.35 var(--body);
  letter-spacing: var(--pyl-tracking-caps); text-transform: uppercase;
}
.kicker i { color: var(--champagne); font-style: normal; margin-inline: .45em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(58px, 8.2vw, 124px); line-height: .84; letter-spacing: -.055em; }
h2 { margin-bottom: clamp(28px, 4vw, 52px); font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
h3 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.12; letter-spacing: -.02em; }
.lines, .sub { margin: 0; }
.lines > span, .sub > span, .tile p > span, .row > span { display: block; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 13px 24px;
  border: 1px solid var(--ink); border-radius: 14px;
  background: transparent; color: var(--ink);
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease), transform .08s var(--ease);
}
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover, .btn.primary:focus-visible { background: var(--mocha); border-color: var(--mocha); color: var(--paper); }
.btn:active { transform: scale(.98); }
.btn[disabled] { cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: .6em; min-height: 48px; color: var(--ink); font-weight: 600; text-decoration: underline; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 239, .94); border-bottom: 1px solid var(--rule);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.nav-inner {
  width: min(1360px, 100% - 2 * var(--gutter)); min-height: var(--nav-h);
  margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.wordmark { flex: none; color: var(--ink); text-decoration: none; }
.wordmark img { width: clamp(206px, 20vw, 280px); height: auto; }
.wordmark:hover { opacity: .76; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 34px); }
.nav-star { margin-inline: calc(clamp(18px, 2.3vw, 34px) * -.48); color: var(--champagne); font-size: 8px; line-height: 1; }
.nav-links a {
  padding: 8px 0; color: var(--ink); border-bottom: 1px solid transparent;
  font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--mocha); border-bottom-color: var(--mocha); }
.nav-links .sign-in { padding: 11px 16px; border: 1px solid var(--ink); border-radius: 999px; }
.nav-links .sign-in:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.hero {
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: calc(100svh - var(--nav-h)); overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--paper);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, rgba(248,245,239,.99) 0%, rgba(248,245,239,.95) 35%, rgba(248,245,239,.62) 54%, rgba(248,245,239,.08) 78%);
  pointer-events: none;
}
.hero-backdrop { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-copy {
  position: relative; z-index: 1; width: min(690px, calc(100% - 2 * var(--gutter)));
  margin-left: max(var(--gutter), calc((100vw - 1360px) / 2)); padding: clamp(58px, 8vw, 110px) 0;
}
.hero-copy h1 { display: flex; flex-wrap: wrap; max-width: 7.5em; }
.hero-copy h1 span:first-child { flex-basis: 100%; }
.hero-copy h1 .champagne { color: var(--champagne); margin-right: .15em; }
.script-line { margin: 30px 0 0; color: var(--mocha); font: 500 italic clamp(27px, 3vw, 44px)/1 var(--accent); }
.sub { max-width: 49ch; margin-top: 30px; font-size: clamp(16px, 1.45vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.section { padding: clamp(68px, 9vw, 126px) 0; border-top: 1px solid var(--rule); }
#what h2 { max-width: 15ch; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px 24px;
  padding: clamp(24px, 3.5vw, 48px) 0; border-top: 1px solid var(--ink); min-width: 0;
}
.tile:nth-child(odd) { padding-right: clamp(24px, 4vw, 64px); }
.tile:nth-child(even) { padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--rule); }
.tile .num { grid-row: 1 / span 2; padding-top: 8px; }
.tile p { margin: 14px 0 0; max-width: 34ch; color: var(--pencil); font-size: 15px; line-height: 1.55; }
.num { color: var(--mocha); font: 600 11px/1 var(--body); letter-spacing: .14em; }

#why { background: var(--blush); }
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, .72fr); gap: clamp(56px, 10vw, 140px); align-items: start; }
#why h2 { margin: 0; font-size: clamp(42px, 6vw, 78px); }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.row { padding: 22px 0; border-bottom: 1px solid rgba(11,11,11,.28); font: 500 clamp(21px, 2.2vw, 29px)/1.25 var(--display); }

.image-break { position: relative; height: min(72vw, 760px); min-height: 470px; margin: 0; overflow: hidden; background: var(--ink); }
.image-break::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,11,.6), transparent 62%); }
.image-break img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.image-break figcaption { position: absolute; z-index: 1; left: var(--gutter); bottom: clamp(36px, 7vw, 96px); color: var(--paper); }
.image-break .kicker { color: var(--paper); }
.image-break strong { display: block; max-width: 9ch; font: 500 clamp(46px, 7vw, 92px)/.98 var(--display); letter-spacing: -.04em; }

#how { background: var(--ink); color: var(--paper); }
#how h2, #how h3 { color: var(--paper); }
#how .kicker, #how .num { color: var(--champagne); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .42fr); gap: 32px; align-items: end; margin-bottom: clamp(28px, 4vw, 54px); }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0; color: #cbc2b6; }
.moves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.moves li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px;
  padding: 25px 0; border-top: 1px solid rgba(248,245,239,.28); font-size: clamp(16px, 1.4vw, 19px);
}
.moves li:nth-child(odd) { padding-right: clamp(22px, 4vw, 62px); }
.moves li:nth-child(even) { padding-left: clamp(22px, 4vw, 62px); border-left: 1px solid rgba(248,245,239,.18); }

.beta-strip { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--rule); background: var(--blush); }
.coming-soon {
  max-width: 560px; padding: 26px 24px 24px;
  border-left: 4px solid var(--champagne); border-radius: var(--radius); background: var(--sheet);
}
.coming-soon .kicker { margin-bottom: 12px; }
.coming-soon h2 { margin-bottom: 14px; font-size: clamp(38px, 4.8vw, 58px); }
.coming-soon .accent { font: 500 italic 1.08em/1 var(--accent); color: var(--mocha); letter-spacing: 0; }
.coming-soon .lines { font-size: clamp(16px, 1.4vw, 18px); }
.waitlist { display: grid; gap: 18px; margin-top: 26px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-name { color: var(--pencil); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.optional { margin-top: -3px; color: var(--mocha); font: 500 italic 16px/1.2 var(--accent); }
.field input {
  width: 100%; min-height: 50px; margin: 0; padding: 13px 15px;
  border: 1px solid rgba(11,11,11,.28); border-radius: 14px;
  background: var(--paper); color: var(--ink); font: 16px/1.5 var(--body);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:hover { border-color: var(--ink); }
.field input:focus { outline: none; border-color: var(--mocha); box-shadow: 0 0 0 3px rgba(122,106,86,.16); }
.field input.is-bad { border-color: var(--red); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: 15px; line-height: 1.4; color: var(--red); }
.form-note:empty { display: none; }
.waitlist .send { width: 100%; text-align: center; }
.send-dots { display: none; gap: 5px; align-items: center; }
.send-dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; animation: pulse 1s infinite var(--ease); }
.send-dots i:nth-child(2) { animation-delay: .16s; }
.send-dots i:nth-child(3) { animation-delay: .32s; }
.send.is-sending .send-dots { display: inline-flex; }
@keyframes pulse { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.waitlist-done { margin-top: 26px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); }
.waitlist-done:focus { outline: none; }
.waitlist-done p { margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
.waitlist-done b { color: var(--green); }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--pencil); }
.fine .door { color: var(--mocha); font-weight: 600; }

.footer { padding: 42px 0 calc(54px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: #cfc8bd; font-size: 13px; }
.footer .wrap { padding-inline: 74px; text-align: center; }
.footer p { margin: 0; }
.studio-credit + .studio-credit-cta { margin-top: 10px; }
.footer a { color: var(--champagne); }
.studio-credit-cta a { text-decoration: none; }
.studio-credit-cta a:hover, .studio-credit-cta a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; }

.to-top {
  position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 48px; height: 48px; display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(248,245,239,.32); border-radius: 50%; background: var(--ink); color: var(--paper);
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.to-top[hidden] { display: grid; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }
.to-top:hover, .to-top:focus-visible { background: var(--champagne); color: var(--ink); border-color: var(--champagne); }

@media (max-width: 980px) {
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  :root { --nav-h: 68px; }
  .nav-inner { width: calc(100% - 32px); }
  .wordmark img { width: 190px; }
  .nav-links a:not(.sign-in) { display: none; }
  .nav-star { display: none; }
  .nav-links { gap: 0; }
  .nav-links .sign-in { padding: 10px 13px; }
  .hero { align-items: flex-end; min-height: calc(100svh - var(--nav-h)); }
  .hero::after { background: linear-gradient(180deg, rgba(248,245,239,.16) 0%, rgba(248,245,239,.72) 38%, rgba(248,245,239,.98) 68%, rgba(248,245,239,1) 100%); }
  .hero-backdrop { object-position: 59% center; }
  .hero-copy { width: 100%; margin-left: 0; padding: clamp(190px, 42svh, 330px) 20px 58px; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(52px, 15vw, 64px); line-height: .88; }
  .hero-copy .sub { overflow-wrap: anywhere; }
  .principles, .moves { grid-template-columns: 1fr; }
  .tile:nth-child(odd), .tile:nth-child(even), .moves li:nth-child(odd), .moves li:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
  .section-heading { grid-template-columns: 1fr; }
  .image-break { height: 72svh; min-height: 520px; }
  .image-break img { object-position: 63% center; }
  .footer .wrap { padding-inline: 46px; }
  .coming-soon { padding: 20px 16px; }
}
@media (max-width: 430px) {
  .wordmark img { width: 164px; }
  .nav-links .sign-in { font-size: 10px; }
  .hero-copy .kicker { max-width: 25ch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .send-dots i { animation: none; opacity: .8; }
  .to-top { transform: none; }
}
