/* Studio menu, reply pages, About and the strip that links the two tracks. Loads after site.css. */
h4 { margin: 0; font-weight: 600; }
address { font-style: normal; }
.cost, .terms { font-variant-numeric: lining-nums tabular-nums; }

/* First screen: one line and one button on a paper panel, set into the glacier. */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(540px, 76vh, 700px); padding: clamp(40px, 5vw, 72px) var(--pad); overflow: hidden; background: var(--ink); }
.hero-scene { position: absolute; inset: 0; }
.hero-scene picture, .hero-scene img { display: block; width: 100%; height: 100%; }
.hero-scene img { object-fit: cover; object-position: 50% 60%; }
.hero-contours { position: absolute; right: 3vw; bottom: 7%; width: min(44vw, 640px); color: var(--on-dark); opacity: .55; pointer-events: none; }
.hero-contours path, .band-contours path { vector-effect: non-scaling-stroke; }
.hero-copy { position: relative; z-index: 1; max-width: 660px; padding: clamp(28px, 3.4vw, 52px); background: var(--paper); max-width: 640px; border-radius: var(--radius); box-shadow: var(--lift); }
.hero h1 { font-size: var(--t-h1); line-height: 1.04; }

/* Contour art for the blue-black bands. */
.band-contours { position: absolute; right: -6vw; top: -12%; width: min(70vw, 980px); color: var(--contour); pointer-events: none;  }
.menu .band-contours { color: var(--rule); }
.menu > :not(.band-contours), .ask > :not(.band-contours), .reply-hero > :not(.band-contours) { position: relative; }

/* The menu: ruled sections, item and price on one line. */
.menu, .trades { padding: clamp(52px, 6vw, 92px) var(--pad); }
.menu { position: relative; overflow: hidden; background: var(--sand); }
.band-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 8vw, 130px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.band-head h2 { font-size: var(--t-h2); line-height: 1.1; }
.band-head p { max-width: 52ch; color: var(--muted); font-size: 18px; }
.band-head p strong { color: var(--ink); font-weight: 600; }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
.menu-col { display: grid; gap: clamp(16px, 2vw, 28px); }
.menu-section { padding: clamp(20px, 2vw, 28px) clamp(18px, 2vw, 28px) 8px; background: var(--card); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius); break-inside: avoid; }
.menu-section h3 { padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-family: var(--display); font-size: 26px; line-height: 1.15; font-weight: 500; letter-spacing: -.015em; }
.menu-section ul, .trade-grid, .trade ul { list-style: none; margin: 0; padding: 0; }
.item { padding: 16px 0 17px; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.item:first-child { border-top: 0; }
.item:target { background: var(--copper-soft); box-shadow: -10px 0 0 var(--copper-soft), 10px 0 0 var(--copper-soft); }
.item-line { display: flex; align-items: baseline; gap: 10px; }
.item-line h4 { min-width: 0; overflow-wrap: anywhere; font-size: 17px; line-height: 1.3; }
.item-line h4 a { text-decoration-color: var(--rule); }
.item-line h4 a:hover { text-decoration-color: currentColor; }
.leader { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--rule-strong); transform: translateY(-4px); }
.cost { font-size: 17px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.terms { margin-top: 2px; color: var(--muted); font-size: 13px; text-align: right; max-width: none; }
.item .note { margin-top: 6px; max-width: 46ch; color: var(--muted); font-size: 16px; line-height: 1.5; }
.menu-foot { margin-top: clamp(28px, 3vw, 44px); color: var(--muted); font-size: 14px; max-width: none; }

/* A strip of the survey map between the menu and the trades. */
.aerial { height: clamp(150px, 20vw, 300px); overflow: hidden; background: var(--ink); }
.aerial img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Who we help: one entry per trade, each pointing back into the menu. */
.trade-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(32px, 4.5vw, 72px); }
.trade { position: relative; padding: 22px 0 24px 52px; border-top: 1px solid var(--rule-strong); scroll-margin-top: 24px; }
.trade-icon { position: absolute; left: 0; top: 20px; width: 34px; height: 34px; color: var(--copper); }
.trade h3 { font-size: var(--t-h3); line-height: 1.2; }
.trade > p { margin-top: 8px; max-width: 40ch; color: var(--muted); font-size: 16px; }
.trade ul { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 6px; }
.trade li a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; }

/* What comes back, on fictional records. */
.proof { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 8vw, 130px); align-items: start; padding: clamp(52px, 6vw, 92px) var(--pad); background: var(--sand); }
.proof h2 { font-size: var(--t-h2); line-height: 1.1; }
.proof-copy p { margin: 18px 0 14px; max-width: 42ch; color: var(--muted); }
.flags { margin: 0; }
.flags > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 4px 24px; padding: 14px 0; border-top: 1px solid var(--rule); }
.flags > div:last-child { border-bottom: 1px solid var(--rule); }
.flags dt { font-weight: 600; }
.flags dd { color: var(--muted); font-size: 15px; }
.flags dd b { color: var(--ink); font-weight: 600; }
.flags-label { margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.report { padding: clamp(18px, 2.4vw, 32px); background: var(--card); border-radius: var(--radius); box-shadow: var(--lift); }
.report .flags > div { border-color: var(--rule); }

/* The ask. */
.ask { --link-line: rgba(245, 241, 232, .45); --link-hover: #fff; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 8vw, 130px); align-items: start; padding: var(--band) var(--pad); background: var(--ink); color: var(--on-dark); scroll-margin-top: 0; }
.ask ::selection { background: var(--paper); color: var(--ink); }
.ask h2 { font-size: var(--t-h1); line-height: 1.06; }
.ask p { max-width: 46ch; color: var(--on-dark-muted); }
.ask-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 24px 0 20px; }
.ask :focus-visible { outline-color: var(--glow); }
.ask .fine { font-size: 14px; }

/* One strip for the two tracks. */
.arms { padding: clamp(36px, 4vw, 56px) var(--pad); border-top: 1px solid var(--rule); }
.arms > p { margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.arms ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 4.5vw, 72px); list-style: none; margin: 0; padding: 0; }
.arms a { display: block; padding: 16px 0 4px; border-top: 1px solid var(--rule-strong); text-decoration: none; }
.arms b { display: block; font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.arms span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.arms a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.arms a[aria-current="page"] b::after { content: " · you are here"; color: var(--muted); font-size: 14px; font-weight: 400; }

.studio-footer address { align-self: center; max-width: 60ch; }

/* Reply pages for letters, and About: one reading column. */
.reply-offer { padding-top: 0; }
.reply .reply-hero { position: relative; overflow: hidden; max-width: none; margin: 0 calc(-1 * var(--pad)); padding: clamp(40px, 6vw, 80px) var(--pad) clamp(40px, 5vw, 64px); background: var(--ink); color: var(--on-dark); --link-line: rgba(245, 241, 232, .45); --link-hover: #fff; }
.reply-hero > :not(.band-contours) { max-width: 720px; }
.reply .reply-hero .lead, .reply .reply-hero .cost-line small { color: var(--on-dark-muted); }
.reply-hero :focus-visible { outline-color: var(--glow); }
.reply-hero ::selection { background: var(--paper); color: var(--ink); }
.studio-footer .credit { width: 100%; max-width: none; font-size: 13px; }
.reply { padding: clamp(40px, 6vw, 88px) var(--pad) clamp(56px, 7vw, 96px); }
.reply > * { max-width: 720px; }
.reply h1 { font-size: var(--t-h1); line-height: 1.05; text-wrap: balance; }
.reply .lead { margin-top: 20px; color: var(--muted); font-size: var(--t-lead); max-width: 44ch; }
.reply .cost-line { margin-top: 18px; font-size: 19px; font-weight: 500; }
.reply .cost-line small { color: var(--muted); font-size: 14px; font-weight: 400; }
.reply-contact { scroll-margin-top: 16px; }
.reply-part { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--rule); }
.reply-part h2 { font-size: 26px; line-height: 1.2; margin-bottom: 8px; }
.reply-part p, .reply-part li { color: var(--muted); max-width: 60ch; }
.reply-part p + p { margin-top: 10px; }
.reply-part ul { margin: 0; padding-left: 20px; }
.reply-part li { margin: 6px 0; }
.reply-part b, .reply-part strong { color: var(--ink); font-weight: 600; }
.reply-contact { margin-top: 44px; padding: clamp(20px, 3vw, 32px); background: var(--sand); border-radius: var(--radius); }
.reply-contact h2 { font-size: 26px; margin-bottom: 8px; }
.reply-contact p { color: var(--muted); }
.reply-contact .ask-actions { margin: 14px 0 6px; }
.reply-back { margin-top: 28px; }

@media (max-width: 1100px) {
  .trade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-grid { display: block; columns: 2; column-gap: 20px; }
  .menu-col { display: contents; }
  .menu-section { margin-bottom: 20px; }
}
@media (max-width: 820px) {
  .hero { display: block; min-height: 0; padding: 0; background: var(--paper); }
  .hero-copy { max-width: none; padding: 20px var(--pad) 36px; border-radius: 0; box-shadow: none; }
  .hero-scene { position: relative; height: 250px; }
  .hero-scene img { object-position: 50% 46%; }
  .hero-contours { right: -40px; bottom: 18px; width: 300px; }
  .band-contours { right: -45vw; top: -4%; width: 150vw; }
  .band-head, .proof, .ask { grid-template-columns: 1fr; gap: 20px; }
  .band-head p { font-size: 17px; }
  .arms ul { grid-template-columns: 1fr; }
  .arms a { padding-bottom: 16px; }
}
@media (max-width: 700px) {
  .trade-grid { grid-template-columns: 1fr; }
  .trade { padding-left: 0; }
  .trade-icon { left: auto; right: 0; }
  .trade h3, .trade > p { padding-right: 48px; }
  .menu-grid { columns: 1; }
  .menu { padding-inline: 12px; }
  .menu .band-head, .menu-foot { padding-inline: 12px; }
  .menu-section { margin-bottom: 12px; }
  .flags > div { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .studio-menu-header { flex-wrap: wrap; row-gap: 0; }
  .studio-menu-header .site-nav { flex-wrap: wrap; margin-left: 0; }
}
.skip:hover { color: #fff; }
.reply .lead { text-wrap: pretty; }

.hero-intro { margin-top: 12px; color: var(--muted); }
.hero-start { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 14px; }
.hero-next { margin-top: 8px; font-size: 15px; color: var(--muted); }
.hero-proof-link { text-decoration: underline; text-underline-offset: .22em; }
.hero-start .button-link { gap: 18px; }
.hero-flag { display: grid; gap: 4px; margin-top: 18px; padding: 12px 0 0; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.hero-flag span { color: var(--muted); font-size: 14px; }
.hero-flag strong { font-size: 17px; font-weight: 600; }
.hero-flag:hover strong, .hero-flag:focus-visible strong { text-decoration: underline; }
.menu .band-head p + p { margin-top: 10px; font-size: 15px; }
.pricing-note { font-size: 14px; }
.reply-part ol, .letter-links { padding-left: 20px; }
.letter-links { margin: 8px 0 0; }
.export-links { columns: 2 220px; }
.export-links li { break-inside: avoid; }
.export-links a { display: inline-block; min-height: 24px; }
.letter-links a { display: inline-block; padding: 6px 0; scroll-margin-top: 80px; }
.letter-links a:target { font-weight: 700; outline: 2px solid var(--ink); outline-offset: 2px; }

@page studio-document { size: Letter; margin: .6in .68in; }
@media print {
  body:has(.printable) { color: var(--ink); background: var(--card); font-size: 10.5pt; }
  body:has(.printable) .site-header, body:has(.printable) .skip, .printable .reply-back { display: none; }
  .printable.reply { page: studio-document; padding: 0; }
  .printable.reply > * { max-width: none; }
  .printable.reply h1 { font-size: 26pt; }
  .printable.reply .lead { margin-top: 8pt; font-size: 13pt; }
  .printable .reply-part { margin-top: 14pt; padding-top: 8pt; }
  .printable .reply-part h2 { font-size: 13pt; break-after: avoid; }
  .printable .reply-part p, .printable .reply-part li { max-width: none; color: var(--ink); orphans: 2; widows: 2; }
}

/* Scope and contact alongside the menu prices. */
.billing-path { --link-line: rgba(245, 241, 232, .45); --link-hover: #fff; margin: 0 0 28px; padding: 18px 20px; background: var(--ink); color: var(--on-dark); border-radius: var(--radius); }
.billing-path p { max-width: none; }
.billing-path p + p { color: var(--on-dark-muted); font-size: 15px; }
.billing-path :focus-visible { outline-color: var(--glow); }
.billing-evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.billing-evidence h3 { margin-bottom: 8px; }
.billing-evidence .report { color: var(--ink); }
.billing-evidence .flags > div { grid-template-columns: 1fr; gap: 4px; }
.founder-note { font-size: 15px; }
.founder-note a { display: inline-flex; min-height: 44px; align-items: center; }
.menu-section .founder-note { color: var(--muted); }
.offer-contact > summary { width: fit-content; min-height: 44px; min-width: 44px; padding: 11px 0; font-size: 15px; font-weight: 500; cursor: pointer; }
.offer-contact-body { display: grid; gap: 8px; padding: 16px; background: var(--sand); border-radius: var(--radius-s); }
.offer-contact-body .button-link { justify-self: start; }
.offer-contact-body p { font-size: 15px; }
.offer-start, .offer-proof, .offer-details { font-size: 15px; text-decoration-color: var(--rule-strong); }
.offer-details { display: flex; width: fit-content; }
.offer-proof { display: flex; width: fit-content; }

.reply .reply-hero { padding-top: clamp(24px, 5vw, 56px); padding-bottom: clamp(24px, 5vw, 56px); }
.reply .reply-hero .lead { margin-top: 12px; max-width: 56ch; }
.reply .reply-hero .cost-line { margin-top: 10px; }
.reply-privacy, .start-instructions { margin-top: 8px; color: var(--on-dark-muted); font-size: 15px; }
.reply-start { margin-top: 14px; scroll-margin-top: 20px; }
.reply-start .contact-tools { margin-top: 4px; }
/* Keep the offer above the matched draft when a short landscape viewport opens a printed fragment. */
.variant-action { scroll-margin-top: calc(100vh + 24rem); }
.variant-action:not(:target), .reply-start:has(.variant-action:target) .default-action { display: none; }
.reply .letter-reply-title { display: none; }
.reply:has([data-letter-c]:target) .letter-reply-title { display: inline; }
.reply:has([data-letter-c]:target) :is(.pilot-reply-title, .reply-hero .cost-line, .reply-hero .lead) { display: none; }
.reply:has([data-letter-c]:target) .reply-part:has(#export-checklists, #pilot-report-title, #pilot-price-title),
.reply:has([data-letter-c]:target) .pilot-reply-next { display: none; }
.reply-contact address { margin-top: 12px; }
.reply-evidence .report { margin: 12px 0; }
.letter-links .text-link { display: inline-flex; }

@media (max-width: 700px) {
  .billing-evidence { grid-template-columns: 1fr; padding-inline: 12px; }
  .billing-path { padding-inline: 12px; }
}

@media (max-width: 380px) {
  .menu-added-offer .cost { white-space: normal; }
}
