:root {
  --bg: #f7f6f3;
  --bg-soft: #efece6;
  --surface: #ffffff;
  --ink: #2c2a26;
  --muted: #6b6860;
  --line: #e5e2dc;
  --accent: #5b7a6a;
  --accent-deep: #3f574a;
  --accent-soft: #d8e4dd;
  --shadow: 0 12px 40px rgba(44, 42, 38, 0.06);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(91, 122, 106, 0.08), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(44, 42, 38, 0.04), transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent-deep);
  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: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 246, 243, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 246, 243, 0.95);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

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

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  margin: 0.28rem auto;
}

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

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

.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
}

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

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

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero-home {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 12ch;
  color: var(--ink);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  min-height: 320px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  animation: rise-in 0.9s ease both;
}

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

.section-alt {
  background: linear-gradient(180deg, rgba(239, 236, 230, 0.55), transparent);
}

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

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

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

.offer-grid,
.story-grid,
.post-grid,
.rate-grid {
  display: grid;
  gap: 1.25rem;
}

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

.offer-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.offer-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-soft);
}

.offer-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.offer-body h3 {
  font-size: 1.35rem;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 1rem;
}

.story-grid {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

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

.quote {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1.1rem 1.25rem;
}

.quote p {
  color: var(--ink);
  font-size: 1.02rem;
}

.quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}

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

.media-frame {
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

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

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

.steps li {
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

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

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 18ch;
}

.page-hero p {
  max-width: 40rem;
  font-size: 1.05rem;
}

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

.post-card,
.rate-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
}

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

.post-card .body,
.rate-block {
  padding: 1.25rem 1.35rem 1.5rem;
}

.rate-block h3 {
  margin-bottom: 0.4rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0.5rem 0 0.75rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.prose ul,
.prose ol {
  color: var(--muted);
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

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

.side-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.side-panel dl {
  margin: 0;
}

.side-panel dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: 0.85rem;
}

.side-panel dd {
  margin: 0.2rem 0 0;
  color: var(--ink);
}

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

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

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

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

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

.form .error {
  color: #8a3b2d;
  font-size: 0.85rem;
  min-height: 1.1em;
}

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

.form-status.is-success {
  display: block;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.form-status.is-error {
  display: block;
  background: #f3e1dc;
  color: #8a3b2d;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.contact-card {
  background: var(--bg-soft);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem;
}

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

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

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

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

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

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.footer-tag,
.site-footer p,
.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.footer-links li + li {
  margin-top: 0.35rem;
}

.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: rgba(44, 42, 38, 0.96);
  color: #f7f6f3;
  padding: 1rem 0;
  animation: slide-up 0.35s ease;
}

.cookie-banner p {
  color: #ddd8cf;
  margin: 0;
}

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

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

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

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

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}

@media (max-width: 900px) {
  .offer-grid,
  .post-grid,
  .rate-grid,
  .story-grid,
  .split,
  .detail-layout,
  .contact-grid,
  .footer-grid,
  .hero-home {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

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

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

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

  .side-panel {
    position: static;
  }
}
