:root {
  --ink: #1c1917;
  --ink-soft: #5c564e;
  --paper: #f3eee4;
  --paper-deep: #e8e0d2;
  --card: #fffdf8;
  --line: #d4cbbd;
  --accent: #9a4d2e;
  --accent-deep: #7a3b22;
  --grove: #2c4a3e;
  --grove-soft: #3d5c4e;
  --white: #fffcf7;
  --shadow: 0 18px 40px rgba(28, 25, 23, 0.08);
  --radius: 14px;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", system-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(--grove);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
.lede {
  font-family: var(--serif);
  font-optical-sizing: auto;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

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

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 0.8rem;
}

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

p {
  margin: 0 0 1rem;
}

.main {
  min-height: 60vh;
}

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

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

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

.btn:hover {
  transform: translateY(-1px);
}

.btn--solid {
  background: var(--grove);
  color: var(--white);
}

.btn--solid:hover {
  background: var(--accent);
  color: var(--white);
}

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

.btn--ghost:hover {
  border-color: var(--grove);
  color: var(--grove);
}

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

.header__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.header__skip {
  position: absolute;
  left: -999px;
}

.header__skip:focus {
  left: 1rem;
  top: 0.5rem;
  background: var(--card);
  padding: 0.3rem 0.6rem;
}

.header__brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.header__toggle {
  display: none;
  background: none;
  border: 0;
  font: inherit;
  color: var(--ink);
  align-items: center;
  gap: 0.5rem;
}

.header__toggle-bars,
.header__toggle-bars::before,
.header__toggle-bars::after {
  display: block;
  width: 1.3rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.header__toggle-bars::before,
.header__toggle-bars::after {
  content: "";
  position: absolute;
}

.header__toggle-bars::before {
  top: -6px;
}

.header__toggle-bars::after {
  top: 6px;
}

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

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

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

.header__link--cta {
  background: var(--accent);
  color: var(--white);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.header__link--cta:hover,
.header__link--cta.is-current {
  background: var(--grove);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  min-height: 78vh;
  background: var(--paper);
}

.hero__copy {
  padding: clamp(2rem, 6vw, 5rem) clamp(1.2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.hero__figure {
  margin: 0;
  position: relative;
}

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

.hero__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 253, 248, 0.92);
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
  max-width: 16rem;
}

.legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 1.8rem;
}

.legend__item {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}

.legend__item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grove);
}

.section {
  padding: var(--space) 0;
}

.section--grove {
  background: var(--grove);
  color: var(--white);
}

.section--grove a {
  color: #f3eee4;
}

.section--grove .btn--ghost {
  border-color: #cfc4b4;
  color: #f3eee4;
}

.section--carded {
  background: var(--paper-deep);
}

.section__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card__body {
  padding: 1.15rem 1.2rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__body p:last-of-type {
  flex: 1;
}

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

.card--photo img {
  height: 16rem;
}

.week {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.week__col {
  padding: 1.4rem 1.3rem;
  border-right: 1px solid var(--line);
}

.week__col:last-child {
  border-right: 0;
}

.week__day {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.quote {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.person {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.prose {
  max-width: 42rem;
}

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

.page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem;
}

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

.page-hero img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  border-radius: var(--radius);
}

.list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

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

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

.form__row {
  display: grid;
  gap: 0.35rem;
}

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

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

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

.form__error {
  color: var(--accent-deep);
  font-size: 0.88rem;
}

.form__status {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #e4efe8;
}

.form__status.is-error {
  background: #f7e4dc;
}

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

.team img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

th {
  background: var(--paper-deep);
  font-weight: 600;
}

.footer {
  background: #241f1b;
  color: #efe8dc;
  padding: 2.5rem 0 1.2rem;
  margin-top: 2rem;
}

.footer a {
  color: #efe8dc;
}

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

.footer__name {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.footer__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cfc4b4;
}

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

.footer__nav li {
  margin-bottom: 0.3rem;
}

.footer__copy {
  width: min(100% - 2rem, var(--max));
  margin: 1.5rem auto 0;
  border-top: 1px solid #3a332c;
  padding-top: 1rem;
  font-size: 0.88rem;
  color: #cfc4b4;
}

.cookie {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  max-width: 28rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie__inner {
  padding: 1rem 1.1rem 1.1rem;
}

.cookie__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.7rem;
}

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

.media-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero,
  .page-hero--split,
  .grid--3,
  .grid--2,
  .week,
  .team,
  .footer__inner,
  .legend,
  .media-block {
    grid-template-columns: 1fr;
  }

  .week__col {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .header__toggle {
    display: inline-flex;
  }

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

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
