@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap");

:root {
  --cream: #e6ded4;
  --cream-deep: #d4c9bc;
  --ink: #1a2744;
  --ink-soft: #2d3d5c;
  --terracotta: #8b4513;
  --gold: #c9a227;
  --paper: #f7f3ee;
  --maxw: 1120px;
  --radius: 6px;
  --shadow: 0 12px 40px rgba(26, 39, 68, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

a {
  color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

h1,
h2,
h3,
.site-title {
  font-family: Cinzel, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark .site-title {
  color: var(--cream);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(230, 222, 212, 0.96);
  border-bottom: 1px solid rgba(26, 39, 68, 0.12);
  backdrop-filter: blur(6px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 44px;
  height: 44px;
}

.site-title {
  font-size: 1rem;
  margin: 0;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle i {
  font-size: 1.4rem;
  vertical-align: middle;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: Cinzel, serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.disclaimer-bar {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 0.5rem 1rem;
  text-align: center;
}

.disclaimer-bar a {
  color: var(--gold);
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--ink) url("../image/hero-bg.jpg") center / cover no-repeat;
  padding: 6rem 1rem 4rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26, 39, 68, 0.82), rgba(26, 39, 68, 0.55));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
  color: var(--cream);
}

.hero-content h1 {
  color: var(--cream);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.hero-content p.lead {
  font-size: 1.1rem;
  margin: 0 0 2rem;
  opacity: 0.95;
}

.split-showcase {
  padding: 0;
  background: var(--cream-deep);
}

.split-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  width: 100%;
  margin: 0;
  min-height: min(70vw, 520px);
  box-shadow: none;
}

.split-showcase__media {
  min-height: 260px;
}

.split-showcase__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.split-showcase__panel {
  background: #ffffff;
  color: #111111;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.split-showcase__panel h2 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #111111;
  margin: 0 0 0.75rem;
}

.split-showcase__rule {
  border: none;
  height: 4px;
  width: 72px;
  margin: 0 0 1.25rem;
  background: #111111;
}

.split-showcase__panel p {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #222222;
  max-width: 36em;
}

.split-showcase__cta {
  align-self: flex-start;
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 2px solid #111111;
  transition: background 0.2s, color 0.2s;
}

.split-showcase__cta:hover {
  background: #ffffff;
  color: #111111;
}

.hero-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: stretch;
  max-width: 480px;
  margin: 0 auto;
}

.hero-form input[type="email"] {
  flex: 1 1 220px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(230, 222, 212, 0.35);
  background: rgba(247, 243, 238, 0.95);
  color: var(--ink);
  font: inherit;
}

.hero-form .btn {
  flex: 0 0 auto;
}

.hero-form--actions {
  max-width: none;
}

.hero-footnote {
  margin: 1rem auto 0;
  max-width: 34rem;
  padding: 0 0.75rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(247, 243, 238, 0.82);
  text-align: center;
}

.hero-footnote a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-family: Cinzel, serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn--gold:hover {
  background: #ddb32e;
  color: var(--ink);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn--outline:hover {
  background: var(--cream);
  color: var(--ink);
}

.section--cream .btn--outline,
.section--paper .btn--outline,
.section--goldline .btn--outline {
  color: var(--ink);
  border-color: var(--ink);
}

.section--cream .btn--outline:hover,
.section--paper .btn--outline:hover,
.section--goldline .btn--outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn--dark:hover {
  background: var(--ink-soft);
}

.section {
  padding: 3.5rem 1rem;
}

.section .inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.section--cream {
  background: var(--cream);
  color: var(--ink);
}

.section--paper {
  background: var(--paper);
  color: var(--ink);
}

.section--dark {
  background: var(--ink-soft);
  color: var(--cream);
}

.section--terra {
  background: #d9c4b0;
  color: var(--ink);
  border-top: 4px solid #6b3810;
  border-bottom: 4px solid #6b3810;
}

.section--terra h1,
.section--terra h2,
.section--terra h3 {
  color: var(--ink);
}

.section--terra a {
  color: #5c2e0a;
}

.section--terra a:hover {
  color: var(--ink);
}

.section--goldline {
  background: var(--cream-deep);
  color: var(--ink);
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}

.section h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin: 0 0 1rem;
}

.section h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
}

.prose p {
  margin: 0 0 1rem;
}

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

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

.callout {
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--gold);
  background: rgba(201, 162, 39, 0.12);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.section--dark .callout {
  background: rgba(26, 39, 68, 0.45);
  border-left-color: var(--gold);
}

.icon-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.icon-list li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  align-items: flex-start;
}

.icon-list i {
  color: var(--gold);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.section--dark .icon-list i {
  color: var(--gold);
}

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

.steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.25rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: Cinzel, serif;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section--dark .steps li::before {
  background: var(--gold);
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.section--dark .card {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid rgba(230, 222, 212, 0.15);
}

.figure-block {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.figure-block figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  background: var(--paper);
}

.section--dark .figure-block figcaption {
  background: var(--ink);
  color: var(--cream);
}

.faq details {
  border: 1px solid rgba(26, 39, 68, 0.15);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 0.6rem;
  background: var(--paper);
}

.section--dark .faq details {
  border-color: rgba(230, 222, 212, 0.2);
  background: rgba(26, 39, 68, 0.35);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.events-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.events-table th,
.events-table td {
  border: 1px solid rgba(26, 39, 68, 0.15);
  padding: 0.65rem 0.75rem;
  text-align: left;
}

.section--dark .events-table th,
.section--dark .events-table td {
  border-color: rgba(230, 222, 212, 0.2);
}

.events-table th {
  background: rgba(201, 162, 39, 0.2);
}

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 2rem 1rem;
  font-size: 0.92rem;
}

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

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

.footer-links a {
  color: var(--gold);
  text-decoration: none;
}

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

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--cream);
  padding: 1rem;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

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

.cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 21, 34, 0.55);
  z-index: 55;
  display: none;
}

.cookie-backdrop.is-visible {
  display: block;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 70;
  width: min(520px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: none;
}

.cookie-modal.is-visible {
  display: block;
}

.cookie-modal a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-modal a:hover {
  color: var(--ink);
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(26, 39, 68, 0.1);
}

.switch {
  position: relative;
  width: 46px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #999;
  border-radius: 26px;
  transition: 0.2s;
}

.slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + .slider {
  background: var(--terracotta);
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.switch input:disabled + .slider {
  opacity: 0.55;
  cursor: not-allowed;
}

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

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 39, 68, 0.25);
  font: inherit;
  margin-bottom: 1rem;
  background: #fff;
}

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

.checkbox-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.map-wrap iframe {
  width: 100%;
  max-width: 600px;
  border: 0;
  border-radius: var(--radius);
}

.section--insight {
  background: linear-gradient(160deg, #e6ded4 0%, #f4efe8 42%, #d8cdc2 100%);
  color: var(--ink);
}

.conclusions-handoff {
  max-width: var(--maxw);
  margin: 0 auto;
}

.conclusions-handoff > h2 {
  margin-bottom: 0.35rem;
}

.conclusions-handoff__sub {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  max-width: 42em;
}

.handoff-pull {
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.25rem 1.1rem 1.5rem;
  border-left: 5px solid var(--gold);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 4px 20px rgba(26, 39, 68, 0.08);
  font-family: Cinzel, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.handoff-board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.75rem;
  align-items: start;
}

.handoff-board__prose p {
  margin: 0 0 1rem;
}

.handoff-pipeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.handoff-pipeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 39, 68, 0.1);
  border-radius: var(--radius);
}

.handoff-pipeline__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: Cinzel, serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.handoff-pipeline strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.2rem;
}

.handoff-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.handoff-compare__col {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  min-height: 5.5rem;
}

.handoff-compare__col--before {
  background: rgba(139, 69, 19, 0.1);
  border: 2px dashed rgba(139, 69, 19, 0.45);
}

.handoff-compare__col--after {
  background: rgba(201, 162, 39, 0.22);
  border: 2px solid var(--gold);
}

.handoff-compare__label {
  font-family: Cinzel, serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}

.handoff-compare code {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink);
  background: transparent;
}

.handoff-tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.handoff-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.82rem;
}

.handoff-tag i {
  color: var(--gold);
}

.handoff-footnote {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(26, 39, 68, 0.06);
  border: 1px solid rgba(26, 39, 68, 0.12);
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-showcase__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .split-showcase__media {
    min-height: 220px;
    max-height: 55vh;
  }

  .split-showcase__media img {
    min-height: 220px;
    max-height: 55vh;
  }

  .handoff-board,
  .handoff-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 0 0;
    top: 0;
    padding: 5rem 1.25rem 2rem;
    background: var(--cream);
    transform: translateY(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    z-index: 50;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 400px) {
  body {
    font-size: 1rem;
  }

  .section {
    padding: 2.5rem 0.85rem;
  }

  .hero-form {
    flex-direction: column;
  }
}
