:root {
  --bg: #f3f1ec;
  --bg-elevated: #faf9f6;
  --ink: #1c2421;
  --ink-soft: #4a5550;
  --line: #d7d2c8;
  --accent: #1f3d36;
  --accent-hover: #163029;
  --accent-soft: #d9e4df;
  --highlight: #c4a574;
  --danger: #8b3a3a;
  --success: #2f5d45;
  --shadow: 0 18px 40px rgba(28, 36, 33, 0.08);
  --radius: 14px;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --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.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(31, 61, 54, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 165, 116, 0.12), transparent 50%),
    linear-gradient(180deg, #ebe8e1 0%, var(--bg) 28%, #efede7 100%);
  min-height: 100vh;
}

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

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

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

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

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  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, 241, 236, 0.88);
  border-bottom: 1px solid rgba(215, 210, 200, 0.8);
}

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

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  max-width: 16rem;
  line-height: 1.25;
}

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

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

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

.nav-cta {
  background: var(--accent);
  color: #f7f5f0 !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  cursor: pointer;
}

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

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

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

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

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

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

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.hero-copy {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

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

.hero-media {
  position: relative;
}

.hero-media img,
.page-hero img,
.cover img,
.card-media img,
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 5 / 4;
  animation: rise-in 0.9s ease both;
}

.hero-brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  color: var(--accent);
  animation: fade-up 0.7s ease both;
}

.hero h1 {
  animation: fade-up 0.8s ease 0.08s both;
}

.section {
  padding: 3.25rem 0;
}

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

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

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

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

.offer-item {
  padding: 0;
  border: none;
  background: transparent;
}

.offer-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.offer-item h3 {
  margin-top: 0.9rem;
  color: var(--ink);
}

.offer-item p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0.75rem 0 0;
}

.band {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

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

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

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

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

.quote p {
  font-size: 1.08rem;
}

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

.page-hero {
  padding: 2.75rem 0 1.5rem;
}

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

.content-block {
  max-width: 46rem;
}

.content-block h2 {
  margin-top: 2rem;
}

.prose-list {
  padding-left: 1.2rem;
}

.prose-list li {
  margin-bottom: 0.45rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

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

.price-table th {
  font-family: var(--font-display);
  font-weight: 650;
}

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

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

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

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--ink);
}

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

.form .error {
  color: var(--danger);
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(47, 93, 69, 0.12);
  color: var(--success);
}

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

.contact-aside {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.blog-list,
.service-list {
  display: grid;
  gap: 1.5rem;
}

.blog-item,
.service-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.blog-item h2,
.service-row h2 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.blog-item a,
.service-row a {
  text-decoration: none;
  color: inherit;
}

.blog-item a:hover h2,
.service-row a:hover h2 {
  color: var(--accent);
}

.tag {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: var(--accent-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-right: 0.35rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.75rem 0 1.5rem;
  background: #1c2421;
  color: #d8d4cb;
}

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

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

.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;
  color: #f7f4ee;
  margin-bottom: 0.5rem;
}

.footer-label {
  font-weight: 600;
  color: #f7f4ee;
  margin-bottom: 0.5rem;
}

.footer-note {
  color: #b9b4aa;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: #9e998f;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(28, 36, 33, 0.96);
  color: #efeae1;
  padding: 1rem 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

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

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

.cookie-inner a {
  color: #e5d3b0;
}

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

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

.cookie-banner .btn-primary {
  background: #c4a574;
  color: #1c2421;
}

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

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

.cta-band {
  margin: 2rem 0 0;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent) 0%, #2a5248 100%);
  color: #f4f1ea;
}

.cta-band a.btn-primary {
  background: #c4a574;
  color: #1c2421;
}

.cta-band p {
  color: rgba(244, 241, 234, 0.88);
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.lab-panel h3 {
  margin-top: 0.85rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.timeline-item strong {
  font-family: var(--font-display);
}

.feature-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  margin-top: 1.5rem;
}

.feature-points h3 {
  margin-bottom: 0.35rem;
}

.feature-points p {
  margin: 0;
  color: var(--ink-soft);
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-split,
  .split-2,
  .footer-grid,
  .lab-grid,
  .offer-list,
  .feature-points {
    grid-template-columns: 1fr;
  }

  .blog-item,
  .service-row,
  .timeline-item {
    grid-template-columns: 1fr;
  }

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

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

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

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

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