/* ============================================================
   Oswego AI Studio
   Editorial landing page — Newsreader / Hanken Grotesk / Space Mono
   ============================================================ */

:root {
  --bg:          #f4f1ea;
  --paper:       #fbf9f4;
  --band:        #efe9dc;
  --ink:         #26271f;
  --ink-strong:  #22271f;
  --ink-soft:    #514f43;
  --ink-muted:   #8c8878;
  --line:        rgba(38, 39, 31, 0.12);
  --line-strong: rgba(38, 39, 31, 0.16);
  --forest:      #2f4030;
  --forest-deep: #24311f;
  --forest-ink:  #eef0e6;
  --forest-soft: #d3d8c6;
  --forest-mut:  #b9c3a8;
  --accent:      #7d5a3c;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:  "Space Mono", ui-monospace, monospace;

  --pad-x: 56px;
  --maxw:  1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: #cdd3c0; }

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }
.wrap-narrow { max-width: 1000px; }
.wrap-medium { max-width: 980px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--forest); color: var(--bg);
  padding: 10px 16px; border-radius: 5px; font-size: 14px; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 20px;
}
.eyebrow-accent { color: var(--accent); }
.eyebrow-light  { color: var(--forest-mut); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 5.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink-strong);
  margin: 0 0 26px;
}
.display em { font-style: italic; color: var(--forest); }
.display-light { color: #f4f1ea; }
.display-light em { color: #c7b299; }

.heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.9vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}

.section-head { margin-bottom: 64px; }
.section-head-center { text-align: center; }
.section-head-center .heading { margin-inline: auto; }
.section-head-split {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap; margin-bottom: 56px;
}
.section-head-split .heading { max-width: 640px; }
.section-aside { font-size: 16px; color: var(--ink-soft); max-width: 360px; margin: 0; }

section { padding: 120px 0; }
.band {
  background: var(--band);
  border-top: 1px solid rgba(38, 39, 31, 0.1);
  border-bottom: 1px solid rgba(38, 39, 31, 0.1);
}

/* ---------- Buttons & links ---------- */
.btn {
  --pad-y: 15px;
  display: inline-block;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  padding: var(--pad-y) 28px;
  border-radius: 5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 11px 20px; font-size: 14.5px; }
.btn-block { width: 100%; }

.btn-forest { background: var(--forest); color: #f4f1ea; }
.btn-forest:hover { background: #263a27; box-shadow: 0 10px 24px -12px rgba(38, 49, 31, 0.6); }

.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #f4f1ea; }

.btn-paper { background: #f4f1ea; color: var(--forest); font-weight: 600; }
.btn-paper:hover { background: #fff; }

.link-arrow {
  font-size: 15.5px; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid rgba(38, 39, 31, 0.35); padding-bottom: 3px;
  transition: border-color .2s ease;
}
.link-arrow:hover { border-bottom-color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad-x);
  background: rgba(244, 241, 234, 0.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em; text-decoration: none; color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links > a:not(.btn) {
  font-size: 14.5px; color: #4b4a3f; text-decoration: none;
  transition: color .18s ease;
}
.nav-links > a:not(.btn):hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 112px; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 72px; align-items: center;
}
.hero-copy .eyebrow { color: var(--accent); margin-bottom: 26px; }
.lede {
  font-size: 19px; line-height: 1.6; color: var(--ink-soft);
  max-width: 520px; margin: 0 0 36px;
}
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.meta-row {
  margin: 40px 0 0; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-muted);
}
.meta-row .sep { opacity: 0.5; }

.hero-figure { position: relative; margin: 0; }
.hero-image {
  height: 600px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); background: #e7e0cf;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute; bottom: -26px; left: -26px;
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 7px; padding: 16px 20px; max-width: 230px;
  box-shadow: 0 18px 40px -20px rgba(38, 39, 31, 0.35);
}
.hero-card .eyebrow { margin: 0 0 7px; font-size: 10.5px; letter-spacing: 0.14em; }
.hero-card-title { font-family: var(--serif); font-size: 19px; line-height: 1.25; color: var(--ink); }

/* ---------- How it works ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
.step { padding: 34px 30px; border-right: 1px solid var(--line); }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; border-right: none; }
.step-num { display: block; font-family: var(--serif); font-size: 15px; color: var(--accent); margin-bottom: 20px; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; margin: 0 0 12px; color: var(--ink); }
.step p { font-size: 15.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ---------- Programs ---------- */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.program-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: 44px 40px;
}
.program-card .eyebrow { font-size: 11px; letter-spacing: 0.14em; margin-bottom: 16px; }
.program-title { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0 0 16px; color: var(--ink); }
.program-body { font-size: 16.5px; color: var(--ink-soft); margin: 0 0 28px; line-height: 1.6; }
.program-body em { font-family: var(--serif); font-style: italic; }

.program-card-dark { background: var(--forest); border-color: rgba(38, 39, 31, 0.12); color: var(--forest-ink); }
.program-card-dark .eyebrow { color: var(--forest-mut); }
.program-card-dark .program-title { color: #f4f1ea; }
.program-card-dark .program-body { color: var(--forest-soft); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tag {
  font-family: var(--mono); font-size: 12px; color: #3f4a3a;
  background: #e9ecdf; border: 1px solid rgba(47, 64, 48, 0.18);
  border-radius: 100px; padding: 6px 13px;
}
.tag-dark {
  color: var(--forest-ink); background: rgba(244, 241, 234, 0.1);
  border-color: rgba(244, 241, 234, 0.28);
}

/* ---------- Results ---------- */
.results { text-align: center; }
.results .eyebrow { margin-bottom: 34px; }
.pull-quote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.4vw, 39px); line-height: 1.28; letter-spacing: -0.01em;
  margin: 0 0 30px; color: var(--ink);
}
.attribution {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-muted); margin: 0;
}
.result-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 72px; padding-top: 44px; border-top: 1px solid var(--line-strong);
}
.result-col { padding: 0 20px; border-right: 1px solid var(--line); }
.result-col:last-child { border-right: none; }
.result-lead { font-family: var(--serif); font-size: 19px; color: var(--ink); margin: 0 0 10px; }
.result-body { font-size: 15px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.portrait {
  height: 340px; border-radius: 8px; margin-bottom: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 30% 0%, #efe7d6 0%, #e3d9c4 55%, #d7cbb2 100%);
  display: flex; align-items: flex-end; padding: 16px;
}
.portrait span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #5d5a4e;
  background: var(--bg); padding: 5px 9px;
  border: 1px solid rgba(38, 39, 31, 0.14); border-radius: 3px;
}
.person-name { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 4px; }
.person-role {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 12px;
}
.person-bio { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.scarcity {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-muted); margin: 16px 0 0;
}
.section-head-center .scarcity { text-align: center; }

.price-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: 40px 34px;
}
.price-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.price-name { font-family: var(--serif); font-weight: 500; font-size: 25px; margin: 0 0 6px; }
.price-head .price-name { margin: 0; }
.price-sub { font-size: 14.5px; color: var(--ink-muted); margin: 0 0 24px; }
.price-amount { font-family: var(--serif); font-size: 44px; color: var(--ink); margin: 0 0 2px; }
.price-unit {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-muted); margin: 0 0 28px;
}
.price-body { font-size: 15px; color: var(--ink-soft); margin: 0 0 28px; line-height: 1.55; flex: 1; }
.price-card .btn { text-align: center; }

.price-card-feature {
  background: var(--forest); border-color: var(--forest); color: var(--forest-ink);
  box-shadow: 0 30px 60px -30px rgba(38, 49, 31, 0.6);
}
.price-card-feature .price-name { color: #f4f1ea; }
.price-card-feature .price-sub { color: var(--forest-mut); }
.price-card-feature .price-amount { color: #f4f1ea; }
.price-card-feature .price-unit { color: var(--forest-mut); }
.price-card-feature .price-body { color: var(--forest-soft); }
.badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--forest);
  background: var(--accent); padding: 4px 9px; border-radius: 100px;
}

/* ---------- Consult ---------- */
.consult { background: var(--forest-deep); color: var(--forest-ink); }
.consult-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.consult-copy .display { margin-bottom: 22px; }
.consult-lede { font-size: 17.5px; color: #c9cfbc; margin: 0; line-height: 1.6; max-width: 420px; }

.consult-form {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg); border-radius: 12px; padding: 32px; color: var(--ink);
}
.consult-form input,
.consult-form select {
  font-family: var(--sans); font-size: 15px; padding: 14px 16px;
  border: 1px solid rgba(38, 39, 31, 0.2); border-radius: 6px;
  background: var(--paper); color: var(--ink); outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.consult-form input:focus,
.consult-form select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(47, 64, 48, 0.15);
}
.consult-form button { border: none; font-weight: 600; padding: 15px; }
.form-note {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-muted); text-align: center; margin: 4px 0 0;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
.faq-q { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.faq-sign {
  font-family: var(--mono); font-size: 22px; color: var(--accent);
  line-height: 1; flex-shrink: 0; width: 18px; text-align: center;
}
.faq-sign::before { content: "+"; }
.faq details[open] .faq-sign::before { content: "\2013"; }
.faq-a { font-size: 16.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; padding: 0 60px 28px 4px; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0; background: var(--ink); color: #c9c6b8; }
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
}
.footer-name { font-family: var(--serif); font-size: 22px; color: #f4f1ea; margin: 0 0 10px; }
.footer-tag { font-size: 14.5px; color: #8f8c7f; margin: 0; max-width: 300px; line-height: 1.55; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: #c9c6b8; text-decoration: none; transition: color .18s ease; }
.footer-col a:hover { color: #f4f1ea; }
.footer-muted { font-size: 14.5px; color: #8f8c7f; }
.footer-legal {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(244, 241, 234, 0.12);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: #8f8c7f;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad-x: 40px; }
  .hero-grid { gap: 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid var(--line); }
  .step:nth-child(2) { padding-right: 0; border-right: none; }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(even) { border-right: none; }
}

@media (max-width: 860px) {
  section { padding: 88px 0; }
  .nav { padding: 16px var(--pad-x); }
  .nav-links { gap: 20px; }
  .nav-links > a:not(.btn):nth-child(-n + 5) { display: none; }
  .hero { padding: 64px 0 96px; }
  .hero-grid,
  .programs,
  .consult-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-image { height: 420px; }
  .hero-card { left: 16px; bottom: -20px; }
  .team,
  .pricing { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 44px; }
}

@media (max-width: 560px) {
  :root { --pad-x: 22px; }
  .steps,
  .result-cols { grid-template-columns: 1fr; }
  .step { border-right: none; padding: 26px 0; }
  .result-col { border-right: none; padding: 18px 0; }
  .result-col:not(:last-child) { border-bottom: 1px solid var(--line); }
  .hero-image { height: 340px; }
  .program-card,
  .price-card { padding: 32px 26px; }
  .consult-form { padding: 24px; }
  .footer-grid { flex-direction: column; }
}

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