/* Ferry Hopers — Slow travel editorial */
:root {
  --navy: #1c2840;
  --navy-dark: #141e30;
  --navy-light: #2a3a58;
  --copper: #c87941;
  --copper-light: #d9956a;
  --copper-dark: #a86232;
  --cream: #faf6f0;
  --cream-dark: #f0e8dc;
  --surface: #ffffff;
  --text: #1a1f2e;
  --muted: #5c6478;
  --border: #e4ddd3;
  --shadow: 0 10px 44px rgba(28, 40, 64, 0.09);
  --shadow-lg: 0 22px 64px rgba(28, 40, 64, 0.15);
  --font: 'Outfit', system-ui, sans-serif;
  --serif: 'Libre Baskerville', Georgia, serif;
  --radius: 8px;
  --radius-lg: 14px;
  --max: 1140px;
  --article: 700px;
}

*, *::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(--cream); line-height: 1.72; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--copper); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

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

/* Header */
.site-header { background: rgba(250, 246, 240, .94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--navy); font-weight: 600; }
.logo__icon { color: var(--copper); flex-shrink: 0; }
.logo__text { font-family: var(--serif); font-size: 1.18rem; font-weight: 400; letter-spacing: -.01em; }
.nav { display: flex; gap: 2rem; }
.nav a { color: var(--muted); font-size: .86rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }
.nav a.active, .nav a:hover { color: var(--copper-dark); }
.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(--navy); transition: .3s; }

/* Buttons */
.btn { display: inline-flex; align-items: center; padding: .85rem 1.65rem; font-size: .84rem; font-weight: 600; border-radius: var(--radius); transition: all .25s; letter-spacing: .04em; text-transform: uppercase; }
.btn--primary { background: var(--copper); color: #fff; box-shadow: 0 4px 20px rgba(200, 121, 65, .35); }
.btn--primary:hover { background: var(--copper-dark); color: #fff; transform: translateY(-2px); }
.btn--outline { border: 1.5px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.7); }

/* Hero */
.hero { position: relative; min-height: 90vh; 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(118deg, rgba(28,40,64,.93) 0%, rgba(28,40,64,.55) 45%, rgba(20,30,48,.88) 100%); }
.hero__content { position: relative; z-index: 2; padding: 5rem 1.5rem; color: #fff; max-width: 680px; }
.eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .22em; color: var(--copper-light); font-weight: 600; margin-bottom: 1.2rem; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5.8vw, 4.1rem); font-weight: 400; line-height: 1.1; margin-bottom: 1.25rem; }
.hero__lead { font-size: 1.1rem; opacity: .9; margin-bottom: 2rem; line-height: 1.82; font-weight: 300; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Metrics */
.metrics { background: var(--surface); border-bottom: 3px solid var(--copper); padding: 2.75rem 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.6rem; color: var(--navy); line-height: 1; }
.metric__label { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: .4rem; display: block; }

/* Sections */
.section { padding: 5rem 0; }
.section--warm { background: var(--cream-dark); }
.section-head { max-width: 580px; margin-bottom: 3rem; }
.section-head h2 { font-family: var(--serif); font-size: 2.25rem; color: var(--navy); margin-bottom: .75rem; font-weight: 400; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.85rem; }
.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(-6px); box-shadow: var(--shadow-lg); }
.card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.card__image-link { display: block; overflow: hidden; aspect-ratio: 16/10; }
.card--featured .card__image-link { aspect-ratio: auto; min-height: 340px; }
.card__image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.card:hover .card__image-link img { transform: scale(1.05); }
.card__body { padding: 1.75rem 1.85rem; }
.card__cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--copper); font-weight: 700; }
.card h3 { font-family: var(--serif); font-size: 1.38rem; margin: .55rem 0 .7rem; line-height: 1.28; font-weight: 400; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--copper-dark); }
.card p { font-size: .93rem; color: var(--muted); margin-bottom: .9rem; }
.card__meta { font-size: .78rem; color: var(--muted); opacity: .8; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split__text h2 { font-family: var(--serif); font-size: 2.05rem; color: var(--navy); margin-bottom: 1rem; font-weight: 400; }
.split__text p { color: var(--muted); margin-bottom: 1rem; }
.split__image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 3px solid var(--surface); }

/* Topics */
.topics { padding: 4.5rem 0; background: var(--navy); color: #fff; }
.topics h2 { font-family: var(--serif); font-size: 1.85rem; margin-bottom: 1.75rem; text-align: center; font-weight: 400; }
.topics__grid { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.topic-pill { padding: .55rem 1.3rem; background: transparent; border: 1px solid rgba(200, 121, 65, .5); border-radius: 100px; color: var(--copper-light); font-size: .84rem; font-weight: 500; transition: all .22s; }
.topic-pill:hover { background: var(--copper); color: #fff; border-color: var(--copper); }

/* Article pages */
.article-page { padding-bottom: 4.5rem; }
.article-hero { position: relative; height: 46vh; min-height: 300px; max-height: 500px; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--cream) 0%, rgba(28,40,64,.4) 55%, rgba(28,40,64,.25) 100%); }
.article-wrap { margin-top: -3.5rem; position: relative; z-index: 2; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--copper); }
.breadcrumb span { margin: 0 .35rem; opacity: .5; }
.article-header { max-width: var(--article); margin-bottom: 2.5rem; }
.article-header__cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--copper); font-weight: 700; }
.article-header h1 { font-family: var(--serif); font-size: clamp(1.95rem, 4.5vw, 2.85rem); color: var(--navy); line-height: 1.14; margin: .55rem 0 1rem; font-weight: 400; }
.article-header__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .84rem; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 1fr 270px; gap: 3rem; align-items: start; }
.article__body { max-width: var(--article); }
.article__body .lead { font-size: 1.14rem; color: var(--text); line-height: 1.85; margin-bottom: 2rem; font-family: var(--serif); font-style: italic; }
.article__body h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin: 2.5rem 0 1rem; padding-top: .5rem; font-weight: 400; scroll-margin-top: 5rem; }
.article__body p { margin-bottom: 1.1rem; color: #3d4456; }
.article__body ul, .article__body ol { margin: 0 0 1.25rem 1.5rem; color: #3d4456; }
.article__body li { margin-bottom: .45rem; }
.article-figure { margin: 2.25rem 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.article-figure figcaption { padding: .9rem 1.25rem; background: var(--surface); font-size: .82rem; color: var(--muted); border-top: 1px solid var(--border); font-style: italic; }

.callout { background: linear-gradient(135deg, rgba(28,40,64,.05), rgba(200,121,65,.08)); border-left: 4px solid var(--copper); padding: 1.5rem 1.75rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0; }
.callout strong { display: block; color: var(--navy); margin-bottom: .5rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.callout p { margin: 0; font-size: .95rem; color: #3d4456; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.stat-box { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--copper); border-radius: var(--radius); padding: 1.35rem; text-align: center; }
.stat-box__num { display: block; font-family: var(--serif); font-size: 1.85rem; color: var(--navy); }
.stat-box__label { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: .3rem; }

.related { position: sticky; top: 6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.related h3 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--copper-dark); margin-bottom: 1rem; font-weight: 700; }
.related__item { display: block; padding: .75rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; font-weight: 500; color: var(--navy); line-height: 1.4; }
.related__item:last-child { border-bottom: none; padding-bottom: 0; }
.related__item:hover { color: var(--copper); }

/* Static pages */
.page { padding: 4rem 0 5rem; }
.page h1 { font-family: var(--serif); font-size: 2.55rem; color: var(--navy); margin-bottom: 1rem; font-weight: 400; }
.page h2 { font-family: var(--serif); font-size: 1.42rem; color: var(--navy); margin: 2rem 0 .75rem; font-weight: 400; }
.page-lead { font-size: 1.14rem; color: var(--muted); margin-bottom: 2rem; max-width: 640px; line-height: 1.8; }
.page p { margin-bottom: 1rem; color: #3d4456; max-width: 680px; }
.page ul { margin: 0 0 1rem 1.5rem; color: #3d4456; max-width: 680px; }
.page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-email { font-size: 1.2rem; font-weight: 600; margin-bottom: 2rem; }
.contact-email a { color: var(--copper-dark); }
.contact-form { max-width: 520px; display: grid; gap: 1.25rem; }
.contact-form label { display: grid; gap: .4rem; font-size: .86rem; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form textarea { padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; background: var(--surface); transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--copper); }
.form-ok { color: var(--copper-dark); font-weight: 500; margin-top: .5rem; }

.values-list { list-style: none; margin: 0; padding: 0; max-width: none; }
.values-list li { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.values-list strong { display: block; color: var(--navy); font-family: var(--serif); margin-bottom: .35rem; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 4rem 0 2rem; margin-top: 1rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand strong { font-family: var(--serif); font-size: 1.35rem; color: #fff; display: block; margin-bottom: .6rem; font-weight: 400; }
.footer-brand p { font-size: .88rem; opacity: .8; line-height: 1.65; }
.footer-note { font-size: .76rem !important; opacity: .5 !important; margin-top: 1rem !important; }
.footer-col h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--copper-light); margin-bottom: 1rem; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,.7); font-size: .86rem; margin-bottom: .5rem; }
.footer-col a:hover { color: var(--copper-light); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; font-size: .76rem; opacity: .45; flex-wrap: wrap; gap: .5rem; }

/* Responsive */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .card--featured { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .related { position: static; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top, .page-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: 0; right: -100%; width: 85%; max-width: 300px; height: 100vh; background: var(--cream); flex-direction: column; padding: 5rem 1.5rem 2rem; box-shadow: var(--shadow-lg); transition: right .3s; z-index: 300; }
  .nav.open { right: 0; }
  .hero { min-height: 75vh; }
  .article-hero { height: 35vh; min-height: 220px; }
}
