:root {
  --ink: #0d1626;
  --ink-soft: #26324a;
  --night: #08101e;
  --paper: #ffffff;
  --paper-deep: #f2f5f9;
  --white: #fff;
  --rule: #dde3eb;
  --muted: #5a6577;
  --accent: #1f4fb4;
  --accent-deep: #173c8a;
  --accent-light: #9db8ec;
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --header: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; font-family: var(--sans); font-variant-numeric: lining-nums; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; font-variant-numeric: lining-nums; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip: auto; left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; }
.inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Wordmark */
.wordmark { display: inline-grid; color: var(--ink); line-height: 1; }
.wm-name { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: .2em; margin-right: -.2em; text-transform: uppercase; }
.wm-name, .wm-sub { grid-column: 1; }
.wm-sub { display: flex; justify-content: space-between; margin-top: 6px; padding: 0 .15em; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.wordmark.light { color: var(--white); }
.wordmark.light .wm-sub { color: rgba(255, 255, 255, .6); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink-soft); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .nav-cta { padding: 9px 20px; background: var(--ink); color: var(--white); }
.nav .nav-cta:hover { background: var(--accent); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 12px; margin-right: -12px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.nav-toggle span + span { margin-top: 7px; }
.nav-open .nav-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Type */
.lede { margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 640px; }
.lede a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--accent); }
.link::after { content: "\2192"; transition: transform .2s; }
.link:hover::after, a:hover > .link::after { transform: translateX(4px); }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s; }
.btn:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn.accent { background: var(--ink); border-color: var(--ink); color: var(--white); }
.hero .btn.accent, .dark .btn.accent { background: var(--white); border-color: var(--white); color: var(--ink); }
.hero .btn.accent:hover, .dark .btn.accent:hover { background: var(--paper-deep); border-color: var(--paper-deep); }
.btn.accent:hover { background: var(--accent); border-color: var(--accent); }
.btn:disabled { opacity: .6; cursor: wait; }
.signup { display: flex; gap: 8px; margin-top: 36px; max-width: 540px; }
.signup input[type="email"] { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 0; background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.signup input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.signup.compact { margin-top: 24px; }
.signup.stacked { flex-direction: column; margin-top: 18px; }
.signup.stacked input[type="email"] { flex: none; }
.form-message { margin-top: 20px; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--white); font-size: 16px; color: var(--ink); max-width: 540px; }

/* Hero */
.hero { position: relative; min-height: min(calc(100svh - var(--header)), 820px); display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--night); overflow: hidden; }
.hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 16, 30, .7) 0%, rgba(8, 16, 30, .35) 50%, rgba(8, 16, 30, 0) 80%), linear-gradient(0deg, rgba(8, 16, 30, .75) 0%, rgba(8, 16, 30, 0) 55%); }
.hero-content { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hero-content { padding-top: 96px; padding-bottom: clamp(64px, 8vw, 112px); }
.hero h1 { margin-top: 0; font-size: clamp(46px, 5.6vw, 84px); font-weight: 500; line-height: 1.02; max-width: 10em; }
.hero-sub { margin-top: 24px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; max-width: 560px; color: rgba(255, 255, 255, .88); }
.hero .signup input[type="email"] { border-color: transparent; }
.hero .form-message { background: rgba(255, 255, 255, .95); }

/* Sections */
.section { padding: clamp(80px, 9vw, 136px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 5vw, 72px); }
.section-head.wide { max-width: 920px; }
.section-head h2 { margin-top: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.1; }
.dark { background: var(--night); color: var(--white); }
.dark .lede { color: rgba(255, 255, 255, .72); }

/* Reports */
.reports { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px); }
.report-card { display: flex; flex-direction: column; }
.report-art { display: block; padding: clamp(22px, 4.2vw, 60px); border-radius: 14px; overflow: hidden; background: var(--paper-deep) center / cover no-repeat; }
.report-art.mist { background-image: url("/assets/img/bg/mist.webp"); }
.report-art.slate { background-image: url("/assets/img/bg/slate.webp"); }
.report-art img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 18px 44px -18px rgba(13, 22, 38, .35); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
a.report-card:hover .report-art img { transform: scale(1.025); }
.report-title { margin-top: 26px; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.012em; transition: color .2s; }
a.report-card:hover .report-title { color: var(--accent); }
.report-sub { margin-top: 12px; color: var(--muted); max-width: 540px; }
.report-card .link { margin-top: 20px; }

/* Method */
.tint { background: var(--paper-deep); }
.frame { padding: clamp(14px, 3vw, 44px); border-radius: 14px; overflow: hidden; background: var(--paper-deep) center / cover no-repeat; }
.frame.mist { background-image: url("/assets/img/bg/mist.webp"); }
.frame.slate { background-image: url("/assets/img/bg/slate.webp"); }
.frame > img, .frame > video { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 44px -18px rgba(13, 22, 38, .35); }
.timelapse video { aspect-ratio: 1600 / 918; background: #ebecf1; }

.tool-row { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tool-row + .tool-row { margin-top: clamp(56px, 7vw, 104px); }
.tool-row.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.tool-row.flip .frame { order: 2; }
.tool-copy h3 { font-size: clamp(36px, 3.4vw, 50px); line-height: 1.05; }
.tool-copy p { margin-top: 16px; color: var(--muted); max-width: 480px; }
.tool-copy .link { margin-top: 22px; }

/* Subscribe */
.signup-note { margin-top: 14px; font-size: 15px; color: rgba(255, 255, 255, .72); }

/* Offers */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px); }
.offer { display: flex; flex-direction: column; align-items: flex-start; }
.offer h3 { margin-top: 0; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; transition: color .2s; }
.offer:hover h3 { color: var(--accent); }
.offer p { margin-top: 12px; color: var(--muted); max-width: 540px; }
.offer .link { margin-top: 20px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--header)); }
.contact-content { width: 100%; max-width: 680px; margin-left: auto; padding: clamp(56px, 6vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.contact-content h1 { font-size: clamp(42px, 4.6vw, 68px); line-height: 1.05; }
.contact-lede { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 500px; }
.contact-form { margin-top: 40px; display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; }
.field .req { color: var(--accent); }
.field .opt { color: #959aa1; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--rule); border-radius: 0; background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.field select { appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230d1626' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field select:invalid { color: #959aa1; }
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.contact-form .btn { width: 100%; margin-top: 6px; }
.contact-image { position: relative; min-height: 420px; background: var(--ink); }
.contact-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Notice pages */
.notice { min-height: calc(70svh - var(--header)); max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(64px, 8vw, 128px) var(--gutter); }
.notice h1 { font-size: clamp(42px, 4.6vw, 68px); line-height: 1.05; }
.notice p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 620px; }
.notice .btn { margin-top: 36px; }

/* Footer */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .7); padding: 64px 0 40px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; margin-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.footer-links a:hover { color: var(--paper); }
.legal { max-width: 900px; }
.legal + .legal { margin-top: 12px; }

@media (max-width: 900px) {
  :root { --header: 68px; }
  .wm-name { font-size: 24px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: calc(var(--header) + 1px) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 12px var(--gutter); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav a { font-family: var(--serif); font-size: 28px; font-weight: 400; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .nav .nav-cta { margin-top: 24px; padding: 14px 18px; font-family: var(--sans); font-size: 17px; font-weight: 600; text-align: center; border: 0; }
  .reports, .offers, .tool-row, .tool-row.flip, .contact-layout { grid-template-columns: 1fr; }
  .tool-row.flip .frame { order: 0; }
  .contact-layout { min-height: 0; }
  .contact-content { max-width: none; }
  .contact-image { order: -1; min-height: 0; height: 220px; }
}

@media (max-width: 600px) {
  .hero-content { padding-top: 64px; }
  .hero::after { background: linear-gradient(0deg, rgba(8, 16, 30, .88) 0%, rgba(8, 16, 30, .6) 60%, rgba(8, 16, 30, .3) 100%); }
  .signup { flex-direction: column; }
  .signup input[type="email"] { flex: none; }
  .field-row { grid-template-columns: 1fr; }
}