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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fcfcfb;
  --fg: #221f1c;
  --body: #685f59;
  --label: #8f8782;
  --warm: #f5f2ee;
  --warm-border: #e3dcd6;
  --border: #e3dcd6;
  --radius: 0.375rem;
  --max: 760px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Lora', serif;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.2;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Layout ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(252,252,251,0.95);
  backdrop-filter: blur(4px);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 100px;
}
.nav-logo img { height: 70px; display: block; }
.nav-logo:hover { opacity: 0.7; transition: opacity 0.2s; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 300; letter-spacing: 0.04em;
  color: var(--body); transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--fg); margin: 5px 0; transition: all 0.2s;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 1.25rem;
  padding: 1.25rem 1.5rem; border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu a { font-size: 14px; font-weight: 300; color: var(--body); }
.mobile-menu a.active { color: var(--fg); }
.mobile-menu.open { display: flex; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 2rem 1.5rem;
}
.footer-links {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.footer-links a {
  font-size: 13px; font-weight: 300; color: var(--body);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--fg); }
.footer-meta { font-size: 13px; font-weight: 300; color: var(--label); margin-bottom: 0.4rem; }
.footer-meta a { color: var(--label); transition: color 0.15s; }
.footer-meta a:hover { color: var(--fg); }
.footer-copy { font-size: 11px; font-weight: 300; color: var(--label); margin-top: 1.25rem; }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Section label ── */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--label); margin-bottom: 1.25rem;
  display: block;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  border: 1px solid rgba(34,31,28,0.3);
  color: var(--fg); background: transparent;
  padding: 0.7rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 300;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  cursor: pointer; transition: all 0.2s;
}
.btn:hover { background: var(--fg); color: var(--bg); }

/* ── Pull quote ── */
.pull-quote {
  border-left: 2px solid rgba(34,31,28,0.2);
  padding-left: 1.5rem;
  margin: 3rem 0;
}
.pull-quote p {
  font-family: 'Lora', serif;
  font-size: 17px; font-style: italic;
  color: rgba(34,31,28,0.8);
  line-height: 1.75;
}

/* ── Warm panel ── */
.warm-panel {
  background: var(--warm);
  border: 1px solid var(--warm-border);
  border-radius: 0.5rem;
  padding: 2rem 2.5rem;
}

/* ── Work cards grid ── */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.work-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid rgba(34,31,28,0.2);
  border-radius: 0.5rem;
  padding: 1.75rem;
  transition: border-left-color 0.2s;
}
.work-card:hover { border-left-color: rgba(34,31,28,0.4); }
.work-card h3 {
  font-family: 'Lora', serif;
  font-size: 15px; font-weight: 400;
  margin-bottom: 0.75rem; line-height: 1.4;
}
.work-card p { font-size: 13px; color: var(--body); line-height: 1.75; }

/* ── Testimonials ── */
.testimonial {
  background: var(--warm);
  border: 1px solid var(--warm-border);
  border-radius: 0.5rem;
  padding: 2rem 2.5rem;
  margin-bottom: 1.25rem;
}
.testimonial blockquote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 15px; line-height: 1.85;
  color: rgba(34,31,28,0.8);
  margin-bottom: 1.25rem;
}
.testimonial cite {
  font-size: 12px; font-weight: 300;
  color: var(--label); letter-spacing: 0.04em;
  font-style: normal; font-family: 'DM Sans', sans-serif;
}

/* ── Credentials ── */
.creds { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cred {
  font-size: 12px; font-weight: 300;
  background: var(--warm); border: 1px solid var(--warm-border);
  border-radius: var(--radius); padding: 0.375rem 0.75rem;
  color: var(--body);
}

/* ── CTA block ── */
.cta-block {
  background: var(--warm);
  border: 1px solid var(--warm-border);
  border-radius: 0.75rem;
  padding: 3.5rem 2.5rem;
  margin-bottom: 2rem;
}
.cta-block h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-bottom: 1.5rem; }
.cta-block p { font-size: 15px; color: var(--body); margin-bottom: 2.5rem; max-width: 520px; }

/* ── Hero image ── */
.hero-img {
  width: 100%; height: 480px;
  overflow: hidden;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mid-img {
  width: 100%; height: 420px;
  overflow: hidden; margin: 2rem 0;
}
.mid-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* ── Full image ── */
.full-img {
  width: 100%; height: 360px;
  overflow: hidden;
}
.full-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── About portrait ── */
.about-intro { display: flex; gap: 2.5rem; align-items: flex-start; margin-bottom: 3rem; }
.about-portrait { width: 200px; flex-shrink: 0; }
.about-portrait img {
  width: 200px; height: 260px;
  object-fit: cover; object-position: center 20%;
  border-radius: 0.5rem;
}
.about-text { flex: 1; }
.about-mountain { width: 100%; max-width: 360px; height: 460px; border-radius: 0.5rem; overflow: hidden; margin-bottom: 3rem; }
.about-mountain img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.about-photos { display: flex; gap: 1.25rem; margin-bottom: 3rem; }
.about-photos .photo-frame { flex: 1; height: 460px; border-radius: 0.5rem; overflow: hidden; }
.about-photos .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photos .photo-headshot img { object-position: center 15%; }
.about-photos .photo-mountain img { object-position: center 15%; }
@media (max-width: 640px) {
  .about-photos { flex-direction: column; }
  .about-photos .photo-frame { height: 320px; }
}

/* ── Work page ── */
.work-area { padding: 3.5rem 0; }
.work-area:first-child { padding-top: 0.5rem; }
.work-area h2 { font-size: 1.5rem; margin-bottom: 2rem; }
.work-table { display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem 2.5rem; }
.work-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 300;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--label); padding-top: 2px;
}
.work-value { font-size: 14px; color: var(--body); line-height: 1.8; }
.work-value.note { font-style: italic; }

/* ── Writing page ── */
.article-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 1.25rem;
  transition: all 0.2s;
}
.article-card:hover {
  border-color: rgba(34,31,28,0.3);
  background: var(--warm);
}
.article-card h2 {
  font-family: 'Lora', serif;
  font-size: 18px; font-weight: 400;
  margin-bottom: 0.5rem; line-height: 1.4;
  color: var(--fg); transition: opacity 0.2s;
}
.article-card:hover h2 { opacity: 0.7; }
.article-card .read-more { font-size: 12px; color: var(--label); margin-top: 0.5rem; }

/* ── Contact form ── */
.contact-grid { display: grid; grid-template-columns: 1fr 280px; gap: 4rem; align-items: start; }
.contact-side-img { width: 100%; height: 420px; object-fit: cover; object-position: center 35%; border-radius: 0.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 300;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--label); margin-bottom: 0.5rem;
}
.form-input, .form-textarea {
  width: 100%; max-width: 480px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 300;
  color: var(--fg);
  transition: border-color 0.15s;
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: rgba(34,31,28,0.4); }
.form-textarea { resize: none; height: 120px; }
.form-submit {
  border: 1px solid rgba(34,31,28,0.3);
  color: var(--fg); background: transparent;
  padding: 0.7rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 300;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  cursor: pointer; transition: all 0.2s;
}
.form-submit:hover { background: var(--fg); color: var(--bg); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.contact-alt {
  margin-top: 3rem; padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--body);
}
.contact-alt a { color: var(--fg); transition: opacity 0.15s; }
.contact-alt a:hover { opacity: 0.6; }
.contact-alt .geo { color: var(--label); margin-top: 0.4rem; }
.success-box {
  background: var(--warm);
  border: 1px solid var(--warm-border);
  border-radius: 0.5rem;
  padding: 2rem; max-width: 480px;
  text-align: center; display: none;
}
.success-box p { font-size: 15px; color: var(--fg); margin-bottom: 0.5rem; }
.success-box small { font-size: 14px; color: var(--body); }

/* ── Section spacing ── */
.section { padding: 4rem 0; }
.section-sm { padding: 2rem 0; }
.section-lg { padding: 6rem 0; }
.pt-hero { padding-top: 1.5rem; }
.pb-hero { padding-bottom: 5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }
.space-y p + p { margin-top: 1.25rem; }

/* ── Typography helpers ── */
.text-body-p { font-size: 15px; color: var(--body); line-height: 1.85; font-weight: 300; }
.text-body-p + .text-body-p { margin-top: 1.25rem; }
.text-sm-body { font-size: 13px; color: var(--body); }

/* ── Responsive ── */
@media (max-width: 640px) {
  h1 { font-size: clamp(1.75rem, 7vw, 3rem) !important; white-space: normal !important; }
  .work-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side-img { display: none; }
  .about-intro { flex-direction: column; }
  .about-portrait { width: 100%; }
  .about-portrait img { width: 100%; height: 240px; object-position: center 20%; }
  .work-table { grid-template-columns: 1fr; gap: 0.25rem 0; }
  .work-label { margin-top: 1rem; }
  .hero-img { height: 300px; }
  .mid-img { height: 280px; }
  .warm-panel { padding: 1.5rem; }
  .cta-block { padding: 2rem 1.5rem; }
  .testimonial { padding: 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}
