:root {
  --bg: #f3f2ef;
  --bg-deep: #e8e6e1;
  --surface: #fafaf8;
  --ink: #1c1d1b;
  --muted: #5c5f59;
  --line: #d5d3cc;
  --accent: #2f3a33;
  --accent-soft: #4a5a50;
  --highlight: #c4a574;
  --highlight-soft: #e6d5b8;
  --danger: #8b3a3a;
  --ok: #2f5d45;
  --shadow: 0 18px 40px rgba(28, 29, 27, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "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);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 165, 116, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(74, 90, 80, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
}

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.6em;
}

p {
  margin: 0 0 1em;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(243, 242, 239, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(28, 29, 27, 0.05);
}

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

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

.brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.45rem;
  background: linear-gradient(145deg, var(--accent), var(--accent-soft));
  box-shadow: inset 0 0 0 2px rgba(232, 230, 225, 0.25);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 35% 35%;
  border-radius: 50%;
  background: var(--highlight);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

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

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  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: var(--surface) !important;
  border-radius: var(--radius);
  transition: transform 0.25s ease, background 0.25s ease;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}

.nav-toggle-bars {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin-left: 0.4rem;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.nav-toggle {
  align-items: center;
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--surface);
    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;
  }
  .nav-cta { margin-top: 0.4rem; }
}

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

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

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

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

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

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

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

.section-tight {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

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

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroRise 1.2s ease both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 29, 27, 0.78) 0%, rgba(28, 29, 27, 0.45) 48%, rgba(28, 29, 27, 0.2) 100%),
    linear-gradient(0deg, rgba(28, 29, 27, 0.55), transparent 45%);
}

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

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--surface);
  margin-bottom: 0.75rem;
}

.hero p {
  color: rgba(250, 250, 248, 0.88);
  font-size: 1.12rem;
  max-width: 32rem;
}

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

.hero .btn-ghost {
  border-color: rgba(250, 250, 248, 0.45);
  color: var(--surface);
}

.hero .btn-ghost:hover {
  border-color: var(--surface);
  background: rgba(250, 250, 248, 0.08);
}

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

.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  max-width: 16ch;
}

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

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg-deep);
  min-height: 16rem;
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

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

@media (max-width: 960px) {
  .offer-grid,
  .card-grid,
  .post-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .offer-grid,
  .card-grid,
  .post-grid { grid-template-columns: 1fr; }
}

.offer-item,
.post-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0;
  text-decoration: none;
  color: inherit;
  animation: fadeUp 0.7s ease both;
}

.offer-item img,
.post-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-deep);
}

.offer-item h3,
.post-card h3 {
  font-size: 1.35rem;
  margin: 0;
}

.offer-item p,
.post-card p {
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.offer-meta {
  font-size: 0.9rem;
  color: var(--accent-soft);
  font-weight: 550;
}

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

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

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

.quote p {
  font-size: 1.15rem;
  max-width: 48rem;
}

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

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.7s ease forwards;
}

.step:nth-child(1) { animation-delay: 0.05s; }
.step:nth-child(2) { animation-delay: 0.15s; }
.step:nth-child(3) { animation-delay: 0.25s; }
.step:nth-child(4) { animation-delay: 0.35s; }

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--highlight);
  min-width: 2.4rem;
}

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

.price-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

@media (max-width: 640px) {
  .price-row { grid-template-columns: 1fr; }
}

.price-row strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

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

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

.form label {
  font-weight: 550;
  font-size: 0.95rem;
}

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

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

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

.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: rgba(47, 93, 69, 0.12);
  color: var(--ok);
}

.form-status.is-error {
  display: block;
  background: rgba(139, 58, 58, 0.1);
  color: var(--danger);
}

.prose {
  max-width: 42rem;
}

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

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

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

.prose th {
  background: rgba(47, 58, 51, 0.06);
}

.cta-band {
  background: var(--accent);
  color: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
  animation: fadeUp 0.8s ease both;
}

.cta-band h2 {
  color: var(--surface);
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.cta-band p {
  margin: 0;
  color: rgba(250, 250, 248, 0.85);
  max-width: 28rem;
}

.cta-band .btn-primary {
  background: var(--highlight);
  color: var(--ink);
}

.cta-band .btn-primary:hover {
  background: var(--highlight-soft);
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background: #242621;
  color: rgba(250, 250, 248, 0.82);
}

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

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--surface);
  margin-bottom: 0.5rem;
}

.footer-heading {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 0.8rem;
}

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

.footer-links li { margin-bottom: 0.4rem; }

.site-footer a {
  color: rgba(250, 250, 248, 0.82);
  text-decoration: none;
}

.site-footer a:hover { color: var(--surface); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 250, 248, 0.12);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(28, 29, 27, 0.96);
  color: var(--surface);
  padding: 1rem 0;
  border-top: 1px solid rgba(250, 250, 248, 0.12);
  animation: slideUp 0.45s ease both;
}

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

.cookie-banner a { color: var(--highlight-soft); }

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

.cookie-banner .btn-ghost {
  border-color: rgba(250, 250, 248, 0.35);
  color: var(--surface);
}

.cookie-banner .btn-primary {
  background: var(--highlight);
  color: var(--ink);
}

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

@media (max-width: 860px) {
  .detail-layout { grid-template-columns: 1fr; }
}

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

.side-panel dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.side-panel dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

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

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

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

.img-placeholder {
  background: linear-gradient(135deg, var(--bg-deep), #d9d6ce);
  min-height: 12rem;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@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; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

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

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