@import url("https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@400,500,600,700,800&display=swap");

/* ==========================================================================
   Little Explorers Reptile Co — "Storybook Naturalist" design system
   Warm cream paper · deep forest ink · terracotta & marigold accents
   Fraunces (display) + Nunito Sans (body)
   ========================================================================== */

:root {
  --paper:        #FAF5EA;
  --paper-deep:   #F3EBD8;
  --card:         #FFFDF7;
  --ink:          #21372B;
  --ink-soft:     #48604F;
  --forest:       #1E4D3B;
  --forest-deep:  #143728;
  --leaf:         #7FA96B;
  --leaf-pale:    #DCE8CE;
  --terracotta:   #D96C3B;
  --terracotta-deep: #B95526;
  --marigold:     #F2B84B;
  --marigold-pale:#FBE9C4;
  --sky:          #BFD8D2;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", Verdana, sans-serif;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --border-ink: 2px solid var(--ink);
  --shadow-pop: 6px 6px 0 rgba(33, 55, 43, 0.16);
  --shadow-pop-hover: 9px 9px 0 rgba(33, 55, 43, 0.18);
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  /* subtle scale-dot texture */
  background-image: radial-gradient(rgba(30, 77, 59, 0.055) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--forest); }

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

/* ------------------------------------------------------------------ type */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.accent {
  color: var(--terracotta);
  font-style: italic;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: var(--border-ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
  box-shadow: 4px 4px 0 rgba(33, 55, 43, 0.2);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(33, 55, 43, 0.22); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 rgba(33, 55, 43, 0.2); }
.btn:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }

.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-secondary { background: var(--card); color: var(--forest-deep); }
.btn-secondary:hover { background: var(--marigold-pale); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-deep); }
.btn-lg { padding: 17px 34px; font-size: 1.1rem; }

/* ------------------------------------------------------------------ nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 245, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: var(--border-ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.05;
  color: var(--forest-deep);
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a:not(.btn) {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.15s ease;
}
.nav-links a:not(.btn):hover { background: var(--leaf-pale); }
.nav-links a.active:not(.btn) {
  background: var(--forest);
  color: #fff;
}
.nav-links .btn { padding: 10px 20px; margin-left: 8px; }

.nav-toggle {
  display: none;
  background: var(--card);
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--forest-deep);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper);
    border-bottom: var(--border-ink);
    padding: 14px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 14px; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lede { font-size: 1.25rem; max-width: 40ch; }

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 34px;
}

.link-arrow {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--forest-deep);
  text-decoration: none;
  border-bottom: 3px solid var(--marigold);
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--terracotta-deep); border-color: var(--terracotta); }

.micro-trust {
  margin-top: 30px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.hero-art {
  position: relative;
}
.hero-art .blob {
  position: absolute;
  inset: -6% -4%;
  z-index: 0;
}
.hero-art img,
.hero-art svg.hero-illo {
  position: relative;
  z-index: 1;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: var(--border-ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 800;
}
.trust-chips .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf);
  flex: none;
}

.hero-trust-chips {
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}
.hero-trust-chips .htc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
}
.hero-trust-chips .htc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: var(--border-ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 800;
}
@media (max-width: 860px) {
  .hero { padding: 44px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ------------------------------------------------------------- sections */

section { padding: 84px 0; }
section.tight { padding: 56px 0; }

.section-head { max-width: 62ch; margin-bottom: 44px; }

.educator-portrait {
  width: min(100%, 310px);
  aspect-ratio: 4 / 5;
  margin: 0 auto 30px;
  overflow: hidden;
  border: var(--border-ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
}
.educator-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { margin-top: 14px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.band-deep {
  background: var(--forest);
  color: #F2EFE4;
}
.band-deep h2, .band-deep h3 { color: #FDF9EE; }
.band-deep .kicker { color: var(--marigold); }
.band-deep .lede { color: #CFDCCB; }

.band-paper-deep { background: var(--paper-deep); }

.wave {
  display: block;
  width: 100%;
  height: 44px;
}

/* ---------------------------------------------------------------- cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) {
  .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .card-grid, .card-grid.four, .card-grid.two { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: var(--border-ink);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-pop);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-pop-hover); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); }
.card .card-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
}

/* animal cards */
.animal-card { padding: 0; overflow: hidden; text-align: center; }
.animal-card figure {
  background: var(--leaf-pale);
  border-bottom: var(--border-ink);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.animal-card figure img { width: 100%; height: 100%; object-fit: cover; }
.animal-card .animal-body { padding: 22px 20px 26px; }
.animal-card .animal-body h3 { margin-bottom: 6px; }
.animal-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--marigold-pale);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
  color: var(--ink);
}
.animal-card p { font-size: 0.95rem; }

/* ------------------------------------------------------------- timeline */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }

.steps li {
  counter-increment: step;
  background: var(--card);
  border: var(--border-ink);
  border-radius: var(--radius-md);
  padding: 26px 22px 24px;
  position: relative;
  box-shadow: var(--shadow-pop);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--marigold);
  border: var(--border-ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.steps h3 { font-size: 1.12rem; margin: 8px 0 8px; }
.steps p { font-size: 0.95rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ faq */

.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: var(--border-ink);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(33, 55, 43, 0.12);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--forest-deep);
  text-align: left;
  padding: 18px 22px;
  cursor: pointer;
}
.faq-q .chev {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--marigold-pale);
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--ink-soft);
}

/* -------------------------------------------------------------- pricing */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: var(--border-ink);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-pop);
  position: relative;
}
.price-card.featured {
  background: var(--forest);
  color: #F2EFE4;
  transform: scale(1.02);
}
.price-card.featured h3 { color: #FDF9EE; }
.price-card.featured .price-note, .price-card.featured li { color: #D8E2D2; }
.price-card .flag {
  position: absolute;
  top: -16px;
  right: 22px;
  background: var(--marigold);
  border: var(--border-ink);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.price-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.price-figure {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1.1;
  margin: 14px 0 2px;
}
.price-card.featured .price-figure { color: var(--marigold); }
.price-figure small {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: inherit;
  opacity: 0.75;
}
.price-note { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 18px; }
.price-card ul {
  list-style: none;
  margin: 0 0 26px;
  flex: 1;
}
.price-card li {
  padding: 7px 0 7px 30px;
  position: relative;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--leaf);
  border: 2px solid var(--ink);
}
.price-card .btn { justify-content: center; }

.fineprint {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 70ch;
}

/* -------------------------------------------------------------- gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  border: var(--border-ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  padding: 0;
  text-align: left;
  box-shadow: 4px 4px 0 rgba(33, 55, 43, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  font: inherit;
  color: inherit;
}
.price-figure.price-promo { display: flex; flex-direction: column; gap: 4px; margin-top: 17px; }
.regular-price { color: var(--ink-soft); font-family: var(--font-body); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.regular-price s { color: var(--ink-soft); font-size: 1.1rem; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; }
.promo-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.promo-price { color: var(--terracotta); }
.deal-badge { padding: 5px 9px; border: 1px solid var(--forest); border-radius: 999px; color: var(--forest-deep); background: #E8F0DF; font-family: var(--font-body); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.promo-note { margin-top: 4px; }
.promo-label { display: inline-block; margin-right: 5px; color: var(--terracotta); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.gallery-item:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 rgba(33, 55, 43, 0.16); }
.gallery-item:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
.gallery-item figure {
  aspect-ratio: 4 / 3;
  background: var(--leaf-pale);
  overflow: hidden;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 40, 30, 0.82);
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  border-radius: var(--radius-md);
  max-width: 760px;
  width: 100%;
  overflow: hidden;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.25);
}
.lightbox-inner img { width: 100%; max-height: 68vh; object-fit: contain; background: var(--leaf-pale); }
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(20, 40, 30, 0.88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--terracotta); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  transform: translateY(-50%);
  background: rgba(20, 40, 30, 0.88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }
.lightbox-nav:hover { background: var(--terracotta); transform: translateY(-50%) scale(1.06); }
.lightbox-nav:focus-visible, .lightbox-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 620px) {
  .lightbox { padding: 18px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 8px; right: 8px; width: 38px; height: 38px; }
}

.temp-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--marigold-pale);
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ----------------------------------------------------------------- form */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-aside .card { margin-bottom: 20px; }
.contact-aside .card p { margin-bottom: 6px; }
.contact-aside a { font-weight: 800; }

.inquiry-form {
  background: var(--card);
  border: var(--border-ink);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-pop);
}
.inquiry-form h2 { font-size: 1.6rem; margin-bottom: 6px; }
.inquiry-form > p { color: var(--ink-soft); margin-bottom: 24px; }

.field { margin-bottom: 18px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.field label .req { color: var(--terracotta-deep); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--marigold);
  outline-offset: 1px;
}
.visit-window {
  margin: 0 0 18px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--paper-deep);
}
.visit-window legend {
  padding: 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--forest-deep);
}
.field-hint {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.form-msg {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.form-msg.error { display: block; background: #F8DCD0; }
.form-msg.ok { display: block; background: var(--leaf-pale); }

/* -------------------------------------------------------- newsletter modal */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 40, 30, 0.82);
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-panel {
  position: relative;
  background: var(--marigold-pale);
  border: var(--border-ink);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 40px 36px 36px;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.25);
}
.modal-panel h2 { font-size: 1.7rem; margin-top: 2px; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: var(--border-ink);
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--ink);
}
.modal-close:hover { background: var(--terracotta); color: #fff; }
.modal-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-newsletter-form input[type="email"] {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 14px 22px;
}
.modal-newsletter-form input[type="email"]:focus {
  outline: 3px solid var(--terracotta);
  outline-offset: 1px;
}
.modal-newsletter-form .btn { justify-content: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------- cta band */

.cta-band {
  text-align: center;
  padding: 90px 0;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band .lede { margin: 0 auto 30px; }
.cta-mascot {
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  filter: drop-shadow(4px 6px 0 rgba(33, 55, 43, 0.14));
}

/* --------------------------------------------------------------- footer */

.site-footer {
  background: var(--forest-deep);
  color: #D8E2D2;
  padding: 56px 0 34px;
  border-top: var(--border-ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 {
  color: #FDF9EE;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #CFDCCB; text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--marigold); text-decoration: underline; }
.instagram-link { display: inline-flex; align-items: center; gap: 8px; }
.instagram-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-brand .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #FDF9EE;
}
.footer-brand .brand-name small { color: var(--marigold); }
.footer-note {
  border-top: 1px solid rgba(216, 226, 210, 0.25);
  padding-top: 20px;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
}

/* --------------------------------------------------------------- reveal */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .gallery-item { transition: none; }
}

/* back to top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: var(--border-ink);
  background: var(--marigold);
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  display: none;
  place-items: center;
  box-shadow: 4px 4px 0 rgba(33, 55, 43, 0.25);
}
.to-top.show { display: grid; }
.to-top:hover { background: var(--terracotta); color: #fff; }

:root {
  --font-display: "Cabinet Grotesk", "Fraunces", Georgia, serif;
  --font-body: "Cabinet Grotesk", "Nunito Sans", "Segoe UI", sans-serif;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-pop: 6px 7px 0 rgba(33, 55, 43, 0.14);
  --shadow-pop-hover: 10px 12px 0 rgba(33, 55, 43, 0.16);
}

body {
  overflow-x: hidden;
  background-image:
    radial-gradient(rgba(30, 77, 59, 0.07) 1px, transparent 1px),
    linear-gradient(120deg, rgba(255, 253, 247, 0.65), rgba(243, 235, 216, 0.38));
  background-size: 20px 20px, auto;
}

.site-header {
  top: 12px;
  width: min(calc(100% - 28px), 1260px);
  margin: 0 auto;
  border: 1.5px solid rgba(33, 55, 43, 0.88);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(23, 55, 43, 0.08);
}

.nav { padding: 11px 20px; }
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1.5px;
  background: var(--terracotta);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after { transform: scaleX(1); }

h1, h2, h3, .display { letter-spacing: -0.035em; }
h1 { font-size: clamp(3rem, 5.6vw, 5.35rem); line-height: 0.9; }
h2 { font-size: clamp(2rem, 3.75vw, 3.45rem); line-height: 0.98; }

section { padding: clamp(86px, 11vw, 150px) 0; }
.band-paper-deep { background: linear-gradient(135deg, #f3ebd8 0%, #f8efd9 48%, #f1e4c9 100%); }
.band-deep { background: linear-gradient(135deg, #1e4d3b 0%, #12382b 100%); }

.card-grid { grid-auto-flow: dense; gap: 22px; }
.card {
  border-width: 1.5px;
  box-shadow: var(--shadow-pop);
  transition: transform 0.5s cubic-bezier(.16, 1, .3, 1), box-shadow 0.5s cubic-bezier(.16, 1, .3, 1), border-color 0.3s ease;
}
.card:hover { transform: translate(-4px, -5px); box-shadow: var(--shadow-pop-hover); border-color: var(--terracotta); }
.card h3 { font-size: clamp(1.22rem, 1.6vw, 1.55rem); }
.card .card-icon { transition: transform 0.65s cubic-bezier(.16, 1, .3, 1); }
.card:hover .card-icon { transform: rotate(-5deg) scale(1.08); }

.animal-card figure img,
.gallery-item figure img,
.hero-art img {
  transition: transform 0.8s cubic-bezier(.16, 1, .3, 1), filter 0.8s ease;
}
.animal-card:hover figure img,
.gallery-item:hover figure img { transform: scale(1.075); filter: saturate(1.06) contrast(1.04); }
.animal-card { box-shadow: var(--shadow-pop); }
.animal-card:hover { transform: translateY(-6px); }

.faq-item { border-width: 1.5px; transition: transform 0.35s ease, box-shadow 0.35s ease; }
.faq-item:hover, .faq-item.open { transform: translateX(5px); box-shadow: 6px 6px 0 rgba(33, 55, 43, 0.15); }
.faq-q { font-size: 1rem; transition: color 0.25s ease, background 0.25s ease; }
.faq-item.open .faq-q { background: #fbf1d9; color: var(--terracotta-deep); }

.btn { border-width: 1.5px; transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease; }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 7px 8px 0 rgba(33, 55, 43, 0.2); }
.link-arrow { border-bottom-width: 2px; }

@media (min-width: 861px) {
  .hero { padding: 38px 0 86px; }
  .hero > .hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    min-height: min(690px, calc(100vh - 100px));
    overflow: hidden;
    border: 1.5px solid var(--ink);
    border-radius: 30px;
    background: var(--forest-deep);
    box-shadow: 10px 12px 0 rgba(33, 55, 43, 0.15);
  }
  .hero > .hero-grid .hero-copy,
  .hero > .hero-grid .hero-art { grid-area: 1 / 1; }
  .hero > .hero-grid .hero-copy {
    position: relative;
    z-index: 2;
    width: min(100%, 820px);
    margin: auto;
    padding: 80px 42px;
    text-align: center;
  }
  .hero > .hero-grid .hero-copy h1 { margin-inline: auto; color: #fffaf0; }
  .hero > .hero-grid .hero-copy .lede { margin-inline: auto; color: #d8e2d2; }
  .hero > .hero-grid .hero-cta { justify-content: center; }
  .hero > .hero-grid .link-arrow { color: #fffaf0; border-color: var(--marigold); }
  .hero > .hero-grid .hero-art { position: absolute; inset: 0; z-index: 0; }
  .hero > .hero-grid .hero-art::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 50% 42%, rgba(20, 55, 42, 0.15) 0%, rgba(12, 38, 29, 0.83) 74%);
    content: "";
  }
  .hero > .hero-grid .hero-art .blob { display: none; }
  .hero > .hero-grid .hero-art img {
    position: absolute !important;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: cover !important;
    opacity: 0.7;
    filter: saturate(0.72) contrast(1.08) brightness(0.78);
  }
  .hero > .hero-grid .hero-trust-chips { margin: 36px auto 0; }
}

.hero-copy h1 .accent::after {
  display: inline-block;
  width: 1.8em;
  height: 0.54em;
  margin-left: 0.18em;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background: url("../img/generated/gallery-class-two-02-v5.png") center / cover;
  content: "";
  vertical-align: 0.02em;
}

.hero-trust-chips.marquee-ready {
  display: block;
  width: min(100%, 680px);
  max-width: 100%;
  margin-inline: auto;
  overflow: hidden;
  border-top: 1px solid rgba(253, 249, 238, 0.45);
  border-bottom: 1px solid rgba(253, 249, 238, 0.45);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: explore-marquee 26s linear infinite;
}
.marquee-track > li,
.marquee-track .htc-row {
  display: flex;
  flex: none;
  align-items: center;
  gap: 22px;
  padding: 10px 22px 10px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #fffaf0;
  font-size: 0.77rem;
  white-space: nowrap;
}
.marquee-track .htc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
}
.marquee-track .dot { background: var(--marigold); }
@keyframes explore-marquee { to { transform: translateX(-50%); } }

@media (max-width: 860px) {
  .site-header { top: 8px; width: calc(100% - 16px); border-radius: 14px; }
  .nav { padding: 10px 14px; }
  .hero-copy h1 .accent::after { width: 1.45em; }
  .hero-trust-chips.marquee-ready { width: 100%; }
  .marquee-track { animation-duration: 32s; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .card, .animal-card, .animal-card figure img, .gallery-item figure img, .hero-art img { transition: none; }
}

.hero { padding: clamp(38px, 6vw, 78px) 0 clamp(70px, 8vw, 110px); }
.hero > .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
  gap: clamp(34px, 3vw, 48px);
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero > .hero-grid .hero-copy,
.hero > .hero-grid .hero-art { grid-area: auto; }
.hero > .hero-grid .hero-copy {
  position: relative;
  z-index: auto;
  width: auto;
  margin: 0;
  padding: 0;
  text-align: left;
}
.hero > .hero-grid .hero-copy h1 {
  max-width: 100%;
  margin: 0 0 22px;
  color: var(--forest-deep);
  font-size: clamp(2.72rem, 3.35vw, 3.2rem);
  line-height: 0.94;
}
.hero > .hero-grid .hero-copy .lede {
  max-width: 37ch;
  margin-inline: 0;
  color: var(--ink-soft);
}
.hero > .hero-grid .hero-cta { justify-content: flex-start; }
.hero > .hero-grid .link-arrow { color: var(--forest-deep); border-color: var(--marigold); }
.hero > .hero-grid .hero-art {
  position: relative;
  inset: auto;
  z-index: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  background: var(--paper-deep);
  box-shadow: 12px 14px 0 #e7d7b8;
}
@media (min-width: 861px) {
  .hero > .hero-grid .hero-art {
    transform: translateY(42px) scale(1.14);
    transform-origin: right center;
  }
}

/* Keep the headline intentional on narrower desktop windows. */
@media (min-width: 861px) and (max-width: 1200px) {
  .hero > .hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(340px, 1fr);
    gap: clamp(26px, 3vw, 34px);
  }

  .hero > .hero-grid .hero-art {
    transform: translateY(36px) scale(1.05);
  }
}
.hero > .hero-grid .hero-art::after { display: none; }
.hero > .hero-grid .hero-art .blob { display: none; }
.hero > .hero-grid .hero-art img {
  position: relative !important;
  inset: auto;
  z-index: auto;
  width: 100%;
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover !important;
  object-position: center;
  opacity: 1;
  filter: none;
  transform: none !important;
}
.hero-copy h1 .accent::after { display: none; content: none; }
.hero .hero-trust-chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 16px;
  width: 100%;
  margin: 31px 0 0;
  padding-top: 19px;
  border-top: 1px solid var(--soft-line);
}
.hero .hero-trust-chips .htc-row { display: contents; }
.hero .hero-trust-chips li,
.hero .hero-trust-chips .htc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.25;
}
.hero .hero-trust-chips .dot {
  width: 8px;
  height: 8px;
  background: var(--leaf);
}

@media (max-width: 860px) {
  .hero { padding: 30px 0 72px; }
  .hero > .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    width: min(100%, var(--wrap));
  }
  .hero > .hero-grid .hero-copy { text-align: left; }
  .hero > .hero-grid .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.65rem, 11vw, 4.15rem);
    line-height: 0.94;
  }
  .hero > .hero-grid .hero-copy .lede { font-size: clamp(1rem, 4.8vw, 1.18rem); }
  .hero > .hero-grid .hero-cta { gap: 15px 20px; margin-top: 28px; }
  .hero > .hero-grid .hero-art {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    box-shadow: 8px 10px 0 #e7d7b8;
  }
  .hero .hero-trust-chips {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 27px;
  }
  .hero .hero-trust-chips li,
  .hero .hero-trust-chips .htc-chip { font-size: 0.81rem; }
}

@media (max-width: 430px) {
  .hero > .hero-grid .hero-copy h1 { font-size: clamp(2.45rem, 11.4vw, 3.15rem); }
  .hero > .hero-grid .hero-cta .btn { width: 100%; justify-content: center; }
}

.site-header {
  top: 0;
  width: 100%;
  margin: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: 0 5px 18px rgba(23, 55, 43, 0.06);
}

@media (max-width: 860px) {
  .site-header {
    top: 0;
    width: 100%;
    border-radius: 0;
  }
}

/* Hero mascot: a small, single-purpose interaction that makes the hero feel owned. */
.hero > .hero-grid .hero-mascot-stage {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.hero-photo-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  background: var(--paper-deep);
  box-shadow: 12px 14px 0 #e7d7b8;
}

.hero > .hero-grid .hero-mascot-stage .hero-photo-frame .hero-photo {
  display: block;
  position: relative !important;
  z-index: auto;
  width: 100%;
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover !important;
  object-position: center 31%;
}

.hero-mascot-scene {
  position: absolute;
  z-index: 1;
  top: -84px;
  left: 6%;
  width: clamp(182px, 16vw, 232px);
  aspect-ratio: 1;
  pointer-events: auto;
}

.hero-mascot-body {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 54% 72%;
  will-change: transform;
}

.hero-mascot-body {
  z-index: 1;
  transition: transform 620ms cubic-bezier(.26, .8, .28, 1);
}

.mascot-idle {
  position: absolute;
  inset: 0;
  clip-path: polygon(30% 0, 80% 0, 84% 59%, 31% 59%);
  transform-origin: 57% 72%;
  animation: mascot-peek-bob 4.9s ease-in-out infinite;
  will-change: transform;
}

.hero > .hero-grid .hero-mascot-stage .hero-mascot-body img {
  display: block;
  position: static !important;
  width: 100%;
  height: auto;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  transform: none !important;
}

/* A separate clipped front layer lets the hand wrap the photo edge before it follows below. */
.hero-mascot-grip-viewport {
  z-index: 3;
  position: absolute;
  top: -8px;
  left: 17%;
  width: 68px;
  height: 52px;
  overflow: hidden;
  pointer-events: none;
}

.hero-mascot-grip {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 52% 36%;
  will-change: transform;
}

.hero-mascot-hitbox {
  position: absolute;
  z-index: 4;
  top: -96px;
  left: 4%;
  width: clamp(185px, 17vw, 245px);
  height: 168px;
  background: transparent;
}

.mascot-eye {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  box-sizing: border-box;
  border: 2px solid #1E4D3B;
  border-radius: 51% 49% 48% 52%;
  background: #FDF9EE;
  pointer-events: none;
}

.mascot-eye::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 34%;
  width: 34%;
  height: 49%;
  border-radius: 50%;
  background: #1E4D3B;
  box-shadow: 2px 1px 0 rgba(0, 0, 0, .08);
  animation: mascot-gaze 5.6s cubic-bezier(.45, 0, .55, 1) infinite;
}

.mascot-eye::after {
  content: "";
  position: absolute;
  inset: 0 -7%;
  height: 116%;
  border: 0;
  border-bottom: 2px solid rgba(23, 55, 43, .64);
  border-radius: 0 0 52% 52%;
  background: #348361;
  transform: translateY(-110%);
  animation: mascot-blink 6.4s linear infinite;
  will-change: transform;
}

.mascot-eye-left { top: 19.2%; left: 36.1%; width: 11.6%; height: 12.1%; }
.mascot-eye-right { top: 22.1%; left: 49.7%; width: 12.4%; height: 11.6%; }
.mascot-eye-right::after { animation-delay: -45ms; }

.hero-mascot-wind {
  position: absolute;
  z-index: 3;
  top: 68px;
  left: 0;
  width: 68%;
  height: 48px;
  opacity: 0;
  pointer-events: none;
}

.hero-mascot-wind span {
  position: absolute;
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--marigold);
  transform: rotate(-8deg) scaleX(.45);
  transform-origin: right center;
}

.hero-mascot-wind span:nth-child(1) { top: 8px; right: 6%; width: 58%; }
.hero-mascot-wind span:nth-child(2) { top: 21px; right: 20%; width: 40%; }
.hero-mascot-wind span:nth-child(3) { top: 34px; right: 1%; width: 25%; }

@keyframes mascot-peek-bob {
  0%, 34%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
  45% { transform: translate3d(1px, -3px, 0) rotate(1.2deg); }
  58% { transform: translate3d(-2px, -1px, 0) rotate(-1.1deg); }
  71% { transform: translate3d(0, 0, 0) rotate(0); }
}

@keyframes mascot-gaze {
  0%, 12%, 100% { transform: translateX(-17%); }
  21%, 34% { transform: translateX(25%); }
  47%, 59% { transform: translateX(-24%); }
  71%, 84% { transform: translateX(18%); }
}

@keyframes mascot-blink {
  0%, 9%, 13%, 60%, 64%, 100% { transform: translateY(-110%); }
  10%, 12%, 61%, 63% { transform: translateY(-4%); }
}

@keyframes mascot-duck {
  0% { transform: translate3d(0, 0, 0) rotate(0); }
  15% { transform: translate3d(-4px, -7px, 0) rotate(-5deg); }
  29% { transform: translate3d(5px, 5px, 0) rotate(6deg); }
  100% { transform: translate3d(11px, 130px, 0) rotate(-9deg); }
}

@keyframes mascot-return {
  0% { transform: translate3d(11px, 130px, 0) rotate(-9deg); }
  62% { transform: translate3d(-3px, -7px, 0) rotate(3deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0); }
}

@keyframes mascot-grip-duck {
  0%, 15% { transform: translate3d(0, 0, 0) rotate(0); }
  100% { transform: translate3d(5px, 68px, 0) rotate(12deg); }
}

@keyframes mascot-grip-return {
  0% { transform: translate3d(5px, 68px, 0) rotate(12deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0); }
}

@keyframes mascot-gust {
  0% { opacity: 0; transform: translateX(34px); }
  16%, 66% { opacity: .9; }
  100% { opacity: 0; transform: translateX(-66px); }
}

.hero-mascot-stage[data-mascot-state="hiding"] .hero-mascot-body {
  animation: mascot-duck 760ms cubic-bezier(.22, .76, .28, 1) forwards;
}

.hero-mascot-stage[data-mascot-state="returning"] .hero-mascot-body {
  animation: mascot-return 660ms cubic-bezier(.25, .84, .32, 1) forwards;
}

.hero-mascot-stage[data-mascot-state="hiding"] .mascot-idle,
.hero-mascot-stage[data-mascot-state="returning"] .mascot-idle {
  animation-play-state: paused;
}

.hero-mascot-stage[data-mascot-state="hiding"] .hero-mascot-grip {
  animation: mascot-grip-duck 560ms 230ms cubic-bezier(.22, .76, .28, 1) forwards;
}

.hero-mascot-stage[data-mascot-state="returning"] .hero-mascot-grip {
  animation: mascot-grip-return 500ms cubic-bezier(.25, .84, .32, 1) forwards;
}

.hero-mascot-stage[data-mascot-state="hiding"] .hero-mascot-wind {
  animation: mascot-gust 760ms cubic-bezier(.22, .75, .27, 1) both;
}

@media (hover: hover) and (pointer: fine) {
  .hero-mascot-hitbox { cursor: pointer; }
}

@media (max-width: 860px) {
  .hero-mascot-scene {
    top: -63px;
    left: 4.5%;
    width: clamp(150px, 43vw, 194px);
  }

  .hero-mascot-grip-viewport {
    top: -7px;
    left: 17%;
    width: 58px;
    height: 48px;
  }

  .hero-mascot-hitbox {
    top: -75px;
    left: 3%;
    width: clamp(155px, 45vw, 200px);
    height: 136px;
  }

  .hero-photo-frame {
    border-radius: 18px;
    box-shadow: 8px 10px 0 #e7d7b8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mascot-body,
  .hero-mascot-grip { animation: none !important; }
  .mascot-idle,
  .mascot-eye::before,
  .mascot-eye::after { animation: none; }
  .hero-mascot-wind { display: none; }
}

/* Rebuilt mascot: a single purpose-made peek sprite avoids a mismatched hand. */
.hero > .hero-grid .hero-mascot-stage {
  --mascot-size: clamp(268px, 25vw, 340px);
  --mascot-offset: clamp(6px, 4%, 34px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.hero-mascot-scene,
.hero-mascot-hands {
  position: absolute;
  left: var(--mascot-offset);
  width: var(--mascot-size);
  aspect-ratio: 3 / 2;
  pointer-events: none;
}

.hero-mascot-scene {
  z-index: 1;
  top: 0;
}

.hero-mascot-head {
  top: -123px;
}

.hero-mascot-hands {
  top: -153px;
}

.hero-mascot-head {
  position: absolute;
  left: 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  transform-origin: 50% 92%;
  transition: transform 460ms cubic-bezier(.2, .82, .24, 1);
  will-change: transform;
}

.hero-mascot-watch {
  position: absolute;
  inset: 0;
  clip-path: polygon(35% 0, 65% 0, 73% 34%, 74% 45%, 70% 70%, 30% 70%, 26% 45%, 27% 34%);
  transform-origin: 50% 92%;
  animation: mascot-scout-v2 6.8s ease-in-out infinite;
}

.hero > .hero-grid .hero-mascot-stage .hero-mascot-art,
.hero > .hero-grid .hero-mascot-stage .hero-mascot-hand {
  display: block;
  position: static !important;
  width: 100%;
  height: auto;
  max-width: none;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  transform: none !important;
  filter: none;
}

.hero-mascot-hands {
  z-index: 3;
  overflow: visible;
}

.hero-mascot-hand {
  position: absolute !important;
  top: 0;
  left: 0;
  pointer-events: none;
}

.hero > .hero-grid .hero-mascot-stage .hero-mascot-hands .hero-mascot-hand {
  position: absolute !important;
  top: 0;
  left: 0;
}

.hero-mascot-hand-left {
  clip-path: polygon(0 58%, 31.5% 58%, 31.5% 78%, 0 78%);
}

.hero-mascot-hand-right {
  clip-path: polygon(68.5% 58%, 90% 58%, 90% 78%, 68.5% 78%);
}

.mascot-eye {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #fffdf3;
  pointer-events: none;
}

.mascot-eye::before {
  content: "";
  position: absolute;
  top: 17%;
  left: 23%;
  width: 58%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle at 66% 25%, #fffdf3 0 10%, transparent 12%), #1e4d3b;
  box-shadow: none;
  animation: mascot-gaze-v2 6.8s cubic-bezier(.45, 0, .55, 1) infinite;
  will-change: transform;
}

.mascot-eye::after {
  content: "";
  position: absolute;
  inset: -6% -7% auto;
  height: 112%;
  border: 0;
  border-radius: 0 0 50% 50%;
  background: #3b8563;
  transform: translateY(-110%);
  transform-origin: top center;
  animation: mascot-blink-v2 6.8s linear infinite;
  will-change: transform;
}

.mascot-eye-left { top: 40.8%; left: 34.5%; width: 9.9%; height: 16.2%; }
.mascot-eye-right { top: 40.8%; left: 54.1%; width: 9.9%; height: 16.2%; }
.mascot-eye-right::after { animation-delay: -32ms; }

.hero-mascot-wind {
  position: absolute;
  z-index: 4;
  top: -27px;
  left: calc(var(--mascot-offset) + 28%);
  width: 42%;
  height: 38px;
  opacity: 0;
  pointer-events: none;
}

.hero-mascot-wind {
  display: none !important;
}

.hero-mascot-wind span {
  position: absolute;
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--marigold);
  transform: rotate(-8deg) scaleX(.35);
  transform-origin: right center;
}

.hero-mascot-wind span:nth-child(1) { top: 5px; right: 1%; width: 58%; }
.hero-mascot-wind span:nth-child(2) { top: 17px; right: 15%; width: 43%; }
.hero-mascot-wind span:nth-child(3) { top: 29px; right: 2%; width: 26%; }

.hero-mascot-hitbox {
  position: absolute;
  z-index: 5;
  top: -54px;
  left: var(--mascot-offset);
  width: var(--mascot-size);
  height: 94px;
  background: transparent;
}

@keyframes mascot-scout-v2 {
  0%, 14%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
  25% { transform: translate3d(3px, -2px, 0) rotate(1deg); }
  44% { transform: translate3d(-3px, 0, 0) rotate(-1deg); }
  64% { transform: translate3d(2px, -1px, 0) rotate(.7deg); }
  78% { transform: translate3d(0, 0, 0) rotate(0); }
}

@keyframes mascot-gaze-v2 {
  0%, 13%, 100% { transform: translateX(-22%); }
  24%, 37% { transform: translateX(31%); }
  50%, 63% { transform: translateX(-27%); }
  75%, 87% { transform: translateX(22%); }
}

@keyframes mascot-blink-v2 {
  0%, 9%, 12%, 55%, 58%, 100% { transform: translateY(-110%); }
  10%, 11%, 56%, 57% { transform: translateY(-3%); }
}

@keyframes mascot-gust-v2 {
  0% { opacity: 0; transform: translateX(30px); }
  18%, 64% { opacity: .92; }
  100% { opacity: 0; transform: translateX(-58px); }
}

.hero-mascot-stage[data-mascot-state="hiding"] .hero-mascot-head {
  transform: translate3d(8px, 150px, 0) rotate(-7deg);
  transition-duration: 460ms;
  transition-timing-function: cubic-bezier(.24, .82, .22, 1);
}

.hero-mascot-stage[data-mascot-state="returning"] .hero-mascot-head {
  transform: translate3d(0, 0, 0) rotate(0);
  transition-duration: 580ms;
  transition-timing-function: cubic-bezier(.2, .9, .22, 1.1);
}

.hero-mascot-stage[data-mascot-state="hiding"] .hero-mascot-watch,
.hero-mascot-stage[data-mascot-state="returning"] .hero-mascot-watch {
  animation-play-state: paused;
}

.hero-mascot-stage[data-mascot-state="hiding"] .hero-mascot-wind {
  animation: mascot-gust-v2 460ms cubic-bezier(.22, .75, .27, 1) both;
}

@media (hover: hover) {
  .hero-mascot-hitbox { cursor: pointer; }
}

@media (max-width: 860px) {
  .hero > .hero-grid .hero-mascot-stage {
    --mascot-size: clamp(220px, 61vw, 290px);
    --mascot-offset: clamp(0px, 4%, 22px);
  }

  .hero-mascot-head { top: -111px; }
  .hero-mascot-hands { top: -124px; }

  .hero-mascot-hitbox {
    top: -45px;
    height: 77px;
  }
  .hero-mascot-wind { top: -21px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mascot-watch { animation: mascot-scout-v2 6.8s ease-in-out infinite; }
  .mascot-eye::before { animation: mascot-gaze-v2 6.8s cubic-bezier(.45, 0, .55, 1) infinite; }
  .mascot-eye::after { animation: mascot-blink-v2 6.8s linear infinite; }
  .hero-mascot-wind { display: block; }
}

/* Keep the approved homepage header and hero composition identical at every width. */
.landing-lock {
  overflow-x: hidden;
}

.landing-lock .site-header {
  position: sticky;
  overflow: visible;
}

.landing-lock .site-header .nav {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1120px;
  max-width: none;
  margin: 0;
  padding: 11px 20px;
  transform: translateX(-50%) scale(var(--landing-scale, 1));
  transform-origin: top center;
}

.landing-lock .nav-toggle {
  display: none !important;
}

.landing-lock .nav-links {
  display: flex !important;
  position: static !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.landing-lock .nav-links a:not(.btn) {
  padding: 8px 14px;
}

.landing-lock .nav-links .btn {
  justify-content: initial;
  margin: 0 0 0 8px;
  padding: 10px 20px;
}

.landing-lock .hero {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
}

.landing-lock .hero > .hero-grid {
  position: absolute;
  left: 50%;
  display: grid;
  grid-template-columns: 483.531px 545.266px;
  gap: 43.2px;
  width: 1120px !important;
  max-width: none !important;
  min-height: 0;
  margin: 0;
  padding: 0 24px;
  transform: translateX(-50%) scale(var(--landing-scale, 1));
  transform-origin: top center;
}

.landing-lock .hero > .hero-grid .hero-copy {
  width: 483.531px;
  padding: 0;
  text-align: left;
}

.landing-lock .hero > .hero-grid .hero-copy h1 {
  max-width: 100%;
  margin: 0 0 22px;
  font-size: 48.24px;
  line-height: 45.3456px;
}

.landing-lock .hero > .hero-grid .hero-copy .lede {
  width: 444px;
  max-width: 37ch;
  font-size: 20px;
  line-height: 33px;
}

.landing-lock .hero > .hero-grid .hero-cta {
  justify-content: flex-start;
  gap: 18px 26px;
  margin-top: 34px;
}

.landing-lock .hero > .hero-grid .hero-cta .btn {
  width: auto;
  padding: 17px 34px;
  font-size: 17.6px;
}

.landing-lock .hero .hero-trust-chips {
  grid-template-columns: 1fr;
  gap: 10px 16px;
  margin-top: 36px;
  padding-top: 19px;
}

.landing-lock .hero .hero-trust-chips li,
.landing-lock .hero .hero-trust-chips .htc-chip {
  font-size: 12px;
  line-height: 15px;
}

.landing-lock .hero > .hero-grid .hero-art {
  width: 545.266px;
  aspect-ratio: 4 / 3;
  transform: translateY(42px) scale(1.14);
  transform-origin: right center;
}

.landing-lock .hero-photo-frame {
  border-radius: 22px;
  box-shadow: 12px 14px 0 #e7d7b8;
}

.landing-lock .hero > .hero-grid .hero-mascot-stage {
  --mascot-size: 340px;
  --mascot-offset: 21.81px;
}

.landing-lock .hero-mascot-head {
  top: -123px;
}

.landing-lock .hero-mascot-hands {
  top: -153px;
}

.landing-lock .hero-mascot-hitbox {
  top: -54px;
  height: 94px;
}

/* Phone-only landing composition: same visual language, sized for real reading. */
@media (max-width: 860px) {
  .landing-lock .site-header {
    height: auto !important;
    overflow: visible;
  }

  .landing-lock .site-header .nav {
    position: static;
    display: flex;
    width: min(100%, var(--wrap));
    max-width: var(--wrap);
    min-height: 66px;
    margin-inline: auto;
    padding: 9px 16px;
    transform: none;
  }

  .landing-lock .brand-mark {
    width: 46px;
    height: 46px;
    object-fit: contain;
  }

  .landing-lock .brand-name {
    font-size: 1.18rem;
  }

  .landing-lock .nav-links {
    display: flex !important;
    margin-left: auto;
  }

  .landing-lock .nav-links li:not(:last-child) {
    display: none;
  }

  .landing-lock .nav-links .btn {
    min-height: 42px;
    margin: 0;
    padding: 10px 16px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .landing-lock .hero {
    height: auto !important;
    padding: 42px 0 72px !important;
    overflow: hidden;
  }

  .landing-lock .hero > .hero-grid {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 54px;
    width: min(calc(100% - 32px), var(--wrap)) !important;
    max-width: var(--wrap) !important;
    margin-inline: auto;
    padding: 0;
    transform: none;
  }

  .landing-lock .hero > .hero-grid .hero-copy {
    width: 100%;
  }

  .landing-lock .hero > .hero-grid .hero-copy h1 {
    max-width: 11.5ch;
    margin-bottom: 18px;
    font-size: clamp(2.55rem, 11.5vw, 4rem);
    line-height: 0.94;
  }

  .landing-lock .hero > .hero-grid .hero-copy .lede {
    width: auto;
    max-width: 35ch;
    font-size: clamp(1.03rem, 4.7vw, 1.2rem);
    line-height: 1.55;
  }

  .landing-lock .hero > .hero-grid .hero-cta {
    flex-wrap: wrap;
    gap: 16px 22px;
    margin-top: 26px;
  }

  .landing-lock .hero > .hero-grid .hero-cta .btn {
    width: auto;
    min-height: 52px;
    padding: 14px 25px;
    font-size: 1rem;
  }

  .landing-lock .hero > .hero-grid .link-arrow {
    font-size: 0.95rem;
  }

  .landing-lock .hero .hero-trust-chips {
    gap: 11px;
    margin-top: 29px;
    padding-top: 18px;
  }

  .landing-lock .hero .hero-trust-chips li,
  .landing-lock .hero .hero-trust-chips .htc-chip {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .landing-lock .hero > .hero-grid .hero-art {
    width: 100%;
    aspect-ratio: 4 / 3;
    transform: none;
  }

  .landing-lock .hero-photo-frame {
    border-radius: 18px;
    box-shadow: 8px 10px 0 #e7d7b8;
  }

  .landing-lock .hero > .hero-grid .hero-mascot-stage {
    --mascot-size: clamp(220px, 61vw, 290px);
    --mascot-offset: clamp(0px, 4%, 22px);
  }

  .landing-lock .hero-mascot-head {
    top: -111px;
  }

  .landing-lock .hero-mascot-hands {
    top: -124px;
  }

  .landing-lock .hero-mascot-hitbox {
    top: -45px;
    height: 77px;
  }
}

@media (max-width: 430px) {
  .landing-lock .hero > .hero-grid .hero-copy h1 {
    font-size: clamp(2.45rem, 11.4vw, 3.15rem);
  }
}

/* Mobile polish based on real iPhone captures. Desktop composition is unchanged. */
@media (max-width: 860px) {
  .landing-lock .hero > .hero-grid {
    /* The mascot occupies this space instead of overlapping the trust list. */
    gap: 93px;
  }

  .landing-lock .hero > .hero-grid .hero-mascot-stage {
    /* Match the approved desktop mascot's horizontal placement. */
    --mascot-offset: clamp(10px, 4.38%, 22px);
  }

  .landing-lock .hero-mascot-head {
    /* Hide the lower face behind the photo at the same ratio as desktop. */
    top: calc(var(--mascot-size) * -0.362);
  }

  .landing-lock .hero-mascot-hands {
    /* Keep the hands' flat edge locked to the photo at every phone width. */
    top: calc(var(--mascot-size) * -0.52 + 20px);
  }

  .inquiry-form {
    min-width: 0;
    padding: 28px 20px;
  }

  .visit-window {
    min-width: 0;
    padding: 18px 16px;
  }

  .contact-grid,
  .field-row,
  .field {
    min-width: 0;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-aside a {
    overflow-wrap: anywhere;
  }

  .visit-window legend {
    float: left;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .visit-window .field-hint {
    clear: both;
  }

  .visit-window .field,
  .visit-window input[type="date"] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .visit-window input[type="date"] {
    display: block;
    inline-size: calc(100% - 18px);
    min-inline-size: 0;
    max-inline-size: calc(100% - 18px);
  }

  #f-date {
    width: calc(100% - 18px);
    max-width: calc(100% - 18px);
  }

  .cta-band .wrap > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .cta-band .wrap > div:last-child .btn {
    width: min(100%, 270px);
    margin: 0 !important;
  }
}
