/* ============================================================
   Corvus & Field - corvusandfield.com
   Design language: "Foundry Swagger"
   Type is the hero: Fraunces (soft + wonky, the free-font
   cousin of Roca Two) at enormous sizes, Space Grotesk for UI.
   Bright ivory canvas, full-bleed gold/green/ink color blocks,
   squiggle underlines, sticker badges, pill buttons.
   When the Roca Two license lands, swap --display below and
   the whole site follows.
   ============================================================ */

:root {
  --ink: #17191B;
  --ink-soft: #24282C;
  --field: #444F3E;   /* sampled from the logo */
  --field-deep: #313A2D;
  --gold: #C99A3D;
  --gold-deep: #A87E2C;
  --gold-bright: #E4B858;
  --ivory: #F4F0E7;
  --ivory-deep: #EAE4D5;
  --paper: #FFFDF8;
  --stone: #8A8983;
  --stone-light: #C4C1B7;

  --display: 'Fraunces', 'Iowan Old Style', serif;
  --sans: 'Space Grotesk', Arial, Calibri, 'Helvetica Neue', sans-serif;

  --squiggle-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='10' viewBox='0 0 36 10'%3E%3Cpath d='M0 7 Q 4.5 1 9 7 T 18 7 T 27 7 T 36 7' fill='none' stroke='%23C99A3D' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  --squiggle-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='10' viewBox='0 0 36 10'%3E%3Cpath d='M0 7 Q 4.5 1 9 7 T 18 7 T 27 7 T 36 7' fill='none' stroke='%23526451' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  --squiggle-ivory: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='10' viewBox='0 0 36 10'%3E%3Cpath d='M0 7 Q 4.5 1 9 7 T 18 7 T 27 7 T 36 7' fill='none' stroke='%23F4F0E7' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");

  --maxw: 1280px;
  --r: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.04rem;
  line-height: 1.68;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 90, 'WONK' 0;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: inherit;
}

h1 { font-size: clamp(2.7rem, 7.6vw, 5.9rem); text-transform: uppercase; font-weight: 680; letter-spacing: 0; }
h2 { font-size: clamp(2rem, 4.7vw, 3.4rem); text-transform: uppercase; font-weight: 680; letter-spacing: 0; }
h3 { font-size: 1.5rem; line-height: 1.18; }
h4 { font-size: 1.12rem; line-height: 1.3; }

/* Accent words: wonky italic + squiggle underline.
   Green on light backgrounds, gold on dark. Never gold text on ivory. */
.hl {
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 500;
  text-transform: none;
  color: var(--field);
}
.section-ink .hl, .section-green .hl, .site-footer .hl { color: var(--gold-bright); }
.section-gold .hl { color: var(--ink); }

p { margin: 0 0 1.15em; }

a { color: var(--field); font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
.section-ink a:not(.btn), .section-green a:not(.btn), .site-footer a:not(.btn) { color: var(--gold-bright); }
.section-ink a:not(.btn):hover, .section-green a:not(.btn):hover, .site-footer a:not(.btn):hover { color: var(--ivory); }
.section-gold a:not(.btn) { color: var(--ink); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.narrow { max-width: 840px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--ivory); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow: a little tag pill ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--ink);
  border-radius: 999px;
  padding: 7px 18px;
  margin: 0 0 22px;
}

.section-ink .eyebrow, .site-footer .eyebrow { background: var(--gold); color: var(--ink); }
.section-green .eyebrow { background: var(--ivory); color: var(--field-deep); }
.section-gold .eyebrow { background: var(--ink); color: var(--gold-bright); }

.stitch-rule { display: none; }

/* Section blocks meet edge to edge, Threshold style */
.seam { display: none; }

/* ---------- Stickers ---------- */

.sticker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 9px 20px;
  box-shadow: 3px 3px 0 var(--ink);
}
.sticker-gold { background: var(--gold); }
.sticker-green { background: var(--field); color: var(--ivory); }

.sticker-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.sticker-row .sticker { box-shadow: none; }
.sticker-row .sticker.sticker-gold { box-shadow: 3px 3px 0 var(--ink); }

/* ---------- Header ---------- */

.site-header {
  background: var(--ivory);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 60;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 640;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: 1.7rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.brand:hover { color: var(--field) !important; }
.amp { font-style: normal; font-variation-settings: 'SOFT' 90, 'WONK' 0; }
.brand .amp { color: var(--field); }

.brand-mark { height: 42px; width: auto; flex: none; }
.site-footer .brand-mark { height: 40px; }
.site-footer .brand, .site-footer .brand .amp { color: var(--gold-bright); }

.nav-toggle {
  display: none;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 18px;
  cursor: pointer;
}

.site-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; }
.site-nav a { white-space: nowrap; }

.site-nav a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.96rem;
}
.site-nav a:hover { color: var(--field); }
.site-nav a[aria-current="page"]:not(.btn) {
  border-bottom: 3px solid var(--gold);
  padding-bottom: 5px;
  color: var(--field);
}

/* ---------- Buttons: big pills with a sticker-peel hover ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 16px 32px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover { transform: translateY(-2px); }

/* Threshold-style label swap: hover reveals data-hover text */
.btn-swap { position: relative; overflow: hidden; }
.btn-swap::after {
  content: attr(data-hover);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: inherit;
  opacity: 0;
  transform: translateY(70%);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.btn-swap:hover { color: transparent !important; }
.btn-swap:hover::after { opacity: 1; transform: none; }
.btn-gold.btn-swap:hover::after { color: var(--ink); }
.btn-outline-ink.btn-swap:hover::after { color: var(--ivory); }
.btn-outline-ivory.btn-swap:hover::after { color: var(--ink); }

.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-gold:hover { background: var(--gold-bright); box-shadow: 6px 6px 0 var(--ink); }
.section-ink .btn-gold, .section-green .btn-gold, .site-footer .btn-gold { box-shadow: 4px 4px 0 var(--ivory); }
.section-ink .btn-gold:hover, .section-green .btn-gold:hover, .site-footer .btn-gold:hover { box-shadow: 6px 6px 0 var(--ivory); }

.btn-outline-ivory { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn-outline-ivory:hover { background: var(--ivory); color: var(--ink); }

.btn-outline-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: var(--ivory); }

.site-nav .btn { padding: 11px 22px; box-shadow: 3px 3px 0 var(--ink); }

/* ---------- Hero ---------- */

.hero {
  background: var(--ivory);
  padding: 60px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero h1 { max-width: 20ch; position: relative; z-index: 1; }
.hero-display .line { display: block; }

.hero .lede {
  font-size: 1.18rem;
  max-width: 58ch;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}
.hero .lede strong { color: var(--field-deep); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; position: relative; z-index: 1; }

/* The brand badge: black raven on a paper circle */
.hero-badge {
  position: absolute;
  right: 4%;
  top: 80px;
  width: min(25vw, 300px);
  aspect-ratio: 1;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 8px 8px 0 var(--gold);
  display: grid;
  place-items: center;
}

.hero-badge img { width: 66%; height: auto; display: block; }

.hero-badged .container { padding-right: clamp(250px, 32vw, 400px); }

.hero.hero-inner-page { padding: 46px 0 38px; }
.hero.hero-inner-page h1 { max-width: 24ch; font-size: clamp(2.4rem, 6vw, 4.6rem); }
.hero.hero-inner-page .lede { font-size: 1.12rem; }

/* ---------- Sections ---------- */

.section { padding: 64px 0; position: relative; }
.section-tight { padding: 48px 0; }

.section-ink { background: var(--ink); color: var(--ivory); }
.section-ink p { color: var(--stone-light); }
.section-ink p strong, .section-ink h2, .section-ink h3 { color: var(--ivory); }

.section-green { background: var(--field); color: var(--ivory); }
.section-green p { color: var(--ivory); }

.section-gold { background: var(--gold); color: var(--ink); }
.section-gold p { color: var(--ink); }

.section-alt { background: var(--ivory-deep); }

.section-head { max-width: 800px; margin-bottom: 34px; }

/* ---------- Marquee: type specimen strip ---------- */

.marquee { background: var(--ink); overflow: hidden; padding: 18px 0; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: mq-scroll 50s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.mq-item {
  color: var(--ivory);
  font-family: var(--display);
  font-weight: 560;
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  white-space: nowrap;
  line-height: 1;
}

.mq-item:nth-of-type(odd) {
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
}

.mq-tick {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  flex: none;
}

@keyframes mq-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 26px; }
}

/* ---------- The Ledger ---------- */

.ledger { list-style: none; margin: 34px 0 0; padding: 0; }

.ledger li { border-bottom: 2px solid rgba(244, 240, 231, 0.16); }
.ledger li:first-child { border-top: 2px solid rgba(244, 240, 231, 0.16); }

.ledger a {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 26px 18px;
  border-radius: 22px;
  text-decoration: none;
  color: var(--ivory);
  font-weight: 400;
  transition: background 0.15s ease, padding-left 0.15s ease;
}

.lg-no {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
}

.lg-name {
  font-family: var(--display);
  font-weight: 580;
  font-variation-settings: 'SOFT' 90, 'WONK' 0;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  transition: color 0.15s ease;
}

.lg-desc {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: 1.06rem;
  color: var(--stone-light);
  text-align: right;
  transition: color 0.15s ease;
}

.ledger a:hover, .ledger a:focus-visible {
  background: rgba(228, 184, 88, 0.13);
  padding-left: 34px;
}
.ledger a:hover .lg-name, .ledger a:focus-visible .lg-name {
  color: var(--gold-bright);
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
}
.ledger a:hover .lg-desc, .ledger a:focus-visible .lg-desc { color: var(--ivory); }

/* Green ledger variant: gold numbers + titles, white sub-text, gold rules */
.section-green .ledger li,
.section-green .ledger li:first-child { border-color: var(--gold); }
.section-green .ledger a { color: var(--ivory); }
.section-green .lg-no { color: var(--gold-bright); }
.section-green .lg-name { color: var(--gold-bright); }
.section-green .lg-desc { color: var(--ivory); }
.section-green .ledger a:hover, .section-green .ledger a:focus-visible { background: rgba(23, 25, 27, 0.16); }
.section-green .ledger a:hover .lg-name, .section-green .ledger a:focus-visible .lg-name { color: var(--ivory); }
.section-green .ledger a:hover .lg-desc, .section-green .ledger a:focus-visible .lg-desc { color: var(--gold-bright); }

/* ---------- Principles ---------- */

.principles { display: grid; gap: 42px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.principle .p-tick {
  display: inline-block;
  width: 16px; height: 16px;
  background: var(--gold);
  border-radius: 50%;
  margin-bottom: 16px;
}

.principle h3 {
  font-size: 1.9rem;
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  color: var(--ivory);
}
.principle p { opacity: 0.95; }

/* ---------- Chips: sticker wall ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 16px; margin: 26px 0; padding: 0; list-style: none; }

.chips li {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 11px 26px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}
.chips li:nth-child(3n+2) { background: var(--gold); }
.chips li:nth-child(3n) { background: var(--field); color: var(--ivory); }

/* ---------- Panels: picker, plans, founders, cards ---------- */

.card, .picker-panel, .plan, .founder-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r);
}

.card { padding: 30px 28px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--gold); }
.card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card p { font-size: 0.97rem; margin-bottom: 8px; }

.grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* ---------- Problem picker ---------- */

.picker { margin-top: 36px; }

.picker-buttons { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 6px; }

.picker-btn {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: 1.12rem;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 13px 26px;
  cursor: pointer;
  min-height: 48px;
  transition: background 0.14s ease, color 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease;
}

.picker-btn:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 var(--ink); }

.picker-btn.active {
  background: var(--ink);
  color: var(--gold-bright);
  box-shadow: 4px 4px 0 var(--ink-soft);
}

.picker-panel { padding: 32px 34px; margin-top: 24px; box-shadow: 7px 7px 0 var(--ink); }

.picker-line {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.28;
  margin-bottom: 14px;
}
.picker-links { margin-bottom: 0; font-size: 1rem; }

/* ---------- FAQ ---------- */

.faq-list { margin-top: 30px; }

details.faq {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
details.faq[open] { box-shadow: 5px 5px 0 var(--gold); }

details.faq summary {
  font-family: var(--display);
  font-weight: 580;
  font-size: 1.28rem;
  line-height: 1.25;
  padding: 20px 60px 20px 26px;
  cursor: pointer;
  list-style: none;
  position: relative;
}
details.faq summary:hover { color: var(--field); }

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 28px;
  text-align: center;
}

details.faq[open] summary::after { content: "-"; background: var(--ink); color: var(--gold-bright); border-color: var(--ink); }

details.faq > p { padding: 0 26px 22px; max-width: 70ch; }

/* ---------- Plans ---------- */

.plans { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(295px, 1fr)); align-items: stretch; }

.plan { padding: 38px 34px; display: flex; flex-direction: column; position: relative; }

.plan.plan-featured {
  background: var(--ink);
  color: var(--ivory);
  box-shadow: 8px 8px 0 var(--gold);
}
.plan.plan-featured::before {
  content: "The usual starting point";
  position: absolute;
  top: -18px; left: 26px;
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 6px 16px;
}
.plan.plan-featured .plan-tagline { color: var(--stone-light); }
.plan.plan-featured ul li { border-bottom-color: rgba(244,240,231,0.18); }

.plan .plan-name {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.plan .plan-price { font-family: var(--display); font-weight: 620; font-size: 2.7rem; color: var(--field); margin: 8px 0 2px; letter-spacing: -0.02em; }
.plan.plan-featured .plan-price { color: var(--gold-bright); }
.plan .plan-price small { font-family: var(--sans); font-weight: 500; font-size: 0.8rem; color: var(--stone); letter-spacing: 0; }
.plan .plan-tagline { color: var(--stone); font-size: 0.95rem; margin-bottom: 22px; }

.plan ul { list-style: none; padding: 0; margin: 0 0 30px; }
.plan ul li {
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--ivory-deep);
  font-size: 0.97rem;
  position: relative;
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 17px;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
}
.plan .btn { margin-top: auto; }

.plan-note { color: var(--stone); font-size: 0.93rem; }

/* ---------- Tables ---------- */

table.simple { width: 100%; border-collapse: collapse; margin: 12px 0 28px; font-size: 0.98rem; }
table.simple th, table.simple td { text-align: left; padding: 15px 14px; border-bottom: 2px solid var(--ivory-deep); }
table.simple th { font-family: var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 560; font-size: 1.25rem; }

/* ---------- Included lists ---------- */

ul.included { list-style: none; padding: 0; margin: 0 0 26px; }
ul.included li {
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--ivory-deep);
  position: relative;
}
.section-ink ul.included li, .section-green ul.included li { border-bottom-color: rgba(244,240,231,0.18); }
ul.included li::before {
  content: "";
  position: absolute;
  left: 4px; top: 18px;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- CTA band ---------- */

.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 34px; }
.cta-band h2 { margin-bottom: 10px; max-width: 18ch; }
.cta-band p { margin-bottom: 0; max-width: 56ch; }

/* ---------- Forms ---------- */

.form-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }

label { display: block; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; }
label .req { color: var(--gold-deep); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
}

input:focus, select:focus, textarea:focus { box-shadow: 4px 4px 0 var(--gold); }

textarea { min-height: 150px; resize: vertical; border-radius: 20px; }

fieldset.check-group { border: 2px solid var(--ink); border-radius: 20px; background: var(--paper); padding: 20px 22px 14px; margin: 0; }
fieldset.check-group legend {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

label.check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 18px 11px 0;
  min-height: 30px;
}
label.check input { width: 19px; height: 19px; accent-color: var(--field); }

.contact-grid { display: grid; gap: 54px; grid-template-columns: 1.4fr 1fr; align-items: start; }

/* ---------- Founders ---------- */

.founders { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); margin-top: 40px; max-width: 820px; }

.founder-card { padding: 36px 32px; }
.founder-card:hover { box-shadow: 6px 6px 0 var(--gold); }

.founder-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 3px solid var(--ink); }

.founder-initials {
  background: var(--field);
  color: var(--ivory);
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 0 var(--gold);
}

.founder-card h3 { margin-bottom: 2px; font-size: 1.7rem; }
.founder-role { color: var(--field); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.founder-bio { font-size: 0.97rem; margin-bottom: 0; }
.founder-bio + .founder-bio { margin-top: 18px; }

/* Combined founders card */
.founders-duo { grid-template-columns: 1fr; max-width: none; }
.founder-card-duo { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: 44px; align-items: center; }
.founder-photo-duo { width: 100%; height: auto; border-radius: 16px; border: 3px solid var(--ink); display: block; }
@media (max-width: 860px) {
  .founder-card-duo { grid-template-columns: 1fr; }
  .founder-photo-duo { max-width: 430px; }
}

/* ---------- Dictionary definition block ---------- */

.define {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 38px 40px;
  margin: 36px 0 44px;
  max-width: 640px;
  box-shadow: 8px 8px 0 var(--field);
}

.define-word {
  font-family: var(--display);
  font-weight: 680;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.define-phon {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: 1.1rem;
  color: var(--stone);
  margin: 0 0 16px;
}

.define-body { font-size: 1.05rem; margin: 0; }

/* ---------- Logo showcase ---------- */

.logo-showcase {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--gold);
  padding: 46px 40px;
  margin: 40px 0 46px;
  max-width: 540px;
  text-align: center;
}

.logo-showcase img { max-width: 340px; width: 100%; height: auto; }

/* ---------- Prose ---------- */

.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose .aside { color: var(--stone); font-size: 0.95rem; }

blockquote.pull {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 560;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  margin: 44px 0;
  padding: 30px 34px;
  color: var(--ivory);
  background: var(--field);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 7px 7px 0 var(--gold);
}

/* ---------- Footer: giant wordmark ---------- */

.site-footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 64px 0 38px;
}

.footer-word {
  font-family: var(--display);
  font-style: italic;
  font-weight: 620;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: clamp(3rem, 12.5vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--gold-bright);
  margin: 0 0 50px;
}

.footer-grid { display: grid; gap: 42px; grid-template-columns: 2fr 1fr 1fr; margin-bottom: 44px; }

.site-footer .brand { font-size: 1.5rem; }
.site-footer h4 { color: var(--gold-bright); font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--ivory); font-weight: 400; text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer p { color: var(--stone-light); font-size: 0.95rem; }

.footer-legal {
  border-top: 2px solid rgba(244,240,231,0.18);
  padding-top: 26px;
  font-size: 0.85rem;
  color: var(--stone-light);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.footer-legal .fl-motto { font-family: var(--display); font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1; }

/* ---------- Scroll reveals ---------- */

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .site-nav { gap: 8px 16px; }
  .brand { font-size: 1.5rem; }
}

@media (max-width: 980px) {
  .hero-badge { width: min(22vw, 220px); box-shadow: 5px 5px 0 var(--gold); }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ledger a { grid-template-columns: 74px 1fr; }
  .lg-desc { grid-column: 2; text-align: left; }
}

@media (max-width: 760px) {
  .hero-badge { position: static; margin: 0 0 28px; width: 150px; }
  .hero-badged .container { padding-right: 26px; }
  .hero { padding: 48px 0 64px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 26px 28px;
    gap: 20px;
    z-index: 50;
  }
  .site-nav.open { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .section { padding: 48px 0; }
  .ledger a { padding: 20px 10px; gap: 6px 16px; border-radius: 14px; }
  .ledger a:hover { padding-left: 16px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .picker-panel { padding: 26px 24px; }
}


/* ---------- Service page layout (main + sticky rail) ---------- */

.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 10px 64px; align-items: start; }
.svc-main > p:first-of-type { font-size: 1.07rem; }
.svc-rail { position: sticky; top: 96px; display: grid; gap: 24px; }
.rail-card { padding: 26px 26px 28px; }
.rail-card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.rail-card-green { background: var(--field); border-color: var(--ink); }
.rail-card-green h3, .rail-card-green p { color: var(--ivory); }
.rail-card-green p { font-size: 0.95rem; }
.rail-card-green .btn { margin-top: 6px; }
.rail-list { list-style: none; margin: 0; padding: 0; }
.rail-list li { padding: 9px 0; border-bottom: 1px solid var(--ivory-deep); font-size: 0.97rem; }
.rail-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.rail-links a { font-weight: 600; }
.rail-aside { margin: 0; }
.included-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }

/* ---------- About page layout ---------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px 76px; align-items: start; }
.about-rail { display: grid; gap: 28px; }
.about-rail blockquote.pull { margin: 14px 0 0; }
.about-card { padding: 26px 26px 28px; }
.about-card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.name-grid { display: grid; grid-template-columns: minmax(300px, 430px) minmax(0, 1fr); gap: 44px 76px; align-items: center; margin-top: 8px; }
.name-grid .define { margin: 12px 0 0; max-width: none; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.name-grid .logo-showcase { margin: 0; max-width: none; text-align: center; }
.name-grid .logo-showcase img { max-width: 300px; }
.name-story p:last-child, .name-details p:last-child { margin-bottom: 0; }

@media (max-width: 1020px) {
  .svc-layout, .about-grid, .name-grid { grid-template-columns: 1fr; }
  .svc-rail { position: static; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; margin-top: 30px; }
  .about-rail { margin-top: 14px; }
  .rail-aside { grid-column: 1 / -1; }
  .about-rail { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: start; }
}

@media (max-width: 760px) {
  .included-grid { grid-template-columns: 1fr; }
  .svc-rail, .about-rail { grid-template-columns: 1fr; }
}
