:root {
  --ink: #1a1612;
  --ink-soft: #3d372f;
  --paper: #f4efe6;
  --cream: #fbf7f0;
  --terracotta: #b54a22;
  --terracotta-deep: #8c3416;
  --olive: #4f5d3d;
  --muted: #6d665c;
  --line: #d8cebf;
  --white: #fffcf7;
  --shadow: 0 18px 40px rgba(26, 22, 18, 0.08);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --space: clamp(1rem, 2vw, 2rem);
  --wide: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--terracotta-deep);
  text-underline-offset: 0.18em;
}

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

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

.main {
  min-height: 60vh;
}

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

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

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

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

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

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

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

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

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

.header__bar {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.2rem;
}

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

.header__skip:focus {
  left: 1rem;
  top: 0.6rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.4rem 0.8rem;
}

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

.header__mark {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 0.85rem;
}

.header__name {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.header__toggle {
  display: none;
  background: none;
  border: 0;
  font: inherit;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.header__toggle-icon {
  width: 1.3rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.header__toggle-icon::before,
.header__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.3rem;
  height: 2px;
  background: var(--ink);
}

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

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

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

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

.header__link.is-active,
.header__link:hover {
  color: var(--ink);
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 78vh;
}

.hero__panel {
  padding: clamp(2rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(244, 239, 230, 0.2), var(--paper) 70%),
    repeating-linear-gradient(-12deg, transparent, transparent 18px, rgba(181, 74, 34, 0.04) 18px, rgba(181, 74, 34, 0.04) 19px);
}

.hero__issue {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin: 0 0 1rem;
}

.hero__text {
  max-width: 36rem;
  color: var(--ink-soft);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.hero__visual {
  position: relative;
  overflow: hidden;
}

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

.hero__caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: var(--white);
  padding: 0.55rem 0.8rem;
  font-size: 0.78rem;
  max-width: 16rem;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

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

.section__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: end;
}

.section__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  color: inherit;
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.mast {
  padding: clamp(3rem, 8vw, 6rem) 0 2rem;
}

.mast__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin: 0 0 1rem;
  max-width: 18ch;
}

.mast__lead {
  max-width: 40rem;
  color: var(--ink-soft);
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose h2 {
  margin: 2rem 0 0.8rem;
  font-size: 1.6rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

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

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

.quote {
  background: var(--ink);
  color: var(--cream);
  padding: 1.6rem;
}

.quote p {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.quote footer {
  color: #d8cebf;
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

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

th {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.form label {
  font-weight: 500;
}

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

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

.form__error {
  color: var(--terracotta-deep);
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form__status {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.form__status[data-state="success"] {
  border-color: var(--olive);
}

.form__status[data-state="error"] {
  border-color: var(--terracotta);
}

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

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

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 0 1.5rem;
}

.footer a {
  color: #f0d3c4;
}

.footer__grid {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer__kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: #cfc4b4;
  margin: 0 0 0.6rem;
}

.footer__title {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
}

.footer__address {
  font-style: normal;
}

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

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

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

.cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(26, 22, 18, 0.08);
}

.cookie__inner {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.cookie__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.price-list {
  display: grid;
  gap: 1rem;
}

.price-item {
  background: var(--white);
  border-left: 4px solid var(--terracotta);
  padding: 1.2rem 1.4rem;
}

.story {
  display: grid;
  gap: 2rem;
}

.story__block {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

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

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

.page-hero__label {
  position: absolute;
  left: max(1rem, calc((100% - var(--wide)) / 2));
  bottom: 1.2rem;
  background: var(--paper);
  padding: 1rem 1.2rem;
}

.not-found {
  padding: 6rem 0;
  text-align: center;
}

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

  .header__toggle {
    display: inline-flex;
  }

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

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

  .header__list {
    flex-direction: column;
  }

  .cookie__inner {
    flex-direction: column;
    align-items: stretch;
  }
}
