/* Ferry Tickets Insight — Ocean editorial */
:root {
  --deep: #0a2540;
  --ocean: #1a4d6e;
  --teal: #2a8fa8;
  --foam: #e8f4f8;
  --sand: #f5f0e8;
  --coral: #e07a5f;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #dbe4ec;
  --shadow: 0 10px 40px rgba(10, 37, 64, .09);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .14);
  --font: 'DM Sans', system-ui, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --radius: 10px;
  --radius-lg: 18px;
  --max: 1160px;
  --article: 720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body { font-family: var(--font); color: var(--text); background: var(--sand); line-height: 1.72; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--deep); color: #fff; padding: .5rem 1rem; z-index: 999; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

.site-header { background: rgba(255,255,255,.95); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; }
.site-header .header-inner { position: relative; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .95rem 0; }
.logo { display: flex; align-items: center; gap: .65rem; color: var(--deep); font-weight: 700; }
.logo__icon { color: var(--teal); }
.logo__text { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; }
.nav { display: flex; gap: 1.75rem; }
.nav a { color: var(--muted); font-size: .86rem; font-weight: 500; }
.nav a.active, .nav a:hover { color: var(--deep); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); }

.btn { display: inline-flex; align-items: center; padding: .85rem 1.55rem; font-size: .84rem; font-weight: 600; border-radius: var(--radius); transition: all .25s; border: none; cursor: pointer; font-family: inherit; letter-spacing: .02em; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 4px 18px rgba(42,143,168,.35); }
.btn--primary:hover { background: var(--ocean); color: #fff; transform: translateY(-2px); }
.btn--secondary { background: var(--deep); color: #fff; }
.btn--secondary:hover { background: var(--ocean); color: #fff; }
.btn--outline { border: 1.5px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }

.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(125deg, rgba(10,37,64,.92) 0%, rgba(26,77,110,.72) 55%, rgba(10,37,64,.88) 100%); }
.hero__content { position: relative; z-index: 2; padding: 5rem 1.5rem; color: #fff; max-width: 700px; }
.eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: #7ec8d8; font-weight: 600; margin-bottom: 1.1rem; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.3rem, 5.5vw, 3.8rem); font-weight: 500; line-height: 1.08; margin-bottom: 1.2rem; }
.hero__lead { font-size: 1.08rem; opacity: .9; margin-bottom: 2rem; line-height: 1.8; }
.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; }

.metrics { background: var(--surface); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.metric__num { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--deep); line-height: 1; }
.metric__label { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: .35rem; display: block; }

.section { padding: 5rem 0; }
.section--foam { background: var(--foam); }
.section--deep { background: var(--deep); color: #fff; }
.section--deep h2 { color: #fff; font-family: var(--serif); }
.section--deep p { color: rgba(255,255,255,.8); }
.section-head { max-width: 580px; margin-bottom: 2.75rem; }
.section-head h2 { font-family: var(--serif); font-size: 2.15rem; color: var(--deep); margin-bottom: .7rem; font-weight: 500; }
.section-head p { color: var(--muted); font-size: 1.03rem; }
.section-cta { text-align: center; margin-top: 2.25rem; }

.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.card__image-link { display: block; overflow: hidden; }
.card__image-link img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; transition: transform .5s; }
.card:hover .card__image-link img { transform: scale(1.04); }
.card__body { padding: 1.6rem 1.75rem 1.75rem; }
.card__cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); font-weight: 700; }
.card__body h3 { font-family: var(--serif); font-size: 1.35rem; margin: .5rem 0 .65rem; line-height: 1.25; }
.card__body h3 a { color: var(--deep); }
.card__body h3 a:hover { color: var(--teal); }
.card__body p { color: var(--muted); font-size: .94rem; margin-bottom: .85rem; }
.card__meta { font-size: .78rem; color: var(--muted); opacity: .85; }

.topics { padding: 3.5rem 0; background: var(--surface); border-top: 1px solid var(--border); }
.topics h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--deep); margin-bottom: 1.25rem; text-align: center; }
.topics__grid { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }
.topic-pill { padding: .5rem 1.1rem; background: var(--foam); border: 1px solid var(--border); border-radius: 999px; font-size: .82rem; color: var(--ocean); font-weight: 500; transition: all .2s; }
.topic-pill:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split__text h2 { font-family: var(--serif); font-size: 2rem; color: var(--deep); margin-bottom: 1rem; }
.split__text p { color: var(--muted); margin-bottom: 1rem; }
.split__image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.page-hero { position: relative; height: 340px; overflow: hidden; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,.88), rgba(10,37,64,.35)); }
.page-hero__content { position: absolute; bottom: 0; left: 0; right: 0; padding-bottom: 2.25rem; color: #fff; }
.page-hero__content h1 { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; }

.page { padding: 3.5rem 0 5rem; }
.page h1 { font-family: var(--serif); font-size: 2.5rem; color: var(--deep); margin-bottom: 1rem; }
.page h2 { font-family: var(--serif); font-size: 1.45rem; color: var(--deep); margin: 2rem 0 .75rem; }
.page-lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 2rem; max-width: 680px; line-height: 1.78; }
.page p { color: var(--muted); margin-bottom: 1rem; }
.page ul { margin: 0 0 1rem 1.5rem; color: var(--muted); }
.page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

.article-page { padding-bottom: 4rem; }
.article-hero { position: relative; height: 420px; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,.75), transparent 60%); }
.article-wrap { padding-top: 2rem; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--ocean); }
.article-header { max-width: var(--article); margin-bottom: 2rem; }
.article-header__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); font-weight: 700; }
.article-header h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--deep); margin: .6rem 0; line-height: 1.15; font-weight: 500; }
.article-header__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 1fr 260px; gap: 3rem; align-items: start; }
.article__body { max-width: var(--article); }
.article__body .lead { font-size: 1.12rem; color: var(--text); line-height: 1.78; margin-bottom: 1.5rem; }
.article__body h2 { font-family: var(--serif); font-size: 1.45rem; color: var(--deep); margin: 2.25rem 0 .75rem; scroll-margin-top: 5rem; }
.article__body p { color: var(--muted); margin-bottom: 1rem; }
.article__body ul { margin: 0 0 1rem 1.5rem; color: var(--muted); }
.article__body li { margin-bottom: .4rem; }
.article-figure { margin: 2rem 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.article-figure figcaption { padding: .75rem 1rem; background: var(--surface); font-size: .84rem; color: var(--muted); border: 1px solid var(--border); border-top: none; }
.callout { background: var(--foam); border-left: 4px solid var(--teal); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.75rem 0; }
.callout strong { display: block; color: var(--deep); margin-bottom: .35rem; }
.callout p { margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.75rem 0; }
.stat-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.stat-box__num { display: block; font-family: var(--serif); font-size: 1.75rem; color: var(--deep); }
.stat-box__label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.related { position: sticky; top: 5.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.related h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 1rem; }
.related__item { display: block; padding: .65rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; color: var(--deep); font-weight: 500; line-height: 1.4; }
.related__item:last-child { border-bottom: none; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; font-weight: 500; }
.contact-form input, .contact-form textarea { padding: .75rem .9rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 1rem; background: var(--surface); }
.form-ok { color: var(--teal); font-weight: 600; }
.contact-email a { font-size: 1.15rem; font-weight: 600; }

.site-footer { background: var(--deep); color: rgba(255,255,255,.72); padding: 3.5rem 0 1.5rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.15rem; display: block; margin-bottom: .5rem; }
.footer-brand p { font-size: .88rem; line-height: 1.65; }
.footer-note { opacity: .55; font-size: .78rem !important; margin-top: .75rem; }
.footer-col h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .85rem; }
.footer-col a { display: block; color: rgba(255,255,255,.62); font-size: .86rem; margin-bottom: .45rem; }
.footer-col a:hover { color: #7ec8d8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; display: flex; justify-content: space-between; font-size: .78rem; opacity: .55; }

@media (max-width: 900px) {
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .card--featured, .split, .page-grid, .article-layout, .footer-top, .stat-row { grid-template-columns: 1fr; }
  .card--featured { display: block; }
  .related { position: static; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
}
