:root {
  --ink: #10241c;
  --ink-soft: #2a4036;
  --mist: #e8eef0;
  --mist-deep: #d4dde2;
  --panel: #f7fafb;
  --accent: #d97706;
  --accent-deep: #b45309;
  --emerald: #0f5c45;
  --emerald-soft: #1a7a5c;
  --line: rgba(16, 36, 28, 0.12);
  --shadow: 0 18px 50px rgba(16, 36, 28, 0.12);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", sans-serif;
  --max: 1120px;
  --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(ellipse 80% 50% at 10% -10%, rgba(26, 122, 92, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 5%, rgba(217, 119, 6, 0.12), transparent 50%),
    linear-gradient(180deg, #eef3f5 0%, var(--mist) 40%, #e4ebe8 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

.visually-hidden {
  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: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 250, 251, 0.86);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-header__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
}

.site-header__toggle-bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  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(--emerald);
}

.site-nav__cta {
  background: var(--emerald);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  transition: transform 0.25s ease, background 0.25s ease;
}

.site-nav__cta:hover {
  background: var(--emerald-soft);
  transform: translateY(-1px);
}

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

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

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

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

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

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

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(16, 36, 28, 0.88) 18%, rgba(16, 36, 28, 0.45) 62%, rgba(16, 36, 28, 0.2) 100%),
    linear-gradient(0deg, rgba(16, 36, 28, 0.55), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.5rem;
  color: #f4f8f6;
  animation: rise-in 0.9s ease both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 34rem;
  margin: 0 0 1.75rem;
  color: rgba(244, 248, 246, 0.9);
}

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

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section--narrow {
  max-width: 760px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section__lede {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.band {
  position: relative;
  overflow: hidden;
}

.band--panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(232, 238, 240, 0.3)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(15, 92, 69, 0.035) 18px,
      rgba(15, 92, 69, 0.035) 19px
    );
  border-block: 1px solid var(--line);
}

.band--ink {
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 119, 6, 0.22), transparent 40%),
    linear-gradient(160deg, #0f5c45, #10241c 70%);
  color: #f4f8f6;
}

.band--ink .section__lede,
.band--ink a {
  color: rgba(244, 248, 246, 0.88);
}

.offer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  animation: rise-in 0.8s ease both;
}

.offer:nth-child(2) { animation-delay: 0.1s; }
.offer:nth-child(3) { animation-delay: 0.2s; }

.offer__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.offer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.offer:hover .offer__media img {
  transform: scale(1.04);
}

.offer__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
}

.offer__text {
  margin: 0;
  color: var(--ink-soft);
}

.offer__link {
  font-weight: 600;
  text-decoration: none;
}

.flagship {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .flagship {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.flagship__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.flagship__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

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

@media (min-width: 800px) {
  .quote-list {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

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

.quote p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

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

.page-hero {
  padding: 3.5rem 1.25rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
  animation: rise-in 0.7s ease both;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 0.85rem;
  max-width: 16ch;
}

.page-hero__lede {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.page-hero--image {
  position: relative;
  max-width: none;
  min-height: 42vh;
  display: grid;
  align-items: end;
  padding: 0;
  overflow: hidden;
}

.page-hero--image .page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero--image .page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--image .page-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16, 36, 28, 0.9), rgba(16, 36, 28, 0.35));
}

.page-hero--image .page-hero__copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.25rem 2.5rem;
  color: #f4f8f6;
}

.page-hero--image .page-hero__lede {
  color: rgba(244, 248, 246, 0.88);
}

.prose {
  max-width: 68ch;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.25rem 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(15, 92, 69, 0.08);
  color: var(--ink);
}

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

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

.fee-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

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

.steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-deep);
}

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

.form__field {
  display: grid;
  gap: 0.35rem;
}

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

.form__field input,
.form__field select,
.form__field textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

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

.form__error {
  color: #9f1239;
  font-size: 0.88rem;
  min-height: 1.2em;
}

.form__status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
}

.form__status--success {
  background: rgba(15, 92, 69, 0.12);
  color: var(--emerald);
}

.form__status--error {
  background: rgba(159, 18, 57, 0.1);
  color: #9f1239;
}

.contact-block {
  display: grid;
  gap: 2rem;
}

@media (min-width: 840px) {
  .contact-block {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-aside {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: fit-content;
}

.contact-aside p {
  margin: 0 0 0.75rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(16, 36, 28, 0.04);
  padding: 2.5rem 1.25rem 1.5rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.site-footer__tag,
.site-footer__contact p {
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

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

.site-footer__copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 640px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: rise-in 0.45s ease both;
}

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

.cookie-banner__inner {
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

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

.story h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.4rem;
}

.post-list {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .post-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.post-card {
  display: grid;
  gap: 0.75rem;
}

.post-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
}

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

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

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

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0 0 0.75rem;
}

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

@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (max-width: 900px) {
  .site-header__toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
    display: none;
  }

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

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

  .site-header {
    position: sticky;
  }

  .site-header__inner {
    position: relative;
  }
}

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