:root {
  --ink: #1c1916;
  --ink-soft: #3f3a34;
  --paper: #f3eee6;
  --paper-deep: #e7dfd2;
  --cream: #faf7f2;
  --line: #d3c9b8;
  --clay: #c45c26;
  --clay-deep: #9a4318;
  --slate: #4a5858;
  --shadow: 0 18px 40px rgba(28, 25, 22, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--clay-deep);
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3,
.lede {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.75rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0.7rem 1.15rem;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--clay);
  color: var(--cream);
  border-color: var(--clay);
}

.btn--primary:hover {
  background: var(--clay-deep);
  color: var(--cream);
}

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 238, 230, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.header__mark {
  width: 0.7rem;
  height: 1.6rem;
  background: var(--clay);
}

.header__name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.header__toggle {
  display: none;
  font-family: var(--sans);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.header__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.header__link {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.header__link:hover,
.header__link--accent {
  color: var(--clay-deep);
}

.header__link--accent {
  border-bottom: 2px solid var(--clay);
  padding-bottom: 0.1rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #ece5d8;
  padding: 3rem var(--space) 2rem;
  margin-top: 4rem;
}

.footer a {
  color: #ece5d8;
}

.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer__name {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
}

.footer__heading {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list a {
  text-decoration: none;
}

.footer__list li {
  margin-bottom: 0.35rem;
}

.footer__note {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  font-size: 0.85rem;
  color: #b9b0a2;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--space);
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.lede {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 40rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 78vh;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.hero__figure {
  position: relative;
  min-height: 22rem;
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
}

.hero__caption {
  position: absolute;
  left: var(--space);
  bottom: 1rem;
  background: var(--cream);
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  max-width: 18rem;
}

.hero__copy {
  padding: clamp(2rem, 6vw, 4.5rem) var(--space);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__meta {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 1.25rem;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.band {
  padding: 3.5rem var(--space);
}

.band--alt {
  background: var(--paper-deep);
}

.band__inner {
  max-width: var(--max);
  margin: 0 auto;
}

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

.figure-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.figure-block figcaption {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 0.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.card__meta {
  font-size: 0.8rem;
  color: var(--slate);
  letter-spacing: 0.04em;
}

.quote {
  border-left: 3px solid var(--clay);
  padding: 0.2rem 0 0.2rem 1.1rem;
  margin: 0 0 1.5rem;
}

.quote p {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.quote footer {
  font-size: 0.9rem;
  color: var(--slate);
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--slate);
}

.list-plain {
  padding-left: 1.1rem;
}

.list-plain li {
  margin-bottom: 0.4rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  color: var(--clay);
  font-weight: 700;
}

.legal h2 {
  margin-top: 2rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--paper-deep);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  border-radius: 2px;
}

.form textarea {
  min-height: 8rem;
}

.form__error {
  color: #8a1f11;
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form__status {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--cream);
}

.form__status--ok {
  border-color: #3d5c45;
}

.form__status--err {
  border-color: #8a1f11;
}

.cookie {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 30;
}

.cookie__inner {
  max-width: 42rem;
  margin-left: auto;
  background: var(--ink);
  color: #ece5d8;
  padding: 1.1rem 1.2rem;
  border-top: 4px solid var(--clay);
  box-shadow: var(--shadow);
}

.cookie__inner a {
  color: #f0c9a8;
}

.cookie__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.cookie .btn--ghost {
  color: #ece5d8;
  border-color: #ece5d8;
}

.cookie .btn--ghost:hover {
  background: #ece5d8;
  color: var(--ink);
}

.cookie__error {
  color: #f0c9a8;
  margin: 0.5rem 0 0;
}

.page-hero {
  padding: 3.5rem var(--space) 2rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero--image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}

.page-hero--image img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.page-hero--image .page-hero__inner {
  padding: 3rem var(--space);
}

.prose {
  max-width: 42rem;
}

.prose.wide {
  max-width: 48rem;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.8rem 0.6rem;
  border-bottom: 1px solid var(--line);
}

.muted {
  color: var(--ink-soft);
}

.portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.article-cover {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
}

.island-error {
  color: #8a1f11;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .page-hero--image,
  .footer__grid,
  .card-grid,
  .team {
    grid-template-columns: 1fr;
  }

  .header__toggle {
    display: inline-block;
  }

  .header__nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--space) 1.25rem;
  }

  .header__nav.is-open {
    display: block;
  }

  .header__list {
    flex-direction: column;
    align-items: flex-start;
  }

  .header {
    position: sticky;
  }

  .header__bar {
    position: relative;
  }
}
