/* ===== Design tokens — earthy & editorial ===== */
:root {
  --cream: #faf6ee;
  --cream-deep: #f1ead9;
  --ink: #2b241c;
  --ink-soft: #58503f;
  --terracotta: #c1633d;
  --terracotta-deep: #a34f2f;
  --green: #45543a;
  --gold: #c99a44;
  --line: #e2d8c4;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1120px;
  --pad: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; }

.section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.main-nav { display: flex; align-items: center; }

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-list a:hover { color: var(--terracotta); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-inner { position: relative; z-index: 2; max-width: 760px; }

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  max-width: 14ch;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 50ch;
  margin-top: 1.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
}
.btn-primary:hover { background: var(--terracotta-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }

.hero-mark {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold) 0%, var(--terracotta) 55%, transparent 75%);
  opacity: 0.18;
  z-index: 1;
}

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.about { background: var(--cream-deep); }

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.figure-frame {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--green) 0%, #2f3a27 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,246,238,0.6);
  font-size: 0.85rem;
  font-style: italic;
}

.about-copy h2 { font-size: 2.1rem; }
.about-copy .text-link { display: inline-block; margin-top: 0.5rem; }

.text-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--terracotta-deep);
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s;
}
.text-link:hover { border-color: var(--terracotta-deep); }

/* ===== Work ===== */
.work h2 { font-size: 2.1rem; margin-bottom: 2.5rem; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.work-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(43, 36, 28, 0.08);
}

.work-card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--gold) 0%, var(--terracotta) 100%);
  opacity: 0.85;
}

.work-card-body { padding: 1.5rem; }

.work-tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.work-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.work-card-body p { margin: 0; font-size: 0.95rem; }

/* ===== Contact ===== */
.contact { background: var(--ink); color: var(--cream); text-align: center; }
.contact h2 { color: var(--cream); font-size: 2.4rem; }
.contact-sub { color: rgba(250,246,238,0.75); max-width: 46ch; margin: 0 auto 2rem; }
.contact .section-label { color: var(--gold); }

.contact-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-links .text-link { color: var(--cream); border-color: transparent; }
.contact-links .text-link:hover { color: var(--gold); border-color: var(--gold); }

/* ===== Footer ===== */
.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); }
.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .figure-frame { max-width: 320px; }
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-list.open { max-height: 260px; }
  .nav-list li { border-top: 1px solid var(--line); }
  .nav-list a { display: block; padding: 1rem var(--pad); }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3.5rem 0; }
}
