:root {
    --paper:        #FAF8F4;
    --paper-2:      #F4F1EA;
    --ink:          #1E242B;
    --ink-2:        #4A5159;
    --ink-3:        #8A857C;
    --hair:         #E5E1D9;
    --hair-2:       #D7D2C7;
    --brand:        #087642;
    --brand-2:      #075b36;
    --navy:         #315547;
    --navy-dark:    #244235;
    --navy-light:   #e2ebe5;
    --hover-accent: #d36f4b;
    --accent:       #f21e2e;
    --gold:         #f21e2e;
}

html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 1 auto; }

* { -webkit-tap-highlight-color: transparent; }

::selection { background: var(--brand); color: #fff; }

a, button { transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease; }

.font-display { font-family: 'Playfair Display', Georgia, serif; font-feature-settings: "liga" 1, "dlig" 1; }

/* ---------- Numbered eyebrow labels ---------- */
.eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-3);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.eyebrow::before {
    content: attr(data-num);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0;
    text-transform: none;
    font-size: 14px;
}
.eyebrow-sm { font-size: 10px; letter-spacing: 0.28em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 2px;
    transition: all 220ms ease;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-primary:hover {
    background: var(--brand-2);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px -8px rgba(0,104,55,0.4);
}
.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-secondary:hover {
    background: var(--hover-accent);
    border-color: var(--hover-accent);
    color: #fff;
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    padding: 0.5rem 0.75rem;
}
.btn-ghost:hover { color: var(--brand); }
.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.btn-arrow::after {
    content: "→";
    transition: transform 220ms ease;
}
.btn-arrow:hover { color: var(--brand); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Hairline rules ---------- */
.hairline { border-top: 1px solid var(--hair); }
.hairline-2 { border-top: 1px solid var(--hair-2); }
.hairline-bottom { border-bottom: 1px solid var(--hair); }

[class~="bg-navy"] { background-color: var(--navy) !important; }
[class~="bg-navy/5"] { background-color: rgba(49,85,71,0.05) !important; }
[class~="bg-navy/10"] { background-color: rgba(49,85,71,0.1) !important; }
[class~="bg-navy/20"] { background-color: rgba(49,85,71,0.2) !important; }
[class~="text-navy"] { color: var(--navy) !important; }
[class~="border-navy/20"] { border-color: rgba(49,85,71,0.2) !important; }
[class~="border-navy/30"] { border-color: rgba(49,85,71,0.3) !important; }
[class~="hover:bg-navy-dark"]:hover { background-color: var(--navy-dark) !important; }

main > section[style*="#1A2B6D"] {
    background:
        radial-gradient(ellipse at 84% 16%, rgba(211,111,75,0.18), transparent 30rem),
        linear-gradient(125deg, #20372f 0%, #285442 54%, #35483d 100%) !important;
}
[style="background:#1A2B6D"] {
    background-color: var(--navy) !important;
}
[style*="rgba(26,43,109"] {
    background-color: rgba(49,85,71,0.05) !important;
    border-color: rgba(49,85,71,0.2) !important;
}
.assessment-section {
    background:
        radial-gradient(ellipse at 82% 18%, rgba(211,111,75,0.19), transparent 30rem),
        radial-gradient(ellipse at 12% 92%, rgba(143,174,126,0.16), transparent 32rem),
        linear-gradient(125deg, #20372f 0%, #285442 54%, #35483d 100%) !important;
}

.desktop-site-footer {
    background: #14251e;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-contact-strip {
    background: #f7f5ef;
    border: 1px solid rgba(255,255,255,0.32);
    box-shadow: 0 20px 50px -35px rgba(0,0,0,0.65);
}
.footer-contact-eyebrow {
    color: var(--brand);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.footer-contact-title { color: var(--ink); }
.footer-contact-copy { color: var(--ink-2); }
.footer-contact-action {
    min-height: 2.9rem;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.footer-contact-action:hover { transform: translateY(-1px); }
.footer-contact-action--primary {
    background: var(--brand);
    color: #fff;
}
.footer-contact-action--primary:hover { background: var(--brand-2); }
.footer-contact-action--secondary {
    border: 1px solid #c9c7bc;
    color: var(--ink);
}
.footer-contact-action--secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
}
.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}
.footer-description {
    max-width: 28rem;
    margin-top: 1.25rem;
    color: rgba(255,255,255,0.68);
    font-size: 0.875rem;
    line-height: 1.75;
}
.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.25rem;
}
.footer-contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.footer-contact-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    background: rgba(255,255,255,0.035);
}
.footer-contact-item:first-child {
    grid-row: span 2;
}
.footer-contact-item:hover {
    border-color: rgba(211,111,75,0.5);
    background: rgba(255,255,255,0.07);
}
.footer-schedule-link {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.9rem;
    padding: 1.15rem;
    border-color: rgba(215,189,129,0.25);
    background: linear-gradient(135deg, rgba(215,189,129,0.11), rgba(255,255,255,0.035));
}
.footer-schedule-link:hover {
    border-color: rgba(215,189,129,0.65);
    background: linear-gradient(135deg, rgba(215,189,129,0.17), rgba(255,255,255,0.07));
}
.footer-schedule-icon {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    color: #e2c986;
    border: 1px solid rgba(226,201,134,0.3);
    border-radius: 0.8rem;
    background: rgba(226,201,134,0.09);
}
.footer-schedule-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}
.footer-schedule-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.4rem;
}
.footer-schedule-copy strong {
    color: #fff;
    font: 600 1.18rem/1.2 "Playfair Display", Georgia, serif;
}
.footer-schedule-copy > span:not(.footer-contact-label):not(.footer-schedule-action) {
    color: rgba(255,255,255,0.64);
    font-size: 0.72rem;
    line-height: 1.5;
}
.footer-schedule-copy .footer-contact-label {
    color: #e2c986;
}
.footer-schedule-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.25rem;
    color: #e2c986;
    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.footer-schedule-action > span,
.footer-schedule-arrow {
    transition: transform 180ms ease, color 180ms ease;
}
.footer-schedule-arrow {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    color: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
}
.footer-schedule-link:hover .footer-schedule-action > span,
.footer-schedule-link:hover .footer-schedule-arrow {
    transform: translate(2px,-2px);
    color: #fff;
}
.footer-contact-label {
    color: rgba(255,255,255,0.48);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.footer-contact-value {
    color: rgba(255,255,255,0.88);
    font-size: 0.84rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.desktop-appointment,
.mobile-appointment {
    background: var(--brand);
    box-shadow: 0 8px 20px -12px rgba(0,104,55,0.75);
}
.desktop-appointment:hover,
.mobile-appointment:hover {
    background: var(--brand-2);
    box-shadow: 0 10px 24px -12px rgba(0,80,42,0.8);
}
.footer-link { color: rgba(255,255,255,0.72); transition: color 180ms ease; }
.footer-link:hover { color: #fff; }
.footer-social-link {
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.78);
    background: rgba(255,255,255,0.04);
}
.footer-social-link:hover {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
    transform: translateY(-2px);
}

/* ---------- Section padding ---------- */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-sm { padding: clamp(40px, 5vw, 80px) 0; }

/* ---------- Cards ---------- */
.card {
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: 2px;
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.card:hover {
    border-color: var(--hair-2);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -20px rgba(30,36,43,0.12);
}
.card-flat {
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: 2px;
}

/* ---------- Alternative homepage banner preview ---------- */
.hero-background-preview {
    min-height: clamp(520px, 58vw, 700px);
    background-color: #17231f;
}
.hero-background-preview__image {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
}
.hero-background-preview__overlay {
    z-index: 0;
    background: linear-gradient(90deg, rgba(12, 26, 20, .88) 0%, rgba(12, 26, 20, .69) 48%, rgba(12, 26, 20, .3) 100%);
}
#mobileMenu {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    bottom: auto;
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
    overscroll-behavior: contain;
    box-shadow: 0 18px 36px rgba(20,28,25,0.16);
}
/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 100ms; }
.reveal-d2 { transition-delay: 200ms; }
.reveal-d3 { transition-delay: 300ms; }
.reveal-d4 { transition-delay: 400ms; }

/* ---------- Focus rings ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ---------- Nav underline ---------- */
.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    padding: 0.6rem 1rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    transition: color 200ms ease, background-color 200ms ease;
}
.nav-link:hover {
    color: var(--hover-accent);
    background-color: var(--paper-2);
}
.nav-link.active {
    color: var(--brand);
    background-color: rgba(0, 104, 55, 0.08);
}

/* Dropdown section headers */
.nav-dropdown-section {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    border-bottom: 1px solid var(--hair);
    margin-bottom: 0.25rem;
    padding-top: 0.5rem;
}

/* ---------- Header on scroll ---------- */
.site-header.scrolled {
    background: rgba(250, 248, 244, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hair);
    box-shadow: 0 2px 12px -8px rgba(0,0,0,0.06);
}
.site-header.scrolled .site-header-inner { height: 64px; }

@media (min-width: 1280px) {
    .site-header {
        background: rgba(250, 248, 244, 0.94) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(215, 210, 199, 0.75);
    }
    .site-header-inner {
        height: 76px !important;
        gap: 1.25rem;
    }
    .site-header.scrolled .site-header-inner { height: 68px !important; }
    .desktop-nav {
        flex: 0 1 auto;
        gap: 0.1rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .desktop-nav .nav-link {
        gap: 0.35rem;
        padding: 0.6rem 0.75rem;
        border-radius: 9999px;
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--ink-2);
    }
    .desktop-nav .nav-link:hover,
    .desktop-nav .nav-link.active {
        color: var(--brand);
        background: #fff;
        box-shadow: 0 1px 4px rgba(30,36,43,0.08);
    }
    .desktop-nav .nav-link:hover { color: var(--hover-accent); }
    .desktop-nav .nav-link svg {
        width: 0.75rem;
        height: 0.75rem;
    }
    .desktop-nav-dropdown > .desktop-dropdown-panel {
        padding-top: 0.8rem;
    }
    .desktop-dropdown-panel > div {
        border: 1px solid rgba(215, 210, 199, 0.9);
        border-radius: 1.15rem;
        box-shadow: 0 20px 48px -20px rgba(30,36,43,0.28);
    }
    .desktop-dropdown-panel a:hover {
        transform: translateX(2px);
    }
    .desktop-appointment {
        justify-content: center;
        padding: 0.75rem 1.1rem;
        border-radius: 9999px;
        font-size: 0.78rem;
        white-space: nowrap;
        box-shadow: 0 8px 20px -12px rgba(0,104,55,0.75);
    }
}

.hero-route-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}
.hero-route-window {
    display: block;
    height: 1.2em;
    overflow: hidden;
}
.hero-route-track {
    display: flex;
    flex-direction: column;
    animation: routeCityCycle 12s ease-in-out infinite;
}
.hero-route-track > span {
    display: block;
    height: 1.2em;
    line-height: 1.2em;
}
@keyframes routeCityCycle {
    0%, 13% { transform: translateY(0); }
    20%, 33% { transform: translateY(-1.2em); }
    40%, 53% { transform: translateY(-2.4em); }
    60%, 73% { transform: translateY(-3.6em); }
    80%, 93% { transform: translateY(-4.8em); }
    100% { transform: translateY(0); }
}

.why-japan-section {
      background-image: linear-gradient(135deg, #20372f 0%, #285442 55%, #35483d 100%) !important;
}
.why-japan-heading {
      position: relative;
      padding-left: 1.25rem;
      border-left: 2px solid var(--gold);
}
.why-japan-card {
      min-height: 15rem;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.16);
      border-radius: 1rem;
      background: rgba(255,255,255,0.055) !important;
      box-shadow: 0 16px 32px -26px rgba(0,0,0,0.65);
      transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}
.why-japan-card:hover {
      transform: translateY(-4px);
      border-color: rgba(210,173,96,0.55);
      background: rgba(255,255,255,0.09) !important;
}
.why-japan-number {
      color: #D2AD60;
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 0.78rem;
      font-style: italic;
      letter-spacing: 0.12em;
}
.why-japan-rule {
      width: 2.5rem;
      height: 2px;
      margin: 1.2rem 0 1.1rem;
      background: #D2AD60;
}
@media (min-width: 380px) and (max-width: 767px) {
      .why-japan-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .why-japan-card {
          min-height: 0;
          padding: 1.1rem;
      }
      .why-japan-card h3 {
          font-size: 1.15rem;
      }
      .why-japan-card p {
          font-size: 0.78rem;
      }
      .why-japan-rule {
          margin: 0.8rem 0;
      }
}

.pathways-intro {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(24rem, 0.85fr);
      align-items: end;
      gap: clamp(2rem, 6vw, 6rem);
}
.pathways-heading {
      max-width: 44rem;
      padding-left: 1.35rem;
      border-left: 2px solid var(--brand);
}
.pathways-steps {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      margin: 0 0 0.25rem;
      padding: 1.1rem 0 0;
      border-top: 1px solid var(--hair-2);
      list-style: none;
}
.pathways-steps li {
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
      color: var(--ink-2);
      font-size: 0.72rem;
      font-weight: 600;
}
.pathways-steps li + li {
      padding-left: 0.8rem;
      border-left: 1px solid var(--hair);
}
.pathways-steps span {
      color: var(--brand);
      font: italic 0.85rem/1 "Playfair Display", Georgia, serif;
}
.pathways-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.15rem;
      margin-top: 3rem;
}
.pathway-card {
      min-width: 0;
      overflow: hidden;
      border: 1px solid #e4dfd5;
      border-radius: 1.25rem;
      background: #fff;
      box-shadow: 0 18px 48px -38px rgba(30,36,43,0.5);
      transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.pathway-card:hover {
      transform: translateY(-5px);
      border-color: rgba(8,118,66,0.32);
      box-shadow: 0 26px 56px -38px rgba(30,36,43,0.45);
}
.pathway-visual {
      position: relative;
      display: flex;
      min-height: 10.5rem;
      align-items: center;
      justify-content: space-between;
      overflow: hidden;
      padding: 1.5rem 1.65rem;
      background: #e7efe8;
}
.pathway-visual::before {
      position: absolute;
      top: -4.25rem;
      right: 2.6rem;
      width: 13rem;
      height: 13rem;
      border: 1px solid rgba(8,118,66,0.12);
      border-radius: 50%;
      content: "";
}
.pathway-visual::after {
      position: absolute;
      top: -2.35rem;
      right: 4.5rem;
      width: 9.2rem;
      height: 9.2rem;
      border: 1px solid rgba(8,118,66,0.1);
      border-radius: 50%;
      content: "";
}
.pathway-card:nth-child(2) .pathway-visual {
      background: #f2ead8;
}
.pathway-card:nth-child(2) .pathway-visual::before,
.pathway-card:nth-child(2) .pathway-visual::after {
      border-color: rgba(141,102,36,0.14);
}
.pathway-card:nth-child(3) .pathway-visual {
      background: #e5eceb;
}
.pathway-card:nth-child(3) .pathway-visual::before,
.pathway-card:nth-child(3) .pathway-visual::after {
      border-color: rgba(49,85,71,0.13);
}
.pathway-number {
      position: relative;
      z-index: 1;
      color: rgba(30,36,43,0.15);
      font: italic 6.5rem/0.85 "Playfair Display", Georgia, serif;
      letter-spacing: -0.08em;
}
.pathway-route-label {
      position: absolute;
      z-index: 1;
      bottom: 1.15rem;
      left: 1.65rem;
      color: var(--ink-2);
      font-size: 0.58rem;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
}
.pathway-icon {
      position: relative;
      z-index: 1;
      display: grid;
      width: 4.5rem;
      height: 4.5rem;
      flex: 0 0 4.5rem;
      place-items: center;
      color: var(--brand);
      border: 1px solid rgba(255,255,255,0.78);
      border-radius: 50%;
      background: rgba(255,255,255,0.76);
      box-shadow: 0 14px 28px -20px rgba(30,36,43,0.55);
      transition: transform 220ms ease, color 220ms ease, background 220ms ease;
}
.pathway-icon svg {
      width: 1.8rem;
      height: 1.8rem;
}
.pathway-card:hover .pathway-icon {
      transform: rotate(-7deg) scale(1.05);
      color: #fff;
      background: var(--brand);
}
.pathway-card-copy {
      display: flex;
      min-height: 15rem;
      flex-direction: column;
      align-items: flex-start;
      padding: 1.65rem;
}
.pathway-card-copy h3 {
      max-width: 18rem;
      font-size: clamp(1.35rem, 1.8vw, 1.75rem);
}
.pathway-card-copy p {
      max-width: 26rem;
}
.pathway-link {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      width: 100%;
      margin-top: auto;
      padding-top: 1.25rem;
      color: var(--brand);
      border-top: 1px solid var(--hair);
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.11em;
      text-transform: uppercase;
}
.pathway-link span {
      display: grid;
      width: 2rem;
      height: 2rem;
      flex: 0 0 2rem;
      place-items: center;
      color: #fff;
      border-radius: 50%;
      background: var(--brand);
      font-size: 1rem;
      transition: transform 180ms ease, background 180ms ease;
}
.pathway-card:hover .pathway-link span {
      transform: translate(2px,-2px);
      background: var(--ink);
}
.pathways-support {
      margin-top: 3.5rem;
      padding-top: 1.6rem;
      border-top: 1px solid var(--hair-2);
}
.pathways-support-heading {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1.15rem;
}
.pathways-support-heading > span {
      color: var(--ink);
      font: 600 1.15rem/1.3 "Playfair Display", Georgia, serif;
}
.pathways-support-heading p {
      color: var(--ink-3);
      font-size: 0.78rem;
}
.pathways-support-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.7rem;
}
.pathways-support-item {
      display: flex;
      min-width: 0;
      min-height: 5.5rem;
      align-items: center;
      gap: 0.9rem;
      padding: 0.95rem 1rem;
      border: 1px solid var(--hair);
      border-radius: 0.9rem;
      background: rgba(255,255,255,0.58);
      transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.pathways-support-item:hover {
      transform: translateY(-2px);
      border-color: rgba(8,118,66,0.32);
      background: #fff;
}
.pathways-support-icon {
      display: grid;
      width: 2.5rem;
      height: 2.5rem;
      flex: 0 0 2.5rem;
      place-items: center;
      color: var(--brand);
      border-radius: 0.75rem;
      background: #e9f0e9;
}
.pathways-support-copy {
      display: flex;
      min-width: 0;
      flex: 1;
      flex-direction: column;
      gap: 0.25rem;
}
.pathways-support-copy strong {
      color: var(--ink);
      font-size: 0.78rem;
      line-height: 1.35;
}
.pathways-support-copy > span {
      color: var(--ink-3);
      font-size: 0.68rem;
      line-height: 1.45;
}
.pathways-support-arrow {
      flex: 0 0 auto;
      color: var(--ink-3);
      font-size: 0.95rem;
      transition: color 180ms ease, transform 180ms ease;
}
.pathways-support-item:hover .pathways-support-arrow {
      transform: translate(2px,-2px);
      color: var(--brand);
}
@media (max-width: 900px) {
      .pathways-intro {
          grid-template-columns: minmax(0, 1fr);
          gap: 2rem;
      }
      .pathways-steps {
          max-width: 42rem;
      }
      .pathways-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .pathways-support-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
      }
}
@media (max-width: 640px) {
      .pathways-heading {
          padding-left: 1rem;
      }
      .pathways-steps {
          gap: 0.4rem;
      }
      .pathways-steps li {
          font-size: 0.65rem;
      }
      .pathways-steps li + li {
          padding-left: 0.55rem;
      }
      .pathways-grid {
          grid-template-columns: minmax(0, 1fr);
          gap: 0.9rem;
          margin-top: 2rem;
      }
      .pathway-visual {
          min-height: 8.5rem;
      }
      .pathway-card-copy {
          min-height: 13rem;
          padding: 1.4rem;
      }
      .pathways-support {
          margin-top: 2.5rem;
      }
      .pathways-support-heading {
          align-items: flex-start;
          flex-direction: column;
          gap: 0.35rem;
      }
      .pathways-support-grid {
          grid-template-columns: minmax(0, 1fr);
      }
}

.success-story-photo {
      display: block;
      filter: none !important;
      opacity: 1 !important;
      mix-blend-mode: normal;
      image-rendering: auto;
}
.success-story-card {
      border: 1px solid rgba(215,210,199,0.72);
      box-shadow: 0 12px 30px -22px rgba(30,36,43,0.4);
}
.success-story-card > div:first-child {
      background: #e8e6e0;
}
.success-story-card > div:last-child {
      padding: 0.9rem;
}

.testimonial-card {
      min-height: 24rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-radius: 1.25rem;
      padding: clamp(2rem, 6vw, 4.5rem);
      box-shadow: 0 24px 60px -42px rgba(30,36,43,0.42);
}
.testimonial-card::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 4px;
      background: linear-gradient(180deg, var(--brand), var(--gold));
}
.testimonial-card .quote-mark {
      top: 1rem;
      left: 1.5rem;
      font-size: 7rem;
      opacity: 0.08;
}
.testimonial-card blockquote {
      max-width: 44rem;
      font-style: normal;
      font-size: clamp(1.25rem, 2.4vw, 2rem);
      line-height: 1.55;
      font-weight: 500;
}
.testimonial-author {
      padding-top: 1rem;
      border-top: 1px solid var(--hair);
      min-width: min(100%, 14rem);
}
.testimonial-pagination button {
      min-height: 8px !important;
      height: 8px !important;
      padding: 0 !important;
      flex: 0 0 auto;
}
@media (max-width: 639px) {
      .testimonial-card {
          min-height: 21rem;
          padding: 2rem 1.4rem;
      }
      .testimonial-card .quote-mark {
          top: 0.75rem;
          left: 0.9rem;
          font-size: 5rem;
      }
      .testimonial-card > svg {
          width: 2rem;
          height: 2rem;
      }
}

.journal-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(19rem, 0.75fr);
      gap: 1.25rem;
      align-items: stretch;
}
.journal-feature {
      min-width: 0;
      overflow: hidden;
      color: var(--ink);
      background: #fff;
      border: 1px solid #e4dfd5;
      box-shadow: 0 18px 48px -38px rgba(30,36,43,0.48);
      transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.journal-feature:first-of-type {
      grid-row: span 2;
}
.journal-feature:hover {
      transform: translateY(-4px);
      border-color: rgba(0,104,55,0.35);
      box-shadow: 0 26px 56px -38px rgba(30,36,43,0.42);
}
.journal-art {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      aspect-ratio: 1.72 / 1;
      background:
          radial-gradient(ellipse at 70% 18%, rgba(255,255,255,0.75), transparent 30%),
          linear-gradient(135deg, #e9e3d6 0%, #d2dcd5 100%);
}
.journal-feature:first-of-type .journal-art {
      min-height: 21rem;
      aspect-ratio: 1.34 / 1;
}
.journal-art--2 {
      background:
          radial-gradient(ellipse at 72% 14%, rgba(255,255,255,0.62), transparent 27%),
          linear-gradient(135deg, #e9dfc9 0%, #c4d2c8 100%);
}
.journal-art--3 {
      background:
          radial-gradient(ellipse at 22% 18%, rgba(255,255,255,0.62), transparent 28%),
          linear-gradient(135deg, #e8d7ce 0%, #d7ddce 100%);
}
.journal-artwork,
.journal-artwork svg,
.journal-cover {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
}
.journal-artwork svg {
      display: block;
}
.journal-cover {
      object-fit: cover;
      transition: transform 650ms cubic-bezier(0.2,0.7,0.2,1);
}
.journal-feature:hover .journal-cover {
      transform: scale(1.045);
}
.journal-art::after {
      position: absolute;
      z-index: 1;
      inset: 45% 0 0;
      content: "";
      background: linear-gradient(180deg, transparent, rgba(20,29,34,0.24));
      pointer-events: none;
}
.journal-art-index,
.journal-art-tag,
.journal-art-date {
      position: absolute;
      z-index: 2;
}
.journal-art-index {
      top: 1.1rem;
      left: 1.1rem;
      color: rgba(255,255,255,0.9);
      font: italic 1.2rem/1 "Playfair Display", Georgia, serif;
      text-shadow: 0 1px 12px rgba(0,0,0,0.2);
}
.journal-art-tag {
      top: 1rem;
      right: 1rem;
      padding: 0.48rem 0.75rem;
      color: #fff;
      background: rgba(25,35,38,0.76);
      border: 1px solid rgba(255,255,255,0.32);
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      backdrop-filter: blur(12px);
}
.journal-art-date {
      right: 1rem;
      bottom: 1rem;
      display: flex;
      width: 3.9rem;
      height: 4.3rem;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: var(--ink);
      background: rgba(255,255,255,0.94);
      box-shadow: 0 10px 24px -15px rgba(0,0,0,0.55);
}
.journal-art-date strong {
      font: 700 1.65rem/1 "Playfair Display", Georgia, serif;
}
.journal-art-date span {
      margin-top: 0.25rem;
      color: var(--brand);
      font-size: 0.58rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
}
.journal-feature-copy {
      display: flex;
      min-height: 12.5rem;
      flex-direction: column;
      align-items: flex-start;
      padding: 1.5rem;
}
.journal-feature:first-of-type .journal-feature-copy {
      min-height: 15rem;
      padding: clamp(1.5rem, 3vw, 2.5rem);
}
.journal-meta {
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      color: #827e75;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.13em;
      text-transform: uppercase;
}
.journal-meta span:first-child {
      color: var(--brand);
}
.journal-feature-copy h3 {
      margin-top: 0.85rem;
      font: 600 clamp(1.2rem, 1.8vw, 1.6rem)/1.28 "Playfair Display", Georgia, serif;
      letter-spacing: -0.02em;
      transition: color 180ms ease;
}
.journal-feature:first-of-type .journal-feature-copy h3 {
      font-size: clamp(1.65rem, 2.7vw, 2.45rem);
      line-height: 1.14;
}
.journal-feature:hover .journal-feature-copy h3 {
      color: var(--brand);
}
.journal-feature-copy p {
      display: -webkit-box;
      overflow: hidden;
      margin-top: 0.75rem;
      color: var(--ink-2);
      font-size: 0.875rem;
      line-height: 1.7;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
}
.journal-read-more {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      margin-top: auto;
      padding-top: 1.3rem;
      color: var(--ink);
      font-size: 0.67rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
}
.journal-read-more span {
      display: inline-grid;
      width: 1.6rem;
      height: 1.6rem;
      place-items: center;
      color: #fff;
      background: var(--brand);
      transition: transform 180ms ease, background 180ms ease;
}
.journal-feature:hover .journal-read-more span {
      transform: translate(2px,-2px);
      background: var(--ink);
}
@media (max-width: 767px) {
      .journal-layout {
          grid-template-columns: minmax(0, 1fr);
          gap: 1rem;
      }
      .journal-feature:first-of-type {
          grid-row: auto;
      }
      .journal-feature:first-of-type .journal-art {
          min-height: 0;
          aspect-ratio: 1.35 / 1;
      }
      .journal-feature:first-of-type .journal-feature-copy {
          min-height: 13rem;
          padding: 1.4rem;
      }
      .journal-feature:first-of-type .journal-feature-copy h3 {
          font-size: clamp(1.55rem, 7vw, 2.1rem);
      }
      .journal-feature-copy {
          min-height: 11.5rem;
          padding: 1.25rem;
      }
}

/* ---------- HERO GLOBE (CSS+SVG orbit) ---------- */
.globe-stage {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
}
.globe-core {
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 30px 60px -20px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.5),
        inset -20px -30px 60px -20px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #315547, #087642 60%, #244235);
}
.globe-core img {
    width: 100%; height: 100%; object-fit: cover;
    mix-blend-mode: luminosity;
    opacity: 0.95;
}
.globe-core::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0,0,0,0.25), transparent 50%);
    pointer-events: none;
}
.globe-orbit {
    position: absolute; inset: 0;
    border: 1px dashed rgba(184,146,59,0.35);
    border-radius: 50%;
    animation: orbit-spin var(--dur, 22s) linear infinite;
}
.globe-orbit--2 { inset: 8%; --dur: 28s; animation-direction: reverse; border-color: rgba(49,85,71,0.3); border-style: solid; border-width: 1px; }
.globe-orbit--3 { inset: 0;  --dur: 18s; border-color: rgba(0,104,55,0.25); }
.globe-plane {
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    width: 28px; height: 28px;
    color: var(--navy);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.globe-plane svg { width: 100%; height: 100%; }
.globe-plane--gold { color: var(--gold); width: 22px; height: 22px; }
.globe-plane--brand { color: var(--brand); width: 32px; height: 32px; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* Pin: makes plane sit at the top of its orbit and rotate with it */
.globe-pin {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%) rotate(0deg);
    transform-origin: 50% 50%;
}
.globe-pin svg { transition: transform 0.3s ease; }
.globe-orbit--2 .globe-pin svg { transform: rotate(180deg); }
.globe-orbit--3 .globe-pin svg { transform: rotate(90deg); }

/* Floating orbs in background */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}

/* ---------- Country / Service tile image hover ---------- */
.tile-image {
    position: relative;
    overflow: hidden;
    background: var(--paper-2);
}
.tile-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 600ms ease, filter 600ms ease;
}
.tile-image:hover img { transform: scale(1.05); }

/* ---------- Stat number ---------- */
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}
.stat-num::after {
    content: "";
    position: absolute;
    left: 0; bottom: -8px;
    width: 32px; height: 1px;
    background: var(--brand);
}
.impact-section {
    padding: 1.5rem 0;
    background: var(--paper);
}
.impact-panel {
    display: grid;
    grid-template-columns: minmax(12rem, 0.72fr) minmax(0, 2.28fr);
    align-items: stretch;
    overflow: hidden;
    border-radius: 1.15rem;
    color: #fff;
    background:
        radial-gradient(ellipse at 5% 0%, rgba(255,255,255,0.12), transparent 25rem),
        linear-gradient(118deg, #17372b 0%, #24513d 58%, #315547 100%);
    box-shadow: 0 20px 46px -34px rgba(20,46,34,0.7);
}
.impact-heading {
    position: relative;
    display: flex;
    min-height: 10.25rem;
    align-items: center;
    overflow: hidden;
    padding: 1.7rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.14);
}
.impact-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.impact-kicker > span {
    width: 1.25rem;
    height: 1px;
    background: #d7bd81;
}
.impact-mark {
    position: absolute;
    right: -0.5rem;
    bottom: -2.35rem;
    color: rgba(255,255,255,0.055);
    font: 700 9rem/1 "Playfair Display", Georgia, serif;
    letter-spacing: -0.11em;
    pointer-events: none;
}
.impact-mark span {
    color: #d7bd81;
}
.impact-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    padding: 1.1rem 0.4rem;
}
.impact-metric {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem clamp(0.75rem, 1.6vw, 1.5rem);
}
.impact-metric + .impact-metric::before {
    position: absolute;
    top: 18%;
    bottom: 18%;
    left: 0;
    width: 1px;
    content: "";
    background: rgba(255,255,255,0.14);
}
.impact-index {
    color: #d7bd81;
    font: italic 0.68rem/1 "Playfair Display", Georgia, serif;
}
.impact-metric .stat-num {
    margin-top: 0.45rem;
    color: #fff;
    font: 600 clamp(1.8rem, 3.2vw, 2.8rem)/1 "Playfair Display", Georgia, serif;
    letter-spacing: -0.045em;
}
.impact-metric .stat-num::after {
    display: none;
}
.impact-label {
    margin-top: 0.45rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* ---------- Testimonial quote mark ---------- */
.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--brand);
    opacity: 0.18;
    position: absolute;
    top: -10px; left: -6px;
    pointer-events: none;
}

/* ---------- Star ---------- */
.star { color: var(--gold); }

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .globe-orbit { animation: none !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Top bar text ---------- */
.topbar-link { color: rgba(255,255,255,0.85); font-size: 0.78rem; }
.topbar-link:hover { color: #fff; }

/* ---------- Form input ---------- */
.input {
    width: 100%;
    background: #fff;
    border: 1px solid var(--hair-2);
    border-radius: 2px;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    color: var(--ink);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.input:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(30,36,43,0.06);
}

/* ---------- Lang switcher ---------- */
.lang-trigger {
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem; font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    cursor: pointer;
}
.lang-trigger:hover { color: #fff; }
.lang-menu {
    position: absolute; right: 0; top: calc(100% + 6px);
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--hair);
    box-shadow: 0 12px 32px -8px rgba(0,0,0,0.12);
    border-radius: 2px;
    padding: 0.4rem;
    z-index: 60;
}
.lang-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.55rem 0.7rem;
    color: var(--ink);
    font-size: 0.85rem;
    border-radius: 2px;
    text-decoration: none;
}
.lang-item:hover { background: var(--paper-2); }
.lang-item.active { background: var(--paper-2); color: var(--brand); font-weight: 600; }
.lang-code {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    background: var(--paper-2);
    color: var(--ink);
    padding: 0.15rem 0.4rem;
    border-radius: 1px;
    min-width: 30px;
    text-align: center;
}
.lang-item.active .lang-code { background: var(--brand); color: #fff; }

/* ============================================================
   MOBILE APP-LIKE STYLES
   ============================================================ */

/* Safe area insets for notched phones */
.safe-area-bottom { padding-bottom: env(safe-area-inset-bottom, 0); }
.safe-area-top { padding-top: env(safe-area-inset-top, 0); }
.office-map-frame {
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 18rem;
    border-radius: 0.25rem;
}
.office-map-frame iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.books-hero {
    background:
        radial-gradient(ellipse at 82% 18%, rgba(211,111,75,0.16), transparent 28rem),
        linear-gradient(120deg, #16231e 0%, #315547 72%, #496451 100%);
}
.books-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}
.books-hero-orb--one {
    width: 32rem;
    height: 32rem;
    top: -20rem;
    right: 12%;
    background: rgba(0, 104, 55, .36);
}
.books-hero-orb--two {
    width: 24rem;
    height: 24rem;
    bottom: -19rem;
    left: 24%;
    background: rgba(184, 146, 59, .2);
}
.books-hero-art {
    position: relative;
    min-height: 18rem;
    isolation: isolate;
}
.books-hero-art__glow {
    position: absolute;
    width: min(90%, 23rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,0) 68%);
    z-index: -1;
}
.books-hero-book {
    position: absolute;
    height: 15rem;
    width: 10.5rem;
    border-radius: .25rem .8rem .8rem .25rem;
    box-shadow: 0 24px 45px rgba(0,0,0,.26), inset .45rem 0 rgba(0,0,0,.12);
}
.books-hero-book--back {
    transform: translate(2.3rem, .35rem) rotate(11deg);
    background: linear-gradient(155deg, #d9b965, #8a6336);
}
.books-hero-book--front {
    transform: translate(-1rem, -.3rem) rotate(-8deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #f8f3e7;
    background: linear-gradient(145deg, #087144, #063e37 72%, #132d48);
    border: 1px solid rgba(255,255,255,.32);
}
.books-hero-book__mark {
    font-family: Georgia, serif;
    font-size: 4.75rem;
    line-height: 1;
    color: #f2d27c;
}
.books-hero-book__rule {
    height: 1px;
    width: 4rem;
    background: rgba(255,255,255,.6);
}
.books-hero-book__caption {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .18em;
}
.books-hero-stamp {
    position: absolute;
    right: 1rem;
    bottom: 1.2rem;
    padding: .7rem .9rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.08);
    font-size: .58rem;
    line-height: 1.35;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}
.book-filters { justify-content: flex-start; }
.book-filter {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: .55rem .95rem;
    border: 1px solid var(--hair);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-2);
    font-size: .78rem;
    font-weight: 600;
}
.book-filter:hover { border-color: var(--brand); color: var(--brand); }
.book-filter.is-active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,104,55,.18);
}
.book-product-card {
    overflow: hidden;
    padding: .8rem;
    border: 1px solid var(--hair);
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(30,36,43,.045);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.book-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--hair-2);
    box-shadow: 0 20px 42px rgba(30,36,43,.11);
}
.book-product-card__cover {
    border-radius: .8rem;
    background: linear-gradient(145deg, #e6eee7, #f4f1ea 58%, #e4e8ed);
}
.book-product-card__cover > img { object-fit: contain; }
.book-product-card__badge {
    position: absolute;
    top: .8rem;
    left: .8rem;
    padding: .4rem .65rem;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--ink);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.book-product-card__body { padding: 1.1rem .45rem .55rem; }
.book-product-card__number {
    display: inline-grid;
    width: 1.7rem;
    height: 1.7rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(0,104,55,.08);
    color: var(--brand);
    font-size: .68rem;
    font-weight: 700;
}
.book-empty-state {
    display: grid;
    min-height: 14rem;
    place-content: center;
    gap: .8rem;
    border: 1px dashed var(--hair-2);
    border-radius: 1.25rem;
    background: rgba(255,255,255,.65);
    color: var(--ink-3);
    text-align: center;
}
.book-empty-state__icon { font-size: 2rem; }
@media (max-width: 639px) {
    .books-hero .btn { flex: 1 1 auto; justify-content: center; }
    .book-filters { gap: .45rem; }
    .book-filter { padding-inline: .75rem; font-size: .72rem; }
    .book-product-card { padding: .65rem; border-radius: 1rem; }
    .book-product-card__body { padding: .9rem .3rem .35rem; }
}
@media (prefers-reduced-motion: reduce) {
    .book-product-card { transition: none; }
}

/* Mobile bottom navigation bar (app-style) */
.mobile-bottom-nav {
  display: none;
}
@media (max-width: 767px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--hair);
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
  }
  .mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px 6px;
    color: var(--ink-3);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
    transition: color 200ms ease;
    min-height: 56px;
  }
  .mobile-bottom-nav a.active {
    color: var(--brand);
  }
  .mobile-bottom-nav a:active {
    transform: scale(0.92);
  }
  .mobile-bottom-nav svg {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
  }
  /* Add bottom padding to body/pages so content isn't hidden behind nav */
  body { padding-bottom: 72px; }
}

@media (max-width: 767px) {
  .destination-slider-track,
  .insights-slider-track,
  .why-japan-slider-track {
    display: flex !important;
    gap: 0.85rem !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 2rem -1rem 0;
    padding: 0 1rem 1rem;
    background: transparent !important;
    -webkit-overflow-scrolling: touch;
  }
  .destination-slider-track::-webkit-scrollbar,
  .insights-slider-track::-webkit-scrollbar,
  .why-japan-slider-track::-webkit-scrollbar {
    display: none;
  }
  .destination-slider-track > a {
    flex: 0 0 min(78vw, 19rem);
    scroll-snap-align: start;
    border-radius: 1.15rem;
    aspect-ratio: 4 / 5;
  }
  .insights-slider-track > a {
    flex: 0 0 min(84vw, 21rem);
    scroll-snap-align: start;
    border-radius: 1.15rem;
    overflow: hidden;
  }
  .why-japan-slider-track > article {
    flex: 0 0 min(82vw, 20rem);
    scroll-snap-align: start;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 1.15rem;
    padding: 1.35rem;
    background: rgba(255,255,255,0.06) !important;
  }
  .why-japan-slider-track .why-japan-rule {
    margin-bottom: 1rem;
  }
  .insights-slider-track .insight-copy {
    min-height: 0;
    padding: 1.15rem;
  }
  #contact {
    padding: 2.5rem 0 3rem !important;
    background:
      radial-gradient(ellipse at 82% 18%, rgba(211,111,75,0.19), transparent 30rem),
      radial-gradient(ellipse at 12% 92%, rgba(143,174,126,0.16), transparent 32rem),
      linear-gradient(125deg, #20372f 0%, #285442 54%, #35483d 100%) !important;
  }
  .assessment-section {
    min-width: 0;
    max-width: 100%;
  }
  .assessment-section > .mx-auto {
    width: 100%;
    min-width: 0;
    gap: 1.4rem;
  }
  .assessment-section > .mx-auto > * {
    min-width: 0;
  }
  #contact .assessment-guide-card {
    margin-top: 1rem;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.08);
  }
  #contact .assessment-guide-avatar {
    width: 3.25rem;
    height: 3.25rem;
  }
  #contact .assessment-guide-avatar svg {
    width: 2rem;
    height: 2rem;
  }
  #contact .assessment-guide-card > div:last-child > div:nth-child(2) {
    font-size: 0.95rem;
    line-height: 1.35;
  }
  #contact .assessment-guide-card > div:last-child > div:last-child {
    font-size: 0.72rem;
  }
  .assessment-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.8rem;
  }
  .assessment-benefit-card {
    min-width: 0;
    padding: 0.75rem 0.5rem;
    border-radius: 0.9rem;
  }
  .assessment-benefit-card:last-child {
    grid-column: 1 / -1;
  }
  .assessment-benefit-card > div:first-child {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.45rem;
    border-radius: 0.65rem;
  }
  .assessment-benefit-card > div:first-child svg {
    width: 1rem;
    height: 1rem;
  }
  .assessment-benefit-card > div:nth-child(2) {
    font-size: 0.75rem;
    line-height: 1.2;
  }
  .assessment-benefit-card > div:last-child {
    font-size: 0.68rem;
    line-height: 1.3;
  }
  .assessment-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 1.15rem;
    border-radius: 1.25rem;
  }
  .assessment-form > div:first-of-type {
    margin-bottom: 1rem;
  }
  .assessment-form > div:first-of-type h3 {
    font-size: 1.25rem;
  }
  .assessment-form label {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .assessment-form .input {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .assessment-form button,
  .assessment-form #assessmentWhatsappLink {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .assessment-form #assessmentWhatsappLink {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
  .assessment-form textarea {
    min-height: 5rem;
  }

  #home .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem 1rem 2.25rem;
  }
  #home .hero-art-wrapper {
    order: -1;
    width: 100%;
    min-height: 190px;
    position: relative;
    padding: 0.65rem;
    border: 1px solid rgba(49,85,71,0.1);
    border-radius: 1.35rem;
    background: linear-gradient(120deg, rgba(255,255,255,0.88), rgba(230,239,233,0.8));
    box-shadow: 0 14px 32px rgba(49,85,71,0.07);
  }
  #home .hero-eyebrow {
    gap: 0.45rem;
    font-size: 10px;
    letter-spacing: 0.12em;
    line-height: 1.5;
  }
  #home .hero-title {
    max-width: 18ch;
    margin-top: 0.7rem;
    font-size: clamp(1.8rem, 7vw, 2.2rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em;
  }
  #home .hero-description {
    margin-top: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.6;
  }
  #home .hero-slogan {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }
  #home .hero-actions {
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 1.1rem;
  }
  #home .hero-actions > a {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
  }
  #home .hero-actions > a:last-child {
    align-self: flex-start;
    width: auto;
    min-height: 36px;
  }
  #home .hero-countdown {
    display: flex;
    width: 100%;
    margin-top: 0.9rem;
    padding: 0.75rem;
    gap: 0.6rem;
  }
  #home .hero-countdown-details {
    padding-right: 0;
    border-right: 0;
  }
  #home .hero-countdown-units {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 0.4rem;
  }
  #home .hero-countdown-units > div {
    min-width: 0;
  }
  #home .hero-globe {
    width: min(44vw, 168px);
    margin: 0 0 0 auto;
  }
  #home .hero-route-badge {
    top: 50%;
    left: calc(-100% - 0.55rem);
    max-width: 100%;
    padding: 0.55rem 0.65rem;
    font-size: 8px;
    white-space: normal;
    transform: translateY(-50%);
  }
  #home .hero-stat-badge {
    right: auto;
    bottom: 0.15rem;
    left: calc(-100% - 0.55rem);
    gap: 0.45rem;
    padding: 0.4rem 0.55rem;
    box-shadow: 0 8px 20px rgba(49,85,71,0.12);
  }
  #home .hero-stat-badge > div:first-child {
    width: 1.8rem;
    height: 1.8rem;
  }
  #home .hero-stat-badge > div:last-child > div:first-child {
    font-size: 8px;
  }
  #home .hero-stat-badge > div:last-child > div:last-child {
    font-size: 11px;
  }
  #home .hero-art-wrapper > .mt-8 {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.4rem 0.7rem;
    margin-top: 0.7rem;
    font-size: 9px;
  }
  #home .hero-art-wrapper > .mt-8 > div:first-child {
    max-width: 68%;
  }
  #home .hero-copy {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-route-track {
    animation: none;
  }
  .hero-route-track > span:not(:first-child) {
    display: none;
  }
}

/* Mobile-optimized header */
@media (max-width: 767px) {
  .site-header {
    background: rgba(250, 248, 244, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hair) !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  }
  .site-header-inner {
    height: 56px !important;
  }
  /* Larger touch targets */
  button, a.btn, [role="button"] {
    min-height: 44px;
  }
  /* Prevent horizontal scroll */
  body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  main {
    width: 100%;
    min-width: 0;
  }
  main > .section,
  main > section {
    min-width: 0;
    max-width: 100%;
  }
  main :where(.grid, .flex) > * {
    min-width: 0;
  }
  .footer-inner {
    min-width: 0;
  }
  main img,
  main video,
  main iframe {
    max-width: 100%;
  }
  main table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .desktop-site-footer .footer-inner {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }
  .desktop-site-footer .footer-contact-strip {
    margin-bottom: 2.5rem;
    gap: 1.25rem;
    padding: 1.35rem;
    border-radius: 1.25rem;
  }
  .desktop-site-footer .footer-contact-strip > div:last-child {
    width: 100%;
  }
  .desktop-site-footer .footer-contact-action {
    flex: 1 1 auto;
    padding-inline: 1rem;
  }
  .desktop-site-footer .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
  }
  .desktop-site-footer .footer-contact-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .desktop-site-footer .footer-contact-item:first-child {
    grid-row: auto;
  }
  .desktop-site-footer .footer-legal {
    margin-top: 2.5rem;
    align-items: flex-start;
  }
  /* Better text sizing */
  h1 { font-size: clamp(1.75rem, 7vw, 2.5rem) !important; }
  h2 { font-size: clamp(1.35rem, 5vw, 1.75rem) !important; }
  /* Section padding */
  .section { padding: 48px 0 !important; }
  .section-sm { padding: 32px 0 !important; }
}

/* App-like card interactions on mobile */
@media (max-width: 767px) {
  .card, .card-flat {
    border-radius: 12px;
  }
  .btn {
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
  }
  .input {
    border-radius: 10px;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
  select, textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

/* Smooth page transitions feeling */
@media (max-width: 767px) {
  main {
    animation: fadeInUp 0.3s ease-out;
  }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pull-to-refresh visual hint (optional, CSS only) */
@media (max-width: 767px) {
  html {
    overscroll-behavior-y: contain;
  }
}

.journal-section {
    padding: 3.5rem 0;
    background: #f4f1ea;
}
.journal-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #d9d4c9;
}
.journal-heading-copy h2 {
    margin-top: 0.45rem;
    color: var(--ink);
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
}
.journal-browse {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 0.35rem;
    color: var(--brand);
    border-bottom: 1px solid rgba(8,118,66,0.28);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.journal-browse span {
    font-size: 1rem;
    transition: transform 180ms ease;
}
.journal-browse:hover span {
    transform: translate(2px,-2px);
}
.journal-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    align-items: stretch;
}
.journal-feature,
.journal-feature:first-of-type {
    display: flex;
    grid-row: auto;
    flex-direction: column;
    border-radius: 0.9rem;
}
.journal-art,
.journal-feature:first-of-type .journal-art {
    min-height: 0;
    aspect-ratio: 2.5 / 1;
}
.journal-art::after {
    inset: 30% 0 0;
}
.journal-art-index,
.journal-art-date {
    display: none;
}
.journal-art-tag {
    top: 0.7rem;
    right: 0.7rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.55rem;
}
.journal-feature-copy,
.journal-feature:first-of-type .journal-feature-copy {
    min-height: 0;
    flex: 1;
    padding: 0.85rem 0.95rem 0.9rem;
}
.journal-meta {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}
.journal-feature-copy h3,
.journal-feature:first-of-type .journal-feature-copy h3 {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 0.45rem;
    font-size: clamp(1.05rem, 1.3vw, 1.3rem);
    line-height: 1.27;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.journal-feature-copy p {
    margin-top: 0.35rem;
    font-size: 0.76rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
}
.journal-read-more {
    justify-content: space-between;
    width: 100%;
    padding-top: 0.55rem;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
}
.journal-read-more span {
    width: 1.45rem;
    height: 1.45rem;
    font-size: 0.85rem;
}
.journal-video {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    overflow: hidden;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    background: var(--ink);
    box-shadow: 0 18px 48px -38px rgba(30,36,43,0.48);
}
.journal-video > div:first-child {
    min-height: 12rem;
}
.journal-video-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem clamp(1.25rem, 3vw, 2.25rem);
    color: #fff;
}
.journal-video-copy h3 {
    margin-top: 0.6rem;
    font: 700 clamp(1.15rem, 2vw, 1.65rem)/1.2 "Playfair Display", Georgia, serif;
}
.journal-video-copy p {
    margin-top: 0.55rem;
    font-size: 0.78rem;
    line-height: 1.55;
}
.journal-video-copy a {
    margin-top: 0.8rem;
}

.office-location {
    padding: 1.75rem 0;
    background: #faf8f4;
}
.office-location-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr);
    align-items: stretch;
    gap: 1.5rem;
    overflow: hidden;
    padding: 1rem;
    border: 1px solid var(--hair);
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 16px 42px -36px rgba(30,36,43,0.45);
}
.office-location-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem clamp(0.5rem, 2vw, 1.5rem);
}
.office-location-copy .eyebrow {
    color: var(--brand);
}
.office-location-copy h2 {
    margin-top: 0.45rem;
    color: var(--ink);
    font-size: clamp(1.35rem, 2.3vw, 1.8rem);
    font-weight: 700;
    line-height: 1.2;
}
.office-location-address {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    max-width: 38rem;
    margin-top: 0.65rem;
    color: var(--ink-2);
    font-size: 0.82rem;
    line-height: 1.55;
}
.office-location-address svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 1.1rem;
    margin-top: 0.1rem;
    color: var(--brand);
}
.office-location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.85rem;
    color: var(--brand);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.office-location-link span {
    display: grid;
    width: 1.6rem;
    height: 1.6rem;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--brand);
    transition: transform 180ms ease, background 180ms ease;
}
.office-location-link:hover span {
    transform: translate(2px,-2px);
    background: var(--ink);
}
.office-map-frame {
    width: 100%;
    min-height: 0;
    aspect-ratio: 2.15 / 1;
    overflow: hidden;
    border: 0;
    border-radius: 0.8rem;
    background: #e9eee9;
}
.office-map-frame iframe {
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .impact-section {
        padding: 1rem 0;
    }
    .impact-panel {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 0.9rem;
    }
    .impact-heading {
        min-height: 4rem;
        padding: 0.9rem 1rem;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.14);
    }
    .impact-mark {
        right: 0.5rem;
        bottom: -2.7rem;
        font-size: 7rem;
    }
    .impact-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0.35rem;
    }
    .impact-metric {
        min-height: 6rem;
        padding: 0.75rem;
    }
    .impact-metric:nth-child(odd)::before {
        display: none;
    }
    .impact-metric:nth-child(n+3)::after {
        position: absolute;
        top: 0;
        right: 10%;
        left: 10%;
        height: 1px;
        content: "";
        background: rgba(255,255,255,0.14);
    }
    .impact-metric .stat-num {
        font-size: 2rem;
    }
    .impact-label {
        font-size: 0.53rem;
    }
    .journal-section {
        padding: 2rem 0;
    }
    .journal-heading {
        align-items: flex-start;
        margin-bottom: 1rem;
        padding-bottom: 0.8rem;
    }
    .journal-heading-copy h2 {
        max-width: 17rem;
        font-size: 1.55rem !important;
    }
    .journal-browse {
        gap: 0.35rem;
        margin-top: 1.55rem;
        font-size: 0.55rem;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }
    .journal-browse span {
        font-size: 0.85rem;
    }
    .journal-layout {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        margin: 0 -0.5rem;
        padding: 0 0.5rem 0.65rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .journal-layout::-webkit-scrollbar {
        display: none;
    }
    .journal-feature,
    .journal-feature:first-of-type {
        flex: 0 0 min(82vw, 20rem);
        scroll-snap-align: start;
    }
    .journal-art,
    .journal-feature:first-of-type .journal-art {
        aspect-ratio: 2.7 / 1;
    }
    .journal-feature-copy,
    .journal-feature:first-of-type .journal-feature-copy {
        padding: 0.8rem;
    }
    .journal-feature-copy h3,
    .journal-feature:first-of-type .journal-feature-copy h3 {
        font-size: 1.08rem;
    }
    .journal-video {
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 1rem;
    }
    .journal-video > div:first-child {
        min-height: 0;
    }
    .journal-video-copy {
        padding: 1rem 1.15rem 1.2rem;
    }
    .office-location {
        padding: 1rem 0;
    }
    .office-location-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.85rem;
        padding: 0.7rem;
        border-radius: 0.95rem;
    }
    .office-location-copy {
        padding: 0.5rem 0.45rem 0.2rem;
    }
    .office-location-copy h2 {
        font-size: 1.35rem !important;
    }
    .office-location-address {
        margin-top: 0.45rem;
        font-size: 0.76rem;
    }
    .office-location-link {
        margin-top: 0.55rem;
    }
    .office-map-frame {
        aspect-ratio: 2.7 / 1;
        border-radius: 0.65rem;
    }
}

.pathways-section {
    padding: clamp(3.25rem, 5vw, 4.5rem) 0;
    background:
        radial-gradient(ellipse at 92% 8%, rgba(8,118,66,0.055), transparent 25rem),
        #faf8f4;
}
.pathways-heading {
    padding-left: 1.15rem;
}
.pathways-heading h2 {
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    letter-spacing: -0.035em;
}
.pathways-heading p {
    max-width: 42rem;
    font-size: 0.93rem;
}
.pathways-steps {
    padding-top: 0.85rem;
}
.pathways-steps li {
    font-size: 0.66rem;
}
.pathways-grid {
    gap: 0.85rem;
    margin-top: 2rem;
}
.pathway-card {
    border-radius: 0.7rem;
    box-shadow: 0 14px 36px -30px rgba(30,36,43,0.52);
}
.pathway-card:hover {
    transform: translateY(-3px);
}
.pathway-visual {
    min-height: 8.5rem;
    padding: 1.2rem 1.35rem;
}
.pathway-visual::before {
    top: -5rem;
    right: 1.3rem;
    width: 12rem;
    height: 12rem;
}
.pathway-visual::after {
    top: -3.1rem;
    right: 3.1rem;
    width: 8.4rem;
    height: 8.4rem;
}
.pathway-number {
    font-size: 5.5rem;
}
.pathway-route-label {
    bottom: 0.9rem;
    left: 1.35rem;
    font-size: 0.53rem;
}
.pathway-icon {
    width: 3.8rem;
    height: 3.8rem;
    flex-basis: 3.8rem;
    border-radius: 0.9rem;
}
.pathway-card-copy {
    min-height: 13.25rem;
    padding: 1.35rem;
}
.pathway-card-copy h3 {
    font-size: clamp(1.3rem, 1.65vw, 1.6rem);
    letter-spacing: -0.02em;
}
.pathway-card-copy p {
    margin-top: 0.55rem;
    font-size: 0.8rem;
    line-height: 1.6;
}
.pathway-link {
    padding-top: 0.85rem;
    font-size: 0.62rem;
}
.pathways-support {
    margin-top: 2.35rem;
    padding-top: 1.2rem;
}
.pathways-support-heading {
    margin-bottom: 0.85rem;
}
.pathways-support-heading > span {
    font-size: 1.05rem;
}
.pathways-support-grid {
    gap: 0.55rem;
}
.pathways-support-item {
    min-height: 4.7rem;
    gap: 0.7rem;
    padding: 0.75rem;
    border-radius: 0.65rem;
    background: rgba(255,255,255,0.8);
}
.pathways-support-icon {
    width: 2.2rem;
    height: 2.2rem;
    flex-basis: 2.2rem;
    border-radius: 0.6rem;
}
.pathways-support-copy strong {
    font-size: 0.73rem;
}
.pathways-support-copy > span {
    font-size: 0.64rem;
}

.destinations-section {
    padding: clamp(3rem, 4.5vw, 4rem) 0;
    background: #f0eee7;
}
.destinations-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.destinations-heading h2 {
    margin-top: 0.55rem;
    color: var(--ink);
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}
.destinations-heading p {
    max-width: 42rem;
    margin-top: 0.7rem;
    color: var(--ink-2);
    font-size: 0.88rem;
    line-height: 1.65;
}
.destinations-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    color: #fff;
    border-radius: 0.35rem;
    background: var(--brand);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease;
}
.destinations-cta:hover {
    transform: translateY(-2px);
    background: var(--brand-2);
}
.destinations-cta span {
    font-size: 1rem;
}
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}
.destination-card,
.destination-slider-track > .destination-card {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 1.48 / 1;
    color: #fff;
    border: 1px solid rgba(30,36,43,0.08);
    border-radius: 0.75rem;
    background: #344d43;
    box-shadow: 0 16px 38px -28px rgba(30,36,43,0.55);
    isolation: isolate;
}
.destination-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: #40564b;
}
.destination-image img {
    filter: saturate(0.82);
    transition: transform 700ms cubic-bezier(0.2,0.7,0.2,1), filter 450ms ease;
}
.destination-card:hover .destination-image img {
    transform: scale(1.055);
    filter: saturate(1);
}
.destination-scrim {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(14,24,20,0.18) 0%, rgba(14,24,20,0.04) 34%, rgba(14,24,20,0.83) 100%);
}
.destination-flag {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    place-items: center;
    border: 2px solid rgba(255,255,255,0.92);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.destination-flag .flag {
    width: 100%;
    height: 100%;
}
.destination-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.34rem 0.5rem;
    color: var(--ink);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 0.2rem;
    background: rgba(255,255,255,0.93);
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.destination-badge--featured {
    color: #fff;
    border-color: rgba(255,255,255,0.25);
    background: rgba(8,95,54,0.88);
}
.destination-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.05rem 1.1rem;
}
.destination-index {
    display: block;
    margin-bottom: 0.25rem;
    color: #e4c984;
    font: italic 0.65rem/1 "Playfair Display", Georgia, serif;
}
.destination-copy-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.75rem;
}
.destination-copy h3 {
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 700;
    line-height: 1.05;
}
.destination-copy p {
    margin-top: 0.4rem;
    color: rgba(255,255,255,0.76);
    font-size: 0.67rem;
    line-height: 1.45;
}
.destination-explore {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    font-size: 0.95rem;
    transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}
.destination-card:hover .destination-explore {
    transform: translate(2px,-2px);
    color: var(--ink);
    background: #fff;
}
@media (max-width: 1000px) and (min-width: 768px) {
    .destinations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .pathways-section {
        padding: 2.75rem 0;
    }
    .pathways-grid {
        margin-top: 1.6rem;
    }
    .pathway-visual {
        min-height: 7.5rem;
    }
    .pathway-card-copy {
        min-height: 12rem;
        padding: 1.15rem;
    }
    .pathways-support {
        margin-top: 1.8rem;
        padding-top: 1rem;
    }
    .destinations-section {
        padding: 2.6rem 0;
    }
    .destinations-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.9rem;
        margin-bottom: 1.15rem;
    }
    .destinations-heading h2 {
        font-size: 1.9rem !important;
    }
    .destinations-heading p {
        margin-top: 0.5rem;
        font-size: 0.8rem;
    }
    .destinations-cta {
        padding: 0.65rem 0.8rem;
        font-size: 0.58rem;
    }
    .destination-slider-track.destinations-grid {
        display: flex !important;
        gap: 0.75rem !important;
        margin: 0 -0.5rem;
        padding: 0 0.5rem 0.65rem;
    }
    .destination-slider-track > .destination-card {
        flex: 0 0 min(80vw, 21rem);
        aspect-ratio: 1.3 / 1;
        scroll-snap-align: start;
        border-radius: 0.65rem;
    }
    .destination-copy {
        padding: 0.9rem;
    }
    .destination-copy h3 {
        font-size: 1.45rem;
    }
}

.schedule-page {
    background: #f7f6f1;
}
.schedule-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.6rem, 6vw, 4.6rem) 0;
    color: #fff;
    background:
        radial-gradient(ellipse at 86% 12%, rgba(215,189,129,0.2), transparent 24rem),
        linear-gradient(118deg, #17372b 0%, #24513d 58%, #315547 100%);
}
.schedule-hero::after {
    position: absolute;
    top: -8rem;
    right: max(4vw, calc((100vw - 80rem) / 2));
    width: 23rem;
    height: 23rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    box-shadow: 0 0 0 2.4rem rgba(255,255,255,0.025), 0 0 0 5rem rgba(255,255,255,0.02);
    content: "";
    pointer-events: none;
}
.schedule-hero > div {
    position: relative;
    z-index: 1;
}
.schedule-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #e2c986;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.schedule-eyebrow span {
    width: 1.25rem;
    height: 1px;
    background: currentColor;
}
.schedule-hero h1 {
    max-width: 52rem;
    margin-top: 0.75rem;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.035em;
}
.schedule-hero h1 span {
    color: #d7bd81;
}
.schedule-hero p:last-child {
    max-width: 39rem;
    margin-top: 0.9rem;
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
    line-height: 1.65;
}
.schedule-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-top: 1.8rem;
    padding-bottom: 3.25rem;
}
.schedule-demo-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: #7a5417;
    border: 1px solid #f0dfb8;
    border-radius: 0.65rem;
    background: #fff9eb;
    font-size: 0.73rem;
    line-height: 1.55;
}
.schedule-demo-warning strong {
    font-weight: 800;
}
.schedule-warning-icon {
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 1.35rem;
    place-items: center;
    color: #79500e;
    border: 1px solid rgba(121,80,14,0.25);
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
}
.schedule-empty,
.schedule-select-card,
.schedule-batch-card,
.schedule-month,
.schedule-holidays {
    border: 1px solid #e6e2d9;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 12px 35px -30px rgba(30,36,43,0.45);
}
.schedule-empty {
    padding: 3.5rem 1.5rem;
    text-align: center;
}
.schedule-empty h2 {
    color: var(--ink);
}
.schedule-layout {
    display: grid;
    grid-template-columns: minmax(15rem, 0.78fr) minmax(0, 1.9fr);
    align-items: start;
    gap: 1.1rem;
}
.schedule-sidebar,
.schedule-calendar-column {
    display: grid;
    min-width: 0;
    gap: 0.9rem;
}
.schedule-select-card {
    padding: 1.1rem;
}
.schedule-select-card label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}
.schedule-step {
    color: var(--brand);
    font: italic 0.8rem/1 "Playfair Display", Georgia, serif;
}
.schedule-select-card select {
    width: 100%;
    min-height: 2.8rem;
    margin-top: 0.65rem;
    padding: 0.6rem 2rem 0.6rem 0.75rem;
    color: var(--ink);
    border: 1px solid #dcd8ce;
    border-radius: 0.5rem;
    background: #fbfaf7;
    font-size: 0.75rem;
}
.schedule-select-card select:focus {
    border-color: var(--brand);
    outline: 3px solid rgba(8,118,66,0.1);
}
.schedule-submit {
    margin-top: 0.65rem;
    padding: 0.6rem 0.85rem;
    color: #fff;
    border-radius: 0.4rem;
    background: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
}
.schedule-batch-card {
    overflow: hidden;
    padding: 1.1rem;
}
.schedule-batch-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.schedule-batch-topline > p {
    color: var(--brand);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.schedule-sample-pill {
    padding: 0.2rem 0.45rem;
    color: #80530d;
    border: 1px solid #efdcae;
    border-radius: 99px;
    background: #fff7e2;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.schedule-batch-card > h2 {
    margin-top: 0.55rem;
    color: var(--ink);
    font: 700 1.45rem/1.18 "Playfair Display", Georgia, serif;
    letter-spacing: -0.02em;
}
.schedule-facts {
    display: grid;
    gap: 0;
    margin-top: 1rem;
}
.schedule-facts > div {
    padding: 0.65rem 0;
    border-top: 1px solid #efede7;
}
.schedule-facts dt {
    color: #88857d;
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.schedule-facts dd {
    margin-top: 0.22rem;
    color: #303832;
    font-size: 0.73rem;
    font-weight: 600;
    line-height: 1.45;
}
.schedule-fact-total dd {
    color: var(--brand);
    font-size: 1rem;
    font-weight: 800;
}
.schedule-fact-total dd span {
    color: #858178;
    font-size: 0.62rem;
    font-weight: 500;
}
.schedule-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #e6e2d9;
    border-radius: 0.65rem;
    background: #fff;
}
.schedule-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #5e625d;
    font-size: 0.62rem;
    font-weight: 600;
}
.schedule-legend i {
    display: block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
}
.schedule-legend-class {
    background: var(--brand);
}
.schedule-legend-holiday {
    background: #c83e3e;
}
.schedule-legend-other {
    border: 1px solid #d7d4cb;
    background: #f2f1ed;
}
.schedule-month-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}
.schedule-month {
    min-width: 0;
    overflow: hidden;
}
.schedule-month > h2 {
    padding: 0.75rem 0.85rem;
    color: var(--ink);
    border-bottom: 1px solid #ebe8e0;
    font: 700 1.02rem/1.2 "Playfair Display", Georgia, serif;
}
.schedule-weekdays,
.schedule-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}
.schedule-weekdays {
    padding: 0.25rem 0.4rem 0;
}
.schedule-weekdays > div {
    padding: 0.45rem 0.05rem;
    color: #85847d;
    font-size: 0.5rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}
.schedule-weekdays > .is-friday {
    color: #b83434;
}
.schedule-days {
    padding: 0 0.4rem 0.4rem;
}
.schedule-day {
    display: flex;
    min-width: 0;
    min-height: 3.1rem;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.12rem;
    padding: 0.24rem 0.02rem;
    border-top: 1px solid #f0eee9;
    border-right: 1px solid #f0eee9;
    background: #fff;
    text-align: center;
}
.schedule-day:nth-child(7n) {
    border-right: 0;
}
.schedule-day--empty {
    background: #fbfaf8;
}
.schedule-day-number {
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 1.35rem;
    place-items: center;
    color: #424740;
    border-radius: 50%;
    font-size: 0.62rem;
    font-weight: 600;
}
.schedule-day.is-class-day .schedule-day-number {
    color: #fff;
    background: var(--brand);
    font-weight: 800;
}
.schedule-day.is-friday .schedule-day-number,
.schedule-day.is-holiday .schedule-day-number {
    color: #fff;
    background: #c83e3e;
    font-weight: 800;
}
.schedule-day.is-holiday {
    background: #fff8f7;
}
.schedule-day.is-outside .schedule-day-number {
    color: #c5c2bb;
    background: transparent;
    font-weight: 500;
}
.schedule-day.is-outside.is-friday {
    background: #fff;
}
.schedule-holiday-name {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    padding: 0 0.08rem;
    color: #b32f2f;
    font-size: 0.43rem;
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.schedule-holidays {
    padding: 1rem;
}
.schedule-holidays-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.schedule-holidays-icon {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    place-items: center;
    color: #b83434;
    border-radius: 0.5rem;
    background: #fff0ef;
    font-size: 0.8rem;
}
.schedule-holidays-title h2 {
    color: var(--ink);
    font: 700 1.1rem/1.25 "Playfair Display", Georgia, serif;
}
.schedule-no-holidays {
    margin-top: 0.7rem;
    color: #74736d;
    font-size: 0.72rem;
}
.schedule-holiday-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding: 0;
    list-style: none;
}
.schedule-holiday-list li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.6rem 0.7rem;
    border: 1px solid #f1dfdd;
    border-radius: 0.5rem;
    background: #fff8f7;
    font-size: 0.68rem;
}
.schedule-holiday-list time {
    flex: 0 0 auto;
    color: #a93232;
    font-size: 0.62rem;
    font-weight: 800;
}
.schedule-holiday-list li > span {
    color: #4a4542;
}
.schedule-holiday-note {
    margin-top: 0.8rem;
    padding-top: 0.65rem;
    color: #858178;
    border-top: 1px solid #efede7;
    font-size: 0.62rem;
    line-height: 1.5;
}

@media (max-width: 767px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    body {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
    }

    main,
    main > *,
    .site-header-inner,
    .footer-inner,
    .footer-main,
    .footer-contact-list {
        min-width: 0;
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }

    input,
    select,
    textarea {
        max-width: 100%;
        font-size: 16px;
    }

    .site-header-inner {
        gap: 0.5rem;
    }

    .hero-background-preview {
        min-height: min(42rem, calc(100svh - 3rem));
    }

    .hero-background-preview > div:last-child {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .hero-background-preview h1 {
        overflow-wrap: anywhere;
        font-size: clamp(2.25rem, 11vw, 3.5rem);
    }

    .mobile-bottom-nav a {
        min-width: 0;
        font-size: 9px;
        line-height: 1.15;
    }

    .mobile-bottom-nav a span {
        max-width: 100%;
        overflow-wrap: anywhere;
        text-align: center;
    }

    .desktop-site-footer .footer-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

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

    .desktop-site-footer .footer-contact-item:first-child {
        grid-row: auto;
    }

    .desktop-site-footer .footer-legal {
        text-align: center;
    }
}

@media (max-width: 420px) {
    .footer-contact-strip {
        padding: 1.15rem;
    }

    .footer-contact-strip > div:last-child {
        width: 100%;
    }

    .footer-contact-action {
        flex: 1 1 100%;
    }

    .schedule-facts {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 900px) {
    .schedule-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .schedule-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
    .schedule-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1rem;
    }
    .schedule-facts > div:nth-child(2) {
        border-top: 1px solid #efede7;
    }
}
@media (max-width: 600px) {
    .schedule-hero {
        padding: 2.2rem 0;
    }
    .schedule-hero h1 {
        font-size: 2.2rem !important;
    }
    .schedule-hero p:last-child {
        margin-top: 0.65rem;
        font-size: 0.78rem;
    }
    .schedule-content {
        gap: 0.8rem;
        padding-top: 1rem;
        padding-bottom: 2rem;
    }
    .schedule-demo-warning {
        padding: 0.7rem;
        font-size: 0.66rem;
    }
    .schedule-sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.7rem;
    }
    .schedule-select-card,
    .schedule-batch-card {
        padding: 0.9rem;
    }
    .schedule-batch-card > h2 {
        font-size: 1.25rem;
    }
    .schedule-facts {
        column-gap: 0.7rem;
    }
    .schedule-legend {
        gap: 0.45rem 0.75rem;
        padding: 0.65rem;
    }
    .schedule-legend > span {
        font-size: 0.56rem;
    }
    .schedule-month-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.7rem;
    }
    .schedule-month > h2 {
        padding: 0.65rem 0.75rem;
    }
    .schedule-day {
        min-height: 3rem;
    }
    .schedule-day-number {
        width: 1.3rem;
        height: 1.3rem;
        flex-basis: 1.3rem;
    }
    .schedule-holiday-name {
        font-size: 0.48rem;
    }
    .schedule-holidays {
        padding: 0.85rem;
    }
    .schedule-holidays-title h2 {
        font-size: 1rem;
    }
    .schedule-holiday-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1279px) {
    .admin-shell {
        width: 100%;
        min-width: 0;
    }

    .admin-shell table {
        min-width: 48rem;
    }
}
