:root {
  --ink: #14213d;
  --ink-soft: #2a3a5e;
  --paper: #faf7f2;
  --tint: #f1ebe0;
  --card: #ffffff;
  --line: #e4ddd0;
  --muted: #5b6477;
  --accent: #d9480f;
  --accent-dark: #b23a0a;
  --warn-bg: #fff4e0;
  --warn-ink: #7a4a00;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; max-width: 14ch; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: inherit; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 700; color: var(--accent); margin-bottom: .8em;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 247, 242, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: #fff; border: 2px solid var(--accent);
  padding: 13px 24px; border-radius: 999px; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-small { padding: 7px 16px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: default; }

/* Hero */
.hero { padding: 80px 0 64px; position: relative; overflow: hidden; }
.hero-inner { position: relative; }
.hero-mark { position: absolute; right: max(24px, calc(50% - 560px)); top: 50%; transform: translateY(-50%); height: 78%; width: auto; opacity: .08; pointer-events: none; }
.lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.heads-up {
  display: inline-block; background: var(--warn-bg); color: var(--warn-ink);
  border: 1px solid #f0d9a8; border-radius: 10px; padding: 10px 16px;
  text-decoration: none; font-size: .97rem;
}
.heads-up:hover { border-color: var(--warn-ink); }

/* Sections */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark p { color: #d5dbe8; }
.section-dark .eyebrow { color: #ff9a62; }
.section-intro { color: var(--muted); max-width: 60ch; }

.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 14px;
}

/* Timeline / fit */
.timeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.fit { display: grid; gap: 16px; }
.fit-col { border-radius: var(--radius); padding: 22px 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.fit-col h3 { margin-bottom: .6em; }
.fit-col ul { margin: 0; padding: 0; list-style: none; }
.fit-col li { padding-left: 28px; position: relative; margin-bottom: 6px; color: #e3e8f2; }
.fit-col li::before { position: absolute; left: 0; font-weight: 800; }
.fit-yes li::before { content: "\2713"; color: #7ddc9b; }
.fit-no li::before { content: "\2715"; color: #ff9a62; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.filter {
  font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-soft);
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.item-photo { aspect-ratio: 4 / 3; background: var(--tint); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.item-soon { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.item-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-photo svg { width: 64px; height: 64px; stroke: var(--ink-soft); fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; opacity: .55; }
.item-body { padding: 16px 18px 18px; }
.item-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--accent); }
.item-body h3 { margin: 4px 0 4px; }
.item-body p { margin: 0; color: var(--muted); font-size: .94rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.about p { color: var(--ink-soft); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-intro p { color: var(--muted); }
.steps { padding-left: 1.2em; color: var(--ink-soft); }
.steps li { margin-bottom: 8px; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: .93rem; }
.form label > input:not([type="checkbox"]), .form label > textarea { display: block; margin-top: 6px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form textarea {
  font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #cfc7b8; border-radius: 9px;
  background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .invalid { border-color: #c0261c; background: #fff6f5; }
.req { color: var(--accent); }
.check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.date-warning { margin: -6px 0 0; background: var(--warn-bg); color: var(--warn-ink); border: 1px solid #f0d9a8; border-radius: 9px; padding: 10px 14px; font-size: .93rem; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: #1c7a3e; }
.form-status.err { color: #c0261c; }

/* Footer */
.site-footer { background: var(--ink); color: #c5cde0; padding: 28px 0; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.site-footer .logo img { height: 28px; }

@media (max-width: 820px) {
  .nav a:not(.btn) { display: none; }
  .logo img { height: 26px; }
  .hero-mark { display: none; }
  .hero { padding: 52px 0 44px; }
  .section { padding: 52px 0; }
  .cards.three, .timeline-grid, .about, .contact, .row { grid-template-columns: 1fr; }
  .timeline-grid, .about, .contact { gap: 28px; }
}

/* About page */
.nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.about-hero { padding-top: 56px; }
.about-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.about-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.about-hero p { color: var(--ink-soft); }
.signoff { font-weight: 700; color: var(--ink) !important; margin-top: 1.4em; }
.family-photo { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 18px 40px rgba(20, 33, 61, .18); }
.family-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; display: block; }
.cards.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.cards.two .card { display: flex; flex-direction: column; }
.cards.two .card p { margin-bottom: 18px; }
.text-link { margin-top: auto; font-weight: 700; color: var(--accent); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.teach-intro { max-width: 60ch; }
.teach-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.teach-steps li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 22px; }
.teach-steps span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); font-weight: 800; margin-bottom: 14px; }
.teach-steps h3 { margin-bottom: .35em; }
.teach-steps p { margin: 0; font-size: .95rem; }
.cta { text-align: center; }
.cta p { color: var(--muted); max-width: 56ch; margin: 0 auto; }
.cta .hero-actions { justify-content: center; margin-bottom: 0; }
@media (max-width: 820px) {
  .about-hero-grid, .cards.two { grid-template-columns: 1fr; }
  .about-hero-grid { gap: 28px; }
  .teach-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .teach-steps { grid-template-columns: 1fr; } }
