:root {
  --ink: #10262b;
  --muted: #5d7074;
  --paper: #f6f1e8;
  --white: #fffdf8;
  --sea: #155f68;
  --sea-dark: #0b3f46;
  --amber: #e8992d;
  --line: rgba(16, 38, 43, 0.14);
  --shadow: 0 22px 55px rgba(25, 53, 59, 0.12);
  --radius: 26px;
  --page: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 5%, rgba(232, 153, 45, 0.18), transparent 24rem),
    radial-gradient(circle at 95% 45%, rgba(21, 95, 104, 0.11), transparent 27rem);
  pointer-events: none;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--sea-dark);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 232, 0.9);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: var(--page);
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--sea);
  border-radius: 50% 50% 50% 10%;
  transform: rotate(-8deg);
}

.brand-mark span { transform: rotate(8deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--sea-dark);
  background: rgba(21, 95, 104, 0.1);
  outline: none;
}

.menu-toggle {
  display: none;
  padding: 9px 13px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
}

.hero,
.article-hero {
  width: var(--page);
  margin: 42px auto 0;
  overflow: hidden;
  border-radius: 34px;
  background: var(--sea-dark);
  box-shadow: var(--shadow);
}

.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
}

.hero-copy {
  padding: clamp(38px, 7vw, 82px);
  color: white;
  align-self: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 7vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 56ch;
  color: rgba(255,255,255,0.78);
  font-size: 1.12rem;
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--sea-dark), transparent 34%);
}

.hero-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  max-width: 240px;
  padding: 15px 18px;
  color: var(--ink);
  background: rgba(255,253,248,0.92);
  border-radius: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid rgba(255,255,255,0.32);
  color: white;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--amber);
  color: var(--ink);
  background: var(--amber);
}

.section {
  width: var(--page);
  margin: 92px auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.3rem);
  letter-spacing: -0.045em;
}

.section-intro {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 14px 35px rgba(25,53,59,0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 0.83;
  object-fit: cover;
}

.card-body { padding: 22px; }
.card h3 { margin-bottom: 10px; font-size: 1.55rem; }
.card p { min-height: 72px; color: var(--muted); font-size: 0.94rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sea);
  font-weight: 900;
  text-decoration: none;
}

.card-link::after { content: "→"; transition: transform 160ms ease; }
.card-link:hover::after { transform: translateX(4px); }

.route {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
}

.route-copy { padding: clamp(30px, 5vw, 58px); }
.route-copy p { color: var(--muted); }

.route-list {
  display: grid;
  align-content: center;
  margin: 0;
  padding: clamp(30px, 5vw, 58px);
  list-style: none;
  background: var(--sea);
  color: white;
  counter-reset: stop;
}

.route-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  counter-increment: stop;
}

.route-list li::before {
  content: counter(stop, decimal-leading-zero);
  color: var(--amber);
  font-weight: 900;
}

.article-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: end;
}

.article-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,28,32,0.94), rgba(5,28,32,0.05) 75%);
}

.article-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 840px;
  padding: clamp(34px, 6vw, 70px);
  color: white;
}

.article-hero h1 { margin-bottom: 14px; font-size: clamp(3rem, 7vw, 6rem); }
.article-hero-copy > p:last-child { max-width: 62ch; color: rgba(255,255,255,0.78); font-size: 1.08rem; }

.article-layout {
  width: var(--page);
  margin: 60px auto 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(38px, 7vw, 90px);
}

.article-body { max-width: 760px; }
.article-body h2 { margin: 48px 0 18px; font-size: clamp(2rem, 4vw, 3.3rem); }
.article-body p { color: #344c51; font-size: 1.06rem; }
.article-body .lead { color: var(--ink); font-size: 1.3rem; line-height: 1.55; }

.fact-box {
  position: sticky;
  top: 106px;
  align-self: start;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 22px;
}

.fact-box h2 { margin-bottom: 20px; font-size: 1.65rem; }
.facts { margin: 0; }
.facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.facts dd { margin: 4px 0 0; font-weight: 700; }

.next-link {
  display: block;
  margin-top: 24px;
  padding: 16px 18px;
  color: white;
  background: var(--sea);
  border-radius: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.site-footer {
  padding: 54px 0;
  color: rgba(255,255,255,0.7);
  background: var(--sea-dark);
}

.footer-inner {
  width: var(--page);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: auto;
}

.footer-inner strong { color: white; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 11px 14px; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .hero-visual::after { background: linear-gradient(0deg, var(--sea-dark), transparent 40%); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .fact-box { position: static; }
}

@media (max-width: 650px) {
  :root { --page: min(100% - 24px, 1160px); }
  .nav-wrap { min-height: 66px; }
  .nav-links { top: 66px; left: 12px; right: 12px; }
  .brand { font-size: 0.92rem; }
  .hero, .article-hero { margin-top: 14px; border-radius: 22px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 38px 26px; }
  .hero-visual { min-height: 300px; }
  .hero-note { right: 14px; bottom: 14px; left: 14px; max-width: none; }
  h1 { font-size: clamp(2.8rem, 15vw, 4rem); }
  .section { margin: 65px auto; }
  .section-head, .footer-inner { align-items: start; flex-direction: column; }
  .cards { grid-template-columns: 1fr; }
  .card p { min-height: 0; }
  .route { grid-template-columns: 1fr; }
  .article-hero { min-height: 410px; }
  .article-hero-copy { padding: 28px 24px; }
  .article-layout { margin-top: 42px; }
}

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