:root {
  --paper: #efe6d6;
  --paper-2: #f7f2e8;
  --ink: #1c1814;
  --ink-soft: #3c352d;
  --muted: #6e655c;
  --line: #d8ccb8;
  --copper: #9a3f28;
  --copper-deep: #732e1c;
  --moss: #243f36;
  --card: #fbf7f0;
  --shadow: 0 22px 50px rgba(28, 24, 20, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 0 0, rgba(154, 63, 40, 0.08), transparent 36%),
    linear-gradient(180deg, #f4ecdf 0%, var(--paper) 280px);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
main figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
a { color: var(--copper-deep); }
a:hover { color: var(--copper); }

.script-status {
  margin: 0;
  padding: 0.75rem 4vw;
  background: var(--copper-deep);
  color: var(--paper-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.95rem 4vw;
  background: rgba(247, 242, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.wordmark {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.wordmark-name,
.footer-name {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark-sub {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--copper-deep);
  box-shadow: inset 0 -2px 0 var(--copper);
}

.nav-contact {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--ink);
}

.nav-toggle {
  display: none;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.wrap {
  width: min(var(--max), calc(100% - 8vw));
  margin: 0 auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.8rem;
  color: var(--copper-deep);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker span {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0;
  font-size: 1rem;
  text-transform: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.45rem; margin: 0 0 0.45rem; }

.lede {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.18rem;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.4rem;
  padding-bottom: 0.15rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--copper);
}

.text-action::after { content: "→"; color: var(--copper); }

.btn, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.2rem;
  padding: 0.75rem 1.15rem;
  font: inherit;
  font-weight: 560;
  cursor: pointer;
  text-decoration: none;
}

.btn {
  color: var(--paper-2);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.btn:hover { color: var(--paper-2); background: var(--copper-deep); border-color: var(--copper-deep); }

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
}

.btn-ghost:hover { color: var(--paper-2); background: var(--ink); }

.masthead {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: end;
  padding: 3.2rem 0 2rem;
}

.masthead-figure {
  margin: 0;
  position: relative;
}

.masthead-figure img,
.cover img,
.portrait img,
.story-figure img,
.band-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masthead-figure img {
  height: min(68vh, 540px);
  border-radius: 2px 72px 2px 2px;
}

.masthead-figure figcaption,
.cover figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.section { padding: 3.2rem 0; }

.section-head {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.section-head p { margin: 0.3rem 0 0; color: var(--ink-soft); }

.case-grid, .offer-grid, .team-grid, .post-grid, .voice-grid {
  display: grid;
  gap: 1rem;
}

.case-grid { grid-template-columns: 1.2fr 1fr; }
.offer-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
.team-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.voice-grid { grid-template-columns: 1.1fr 0.9fr; }

.card, .offer, .post-card, .voice, .step, .person {
  background: var(--card);
  border: 1px solid var(--line);
}

.card, .offer, .post-card, .voice, .step {
  padding: 1.2rem 1.25rem 1.3rem;
}

.card strong, .offer h3, .step h3 { font-family: var(--serif); }

.card-index, .step-no {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--copper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
}

.offer img, .post-card img {
  width: calc(100% + 2.5rem);
  max-width: none;
  height: 190px;
  margin: -1.2rem -1.25rem 1rem;
  object-fit: cover;
}

.offer a, .post-card a { font-weight: 600; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.band {
  background: var(--moss);
  color: #f3ecdf;
}

.band-figure img { height: 360px; object-fit: cover; }
.band .text-action { color: #f3ecdf; border-color: #e0b2a2; }
.band .text-action::after { color: #e0b2a2; }

.pull {
  margin: 0;
  padding: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.25;
}

.pull footer {
  margin-top: 0.8rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.portrait img { height: 360px; filter: saturate(0.85); }
.person h3 { margin-top: 0.8rem; }
.person p { margin: 0.25rem 0; }
.role { color: var(--copper-deep); font-size: 0.92rem; }

.timeline { display: grid; gap: 0; }
.step { border-left: 3px solid var(--copper); margin-left: 0.4rem; }

.fee-table, .cookie-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
}

.fee-table th, .fee-table td, .cookie-table th, .cookie-table td {
  padding: 0.85rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.fee-table th, .cookie-table th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.note {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.article {
  width: min(740px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 2.4rem 0 3rem;
}

.article h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
.article p, .article li { font-size: 1.06rem; }
.cover { margin: 0 0 1.4rem; }
.cover img { height: 380px; width: 100%; object-fit: cover; }

.prose h2 { margin-top: 2rem; font-size: 1.7rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }

.page-hero { padding: 2.8rem 0 0.4rem; }
.page-hero h1 { max-width: 16ch; }

.story-figure img { height: 280px; }

form {
  display: grid;
  gap: 0.9rem;
  padding: 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
}

label { display: grid; gap: 0.3rem; font-weight: 560; }
input, select, textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  color: var(--ink);
  font: inherit;
  background: #fffdf9;
  border: 1px solid var(--line);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}
.field-error { min-height: 1.1em; color: var(--copper-deep); font-size: 0.88rem; font-weight: 500; }
.form-panel {
  padding: 1.2rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
}
.form-panel.success { background: #e7efe8; border-color: var(--moss); }
.form-panel.failure { background: #f8ebe6; border-color: var(--copper); }

.address-block p { margin: 0.2rem 0; }
.address-block .verbatim {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.35;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.4rem 4vw 1.6rem;
  color: #f4ecdf;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.9fr 0.8fr;
  gap: 1.5rem;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.site-footer a { color: #f0d2c6; }
.footer-label {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer .footer-label { color: #c8b8a4; }
.footer-nav { display: grid; gap: 0.35rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-copy {
  width: min(var(--max), 100%);
  margin: 1.6rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 236, 223, 0.18);
  color: #c8b8a4;
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  z-index: 50;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 0.7rem;
  max-width: 680px;
  padding: 1.1rem 1.15rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--ink);
  border-top: 4px solid var(--copper);
  box-shadow: var(--shadow);
}

.cookie-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.missing {
  min-height: 60vh;
  display: grid;
  align-content: center;
  gap: 0.6rem;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-header { flex-wrap: wrap; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 4vw 1.1rem;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .masthead, .section-head, .case-grid, .offer-grid, .team-grid, .post-grid, .voice-grid, .split, .footer-grid {
    grid-template-columns: 1fr;
  }
  .masthead-figure img, .cover img, .portrait img { height: 240px; border-radius: 2px; }
  .offer img, .post-card img { width: calc(100% + 2.5rem); height: 160px; }
}

@media (prefers-reduced-motion: no-preference) {
  .masthead-copy, .masthead-figure {
    animation: rise 0.7s ease both;
  }
  .masthead-figure { animation-delay: 0.12s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
