:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --ink: #161616;
  --ink-muted: #5a5a56;
  --line: #e4e1da;
  --accent: #1c2b24;
  --accent-soft: #2f463b;
  --cedar: #a67c52;
  --focus: #3d6b58;
  --danger: #8a2f2f;
  --ok: #1f5c3d;
  --radius: 2px;
  --shadow: 0 12px 40px rgba(22, 22, 22, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 2rem);
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

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

a {
  color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

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

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.55rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

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

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

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

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

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

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

.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 42%, rgba(246, 245, 242, 0.55) 100%),
    var(--hero-image) center / cover no-repeat;
  z-index: -1;
  animation: fadeRise 1s ease both;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cedar);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 12ch;
  margin-bottom: 1.25rem;
  animation: fadeRise 0.8s ease 0.1s both;
}

.hero-lead {
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--ink-muted);
  animation: fadeRise 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  animation: fadeRise 0.8s ease 0.3s both;
}

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

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

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.eyebrow {
  color: var(--cedar);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

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

.offer-list {
  display: grid;
  gap: 1.25rem;
}

.offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding 0.25s ease;
}

.offer-row:last-child {
  border-bottom: 1px solid var(--line);
}

.offer-row:hover {
  padding-left: 0.5rem;
}

.offer-row h3 {
  font-size: 1.35rem;
  margin: 0;
}

.offer-row p {
  margin: 0;
  color: var(--ink-muted);
}

.offer-meta {
  font-size: 0.9rem;
  color: var(--accent-soft);
  font-weight: 500;
  white-space: nowrap;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.media-frame:hover img {
  transform: scale(1.03);
}

.story-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.quote-stack {
  display: grid;
  gap: 1.5rem;
}

.quote {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.quote:last-child {
  border-bottom: 1px solid var(--line);
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.45;
}

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

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

.card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

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

.card p {
  margin: 0;
  color: var(--ink-muted);
  flex: 1;
}

.meta {
  font-size: 0.85rem;
  color: var(--cedar);
  letter-spacing: 0.04em;
}

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

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.6rem;
}

.prose h3 {
  margin-top: 1.75rem;
  font-size: 1.2rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.25rem 0 2rem;
}

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

.prose th {
  background: var(--bg-soft);
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
}

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

.rate-table th {
  font-family: var(--font-display);
  font-size: 1.15rem;
  width: 38%;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.side-panel {
  background: var(--bg-soft);
  padding: 1.5rem;
  border-radius: var(--radius);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.side-panel dl {
  margin: 0;
}

.side-panel dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-top: 1rem;
}

.side-panel dt:first-child {
  margin-top: 0;
}

.side-panel dd {
  margin: 0.35rem 0 0;
}

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

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-weight: 500;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-success {
  display: block;
  background: #e8f4ec;
  color: var(--ok);
}

.form-status.is-error {
  display: block;
  background: #f8ecec;
  color: var(--danger);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
  background: var(--bg);
  margin-top: 2rem;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-bottom: 0.6rem;
}

.footer-text,
.footer-links,
.footer-base {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  animation: slideUp 0.4s ease both;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  max-width: 46rem;
  color: var(--ink-muted);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  counter-increment: step;
  padding-left: 3.2rem;
  position: relative;
}

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

.cta-band {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--accent);
  color: #fff;
}

.cta-band h2 {
  color: #fff;
  max-width: 16ch;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .story-block,
  .detail-grid,
  .contact-grid,
  .footer-grid,
  .offer-row {
    grid-template-columns: 1fr;
  }

  .offer-meta {
    white-space: normal;
  }

  .side-panel {
    position: static;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
