:root {
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --ink: #141816;
  --ink-muted: #5a615c;
  --line: #e4e2dc;
  --accent: #1c2b24;
  --accent-soft: #2f453a;
  --cedar: #8b6a4a;
  --focus: #3d5c4a;
  --radius: 2px;
  --shadow: 0 18px 40px rgba(20, 24, 22, 0.06);
  --font-display: "Syne", sans-serif;
  --font-body: "Source Serif 4", Georgia, 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);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-soft);
  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;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.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 transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(20, 24, 22, 0.04);
}

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

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

.brand-mark {
  width: 0.85rem;
  height: 1.6rem;
  background: linear-gradient(180deg, var(--cedar), var(--accent));
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

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

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

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

.nav-cta {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: #fff !important;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease, border-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);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  animation: heroRise 1.2s ease-out both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 22, 0.15) 0%, rgba(20, 24, 22, 0.55) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: clamp(3rem, 10vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
  max-width: 38rem;
  animation: fadeUp 0.9s ease 0.15s both;
}

.hero-copy h1 {
  color: #fff;
  margin-bottom: 0.9rem;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 32rem;
}

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

.hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero-actions .btn-ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

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

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

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

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

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

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

.offer-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.offer-row {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.25s ease, background 0.25s ease;
}

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

.offer-row h3 {
  margin: 0;
}

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

.offer-row span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-soft);
}

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

.media-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  animation: fadeUp 0.8s ease both;
}

.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 blockquote {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.quote cite {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero p {
  max-width: 40rem;
  color: var(--ink-muted);
  font-size: 1.15rem;
}

.prose {
  max-width: 42rem;
}

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

.card-media {
  overflow: hidden;
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card-link:hover img {
  transform: scale(1.03);
}

.card-body {
  padding: 1.15rem 0 0;
}

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

.meta {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cedar);
  margin-bottom: 0.4rem;
}

.price-block {
  display: grid;
  gap: 1.5rem;
}

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

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

.price-item .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.35rem 0 0.75rem;
}

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

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

.form label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}

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

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

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

.field-error {
  color: #8a2f2f;
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
}

.form-status[data-state="success"] {
  border-color: var(--accent);
  background: #eef4f0;
}

.form-status[data-state="error"] {
  border-color: #8a2f2f;
  background: #faf1f1;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-details {
  background: var(--bg-soft);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.contact-details p {
  margin-bottom: 0.75rem;
}

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

.steps li {
  position: relative;
  padding-left: 3.5rem;
  min-height: 2.5rem;
}

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

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

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

th {
  font-family: var(--font-display);
  font-weight: 700;
}

.site-footer {
  margin-top: 2rem;
  padding: 3.5rem 0 2rem;
  background: var(--accent);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 0.9fr 0.8fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.65rem;
}

.footer-address,
.footer-tag {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  font-size: 0.92rem;
}

.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: fadeUp 0.4s ease both;
}

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

.cookie-inner p {
  margin: 0;
  max-width: 48rem;
}

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

.cta-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band .shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.story {
  display: grid;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.story h3 {
  margin-bottom: 0.25rem;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.detail-meta {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-meta dt {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cedar);
}

.detail-meta dd {
  margin: 0.15rem 0 0.85rem;
}

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

@keyframes heroRise {
  from {
    transform: scale(1.06);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .offer-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

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

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

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

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

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
