:root {
  --tikal-ink: #173a31;
  --tikal-deep: #0d2c25;
  --tikal-jade: #2f765d;
  --tikal-moss: #799565;
  --tikal-sun: #e8c978;
  --tikal-paper: #f4f0d9;
  --tikal-paper-2: #e9e5c9;
  --tikal-white: #fffdf1;
  --tikal-line: rgba(23, 58, 49, 0.2);
  --tikal-shadow: 0 24px 70px rgba(13, 44, 37, 0.14);
  --bs-body-font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --bs-body-color: var(--tikal-ink);
  --bs-body-bg: var(--tikal-paper);
  --bs-primary: var(--tikal-jade);
  --bs-primary-rgb: 47, 118, 93;
  --bs-link-color: #245f4a;
  --bs-link-hover-color: #173a31;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-width: 320px;
  font-size: 1rem;
  line-height: 1.65;
  background:
    linear-gradient(rgba(47, 118, 93, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 118, 93, 0.045) 1px, transparent 1px),
    var(--tikal-paper);
  background-size: 32px 32px;
}

img { max-width: 100%; }

a { text-underline-offset: 0.2em; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1100;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--tikal-white);
  color: var(--tikal-deep);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--tikal-line);
  background: rgba(244, 240, 217, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--tikal-ink);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img { width: 2.15rem; height: 2.15rem; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.desktop-nav a:not(.btn) {
  color: #31564a;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
}

.desktop-nav a:hover { color: var(--tikal-jade); }

.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav .menu-button {
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--tikal-line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--tikal-white);
}

.mobile-menu {
  position: absolute;
  top: 3.4rem;
  right: 0;
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.75rem;
  border: 1px solid var(--tikal-line);
  border-radius: 1rem;
  background: var(--tikal-white);
  box-shadow: var(--tikal-shadow);
}

.mobile-menu a {
  display: block;
  padding: 0.8rem 0.9rem;
  color: var(--tikal-ink);
  text-decoration: none;
  font-weight: 700;
}

.btn-tikal,
.btn-tikal-outline {
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: 0.78rem;
  --bs-btn-font-weight: 750;
  --bs-btn-border-radius: 999px;
  min-height: 3rem;
}

.btn-tikal {
  --bs-btn-color: #fffdf1;
  --bs-btn-bg: var(--tikal-jade);
  --bs-btn-border-color: var(--tikal-jade);
  --bs-btn-hover-color: #fffdf1;
  --bs-btn-hover-bg: #235e49;
  --bs-btn-hover-border-color: #235e49;
  --bs-btn-active-bg: var(--tikal-deep);
  --bs-btn-active-border-color: var(--tikal-deep);
  box-shadow: 0 10px 25px rgba(47, 118, 93, 0.2);
}

.btn-tikal-outline {
  --bs-btn-color: var(--tikal-ink);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(23, 58, 49, 0.45);
  --bs-btn-hover-color: var(--tikal-white);
  --bs-btn-hover-bg: var(--tikal-ink);
  --bs-btn-hover-border-color: var(--tikal-ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 6.5rem) 0 clamp(4rem, 8vw, 8rem);
}

.hero::before {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  left: -12rem;
  top: 8rem;
  border: 5rem solid rgba(121, 149, 101, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--tikal-jade);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--tikal-sun);
}

.hero h1,
.section-title,
.legal-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--tikal-deep);
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.15rem, 7vw, 6.9rem);
  line-height: 0.92;
}

.hero-copy {
  max-width: 37rem;
  margin: 1.5rem 0 1.8rem;
  color: #45675a;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

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

.hero-stage {
  position: relative;
  min-height: 31rem;
}

.hero-card {
  position: absolute;
  inset: 1.2rem 0 0 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 241, 0.35);
  border-radius: clamp(1.5rem, 3vw, 2.75rem);
  background: var(--tikal-deep);
  box-shadow: var(--tikal-shadow);
  transform: rotate(1.6deg);
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 31rem;
  object-fit: cover;
  object-position: 49% center;
  transform: scale(1.04);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(13, 44, 37, 0.03), rgba(13, 44, 37, 0.42));
}

.stage-mark {
  position: absolute;
  z-index: 2;
  right: -0.5rem;
  bottom: -1.2rem;
  width: 10rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tikal-sun);
  color: var(--tikal-deep);
  box-shadow: 0 18px 38px rgba(13, 44, 37, 0.2);
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  transform: rotate(-8deg);
}

.trust-strip {
  border-block: 1px solid var(--tikal-line);
  background: rgba(233, 229, 201, 0.72);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 5.5rem;
  color: #365d4f;
  font-weight: 750;
}

.trust-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47, 118, 93, 0.3);
  border-radius: 50%;
  color: var(--tikal-jade);
  font-family: Georgia, serif;
}

.section-pad { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-kicker { color: var(--tikal-jade); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; }
.section-title { margin: 0.6rem 0 1rem; font-size: clamp(2.45rem, 4.6vw, 4.5rem); line-height: 1.02; }
.section-lede { max-width: 42rem; color: #527064; font-size: 1.08rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--tikal-line);
  border-radius: 1.6rem;
  background: var(--tikal-line);
}

.feature-card {
  min-height: 17rem;
  padding: clamp(1.7rem, 4vw, 3.1rem);
  background: rgba(255, 253, 241, 0.72);
}

.feature-card:nth-child(2), .feature-card:nth-child(3) { background: rgba(233, 229, 201, 0.82); }
.feature-number { color: var(--tikal-jade); font-family: Georgia, serif; font-size: 1rem; font-weight: 700; }
.feature-card h3 { margin: 2.4rem 0 0.7rem; font-family: Georgia, serif; font-size: clamp(1.5rem, 2.7vw, 2.25rem); }
.feature-card p { max-width: 31rem; margin: 0; color: #547065; }

.callings {
  position: relative;
  overflow: hidden;
  color: var(--tikal-white);
  background: var(--tikal-deep);
}

.callings::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(30deg, transparent 35%, rgba(232, 201, 120, 0.16) 35%, rgba(232, 201, 120, 0.16) 36%, transparent 36%);
  background-size: 42px 42px;
  pointer-events: none;
}

.callings .container { position: relative; z-index: 1; }
.callings .section-title { color: var(--tikal-white); }
.callings .section-kicker { color: var(--tikal-sun); }
.callings .section-lede { color: #cbd5c1; }

.calling-list { border-top: 1px solid rgba(255, 253, 241, 0.2); }
.calling-row {
  display: grid;
  grid-template-columns: 4rem 1fr minmax(12rem, 0.85fr);
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 253, 241, 0.2);
}

.calling-row strong { font-family: Georgia, serif; font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 500; }
.calling-row p { margin: 0; color: #b8c8ba; }
.calling-symbol { color: var(--tikal-sun); font-size: 1.4rem; }

.gallery-card {
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--tikal-line);
  border-radius: 1.35rem;
  background: var(--tikal-white);
  box-shadow: 0 14px 45px rgba(13, 44, 37, 0.09);
}

.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.gallery-copy { padding: 1.3rem 1.4rem 1.45rem; }
.gallery-copy h3 { margin: 0 0 0.35rem; font-family: Georgia, serif; font-size: 1.5rem; }
.gallery-copy p { margin: 0; color: #5a746a; }

.cta-band {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(3rem, 6vw, 6rem);
  padding: clamp(2rem, 6vw, 5.2rem);
  border-radius: 1.8rem;
  background: var(--tikal-sun);
  box-shadow: var(--tikal-shadow);
}

.cta-band::after {
  content: "✦";
  position: absolute;
  right: 4%;
  top: 50%;
  color: rgba(23, 58, 49, 0.1);
  font-size: clamp(8rem, 22vw, 18rem);
  line-height: 1;
  transform: translateY(-50%);
}

.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 16ch; font-family: Georgia, serif; font-size: clamp(2.35rem, 5vw, 4.7rem); line-height: 1; }
.cta-band p { max-width: 39rem; color: #365449; font-size: 1.05rem; }

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--tikal-line);
  background: var(--tikal-deep);
  color: #c8d2c1;
}

.footer-brand { color: var(--tikal-white); }
.footer-brand:hover { color: var(--tikal-white); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem 1.6rem; }
.footer-links a { color: #dce2d1; text-decoration: none; }
.footer-links a:hover { color: var(--tikal-sun); }
.footer-meta { color: #91a397; font-size: 0.9rem; }

.legal-hero { padding: clamp(3.5rem, 7vw, 6rem) 0 2.5rem; border-bottom: 1px solid var(--tikal-line); }
.legal-title { max-width: 15ch; margin: 0; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.98; }
.legal-summary { max-width: 47rem; margin: 1.35rem 0 0; color: #527064; font-size: 1.08rem; }
.legal-meta { margin-top: 1.4rem; color: #6d8279; font-size: 0.9rem; }

.legal-layout {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.legal-toc {
  position: sticky;
  top: 7rem;
  padding: 1.35rem;
  border: 1px solid var(--tikal-line);
  border-radius: 1rem;
  background: rgba(255, 253, 241, 0.7);
}

.legal-toc strong { display: block; margin-bottom: 0.6rem; }
.legal-toc a { display: block; padding: 0.35rem 0; color: #49695e; text-decoration: none; font-size: 0.92rem; }
.legal-toc a:hover { color: var(--tikal-jade); }

.legal-content { max-width: 50rem; }
.legal-content section { margin-bottom: 3rem; }
.legal-content h2 { margin-bottom: 0.85rem; font-family: Georgia, serif; font-size: clamp(1.65rem, 2.6vw, 2.35rem); color: var(--tikal-deep); }
.legal-content h3 { margin: 1.6rem 0 0.6rem; font-size: 1.12rem; color: var(--tikal-deep); }
.legal-content p, .legal-content li { color: #45665a; }
.legal-content li + li { margin-top: 0.55rem; }
.legal-callout {
  padding: 1.3rem 1.4rem;
  border-left: 4px solid var(--tikal-jade);
  border-radius: 0 0.8rem 0.8rem 0;
  background: rgba(121, 149, 101, 0.12);
}

.deletion-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--tikal-line);
  border-radius: 1.3rem;
  background: var(--tikal-white);
  box-shadow: var(--tikal-shadow);
}

.step-list { counter-reset: steps; list-style: none; padding: 0; }
.step-list li { position: relative; min-height: 3rem; padding: 0.3rem 0 1.2rem 4rem; }
.step-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tikal-paper-2);
  color: var(--tikal-jade);
  font-family: Georgia, serif;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-stage { min-height: 25rem; margin-top: 2.2rem; }
  .hero-card img { min-height: 25rem; }
  .legal-toc { position: static; margin-bottom: 2rem; }
}

@media (max-width: 767.98px) {
  .hero { padding-top: 2.5rem; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .stage-mark { width: 7rem; right: 0; font-size: 0.9rem; }
  .trust-item { justify-content: flex-start; min-height: 4.2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(3) { background: rgba(255, 253, 241, 0.72); }
  .feature-card:nth-child(even) { background: rgba(233, 229, 201, 0.82); }
  .calling-row { grid-template-columns: 2.5rem 1fr; }
  .calling-row p { grid-column: 2; }
  .footer-links { justify-content: flex-start; margin-top: 1.5rem; }
}

@media (max-width: 479.98px) {
  .brand span { max-width: 8rem; line-height: 1.05; }
  .hero-stage { min-height: 20rem; }
  .hero-card { left: 0; }
  .hero-card img { min-height: 20rem; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
