:root {
    --ink: #082b33;
    --ink-soft: #23454c;
    --sea: #0b7d75;
    --sea-dark: #075d58;
    --sun: #f6a53a;
    --sand: #f3ead9;
    --foam: #f8fbf9;
    --paper: #ffffff;
    --line: rgba(8, 43, 51, .16);
    --shadow: 0 22px 60px rgba(5, 45, 52, .12);
    --radius: 26px;
    --shell: min(1180px, calc(100vw - 40px));
    color-scheme: light;
}

:root[data-theme="dark"] {
    --ink: #edf8f5;
    --ink-soft: #b8cfcb;
    --sea: #50c5ba;
    --sea-dark: #8bddcf;
    --sun: #ffb957;
    --sand: #18383d;
    --foam: #071f25;
    --paper: #0d2b31;
    --line: rgba(237, 248, 245, .16);
    --shadow: 0 22px 60px rgba(0, 0, 0, .26);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    background: var(--foam);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: var(--shell); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: color-mix(in srgb, var(--foam) 88%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50% 50% 48% 52% / 44% 44% 56% 56%; background: var(--sea); color: #fff; font: 700 24px/1 Georgia, serif; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 18px; }
.brand-copy small { margin-top: 4px; color: var(--ink-soft); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.custom-logo { max-width: min(250px, 48vw); max-height: 54px; width: auto; }
.site-navigation, .menu, .footer-menu { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-navigation { min-width: 0; }
.menu { gap: clamp(12px, 1.6vw, 24px); }
.menu li { list-style: none; }
.menu a, .footer-menu a { text-decoration: none; font-weight: 650; font-size: 14px; }
.menu a:hover, .menu a:focus-visible, .footer-menu a:hover { color: var(--sea); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); }
.theme-toggle { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--sun); color: #082b33; font-weight: 850; text-decoration: none; box-shadow: 0 8px 24px rgba(246, 165, 58, .2); }
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(246, 165, 58, .3); }
.button-small { min-height: 42px; padding: 9px 17px; font-size: 14px; }
.button-light { background: #fff; color: #073f43; }
.button-block { width: 100%; }
.text-link { color: var(--sea-dark); font-weight: 800; text-decoration: none; }
.eyebrow { display: inline-block; color: var(--sea-dark); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

.hero { position: relative; overflow: hidden; min-height: 680px; display: grid; align-items: end; background: radial-gradient(circle at 82% 20%, rgba(246, 165, 58, .32), transparent 25%), linear-gradient(135deg, #06363e 0%, #08766f 52%, #58bbb0 100%); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 34, 39, .9), rgba(3, 34, 39, .16)); }
.hero.has-image { background-image: linear-gradient(90deg, rgba(3, 34, 39, .92), rgba(3, 34, 39, .18)), var(--hero-image); background-size: cover; background-position: center; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr); align-items: end; gap: 80px; padding-block: 150px 80px; }
.hero-copy { min-width: 0; width: 100%; max-width: 790px; }
.hero .eyebrow { color: #b9f0e8; }
.hero h1, .page-header h1, .article-header h1, .not-found h1 { margin: 14px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 8vw, 98px); line-height: .95; letter-spacing: -.045em; }
.hero-copy > p { max-width: 670px; margin: 0; color: rgba(255,255,255,.82); font-size: clamp(19px, 2.1vw, 25px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero .text-link { color: #fff; }
.hero-note { min-width: 0; max-width: 100%; padding: 25px; border: 1px solid rgba(255,255,255,.34); border-radius: var(--radius); background: rgba(3,34,39,.28); backdrop-filter: blur(12px); }
.hero-note strong { display: block; font: 700 24px/1.15 Georgia, serif; }
.hero-note p { margin-bottom: 0; color: rgba(255,255,255,.76); }

.intro-section, .stories-section, .page-content { padding-block: 100px; }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.intro-grid h2, .section-heading h2, .guide-band h2 { margin: 14px 0 0; font: 700 clamp(34px, 5vw, 62px)/1.03 Georgia, serif; letter-spacing: -.035em; }
.lead { font-size: 20px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 2.2em; font: 700 clamp(30px, 4vw, 44px)/1.12 Georgia, serif; }
.prose h3 { margin-top: 1.8em; font-size: 25px; line-height: 1.2; }
.prose a { color: var(--sea-dark); font-weight: 700; }
.prose blockquote { margin: 2em 0; padding: 20px 28px; border-left: 4px solid var(--sun); background: var(--sand); font: 700 24px/1.4 Georgia, serif; }
.page-lead { color: var(--ink); font-size: 22px; line-height: 1.55; }
.content-notice { margin: 30px 0; padding: 22px 24px; border: 1px solid color-mix(in srgb, var(--sun) 58%, var(--line)); border-left: 5px solid var(--sun); border-radius: 16px; background: color-mix(in srgb, var(--sun) 10%, var(--paper)); }
.schedule-grid, .destination-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0 38px; }
.schedule-card, .destination-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 12px 36px rgba(5, 45, 52, .07); }
.schedule-card-wide { margin: 24px 0 18px; }
.schedule-card h3 { margin: 0 0 12px; font: 700 25px/1.15 Georgia, serif; }
.schedule-card p { margin-bottom: 0; }
.schedule-times { color: var(--sea-dark); font-weight: 800; line-height: 1.8; }
.destination-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.destination-card { display: flex; min-height: 150px; flex-direction: column; justify-content: space-between; color: var(--ink); text-decoration: none; }
.destination-card strong { font: 700 27px/1.1 Georgia, serif; }
.destination-card span { color: var(--sea-dark); font-size: 14px; font-weight: 800; }
.destination-card:hover { border-color: var(--sea); transform: translateY(-2px); }
.pipa-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0; }
.button-secondary { border: 1px solid var(--line); background: var(--paper); color: var(--ink); box-shadow: none; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list details p { margin-bottom: 0; color: var(--ink-soft); }
.legal-updated { display: inline-block; margin: 0 0 28px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 14px; }
.content-source { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
.pipa-assistant-gate { position: fixed; right: 18px; bottom: 18px; z-index: 9998; display: grid; grid-template-columns: 52px minmax(150px, 1fr); gap: 10px 12px; width: min(360px, calc(100vw - 28px)); padding: 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 20px; background: #073844; color: #fff; box-shadow: 0 18px 50px rgba(2, 30, 36, .28); }
.pipa-assistant-mark { display: grid; width: 52px; height: 52px; place-items: center; border: 2px solid #fff; border-radius: 16px; background: linear-gradient(145deg, #0aa59b, #167a95); color: #fff; font-weight: 900; letter-spacing: -.04em; }
.pipa-assistant-copy { display: flex; min-width: 0; flex-direction: column; }
.pipa-assistant-copy strong { font-size: 15px; }
.pipa-assistant-copy span { color: #d8ecef; font-size: 13px; line-height: 1.35; }
.pipa-assistant-copy a { width: max-content; margin-top: 3px; color: #fff; font-size: 12px; }
.pipa-assistant-actions { display: flex; grid-column: 1 / -1; gap: 8px; }
.pipa-assistant-actions button { min-height: 38px; padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.pipa-assistant-open { flex: 1; border: 0; background: var(--sun); color: #082b33; }
.pipa-assistant-open:disabled { cursor: wait; opacity: .72; }
.pipa-assistant-later { border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; }
.pipa-assistant-reset { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.tide-widget-shell { overflow: hidden; margin: 30px 0 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.tide-frame { display: block; width: 100%; min-height: 780px; border: 0; }

.pathways { padding-block: 24px 110px; }
.card-grid { display: grid; gap: 24px; }
.card-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.path-card { min-height: 380px; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); color: #fff; box-shadow: var(--shadow); }
.path-card > span { font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.path-card h2 { margin: auto 0 12px; font: 700 37px/1 Georgia, serif; }
.path-card p { margin: 0 0 24px; color: rgba(255,255,255,.8); }
.path-card a { font-weight: 850; text-decoration: none; }
.path-card-sea { background: linear-gradient(145deg, #06535b, #0a8a80); }
.path-card-culture { background: linear-gradient(145deg, #bb6b20, #f0a244); }
.path-card-plan { background: linear-gradient(145deg, #1e4248, #456d70); }
.section-heading { display: flex; justify-content: space-between; margin-bottom: 42px; }
.story-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 12px 42px rgba(5, 45, 52, .08); }
.story-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.story-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-card:hover .story-card-media img { transform: scale(1.035); }
.image-placeholder { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 70% 30%, var(--sun), transparent 20%), linear-gradient(145deg, var(--sea), #89d2c8); }
.story-card-body { padding: 25px; }
.card-kicker { color: var(--sea-dark); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.story-card h3 { margin: 10px 0; font: 700 28px/1.06 Georgia, serif; }
.story-card h3 a { text-decoration: none; }
.story-card p { color: var(--ink-soft); }

.page-header, .article-header { padding-block: 110px 50px; background: linear-gradient(145deg, var(--sand), var(--foam)); }
.page-header-inner, .article-header-grid { max-width: 940px; }
.page-header h1, .article-header h1 { color: var(--ink); font-size: clamp(48px, 7vw, 82px); }
.page-header p, .article-deck { max-width: 760px; color: var(--ink-soft); font-size: 21px; }
.article-meta { display: flex; gap: 20px; margin-top: 26px; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.article-hero { overflow: hidden; margin-top: 50px; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-hero img { width: 100%; max-height: 680px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(240px, 1fr); gap: 80px; align-items: start; padding-block: 90px; }
.article-content { font-size: 19px; }
.article-aside { position: sticky; top: 110px; }
.aside-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.aside-card h2 { margin: 10px 0 22px; font: 700 28px/1.12 Georgia, serif; }
.pagination { padding-top: 42px; }

.guide-band { padding-block: 70px; background: var(--sea-dark); color: #fff; }
.guide-band .eyebrow { color: #b9f0e8; }
.guide-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.guide-band h2 { max-width: 800px; font-size: clamp(32px, 4.2vw, 54px); }
.site-footer { padding-block: 70px 28px; background: #061f25; color: #d9e9e6; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr .5fr; gap: 60px; }
.footer-brand { color: #fff; font: 700 28px/1 Georgia, serif; }
.footer-grid p { max-width: 390px; color: #9ab9b6; }
.footer-menu { align-items: flex-start; flex-direction: column; gap: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { text-decoration: none; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 55px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.14); color: #8eaaa7; font-size: 13px; }
.not-found { min-height: 70vh; display: grid; align-items: center; }
.not-found-inner { max-width: 850px; padding-block: 100px; }
.error-code { color: var(--sun); font-size: 14px; font-weight: 900; letter-spacing: .18em; }

@media (max-width: 900px) {
    :root { --shell: min(100% - 28px, 720px); }
    .menu-toggle { display: block; }
    .site-navigation { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; max-height: calc(100vh - 70px); overflow-y: auto; padding: 24px; background: var(--paper); box-shadow: var(--shadow); }
    .site-navigation.is-open { display: flex; }
    .menu { align-items: stretch; flex-direction: column; }
    .site-navigation .button { width: 100%; }
    .theme-toggle { align-self: center; }
    .hero { min-height: 620px; }
    .hero-grid, .intro-grid, .article-layout, .guide-band-inner, .footer-grid { grid-template-columns: 1fr; gap: 38px; }
    .hero-grid { padding-block: 110px 52px; }
    .hero-note { max-width: 430px; }
    .card-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-aside { position: static; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .header-inner { min-height: 68px; }
    .brand-copy strong { font-size: 16px; }
    .hero h1 { font-size: clamp(42px, 13vw, 58px); overflow-wrap: anywhere; }
    .hero-copy > p { font-size: 18px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .intro-section, .stories-section, .page-content { padding-block: 70px; }
    .pathways { padding-bottom: 80px; }
    .card-grid-three { grid-template-columns: 1fr; }
    .path-card { min-height: 330px; }
    .page-header, .article-header { padding-block: 75px 36px; }
    .page-header h1, .article-header h1 { font-size: clamp(43px, 14vw, 62px); }
    .article-layout { padding-block: 58px; }
    .article-content { font-size: 17px; }
    .page-lead { font-size: 19px; }
    .schedule-grid, .destination-grid { grid-template-columns: 1fr; }
    .pipa-actions { align-items: stretch; flex-direction: column; }
    .pipa-actions .button { width: 100%; }
    .pipa-assistant-gate { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
    .tide-frame { min-height: 900px; }
    .guide-band { padding-block: 55px; }
    .guide-band .button { width: 100%; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

