@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600&display=swap');

/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #F7F5F2;
  --surface:   #FFFFFF;
  --ink:       #1A1917;
  --ink-mid:   #5A5751;
  --ink-light: #9B9690;
  --accent:    #B8863A;
  --rule:      #E4E0D8;
  --serif:     'DM Serif Display', Georgia, serif;
  --sans:      'Outfit', system-ui, sans-serif;
  --max:       760px;
  --gap:       clamp(1.5rem, 4vw, 2.5rem);
}

html { font-size: 17px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ──────────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem);
}

/* ── Navigation ──────────────────────────────────── */
nav {
  padding: 1.75rem 0 1.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
}

nav .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.nav-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--rule);
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: 620px;
}

.hero p {
  font-size: 1.05rem;
  color: var(--ink-mid);
  max-width: 540px;
  line-height: 1.75;
}

/* ── Section ─────────────────────────────────────── */
section {
  padding: clamp(2.5rem, 6vw, 3.75rem) 0;
  border-bottom: 1px solid var(--rule);
}

section:last-of-type { border-bottom: none; }

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ink);
}

p { margin-bottom: 1rem; color: var(--ink-mid); }
p:last-child { margin-bottom: 0; }

/* ── Two-column grid (for about / details) ───────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}
@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Detail list ─────────────────────────────────── */
.detail-block { margin-bottom: 0.25rem; }
.detail-block strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.3rem;
}
.detail-block span {
  font-size: 0.97rem;
  color: var(--ink-mid);
}

/* ── Philosophy pull-quote ───────────────────────── */
.pull {
  border-left: 2px solid var(--accent);
  padding: 1rem 0 1rem 1.5rem;
  margin: 1.75rem 0;
}
.pull p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}

/* ── Links ───────────────────────────────────────── */
a { color: var(--ink); }
.text-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.text-link:hover { border-color: var(--accent); }

/* ── Contact card ────────────────────────────────── */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 2.25rem;
  margin-top: 2rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.contact-row:last-child { border-bottom: none; }
.contact-row .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-light);
  min-width: 90px;
}
.contact-row a { color: var(--ink-mid); text-decoration: none; transition: color 0.2s; }
.contact-row a:hover { color: var(--ink); }

/* ── Footer ──────────────────────────────────────── */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  margin-top: clamp(2rem, 5vw, 4rem);
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--ink-light);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }

/* ── Page fade-in ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero, nav, section, .contact-card {
  animation: fadeUp 0.5s ease both;
}
nav { animation-delay: 0s; }
.hero { animation-delay: 0.08s; }
section:nth-of-type(1) { animation-delay: 0.14s; }
section:nth-of-type(2) { animation-delay: 0.18s; }
section:nth-of-type(3) { animation-delay: 0.22s; }
section:nth-of-type(4) { animation-delay: 0.26s; }

/* ── Responsive nav ──────────────────────────────── */
@media (max-width: 480px) {
  .nav-links { gap: 1.25rem; }
  footer .wrap { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
