:root {
  --ink: #150c08;
  --ink-soft: #25130c;
  --paper: #d8b977;
  --cream: #f5e3bf;
  --gold: #d39a2d;
  --gold-light: #e8b84d;
  --rust: #a43b24;
  --line: rgba(224, 164, 65, .3);
  --muted: #b9956f;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', 'Baskerville', 'Times New Roman', serif;
  --sans: 'DM Sans', 'Avenir Next', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--cream); color: var(--ink); padding: .75rem 1rem; border-radius: 2px; }
.skip-link:focus { top: 1rem; }

.site-header { height: 88px; padding: 0 clamp(1.25rem, 4vw, 5rem); display: flex; align-items: center; justify-content: space-between; position: absolute; inset: 0 0 auto; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.14); }
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: .28rem; }
.brand { display: inline-flex; align-items: flex-end; gap: .42rem; text-decoration: none; line-height: 1; }
.brand-k { font-size: .74rem; letter-spacing: .31em; font-weight: 600; padding-bottom: .22rem; }
.brand-m { font-family: var(--serif); font-size: 2rem; color: var(--gold-light); font-style: italic; }
.brand-endorsement { color: rgba(255,255,255,.56); font-size: .53rem; font-weight: 500; letter-spacing: .14em; line-height: 1.2; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.brand-endorsement:hover { color: var(--gold-light); }
.site-header nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.75rem); font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; }
.site-header nav a { text-decoration: none; color: rgba(255,255,255,.8); }
.site-header nav a:hover { color: white; }
.nav-cta { min-height: 44px; border: 1px solid rgba(255,255,255,.55); background: transparent; color: white; padding: .75rem 1rem; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; }

.hero { min-height: 780px; height: 100svh; position: relative; display: flex; align-items: center; overflow: hidden; padding: 7rem clamp(1.25rem, 7vw, 8rem) 4rem; }
.hero-art { position: absolute; inset: 0 0 0 45%; background: url('./assets/karibu-mezani.jpg') center / cover no-repeat; filter: saturate(.7) contrast(1.1) brightness(.65); transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #150c08 8%, rgba(21,12,8,.98) 35%, rgba(21,12,8,.72) 63%, rgba(21,12,8,.28) 100%), linear-gradient(0deg, rgba(21,12,8,.84), transparent 44%); }
.hero-shade::after { content: ''; position: absolute; width: 42rem; height: 42rem; right: -14rem; top: -17rem; border: 1px solid rgba(232,184,77,.34); border-radius: 50%; box-shadow: 0 0 0 7rem rgba(211,154,45,.06), 0 0 0 14rem rgba(164,59,36,.04); }
.hero-content { position: relative; z-index: 2; width: min(700px, 64vw); }
.eyebrow { margin: 0 0 1.35rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; font-weight: 600; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: .98; letter-spacing: -.02em; }
h1 { font-size: clamp(4rem, 8vw, 8.2rem); }
h1 em, h2 em { font-weight: 400; color: var(--gold-light); }
.hero-copy { margin: 2rem 0 2.5rem; max-width: 570px; color: rgba(255,255,255,.73); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 1.3rem; border: 0; padding: .95rem 1.25rem; text-transform: uppercase; font-size: .72rem; letter-spacing: .13em; font-weight: 600; text-decoration: none; cursor: pointer; transition: .2s ease; }
.button-primary { background: var(--cream); color: var(--ink); }
.button-primary:hover { background: white; transform: translateY(-2px); }
.text-link { font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; text-underline-offset: .45rem; }
.hero-note { position: absolute; z-index: 2; bottom: 2rem; left: clamp(1.25rem, 7vw, 8rem); right: clamp(1.25rem, 7vw, 8rem); display: flex; align-items: center; gap: 1.3rem; color: rgba(255,255,255,.48); text-transform: uppercase; font-size: .64rem; letter-spacing: .2em; }
.hero-note i { flex: 1; height: 1px; background: rgba(255,255,255,.14); }

.experience-lab { background: var(--paper); color: var(--ink); padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 4rem; align-items: end; max-width: 1280px; margin: 0 auto 3.25rem; }
.section-heading .eyebrow { color: var(--rust); }
.section-heading h2, .beyond h2 { font-size: clamp(3rem, 5.8vw, 6rem); }
.section-heading > p { margin: 0 0 .6rem; color: #633923; max-width: 420px; }
.lab-shell { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.08fr .92fr; background: #f1d6a3; box-shadow: 0 28px 80px rgba(76,35,14,.2); }
.builder { padding: clamp(1.5rem, 4vw, 3.75rem); }
.builder-heading { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 2.2rem; }
.step-number { width: 2.2rem; height: 2.2rem; border: 1px solid #bd7d35; display: grid; place-items: center; border-radius: 50%; color: var(--rust); font-size: .7rem; font-weight: 600; flex: 0 0 auto; }
.label { margin: 0; font-size: .78rem; text-transform: uppercase; font-weight: 600; letter-spacing: .13em; }
.muted { margin: .25rem 0 0; color: #7f4f34; font-size: .86rem; }
.control-group { margin: 0; padding: 1.45rem 0; border: 0; border-top: 1px solid rgba(94,49,25,.22); }
.control-group legend, .legend-row label { padding: 0; margin-bottom: .9rem; font-size: .76rem; font-weight: 600; color: #5f3423; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #c48d4d; }
.segmented button { padding: .9rem .45rem; background: transparent; color: #5f3423; border: 0; border-right: 1px solid #c48d4d; cursor: pointer; font-size: .77rem; }
.segmented button:last-child { border-right: 0; }
.segmented button.active { background: var(--ink); color: white; }
.hosting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.hosting-card { position: relative; display: flex; gap: .8rem; align-items: center; text-align: left; background: rgba(255,244,215,.16); border: 1px solid #c48d4d; padding: 1rem; cursor: pointer; color: var(--ink); }
.hosting-card.active { border-color: var(--rust); box-shadow: inset 0 0 0 1px var(--rust); }
.hosting-card b { opacity: 0; color: var(--rust); margin-left: auto; }
.hosting-card.active b { opacity: 1; }
.hosting-icon { font-size: 1.4rem; color: var(--rust); }
.hosting-card strong, .hosting-card small { display: block; }
.hosting-card strong { font-size: .84rem; }
.hosting-card small { color: #815036; margin-top: .15rem; line-height: 1.3; }
.legend-row { display: flex; justify-content: space-between; align-items: center; }
.legend-row output { font-family: var(--serif); color: var(--rust); font-size: 1.5rem; }
input[type='range'] { width: 100%; accent-color: var(--rust); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; color: #825036; text-transform: uppercase; font-size: .6rem; letter-spacing: .13em; }
.choice-chips { display: flex; gap: .55rem; flex-wrap: wrap; }
.choice-chips button { min-height: 44px; border: 1px solid #c48d4d; border-radius: 100px; background: rgba(255,244,215,.12); color: #5f3423; padding: .65rem .9rem; cursor: pointer; font-size: .72rem; }
.choice-chips button.active { background: #d6a651; color: #681f15; border-color: #a43b24; }

.recommendation { background: var(--ink-soft); color: var(--cream); padding: clamp(2rem, 4.5vw, 4.5rem); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.recommendation::after { content: ''; position: absolute; width: 22rem; height: 22rem; border: 1px solid rgba(232,184,77,.2); border-radius: 50%; right: -10rem; top: -10rem; }
.rec-topline { display: flex; justify-content: space-between; color: #a37d5c; text-transform: uppercase; font-size: .66rem; letter-spacing: .13em; margin-bottom: auto; }
.signal { display: inline-flex; gap: .55rem; align-items: center; color: var(--gold-light); text-transform: uppercase; font-size: .65rem; letter-spacing: .15em; }
.signal i, .footer-status i { width: .45rem; height: .45rem; border-radius: 50%; background: #70a679; box-shadow: 0 0 0 .25rem rgba(112,166,121,.13); }
.rec-kicker { margin: 4rem 0 .75rem; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; }
.recommendation h3 { color: var(--gold-light); font-size: clamp(3rem, 5vw, 5rem); }
.rec-tagline { color: rgba(255,255,255,.68); font-size: 1.02rem; max-width: 420px; }
.rec-reasons { display: grid; gap: .7rem; margin: 1.2rem 0 1.8rem; }
.rec-reasons span { display: flex; gap: .65rem; color: rgba(255,255,255,.82); font-size: .82rem; }
.rec-reasons span::before { content: '◆'; color: var(--gold); font-size: .55rem; margin-top: .22rem; }
.hosting-advice, .pricing-note { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.hosting-advice span, .pricing-note > span { display: block; color: var(--muted); text-transform: uppercase; font-size: .62rem; letter-spacing: .15em; margin-bottom: .38rem; }
.hosting-advice strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.hosting-advice small { display: block; color: #b08b6b; margin-top: .2rem; }
.pricing-note p { margin: 0; color: #b99576; font-size: .78rem; }
.button-gold { background: var(--gold); color: #140e0a; width: 100%; margin-top: 1rem; }
.button-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.compare-bar { max-width: 1280px; margin: 2rem auto 0; padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(40,27,18,.22); }
.outline-button { min-height: 44px; border: 1px solid #8f512d; background: rgba(255,239,198,.14); padding: .8rem 1rem; cursor: pointer; color: var(--ink); text-transform: uppercase; letter-spacing: .11em; font-size: .67rem; }
.comparison-panel { max-width: 1280px; margin: 0 auto; padding: 2rem 0 0; }
.comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(40,27,18,.18); }
.experience-card { padding: 2rem; border-right: 1px solid rgba(40,27,18,.18); background: rgba(255,255,255,.2); }
.experience-card:last-child { border-right: 0; }
.experience-card.featured { background: #d9a85d; }
.card-number { color: var(--rust); font-size: .68rem; letter-spacing: .15em; margin-bottom: 2rem; }
.experience-card h3 { font-size: 2.2rem; }
.experience-card > p { color: #704229; min-height: 4.8rem; }
.experience-card dl { margin: 1.5rem 0; }
.experience-card dl div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(40,27,18,.15); padding: .75rem 0; font-size: .73rem; }
.experience-card dt { color: #78482f; }
.experience-card dd { margin: 0; text-align: right; font-weight: 600; }
.experience-card button { min-height: 44px; width: 100%; border: 1px solid #7a3f28; background: rgba(255,239,198,.12); padding: .8rem; cursor: pointer; text-transform: uppercase; font-size: .66rem; letter-spacing: .12em; }
.experience-card button:hover { background: var(--ink); color: white; }
.range-disclaimer { margin: .9rem 0 0; color: #72442d; font-size: .7rem; }
.past-events { max-width: 1280px; margin: clamp(4rem, 7vw, 7rem) auto 0; }
.gallery-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; margin-bottom: 1.75rem; }
.gallery-heading .eyebrow { color: var(--rust); margin-bottom: .8rem; }
.gallery-heading h3 { font-size: clamp(2.5rem, 4.4vw, 4.75rem); }
.gallery-heading > p { margin: 0 0 .45rem; color: #633923; max-width: 500px; }
.event-gallery { display: grid; grid-template-columns: 1.06fr .94fr .94fr; gap: 1rem; }
.event-photo { position: relative; min-height: 460px; margin: 0; overflow: hidden; background: #6c301f; }
.event-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s ease, filter .6s ease; }
.event-photo::after { content: ''; position: absolute; inset: 42% 0 0; background: linear-gradient(0deg, rgba(21,12,8,.9), rgba(21,12,8,0)); pointer-events: none; }
.event-photo:hover img { transform: scale(1.025); filter: saturate(1.08); }
.event-photo figcaption { position: absolute; z-index: 1; left: 1.25rem; right: 1.25rem; bottom: 1.2rem; color: var(--cream); }
.event-photo figcaption span { display: block; margin-bottom: .35rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; font-weight: 600; }
.event-photo figcaption strong { display: block; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 400; line-height: 1.05; }
.event-photo-sf-one img { object-position: 50% 38%; }
.event-photo-sf-two img { object-position: 50% 36%; }

.beyond { padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); display: grid; grid-template-columns: 1fr .88fr; gap: clamp(3rem, 7vw, 8rem); background: radial-gradient(circle at 0 100%, rgba(164,59,36,.3), transparent 38%), var(--ink); }
.beyond-story { max-width: 690px; }
.beyond h2 em { display: inline-block; margin-top: .45rem; }
.beyond-story > p:not(.eyebrow) { max-width: 600px; color: #b99a7d; font-size: 1.02rem; margin: 2rem 0 3rem; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principles > div { padding: 1.2rem 1.1rem 0 0; }
.principles span { display: block; color: var(--rust); font-size: .68rem; margin-bottom: 1.5rem; }
.principles strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.principles p { color: #a98669; font-size: .75rem; }
.inquiry-card { background: #efd29a; color: var(--ink); padding: clamp(1.5rem, 3.5vw, 3rem); align-self: start; box-shadow: 0 24px 70px rgba(86,31,13,.2); }
.inquiry-summary { display: grid; grid-template-columns: 1.4fr .65fr 1fr; border-top: 1px solid #c58743; border-bottom: 1px solid #c58743; margin-bottom: 1.6rem; }
.inquiry-summary div { padding: 1rem .8rem 1rem 0; border-right: 1px solid #c58743; }
.inquiry-summary div:not(:first-child) { padding-left: .8rem; }
.inquiry-summary div:last-child { border-right: 0; }
.inquiry-summary span, .inquiry-summary strong { display: block; }
.inquiry-summary span { color: #7b472c; text-transform: uppercase; font-size: .57rem; letter-spacing: .14em; }
.inquiry-summary strong { font-family: var(--serif); font-size: 1.08rem; margin-top: .25rem; font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
form label { display: block; color: #653821; font-size: .69rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .85rem; }
form input, form textarea { display: block; width: 100%; margin-top: .35rem; border: 1px solid #c4813d; background: #f8e2b8; padding: .78rem; color: var(--ink); border-radius: 0; text-transform: none; letter-spacing: normal; font-size: .84rem; }
form input:focus, form textarea:focus { outline: 2px solid rgba(124,36,29,.35); border-color: var(--rust); }
.privacy-note { margin: .75rem 0 0; text-align: center; color: #825238; font-size: .64rem; }
.prepared-brief h3 { font-size: 2.4rem; margin: 1rem 0; }
.prepared-brief .signal { color: #572116; font-weight: 700; }
.prepared-brief .signal i { background: #8f2f1e; box-shadow: 0 0 0 .25rem rgba(143,47,30,.15); }
.prepared-brief pre { white-space: pre-wrap; font-family: var(--sans); font-size: .75rem; line-height: 1.55; background: #dbad63; padding: 1rem; color: #512b1e; max-height: 300px; overflow: auto; }
.brief-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.brief-actions .button { width: auto; flex: 1 1 160px; }
.button-cinnamon { background: #71301f; color: #f8e2b8; border: 1px solid #71301f; }
.button-cinnamon:hover { background: #8f3b25; transform: translateY(-2px); }
.text-button { border: 0; background: transparent; text-decoration: underline; text-underline-offset: .3rem; cursor: pointer; font-size: .72rem; }
.email-note { margin: .85rem 0 0; color: #74432e; font-size: .64rem; line-height: 1.45; }

footer { background: #0c0704; min-height: 175px; padding: 2.4rem clamp(1.25rem, 6vw, 7rem); display: grid; grid-template-columns: minmax(190px, .8fr) minmax(240px, 1.2fr) auto; align-items: center; gap: 2rem; color: #a17e62; font-size: .72rem; }
.footer-status { display: flex; align-items: center; gap: .6rem; text-transform: uppercase; letter-spacing: .13em; }
.footer-brand { color: var(--cream); }
.footer-identity p { margin: .55rem 0 0; font-size: .57rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-message { justify-self: center; text-align: center; }
.footer-message > p { margin: 0 0 .7rem; color: #b9956f; font-family: var(--serif); font-size: 1.15rem; }
.ecosystem-links { display: flex; gap: 1.5rem; justify-content: center; font-size: .58rem; }
.ecosystem-links a { color: #b9956f; text-decoration-color: rgba(211,154,45,.45); text-underline-offset: .32rem; }
.ecosystem-links a:hover { color: var(--gold-light); }

@media (max-width: 900px) {
  .site-header nav a { display: none; }
  .hero-art { inset: 0; opacity: .54; }
  .hero-shade { background: linear-gradient(90deg, rgba(21,12,8,.98), rgba(21,12,8,.58)), linear-gradient(0deg, rgba(21,12,8,.92), transparent 55%); }
  .hero-content { width: 100%; }
  .section-heading, .lab-shell, .beyond { grid-template-columns: 1fr; }
  .section-heading { gap: 1.25rem; }
  .recommendation { min-height: 620px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .experience-card { border-right: 0; border-bottom: 1px solid rgba(40,27,18,.18); }
  .experience-card:last-child { border-bottom: 0; }
  .experience-card > p { min-height: 0; }
  .gallery-heading { grid-template-columns: 1fr; gap: 1rem; }
  .event-gallery { grid-template-columns: repeat(2, 1fr); }
  .event-photo-alameda { grid-row: span 2; }
  footer { grid-template-columns: 1fr auto; }
  .footer-message { grid-column: 1 / -1; grid-row: 2; justify-self: start; text-align: left; }
  .ecosystem-links { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .site-header { height: 72px; }
  .nav-cta { padding: .65rem .7rem; font-size: .6rem; }
  .brand-m { font-size: 1.65rem; }
  .brand-endorsement { max-width: 145px; font-size: .46rem; letter-spacing: .1em; }
  .hero { min-height: 720px; padding-top: 6.5rem; align-items: flex-end; padding-bottom: 8rem; }
  h1 { font-size: clamp(3.7rem, 17vw, 5.2rem); }
  .hero-copy { font-size: .96rem; }
  .hero-note { gap: .5rem; font-size: .52rem; }
  .experience-lab, .beyond { padding-top: 5rem; padding-bottom: 5rem; }
  .segmented { grid-template-columns: 1fr; }
  .segmented button { border-right: 0; border-bottom: 1px solid #c48d4d; }
  .segmented button:last-child { border-bottom: 0; }
  .hosting-grid, .field-row { grid-template-columns: 1fr; }
  .compare-bar { align-items: flex-start; gap: 1rem; }
  .compare-bar .muted { display: none; }
  .recommendation { min-height: 660px; }
  .rec-kicker { margin-top: 3rem; }
  .event-gallery { grid-template-columns: 1fr; }
  .event-photo, .event-photo-alameda { min-height: 430px; grid-row: auto; }
  .principles { grid-template-columns: 1fr; }
  .principles > div { border-bottom: 1px solid var(--line); padding: 1rem 0; display: grid; grid-template-columns: 2rem 1fr; }
  .principles span { margin: .25rem 0 0; }
  .principles p { grid-column: 2; margin: .25rem 0; }
  .inquiry-summary { grid-template-columns: 1fr 1fr; }
  .inquiry-summary div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid #c58743; }
  footer { display: flex; flex-direction: column; align-items: flex-start; }
  .footer-message { order: 2; text-align: left; }
  .footer-status { order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
