@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Hanken+Grotesk:wght@300;400;500&display=swap');

/* ─── Tokens ─── */
:root {
  --bg:        #F8F7F4;
  --ink:       #141412;
  --accent:    #3B5A4E;
  --muted:     #6B6A66;
  --surface:   #EDEAE5;
  --col:       960px;
  --nav-h:     64px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Nav ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  background: var(--bg);
  border-bottom: 1px solid var(--surface);
  z-index: 100;
}

.nav-logo {
  color: var(--ink);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-logo:hover { transform: scale(1.05); color: var(--accent); }

.nav-logo svg {
  height: 20px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

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

/* ─── Page scaffold ─── */
.page {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.col {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 2rem);
}

/* ─── Section spacing ─── */
.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section + .section {
  border-top: 1px solid var(--surface);
}

/* ─── Hero ─── */
.hero {
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(2rem, 4vw, 3rem);
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 4.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-body {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #3A3A38;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-body p + p {
  margin-top: 1.25rem;
}

/* ─── Divider text ─── */
.eyebrow {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.section .eyebrow {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Four pillars ─── */
.pillars {
  display: grid;
  gap: 0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.pillar {
  padding: 2rem 0;
  border-top: 1px solid var(--surface);
}

.pillar:last-child {
  border-bottom: none;
}

.pillar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.625rem;
}

.pillar-body {
  font-size: 1.25rem;
  color: #5A5A56;
  line-height: 1.55;
}

/* ─── Closing statement + CTA ─── */
.closing-block {
  margin-top: 1rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.closing-statement {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  max-width: 540px;
  margin-bottom: 1.5rem;
}


/* ─── CTA button ─── */
.cta-line {
  display: inline-block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--ink);
  padding: 0.75rem 1.5rem;
  clip-path: polygon(8px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 8px, 8px 8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta-line:hover { transform: translateY(-2px); background: var(--accent); }

/* ─── Section headings ─── */
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}

.section-body {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #3A3A38;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.article-body {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section-body p + p {
  margin-top: 1.25rem;
}

/* ─── Journal list ─── */
.journal-list {
  list-style: none;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.journal-item {
  padding: 2rem 0;
  border-top: 1px solid var(--surface);
}

.journal-item:last-child {
  border-bottom: none;
}

.journal-item a {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.journal-item-thumb {
  flex-shrink: 0;
  width: 140px;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  display: block;
}

.journal-item-text {
  flex: 1;
  min-width: 0;
}

.journal-item-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.journal-item:hover .journal-item-title {
  color: var(--accent);
}

.journal-item-meta {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .journal-item a {
    flex-direction: column;
    gap: 1rem;
  }

  .journal-item-thumb {
    width: 100%;
  }
}

/* ─── Contact form ─── */
form {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.form-field {
  margin-bottom: 1.75rem;
}

.form-field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--surface);
  padding: 0.625rem 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--accent);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 8px, 8px 8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.form-submit:hover { transform: translateY(-2px); background: var(--accent); }

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--surface);
  padding: 2.5rem 0;
}

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

.footer-logo {
  color: var(--ink);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-logo:hover { transform: scale(1.05); color: var(--accent); }

.footer-logo svg {
  height: 16px;
  width: auto;
  display: block;
}

.footer-copy {
  font-size: 1rem;
  color: var(--muted);
}

/* ─── About stats ─── */
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2.5rem 0;
}

.stat-row > div {
  background: var(--accent);
  color: var(--bg);
  padding: 1.75rem;
  clip-path: polygon(10px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 10px, 10px 10px);
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.stat-number {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--bg);
  flex-shrink: 0;
  width: 4rem;
  text-align: right;
}

.stat-label {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg);
  line-height: 1.4;
}

/* ─── About body layout ─── */
.about-intro {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #3A3A38;
}

.about-intro p + p { margin-top: 1.25rem; }

.about-creds {
  max-width: 620px;
  margin: 0 auto;
}

.about-cred {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--surface);
  align-items: baseline;
}

.about-cred:last-child {
  border-bottom: 1px solid var(--surface);
}

.about-cred-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 0;
}

.about-cred p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #3A3A38;
}

.about-synthesis {
  max-width: 620px;
  margin: 2rem auto 0;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #3A3A38;
}

/* ─── Work page intro ─── */
.work-intro {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  font-weight: 400;
  line-height: 1.35;
  color: #3A3A38;
  margin: 0 auto 3rem;
  max-width: 620px;
}

/* ─── Mobile nav ─── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.25s;
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--surface);
    padding: 0.5rem 0;
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    display: block;
    padding: 0.875rem clamp(1.5rem, 5vw, 4rem);
  }

  .stat-row { grid-template-columns: 1fr; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
