/* ATLAS · the calm of a well-kept ledger. Ivory paper, pine green, ruled lines, tabular figures.
   Instrument Serif (display, with true italics) + Manrope (text). The live element is the deadline
   clock and a ledger whose figures count up as you arrive. Motion stays slow and quiet. */
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --ivory: #f4f3ef; --paper: #fbfaf7; --pine: #1e3b32; --pine-2: #2c5246; --ink: #17211d; --muted: #56625c; --rule: #dcdcd3; --brass: #9a7a3c; --focus: #2c5246;
  --serif: "Instrument Serif", Georgia, serif; --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { background: var(--ivory); color: var(--ink); font: 16px/1.65 var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; line-height: 1.05; text-wrap: balance; }
h1 i, h2 i { color: var(--pine-2); }
p { margin: 0; }
.w-full { width: 100%; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font: 700 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-2); }
.btn-quiet { color: var(--pine); border-color: var(--rule); background: var(--paper); }
.btn-quiet:hover { border-color: var(--pine); }
.btn-ivory { background: var(--ivory); color: var(--pine); }
.btn-ivory:hover { background: #fff; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(244,243,239,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.scrolled { border-color: var(--rule); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pine); font: 400 26px/1 var(--serif); }
.brand svg { width: 24px; height: 24px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--pine); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--pine); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: #3f8f68; }
.hero h1 { font-size: clamp(52px, 7vw, 100px); margin-top: 22px; }
.lede { margin-top: 24px; font-size: 18px; max-width: 32em; color: #34403a; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* The ledger card */
.ledger { margin: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 28px 30px 22px; box-shadow: 0 30px 60px -36px rgba(23,33,29,.35);
  background-image: repeating-linear-gradient(transparent 0 43px, rgba(30,59,50,.06) 43px 44px); background-position: 0 66px; }
.ledger figcaption { font-size: 13px; font-weight: 700; color: var(--muted); }
.ledger dl { margin: 14px 0 0; }
.ledger dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.ledger dt { color: #34403a; }
.ledger dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.ledger .sum { border-bottom: 0; border-top: 2px solid var(--pine); margin-top: 6px; padding-top: 14px; }
.ledger .sum dt { font-weight: 700; color: var(--pine); }
.ledger .sum dd { font: 400 34px/1 var(--serif); color: var(--pine); }
.spark { width: 100%; height: 64px; margin-top: 14px; }
.spark path { fill: none; stroke: var(--brass); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .js .spark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .spark.in path { animation: draw 2.4s cubic-bezier(.6,0,.2,1) .3s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Deadline band */
.season { background: var(--pine); color: var(--ivory); }
.season-in { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.season-k { font-size: 14px; font-weight: 600; color: #c9d6cf; max-width: 12em; }
.clock { display: flex; gap: 34px; }
.clock span { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: #c9d6cf; }
.clock b { font: 400 54px/1 var(--serif); color: #fff; font-variant-numeric: tabular-nums; min-width: 1.15em; text-align: right; }

/* Section heads */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 32px; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(38px, 4.6vw, 60px); }
.sec-head p { color: var(--muted); }

/* Fees table */
.services { padding: 110px 0 60px; }
.fees { width: 100%; border-collapse: collapse; font-size: 16px; }
.fees thead th { text-align: left; font-size: 13px; font-weight: 700; color: var(--muted); padding: 0 0 12px; border-bottom: 2px solid var(--pine); }
.fees thead th:last-child, .fees td:last-child { text-align: right; }
.fees tbody th { text-align: left; font: 400 24px/1.2 var(--serif); padding: 20px 24px 20px 0; vertical-align: baseline; width: 30%; }
.fees td { padding: 20px 0; color: var(--muted); border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.fees tbody th { border-bottom: 1px solid var(--rule); }
.fees td:last-child { color: var(--pine); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 24px; }
.fees tbody tr { transition: background .25s; }
.fees tbody tr:hover { background: var(--paper); }

/* Process: a rule that draws across as the steps arrive */
.process { padding: 80px 0 100px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--pine); transform-origin: 0 50%; }
.js .steps::before { transform: scaleX(0); transition: transform 1.6s cubic-bezier(.6,0,.2,1); }
.js .steps.in::before { transform: none; }
.steps li { position: relative; }
.steps .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--pine); font: 400 22px/1 var(--serif); color: var(--pine); position: relative; }
.steps h3 { font-size: 30px; margin-top: 22px; }
.steps p { margin-top: 8px; color: var(--muted); }
.secure { margin-top: 48px; display: flex; gap: 12px; align-items: flex-start; padding: 18px 22px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); color: #34403a; font-size: 15px; }
.secure .ic { width: 20px; height: 20px; color: var(--pine); margin-top: 2px; }

/* People and quotes */
.people { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-bottom: 110px; }
.people figure { margin: 0; }
.people img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.quotes { display: grid; gap: 36px; }
.quotes blockquote { margin: 0; }
.quotes p { font: 400 28px/1.25 var(--serif); }
.quotes footer { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { padding: 100px 0; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq h2 { font-size: clamp(38px, 4.6vw, 60px); }
.faq header p { margin-top: 12px; color: var(--muted); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 400 26px/1 var(--serif); color: var(--pine); transition: transform .3s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 0 20px; color: var(--muted); max-width: 42em; }

/* Book */
.book { padding: 110px 0; }
.book-in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.book h2 { font-size: clamp(38px, 4.6vw, 60px); }
.lede-sm { margin-top: 12px; color: var(--muted); font-size: 17px; }
.visit { margin: 32px 0 0; }
.visit div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.visit dt { font-weight: 700; font-size: 14px; color: var(--muted); }
.visit dd { margin: 0; }
.visit a { color: var(--pine); font-weight: 700; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 28px; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: var(--muted); }
.form input, .form select { min-height: 48px; border-radius: 10px; border: 1px solid var(--rule); background: #fff; padding: 0 14px; font: 500 16px var(--sans); color: var(--ink); }
.form input:focus, .form select:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(44,82,70,.15); }
.seg { border: 0; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.seg legend { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.seg [data-choice] { border-radius: 10px; color: var(--pine); border-color: var(--rule); background: #fff; min-height: 44px; }
.seg [data-choice][aria-pressed="true"] { background: var(--pine); color: #fff; border-color: var(--pine); }
.done h3 { font-size: 34px; } .done p { margin-top: 10px; color: var(--muted); }
.demo-note { color: var(--muted); opacity: 1; }

.ftr { border-top: 1px solid var(--rule); }
.ftr-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 28px; padding-bottom: 36px; font-size: 14px; color: var(--muted); }
.ftr a { color: var(--pine); }
.callbar { background: rgba(251,250,247,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--rule); }

@media (max-width: 900px) {
  .nav { position: fixed; inset: 70px 0 auto; flex-direction: column; gap: 0; padding: 8px 20px 18px; background: var(--ivory); border-bottom: 1px solid var(--rule); transform: translateY(-130%); transition: transform .35s ease; }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--rule); }
  .menu-btn { display: block; }
  .hdr .btn-sm { margin-left: auto; }
  .hero-in, .people, .faq-in, .book-in { grid-template-columns: 1fr; gap: 44px; }
  .season-in { grid-template-columns: 1fr; gap: 16px; }
  .clock { gap: 22px; } .clock b { font-size: 42px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: 50% 0; }
  .js .steps::before { transform: scaleY(0); } .js .steps.in::before { transform: none; }
  .steps li { padding-left: 64px; } .steps .n { position: absolute; left: 0; top: 0; } .steps h3 { margin-top: 4px; }
  .fees thead { display: none; }
  .fees, .fees tbody, .fees tr, .fees th, .fees td { display: block; width: auto; }
  .fees tbody tr { padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .fees tbody th, .fees td { border: 0; padding: 0; }
  .fees td { margin-top: 4px; text-align: left !important; }
  .fees td:last-child { padding-left: 0; margin-top: 8px; }
}
@media (max-width: 480px) { .hdr .btn-sm { display: none; } .menu-btn { margin-left: auto; } .form .row { grid-template-columns: 1fr; } }
