/* Oppam — site styles. No external fonts or frameworks. */

:root {
  --bg: #f6f1e8;
  --bg-tint: #ece6d8;
  --surface: #fffdf8;
  --ink: #23342a;
  --ink-soft: #55605a;
  --line: #d9d1c0;
  --sage: #3e5e48;
  --sage-soft: #dfe7d6;
  --rose: #b06854;
  --rose-soft: #f1ddd4;
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgb(35 52 42 / .06), 0 8px 24px rgb(35 52 42 / .08);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161c18;
    --bg-tint: #1d2520;
    --surface: #222b25;
    --ink: #e9ece4;
    --ink-soft: #a9b3aa;
    --line: #34403a;
    --sage: #9cc3a3;
    --sage-soft: #2a3a2f;
    --rose: #e3a08c;
    --rose-soft: #3b2a25;
    --on-accent: #10160f;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--sage); text-underline-offset: 3px; }
a:hover { color: var(--rose); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

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

/* Mark (two overlapping circles = togetherness) */
.mark { width: 1.9em; height: auto; fill: none; stroke-width: 2.6; vertical-align: middle; }
.mark circle:first-child { stroke: var(--sage); }
.mark circle:last-child { stroke: var(--rose); }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--sage); color: var(--on-accent);
  font: 600 1rem/1 var(--sans); padding: 15px 24px; border-radius: 999px;
  text-decoration: none; transition: transform .15s, background .15s;
}
.btn:hover { background: var(--rose); color: var(--on-accent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 1.35rem var(--serif); }
.brand:hover { color: var(--ink); }
#nav { display: flex; align-items: center; gap: 26px; }
#nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
#nav a:not(.btn):hover { color: var(--rose); }
.menu-btn { display: none; }

@media (max-width: 820px) {
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 0; color: var(--ink); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; } .bars::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

  #nav {
    position: absolute; left: 0; right: 0; top: 66px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px; display: none;
  }
  #nav.open { display: flex; }
  #nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  #nav .btn { margin-top: 14px; text-align: center; }
  .no-js #nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.lede strong { color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-photo { margin: 0; position: relative; justify-self: center; max-width: 420px; }
.hero-photo::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px;
  border: 2px solid var(--rose); border-radius: 200px 200px 24px 24px; z-index: 0;
}
.hero-photo img { position: relative; border-radius: 200px 200px 24px 24px; box-shadow: var(--shadow); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 320px; order: -1; margin-top: 12px; }
}

/* Quote band */
.quote-band { background: var(--sage); color: #f6f1e8; padding: clamp(48px, 7vw, 80px) 0; }
@media (prefers-color-scheme: dark) { .quote-band { background: var(--sage-soft); color: var(--ink); } }
blockquote { margin: 0; font: italic 400 clamp(1.15rem, 2.2vw, 1.45rem)/1.6 var(--serif); position: relative; }
blockquote::before { content: "“"; position: absolute; left: -.2em; top: -.55em; font-size: 5em; opacity: .18; line-height: 1; }
blockquote footer { font: 600 .95rem var(--sans); font-style: normal; letter-spacing: .08em; margin-top: 12px; opacity: .85; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.tint { background: var(--bg-tint); }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.prose { max-width: 40em; }
.ml { color: var(--rose); font-family: var(--sans); font-weight: 500; }
.meaning { font: italic 1.35rem var(--serif); color: var(--ink-soft); }
.aka { font-size: .6em; color: var(--ink-soft); font-weight: 400; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { color: var(--sage); }
.card p:last-child { margin: 0; }

.when { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.when > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
@media (max-width: 820px) { .when { grid-template-columns: 1fr; } }
.ticks, .crosses { list-style: none; padding: 0; margin: 0; }
.ticks li, .crosses li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before, .crosses li::before {
  position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 700;
}
.ticks li::before { content: "✓"; background: var(--sage-soft); color: var(--sage); }
.crosses li::before { content: "✕"; background: var(--rose-soft); color: var(--rose); }

/* Services */
.service-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 40px; margin-top: 28px; }
.group h3 { font-size: 1.15rem; margin-bottom: .7em; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; font-size: .95rem; }

/* About */
.about h3 { margin-top: 1.4em; }
.about > div:last-child h3 { margin-top: 0; }
.creds { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.creds dt { font-weight: 600; color: var(--sage); }
.creds dd { margin: 0; }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } .creds dd { margin-bottom: 8px; } }

.timeline { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 20px 16px; display: grid; gap: 2px; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: .45em; width: 12px; height: 12px;
  border-radius: 50%; background: var(--bg-tint); border: 2px solid var(--rose);
}
.timeline li:nth-child(-n+2)::before { background: var(--rose); }
.yr { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--rose); }

/* Contact */
.crisis { margin-top: 28px; padding: 20px 22px; border-radius: var(--radius); background: var(--rose-soft); border-left: 4px solid var(--rose); }
.crisis h3 { font-size: 1.05rem; font-family: var(--sans); margin-bottom: .4em; }
.crisis p { margin: 0; font-size: .96rem; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--ink-soft); }
.form input, .form textarea {
  font: 1rem var(--sans); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-soft); }
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { justify-self: start; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 500; }
.form-status.ok { color: var(--sage); }
.form-status.err { color: var(--rose); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--ink-soft); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer p { margin: 0; }

/* 404 */
.center { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 8px; }
