:root {
  --brand-blue: #076d9e;
  --brand-blue-dark: #04567e;
  --ink: #0a3d59;
  --ink-deep: #052f46;
  --sea: #93b9c5;
  --sea-light: #dcebed;
  --sand: #ded2bd;
  --sand-light: #f1e9dc;
  --paper: #f9f6ef;
  --paper-bright: #fffdf8;
  --line: rgba(7, 109, 158, 0.22);
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-deep);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 116px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(249, 246, 239, 0.96);
}

.wordmark {
  display: flex;
  width: clamp(248px, 23vw, 340px);
  min-height: 66px;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(18px, 2.6vw, 42px);
}

nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--brand-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  min-height: 715px;
  grid-template-columns: minmax(440px, 0.92fr) minmax(520px, 1.08fr);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 78px clamp(36px, 6vw, 96px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 690px;
  margin-bottom: 25px;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 7.2vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.hero-location {
  position: relative;
  margin: 0 0 31px;
  padding-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 600;
}

.hero-location::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--brand-blue);
  content: "";
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 35px;
}

.button {
  min-width: 168px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--brand-blue-dark);
  background: var(--brand-blue-dark);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--sea-light);
}

.opening {
  max-width: 390px;
  margin: 0;
  padding: 18px 20px 19px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand-blue);
  background: var(--paper-bright);
  line-height: 1.35;
}

.opening span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.opening strong {
  display: block;
  color: var(--ink-deep);
  font-size: clamp(1.25rem, 1.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
}

.opening em {
  display: block;
  margin-top: 7px;
  color: #345470;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  margin: 0;
  min-height: 610px;
  overflow: hidden;
  background: var(--sea-light);
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 47, 70, 0.58) 100%);
  content: "";
}

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

.hero-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 26px;
  padding: 9px 13px 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(5, 47, 70, 0.72);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper-bright);
}

.offer-card {
  min-height: 270px;
  padding: 34px clamp(24px, 3vw, 44px);
  border-right: 1px solid var(--line);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.offer-card:last-child {
  border-right: 0;
}

.offer-card:hover {
  background: var(--sea-light);
  transform: translateY(-4px);
}

.offer-number {
  display: block;
  margin-bottom: 38px;
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.offer-card h2 {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  font-weight: 400;
}

.offer-card p {
  margin-bottom: 0;
  color: #345470;
  font-size: 0.92rem;
}

.section-shell {
  padding: clamp(80px, 9vw, 140px) clamp(24px, 6vw, 100px);
}

.intro {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(52px, 10vw, 170px);
}

.section-kicker {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--brand-blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-copy {
  max-width: 820px;
}

.section-copy h2,
.celebrations h2,
.contact h2 {
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-copy .lead {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.5;
}

.section-copy p:last-child {
  max-width: 690px;
  color: #345470;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  padding-top: 0;
}

.photo-frame {
  position: relative;
  display: block;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(12, 49, 95, 0.17);
  background: var(--sea-light);
}

.photo-frame::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 47, 70, 0.58));
  content: "";
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.photo-frame:hover img {
  transform: scale(1.018);
}

.photo-frame figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-large {
  min-height: 560px;
  grid-row: 1 / span 2;
}

.photo-large img {
  object-position: center;
}

.celebrations {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  background: var(--ink-deep);
  color: var(--paper-bright);
}

.celebrations-panel {
  max-width: 850px;
  padding-right: clamp(20px, 6vw, 110px);
}

.celebrations-panel p:not(.eyebrow) {
  max-width: 670px;
  color: #d5e2e8;
  font-size: 1.07rem;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 5px;
  border-bottom: 2px solid #83c4dc;
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.celebrations-aside {
  display: flex;
  flex-direction: column;
  align-self: center;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.celebrations-aside p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #d5e2e8;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 8vw, 130px);
  background: var(--sand-light);
}

.contact address {
  font-style: normal;
  font-size: 1.15rem;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-self: end;
  gap: 30px;
}

.contact-list > div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-list span {
  color: var(--brand-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.route-card {
  display: flex;
  min-height: 100px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 24px 30px;
  border: 1px solid var(--ink);
  font-size: 1.04rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.route-card:hover,
.route-card:focus-visible {
  background: var(--ink);
  color: white;
}

.route-card strong {
  font-size: 1.7rem;
  font-weight: 400;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 36px;
  padding: 42px clamp(24px, 6vw, 100px);
  background: var(--brand-blue);
  color: white;
}

.footer-brand {
  width: 260px;
  height: auto;
}

.footer-brand img {
  filter: brightness(0) invert(1);
}

footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: white;
}

.legal-page {
  min-height: 70vh;
  padding: clamp(70px, 8vw, 120px) clamp(24px, 16vw, 260px);
}

.legal-page h1 {
  margin-bottom: 55px;
  font-size: clamp(2.75rem, 4.6vw, 4.5rem);
}

.legal-page h2 {
  margin: 42px 0 12px;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
}

.legal-page p,
.legal-page li {
  max-width: 780px;
  color: #345470;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 45px;
  font-weight: 700;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }

  .offer-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-card:nth-child(2) {
    border-right: 0;
  }

  .offer-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .intro,
  .celebrations,
  .contact {
    grid-template-columns: 1fr;
  }

  .celebrations-aside {
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
    padding: 18px 20px;
  }

  .wordmark {
    width: 248px;
    min-height: 48px;
  }

  nav {
    gap: 7px 18px;
  }

  nav a {
    font-size: 0.8rem;
  }

  .hero-copy {
    padding: 68px 22px;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5.2rem);
  }

  .hero-visual {
    min-height: 340px;
  }

  .offer-strip,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .offer-card:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .offer-number {
    margin-bottom: 20px;
  }

  .section-shell {
    padding: 72px 22px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-top: 0;
  }

  .photo-large {
    min-height: 340px;
    grid-row: auto;
  }

  .photo-frame {
    min-height: 260px;
  }

  .celebrations-panel {
    padding-right: 0;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
