/* One Way Travel Co. — holding page */

:root {
  --teal: #216d84;
  --teal-dark: #1a5a6e;
  --navy: #022a5e;
  --cream: #f6f3ee;
  --paper: #fffcf8;
  --sand: #e6e0d6;
  --muted: #415066;
  --focus: #216d84;
  --ivory: #f4f1ea;
  --shadow: 0 18px 40px rgba(2, 42, 94, 0.06);
  --radius: 16px;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-dark);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--sand);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 5.25rem;
  padding-block: 0.85rem;
}

.logo-header {
  width: min(22.5rem, 72vw);
  flex-shrink: 1;
}

.header-cta {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-cta:hover {
  background: var(--navy);
  color: #fff;
}

.header-cta--light {
  color: var(--ivory);
  border-color: var(--ivory);
}

.header-cta--light:hover {
  background: var(--ivory);
  color: var(--navy);
}

.site-header--on-hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: transparent;
  border-bottom: 0;
}

.site-header--on-hero .logo-header {
  filter: drop-shadow(0 2px 14px rgba(2, 42, 94, 0.35));
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--ivory);
  overflow: hidden;
  background: var(--navy);
}

.hero picture,
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: center 42%;
  max-width: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(2, 42, 94, 0.68) 0%,
      rgba(2, 42, 94, 0.38) 22%,
      rgba(33, 109, 132, 0.18) 48%,
      rgba(2, 42, 94, 0.12) 72%,
      rgba(2, 42, 94, 0.36) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(100% - 2.5rem, 44rem);
  margin: 0 auto;
  padding: 7.4rem 0 0;
  margin-bottom: auto;
  background: radial-gradient(ellipse at 50% 40%, rgba(2, 42, 94, 0.38) 0%, rgba(2, 42, 94, 0) 68%);
}

.hero-content .btn {
  margin-top: 0.35rem;
}

.hero-intro {
  background: var(--cream);
  padding: 2.75rem 0 0.25rem;
  text-align: center;
}

.hero-intro .lede {
  margin: 0 auto;
}

.logo-hero {
  width: min(11.25rem, 48vw);
  margin: 0 auto 0.85rem;
  filter: drop-shadow(0 4px 18px rgba(2, 42, 94, 0.35));
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero .eyebrow {
  color: #c5e0e8;
}

.hero h1 {
  margin: 0 auto 1.15rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-shadow: 0 2px 22px rgba(2, 42, 94, 0.45);
}

.lede {
  margin: 0 auto 2rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.hero .lede {
  color: rgba(244, 241, 234, 0.92);
  text-shadow: 0 1px 14px rgba(2, 42, 94, 0.4);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--cream);
  color: var(--navy);
}

/* Destinations */

.destinations {
  background: var(--cream);
  padding: 2.75rem 0 0;
}

.destinations .section-head {
  max-width: 46rem;
}

.dest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--cream);
}

.dest-card {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}

.dest-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  max-width: none;
  transition: transform 0.7s ease;
}

.dest-card:hover img {
  transform: scale(1.04);
}

.dest-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2.8rem 1rem 1.15rem;
  background: linear-gradient(to top, rgba(2, 42, 94, 0.82), rgba(2, 42, 94, 0));
  color: var(--ivory);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  letter-spacing: -0.01em;
  text-shadow: 0 1px 10px rgba(2, 42, 94, 0.45);
}

/* Divider */

.flight-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--teal);
  padding: 0 0 0.5rem;
}

.flight-rule span {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--teal);
  opacity: 0.85;
}

/* What we do */

.what {
  padding: 4.5rem 0 5rem;
}

.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.75rem;
}

.section-head h2 {
  margin: 0 0 0.85rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.7rem 1.55rem 1.6rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.7rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.35rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card-mark {
  display: block;
  width: 2.25rem;
  height: 2px;
  background: var(--teal);
  margin-bottom: 1.05rem;
}

/* Get in touch */

.contact {
  background: var(--navy);
  color: var(--ivory);
  padding: 4.5rem 0 4.75rem;
  text-align: center;
}

.contact .eyebrow {
  color: #9ec8d4;
}

.contact h2 {
  margin: 0 auto 1rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
}

.contact p {
  margin: 0 auto 1.9rem;
  max-width: 34rem;
  color: rgba(244, 241, 234, 0.86);
}

.contact-email {
  display: block;
  margin-top: 1.15rem;
  color: #c5e0e8;
  font-size: 0.95rem;
}

.contact-email:hover {
  color: #fff;
}

/* Footer */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--sand);
  padding: 2.5rem 0 2.25rem;
  text-align: center;
}

.footer-badge {
  width: 7.25rem;
  margin: 0 auto 1.15rem;
}

.site-footer p {
  margin: 0 auto 0.65rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.credits-line a {
  color: var(--teal);
}

.copyright {
  color: var(--navy) !important;
  letter-spacing: 0.02em;
}

/* Photo credits page */

.credits-page {
  padding: 3.5rem 0 5rem;
}

.credits-page .eyebrow {
  text-align: center;
}

.credits-page h1 {
  margin: 0 0 0.8rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  text-align: center;
}

.credits-intro {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.75rem;
  color: var(--muted);
}

.credit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.credit-list li {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.25rem;
}

.credit-list h2 {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.25rem;
}

.credit-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.credit-list a {
  overflow-wrap: anywhere;
}

/* 404 */

.simple-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.simple-page main {
  flex: 1;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 4rem 0;
}

.simple-page h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.8rem;
}

/* Responsive */

@media (min-width: 900px) {
  .dest-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
    align-items: stretch;
  }

  .card {
    padding: 1.9rem 1.6rem 1.75rem;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 1.75rem, var(--max));
  }

  .hero-content {
    width: min(100% - 1.75rem, 44rem);
    padding: 6.4rem 0 0;
  }

  .hero-photo {
    object-position: 30% 40%;
  }

  .logo-hero {
    width: min(9.5rem, 58vw);
  }

  .header-cta {
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
  }

  .logo-header {
    width: min(17.5rem, 68vw);
  }

  .dest-name {
    padding: 2rem 0.7rem 0.85rem;
  }
}

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

  .dest-card img,
  .dest-card:hover img {
    transition: none;
    transform: none;
  }
}


/* ---- Get a quote redesign ---- */

.btn-xl {
  font-size: 1rem;
  letter-spacing: 0.12em;
  padding: 1.2rem 2.9rem;
  box-shadow: 0 14px 34px rgba(2, 42, 94, 0.28);
}

.btn-xl.btn-light:hover,
.btn-xl.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.hero .eyebrow {
  margin-bottom: 0.6rem;
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1.6rem;
}

.hero-intro {
  padding: 3rem 0 1rem;
}

.promise {
  max-width: 40rem;
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: var(--navy);
}

.dest-grid a.dest-card {
  color: inherit;
  text-decoration: none;
}

.dest-card:focus-visible {
  outline-offset: -4px;
}

.cta-band {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0 3.75rem;
}

.cta-band h2 {
  margin: 0 0 0.6rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 0 1.7rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Gallery */

.gallery {
  padding: 4.5rem 0 1rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--navy);
}

.shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.shot--wide {
  grid-column: span 2;
}

.shot--wide img {
  aspect-ratio: auto;
}

.gallery .section-head {
  max-width: 46rem;
}

.section-head h2,
.cta-band h2,
.quote-intro h2 {
  text-wrap: balance;
}

.steps {
  margin: 1.75rem 0 1.5rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
  max-width: 30rem;
}

.steps li {
  position: relative;
  counter-increment: step;
  padding: 0 0 1rem 2.6rem;
  color: rgba(244, 241, 234, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 1px solid #9ec8d4;
  color: #9ec8d4;
  font-size: 0.8rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.steps strong {
  color: #fff;
}

.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 0.9rem 0.7rem;
  background: linear-gradient(to top, rgba(2, 42, 94, 0.78), rgba(2, 42, 94, 0));
  color: var(--ivory);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Quote form */

.quote {
  background: var(--navy);
  color: var(--ivory);
  padding: 4.5rem 0 5rem;
  scroll-margin-top: 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.quote .eyebrow {
  color: #9ec8d4;
}

.quote-intro h2 {
  margin: 0 0 1rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.quote-intro p {
  color: rgba(244, 241, 234, 0.9);
  max-width: 30rem;
}

.quote-aside {
  font-size: 0.9rem;
  color: rgba(244, 241, 234, 0.72) !important;
}

.quote-card {
  background: var(--paper);
  color: var(--navy);
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.6rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--navy);
  background: #fff;
  border: 1px solid #c9c2b6;
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
}

.field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.field [aria-invalid="true"] {
  border-color: #a4262c;
}

.field--radios {
  border: 0;
  padding: 0;
  margin: 0 0 1.1rem;
  min-width: 0;
}

.field--radios legend {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0;
}

.radio-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.radio-opt {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.55rem 1rem 0.55rem 0.7rem;
  border: 1px solid #c9c2b6;
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.radio-opt input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--teal);
}

.radio-opt:has(input:focus-visible) {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.field--radios:has([aria-invalid="true"]) .radio-opt {
  border-color: #a4262c;
}

.pets-details {
  display: none;
  margin-top: 0.85rem;
}

.field--radios:has(input[value="Yes"]:checked) .pets-details {
  display: block;
}

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.7rem;
  align-items: start;
}

.field--check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.2rem 0 0;
  accent-color: var(--teal);
}

.field--check label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.field--check .field-error {
  grid-column: 1 / -1;
}

.field-error {
  margin: 0.4rem 0 0;
  font-size: 0.84rem;
  color: #a4262c;
}

.form-error {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #fbeaea;
  border: 1px solid #e3b4b6;
  color: #7a1c20;
  font-size: 0.92rem;
}

.form-error a {
  color: #7a1c20;
  font-weight: 600;
}

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-box {
  margin-bottom: 1rem;
}

.mailto-line {
  margin: 1.1rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.thanks {
  text-align: center;
  padding: 2.2rem 0.5rem;
}

.thanks:focus {
  outline: none;
}

.thanks h3 {
  margin: 0 0 0.7rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.7rem;
}

.thanks p {
  margin: 0;
  color: var(--muted);
}

/* Prose pages (privacy) */

.prose h2 {
  margin: 2rem 0 0.4rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.4rem;
}

.prose p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.prose .wrap {
  max-width: 44rem;
}

@media (min-width: 900px) {
  .shots {
    grid-template-columns: repeat(4, 1fr);
  }

  .shot--wide {
    grid-column: span 2;
  }
}

@media (min-width: 960px) {
  .quote-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }

  .quote-card {
    padding: 2.2rem 2.2rem 1.9rem;
  }

  .quote-intro {
    position: sticky;
    top: 2rem;
  }
}

@media (max-width: 640px) {
  .btn-xl {
    padding: 1.1rem 2.2rem;
  }
}
