:root {
  --ink: #14110e;
  --paper: #f3efe6;
  --paper-deep: #e7e0d2;
  --pitch: #1e3a2f;
  --pitch-soft: #2c5344;
  --copper: #b57a3a;
  --copper-deep: #8c5a28;
  --rule: #c9bfae;
  --muted: #5c564c;
  --danger: #8b2e1f;
  --ok: #1e3a2f;
  --radius: 2px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 2rem);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

a:hover {
  color: var(--copper-deep);
}

h1,
h2,
h3,
.header__name {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.main {
  min-height: 60vh;
}

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

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

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

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

.header__skip:focus {
  left: 1rem;
  top: 0.5rem;
  background: var(--pitch);
  color: var(--paper);
  padding: 0.4rem 0.7rem;
}

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

.header__mark {
  width: 0.7rem;
  height: 1.4rem;
  background: var(--pitch);
  box-shadow: 0.22rem 0.22rem 0 var(--copper);
}

.header__name {
  font-size: 1.05rem;
  font-weight: 700;
}

.header__toggle {
  display: none;
  border: 1px solid var(--pitch);
  background: transparent;
  color: var(--pitch);
  font: inherit;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

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

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

.header__list a:hover {
  color: var(--copper-deep);
}

.footer {
  border-top: 2px solid var(--pitch);
  margin-top: 4rem;
  padding: 2.5rem 0 2rem;
  background: var(--paper-deep);
}

.footer__grid {
  width: min(100% - 2rem, var(--max));
  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.3rem;
  margin: 0 0 0.4rem;
}

.footer__tag,
.footer p {
  margin: 0.25rem 0;
  color: var(--muted);
}

.footer__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pitch);
  font-weight: 600;
}

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

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

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.7rem 1.15rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--pitch);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--pitch-soft);
  color: var(--paper);
}

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

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-bottom: 1px solid var(--rule);
}

.hero__copy {
  padding: clamp(1.5rem, 4vw, 3.5rem) var(--space);
  background:
    linear-gradient(90deg, var(--paper) 0%, var(--paper) 70%, transparent 100%),
    var(--paper);
}

.hero__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin: 0 0 0.8rem;
  font-weight: 600;
}

.hero__lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

.hero__figure {
  margin: 0;
  min-height: 22rem;
}

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

.pull {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.4;
  border-left: 3px solid var(--copper);
  padding: 0.2rem 0 0.2rem 1rem;
  margin: 1.5rem 0 0;
  max-width: 32rem;
}

.section {
  padding: clamp(2.2rem, 5vw, 4rem) 0;
}

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

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

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}

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

.card__body {
  padding: 1rem 1.1rem 1.2rem;
}

.card__kicker {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin: 0 0 0.35rem;
}

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

.card h3 a {
  text-decoration: none;
  color: inherit;
}

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

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

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

.steps li {
  counter-increment: step;
  padding: 0.8rem 0 0.8rem 3rem;
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-family: var(--font-display);
  color: var(--copper);
}

.quote {
  background: var(--pitch);
  color: var(--paper);
  padding: 2rem;
}

.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  margin-top: 0;
}

.quote footer {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  color: #d7cbb8;
  font-size: 0.9rem;
}

.prose {
  max-width: 42rem;
}

.prose p + p {
  margin-top: 1rem;
}

.legal {
  max-width: 46rem;
}

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

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

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

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

.form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
}

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

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

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

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

.form__status--err {
  border-color: var(--danger);
  background: #f6e8e4;
}

.address {
  border-left: 3px solid var(--pitch);
  padding-left: 1rem;
}

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

.team img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.rates {
  width: 100%;
  border-collapse: collapse;
}

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

.cookie {
  position: fixed;
  z-index: 40;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  border-top: 3px solid var(--copper);
}

.cookie[hidden] {
  display: none;
}

.cookie a {
  color: #e8c98a;
}

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

.cookie .btn--ghost {
  border-color: var(--paper);
  color: var(--paper);
}

.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--rule);
}

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

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

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

.error-page {
  padding: 4rem 0;
  text-align: center;
}

@media (max-width: 860px) {
  .hero,
  .feature,
  .grid-3,
  .grid-2,
  .team,
  .page-hero--split {
    grid-template-columns: 1fr;
  }

  .header__toggle {
    display: block;
  }

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

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

  .header__list {
    flex-direction: column;
  }

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