@font-face {
  font-family: "Hochstadt-Serif";
  src: url("../fonts/Hochstadt-Serif.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0e364d;
  --rust: #a85121;
  --sand: #f0e3c6;
  --canvas: #f2efe9;
  --canvas-muted: #edeae1;
  --orange: #da7b3a;
  --ink: #1e2e3b;
  --white: #fff;
  --content: 1200px;
  /* A fixed 64px total gutter pinned interior text 32px from the edge on every
     viewport under ~1264px. This scales instead, so laptop widths breathe. */
  --gutter: clamp(26px, 4.6vw, 72px);
  --radius: 10px;
  --header-height: 150px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.48;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: var(--white);
}

.header-inner {
  display: grid;
  grid-template-columns: 170px 1fr 210px;
  align-items: center;
  width: min(calc(100% - 64px), 1300px);
  height: 100%;
  margin-inline: auto;
}

.brand-link {
  width: 120px;
  justify-self: start;
}

.brand-link img {
  width: 120px;
  height: 119px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 38px;
  font-size: 15px;
}

.primary-nav a {
  position: relative;
  padding: 12px 0;
  color: #000;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: #000;
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.phone-button,
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  background: var(--rust);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.phone-button {
  width: 200px;
  justify-self: end;
}

.button {
  padding: 16px 32px;
}

.phone-button:hover,
.button:hover {
  background: var(--sand);
  color: var(--navy);
}

.mobile-toolbar-actions,
.menu-button,
.mobile-phone {
  display: none;
}

.mobile-drawer {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(78vw, 310px);
  overflow-y: auto;
  padding: 24px 28px 40px;
  background: var(--orange);
  color: var(--white);
  transform: translateX(105%);
  transition: transform 0.2s ease;
}

.mobile-drawer[data-open="true"] {
  transform: translateX(0);
}

.drawer-close {
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0 0 14px auto;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

.drawer-logo {
  width: 176px;
  height: auto;
  margin: 0 auto 24px;
}

.drawer-nav {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin-bottom: 36px;
  font-family: "Hochstadt-Serif", Georgia, serif;
  font-size: 20px;
  text-transform: uppercase;
}

.drawer-nav a {
  color: var(--white);
  text-decoration: none;
}

.drawer-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  font-size: 13px;
  line-height: 1.4;
}

.drawer-meta strong {
  display: block;
  margin-bottom: 9px;
  font-family: "Hochstadt-Serif", Georgia, serif;
  font-size: 17px;
  text-transform: uppercase;
}

.drawer-scrim {
  position: fixed;
  z-index: 999;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.drawer-scrim[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--rust);
  font-size: 15px;
  text-transform: uppercase;
}

.display {
  margin: 0;
  text-wrap: balance;
  font-family: "Hochstadt-Serif", Georgia, serif;
  font-size: clamp(42px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.display .navy,
.navy {
  color: var(--navy);
}

.display .rust,
.rust {
  color: var(--rust);
}

.home-hero {
  background: var(--canvas);
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(520px, 1.05fr);
  gap: 55px;
  align-items: center;
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  min-height: 900px;
  margin-inline: auto;
  padding: 70px 0 84px;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy .display {
  margin-bottom: 28px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: 17px;
}

.hero-collage {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(190px, 0.85fr);
  grid-template-rows: 230px 160px 210px;
  gap: 24px;
  align-items: stretch;
}

.hero-photo {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.hero-photo-main {
  grid-row: 1 / 3;
  object-position: center 26%;
}

.hero-photo-top {
  grid-column: 2;
  grid-row: 1;
  object-position: center 22%;
}

.hero-photo-tall {
  grid-column: 2;
  grid-row: 2 / 4;
  object-position: center 25%;
}

.hero-photo-bottom {
  grid-column: 1;
  grid-row: 3;
  width: 94%;
  object-position: center 28%;
}

.hero-mobile-collage {
  display: none;
}

.value-section {
  background: var(--canvas);
  border-top: 1px solid rgba(14, 54, 77, 0.03);
}

.value-inner {
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 54px;
  width: min(calc(100% - 56px), 1360px);
  margin-inline: auto;
  padding: 78px 0 72px;
}

.value-photo {
  min-height: 610px;
  border-radius: 12px;
  background: url("../images/value-catch.jpg") center / cover no-repeat;
}

.value-content {
  align-self: center;
  text-align: center;
}

.value-content .eyebrow {
  margin-bottom: 8px;
}

.value-content .display {
  max-width: 790px;
  margin: 0 auto 48px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.comparison {
  padding: 0 24px;
}

.comparison-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  place-items: center;
  border: 4px solid currentColor;
  border-radius: 50%;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.comparison h3 {
  margin: 0 auto 20px;
  font-family: "Hochstadt-Serif", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.comparison ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
}

.comparison li::before {
  margin-right: 8px;
  content: "✓";
  font-weight: 700;
}

.comparison.avoid li::before {
  color: var(--navy);
  content: "×";
}

.comparison.want {
  color: var(--rust);
}

.comparison.want h3 {
  color: var(--navy);
}

.comparison .button {
  margin-top: 24px;
}

.benefits-section {
  background: var(--white);
}

.benefits-inner {
  display: grid;
  grid-template-columns: 2fr minmax(340px, 0.95fr);
  gap: 52px;
  width: min(calc(100% - 64px), 1340px);
  margin-inline: auto;
  padding: 78px 0 82px;
}

.benefits-copy .eyebrow,
.benefits-copy > .display {
  text-align: center;
}

.benefits-copy > .display {
  max-width: 880px;
  margin-inline: auto;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px 42px;
  margin-top: 54px;
}

.benefit {
  text-align: center;
}

.benefit-number {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.benefit h3 {
  margin: 0 0 16px;
  color: var(--rust);
  font-family: "Hochstadt-Serif", Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.benefit p {
  margin: 0;
  font-size: 16px;
}

.benefits-photo {
  min-height: 760px;
  align-self: end;
  border-radius: var(--radius);
  background: url("../images/benefit-catch.jpg") center / cover no-repeat;
}

.contact-section {
  min-height: 930px;
  padding: 72px 4%;
  background: #fff url("../images/contact-background.jpg") center / cover no-repeat;
}

.contact-inner {
  display: flex;
  width: min(100%, 1360px);
  min-height: 780px;
  align-items: center;
  justify-content: flex-end;
  margin-inline: auto;
}

.contact-panel {
  width: min(54%, 650px);
  padding: 54px 48px 42px;
  border-radius: var(--radius);
  background: rgba(242, 239, 233, 0.88);
}

.contact-panel .display {
  margin-bottom: 22px;
  font-size: clamp(42px, 4vw, 60px);
}

.contact-intro {
  margin: 0 0 28px;
  font-size: 16px;
}

.contact-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.contact-fact {
  display: grid;
  gap: 10px;
  align-items: start;
  font-size: 14px;
}

.fact-icon {
  display: block;
  width: 34px;
  height: 34px;
  color: var(--navy);
}

.fact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-fact a {
  color: inherit;
  text-decoration: none;
}

.contact-fact a:hover,
.contact-fact a:focus-visible {
  text-decoration: underline;
}

.contact-fact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--rust);
  font-family: "Hochstadt-Serif", Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 5px;
  font-size: 14px;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--navy);
  border-radius: 1px;
  background: transparent;
  color: var(--navy);
  font-size: 16px;
}

.field input {
  min-height: 42px;
}

.field textarea {
  min-height: 90px;
  padding-top: 8px;
  resize: vertical;
}

.field [aria-invalid="true"] {
  border-bottom-width: 2px;
  border-color: #9e1b1b;
}

.field-error {
  display: none;
  color: #7d1111;
  font-size: 13px;
  font-weight: 700;
}

.field-error[data-visible="true"] {
  display: block;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.contact-form .button {
  width: 200px;
  justify-self: end;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.75fr 0.75fr;
  gap: 44px;
  width: min(calc(100% - 64px), 1340px);
  min-height: 310px;
  /* start-align so the column headings share a baseline; the logo re-centres
     itself below so it still sits against the middle of the block. */
  align-items: start;
  margin-inline: auto;
  padding: 42px 0 34px;
}

.footer-logo {
  width: 120px;
  height: auto;
  align-self: center;
}

.footer-block {
  font-size: 15px;
  line-height: 1.45;
}

.footer-block strong {
  display: block;
  margin-bottom: 18px;
  font-family: "Hochstadt-Serif", Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
}

.footer-block a {
  display: inline-block;
  min-height: 24px;
  line-height: 24px;
  color: var(--white);
  text-decoration: none;
}

.footer-block a:hover {
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  justify-content: center;
  width: min(calc(100% - 48px), 1200px);
  margin-inline: auto;
  padding: 0 0 24px;
  font-size: 12px;
  text-align: center;
}

.footer-legal a {
  color: var(--white);
}

.page-intro {
  background: var(--canvas);
}

/* Copy leads, photography supports — the same relationship the homepage hero
   uses, so interior pages read as part of one site rather than text-only slabs.
   The previous single-column version left roughly 600px of the container empty. */
.page-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  margin-inline: auto;
  padding: 84px 0;
}

.page-intro-copy {
  max-width: 34rem;
}

.page-intro .display {
  font-size: clamp(40px, 3.7vw, 56px);
}

.page-intro-text {
  max-width: 46ch;
  margin: 22px 0 0;
  font-size: 17px;
}

.page-intro-media img {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 30%;
}

/* A portrait source in the shared landscape box crops hard. Give it more height
   and aim the frame at the subject rather than the centre. */
.page-intro-media.is-portrait img {
  height: 540px;
  object-position: 38% 42%;
}

@media (max-width: 900px) {
  .page-intro-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 56px 0 52px;
  }

  .page-intro-media img {
    height: 260px;
  }

  /* Two-class specificity beats the rule above, so the portrait needs its own
     narrow-viewport height rather than inheriting the full desktop 540px. */
  .page-intro-media.is-portrait img {
    height: 400px;
  }
}

/* Question left, answer right. Hairline rules carry the separation so each row
   groups by proximity instead of by a container, and the wide field is used
   rather than padded out. */
.qa-section {
  background: var(--white);
}

.qa-inner {
  width: min(calc(100% - 2 * var(--gutter)), 1080px);
  margin-inline: auto;
  padding: 76px 0 84px;
}

.qa-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  padding: 30px 0;
  border-top: 1px solid rgba(14, 54, 77, 0.14);
}

.qa-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.qa-row:last-child {
  padding-bottom: 0;
}

.qa-row h2 {
  margin: 0;
  color: var(--rust);
  font-family: "Hochstadt-Serif", Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.12;
  text-transform: uppercase;
}

.qa-row p {
  max-width: 62ch;
  margin: 0;
  font-size: 17px;
}

@media (max-width: 820px) {
  .qa-inner {
    padding: 52px 0 58px;
  }

  .qa-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px 0;
  }
}





.faq-cta {
  background: var(--canvas-muted);
}

.faq-cta-inner {
  width: min(calc(100% - 2 * var(--gutter)), 780px);
  margin-inline: auto;
  padding: 72px 0 88px;
  text-align: center;
}

.faq-cta .display {
  margin: 0 0 26px;
  font-size: clamp(34px, 3.2vw, 46px);
}



.trips-section {
  background: var(--white);
}

/* Four equivalent trips, so a 2x2 field. The previous auto-fit grid resolved to
   three columns and orphaned the fourth card on its own row. */
.trips-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: min(calc(100% - 2 * var(--gutter)), 1040px);
  margin-inline: auto;
  padding: 76px 0 84px;
}

.trip-card {
  padding: 38px 36px 40px;
  border-radius: var(--radius);
  /* Warm panel on the white field. White-on-white left the cards invisible. */
  background: var(--canvas);
}

@media (max-width: 820px) {
  .trips-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 52px 0 58px;
  }

  .trip-card {
    padding: 30px 26px 32px;
  }
}

.trip-card h2 {
  margin: 0 0 6px;
  color: var(--rust);
  font-family: "Hochstadt-Serif", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

.trip-duration {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trip-card p:last-child {
  margin: 0;
  font-size: 16px;
}

.included-section {
  background: var(--canvas-muted);
}

.included-inner {
  width: min(calc(100% - 2 * var(--gutter)), 820px);
  margin-inline: auto;
  padding: 72px 0 88px;
  text-align: center;
}

.included-inner .display {
  margin: 0 0 26px;
  font-size: clamp(32px, 3vw, 44px);
}

.included-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
  justify-items: start;
  text-align: left;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 16px;
}

.included-list li::before {
  margin-right: 8px;
  color: var(--rust);
  content: "✓";
}

.price-note {
  margin: 0 0 26px;
  font-size: 16px;
  font-weight: 700;
}

.captain-section {
  background: var(--white);
}

.captain-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
  gap: 56px;
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  margin-inline: auto;
  padding: 76px 0 84px;
  align-items: start;
}

.captain-copy p {
  max-width: 68ch;
  margin: 0 0 20px;
  font-size: 17px;
}

.captain-boat {
  padding: 32px 30px 34px;
  border-radius: var(--radius);
  background: var(--canvas);
}

.captain-boat h2 {
  margin: 0 0 16px;
  color: var(--rust);
  font-family: "Hochstadt-Serif", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
}

.captain-boat ul {
  margin: 0;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .captain-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

.gallery-content,
.confirmation-content {
  background: var(--canvas-muted);
}

.gallery-content-inner {
  width: min(calc(100% - 64px), 1380px);
  margin-inline: auto;
  padding: 58px 0 90px;
}

.gallery-intro {
  margin: 0 0 42px;
  font-family: "Hochstadt-Serif", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}

.gallery-grid {
  columns: 6 180px;
  column-gap: 11px;
}

.gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 11px;
  padding: 0;
  break-inside: avoid;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gallery-item:hover img {
  opacity: 0.92;
  transform: scale(1.02);
}

.lightbox {
  position: fixed;
  z-index: 1500;
  inset: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  padding: 56px 24px 24px;
  background: rgba(0, 0, 0, 0.92);
  color: var(--white);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  display: grid;
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 96px);
  gap: 12px;
  justify-self: center;
  margin: 0;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 130px);
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-caption {
  font-size: 14px;
  text-align: center;
}

.lightbox-close,
.lightbox-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 30px;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
}

.confirmation-content-inner {
  display: grid;
  width: min(calc(100% - 64px), 1000px);
  min-height: 390px;
  align-content: center;
  justify-items: center;
  margin-inline: auto;
  padding: 70px 0;
  text-align: center;
}

.confirmation-content h2 {
  max-width: 900px;
  margin: 0 0 40px;
  font-family: "Hochstadt-Serif", Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}

.not-found {
  display: grid;
  min-height: 60vh;
  align-content: center;
  justify-items: center;
  padding: 64px 24px;
  background: var(--canvas);
  text-align: center;
}

.not-found .display {
  margin-bottom: 22px;
}

@media (max-width: 1100px) {
  :root {
    --header-height: 132px;
  }

  .header-inner {
    grid-template-columns: 140px 1fr 180px;
  }

  .brand-link,
  .brand-link img {
    width: 104px;
  }

  .brand-link img {
    height: 103px;
  }

  .primary-nav {
    gap: 26px;
    font-size: 14px;
  }

  .phone-button {
    width: 174px;
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 74px 0;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-collage {
    max-width: 850px;
  }

  .value-inner {
    grid-template-columns: 40% 1fr;
  }

  .benefits-inner {
    grid-template-columns: 1fr;
  }

  .benefits-photo {
    min-height: 560px;
    background-position: center 35%;
  }

  .contact-panel {
    width: 60%;
  }

  .gallery-grid {
    columns: 4 180px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 126px;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    height: var(--header-height);
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    width: 100%;
    padding: 0 22px;
  }

  .primary-nav,
  .phone-button {
    display: none;
  }

  .brand-link {
    grid-column: 2;
    width: 93px;
  }

  .brand-link img {
    width: 93px;
    height: 92px;
  }

  .mobile-toolbar-actions {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    justify-self: start;
  }

  .mobile-phone,
  .menu-button {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--navy);
    text-decoration: none;
  }

  .mobile-phone svg,
  .menu-button svg {
    width: 32px;
    height: 32px;
  }

  /* The phone outline is narrower than the menu bars, so it needs a little more
     size to carry the same optical weight in the toolbar. */
  .mobile-phone svg {
    width: 36px;
    height: 36px;
  }

  .menu-button {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    cursor: pointer;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .display {
    font-size: clamp(38px, 11.5vw, 48px);
  }

  .home-hero-inner {
    display: block;
    width: auto;
    padding: 42px 26px 48px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .hero-copy .button {
    width: 100%;
  }

  .hero-collage {
    display: none;
  }

  .hero-mobile-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 123px 82px 123px;
    gap: 10px;
    margin-top: 30px;
  }

  .hero-mobile-collage img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    object-fit: cover;
  }

  .hero-mobile-collage img:nth-child(1) {
    grid-row: 1;
  }

  .hero-mobile-collage img:nth-child(2) {
    grid-row: 2 / 4;
  }

  .hero-mobile-collage img:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .hero-mobile-collage img:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .value-inner {
    display: block;
    width: auto;
    padding: 56px 26px 62px;
  }

  .value-photo {
    display: none;
  }

  .value-content .display {
    margin-bottom: 36px;
  }

  .comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .comparison {
    padding: 0;
  }

  .comparison h3 {
    max-width: 290px;
    font-size: 24px;
  }

  .comparison ul {
    font-size: 14px;
  }

  .comparison .button {
    width: 100%;
  }

  .benefits-inner {
    display: block;
    width: auto;
    padding: 54px 26px 68px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 52px;
    margin-top: 44px;
  }

  .benefit h3 {
    max-width: 300px;
    margin-inline: auto;
    font-size: 25px;
  }

  .benefit p {
    max-width: 340px;
    margin-inline: auto;
    font-size: 14px;
  }

  .benefits-photo {
    display: none;
  }

  .contact-section {
    min-height: 0;
    padding: 46px 24px 60px;
    background-position: center;
  }

  .contact-inner {
    display: block;
    min-height: 0;
  }

  .contact-panel {
    width: 100%;
    padding: 32px 24px 28px;
  }

  .contact-panel .display {
    font-size: 43px;
  }

  .contact-facts {
    grid-template-columns: 1fr;
  }

  .contact-form .button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    width: auto;
    min-height: 0;
    align-items: start;
    padding: 52px 32px 42px;
  }

  .footer-logo {
    width: 100px;
  }

  .footer-block {
    font-size: 14px;
  }

  .footer-legal {
    display: grid;
    gap: 10px;
    justify-items: start;
    width: auto;
    padding: 0 32px 34px;
    text-align: left;
  }

  .page-intro-inner {
    width: auto;
    padding: 50px var(--gutter) 46px;
  }

  .page-intro .display {
    font-size: 46px;
  }

  .gallery-content-inner {
    width: auto;
    padding: 46px 22px 70px;
  }

  .gallery-intro {
    font-size: 27px;
  }

  .gallery-grid {
    columns: 2 140px;
    column-gap: 10px;
  }

  .gallery-item {
    margin-bottom: 10px;
  }

  .lightbox {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    padding-inline: 8px;
  }

  .lightbox-arrow {
    width: 40px;
    height: 40px;
  }

  .confirmation-content-inner {
    width: auto;
    min-height: 360px;
    padding: 64px 26px;
  }

  .confirmation-content h2 {
    font-size: 34px;
  }
}

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

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

  .gallery-item:hover img {
    transform: none;
  }
}
