/* EmpathyPic — humanist photo journal */
:root {
  --bg: #f5f1ea;
  --bg-warm: #ede6d8;
  --bg-card: #ffffff;
  --ink: #1a1814;
  --ink-soft: #5c544a;
  --muted: #8b8275;
  --accent: #c44536;
  --accent-soft: #e8c5be;
  --accent-deep: #8f3027;
  --line: #ddd5c8;
  --shadow: 0 30px 60px -30px rgba(26, 24, 20, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.1;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
}

a { color: var(--accent-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ink); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 234, 0.93);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 144;
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: 50%;
  font-family: 'Fraunces', serif;
  font-weight: 600;
}
.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 90px 0 100px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-kicker::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  margin-bottom: 28px;
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.hero p {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.6;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all .2s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  margin-left: 12px;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

.hero-visual {
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, rgba(196, 69, 54, 0.85), rgba(143, 48, 39, 0.95)),
    radial-gradient(circle at 30% 70%, var(--accent-soft) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,0.25);
  pointer-events: none;
}
.hero-visual::before {
  content: '';
  position: absolute;
  bottom: -40%; right: -20%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(232, 197, 190, 0.45) 0%, transparent 65%);
  border-radius: 50%;
}
.hero-caption {
  position: absolute;
  bottom: 28px; left: 28px; right: 28px;
  color: var(--bg);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.hero-caption strong { font-weight: 600; }

/* Sections */
section {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(34px, 4.5vw, 50px);
  margin-bottom: 18px;
  font-weight: 400;
  max-width: 720px;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 620px;
  margin-bottom: 60px;
}

/* Story essays grid */
.essays {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.essay {
  display: block;
  color: var(--ink);
  transition: transform .25s ease;
}
.essay:hover { transform: translateY(-4px); color: var(--ink); }
.essay-img {
  aspect-ratio: 4/5;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.essay:nth-child(1) .essay-img {
  background: linear-gradient(160deg, #c44536, #8f3027);
}
.essay:nth-child(2) .essay-img {
  background: linear-gradient(160deg, #5c544a, #1a1814);
}
.essay:nth-child(3) .essay-img {
  background: linear-gradient(160deg, #e8c5be, #c44536);
}
.essay:nth-child(4) .essay-img {
  background: linear-gradient(160deg, #1a1814, #5c544a);
}
.essay:nth-child(5) .essay-img {
  background: linear-gradient(160deg, #ede6d8, #ddd5c8);
}
.essay:nth-child(6) .essay-img {
  background: linear-gradient(160deg, #8f3027, #c44536);
}
.essay-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15), transparent 50%);
}
.essay-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 10px;
}
.essay h3 {
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: 500;
}
.essay p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* Manifesto band */
.band {
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 110px 0;
}
.band-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.3;
  color: var(--bg);
  max-width: 880px;
  font-weight: 400;
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.band-quote::before {
  content: '"';
  display: block;
  color: var(--accent);
  font-size: 80px;
  line-height: 0.6;
  margin-bottom: 24px;
}
.band-cite {
  display: block;
  margin-top: 30px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-soft);
}

/* Page content */
.page {
  padding: 90px 0;
  max-width: 760px;
  margin: 0 auto;
}
.page h1 {
  font-size: clamp(38px, 5.5vw, 56px);
  margin-bottom: 16px;
  font-weight: 400;
}
.page .meta {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.page h2 { font-size: 28px; margin: 44px 0 14px; font-weight: 500; }
.page h3 {
  font-size: 18px;
  margin: 28px 0 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.page p, .page li {
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.page ul { padding-left: 22px; margin-bottom: 14px; }
.page strong { color: var(--ink); }

/* Forms */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px;
  margin-top: 26px;
  box-shadow: var(--shadow);
}
.form-field { margin-bottom: 20px; }
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
input, textarea, select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
  border-radius: 0;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
textarea { min-height: 130px; resize: vertical; }

.notice {
  background: var(--bg-warm);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.notice strong { color: var(--ink); }

.success {
  display: none;
  background: #eaf3ed;
  border-left: 3px solid #2e7d4f;
  padding: 18px 22px;
  margin-top: 24px;
  color: #1d4a2f;
  font-size: 15px;
}
.success.show { display: block; }

/* Footer */
.site-footer {
  background: var(--bg-warm);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer-grid h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  color: var(--ink);
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--ink-soft); font-size: 14px; }
.footer-grid p { color: var(--ink-soft); font-size: 14px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 420px; }
  .essays { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .nav a:not(.btn) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
