@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: oklch(0.17 0.02 55);
  --ink-soft: oklch(0.22 0.025 55);
  --paper: oklch(0.96 0.012 70);
  --paper-deep: oklch(0.94 0.014 68);
  --clay: oklch(0.62 0.13 45);
  --clay-soft: oklch(0.62 0.13 45 / 0.16);
  --olive: oklch(0.52 0.07 135);
  --ink-text: oklch(0.95 0.012 65);
  --ink-text-muted: oklch(0.72 0.02 60);
  --line: oklch(0.32 0.025 55 / 0.6);
  --max: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--paper); color: var(--ink); line-height: 1.6; }
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
a { color: inherit; }

nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); background: oklch(0.96 0.012 70 / 0.82); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark { font-family: 'Fraunces', serif; font-size: 1.25rem; letter-spacing: 0.01em; text-decoration: none; color: var(--ink); }
.navlinks { display: none; gap: 26px; font-size: 0.9rem; color: var(--ink-text-muted); }
.navlinks a { text-decoration: none; transition: color 0.2s ease; white-space: nowrap; }
.navlinks a.active { color: var(--ink); font-weight: 500; }
.navlinks a:hover { color: var(--clay); }
@media (min-width: 980px) { .navlinks { display: flex; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; background: var(--ink); color: var(--ink-text); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), background 0.25s ease; border: none; cursor: pointer; }
.btn:hover { transform: translateY(-2px); background: var(--clay); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--ink-text); }
.btn-clay { background: var(--clay); }

.photo { position: relative; overflow: hidden; border-radius: 18px; display: flex; align-items: flex-end;
  background: radial-gradient(120% 140% at 20% 0%, oklch(0.62 0.13 45 / 0.55), transparent 60%), radial-gradient(120% 140% at 90% 100%, oklch(0.52 0.07 135 / 0.55), transparent 60%), var(--ink); }
.photo::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 36px 36px; opacity: 0.18; }
.photo-tag { position: relative; z-index: 1; margin: 20px; font-size: 0.78rem; color: oklch(0.95 0.01 65 / 0.75); border: 1px solid oklch(0.95 0.01 65 / 0.3); border-radius: 999px; padding: 7px 14px; backdrop-filter: blur(6px); }

/* original line-art "scenes" standing in for photography — drawn, not sourced,
   so the preview carries no licensing risk from a third party's marketing photos */
.photo svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.92; }
.scene .sun { fill: var(--clay); opacity: 0.95; }
.scene .glow { fill: var(--clay); opacity: 0.3; }
.scene .hill-far { fill: var(--ink-text); opacity: 0.1; }
.scene .hill-near { fill: var(--ink-text); opacity: 0.2; }
.scene .olive { fill: var(--olive); opacity: 0.85; }
.scene .line { stroke: var(--ink-text); stroke-width: 1.8; fill: none; opacity: 0.8; stroke-linecap: round; }
.scene .line-soft { stroke: var(--ink-text); stroke-width: 1.4; fill: none; opacity: 0.45; stroke-linecap: round; }
.scene .accent { stroke: var(--clay); stroke-width: 2; fill: none; opacity: 0.9; stroke-linecap: round; }
.scene .accent-fill { fill: var(--clay); opacity: 0.92; }
.scene .olive-fill { fill: var(--olive); opacity: 0.85; }

/* tilt-3d: subtle perspective rotation that responds to scroll position */
.tilt-3d { transform-style: preserve-3d; perspective: 1200px; }
.tilt-3d .photo, .tilt-3d.photo { transition: transform 0.1s linear; will-change: transform; }

.page-head { padding: 64px 0 48px; }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); margin-bottom: 16px; }
.page-head p { color: var(--ink-text-muted); font-size: 1.08rem; max-width: 60ch; }

.eyebrow { font-size: 0.82rem; letter-spacing: 0.06em; color: var(--clay); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--clay); display: inline-block; }

section { padding: 76px 0; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-text-muted); font-size: 1.02rem; max-width: 56ch; }

.row { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .row.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .row.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: oklch(0.96 0.012 70 / 0.6); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--clay); }
.card .num { font-family: 'Fraunces', serif; font-size: 0.95rem; color: var(--clay); margin-bottom: 14px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--ink-text-muted); }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } }
.split.reverse .photo { order: 2; }
@media (max-width: 879px) { .split.reverse .photo { order: 0; } }
.split .photo { aspect-ratio: 4/3; }
.miniline { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.miniline:last-child { border-bottom: none; }
.miniline .k { font-size: 0.85rem; color: var(--ink-text-muted); min-width: 150px; }
.miniline .v { font-size: 0.95rem; }

footer { padding: 56px 0 44px; border-top: 1px solid var(--line); margin-top: 24px; }
footer .wrap { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 760px) { footer .wrap { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
footer .cols { display: flex; gap: 56px; flex-wrap: wrap; }
footer .col h4 { font-size: 0.8rem; letter-spacing: 0.05em; color: var(--ink-text-muted); margin-bottom: 12px; font-weight: 500; }
footer .col a { display: block; font-size: 0.92rem; text-decoration: none; color: var(--ink); margin-bottom: 8px; }
footer .col a:hover { color: var(--clay); }
footer .legal { font-size: 0.8rem; color: var(--ink-text-muted); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .tilt-3d .photo, .tilt-3d.photo { transition: none !important; }
  * { animation: none !important; }
}
