:root {
  --navy: #0c2546;
  --orange: #ff731b;
  --paper: #f8f6f1;
  --ink: #112c4a;
  --dim: #45596c;
  --line: #ced5d9;
  --warm-line: #d9d2c7;
  --rust: #a33a00;
  --wide: 1260px;
  --type-h1: clamp(2.65rem, 5.4vw, 5rem);
  --type-h2: clamp(1.9rem, 3.25vw, 3.2rem);
  --type-copy: 1.0625rem;
  --inner-height: clamp(300px, 32vw, 416px);
  --gutter: clamp(18px, 5vw, 76px);
  --image-cap: 1240px;
}
body { background: var(--paper); }
a { text-underline-offset: .21em; }
.j-wrap, body .su-wrap, body .st-shell {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
}
img { max-width: min(100%, var(--image-cap)); }
main :focus-visible, .j-head :focus-visible, .j-foot :focus-visible {
  outline: 3px solid #126ebc;
  outline-offset: 4px;
}
.j-head {
  background: var(--paper);
  border-bottom: 1px solid var(--warm-line);
}
.j-head-inner { min-height: 88px; gap: 20px; }
.j-brand img { width: 115px; height: 64px; }
.j-head nav a { font-size: .98rem; min-height: 44px; display: grid; align-items: center; }
.j-head nav a[aria-current]:after, .j-head nav a:hover:after { bottom: 4px; }
.j-head .head-cta, .j-btn, .visit-tools .st-buttons a, .su-actions a {
  border-radius: 9px;
}
.j-head .head-cta { border-color: var(--navy); }
.j-btn.outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.j-btn.outline:hover { background: var(--navy); color: white; }
.j-label i { transform: none; height: 2px; width: 22px; }
body .j-label, body .j-dir-label {
  font-size: .76rem !important;
  line-height: 1.4 !important;
  letter-spacing: .13em;
}
body h1 em { color: var(--rust); }
.j-foot { background: var(--navy); border-top: 4px solid var(--orange); }
.j-foot img { border-radius: 9px; padding: 5px 10px; }

/* Home */
body .j-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: clamp(470px, 42vw, 640px);
  overflow: visible;
  background: var(--paper);
}
.j-hero:after { content: none; }
.j-hero .hero-photo {
  position: relative;
  inset: auto;
  grid-area: 1 / 2;
  z-index: 0;
  width: auto;
  height: auto;
  margin: 32px var(--gutter) 32px 0;
  border-radius: 22px 22px 22px 5px;
  border-bottom: 5px solid var(--orange);
  background-position: 70% center;
}
.hero-content.j-wrap {
  grid-area: 1 / 1;
  align-self: center;
  width: auto;
  margin: 0;
  padding: clamp(48px, 6vw, 90px) clamp(22px, 4vw, 68px) clamp(48px, 6vw, 90px) var(--gutter);
  color: var(--navy);
}
.hero-content .j-label { color: var(--dim); margin-bottom: 22px; }
body .hero-content h1 {
  font-size: clamp(3rem, 6.7vw, 7.4rem) !important;
  line-height: .92 !important;
  letter-spacing: -.071em !important;
  max-width: 8.5ch;
}
.hero-content h1 br { display: none; }
.hero-sub { color: var(--dim); max-width: 31em; margin: 24px 0 27px; }
.j-trip { border-top: 0; border-bottom: 4px solid var(--orange); }
.trip-grid { padding-block: 17px; }
.trip-grid>a {
  min-height: 70px;
  padding-block: 9px;
  position: relative;
}
.trip-grid>a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-block-start: 2px solid #ffb87d;
  border-inline-end: 2px solid #ffb87d;
  transform: rotate(45deg);
  margin-left: auto;
}
.j-guide-band {
  background: var(--navy);
  color: white;
  border-block: 0;
}
.guide-grid { gap: clamp(24px, 6vw, 76px); padding-block: clamp(38px, 6vw, 80px); }
.guide-grid > img { border-radius: 17px 17px 5px 17px; border-bottom: 4px solid var(--orange); }
.j-guide-band .j-label, .j-guide-band p:not(.j-label) { color: #e9f0f3; }
.j-reviews { padding-block: clamp(55px, 8vw, 100px); }
.reviews-grid {
  grid-template-columns: minmax(0, 1.24fr) repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  align-items: stretch;
}
.reviews-grid article { background: #fff; border: 1px solid var(--warm-line); border-radius: 14px; }
.reviews-grid article:first-child { background: var(--navy); color: white; border-color: var(--navy); }
.reviews-grid article:first-child :is(blockquote, p, a) { color: white; }
.reviews-grid article:first-child .j-stars { color: #ffb87d; }
.reviews-grid blockquote { overflow-wrap: anywhere; }
.renew-pane { background: #e9eef2; }
.renew-inner { padding-block: clamp(42px, 7vw, 94px); }
.renew-form { border-radius: 14px; padding: clamp(17px, 3vw, 35px); }

/* Inner pages */
body .inner-hero {
  background: var(--navy);
  color: white;
  border-bottom: 4px solid var(--orange);
  overflow: visible;
}
body .inner-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  gap: clamp(22px, 5vw, 68px);
  min-height: var(--inner-height);
  padding-block: 23px;
}
body .inner-copy { position: relative; z-index: 1; padding-block: 24px; }
body .inner-copy h1 { max-width: 20ch; }
body .inner-copy h1 em { color: #ff9b57; }
body .inner-copy > p { max-width: 52ch; }
body .inner-pic, body.station-body main .inner-pic {
  position: relative;
  inset: auto;
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px 16px 16px 3px;
  border: 1px solid #ffffff40;
}
.inner-pic img { display: block; width: 100%; object-position: center; }
.inner-pic figcaption { padding: 8px 12px; }
.inner-pic:after { content: none; }
.su-hours, .su-contact-block, .st-inquiry form { border-radius: 14px; }
.st-section figure img, .su-illustration img { border-radius: 12px; }
body .su-main { background: var(--paper); }
.su-contact-grid { gap: 18px; }
.su-guide, .su-legal { overflow-wrap: anywhere; }
.su-questions summary, .st-faq summary { min-height: 44px; }
.su-directory a { border-radius: 8px; }
.preview-caption { font-size: .9rem !important; color: var(--dim); }
[hidden] { display: none !important; }

@media (min-width: 1480px) {
  .hero-content.j-wrap { padding-left: max(var(--gutter), calc((100vw - var(--wide)) / 2)); }
  .j-hero .hero-photo { margin-right: max(var(--gutter), calc((100vw - var(--wide)) / 2)); }
}
@media (max-width: 1000px) {
  :root { --image-cap: 800px; }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-content.j-wrap { padding-right: 17px; }
  .j-hero .hero-photo { margin-block: 25px; }
  .trip-grid > a { padding-inline: 12px; }
}
@media (max-width: 767px) {
  :root {
    --image-cap: 512px;
    --gutter: 18px;
    --inner-height: 0px;
  }
  main img:not([width="114"]):not([width="133"]) { max-height: 70svh; }
  .j-head-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 67px; gap: 2px; }
  .j-brand { grid-column: 2; grid-row: 1; }
  .j-brand img { height: 55px; width: 92px; }
  .j-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
  .j-head nav { display: none; }
  .j-head nav.open { display: grid; text-align: center; }
  .j-head .head-cta { display: none; }
  body .j-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-content.j-wrap { grid-area: auto; grid-row: 1; padding: 31px var(--gutter) 23px; }
  .hero-content .j-label { margin-bottom: 14px; }
  body .hero-content h1 {
    font-size: clamp(2.65rem, 10.5vw, 4.25rem) !important;
    max-width: 13ch;
  }
  .hero-sub { margin: 15px auto 17px; }
  .j-hero .hero-photo {
    grid-area: auto;
    grid-row: 2;
    width: min(calc(100% - var(--gutter) * 2), var(--image-cap));
    height: auto;
    max-height: 70svh;
    margin: 0 auto 23px;
    aspect-ratio: 1.76;
    border-radius: 13px 13px 13px 4px;
  }
  .trip-grid { padding-block: 8px; }
  .trip-grid > a { min-height: 72px; justify-content: center; gap: 4px; }
  .trip-grid > a::after { display: none; }
  .guide-grid { padding-block: 29px 35px; }
  .reviews-grid { gap: 11px; }
  .reviews-grid article { padding: 13px 9px; }
  .reviews-grid article:first-child { grid-column: 1 / -1; }
  .renew-form > b, .renew-form > p { text-align: center; }
  body .inner-frame { grid-template-columns: 1fr; gap: 0; padding: 25px 0 18px; }
  body .inner-copy > p { margin: 9px auto 0; }
  body .inner-copy h1 { font-size: clamp(2.15rem, 8vw, 3.5rem) !important; margin-inline: auto; }
  body .inner-pic, body.station-body main .inner-pic {
    width: min(100%, var(--image-cap));
    max-height: 70svh;
    aspect-ratio: 2.35;
    margin: auto;
  }
  .inner-pic img { height: 100%; }
  .inner-pic figcaption { padding: 4px 5px; }
  main :is(h1, h2, h3) { text-align: center; }
  .j-foot-grid > div:first-child img { display: block; margin-inline: auto; }
}
@media (max-width: 374px) {
  .j-toggle { font-size: .85rem; padding-inline: 8px; }
  .j-toggle .menu-lines { width: 15px; }
  .menu-lines i { width: 15px; }
}
.hero-content h1 em { display: block; }
.hero-photo[role="img"] { background-image: url('/assets/bay.jpg'); }
@media (max-width: 767px) {
  .j-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
  .j-head nav.open {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    padding: 12px 20px 18px;
    gap: 0;
    background: var(--paper);
    box-shadow: 0 9px 20px #112c4a27;
    border-bottom: 1px solid var(--warm-line);
  }
  .j-head nav.open a { justify-self: center; }
  .guide-grid > div { text-align: center; }
}
body .hero-content h1 { letter-spacing: -.055em !important; }
body .hero-content h1 em { color: var(--rust); }
.renew-form .form-error {
  padding: 8px 12px;
  color: #872a00;
  background: #fff1e7;
  border-inline-start: 3px solid var(--rust);
}
.study-map {
  display: grid;
  place-items: center;
  min-height: 240px;
  background-color: #e9eef2;
  background-image: repeating-linear-gradient(32deg, transparent 0 36px, #d0dbe3 37px 40px);
  color: var(--navy);
  font-weight: 700;
}
