:root {
  --paper: #f7f5f0;
  --paper2: #fbfaf7;
  --ink: #172016;
  --muted: #656960;
  --line: #dedbd3;
  --olive: #34432c;
  --olive2: #4d5a43;
  --shadow: 0 14px 35px rgba(24, 30, 22, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
}

body.no-scroll {
  overflow: hidden;
}


/* =========================
   SKIP LINK
========================= */

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}


/* =========================
   HEADER
========================= */

.site-header {
  height: 112px;
  background: rgba(248, 246, 241, .98);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 5vw;
  gap: 38px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 225px;
}

.plane-logo {
  width: 66px;
  height: 25px;
  margin-bottom: 3px;
}

.plane-logo svg {
  width: 100%;
  height: 100%;
  fill: #4d5749;
}

.brand-name,
.air-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: .34em;
}

.brand-name {
  font-size: 23px;
}

.tagline {
  font-size: 8px;
  letter-spacing: .3em;
  margin-top: 5px;
}


/* =========================
   NAVIGATION
========================= */

/* Terms & Conditions sits close to Check-In */
.desktop-nav {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
  flex: 1;
  margin-left: auto;
  margin-right: 0;
}

.desktop-nav a,
.langs button {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}

.desktop-nav a:hover,
.langs button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.outline-btn {
  background: transparent;
  border: 1px solid #65675f;
  padding: 15px 38px;
  letter-spacing: .15em;
  font-size: 10px;
  cursor: pointer;
  color: var(--ink);
}

.outline-btn:hover {
  background: #eeece5;
}

.langs {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #777a72;
}

.lang.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 32px;
  padding: 6px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 1px;
  background: var(--ink);
  margin: 5px 0;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 560px;
  max-width: 1240px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 55px 5vw 35px;
  gap: 30px;
}

.hero-copy {
  text-align: center;
  padding-left: 2vw;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: .18em;
  font-size: 38px;
  font-weight: 600;
  margin: 0;
}

.hero-rule {
  width: 42px;
  height: 1px;
  background: #9b9c94;
  margin: 25px auto;
}

.primary-btn {
  background: var(--olive);
  color: #fff;
  border: 0;
  padding: 16px 62px;
  letter-spacing: .17em;
  font-size: 11px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.primary-btn:hover {
  background: #26321f;
  transform: translateY(-1px);
}

.primary-btn:focus-visible,
.outline-btn:focus-visible,
.lang:focus-visible,
.menu-btn:focus-visible,
.modal-close:focus-visible {
  outline: 2px solid #69735f;
  outline-offset: 3px;
}

.boarding-note {
  font-size: 9px;
  letter-spacing: .18em;
  margin: 12px 0 0;
}


/* =========================
   AIRCRAFT WINDOW
========================= */

.window-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.aircraft-window {
  position: relative;
  width: min(430px, 90%);
  aspect-ratio: .79;
  border-radius: 46% 46% 45% 45%;
  padding: 28px;
  background: linear-gradient(145deg, #f0ebe2, #cfc8bb);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, .15),
    inset 0 0 0 1px rgba(255, 255, 255, .9);
}

.aircraft-window::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 46% 46% 45% 45%;
  box-shadow: inset 0 0 0 1px rgba(100, 90, 75, .14);
  pointer-events: none;
}

.aircraft-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 43% 43% 42% 42%;
  display: block;
}

.window-highlight {
  position: absolute;
  inset: 25px;
  border-radius: 43% 43% 42% 42%;
  box-shadow:
    inset 10px 0 20px rgba(255, 255, 255, .2),
    inset -8px 0 18px rgba(95, 80, 60, .09);
  z-index: 2;
  pointer-events: none;
}


/* =========================
   BOOKING STATUS STRIP
========================= */

.status-strip {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--paper2);
  border: 1px solid #e1ded6;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.15fr;
}

.status-card {
  padding: 27px 25px;
  display: flex;
  gap: 16px;
  border-right: 1px solid #e2dfd8;
  min-height: 145px;
}

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

.status-icon {
  width: 27px;
  min-width: 27px;
  height: 27px;
  color: #56634d;
  margin-top: 2px;
}

.status-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-card small {
  display: block;
  font-size: 9px;
  letter-spacing: .14em;
  margin-bottom: 7px;
}

.status-card strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  letter-spacing: .1em;
  font-weight: 600;
  margin-bottom: 4px;
}

.status-card div > span:not(.green-dot) {
  display: block;
  font-size: 10px;
  letter-spacing: .1em;
  margin-top: 4px;
}

.green-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4e8545;
  font-size: 10px;
  letter-spacing: .1em;
}

.green-dot i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5e9855;
}


/* =========================
   TERMS & CONDITIONS
========================= */

.faq {
  border-top: 1px solid var(--line);
  padding: 85px 20px 100px;
}

.faq-inner {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}

.faq .eyebrow {
  text-align: center;
}

.faq h2 {
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: .15em;
  margin: 0;
}

.short-line,
.faq-line {
  width: 42px;
  height: 1px;
  background: #9b9c94;
  margin: 20px auto 45px;
}

.faq-list {
  width: 100%;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 24px 50px 24px 0;
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.6;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 50px 25px 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.faq-item a {
  color: var(--ink);
  text-underline-offset: 4px;
}


/* =========================
   FOOTER
========================= */

footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 30px 5vw;
  font-size: 9px;
  letter-spacing: .15em;
}

footer div {
  display: flex;
  flex-direction: column;
}


/* =========================
   CHECK-IN MODAL
========================= */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

.modal.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 15, .55);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  background: var(--paper);
  width: min(720px, 92vw);
  max-height: 90vh;
  overflow: auto;
  margin: 5vh auto;
  padding: 42px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--ink);
}

.modal-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: .15em;
  font-size: 30px;
  font-weight: 600;
  margin: 10px 0;
}

.modal-card > p:not(.eyebrow):not(.form-note) {
  font-size: 12px;
  line-height: 1.7;
}


/* =========================
   RSVP FORM
========================= */

#rsvpForm {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#rsvpForm label {
  display: block;
  font-size: 9px;
  letter-spacing: .14em;
  margin: 0;
}

#rsvpForm label > span {
  display: block;
  margin-bottom: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.modal-card input,
.modal-card select,
.modal-card textarea {
  display: block;
  width: 100%;
  margin-top: 0;
  padding: 15px;
  border: 1px solid #b9b6ae;
  border-radius: 0;
  background: #fffdf9;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  color: var(--ink);
  outline: none;
}

.modal-card input,
.modal-card select {
  height: 52px;
}

.modal-card textarea {
  min-height: 105px;
  resize: vertical;
}

.modal-card input:focus,
.modal-card select:focus,
.modal-card textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 1px var(--olive);
}

.modal-card .primary-btn {
  width: 100%;
  margin-top: 0;
}

.form-note {
  font-size: 9px;
  color: #73746e;
  line-height: 1.6;
  margin-top: 20px;
}


/* =========================
   FORM MESSAGES
========================= */

.success,
.form-error {
  margin-top: 0;
  border: 1px solid #a8b39f;
  padding: 14px;
  font-size: 10px;
  letter-spacing: .08em;
  line-height: 1.6;
}

.form-error {
  border-color: #b89a94;
  color: #713d35;
  background: #fbf8f6;
}

.success {
  color: var(--olive);
  background: #f5f7f2;
}


/* =========================
   CHECK-IN CONFIRMED
========================= */

.checkin-confirmed-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: .04em;
  color: var(--ink);
  text-align: center;
  margin-bottom: 24px;
}

.checkin-confirmed-message {
  max-width: 520px;
  margin: 0 auto;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .02em;
  color: var(--muted);
  text-align: center;
}

[hidden] {
  display: none !important;
}


@media (max-width: 600px) {

  .checkin-confirmed-title {
    font-size: 32px;
  }

  .checkin-confirmed-message {
    font-size: 13px;
    line-height: 1.7;
  }

}


/* =========================
   HONEYPOT
========================= */

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


/* =========================
   MODAL ACCESSIBILITY
========================= */

.modal[aria-hidden="true"] {
  pointer-events: none;
}

.modal[aria-hidden="false"] {
  pointer-events: auto;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

  .site-header {
    height: 86px;
    padding: 0 18px;
    justify-content: space-between;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 17px;
  }

  .tagline {
    font-size: 6px;
  }

  .plane-logo {
    width: 46px;
    height: 18px;
  }

  .header-actions {
    margin-left: auto;
    gap: 9px;
  }

  .desktop-nav {
    display: none;
  }

  .desktop-nav.mobile-open {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    background: #f8f6f1;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px;
    box-shadow: 0 12px 20px rgba(0, 0, 0, .06);
  }

  .desktop-nav.mobile-open a {
    padding: 14px 5px;
    border-bottom: 1px solid #ebe8e1;
  }

 .langs {
  display: flex;
  gap: 4px;
  align-items: center;
}

  .outline-btn {
    padding: 11px 18px;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 38px 20px;
    gap: 30px;
  }

  .hero-copy {
    padding: 0;
    order: 2;
  }

  .window-wrap {
    order: 1;
  }

  .aircraft-window {
    width: min(330px, 75vw);
  }

  .hero h1 {
    font-size: 29px;
  }

  .status-strip {
    margin: 0 14px;
    grid-template-columns: 1fr;
  }

  .status-card {
    border-right: 0;
    border-bottom: 1px solid #e2dfd8;
    min-height: auto;
    padding: 20px;
  }

  .status-card:last-child {
    border-bottom: 0;
  }

  .desktop-break {
    display: none;
  }

  .faq {
    padding: 70px 24px 80px;
  }

  footer {
    display: block;
    text-align: center;
    line-height: 2.3;
  }

  .modal-card {
    padding: 32px 24px;
    margin: 3vh auto;
    max-height: 94vh;
  }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .faq {
    padding: 60px 24px 75px;
  }

  .faq h2 {
    font-size: 29px;
  }

  .faq-item summary {
    font-size: 10px;
    padding: 20px 35px 20px 0;
  }

  .faq-item p {
    padding-right: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .modal-card {
    width: 94vw;
  }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 520px) {

  .hero {
    padding-top: 28px;
  }

  .aircraft-window {
    width: 250px;
  }

  .hero h1 {
    font-size: 26px;
    letter-spacing: .14em;
  }

  .primary-btn {
    padding: 15px 50px;
  }

  .status-card strong {
    font-size: 20px;
  }

  .modal-card h2 {
    font-size: 26px;
  }

  .modal-card {
    width: 94vw;
    padding: 28px 20px;
  }

  .form-row {
    gap: 22px;
  }

}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .primary-btn {
    transition: none;
  }

}
