@font-face { font-family: "Libre Baskerville"; src: url("fonts/libre-baskerville-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("fonts/libre-baskerville-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("fonts/libre-baskerville-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("fonts/aileron-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("fonts/aileron-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("fonts/aileron-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #000000;
  --paper: #ffffff;
  --oak: #2f4a3a;        /* valley oak green */
  --oak-deep: #23382c;
  --blossom: #f6ecee;    /* almond blossom */
  --gold: #b08a3e;       /* orchard gold, decorative only */
  --stone: #55514c;      /* secondary text */
  --rule: #d9d4cf;
  --serif: "Libre Baskerville", Baskerville, Georgia, serif;
  --sans: "Aileron", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 34em; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.mark { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1.05; }
.mark-name { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.04em; }
.mark-sub { font-family: var(--serif); font-style: italic; font-size: 0.9rem; color: var(--oak); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 0.98rem; font-weight: 600; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }
.lang { font: 600 0.92rem/1 var(--sans); background: none; border: 1.5px solid var(--ink); padding: 9px 14px; cursor: pointer; color: var(--ink); }
.lang:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 820px) { .nav .nav-link { display: none; } }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.08; letter-spacing: -0.012em; }
.hero-lede { margin-top: 28px; font-size: 1.2rem; color: var(--stone); max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { display: inline-block; font: 700 1rem/1 var(--sans); padding: 17px 24px; text-decoration: none; border: 2px solid var(--ink); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--oak); border-color: var(--oak); }
.btn-line:hover { background: var(--blossom); }
.door { background: var(--blossom); padding: 32px 28px 0; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-height: 360px; }
.door svg { width: 100%; max-width: 300px; height: auto; }
.door.animate .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 2.2s cubic-bezier(.6,.1,.3,1) forwards; }
.door.animate .draw.d2 { animation-delay: .6s; animation-duration: 1.6s; }
.door.animate .draw.d3 { animation-delay: 1.3s; animation-duration: 1.2s; }
.door.animate .knob { opacity: 0; animation: fade .4s ease 2.3s forwards; }
@keyframes fade { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .door.animate .draw, .door.animate .knob { animation: none; stroke-dashoffset: 0; opacity: 1; } }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .door { min-height: 0; padding-top: 24px; }
  .door svg { max-width: 220px; }
}

/* Status */
.status { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.status .wrap { display: grid; grid-template-columns: 12rem 1fr; gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.status h2 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; padding-top: 3px; }
.status p { margin: 0; max-width: 46em; }
@media (max-width: 700px) { .status .wrap { grid-template-columns: 1fr; gap: 8px; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.15; margin-bottom: 20px; }
.intro { font-size: 1.18rem; color: var(--stone); max-width: 36em; }

/* Path (sequence) */
.path { background: var(--oak); color: var(--paper); }
.path .intro { color: #dfe7e1; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: rgba(255,255,255,0.35); }
.step { position: relative; padding: 0 28px 0 0; }
.step-num { width: 45px; height: 45px; border-radius: 50%; border: 1.5px solid var(--paper); background: var(--oak); display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem; position: relative; }
.step:first-child .step-num { background: var(--paper); color: var(--oak); }
.step-when { display: block; margin-top: 22px; font-weight: 700; font-size: 0.95rem; color: #e9d8a8; }
.step h3 { font-size: 1.45rem; line-height: 1.25; margin: 8px 0 12px; }
.step p { color: #e4ebe6; font-size: 1.02rem; margin: 0; }
.path-note { margin-top: 44px; color: #dfe7e1; font-size: 0.98rem; max-width: 40em; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .step { padding: 0 0 0 70px; }
  .step-num { position: absolute; left: 0; top: 0; }
  .step-when { margin-top: 0; }
}

/* Commitments */
.commit { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); }
.commit-list { margin: 0; }
.commit-list div { padding: 22px 0; border-top: 1px solid var(--rule); }
.commit-list div:last-child { border-bottom: 1px solid var(--rule); }
.commit-list dt { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 6px; }
.commit-list dd { margin: 0; color: var(--stone); }
.commit-note { margin-top: 24px; font-size: 0.98rem; color: var(--stone); }
@media (max-width: 820px) { .commit { grid-template-columns: 1fr; } }

/* Families */
.families { background: var(--blossom); }
.families .cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.families h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 12px 0 12px 30px; border-top: 1px solid #e3cfd4; position: relative; }
.ticks li:last-child { border-bottom: 1px solid #e3cfd4; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 14px; height: 7px; border-left: 2px solid var(--oak); border-bottom: 2px solid var(--oak); transform: rotate(-45deg); }
@media (max-width: 820px) { .families .cols { grid-template-columns: 1fr; } }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); margin-top: 44px; }
.person { border-top: 3px solid var(--ink); padding-top: 24px; }
.person h3 { font-size: 1.75rem; line-height: 1.2; }
.person .role { font-weight: 700; color: var(--oak); margin: 8px 0 16px; font-size: 1rem; }
.person p { color: var(--stone); }
.owned { margin-top: 36px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }

/* Careers */
.careers { border-top: 1px solid var(--rule); }
.careers .cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); }
.req { background: var(--oak); color: var(--paper); padding: 28px 30px; }
.req h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.req ul { margin: 0; padding-left: 20px; }
.req li { margin-bottom: 8px; }
@media (max-width: 820px) { .careers .cols { grid-template-columns: 1fr; } }

/* Contact */
.contact { background: var(--blossom); }
.contact .cols { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); }
.email-line { font-family: var(--serif); font-size: 1.15rem; word-break: break-word; }
.email-line a { text-decoration-color: var(--gold); text-underline-offset: 4px; }
form .field { margin-bottom: 20px; }
form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 1rem; }
form .opt { font-weight: 400; color: var(--stone); }
input, select, textarea { width: 100%; font: 400 1.05rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 0; padding: 13px 14px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea { min-height: 150px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.privacy { font-size: 0.95rem; color: var(--stone); margin: 4px 0 22px; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button.btn { cursor: pointer; }
.form-msg { margin-top: 16px; padding: 14px 16px; border-left: 4px solid var(--oak); background: var(--paper); display: none; }
.form-msg.show { display: block; }
.form-msg.err { border-left-color: #a12a2a; }

/* Footer */
.site-foot { background: var(--ink); color: var(--paper); padding: 56px 0 40px; font-size: 0.98rem; }
.site-foot .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; }
.site-foot .mark-sub { color: #d9c591; }
.site-foot p { color: #d6d6d6; max-width: 40em; }
.site-foot a { color: var(--paper); }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid #3a3a3a; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #bdbdbd; font-size: 0.9rem; }
.site-foot .lang { border-color: var(--paper); color: var(--paper); }
.site-foot .lang:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr; } }

/* Simple pages */
.simple { min-height: 60vh; display: grid; align-items: center; padding: 80px 0; }
.simple h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
