:root {
  --ink: #1f2420;
  --ink-soft: #3d4540;
  --paper: #f3eee4;
  --paper-2: #fffdf8;
  --line: #d4cbb8;
  --accent: #9a4a28;
  --accent-dark: #7a381c;
  --moss: #3f5a4c;
  --moss-soft: #e4ebe6;
  --error: #8a1f1f;
  --ok: #2d5a3d;
  --shadow: 0 18px 40px rgba(31, 36, 32, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --measure: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  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(--accent-dark);
}

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

h1,
h2,
h3,
.lede {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0 0 0.55em;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.main {
  min-height: 50vh;
}

.wrap {
  width: min(100% - 2rem, var(--measure));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2rem, 44rem);
}

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

.header__bar {
  width: min(100% - 2rem, var(--measure));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}

.header__skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
}

.header__skip:focus {
  left: 1rem;
  top: 0.5rem;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.header__mark {
  width: 0.7rem;
  height: 1.6rem;
  background: var(--accent);
  border-radius: 1px;
}

.header__toggle {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 0.4rem 0.75rem;
  font: inherit;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav {
  margin-left: auto;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

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

.nav__link--current,
.nav__link:hover {
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 4.25rem;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1.1rem;
  }

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

  .nav__list {
    flex-direction: column;
    gap: 0.65rem;
  }
}

@media (min-width: 861px) {
  .header__toggle {
    display: none;
  }
}

.footer {
  margin-top: 4rem;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: #ebe4d6;
}

.footer__grid {
  width: min(100% - 2rem, var(--measure));
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.footer__tag,
.footer__address {
  color: var(--ink-soft);
}

.footer__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links a {
  text-decoration: none;
}

.footer__copy {
  width: min(100% - 2rem, var(--measure));
  margin: 2rem auto 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: #fffaf4;
}

.btn--primary:hover {
  background: var(--accent-dark);
  color: #fffaf4;
}

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

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

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

.hero__panel {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(243, 238, 228, 0) 0%, var(--paper) 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(63, 90, 76, 0.05) 11px,
      rgba(63, 90, 76, 0.05) 12px
    );
}

.hero__kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--moss);
  margin-bottom: 0.8rem;
}

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

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

.section {
  padding: 3.5rem 0;
}

.section--tint {
  background: var(--moss-soft);
}

.section__rule {
  width: 3rem;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1.2rem;
  border: 0;
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

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

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card__body {
  padding: 1.1rem 1.15rem 1.3rem;
}

.card__meta {
  font-size: 0.82rem;
  color: var(--moss);
  font-weight: 600;
}

.card a.card__title {
  text-decoration: none;
  color: var(--ink);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.quote {
  background: var(--paper-2);
  border-left: 4px solid var(--accent);
  padding: 1.2rem 1.3rem;
  margin: 0;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.quote footer {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form__label {
  display: grid;
  gap: 0.3rem;
  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);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
}

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

.form__error {
  color: var(--error);
  font-size: 0.88rem;
  font-weight: 500;
}

.form__status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}

.form__status--ok {
  background: #dce8e0;
  color: var(--ok);
}

.form__status--bad {
  background: #f3d9d6;
  color: var(--error);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-2);
}

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

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

.page-hero {
  padding: 3rem 0 1rem;
}

.page-hero img {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  margin-top: 1.2rem;
  border: 1px solid var(--line);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.prose {
  max-width: 42rem;
}

.prose img {
  margin: 1.2rem 0;
  border: 1px solid var(--line);
}

.meta-row {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.cookie-banner {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 1rem;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.18);
}

.cookie-banner a {
  color: #e8d5b5;
}

.cookie-banner__inner {
  width: min(100%, var(--measure));
  margin-inline: auto;
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner__title {
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.cookie-banner__text {
  margin: 0;
  max-width: 44rem;
  color: #d9d3c8;
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-banner .btn--ghost {
  border-color: #d9d3c8;
  color: #fff;
}

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

.cookie-banner__error {
  width: min(100%, var(--measure));
  margin: 0.5rem auto 0;
  color: #f3d9d6;
}

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

.fee {
  padding: 1.2rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.fee__amount {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0.2rem 0 0.6rem;
}

.article-list time {
  display: block;
  font-size: 0.82rem;
  color: var(--moss);
  margin-bottom: 0.3rem;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__media {
    order: -1;
  }
}
