:root {
  color-scheme: dark;
  --ink: #f4f0e7;
  --muted: #b7b9ad;
  --forest: #101812;
  --accent: #d8a76f;
  --line: rgba(244, 240, 231, .16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--forest); color: var(--ink); }
a { color: inherit; }
.site-header {
  position: absolute; z-index: 2; inset: 0 0 auto; height: 86px; padding: 0 clamp(24px, 6vw, 96px);
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark { text-decoration: none; font-size: 1.05rem; font-weight: 850; letter-spacing: .17em; }
.wordmark span { margin-left: 3px; color: var(--accent); font-size: .55em; vertical-align: top; }
.header-link { display: inline-flex; gap: 13px; align-items: center; text-decoration: none; color: var(--muted); font-size: .92rem; }
.header-link span { color: var(--accent); }
.hero { position: relative; display: grid; align-items: center; min-height: min(900px, 100svh); min-height: max(680px, 100svh); overflow: hidden; isolation: isolate; background: #172118; }
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: min(84vw, 1320px); height: 100%; object-fit: contain; object-position: right bottom; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(12, 19, 14, .94) 0%, rgba(12, 19, 14, .78) 26%, rgba(12, 19, 14, .14) 59%, rgba(12, 19, 14, 0) 100%); }
.hero-copy { width: min(620px, 54vw); margin: 86px 0 0 clamp(24px, 10vw, 160px); }
.eyebrow { margin: 0 0 19px; color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .22em; }
.hero-brand { margin: 0 0 18px; color: var(--accent); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 850; letter-spacing: .28em; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 590px; margin-bottom: 43px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 7.2vw, 7.2rem); font-weight: 500; letter-spacing: -.055em; line-height: .98; text-wrap: balance; }
.scroll-cue { display: inline-flex; align-items: center; gap: 17px; padding: 13px 0; color: var(--ink); text-decoration: none; font-size: .92rem; }
.scroll-cue span:last-child { color: var(--accent); font-size: 1.2rem; transition: transform .2s ease; }
.scroll-cue:hover span:last-child { transform: translateY(4px); }
.projects { padding: clamp(76px, 10vw, 144px) clamp(24px, 10vw, 160px) clamp(84px, 11vw, 160px); background: #f1eee6; color: #18231c; }
.section-heading { max-width: 650px; margin-bottom: 48px; }
.section-heading .eyebrow { color: #607666; }
h2 { margin-bottom: 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 500; letter-spacing: -.045em; }
.section-heading > p:last-child { color: #667168; font-size: 1.02rem; }
.project-card { display: flex; align-items: center; gap: 22px; max-width: 760px; min-height: 108px; padding: 22px 26px; border: 1px solid rgba(24, 35, 28, .13); border-radius: 16px; background: rgba(255,255,255,.56); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translateY(-3px); border-color: rgba(24, 35, 28, .32); box-shadow: 0 18px 38px rgba(24, 35, 28, .09); }
.project-icon { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; border-radius: 14px; background: #e3e9df; color: #355541; font-size: 1.55rem; }
.project-copy { display: grid; gap: 6px; }
.project-copy strong { font-size: 1.08rem; }
.project-copy small { color: #667168; font-size: .88rem; }
.project-arrow { margin-left: auto; color: #607666; font-size: 1.3rem; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px clamp(24px, 6vw, 96px); color: #a9afa5; font-size: .83rem; }
.heart { color: #e46e5a; }
.made-by { color: var(--ink); font-size: 1rem; font-weight: 650; }
.made-by .heart { padding: 0 .12em; font-size: 1.1em; }

@media (max-width: 720px) {
  .site-header { height: 70px; }
  .hero { min-height: max(680px, 100svh); align-items: end; }
  .hero-art { inset: 70px auto auto 50%; transform: translateX(-50%); width: 100vw; height: 62%; object-fit: cover; object-position: center 18%; }
  .hero-shade { background: linear-gradient(0deg, rgba(12,19,14,.98) 0%, rgba(12,19,14,.86) 28%, rgba(12,19,14,.08) 72%), linear-gradient(90deg, rgba(12,19,14,.2), transparent); }
  .hero-copy { width: auto; margin: 0 24px 116px; }
  h1 { max-width: 500px; margin-bottom: 24px; font-size: clamp(3.1rem, 13vw, 5rem); }
  .hero-brand { margin-bottom: 12px; font-size: 1.3rem; }
  .projects { padding: 78px 24px 92px; }
  .section-heading { margin-bottom: 32px; }
  .project-card { gap: 15px; padding: 18px; }
  .project-copy small { line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
