:root {
  --ink: #16233D;
  --ink-soft: #2C3C5C;
  --paper: #F0EEE3;
  --paper-deep: #E6E2D2;
  --gold: #C89B3C;
  --gold-deep: #9C7524;
  --teal: #2F6B66;
  --crimson: #8C2F39;
  --text: #1A1A1A;
  --line: rgba(22,35,61,0.16);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: "Fraunces", serif;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.97rem;
  color: var(--gold-deep);
  font-weight: bold;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; width: 100%; }
section { padding: 80px 0; position: relative; z-index: 2; }

@media (max-width: 720px) { 
  section { padding: 48px 0; } 
  .wrap { padding: 0 16px; }
}

/* ---------- BACKGROUND ANIMATION ---------- */
.bg-animation-container {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden; opacity: 0.25;
}
.bg-float-item {
  position: absolute; bottom: -100px;
  color: var(--ink-soft); fill: currentColor;
  animation: floatUp 25s linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-120vh) translateX(50px) rotate(360deg); opacity: 0; }
}

/* ---------- NAV ---------- */
header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  background: rgba(240,238,227,0.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
nav.wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.brand small { display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.58rem; letter-spacing: 0.12em; color: var(--teal); font-weight: 500; text-transform: uppercase; }
.navlinks { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.navlinks a { text-decoration: none; color: var(--ink-soft); font-weight: 500; position: relative; }
.navlinks a:after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0; background: var(--gold-deep); transition: width .25s ease; }
.navlinks a:hover:after { width: 100%; }
.navcta { background: var(--ink); color: var(--paper)!important; padding: 8px 16px; border-radius: 2px; font-weight: 600; font-size: 0.82rem; text-decoration: none; border: 1px solid var(--ink); }
.navcta:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.navtoggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.navtoggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .navlinks, .navcta { display: none; }
  .navtoggle { display: block; }
}
.mobilemenu { max-height: 0; overflow: hidden; transition: max-height .3s ease; display: flex; flex-direction: column; gap: 14px; padding: 0 28px; background: rgba(240,238,227,0.98); border-bottom: 1px solid var(--line); }
.mobilemenu a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; }

/* ---------- HERO ---------- */
.hero { 
  padding: 100px 0 40px 0; 
  display: flex;
  align-items: center;
  min-height: calc(100vh - 60px);
}
.full-screen-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content { 
  max-width: 800px; 
  margin: 0 auto; 
  text-align: center; 
  width: 100%;
  padding-bottom: 4px;
}

.stamps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; justify-content: center; }
.stamp { font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; letter-spacing: 0.08em; border: 1.5px dashed var(--crimson); color: var(--crimson); padding: 4px 10px; border-radius: 999px; text-transform: uppercase; transform: rotate(-3deg); }
.stamp:nth-child(2) { transform: rotate(2deg); color: var(--teal); border-color: var(--teal); }
.stamp:nth-child(3) { transform: rotate(-1deg); }
.stamp:nth-child(4) { transform: rotate(3deg); color: var(--teal); border-color: var(--teal); }
.stamp:nth-child(5) { transform: rotate(-2deg); }

/* ---------- BRANDED BOARDING PASS CARD (RESPONSIVE OPTIMIZATION) ---------- */
.brand-bp-card {
  max-width: 540px;
  width: 100%;
  margin: 12px auto 20px auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(22, 35, 61, 0.08);
  overflow: hidden;
  border: 1px solid var(--line);
  box-sizing: border-box;
  transform: translateZ(0);
  isolation: isolate;
}

.brand-bp-header {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  font-family: "IBM Plex Sans", sans-serif;
}

.brand-bp-header-main {
  flex: 1.8;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-right: 2px dashed rgba(240, 238, 227, 0.3);
}

.bp-brand-name {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.bp-tag-group {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold);
}

.bp-tag-group svg {
  width: 12px;
  height: 12px;
  transform: rotate(90deg);
}

.brand-bp-header-stub {
  flex: 1;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--paper);
}

.brand-bp-body {
  display: flex;
  position: relative;
  background: #ffffff;
}

.brand-bp-main {
  flex: 1.8;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.bp-barcode-v {
  width: 18px;
  height: 85px;
  background: repeating-linear-gradient(180deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px);
  flex-shrink: 0;
  opacity: 0.85;
}

.bp-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bp-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.bp-field {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.bp-field.text-right {
  text-align: right;
}

.bp-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem;
  color: var(--ink-soft);
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.bp-val {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}

.bp-val.highlight-gold { color: var(--gold-deep); }
.bp-val.highlight-teal { color: var(--teal); }

.bp-route-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.bp-city {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.bp-city.text-right {
  text-align: right;
}

.city-code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.city-sub {
  font-size: 0.52rem;
  color: var(--teal);
  font-weight: 700;
  margin-top: 2px;
}

.bp-flight-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0.6;
}

.dashed-line {
  height: 1px;
  background: var(--line);
  flex: 1;
}

.bp-flight-line svg {
  width: 14px;
  height: 14px;
  color: var(--gold-deep);
  transform: rotate(90deg);
}

.brand-bp-stub {
  flex: 1;
  padding: 10px 12px;
  border-left: 2px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: #fafafa;
  overflow: visible;
}

.brand-bp-stub::before, .brand-bp-stub::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--paper);
  border-radius: 50%;
  left: -7px;
  z-index: 5;
  box-shadow: inset 1px 0 2px rgba(22, 35, 61, 0.08);
}

.brand-bp-stub::before { top: -6px; }
.brand-bp-stub::after { bottom: -6px; }

.bp-val-sm {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink);
}

.bp-stub-info-row {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}

.bp-stub-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.bp-qr svg {
  width: 24px;
  height: 24px;
  color: var(--ink);
}

.bp-barcode-h {
  flex: 1;
  height: 18px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 6px);
  opacity: 0.85;
}

/* Collapse boarding pass stub on smaller mobile screens to prevent overflow */
@media (max-width: 640px) {
  .brand-bp-stub, .brand-bp-header-stub { display: none; }
  .brand-bp-header-main { border-right: none; }
  .brand-bp-card { max-width: 100%; margin: 12px 0; }
  .brand-bp-main { padding: 12px 10px; }
}

.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; line-height: 1.1; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero p.lead { max-width: 65ch; margin: 14px auto 0; font-size: 1rem; color: var(--ink-soft); padding: 0 10px; }
.hero .actions { display: flex; gap: 14px; margin-top: 20px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.88rem; padding: 10px 22px; border-radius: 2px; transition: transform .2s ease, background .2s ease; text-align: center; }
.btn-primary { background: var(--gold-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.hero .note { 
  margin-top: 24px; 
  font-family: "IBM Plex Mono", monospace; 
  font-weight: bold;
  font-size: 0.8rem; 
  color: var(--ink-soft); 
  display: flex; 
  align-items: center; 
  justify-content: center;
  gap: 6px; 
  flex-wrap: wrap;
  padding: 0 10px;
}
.hero .note svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- SECTION HEADERS ---------- */
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; margin-top: 10px; }

@media (max-width: 720px) {
  .sec-head { margin-bottom: 28px; }
}

/* ---------- VISION / MISSION ---------- */
.vm { background: var(--ink); color: var(--paper); }
.vm .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 800px) { .vm .wrap { grid-template-columns: 1fr; gap: 32px; } }
.vm-card .eyebrow { color: var(--gold); }
.vm-card h3 { color: #fff; font-size: 1.4rem; margin: 10px 0 14px; }
.vm-card p { color: rgba(240,238,227,0.82); }
.vm-card { border-left: 2px solid var(--gold); padding-left: 26px; }

/* ---------- VALUES ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 10px; }
.value-card { background: var(--paper); padding: 28px 24px; }
.value-card .num { font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; color: var(--gold-deep); }
.value-card h4 { font-size: 1.05rem; margin-top: 10px; font-weight: 600; }
.value-card p { margin-top: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.value-card .value-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

/* ---------- ABOUT / FOUNDERS ---------- */
.about .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .about .wrap { grid-template-columns: 1fr; gap: 40px; } }
.about p { color: var(--ink-soft); margin-top: 16px; }
.founders { background: #fff; border: 1px solid var(--line); padding: 24px; border-radius: 6px; margin-top: 20px; }
.founder { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.founder:last-child { border-bottom: none; }
.founder .avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--teal), var(--ink)); display: flex; align-items: center; justify-content: center; color: #fff; font-family: "Fraunces", serif; font-weight: 600; }
.founder h4 { font-size: 1.02rem; font-weight: 600; }
.founder .role { font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; display: block; }
.founder p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); }
.competence-strip { margin-top: 20px; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px dashed var(--teal); border-radius: 4px; background: rgba(47,107,102,0.06); }
.competence-strip svg { width: 30px; height: 30px; color: var(--teal); flex: none; }
.competence-strip span { font-size: 0.9rem; color: var(--ink); }
.founders-banner-wrapper { width: 100%; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.founders-banner-img { width: 100%; height: auto; display: block; }

/* ---------- SERVICES ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 10px; }
.service-card { background: #fff; border: 1px solid var(--line); padding: 24px; border-radius: 4px; transition: border-color .2s ease, transform .2s ease; }
.service-card:hover { border-color: var(--gold-deep); transform: translateY(-3px); }
.service-card .icon-img { 
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto 16px auto;
  display: block;
}
.service-card h4 { font-size: 1rem; font-weight: 600; }
.service-card p { margin-top: 6px; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- BOOKING FORM ---------- */
.booking { background: var(--paper-deep); }
.booking .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .booking .wrap { grid-template-columns: 1fr; gap: 36px; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 34px; box-shadow: 0 20px 50px -30px rgba(22,35,61,0.4); }
@media (max-width: 520px) { .form-card { padding: 20px 16px; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 7px; }
.field label .req { color: var(--crimson); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 3px; font-family: "IBM Plex Sans", sans-serif; font-size: 0.94rem; background: var(--paper); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 0.78rem; color: var(--ink-soft); }
.form-status { font-size: 0.82rem; color: var(--teal); font-weight: 600; width: 100%; }

/* ---------- CONTACT ---------- */
.contact .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: 1fr; gap: 40px; } }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; margin-top: 2px; }
.contact-list .label { font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); display: block; margin-bottom: 2px; }
.mapwrap { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; height: 260px; margin-top: 26px; }
.mapwrap iframe { width: 100%; height: 100%; border: 0; }
.query-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
@media (max-width: 520px) { .query-card { padding: 20px 16px; } }

/* ---------- FOOTER ---------- */
footer { background: var(--ink); color: rgba(240,238,227,0.75); padding: 40px 0 24px; text-align: center; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; align-items: center; flex-direction: column; }
footer .fine { font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; margin-top: 14px; opacity: 0.6; }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(35px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .bg-animation-container { display: none; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto !important;
  }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--paper);
}

/* ---------- SOCIAL REDIRECT LINKS ---------- */
.social-links-container {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-block;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease;
  border: 1px solid var(--line);
}

.social-link.wa {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.3);
}
.social-link.wa:hover {
  background: #25D366;
  color: #fff;
}

.social-link.ig {
  background: rgba(225, 48, 108, 0.1);
  color: #E1306C;
  border-color: rgba(225, 48, 108, 0.3);
}
.social-link.ig:hover {
  background: #E1306C;
  color: #fff;
}
/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--gold-deep);
  width: 0%;
  z-index: 100;
  transition: width 0.1s ease-out;
}

/* ---------- DIRECTION-AWARE HEADER ANIMATION ---------- */
header {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease;
}
header.header-hidden {
  transform: translateY(-100%);
}