:root {
  --parchment: #f3e8d8;
  --parchment-deep: #e8d9c4;
  --beige: #d4c4ae;
  --ink: #1a1814;
  --ink-soft: #3a342c;
  --terracotta: #c56a45;
  --terracotta-deep: #9e4f32;
  --indigo: #3d4a6b;
  --indigo-muted: #5c6a8a;
  --paper-grain: rgba(26, 24, 20, 0.04);
  --shadow-soft: 0 12px 40px rgba(26, 24, 20, 0.08);
  --font-display: "Literata", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 2px;
  --max: 72rem;
  --header-h: 4.25rem;
  --ease-paper: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::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-color: var(--parchment);
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(197, 106, 69, 0.07), transparent 45%),
    radial-gradient(ellipse at 88% 0%, rgba(61, 74, 107, 0.08), transparent 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      var(--paper-grain) 2px,
      var(--paper-grain) 3px
    );
  min-height: 100vh;
}

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

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

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

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

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(243, 232, 216, 0.92);
  border-bottom: 1px solid rgba(26, 24, 20, 0.1);
}

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

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

.brand:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  padding: 0.45rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink);
}

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

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

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

.nav-cta {
  color: var(--parchment) !important;
  background: var(--ink);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--terracotta) !important;
  color: var(--parchment) !important;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.35rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.35s var(--ease-paper);
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-paper);
  z-index: -1;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--terracotta);
  color: var(--parchment);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--parchment);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.btn-secondary::before {
  background: var(--indigo);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--parchment);
  box-shadow: inset 0 0 0 1px transparent;
}

.section {
  padding: 4rem 1.25rem;
}

.section-tight {
  padding: 2.5rem 1.25rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.wrap-narrow {
  max-width: 42rem;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo-muted);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.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;
  filter: saturate(0.85) contrast(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 24, 20, 0.15) 0%, rgba(26, 24, 20, 0.55) 55%, rgba(26, 24, 20, 0.82) 100%),
    radial-gradient(circle at 70% 20%, rgba(61, 74, 107, 0.25), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem 3.5rem;
  color: var(--parchment);
  animation: riseIn 0.9s var(--ease-paper) both;
}

.hero-content .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--parchment);
}

.hero-content h1 {
  color: var(--parchment);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  max-width: 28rem;
  margin-bottom: 0.85rem;
}

.hero-content p {
  max-width: 30rem;
  color: rgba(243, 232, 216, 0.88);
  margin: 0 0 1.5rem;
}

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

.hero .btn-primary {
  background: var(--terracotta);
}

.hero .btn-secondary {
  color: var(--parchment);
  box-shadow: inset 0 0 0 1px rgba(243, 232, 216, 0.7);
}

.hero .btn-secondary::before {
  background: var(--indigo);
}

.panel {
  background: rgba(255, 250, 242, 0.55);
  border: 1px solid rgba(26, 24, 20, 0.08);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.panel + .panel {
  margin-top: 1rem;
}

.offer-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: 2rem;
}

.offer-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(26, 24, 20, 0.12);
}

.offer-item img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  filter: sepia(0.12) saturate(0.9);
}

.offer-item a {
  text-decoration: none;
  color: inherit;
}

.offer-item a:hover h3 {
  color: var(--terracotta);
}

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

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .split-reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .split-reverse .split-media {
    order: -1;
  }
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

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

.quote {
  border-left: 3px solid var(--terracotta);
  padding: 0.25rem 0 0.25rem 1.25rem;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  margin: 0 0 0.75rem;
}

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

.story-block {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, var(--parchment-deep), rgba(61, 74, 107, 0.08));
  border: 1px solid rgba(26, 24, 20, 0.08);
}

.page-hero {
  padding: 3.5rem 1.25rem 2rem;
  border-bottom: 1px solid rgba(26, 24, 20, 0.1);
}

.page-hero .wrap {
  max-width: 44rem;
}

.prose {
  max-width: 42rem;
}

.prose p + p {
  margin-top: 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

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

.meta-row strong {
  color: var(--ink);
  font-weight: 600;
}

.detail-hero {
  display: grid;
  gap: 0;
}

.detail-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.detail-hero-text {
  padding: 2.5rem 1.25rem;
  background: rgba(26, 24, 20, 0.92);
  color: var(--parchment);
}

.detail-hero-text h1 {
  color: var(--parchment);
}

.detail-hero-text .lead {
  color: rgba(243, 232, 216, 0.85);
}

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

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(26, 24, 20, 0.12);
  vertical-align: top;
}

.rate-table th {
  font-family: var(--font-display);
  font-weight: 600;
}

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

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

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

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(26, 24, 20, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.7);
  color: var(--ink);
}

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

.form .error {
  color: var(--terracotta-deep);
  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(61, 74, 107, 0.12);
  border: 1px solid var(--indigo);
}

.form-status.is-error {
  display: block;
  background: rgba(197, 106, 69, 0.15);
  border: 1px solid var(--terracotta);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

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

.address-block {
  padding: 1.5rem;
  background: rgba(255, 250, 242, 0.55);
  border: 1px solid rgba(26, 24, 20, 0.08);
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-card {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .blog-card {
    grid-template-columns: 14rem 1fr;
    align-items: start;
  }
}

.blog-card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.blog-card time {
  font-size: 0.85rem;
  color: var(--indigo-muted);
}

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

.cycle-steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  background: rgba(255, 250, 242, 0.5);
  border: 1px solid rgba(26, 24, 20, 0.08);
}

.cycle-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--parchment);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: rgba(243, 232, 216, 0.85);
  padding: 3rem 1.25rem 2rem;
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--parchment);
  margin: 0 0 0.35rem;
}

.footer-tag {
  margin: 0;
  max-width: 28rem;
}

.footer-contact a,
.footer-nav a {
  color: var(--parchment);
  text-decoration: none;
}

.footer-contact a:hover,
.footer-nav a:hover {
  color: var(--terracotta);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0.5rem 0 0;
  border-top: 1px solid rgba(243, 232, 216, 0.15);
  padding-top: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(26, 24, 20, 0.96);
  color: var(--parchment);
  padding: 1rem 1.25rem;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.45s var(--ease-paper);
}

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.95rem;
}

.cookie-inner a {
  color: var(--beige);
}

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

.cookie-banner .btn-secondary {
  color: var(--parchment);
  box-shadow: inset 0 0 0 1px rgba(243, 232, 216, 0.55);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.25rem 0;
}

.legal-table th,
.legal-table td {
  border: 1px solid rgba(26, 24, 20, 0.15);
  padding: 0.65rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgba(61, 74, 107, 0.08);
}

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

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

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-1.5%);
  }
}

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

.reveal {
  animation: riseIn 0.8s var(--ease-paper) both;
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--parchment);
    border-bottom: 1px solid rgba(26, 24, 20, 0.12);
    padding: 1rem 1.25rem 1.25rem;
  }

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

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

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