/* Photo-led, calm, editorial. Cream paper, near-black ink, one deep-green accent. */
:root {
  --cream: #f8f6f1; --paper: #ffffff; --ink: #14130f; --mute: #6c6a60; --line: #dfdcd2; --accent: #1f5a43; --accent-ink: #ffffff;
  --bad: #b3261e; --warn: #9a6a00; --info: #1d5fa8; --ok: #1f5a43;
  --font: "Inter Tight", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
main { flex: 1; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.muted { color: var(--mute); }

/* Nav: sits over photos (.over) or on cream */
.nav { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--cream); }
.nav.over { position: absolute; inset: 0 0 auto 0; background: none; border-bottom: 0; color: #fff; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.word { font-weight: 650; font-size: 1.04rem; letter-spacing: -.02em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: .93rem; }
.nav-links a { text-decoration: none; opacity: .85; } .nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav-links a[aria-current], .nav-links a.btn { opacity: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 600; font-size: .93rem; text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); border-radius: 8px; padding: .8rem 1.35rem; background: var(--ink); color: var(--cream); opacity: 1; transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); } .btn.ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-sm { padding: .5rem .95rem; font-size: .84rem; border-radius: 7px; }
.over .btn, .on-photo .btn { background: #fff; color: var(--ink); border-color: #fff; }
.over .btn:hover, .on-photo .btn:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.on-photo .btn.ghost, .over .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.on-photo .btn.ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Photo hero / banner */
.hero, .banner { position: relative; color: #fff; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #1b2a22; }
.hero { min-height: min(100vh, 860px); }
.banner { min-height: 380px; }
.hero > img, .banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after, .banner::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,10,8,.6) 0%, rgba(8,10,8,.32) 40%, rgba(8,10,8,.8) 100%); }
.hero.top::after { background: linear-gradient(180deg, rgba(6,10,6,.66) 0%, rgba(6,10,6,.42) 38%, rgba(6,10,6,.06) 62%, rgba(6,10,6,.18) 100%); }
.hero .wrap, .banner .wrap { padding-top: 130px; padding-bottom: clamp(2rem, 5vw, 3.2rem); }
.hero.top { align-items: flex-start; min-height: max(820px, min(100vh, 70vw)); }
.hero.top .wrap { padding-top: 140px; }
.hero.top .hero-copy { padding-bottom: 0; }
.hero-copy { text-align: center; max-width: 880px; margin: 0 auto; padding-bottom: 3.5rem; }
h1 { text-shadow: 0 2px 28px rgba(0,0,0,.28); font-size: clamp(2.7rem, 7.4vw, 6.2rem); line-height: .96; letter-spacing: -.045em; font-weight: 500; text-wrap: balance; }
.banner h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
.hero p.lead { margin: 1.5rem auto 0; max-width: 34rem; font-size: clamp(1rem, 1.9vw, 1.2rem); color: rgba(255,255,255,.88); }
.cta { display: flex; gap: .7rem; margin-top: 2rem; justify-content: center; flex-wrap: wrap; }
.hero-index { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.35); }
.hero-index a, .hero-index div { padding: 1.1rem 1.2rem 0 0; text-decoration: none; display: grid; gap: .25rem; }
.hero-index b { font-weight: 550; font-size: 1.05rem; letter-spacing: -.02em; } .hero-index span { color: rgba(255,255,255,.75); font-size: .88rem; }
.hero-index a:hover b { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .hero-index { grid-template-columns: 1fr; gap: .2rem; } .hero-index a, .hero-index div { padding-top: .8rem; } }

/* Sections */
section { padding: clamp(3rem, 7vw, 6rem) 0; }
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
.intro .num { font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 400; letter-spacing: -.05em; line-height: 1; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -.04em; font-weight: 500; text-wrap: balance; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; margin-top: 2.2rem; color: var(--mute); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; gap: 1.5rem; } .cols { grid-template-columns: 1fr; gap: 1rem; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split .ph { aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: #cfd6cf; }
.split .ph.land { aspect-ratio: 4/3; }
.split.flip .ph { order: 2; }
.cols.one { grid-template-columns: 1fr; gap: 1rem; }
.split .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .ph { aspect-ratio: 4/3; } .split.flip .ph { order: 0; } }
.steps { margin-top: 2rem; }
.step { display: grid; grid-template-columns: 52px 1fr; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.step b { display: block; font-size: 1.2rem; letter-spacing: -.025em; font-weight: 550; } .step p { color: var(--mute); margin-top: .3rem; }
.band { background: var(--ink); color: var(--cream); }
.band .wrap { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.band h2 { max-width: 12ch; font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.band .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); } .band .btn:hover { background: #fff; color: var(--ink); }

/* Index rows */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 70px 1fr auto; align-items: baseline; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s, padding .2s; }
a.row:hover { background: var(--paper); padding-left: 1rem; padding-right: 1rem; }
.row h3 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); letter-spacing: -.035em; font-weight: 500; line-height: 1.05; }
.row p { color: var(--mute); margin-top: .35rem; max-width: 36rem; }
.row .go { font-size: 1.5rem; }
.tag { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--line); padding: .25rem .6rem; border-radius: 5px; color: var(--mute); background: var(--paper); white-space: nowrap; }
@media (max-width: 760px) { .row { grid-template-columns: 40px 1fr; } .row .go, .row .tag { display: none; } }

/* Cards and badges */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.badge { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; padding: .25rem .6rem; border-radius: 5px; border: 1px solid var(--line); color: var(--mute); white-space: nowrap; }
.badge.considering { color: var(--info); border-color: color-mix(in srgb, var(--info) 40%, transparent); }
.badge.planned { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.badge.done { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mute); }
.dot.c-considering { background: var(--info); } .dot.c-planned { background: #d99a00; } .dot.c-done { background: var(--ok); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.tag-pill { font-size: .75rem; padding: .2rem .65rem; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); color: var(--mute); }

/* Updates board */
.board { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); align-items: start; }
@media (max-width: 860px) { .board { grid-template-columns: 1fr; } }
.col { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; }
.col-head { display: flex; align-items: center; gap: .6rem; padding: .2rem .3rem .3rem; }
.col-head h3 { font-size: 1.05rem; flex: 1; font-weight: 550; letter-spacing: -.02em; }
.col-head .n { font-family: var(--mono); font-size: .75rem; color: var(--mute); }
.col-sub { color: var(--mute); font-size: .88rem; padding: 0 .3rem 1rem; }
.item-card { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; background: var(--cream); margin-bottom: .7rem; }
.item-card .cat { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.item-card p.t { margin-top: .4rem; font-weight: 550; line-height: 1.4; }
.item-card p.note { margin-top: .6rem; font-size: .88rem; color: var(--mute); border-left: 2px solid var(--accent); padding-left: .7rem; }
.item-card .when { margin-top: .7rem; font-size: .75rem; color: var(--mute); }
.empty-col { border: 1px dashed var(--line); border-radius: 12px; padding: 1.3rem 1rem; text-align: center; color: var(--mute); font-size: .88rem; }

/* Forms */
.layout { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 5fr 7fr; align-items: start; }
.layout aside { position: sticky; top: 24px; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .layout aside { position: static; } }
.rules { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.rules li { display: grid; grid-template-columns: 34px 1fr; color: var(--mute); font-size: .96rem; }
.rules li::before { content: counter(r, decimal-leading-zero); counter-increment: r; font-family: var(--mono); font-size: .72rem; color: var(--accent); padding-top: .25rem; }
.rules { counter-reset: r; } .rules strong { color: var(--ink); font-weight: 600; }
.field { margin-bottom: 1.3rem; }
.two { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; } @media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
label, .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .45rem; }
.req { color: var(--accent); } .hint { font-weight: 400; color: var(--mute); font-size: .84rem; }
select, textarea, input[type=text], input[type=email] { width: 100%; font: inherit; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: .8rem .95rem; transition: border-color .15s, box-shadow .15s; }
select:focus, textarea:focus, input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); background: #fff; }
textarea { min-height: 140px; resize: vertical; } textarea.short { min-height: 92px; }
::placeholder { color: #9a978b; }
.count { text-align: right; font-size: .78rem; color: var(--mute); margin-top: .3rem; }
.toggle { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); margin-bottom: 1.3rem; }
.toggle input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
.toggle strong { display: block; } .toggle span { color: var(--mute); font-size: .88rem; font-weight: 400; }
.err { color: var(--bad); min-height: 1.3em; font-size: .93rem; margin-bottom: .6rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.chip { font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--mute); }
.chip:hover { color: var(--ink); } .chip.on { color: var(--cream); background: var(--ink); border-color: var(--ink); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 2.2rem 0; font-size: .85rem; color: var(--mute); }
footer .wrap { display: flex; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
footer a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); } footer a:hover { color: var(--ink); }
.credits { margin-top: 1rem; width: 100%; font-size: .78rem; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; } .d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
