/* Athentura — site styles
   Palette: deep lagoon ink, cool paper, lagoon teal, sand, lotus accent (used once per view). */
:root {
  --ink: #12302e;
  --ink-soft: #3d5553;
  --paper: #f8faf9;
  --surface: #ffffff;
  --lagoon: #1f7a73;
  --lagoon-deep: #155c56;
  --sand: #ebe5d8;
  --lotus: #b8406f;
  --line: #d6dfdd;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --measure: 66ch;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}
img { max-width: 100%; height: auto; }
a { color: var(--lagoon-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--lotus); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 10; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); max-width: 18ch; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 22ch; }
h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.3rem); color: var(--ink-soft); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.site-header ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; }
.site-header nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 6px 0; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--lagoon); }

/* Sections */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-tint { background: var(--sand); border-top: 0 !important; }
.section-ink { background: var(--ink); color: #e8f0ee; border-top: 0 !important; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: #c9d8d5; }
.section-ink a { color: #fff; }

/* Hero */
.hero { padding: clamp(64px, 11vw, 132px) 0 clamp(48px, 8vw, 96px); }
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { max-width: 58ch; }

/* The one memorable device: the two practice lines, set as a split ledger */
.practices { display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--ink); margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 760px) { .practices { grid-template-columns: 1fr 1fr; } }
.practice { padding: 28px 0 8px; }
@media (min-width: 760px) {
  .practice:first-child { padding-right: 40px; border-right: 1px solid var(--line); }
  .practice:last-child { padding-left: 40px; }
}
.practice .kicker { font-family: var(--display); font-weight: 500; color: var(--lagoon); font-size: 1.05rem; margin-bottom: 6px; }
.practice h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 28px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--lotus); border-color: var(--lotus); color: #fff; }
.btn-primary:hover { background: #9c3360; border-color: #9c3360; color: #fff; }

/* Sequential steps (Advise -> Build -> Operate is a real sequence) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0; display: grid; gap: 28px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { counter-increment: step; border-top: 1px solid currentColor; padding-top: 18px; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 12px; color: var(--lagoon); }
.section-ink .steps li::before { color: #7fc4bc; }

/* Two-column text + aside */
.split { display: grid; gap: 32px 56px; }
@media (min-width: 860px) { .split { grid-template-columns: 5fr 6fr; align-items: start; } }

/* Simple lists */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ticks li strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.12rem; }
.section-tint .ticks li { border-color: #d4cbb8; }

/* Curriculum table */
.table-wrap { overflow-x: auto; margin-top: 24px; }
table { border-collapse: collapse; width: 100%; font-size: 0.98rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
th { font-family: var(--display); font-weight: 500; font-size: 1rem; border-bottom: 2px solid var(--ink); }
td:first-child { font-weight: 600; white-space: nowrap; }

/* Format cards: only where items are genuinely parallel offers */
.formats { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 760px) { .formats { grid-template-columns: repeat(2, 1fr); } }
.format { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; }
.format h3 { margin-bottom: 6px; }
.format .meta { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 10px; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); padding: 16px 0; max-width: 72ch; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 500; font-size: 1.12rem; list-style-position: inside; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); }

/* Proof */
.proof { display: grid; gap: 24px 56px; }
@media (min-width: 860px) { .proof { grid-template-columns: 1fr 1fr; align-items: end; } }

/* Contact */
.contact h2 { max-width: 20ch; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d8d5; padding: 48px 0 28px; font-size: 0.97rem; }
.site-footer a { color: #fff; }
.footer-row { display: grid; gap: 20px; }
@media (min-width: 760px) { .footer-row { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.legal { font-size: 0.88rem; margin-top: 24px; color: #9db3af; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
