@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #101d2d;
  --navy: #142439;
  --muted: #45505b;
  --paper: #faf8f3;
  --white: #fffdfa;
  --linen: #f0ede5;
  --line: #dcd5c8;
  --bronze: #805d33;
  --gold: #e2c18b;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
button:not([disabled]) { cursor: pointer; }
:focus-visible { outline: 3px solid #9f703a; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.frame { width: min(100% - 7rem, 81rem); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: .6rem;
  left: .6rem;
  padding: .65rem 1rem;
  background: var(--white);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  width: 2.85rem;
  height: 2.85rem;
  background: var(--ink);
  border-radius: .3rem;
}

.brand-copy { display: flex; flex-direction: column; justify-content: center; }
.brand-copy strong { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: .95; }
.brand-copy > span { margin-top: .3rem; color: var(--bronze); font-size: .66rem; font-weight: 700; letter-spacing: .26em; }

.main-nav, .header-actions { display: flex; align-items: center; }
.main-nav { gap: clamp(1rem, 2.35vw, 2.25rem); }
.main-nav a {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav .menu-contact { display: none; }
.main-nav a:hover { color: var(--bronze); text-decoration: underline; text-underline-offset: .35em; }
.header-actions { gap: 1.15rem; }

.language { display: flex; gap: .16rem; padding: .16rem; border: 1px solid var(--line); border-radius: .32rem; }
.language button {
  min-width: 2rem;
  min-height: 2rem;
  border: 0;
  border-radius: .2rem;
  background: transparent;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}
.language button:hover { background: var(--linen); }
.language button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.12rem;
  padding: .68rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .28rem;
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms, color 160ms, border-color 160ms;
}

.button.outline { min-height: 2.52rem; padding: .4rem .85rem; border-color: #9e9a90; font-size: .89rem; }
.button.outline:hover { background: var(--linen); border-color: var(--ink); }
.button.primary { background: var(--navy); color: var(--white); }
.button.primary:hover { background: #2c435d; }
.button.gold { background: var(--gold); color: var(--ink); }
.button.gold:hover { background: #f1d7ad; }
.text-link { align-self: center; text-underline-offset: .38em; text-decoration-color: #a48763; font-weight: 700; }
.text-link:hover { color: var(--bronze); }
.text-link, .contact-links a { padding-block: .35rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(1.9rem, 4.3vw, 4.65rem);
  align-items: center;
  padding-block: 3.35rem 4.2rem;
}

.hero-copy { padding-block: .7rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--bronze);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .115em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow-rule { width: 1.65rem; height: 1px; flex: 0 0 1.65rem; background: currentColor; }

.hero h1 {
  margin-top: 1.3rem;
  font-size: clamp(4.1rem, 6.78vw, 6.65rem);
  line-height: .87;
  letter-spacing: -.038em;
}
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { margin-top: .34rem; color: var(--bronze); font-weight: inherit; }

.hero-description {
  max-width: 29rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.28vw, 1.18rem);
  line-height: 1.57;
}

.hero-actions, .route-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.3rem; }
.hero-actions { margin-top: 1.65rem; }
.hero-actions .primary { padding-inline: 1.45rem; }

.hero-figure {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.27;
  overflow: hidden;
  border-radius: .4rem;
  background: var(--ink);
}
.hero-figure > img, .route-photo > img, .about-image > img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure > img { object-position: 72% 45%; }

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #0a141df0);
  pointer-events: none;
}

.hero-figure figcaption {
  position: absolute;
  z-index: 1;
  inset: auto 1.65rem 1.4rem;
  display: grid;
  gap: .25rem;
  padding-left: .9rem;
  border-left: 1px solid var(--gold);
  color: #fff;
  font-size: .91rem;
  line-height: 1.35;
}
.hero-name { font: 1.85rem/1 var(--serif); }

.routes {
  background: var(--linen);
  border-block: 1px solid var(--line);
}
.routes-inner { padding-block: 3.15rem 4.1rem; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 1.2rem 2rem; margin-bottom: 1.6rem; }
.section-intro h2, .about h2, .contact h2 {
  margin-top: .42rem;
  font-size: clamp(3rem, 5.25vw, 5.1rem);
  letter-spacing: -.026em;
  line-height: .99;
}
.section-intro > p { max-width: 23rem; padding-bottom: .12rem; color: var(--muted); }

.route-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
}
.route-tab {
  display: flex;
  min-height: 5.65rem;
  align-items: center;
  gap: .8rem;
  padding: .85rem clamp(.55rem, 1.42vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: .33rem;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  transition: background-color 160ms, border-color 160ms, color 160ms;
}
.route-tab:hover { border-color: var(--bronze); }
.route-tab[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: var(--white); }
.route-tab svg {
  width: 1.56rem;
  height: 1.56rem;
  flex: 0 0 1.56rem;
  fill: none;
  stroke: var(--bronze);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.route-tab[aria-selected="true"] svg { stroke: var(--gold); }
.route-tab strong, .route-tab small { display: block; line-height: 1.28; }
.route-tab strong { font-size: 1rem; font-weight: 700; }
.route-tab small { margin-top: .27rem; color: var(--muted); font-size: .875rem; }
.route-tab[aria-selected="true"] small { color: #e3e9ef; }

.route-panel {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  min-height: 24rem;
  margin-top: .9rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: var(--white);
}
.route-photo { position: relative; min-height: 100%; background: var(--navy); }
.route-photo img { position: absolute; inset: 0; object-position: 70% 53%; }
.route-content { align-self: center; padding: clamp(1.65rem, 3.25vw, 3.25rem); }
.route-partner { font-size: .78rem; letter-spacing: .085em; }
.route-content h3 { max-width: 36rem; margin-top: .58rem; font-size: clamp(2.5rem, 3.5vw, 3.9rem); letter-spacing: -.018em; line-height: 1; }
.route-description { max-width: 35rem; margin-top: .7rem; color: var(--muted); }
.topics { display: flex; flex-wrap: wrap; gap: .43rem; margin-top: 1.1rem; }
.topic-button {
  min-height: 2.45rem;
  padding: .34rem .72rem;
  border: 1px solid #c2b7a5;
  border-radius: .22rem;
  background: transparent;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
}
.topic-button:hover { border-color: var(--bronze); background: var(--linen); }
.topic-button[aria-pressed="true"] { border-color: var(--bronze); background: #f0e5d7; }
.topic-detail { margin-top: .75rem; padding-left: .7rem; border-left: 2px solid #b58e5a; color: var(--muted); font-size: .95rem; }
.route-actions { margin-top: 1.25rem; }

.about {
  display: grid;
  grid-template-columns: minmax(13rem, .62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(1.8rem, 7vw, 6rem);
  max-width: 65rem;
  padding-block: 4.9rem;
}
.about-image { height: 19rem; overflow: hidden; border-radius: .35rem; background: var(--navy); }
.about-image img { object-position: center 30%; }
.about-copy h2 { max-width: 34rem; font-size: clamp(3rem, 4.6vw, 4.65rem); }
.about-copy > p:not(.eyebrow) { max-width: 33rem; margin-top: .9rem; color: var(--muted); }
.about-copy > a { display: inline-block; margin-top: .75rem; }

.contact { background: var(--ink); color: var(--white); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); align-items: center; gap: 2rem; padding-block: 3.6rem; }
.contact .eyebrow { color: var(--gold); }
.contact h2 { font-size: clamp(3rem, 4.85vw, 4.75rem); }
.contact-inner p:not(.eyebrow) { margin-top: .65rem; color: #e4e7ec; }
.contact-actions { justify-self: end; }
.contact-links { display: grid; margin-top: .6rem; }
.contact-links a { overflow-wrap: anywhere; color: #f0e3ce; text-decoration-color: #aa936f; text-underline-offset: .22em; }
.contact-links a:hover { color: #fff; }

.site-footer { border-top: 1px solid var(--line); }
.social-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1.5rem;
  padding-block: .85rem;
  border-bottom: 1px solid var(--line);
}
.social-nav h2 { font: 700 1rem/1.5 var(--sans); }
.social-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-nav a {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}
.social-nav a:hover {
  border-color: var(--bronze);
  background: var(--linen);
}
.social-nav img { width: 1.25rem; height: 1.25rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.25rem; padding-block: 1.2rem; color: var(--muted); font-size: .88rem; }
.footer-inner span:first-child { font-weight: 700; color: var(--ink); }
.footer-inner a { text-underline-offset: .22em; }

@media (max-width: 74rem) {
  .frame { width: calc(100% - 4rem); }
}

@media (max-width: 59.999rem) {
  html { scroll-padding-top: 5.5rem; }
  .header-inner { min-height: 4.65rem; }
  .main-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: .45rem 2rem .85rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .menu-open .main-nav { display: grid; gap: 0; }
  .main-nav a { padding: .75rem 0; font-size: 1rem; }
  .main-nav a + a { border-top: 1px solid var(--line); }
  .menu-toggle {
    display: grid;
    place-content: center;
    gap: .3rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--line);
    border-radius: .25rem;
    background: transparent;
    color: var(--ink);
  }
  .menu-toggle span { width: 1rem; height: 1px; background: currentColor; }
  .menu-open .menu-toggle span:first-child { transform: translateY(.175rem) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-.175rem) rotate(-45deg); }
  .hero { gap: 1.6rem; padding-block: 2.55rem 3rem; }
  .hero h1 { font-size: clamp(3.4rem, 7.4vw, 5.55rem); }
  .hero-figure { aspect-ratio: .99; min-height: 100%; }
  .route-tab { gap: .52rem; }
  .route-tab svg { width: 1.28rem; height: 1.28rem; flex-basis: 1.28rem; }
}

@media (max-width: 43rem) {
  .frame { width: calc(100% - 2.2rem); }
  .header-inner { gap: .65rem; }
  .brand { gap: .48rem; }
  .brand img { width: 2.48rem; height: 2.48rem; }
  .brand-copy strong { font-size: 1.35rem; }
  .brand-copy > span { font-size: .58rem; }
  .header-actions { gap: .5rem; }
  .header-contact { display: none; }
  .main-nav .menu-contact { display: inline-block; }
  .main-nav { padding-inline: 1.1rem; }
  .hero { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2.2rem 2.2rem; }
  .hero-copy { padding: 0; }
  .hero h1 { margin-top: .9rem; font-size: clamp(3.42rem, 11.2vw, 5.6rem); }
  .hero-description { margin-top: 1.16rem; }
  .hero-actions { margin-top: 1.2rem; }
  .hero-figure { aspect-ratio: 1.27; min-height: 0; }
  .hero-figure figcaption { inset: auto .95rem .88rem; font-size: .85rem; }
  .hero-name { font-size: 1.65rem; }
  .routes-inner { padding-block: 2.3rem 2.5rem; }
  .section-intro { display: block; margin-bottom: 1.15rem; }
  .section-intro h2 { margin-top: .35rem; }
  .section-intro > p { margin-top: .65rem; }
  .route-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
  .route-tab { min-height: 4.65rem; padding: .55rem .62rem; }
  .route-tab strong { font-size: .95rem; }
  .route-tab small { font-size: .825rem; }
  .route-panel { grid-template-columns: 1fr; margin-top: .65rem; }
  .route-photo { min-height: 0; aspect-ratio: 1.78; }
  .route-content { padding: 1.15rem; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; padding-block: 2.6rem; }
  .about-image { width: min(65%, 16rem); height: auto; aspect-ratio: 1; }
  .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; padding-block: 2.45rem; }
  .contact-actions { justify-self: start; }
}

@media (max-width: 22rem) {
  .frame { width: calc(100% - 1.5rem); }
  .brand { gap: .42rem; }
  .brand img { width: 2.15rem; height: 2.15rem; }
  .brand-copy strong { font-size: 1.13rem; }
  .header-actions { gap: .35rem; }
  .language button { min-width: 1.9rem; }
  .menu-toggle { width: 2.4rem; }
  .hero h1 { font-size: 3.15rem; }
  .route-tab { padding-inline: .45rem; }
  .route-tab svg { display: none; }
}

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