:root {
  --ink: #14221f;
  --ink-soft: #2a3b37;
  --paper: #f3f5f4;
  --paper-deep: #e4ebe8;
  --mist: #d5e0dc;
  --teal: #2f6f66;
  --teal-deep: #1e4d47;
  --brass: #b08d57;
  --brass-soft: #d4c0a0;
  --white: #ffffff;
  --error: #8a3b3b;
  --success: #2d6a4f;
  --shadow: 0 18px 40px rgba(20, 34, 31, 0.08);
  --radius: 4px;
  --radius-lg: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(47, 111, 102, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(176, 141, 87, 0.1), transparent 50%),
    linear-gradient(180deg, #eef3f1 0%, var(--paper) 38%, #f7f8f7 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 0.55em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; }

p { margin: 0 0 1em; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(243, 245, 244, 0.88);
  border-bottom: 1px solid rgba(20, 34, 31, 0.08);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  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;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border: 2px solid var(--brass);
  border-radius: 50% 50% 50% 12%;
  background:
    radial-gradient(circle at 50% 55%, var(--teal) 0 28%, transparent 29%),
    linear-gradient(135deg, transparent 45%, var(--brass-soft) 45% 55%, transparent 55%);
  transform: rotate(-12deg);
  animation: mark-settle 1.2s ease-out both;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(20, 34, 31, 0.15);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0.55rem;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

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

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

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper) !important;
  transition: transform 0.25s ease, background 0.25s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  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(-2px); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(20, 34, 31, 0.25);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(20, 34, 31, 0.2);
  color: var(--ink);
}

.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

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

.hero-copy {
  animation: rise 0.9s ease both;
}

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

.hero h1 {
  max-width: 14ch;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

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

.hero-visual {
  position: relative;
  animation: rise 1.05s 0.12s ease both;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 40% 10%;
  box-shadow: var(--shadow);
}

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(20, 34, 31, 0.78);
  color: var(--paper);
  border-radius: var(--radius);
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
}

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

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(228, 235, 232, 0.7));
  border-block: 1px solid rgba(20, 34, 31, 0.06);
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

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

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

.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

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

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

.offer-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg) 0.5rem var(--radius-lg) 0.5rem;
  margin-bottom: 1rem;
  transition: transform 0.45s ease;
}

.offer-item:hover img {
  transform: scale(1.02);
}

.offer-item h3 a {
  text-decoration: none;
  color: var(--ink);
}

.offer-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pull-quote {
  margin: 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--brass);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  color: var(--ink);
}

.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: normal;
  color: var(--ink-soft);
}

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

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

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--brass);
  line-height: 1;
  padding-top: 0.2rem;
}

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

.page-hero p {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.page-hero-media {
  margin-top: 2rem;
}

.page-hero-media img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.prose {
  max-width: 42rem;
}

.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; }

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

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.95rem 0.75rem;
  border-bottom: 1px solid rgba(20, 34, 31, 0.1);
  vertical-align: top;
}

.rate-table th {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.review-grid {
  display: grid;
  gap: 1.75rem;
}

.review {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(20, 34, 31, 0.1);
}

.review:first-child { border-top: 0; padding-top: 0; }

.review blockquote {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

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

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

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 0.9rem;
}

.blog-card h3 a {
  text-decoration: none;
  color: var(--ink);
}

.blog-meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.article-cover {
  margin: 1.5rem 0 2rem;
}

.article-cover img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

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

.contact-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(20, 34, 31, 0.08);
  border-radius: var(--radius-lg);
}

.contact-card address {
  font-style: normal;
  margin-bottom: 1rem;
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(20, 34, 31, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(47, 111, 102, 0.35);
  border-color: var(--teal);
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  color: var(--error);
  font-size: 0.85rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.form-status.is-success {
  background: rgba(45, 106, 79, 0.12);
  color: var(--success);
}

.form-status.is-error {
  background: rgba(138, 59, 59, 0.1);
  color: var(--error);
}

.inline-error {
  color: var(--error);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.site-wide-error {
  padding: 0.75rem 1rem;
  background: rgba(138, 59, 59, 0.12);
  text-align: center;
}

.legal-content {
  max-width: 48rem;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1.25rem 0;
  overflow-x: auto;
  display: block;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid rgba(20, 34, 31, 0.12);
  padding: 0.65rem 0.75rem;
  text-align: left;
  min-width: 7rem;
}

.cookie-table th {
  background: rgba(228, 235, 232, 0.8);
}

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

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50% 40% 50% 40%;
  margin-bottom: 1rem;
  max-width: 280px;
}

.cta-band {
  margin: 2rem 0 0;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(30, 77, 71, 0.95), rgba(20, 34, 31, 0.92)),
    var(--ink);
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  color: var(--paper);
  margin: 0 0 0.35em;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.cta-band p {
  margin: 0;
  max-width: 36ch;
  color: rgba(243, 245, 244, 0.85);
}

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

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

.site-footer {
  margin-top: 4rem;
  background: var(--ink);
  color: rgba(243, 245, 244, 0.82);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.75rem;
}

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

.footer-heading {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

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

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

.site-footer a {
  color: rgba(243, 245, 244, 0.82);
  text-decoration: none;
}

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

.site-footer address {
  font-style: normal;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 245, 244, 0.12);
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  animation: rise 0.5s ease both;
}

.cookie-banner-inner {
  max-width: 720px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid rgba(20, 34, 31, 0.12);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 1rem;
}

.cookie-banner-inner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.flagship-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
  margin: 1.75rem 0;
  padding: 1.25rem 0;
  border-block: 1px solid rgba(20, 34, 31, 0.1);
}

.flagship-meta dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.flagship-meta dd {
  margin: 0;
  color: var(--ink-soft);
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.4rem;
}

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

@keyframes mark-settle {
  from { opacity: 0; transform: rotate(-28deg) scale(0.8); }
  to { opacity: 1; transform: rotate(-12deg) scale(1); }
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .contact-layout,
  .footer-inner,
  .offer-list,
  .blog-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(243, 245, 244, 0.98);
    border-bottom: 1px solid rgba(20, 34, 31, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.is-open { max-height: 420px; }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.75rem;
  }

  .hero-visual img { aspect-ratio: 16 / 11; border-radius: var(--radius-lg); }

  .flagship-meta { grid-template-columns: 1fr; }
}

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