/*
Theme Name: Turtle Town Maui
Theme URI: https://turtletownmaui.net/
Author: TurtleTownMaui.net
Description: A fast, editorial WordPress theme for TurtleTownMaui.net with guided setup, tour comparisons, locally hosted Viator tour photography, and long-form travel guides.
Version: 1.7.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: turtle-town-maui
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ttm-navy: #082f38;
  --ttm-navy-2: #0b3c46;
  --ttm-teal: #0d6f70;
  --ttm-teal-light: #dff4ef;
  --ttm-aqua: #5dc7bd;
  --ttm-sand: #f6f0e5;
  --ttm-sand-2: #fffaf1;
  --ttm-coral: #e2644a;
  --ttm-coral-dark: #bd4834;
  --ttm-ink: #17353b;
  --ttm-muted: #5d7074;
  --ttm-line: #d8e2df;
  --ttm-white: #ffffff;
  --ttm-shadow: 0 18px 50px rgba(8, 47, 56, .11);
  --ttm-shadow-soft: 0 8px 30px rgba(8, 47, 56, .08);
  --ttm-radius: 24px;
  --ttm-radius-sm: 14px;
  --ttm-container: 1180px;
  --ttm-reading: 760px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ttm-ink);
  background: var(--ttm-white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header { top: 32px; }

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

a { color: var(--ttm-teal); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--ttm-coral-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #f8b84f;
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .55em;
  color: var(--ttm-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
}

h1 { font-size: clamp(2.55rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
h4 { font-size: 1.18rem; }

p, ul, ol, blockquote, table { margin-top: 0; margin-bottom: 1.4rem; }
ul, ol { padding-left: 1.35rem; }
li + li { margin-top: .42rem; }

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 12px;
  padding: 12px 16px;
  top: 12px;
  width: auto;
  z-index: 100000;
  color: var(--ttm-navy);
  background: var(--ttm-white);
  border-radius: 8px;
  box-shadow: var(--ttm-shadow);
}

.ttm-container { width: min(calc(100% - 40px), var(--ttm-container)); margin-inline: auto; }
.ttm-reading { width: min(100%, var(--ttm-reading)); margin-inline: auto; }

.ttm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ttm-teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ttm-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.ttm-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  color: var(--ttm-white);
  background: var(--ttm-coral);
  border: 2px solid var(--ttm-coral);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ttm-button:hover { color: var(--ttm-white); background: var(--ttm-coral-dark); border-color: var(--ttm-coral-dark); transform: translateY(-2px); box-shadow: 0 12px 25px rgba(226, 100, 74, .28); }
.ttm-button--light { color: var(--ttm-navy); background: var(--ttm-white); border-color: var(--ttm-white); }
.ttm-button--light:hover { color: var(--ttm-navy); background: var(--ttm-sand); border-color: var(--ttm-sand); }
.ttm-button--outline { color: var(--ttm-white); background: transparent; border-color: rgba(255,255,255,.72); }
.ttm-button--outline:hover { color: var(--ttm-navy); background: var(--ttm-white); border-color: var(--ttm-white); }
.ttm-button--nav { min-height: 44px; padding: 9px 18px; font-size: 15px; }

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  color: var(--ttm-navy);
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(216,226,223,.86);
  backdrop-filter: blur(16px);
}

.site-header__inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.site-branding { flex: 0 0 auto; }
.custom-logo-link, .site-branding__link { display: flex; align-items: center; gap: 11px; color: var(--ttm-navy); text-decoration: none; }
.custom-logo { max-height: 48px; width: auto; }
.site-branding__mark { width: 42px; height: 42px; }
.site-branding__name { font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; font-weight: 700; letter-spacing: -.025em; white-space: nowrap; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.primary-nav li { position: relative; margin: 0; }
.primary-nav a { display: flex; min-height: 46px; align-items: center; padding: 10px 13px; color: var(--ttm-navy); font-size: 15px; font-weight: 700; text-decoration: none; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--ttm-teal); }
.primary-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; margin: -4px 0 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  display: block;
  width: 260px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  background: var(--ttm-white);
  border: 1px solid var(--ttm-line);
  border-radius: 16px;
  box-shadow: var(--ttm-shadow);
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.primary-nav .sub-menu a { min-height: 44px; padding: 9px 12px; border-radius: 9px; }
.primary-nav .sub-menu a:hover { background: var(--ttm-teal-light); }
.submenu-toggle { display: none; }

.menu-toggle { display: none; width: 46px; height: 46px; margin-left: auto; padding: 10px; color: var(--ttm-navy); background: transparent; border: 0; border-radius: 10px; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; height: 2px; margin: 5px 0; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

/* Homepage hero */
.home-hero {
  position: relative;
  display: grid;
  min-height: min(780px, calc(100vh - 76px));
  align-items: center;
  overflow: hidden;
  color: var(--ttm-white);
  background-color: var(--ttm-navy);
}

.home-hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(4,34,42,.98) 0%, rgba(4,34,42,.88) 42%, rgba(4,34,42,.3) 76%, rgba(4,34,42,.16) 100%); pointer-events: none; }
.home-hero::after { content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 22%; background: linear-gradient(transparent, rgba(8,47,56,.58)); pointer-events: none; }
.home-hero__image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.home-hero > .ttm-container { position: relative; z-index: 2; }
.home-hero__content { position: relative; z-index: 2; width: min(720px, 65%); padding-block: 90px 130px; }
.home-hero h1 { max-width: 750px; color: var(--ttm-white); font-size: clamp(3.2rem, 8vw, 7rem); }
.home-hero__lead { max-width: 670px; margin-bottom: 30px; color: rgba(255,255,255,.9); font-size: clamp(1.1rem, 2vw, 1.34rem); line-height: 1.65; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.home-hero__trust { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; border-top: 1px solid rgba(255,255,255,.18); background: rgba(5,41,49,.7); backdrop-filter: blur(12px); }
.home-hero__trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.home-hero__trust-item { min-height: 84px; display: flex; align-items: center; gap: 13px; padding: 18px 28px; color: rgba(255,255,255,.9); font-size: 15px; font-weight: 700; }
.home-hero__trust-item + .home-hero__trust-item { border-left: 1px solid rgba(255,255,255,.18); }
.home-hero__trust-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; color: var(--ttm-navy); background: var(--ttm-aqua); border-radius: 50%; font-weight: 900; }

.quick-answer { position: relative; z-index: 5; width: min(calc(100% - 40px), 980px); margin: -46px auto 0; padding: 28px 34px; background: var(--ttm-white); border: 1px solid var(--ttm-line); border-radius: var(--ttm-radius); box-shadow: var(--ttm-shadow); }
.quick-answer strong { color: var(--ttm-coral-dark); }
.quick-answer p { margin: 0; font-size: 1.05rem; }

/* The definition follows the complete hero, including its trust labels. */
.home-definition { width: min(calc(100% - 40px), 980px); margin: 40px auto 0; padding: 28px 34px; background: var(--ttm-white); border: 1px solid var(--ttm-line); border-radius: var(--ttm-radius); box-shadow: var(--ttm-shadow); }
.home-definition h2 { margin: 0 0 18px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.home-definition p { margin: 0; font-size: 1.05rem; }
.home-definition p + p { margin-top: 18px; }
.home-definition strong { color: var(--ttm-navy); }
.home-definition + .home-section { padding-top: clamp(64px, 7vw, 96px); }

.home-section { padding-block: clamp(76px, 9vw, 128px); }
.home-section--sand { background: var(--ttm-sand-2); }
.home-section--dark { color: rgba(255,255,255,.84); background: var(--ttm-navy); }
.home-section--dark h2, .home-section--dark h3 { color: var(--ttm-white); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-heading__copy { max-width: 730px; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading p { margin: 0; color: var(--ttm-muted); font-size: 1.08rem; }

.experience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.experience-card { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; color: var(--ttm-white); background: var(--ttm-navy); border-radius: var(--ttm-radius); box-shadow: var(--ttm-shadow-soft); text-decoration: none; isolation: isolate; }
.experience-card::after { content: ""; position: absolute; z-index: 1; inset: 30% 0 0; background: linear-gradient(transparent, rgba(4,34,42,.94)); }
.experience-card__image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.experience-card:hover { color: var(--ttm-white); }
.experience-card:hover .experience-card__image { transform: scale(1.045); }
.experience-card__content { position: relative; z-index: 2; padding: 28px; }
.experience-card__number { display: block; margin-bottom: 70px; color: var(--ttm-aqua); font-size: .82rem; font-weight: 900; letter-spacing: .12em; }
.experience-card h3 { color: var(--ttm-white); font-size: 1.55rem; }
.experience-card p { margin: 0; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.55; }

/* Tour cards */
.tour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tour-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: var(--ttm-white); border: 1px solid var(--ttm-line); border-radius: var(--ttm-radius); box-shadow: var(--ttm-shadow-soft); }
.tour-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ttm-teal-light); }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tour-card:hover .tour-card__media img { transform: scale(1.035); }
.tour-card__badge { position: absolute; top: 14px; left: 14px; padding: 7px 11px; color: var(--ttm-navy); background: rgba(255,255,255,.94); border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 5px 15px rgba(8,47,56,.12); }
.tour-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.tour-card__eyebrow { margin-bottom: 8px; color: var(--ttm-teal); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.tour-card h3 { margin-bottom: 12px; font-size: 1.42rem; }
.tour-card__summary { margin-bottom: 18px; color: var(--ttm-muted); font-size: 15px; line-height: 1.58; }
.tour-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 20px; padding: 14px 0; border-top: 1px solid var(--ttm-line); border-bottom: 1px solid var(--ttm-line); }
.tour-card__facts div { min-width: 0; }
.tour-card__facts dt { color: var(--ttm-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tour-card__facts dd { margin: 2px 0 0; color: var(--ttm-navy); font-size: 15px; font-weight: 800; }
.tour-card__note { margin: 0 0 18px; color: var(--ttm-muted); font-size: 13px; line-height: 1.5; }
.tour-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour-card__price { color: var(--ttm-navy); font-size: 1.1rem; font-weight: 900; }
.tour-card__price small { display: block; color: var(--ttm-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; }
.tour-card .ttm-button { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.tour-disclosure { margin: -22px 0 26px; color: var(--ttm-muted); font-size: 14px; }
.tour-updated { display: inline-flex; padding: 7px 12px; color: var(--ttm-teal); background: var(--ttm-teal-light); border-radius: 999px; font-size: 13px; font-weight: 800; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: clamp(92px, 10vw, 150px) 0 76px; color: var(--ttm-white); background: var(--ttm-navy); }
.page-hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(4,34,42,.94) 0%, rgba(4,34,42,.77) 52%, rgba(4,34,42,.32) 100%); }
.page-hero__image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { max-width: 900px; color: var(--ttm-white); font-size: clamp(2.7rem, 6vw, 5.2rem); }
.breadcrumbs { margin-bottom: 24px; color: rgba(255,255,255,.75); font-size: 14px; font-weight: 700; }
.breadcrumbs a { color: var(--ttm-white); text-decoration: none; }
.breadcrumbs span { margin-inline: 8px; opacity: .6; }
.page-shell { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 72px; padding-block: clamp(60px, 8vw, 104px); align-items: start; }
.page-content { min-width: 0; }
.page-aside { position: sticky; top: 108px; }
.page-aside__card { padding: 24px; background: var(--ttm-sand-2); border: 1px solid #eadfce; border-radius: var(--ttm-radius-sm); }
.page-aside__card h2 { font-size: 1.28rem; }
.page-aside__card ul { margin: 0; padding: 0; list-style: none; }
.page-aside__card li + li { margin-top: 2px; }
.page-aside__card a { display: block; padding: 9px 0; color: var(--ttm-navy); font-size: 15px; font-weight: 700; text-decoration: none; border-bottom: 1px solid #e8dece; }
.page-aside__card a:hover { color: var(--ttm-coral-dark); }

.entry-content { font-size: 18px; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { margin-top: 2.3em; scroll-margin-top: 105px; }
.entry-content h3 { margin-top: 1.75em; scroll-margin-top: 105px; }
.entry-content h4 { margin-top: 1.55em; }
.entry-content p, .entry-content ul, .entry-content ol, .entry-content blockquote { max-width: var(--ttm-reading); }
.entry-content blockquote { margin: 2rem 0; padding: 22px 25px; color: var(--ttm-navy); background: var(--ttm-teal-light); border-left: 5px solid var(--ttm-teal); border-radius: 0 var(--ttm-radius-sm) var(--ttm-radius-sm) 0; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content hr { height: 1px; margin: 3rem 0; background: var(--ttm-line); border: 0; }
.entry-content a[href*="viator.com"] { font-weight: 800; }
.entry-content code { padding: .18em .4em; color: var(--ttm-navy); background: var(--ttm-sand); border-radius: 5px; font-size: .9em; }
.entry-content > .ttm-button { margin: 4px 4px 4px 0; }

/* Product photographs sourced from each matching Viator listing */
.tour-photo-gallery { width: min(100%, 980px); margin: 0 0 54px; padding-bottom: 50px; border-bottom: 1px solid var(--ttm-line); }
.tour-photo-gallery__heading { max-width: 730px; margin-bottom: 24px; }
.tour-photo-gallery__heading h2 { margin-top: 0; margin-bottom: 10px; font-size: clamp(1.9rem, 3vw, 2.65rem); }
.tour-photo-gallery__heading p { margin-bottom: 0; color: var(--ttm-muted); font-size: 15px; }
.tour-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tour-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; color: var(--ttm-white); background: var(--ttm-navy); border-radius: 18px; box-shadow: var(--ttm-shadow-soft); text-decoration: none; isolation: isolate; }
.tour-photo::after { content: ""; position: absolute; z-index: 1; inset: 38% 0 0; background: linear-gradient(transparent, rgba(4,34,42,.92)); }
.tour-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tour-photo span { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 20px; color: var(--ttm-white); font-size: 15px; font-weight: 800; line-height: 1.35; }
.tour-photo:hover { color: var(--ttm-white); }
.tour-photo:hover img { transform: scale(1.04); }

.table-scroll { width: 100%; margin: 2rem 0; overflow-x: auto; border: 1px solid var(--ttm-line); border-radius: var(--ttm-radius-sm); box-shadow: var(--ttm-shadow-soft); }
.table-scroll table { width: 100%; min-width: 680px; margin: 0; border-collapse: collapse; background: var(--ttm-white); font-size: 15px; }
.table-scroll th { color: var(--ttm-white); background: var(--ttm-navy); font-size: 13px; text-align: left; text-transform: uppercase; letter-spacing: .05em; }
.table-scroll th, .table-scroll td { padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--ttm-line); }
.table-scroll tr:last-child td { border-bottom: 0; }
.table-scroll tbody tr:nth-child(even) { background: #f8fbfa; }

.home-editorial { padding-block: 86px 112px; }
.home-editorial .entry-content > h2 { margin-top: 2.25em; padding-top: .3em; }
.home-editorial .entry-content > h2:first-child { margin-top: 0; }
.home-editorial .entry-content > h2:nth-of-type(odd) { position: relative; }
.home-editorial .entry-content > h2:nth-of-type(odd)::before { content: ""; position: absolute; left: -34px; top: .48em; width: 18px; height: 18px; background: var(--ttm-aqua); border-radius: 50%; }

/* FAQ progressive enhancement */
.ttm-faq { max-width: 900px; margin: 30px 0 45px; }
.ttm-faq details { background: var(--ttm-white); border-top: 1px solid var(--ttm-line); }
.ttm-faq details:last-child { border-bottom: 1px solid var(--ttm-line); }
.ttm-faq summary { position: relative; padding: 22px 48px 22px 0; color: var(--ttm-navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.22rem; font-weight: 700; cursor: pointer; list-style: none; }
.ttm-faq summary::-webkit-details-marker { display: none; }
.ttm-faq summary::after { content: "+"; position: absolute; top: 17px; right: 4px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--ttm-teal); background: var(--ttm-teal-light); border-radius: 50%; font-family: Inter, sans-serif; font-size: 1.35rem; }
.ttm-faq details[open] summary::after { content: "−"; }
.ttm-faq__answer { padding: 0 48px 20px 0; color: var(--ttm-muted); }
.ttm-faq__answer > :last-child { margin-bottom: 0; }

/* Map */
.ttm-map { margin: 28px 0 46px; overflow: hidden; background: var(--ttm-sand-2); border: 1px solid var(--ttm-line); border-radius: var(--ttm-radius); box-shadow: var(--ttm-shadow); }
.ttm-map__visual { position: relative; min-height: 470px; background: var(--ttm-teal-light) url("assets/images/map-makena.svg") center / cover no-repeat; }
.ttm-map__marker { position: absolute; display: grid; width: 42px; height: 42px; place-items: center; color: var(--ttm-white); background: var(--ttm-coral); border: 4px solid var(--ttm-white); border-radius: 50% 50% 50% 5px; box-shadow: 0 7px 20px rgba(8,47,56,.25); font-weight: 900; text-decoration: none; transform: rotate(-45deg); }
.ttm-map__marker span { transform: rotate(45deg); }
.ttm-map__marker:hover { color: var(--ttm-white); background: var(--ttm-coral-dark); }
.ttm-map__marker--a { right: 24%; bottom: 24%; }
.ttm-map__marker--b { right: 31%; bottom: 39%; }
.ttm-map__marker--c { right: 39%; bottom: 54%; }
.ttm-map__marker--d { right: 48%; bottom: 69%; }
.ttm-map__marker--e { left: 24%; top: 12%; }
.ttm-map__panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 24px 28px; }
.ttm-map__panel h3 { margin-bottom: 5px; }
.ttm-map__panel p { margin: 0; color: var(--ttm-muted); font-size: 15px; }
.ttm-map__embed { display: none; aspect-ratio: 16 / 9; }
.ttm-map__embed.is-loaded { display: block; }
.ttm-map__embed iframe { width: 100%; height: 100%; border: 0; }

/* Contact */
.ttm-form { max-width: 760px; margin: 28px 0 50px; padding: clamp(24px, 5vw, 44px); background: var(--ttm-sand-2); border: 1px solid #eadfce; border-radius: var(--ttm-radius); }
.ttm-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ttm-form__field { margin-bottom: 20px; }
.ttm-form label { display: block; margin-bottom: 7px; color: var(--ttm-navy); font-size: 15px; font-weight: 800; }
.ttm-form input[type="text"], .ttm-form input[type="email"], .ttm-form input[type="url"], .ttm-form select, .ttm-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ttm-ink); background: var(--ttm-white); border: 1px solid #b8c8c5; border-radius: 10px; font: inherit; font-size: 16px; }
.ttm-form textarea { min-height: 170px; resize: vertical; }
.ttm-form__check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.ttm-form__check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.ttm-form__notice { max-width: 760px; margin: 24px 0; padding: 18px 20px; border-radius: 10px; font-weight: 700; }
.ttm-form__notice--success { color: #145737; background: #e4f6eb; border: 1px solid #a8dfbd; }
.ttm-form__notice--error { color: #7a251b; background: #fff0ed; border: 1px solid #efb8af; }
.ttm-hp { position: absolute !important; left: -9999px !important; }

/* CTA and footer */
.site-cta { position: relative; overflow: hidden; padding-block: 76px; color: rgba(255,255,255,.86); background: var(--ttm-teal); }
.site-cta::before { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; top: -170px; border: 70px solid rgba(255,255,255,.08); border-radius: 50%; }
.site-cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.site-cta h2 { max-width: 700px; margin: 0; color: var(--ttm-white); }
.site-cta__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 12px; }

.site-footer { color: rgba(255,255,255,.73); background: #05262e; }
.site-footer__main { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 46px; padding-block: 72px 54px; }
.site-footer__brand p { max-width: 310px; font-size: 15px; }
.site-footer__logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 17px; color: var(--ttm-white); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.site-footer__logo img { width: 42px; height: 42px; }
.site-footer h2 { color: var(--ttm-white); font-family: Inter, sans-serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: rgba(255,255,255,.74); font-size: 15px; text-decoration: none; }
.site-footer a:hover { color: var(--ttm-white); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: 13px; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer__legal a { font-size: 13px; }

.no-results, .error-404 { min-height: 55vh; padding-block: 110px; text-align: center; }
.error-404 p { max-width: 600px; margin-inline: auto; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .experience-grid, .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__main { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .site-footer__brand { grid-row: span 2; }
}

@media (max-width: 860px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header__inner { min-height: 68px; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; max-height: calc(100vh - 68px); overflow-y: auto; background: var(--ttm-white); border-bottom: 1px solid var(--ttm-line); box-shadow: var(--ttm-shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: block; padding: 14px 20px 22px; }
  .primary-nav a { padding-inline: 6px; border-bottom: 1px solid var(--ttm-line); }
  .primary-nav .menu-item-has-children > a::after { display: none; }
  .primary-nav .sub-menu { position: static; display: none; width: auto; padding: 3px 0 8px 18px; visibility: visible; opacity: 1; border: 0; box-shadow: none; transform: none; }
  .primary-nav .submenu-open > .sub-menu { display: block; }
  .submenu-toggle { position: absolute; top: 5px; right: 1px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; color: var(--ttm-navy); background: var(--ttm-teal-light); border: 0; border-radius: 50%; font-size: 20px; }
  .home-hero { min-height: 720px; }
  .home-hero::before { background: linear-gradient(90deg, rgba(4,34,42,.96), rgba(4,34,42,.58)); }
  .home-hero__content { width: min(100%, 680px); padding-top: 72px; }
  .home-hero__trust-item { padding: 15px; font-size: 13px; }
  .page-shell { grid-template-columns: 1fr; gap: 50px; }
  .page-aside { position: static; }
  .site-cta__inner { display: block; }
  .site-cta__actions { margin-top: 28px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .ttm-container { width: min(calc(100% - 28px), var(--ttm-container)); }
  .site-branding__name { font-size: 1.04rem; }
  .home-hero { min-height: 760px; background-position: 61% center; }
  .home-hero__content { padding: 66px 0 230px; }
  .home-hero h1 { font-size: clamp(3.05rem, 17vw, 4.7rem); }
  .home-hero__actions { display: grid; }
  .home-hero__actions .ttm-button { width: 100%; }
  .home-hero__trust-inner { grid-template-columns: 1fr; }
  .home-hero__trust-item { min-height: 54px; padding: 9px 14px; }
  .home-hero__trust-item + .home-hero__trust-item { border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .home-hero__trust-icon { width: 28px; height: 28px; }
  .quick-answer { margin-top: -26px; padding: 23px; }
  .home-definition { width: calc(100% - 28px); margin-top: 28px; padding: 23px; }
  .section-heading { display: block; }
  .section-heading .ttm-button { margin-top: 18px; }
  .experience-grid, .tour-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 360px; }
  .experience-card__number { margin-bottom: 50px; }
  .page-hero { padding-top: 60px; }
  .entry-content { font-size: 17px; }
  .tour-photo-grid { grid-template-columns: 1fr; }
  .home-editorial .entry-content > h2:nth-of-type(odd)::before { display: none; }
  .ttm-map__visual { min-height: 350px; }
  .ttm-map__panel { grid-template-columns: 1fr; }
  .ttm-form__grid { grid-template-columns: 1fr; gap: 0; }
  .site-cta__actions { display: grid; }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .site-footer__brand { grid-column: 1 / -1; grid-row: auto; }
  .site-footer__bottom { display: block; }
  .site-footer__legal { margin-top: 12px; }
}

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

/* Homepage: a compact introduction, clear comparisons, and a readable guide. */
.ttm-home h2 { font-size: clamp(1.9rem, 3.3vw, 2.6rem); }
.ttm-home section[id], .ttm-home h2[id], .ttm-home .ttm-faq details[id] { scroll-margin-top: 104px; }
.ttm-home .home-hero { display: block; min-height: 0; }
.ttm-home .home-hero::before { background: linear-gradient(90deg, rgba(4,34,42,.95) 0%, rgba(4,34,42,.86) 40%, rgba(4,34,42,.32) 78%, rgba(4,34,42,.16) 100%); }
.ttm-home .home-hero__content { width: min(650px, 68%); padding-block: 64px 72px; }
.ttm-home .home-hero .ttm-kicker { margin-bottom: 18px; color: #a2ece2; }
.ttm-home .home-hero h1 { margin-bottom: 20px; font-size: clamp(3.1rem, 5.6vw, 5.2rem); line-height: 1.04; }
.ttm-home .home-hero__lead { max-width: 610px; margin-bottom: 26px; font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.65; }
.ttm-home .home-hero__actions { gap: 12px; }
.ttm-home .home-hero__trust { position: relative; background: rgba(5,41,49,.78); }
.ttm-home .home-hero__trust-item { min-height: 58px; gap: 10px; padding: 14px 24px; font-size: 13px; font-weight: 600; }
.ttm-home .home-hero__trust-item:first-child { padding-left: 0; }
.ttm-home .home-hero__trust-icon { width: 20px; height: 20px; color: #9fe4d8; background: transparent; font-size: 16px; }

.ttm-home .home-definition { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 1.6fr); gap: 60px; width: min(calc(100% - 40px), var(--ttm-container)); margin: 0 auto; padding: 60px 0 46px; border: 0; border-radius: 0; box-shadow: none; }
.ttm-home .home-definition__heading .ttm-kicker { margin-bottom: 14px; }
.ttm-home .home-definition h2 { max-width: 330px; margin: 0; }
.ttm-home .home-definition__body { max-width: 740px; }
.ttm-home .home-definition p { font-size: 1rem; line-height: 1.7; }
.ttm-home .home-definition p + p { margin-top: 16px; }
.ttm-home .home-definition p:last-child a { font-weight: 700; font-size: 15px; }

.ttm-home .home-guide-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 14px; border-top: 1px solid var(--ttm-line); border-bottom: 1px solid var(--ttm-line); }
.ttm-home .home-guide-nav__label { color: var(--ttm-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ttm-home .home-guide-nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.ttm-home .home-guide-nav li { margin: 0; }
.ttm-home .home-guide-nav a { display: inline-flex; min-height: 36px; align-items: center; color: var(--ttm-navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.ttm-home .home-guide-nav a:hover { color: var(--ttm-teal); text-decoration: underline; }

.ttm-home .home-section { padding-block: 64px; }
.ttm-home .section-heading { align-items: center; gap: 32px; margin-bottom: 28px; }
.ttm-home .section-heading__copy { max-width: 740px; }
.ttm-home .section-heading .ttm-kicker { margin-bottom: 12px; }
.ttm-home .section-heading h2 { margin-bottom: 12px; }
.ttm-home .section-heading p { max-width: 720px; font-size: 1rem; line-height: 1.65; }
.ttm-home .home-section__action { margin: 30px 0 0; text-align: center; }
.ttm-home .experience-grid { gap: 20px; }
.ttm-home .experience-card { display: flex; min-height: 0; flex-direction: column; align-items: stretch; color: var(--ttm-ink); background: var(--ttm-white); border: 1px solid var(--ttm-line); border-radius: 16px; box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease; }
.ttm-home .experience-card::after { display: none; }
.ttm-home .experience-card__image { position: static; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ttm-home .experience-card:hover { color: var(--ttm-ink); border-color: #87b9b1; box-shadow: var(--ttm-shadow-soft); }
.ttm-home .experience-card__content { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.ttm-home .experience-card__number { margin-bottom: 10px; color: var(--ttm-teal); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.ttm-home .experience-card h3 { margin-bottom: 12px; color: var(--ttm-navy); font-size: 1.35rem; line-height: 1.2; }
.ttm-home .experience-card p { flex: 1; color: var(--ttm-muted); font-size: 14px; line-height: 1.6; }
.ttm-home .experience-card__link { display: block; margin-top: 18px; color: var(--ttm-teal); font-size: 13px; font-weight: 800; }
.ttm-home .experience-card:hover .experience-card__link { text-decoration: underline; text-underline-offset: .2em; }

.ttm-home .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ttm-home .tour-card { display: grid; grid-template-columns: minmax(150px, .85fr) minmax(0, 1.65fr); border-radius: 18px; box-shadow: none; }
.ttm-home .tour-card__media { min-height: 100%; aspect-ratio: auto; }
.ttm-home .tour-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ttm-home .tour-card__badge { top: 14px; left: 12px; max-width: calc(100% - 24px); padding: 6px 9px; font-size: 10px; letter-spacing: .035em; line-height: 1.35; }
.ttm-home .tour-card__body { padding: 24px; }
.ttm-home .tour-card__eyebrow { font-size: 11px; }
.ttm-home .tour-card h3 { font-size: 1.45rem; line-height: 1.18; }
.ttm-home .tour-card__summary { margin-bottom: 16px; font-size: 14px; }
.ttm-home .tour-card__facts { gap: 8px; margin-bottom: 16px; padding-block: 12px; }
.ttm-home .tour-card__facts dt { font-size: 10px; }
.ttm-home .tour-card__facts dd { font-size: 13px; }
.ttm-home .tour-card__note { font-size: 12px; }
.ttm-home .tour-card__footer { flex-wrap: wrap; gap: 12px; }
.ttm-home .tour-card__price { font-size: 1.1rem; }
.ttm-home .tour-card .ttm-button { margin-left: auto; }
.ttm-home .tour-disclosure { max-width: 820px; margin: -4px 0 26px; font-size: 13px; }
.ttm-home .tour-updated { max-width: 200px; border-radius: 10px; font-size: 12px; line-height: 1.5; }

.ttm-home .home-editorial { padding-block: 12px 64px; }
.ttm-home .home-editorial .entry-content { font-size: 17px; }
.ttm-home .guide-section { padding-block: 52px; border-bottom: 1px solid var(--ttm-line); }
.ttm-home .guide-section > h2 { max-width: 800px; margin: 0 0 22px; padding: 0; font-size: clamp(1.8rem, 2.7vw, 2.3rem); }
.ttm-home .guide-section > p, .ttm-home .guide-section > ul, .ttm-home .guide-section > ol { max-width: 780px; }
.ttm-home .guide-section > :last-child { margin-bottom: 0; }
.ttm-home .guide-section .table-scroll { margin-block: 28px; border-radius: 12px; box-shadow: none; }
.ttm-home .guide-section .table-scroll th { background: var(--ttm-navy-2); font-size: 11px; }
.ttm-home .guide-section .table-scroll th, .ttm-home .guide-section .table-scroll td { padding: 17px 20px; }
.ttm-home .guide-section .table-scroll td:first-child { width: 21%; font-weight: 700; }
.ttm-home .guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ttm-home .guide-card { padding: 26px; background: #f7faf8; border: 1px solid var(--ttm-line); border-top: 3px solid #7bbcb1; border-radius: 12px; }
.ttm-home .guide-card h3 { margin: 0 0 16px; font-size: 1.35rem; line-height: 1.25; }
.ttm-home .guide-card p { font-size: 15px; line-height: 1.7; }
.ttm-home .guide-card > :last-child { margin-bottom: 0; }
.ttm-home .guide-card p:last-child a { font-size: 14px; font-weight: 700; }
.ttm-home .guide-section--families, .ttm-home .guide-section--wildlife { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 1.6fr); column-gap: 60px; }
.ttm-home .guide-section--families > h2, .ttm-home .guide-section--wildlife > h2 { grid-column: 1; grid-row: 1 / 8; }
.ttm-home .guide-section--families > :not(h2), .ttm-home .guide-section--wildlife > :not(h2) { grid-column: 2; }
.ttm-home .guide-section--wildlife { margin-block: 28px; padding: 36px; background: var(--ttm-teal-light); border: 0; border-radius: 16px; }
.ttm-home .guide-section--faq { max-width: 980px; margin-inline: auto; border-bottom: 0; }
.ttm-home .guide-section--faq .ttm-faq { max-width: none; margin-bottom: 0; }
.ttm-home .guide-section--faq .ttm-faq summary { padding-block: 20px; font-size: 1.14rem; }
.ttm-home .guide-section--faq .ttm-faq__answer { max-width: 820px; font-size: 16px; }
.ttm-home .guide-section--cta { padding-block: 32px; border-top: 1px solid var(--ttm-line); border-bottom: 0; }
.ttm-home .guide-section--cta > h2 { font-size: 1.8rem; }
.ttm-home .guide-section--cta h3 { margin-top: 32px; font-size: 1.1rem; }
.ttm-home .guide-section--cta h3 + p { color: var(--ttm-muted); font-size: 13px; }

@media (max-width: 1080px) {
  .ttm-home .experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ttm-home .experience-card__image { aspect-ratio: 2.2 / 1; }
  .ttm-home .tour-card { display: flex; }
  .ttm-home .tour-card__media { min-height: 0; aspect-ratio: 16 / 9; }
  .ttm-home .tour-card__media img { position: static; }
  .ttm-home .guide-grid { gap: 16px; }
  .ttm-home .guide-card { padding: 22px; }
}

@media (max-width: 860px) {
  .ttm-home .home-hero__content { width: min(660px, 88%); padding-block: 52px 56px; }
  .ttm-home .home-hero::before { background: linear-gradient(90deg, rgba(4,34,42,.94), rgba(4,34,42,.61)); }
  .ttm-home .home-hero__trust-item { padding: 12px; font-size: 12px; }
  .ttm-home .home-definition { gap: 32px; padding-block: 44px 36px; }
  .ttm-home .home-section { padding-block: 48px; }
  .ttm-home .section-heading { display: block; }
  .ttm-home .tour-updated { max-width: none; margin-top: 20px; }
  .ttm-home .guide-grid { grid-template-columns: 1fr; }
  .ttm-home .guide-card { padding: 24px; }
  .ttm-home .guide-section--families, .ttm-home .guide-section--wildlife { gap: 0 32px; }
}

@media (max-width: 640px) {
  .ttm-home section[id], .ttm-home h2[id], .ttm-home .ttm-faq details[id] { scroll-margin-top: 88px; }
  .ttm-home .home-hero__image { object-position: 61% center; }
  .ttm-home .home-hero__content { width: 100%; padding-block: 40px 38px; }
  .ttm-home .home-hero .ttm-kicker { margin-bottom: 14px; font-size: 11px; }
  .ttm-home .home-hero h1 { max-width: 440px; margin-bottom: 18px; font-size: clamp(2.7rem, 11.5vw, 3.7rem); }
  .ttm-home .home-hero__lead { font-size: 16px; line-height: 1.65; }
  .ttm-home .home-hero__actions { display: flex; gap: 10px; }
  .ttm-home .home-hero__actions .ttm-button { width: auto; min-height: 46px; padding: 11px 16px; font-size: 14px; }
  .ttm-home .home-hero__trust-inner { display: flex; flex-wrap: wrap; gap: 0 14px; padding-block: 10px; }
  .ttm-home .home-hero__trust-item, .ttm-home .home-hero__trust-item:first-child { min-height: 30px; padding: 2px 0; gap: 6px; border: 0; font-size: 11px; }
  .ttm-home .home-hero__trust-icon { width: 16px; height: 16px; font-size: 13px; }
  .ttm-home .home-definition { grid-template-columns: 1fr; gap: 20px; width: calc(100% - 28px); padding-block: 34px 28px; }
  .ttm-home .home-definition h2 { max-width: none; }
  .ttm-home .home-definition__heading .ttm-kicker { margin-bottom: 10px; }
  .ttm-home .home-definition p { font-size: 15px; }
  .ttm-home .home-guide-nav { display: block; padding-block: 12px; }
  .ttm-home .home-guide-nav__label { display: block; margin-bottom: 6px; font-size: 10px; }
  .ttm-home .home-guide-nav ul { gap: 2px 20px; }
  .ttm-home .home-guide-nav a { min-height: 36px; font-size: 13px; }
  .ttm-home .home-section { padding-block: 40px; }
  .ttm-home .section-heading { margin-bottom: 24px; }
  .ttm-home .experience-grid, .ttm-home .tour-grid { grid-template-columns: 1fr; gap: 18px; }
  .ttm-home .experience-card__image { aspect-ratio: 2.35 / 1; }
  .ttm-home .experience-card__content { padding: 20px; }
  .ttm-home .experience-card__number { margin-bottom: 8px; }
  .ttm-home .experience-card h3 { margin-bottom: 10px; }
  .ttm-home .experience-card__link { margin-top: 14px; }
  .ttm-home .tour-card__media { aspect-ratio: 1.9 / 1; }
  .ttm-home .tour-card__body { padding: 22px; }
  .ttm-home .tour-card__badge { font-size: 11px; }
  .ttm-home .tour-card__facts dd { font-size: 14px; }
  .ttm-home .tour-card__note { font-size: 13px; }
  .ttm-home .home-editorial { padding-block: 0 28px; }
  .ttm-home .home-editorial .entry-content { font-size: 16px; }
  .ttm-home .guide-section { padding-block: 36px; }
  .ttm-home .guide-section > h2 { margin-bottom: 20px; }
  .ttm-home .guide-section .table-scroll th, .ttm-home .guide-section .table-scroll td { padding: 14px 16px; }
  .ttm-home .guide-section--families, .ttm-home .guide-section--wildlife { display: block; }
  .ttm-home .guide-section--wildlife { margin-block: 18px; padding: 26px 22px; }
  .ttm-home .guide-section--faq .ttm-faq summary { padding-right: 44px; font-size: 1.1rem; }
  .ttm-home .guide-section--faq .ttm-faq__answer { padding-right: 14px; font-size: 15px; }
}
