/* IASIA Travel Group: single-page site (client Revision 5)
   Ivory, sand and charcoal, with forest green #2F6555 as the accent.
   Cormorant Garamond for headings, DM Sans for everything else.
   One rounded corner (top right) on buttons, images, panels and cards. */

:root {
  --paper: #f4efe7;          /* ivory */
  --paper-2: #eae3d6;        /* sand */
  --sage: #e2e3da;           /* cards and panels on ivory */
  --ink: #1e1d1a;
  --ink-2: #57544c;
  --line: #d6cdbd;
  --rule: rgba(30, 29, 26, 0.16);
  --accent: #2f6555;         /* forest green: 5.9:1 on ivory */
  --accent-dark: #234d41;
  --accent-soft: #9dbdb0;    /* green-grey for rules on dark */
  --tan: #7a5c33;            /* section numbers and tags: 5.4:1 on ivory */
  --tan-light: #c2a374;      /* the same on dark */
  --night: #141715;
  --night-2: #0e100f;
  --on-night: #efe9de;
  --on-night-2: #aaa397;
  --night-line: #6b716c;     /* form rules on dark: 3.6:1 */
  --night-hair: rgba(239, 233, 222, 0.14);
  --shade: 14, 16, 15;       /* rgb of photo overlays */

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --corner-sm: 14px;         /* buttons */
  --corner: 28px;            /* images, panels, cards */

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(88px, 11vw, 160px);
  --header-h: 84px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base ------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;  /* evens out line lengths, so no word is left alone on a line */
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
/* Green italic phrases on light backgrounds; on dark they stay ivory */
em.accent { color: var(--accent); }
.section--night em.accent { color: inherit; }

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.section--night :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible { outline-color: var(--on-night); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -56px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Type helpers ------------------------------------------------------ */

/* Section label: italic number, a short rule, then the name in capitals */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  font: 500 0.72rem/1.4 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  order: 1;
  flex: none;
  width: 36px;
  height: 1.5px;
  background: currentColor;
  transform-origin: left center;
}
.eyebrow__num {
  order: 0;
  font: italic 400 1rem/1 var(--serif);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--tan);
}
.eyebrow > span:last-child { order: 2; }
.eyebrow--plain { font-weight: 600; letter-spacing: 0.14em; }
.eyebrow--plain::before { display: none; }
.section--night .eyebrow { color: var(--on-night-2); }
.section--night .eyebrow::before { background: var(--accent-soft); }
.section--night .eyebrow__num { color: var(--tan-light); }

.section-title {
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
}

/* Heading on the left, introduction on the right */
.section-head {
  display: grid;
  gap: 24px 80px;
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.05fr 1fr; }
  .section-head .section-intro { padding-top: 64px; }
}
.section-intro {
  max-width: 46ch;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.section--night .section-intro { color: var(--on-night-2); }

.prose { color: var(--ink-2); max-width: 52ch; font-size: 1.0625rem; }
.prose p + p { margin-top: 1.1em; }

.note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--ink-2);
}
.section--night .note { color: var(--on-night-2); }

/* Buttons and links ------------------------------------------------- */

/* Square except for the top-right corner. On hover a darker layer sweeps in. */
.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 16px 38px;
  border: 0;
  border-radius: 0 var(--corner-sm) 0 0;
  background: var(--accent);
  color: var(--paper);
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.5s var(--ease-out);
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent-dark);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.6s var(--ease-out);
}
.button:hover::before { transform: scaleX(1); transform-origin: left center; }
/* While the contact form is sending */
.button:disabled { opacity: 0.65; cursor: progress; }
.button:disabled::before { transform: scaleX(0); }

/* Ivory with green lettering: the opening and contact actions */
.button--ivory { background: var(--on-night); color: var(--accent); }
.button--ivory::before { background: #fff; }

.button--small { min-height: 42px; padding: 12px 26px; font-size: 0.72rem; }

/* Floating "Talk to our team", centred at the bottom: hidden (and out of the
   tab order) until main.js adds .is-shown; it also steps aside while the phone
   menu is open. A capsule by request, the one exception to the single corner. */
.float-cta {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 3vw, 32px);
  z-index: 40;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 12px 32px rgba(20, 23, 21, 0.24);
  opacity: 0;
  visibility: hidden;
  translate: -50% 16px;
  transition: color 0.5s var(--ease-out), opacity 0.4s ease, translate 0.6s var(--ease-out), visibility 0s linear 0.6s;
}
.float-cta.is-shown {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
  transition: color 0.5s var(--ease-out), opacity 0.4s ease, translate 0.6s var(--ease-out), visibility 0s;
}
.site-header.is-open ~ .float-cta { opacity: 0; visibility: hidden; }
@media (max-width: 479px) {
  .float-cta { min-height: 46px; padding: 14px 26px; font-size: 0.74rem; }
}

.text-link {
  display: inline-block;
  padding-bottom: 10px;
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.6s var(--ease-out);
}
.text-link:hover { background-size: 35% 1px; }
.text-link--accent { color: var(--accent); }

/* Temporary-content markers (hide with ?clean in the URL) ------------ */

.tbc, .draft-tag, .temp-tag {
  display: inline-block;
  vertical-align: middle;
  padding: 2px 8px;
  border: 1px dashed currentColor;
  border-radius: 999px;
  font: 500 0.68rem/1.4 var(--sans);
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: none;
  white-space: nowrap;
}
.tbc { color: var(--accent); }
/* Longer notes may wrap, so they never push the page wider than a phone */
.note .tbc { max-width: 100%; white-space: normal; border-radius: 12px; }
.tbc--light, .section--night .tbc { color: var(--on-night-2); }
.draft-tag { color: var(--ink-2); }
.section--night .draft-tag { color: var(--on-night-2); }
.temp-tag { color: rgba(255, 255, 255, 0.85); margin-left: 6px; }

.hide-markers .tbc,
.hide-markers .draft-tag,
.hide-markers .temp-tag,
.hide-markers .note,
.hide-markers .photo-caption--dark,
.hide-markers .form__note--preview { display: none; }

/* Header ----------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--on-night);
  transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.site-header.is-solid,
.site-header.is-open {
  background: rgba(244, 239, 231, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--rule);
}

/* The header slims down once it turns solid */
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
  transition: height 0.5s var(--ease-out);
}
.site-header.is-solid .site-header__inner { height: 68px; }

/* Logo: ivory over the opening, charcoal once the header is solid.
   Provisional artwork from Bas; swap the files in images/logo/ when final. */
.logo {
  position: relative;
  display: inline-block;
  flex: none;
  line-height: 0;
}
/* Tall enough for the "Travel Group" line under IASIA to stay readable */
.logo__img {
  display: block;
  width: auto;
  height: 58px;
  transition: opacity 0.5s var(--ease-out), height 0.5s var(--ease-out);
}
.logo__img--dark {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.site-header.is-solid .logo__img--light,
.site-header.is-open .logo__img--light { opacity: 0; }
.site-header.is-solid .logo__img--dark,
.site-header.is-open .logo__img--dark { opacity: 1; }
.site-header.is-solid .logo__img { height: 48px; }

.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  gap: 30px;
}
.site-nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font: 500 0.74rem/1.2 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease-out);
}
.site-nav__list a:hover::after { transform: scaleX(1); transform-origin: left center; }

/* Contact stays in view at every size: ivory over the opening, green on the solid header */
.header-contact {
  flex: none;
  white-space: nowrap;
  background: var(--on-night);
  color: var(--accent);
}
.header-contact::before { background: #fff; }
.site-header.is-solid .header-contact,
.site-header.is-open .header-contact { background: var(--accent); color: var(--paper); }
.site-header.is-solid .header-contact::before,
.site-header.is-open .header-contact::before { background: var(--accent-dark); }
.logo + .header-contact { margin-left: auto; }  /* pages without the menu */

.nav-toggle {
  display: none;
  flex: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 24px; height: 1.5px;
  margin-inline: auto;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Below 1060px the six links fold into a menu; Contact stays beside the toggle */
@media (max-width: 1059px) {
  .nav-toggle { display: block; }
  .header-contact { margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    margin: 0;
    padding: 8px var(--gutter) 32px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 1px 0 var(--rule);
  }
  .site-header.is-open .site-nav { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    display: block;
    padding-block: 14px;
    font: 500 1.8rem/1.2 var(--serif);
    letter-spacing: 0;
    text-transform: none;
    border-bottom: 1px solid var(--rule);
  }
  .site-nav__list a::after { display: none; }
}
@media (max-width: 479px) {
  .site-header__inner { gap: 14px; }
  /* A little smaller on phones, to leave room for Contact and the menu */
  .logo__img { height: 44px; }
  .site-header.is-solid .logo__img { height: 38px; }
  .header-contact { min-height: 38px; padding: 10px 16px; font-size: 0.68rem; letter-spacing: 0.1em; }
}

/* Opening ---------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(640px, 100vh, 1100px);
  min-height: clamp(640px, 100svh, 1100px);
  color: #fff;
  overflow: hidden;
  background: var(--night);
}
/* Still and video stacked; the video fades in over the still once it plays */
.hero__media { position: absolute; inset: 0; }
.hero__image,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__video {
  opacity: 0;
  transition: opacity 1.8s var(--ease-out);
}
.hero.has-video .hero__video { opacity: 1; }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--shade), 0.5) 0%, rgba(var(--shade), 0) 22%),
    radial-gradient(ellipse 72% 62% at 50% 52%, rgba(var(--shade), 0.5) 0%, rgba(var(--shade), 0.22) 72%, rgba(var(--shade), 0.12) 100%),
    linear-gradient(0deg, rgba(var(--shade), 0.5) 0%, rgba(var(--shade), 0) 24%);
}
.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: var(--header-h);
}
/* A soft dark halo keeps the copy readable over bright parts of the video */
.hero__kicker,
.hero__places,
.hero__lead,
.hero__audience { text-shadow: 0 0 18px rgba(var(--shade), 0.7), 0 1px 3px rgba(var(--shade), 0.5); }
.hero__kicker {
  margin-bottom: 24px;
  font: 700 clamp(0.94rem, 0.72rem + 0.95vw, 1.4rem)/1.4 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__places {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  margin-bottom: 36px;
  font: 400 0.78rem/1.4 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.hero__places li:not(:last-child)::after {
  content: "·";
  margin: 0 18px;
  opacity: 0.7;
}
.hero__title {
  font-size: clamp(2.2rem, 4.8vw, 4.7rem);
  font-weight: 400;
  line-height: 1.06;
  text-shadow: 0 2px 28px rgba(var(--shade), 0.45);
}
.hero__lead {
  margin-top: 30px;
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
}
.hero__audience {
  margin-top: 20px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 44px;
  margin-top: 40px;
}

.photo-caption {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}
.hero__caption {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  z-index: 2;
}
.photo-caption--dark { margin-top: 12px; color: var(--ink-2); }

/* Pause / play for the background video: two bars, or a triangle when paused */
.video-toggle {
  position: absolute;
  left: var(--gutter);
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.88);
  font: 500 0.66rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.video-toggle[hidden] { display: none; }
.video-toggle:hover { color: #fff; }
.video-toggle__icon {
  position: relative;
  flex: none;
  width: 14px; height: 14px;
}
.video-toggle__icon::before,
.video-toggle__icon::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 2px; height: 12px;
  background: currentColor;
}
.video-toggle__icon::before { left: 3px; }
.video-toggle__icon::after { left: 9px; }
.video-toggle.is-paused .video-toggle__icon::after { display: none; }
.video-toggle.is-paused .video-toggle__icon::before {
  left: 2px;
  width: 11px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

@media (max-width: 719px) {
  .hero__places { margin-bottom: 28px; }
  /* No "Explore our destinations" button on phones (by request). Only the button
     is hidden: its empty row stays, because main.js watches that row to know
     when to bring in the floating "Talk to our team" button. */
  .hero__actions { margin-top: 0; }
  .hero__actions .button { display: none; }
  .hero__places li:not(:last-child)::after { margin: 0 10px; }
  .hero__caption { left: var(--gutter); right: auto; bottom: 20px; }
  .video-toggle { left: auto; right: var(--gutter); bottom: 12px; }
  .video-toggle__label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* Headings split into words by main.js. The padding keeps ascenders,
   descenders and italic overhangs from being clipped by the mask. */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.1em 0.08em 0.2em 0;
  margin: -0.1em -0.08em -0.2em 0;
}
.word__inner { display: inline-block; }

/* Sections --------------------------------------------------------- */

.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--on-night); }
/* Two ivory sections in a row (case study, then partners): a hairline between them */
.section--follow { padding-top: 0; }
.section--follow > .container {
  padding-top: var(--section);
  background: linear-gradient(var(--rule), var(--rule)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

/* Shared: photo frames with the rounded corner. The photo is taller than
   its frame so it can drift for the parallax. */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 0 var(--corner) 0 0;
  background: var(--line);
}
.media-frame img {
  position: absolute;
  left: 0;
  top: -40px;
  width: 100%;
  max-width: none;
  height: calc(100% + 80px);
  object-fit: cover;
  /* A frame can set --focus-y (style="--focus-y: 75%") to keep a photo's
     subject in view when a wide frame crops a tall picture */
  object-position: 50% var(--focus-y, 50%);
}

/* Tags under a two-tone rule: a short green stroke on a sand line */
.tags {
  position: relative;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 2px solid var(--line);
  font: 500 0.74rem/1.9 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan);
}
.tags::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 76px; height: 2px;
  background: var(--accent);
  transform-origin: left center;
}
.tags span { display: block; }
.section--tint .tags { border-top-color: #d3c9b7; }

/* 01 The group */
.pillars {
  display: grid;
  gap: 48px 56px;
  padding-top: 56px;
  border-top: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}
.pillar { position: relative; }
.pillar::before {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: 28px;
  background: var(--accent);
  transform-origin: left center;
}
.pillar__title {
  margin-bottom: 22px;
  font-size: clamp(1.7rem, 2.3vw, 2.1rem);
  line-height: 1.14;
}
.pillar p { color: var(--ink-2); max-width: 40ch; }

.business-card {
  display: grid;
  gap: 28px 40px;
  margin-top: 64px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--sage);
  border-radius: 0 var(--corner) 0 0;
}
@media (min-width: 720px) {
  .business-card { grid-template-columns: repeat(3, 1fr); }
}
.business__name { font-size: clamp(1.7rem, 2.2vw, 2rem); }
.business__text { margin-top: 10px; color: var(--ink-2); font-size: 0.98rem; line-height: 1.6; }

/* 02 Destinations: 3 + 2 on desktop, 2 + 2 + 1 on tablet, stacked on phones */
.dest-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.dest {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  overflow: hidden;
  border-radius: 0 var(--corner) 0 0;
  background: var(--night-2);
  color: #fff;
}
.dest__image {
  position: absolute;
  left: 0;
  top: -32px;
  width: 100%;
  max-width: none;
  height: calc(100% + 64px);
  object-fit: cover;
}
.dest::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(var(--shade), 0.88) 0%, rgba(var(--shade), 0.42) 42%, rgba(var(--shade), 0) 66%);
}
/* Ivory number badge with its own small rounded corner */
.dest__num {
  position: absolute;
  top: 22px; left: 22px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 0 10px 0 0;
  background: var(--on-night);
  color: var(--accent);
  font: italic 400 1.05rem/1 var(--serif);
}
.dest__body {
  position: relative;
  z-index: 1;
  padding: 28px 24px 26px;
}
.dest__place {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tan-light);
}
.dest__name {
  margin-top: 6px;
  font-size: clamp(2.2rem, 2.8vw, 2.7rem);
  font-weight: 400;
}
.dest__text {
  margin-top: 10px;
  max-width: 40ch;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
@media (min-width: 720px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .dest { min-height: 420px; }
  .dest:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .dest-grid { grid-template-columns: repeat(6, 1fr); }
  .dest { min-height: 440px; }
  .dest:nth-child(-n + 3) { grid-column: span 2; }
  .dest:nth-child(n + 4) { grid-column: span 3; }
  .dest:last-child { grid-column: span 3; }
}

/* 03 Bespoke travel and 04 Corporate events: photo beside text */
.split {
  display: grid;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.split__text .prose { margin-top: 32px; }
/* Narrower column beside a photo: a slightly smaller heading keeps the PDF's line breaks */
.split .section-title { font-size: clamp(2.3rem, 3.6vw, 3.3rem); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .split .media-frame { aspect-ratio: 6 / 7; }
  .split--reverse .media-frame { aspect-ratio: 3 / 4; }
}
.split__link { margin-top: 40px; }
.split__link + .tags { margin-top: 36px; }

/* 05 Tomorrowland case study */
.case-head {
  display: grid;
  gap: 32px 64px;
  align-items: start;
}
@media (min-width: 900px) {
  .case-head { grid-template-columns: 1fr minmax(260px, 300px); }
}
/* The case study's key figure: ivory on forest green (5.6:1) */
.stat-card {
  padding: 24px 30px 26px;
  background: var(--accent);
  color: var(--on-night);
  border-radius: 0 var(--corner) 0 0;
}
.stat-card__label {
  font: 600 0.68rem/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stat-card__number {
  margin: 8px 0 6px;
  font: 400 clamp(3rem, 4.6vw, 4rem)/1 var(--serif);
}
.stat-card__text { font-size: 0.9rem; line-height: 1.5; }

/* The campaign billboard: shown whole, so its wording and logos are never cropped */
.case-media { margin-top: 40px; }
.case-media .media-frame { aspect-ratio: auto; }
.case-media .media-frame img { position: static; height: auto; }

/* The case study's text: its title beside the two paragraphs on wider screens */
.case-body {
  display: grid;
  gap: 28px 80px;
  margin-top: 64px;
}
@media (min-width: 900px) {
  .case-body { grid-template-columns: 1fr 1fr; align-items: start; }
}
.case-body__title { font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.14; }

/* The case study's closing call to action: a charcoal card with the rounded corner */
.case-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 56px;
  margin-top: 72px;
  padding: clamp(32px, 5vw, 56px) clamp(28px, 5vw, 64px);
  border-radius: 0 var(--corner) 0 0;
  background: var(--night);
  color: var(--on-night);
}
.case-foot__copy { flex: 1 1 420px; max-width: 46ch; }
.case-foot__copy::before {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: 24px;
  background: var(--accent-soft);
}
.case-foot__text { font: 500 clamp(1.2rem, 1.6vw, 1.4rem)/1.45 var(--serif); }
.case-foot__text em { font-style: italic; font-weight: 400; }
.case-foot__sub {
  margin-top: 16px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--on-night-2);
}
.case-foot .button { flex: none; }
.case-foot :focus-visible { outline-color: var(--on-night); }

/* Partners and programmes */
.partner-cols {
  display: grid;
  gap: 40px 32px;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}
@media (min-width: 560px) {
  .partner-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .partner-cols { grid-template-columns: repeat(4, 1fr); }
}
.partner-col__title {
  margin-bottom: 18px;
  font: 600 0.72rem/1.4 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.partner-col li {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.8;
}

/* 07 People: founders, then the team, in one grid; three to a row from
   tablet width, two on phones */
.people {
  display: grid;
  gap: 48px 24px;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1040px;
  margin: clamp(48px, 6vw, 72px) auto 0;
}
@media (min-width: 720px) {
  .people { grid-template-columns: repeat(3, 1fr); row-gap: 64px; }
}
.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.person__portrait {
  display: grid;
  place-items: center;
  width: min(176px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid rgba(30, 29, 26, 0.06);
  font: 500 0.6rem/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.person__portrait img { width: 100%; height: 100%; object-fit: cover; }
.person__rule {
  width: 40px;
  height: 2px;
  margin: 20px 0 18px;
  background: var(--accent);
}
.person__name { font-size: clamp(1.3rem, 1.7vw, 1.55rem); }
.person__role {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.person .tbc { margin-top: 10px; }
@media (max-width: 479px) {
  .person__portrait { width: min(132px, 100%); }
}

/* 08 Contact */
.contact {
  display: grid;
  gap: 64px 112px;
}
@media (min-width: 960px) {
  .contact { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contact__intro { display: flex; flex-direction: column; height: 100%; }
.contact__lead {
  margin-top: 32px;
  max-width: 44ch;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--on-night-2);
}
.contact__trade { margin-top: 48px; color: var(--on-night); font-size: 1rem; }
@media (min-width: 960px) {
  .contact__trade { margin-top: auto; padding-top: 48px; }
}

.form { display: grid; gap: 32px; }
.form__row { display: grid; gap: 32px; }
@media (min-width: 640px) {
  .form__row--two { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-night-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--night-line);
  border-radius: 0;
  background-color: transparent;
  color: var(--on-night);
  font: 400 1.05rem/1.5 var(--sans);
}
.field textarea { resize: vertical; min-height: 104px; }
.field select {
  appearance: none;
  padding-right: 28px;
  background-image: linear-gradient(45deg, transparent 50%, var(--on-night-2) 50%), linear-gradient(135deg, var(--on-night-2) 50%, transparent 50%);
  background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field select option { color: var(--ink); background: #fff; }
/* Text fields: a line draws across the bottom on focus */
.field input,
.field textarea {
  background-image: linear-gradient(var(--accent-soft), var(--accent-soft));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 2px;
  transition: background-size 0.6s var(--ease-out), border-color 0.4s var(--ease-out);
}
.field input:focus-visible,
.field textarea:focus-visible { outline: none; background-size: 100% 2px; }
.field select:focus-visible {
  outline: none;
  border-bottom-color: var(--accent-soft);
  box-shadow: 0 1px 0 0 var(--accent-soft);
}
.field [aria-invalid="true"] { border-bottom-color: #e59a7c; }

/* The hCaptcha box (303 x 78 px): its height is kept so the form does not jump
   when the box loads */
.form__captcha { min-height: 78px; }
.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 8px;
}
.form__status { font-size: 0.95rem; color: var(--on-night); }
.form__status.is-error { color: #f0b39a; }
.form__note { font-size: 0.82rem; color: var(--on-night-2); }
.form__note a { color: var(--on-night); }

/* Popup after an enquiry has been sent: an ivory card over a dimmed page */
.sent-dialog {
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0 var(--corner) 0 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(20, 23, 21, 0.35);
}
.sent-dialog::backdrop { background: rgba(20, 23, 21, 0.62); }
.sent-dialog__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(36px, 7vw, 52px) clamp(24px, 6vw, 48px) clamp(32px, 6vw, 44px);
  text-align: center;
}
.sent-dialog__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
}
.sent-dialog__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sent-dialog__title { font-size: clamp(2.1rem, 5vw, 2.6rem); }
.sent-dialog__text { margin-top: 12px; max-width: 30ch; line-height: 1.6; color: var(--ink-2); }
.sent-dialog__actions { margin-top: 30px; }
/* It sits inside the dark Contact section, whose focus ring is ivory */
.sent-dialog :focus-visible { outline-color: var(--accent); }

/* Footer ----------------------------------------------------------- */

.site-footer {
  background: var(--night-2);
  color: var(--on-night-2);
  padding-block: 56px 48px;
  font-size: 0.8rem;
  border-top: 1px solid var(--night-hair);
}
.site-footer__inner {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 800px) {
  .site-footer__inner { grid-template-columns: auto 1fr auto; gap: 56px; }
}
.logo--footer .logo__img { height: 72px; }
.site-footer__places,
.site-footer__links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer__legal { margin-top: 12px; font-size: 0.78rem; }
.site-footer__links { display: flex; gap: 24px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { color: var(--on-night); }

/* Motion -----------------------------------------------------------
   Everything below only applies when JavaScript runs (.js on <html>)
   and the visitor has not asked their device to reduce motion.
   main.js adds .is-visible as each element scrolls into view. */

@media (prefers-reduced-motion: no-preference) {
  /* Opening screen: forest green; "IASIA" appears letter by letter, each
     letter fading in as it rises a little, then "Travel Group" fades in.
     After a short hold, the whole screen fades away over the opening. It
     plays once and hides itself, so it never depends on main.js. --intro is
     when the green starts to fade; the opening's animations below wait for it. */
  :root { --intro: 0s; }
  html.has-intro { --intro: 2.8s; }
  .has-intro .intro {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    background: var(--accent);
    animation: intro-fade 1s cubic-bezier(0.4, 0, 0.2, 1) var(--intro) both;
  }
  /* The stacked logo: icon, TRAVEL, IASIA, GROUP */
  .intro__mark {
    width: clamp(170px, 19vw, 240px);
    height: auto;
    overflow: visible;
  }
  /* The icon first, growing slightly as it fades in, then the letters */
  .intro__icon {
    transform-box: fill-box;
    transform-origin: center;
    animation: intro-grow 1.4s var(--ease-out) both, intro-appear 1.1s ease-in-out both;
    animation-delay: 0.15s;
  }
  /* --i is each letter's place, set in index.html */
  .intro__letter {
    animation: intro-rise 1.4s var(--ease-out) both, intro-appear 1.1s ease-in-out both;
    animation-delay: calc(0.55s + var(--i) * 0.14s);
  }
  /* TRAVEL, then GROUP: a softer fade, left to right, as IASIA completes */
  .intro__sub {
    animation: intro-appear 0.9s ease-in-out both;
    animation-delay: calc(1.25s + var(--i) * 0.04s);
  }

  /* Opening: the still settles; the copy rises line by line. The still
     starts behind the green screen so the photo is there as it fades. */
  .js .hero__media {
    animation: hero-settle 3s var(--ease-out) both;
    animation-delay: max(0s, calc(var(--intro) - 0.7s));
  }
  .js .hero__kicker,
  .js .hero__places,
  .js .hero__lead,
  .js .hero__audience,
  .js .hero__actions { animation: rise 1.2s var(--ease-out) both; }
  .js .hero__kicker { animation-delay: calc(var(--intro) + 0.15s); }
  .js .hero__places { animation-delay: calc(var(--intro) + 0.25s); }
  .js .hero__lead { animation-delay: calc(var(--intro) + 0.85s); }
  .js .hero__audience { animation-delay: calc(var(--intro) + 0.95s); }
  .js .hero__actions { animation-delay: calc(var(--intro) + 1.05s); }
  .js .hero__caption,
  .js .video-toggle { animation: fade 1.2s ease both calc(var(--intro) + 1.5s); }
  .js .site-header { animation: fade 1s ease both calc(var(--intro) + 0.3s); }

  /* Headings: each word slides up from behind its own mask */
  .js [data-split] .word__inner,
  .js [data-reveal="words"] .word__inner {
    translate: 0 115%;
    transition: translate 1.2s var(--ease-out);
    transition-delay: calc(var(--delay, 0ms) + var(--w, 0) * 60ms);
  }
  .js .is-visible .word__inner { translate: 0 0; }

  /* Default: fade up */
  .js [data-reveal=""] {
    opacity: 0;
    translate: 0 32px;
    transition: opacity 1s var(--ease-out), translate 1.2s var(--ease-out);
    transition-delay: var(--delay, 0ms);
  }
  .js [data-reveal=""].is-visible { opacity: 1; translate: 0 0; }


  /* Eyebrow rule grows in just after its label */
  .js .eyebrow[data-reveal]::before {
    scale: 0 1;
    transition: scale 1s var(--ease-out) calc(var(--delay, 0ms) + 0.25s);
  }
  .js .eyebrow.is-visible::before { scale: 1 1; }

  /* Rules draw from left to right, then the content arrives */
  .js [data-reveal="line"]::before {
    scale: 0 1;
    transition: scale 1.4s var(--ease-out) var(--delay, 0ms);
  }
  .js [data-reveal="line"] > * {
    opacity: 0;
    translate: 0 20px;
    transition: opacity 0.9s var(--ease-out), translate 1.1s var(--ease-out);
    transition-delay: calc(var(--delay, 0ms) + 0.35s);
  }
  .js [data-reveal="line"].is-visible::before { scale: 1 1; }
  .js [data-reveal="line"].is-visible > * { opacity: 1; translate: 0 0; }

  /* Panels and photos are uncovered by a curtain in the section's own
     colour. (A clip-path on the element itself would stop the
     IntersectionObserver from ever seeing it.) */
  .section { --curtain: var(--paper); }
  .section--tint { --curtain: var(--paper-2); }
  .section--night { --curtain: var(--night); }

  /* Destination panels: the curtain lifts from the bottom while the photo settles */
  .js [data-reveal="panel"]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--curtain);
    transform-origin: top center;
    transition: scale 1.3s var(--ease-out) var(--delay, 0ms);
  }
  .js [data-reveal="panel"] .dest__image {
    scale: 1.25;
    transition: scale 2s var(--ease-out) var(--delay, 0ms);
  }
  .js [data-reveal="panel"] .dest__body,
  .js [data-reveal="panel"] .dest__num {
    opacity: 0;
    translate: 0 24px;
    transition: opacity 0.9s var(--ease-out), translate 1.1s var(--ease-out);
    transition-delay: calc(var(--delay, 0ms) + 0.55s);
  }
  .js [data-reveal="panel"].is-visible::before { scale: 1 0; }
  .js [data-reveal="panel"].is-visible .dest__image { scale: 1; }
  .js [data-reveal="panel"].is-visible .dest__body,
  .js [data-reveal="panel"].is-visible .dest__num { opacity: 1; translate: 0 0; }
  /* Once revealed: a slow zoom on hover and the text lifts a little */
  .js [data-reveal="panel"].is-done .dest__image { transition: scale 1.6s var(--ease-out); }
  .js [data-reveal="panel"].is-done:hover .dest__image { scale: 1.06; }
  .js [data-reveal="panel"].is-done .dest__body {
    transition: opacity 0.8s var(--ease-out), translate 0.8s var(--ease-out);
    transition-delay: 0s;
  }
  .js [data-reveal="panel"].is-done:hover .dest__body { translate: 0 -8px; }

  /* Photos: the curtain draws back towards the text */
  .js [data-reveal="wipe"]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--curtain);
    transform-origin: right center;
    transition: scale 1.4s var(--ease-out) var(--delay, 0ms);
  }
  .js .split--reverse [data-reveal="wipe"]::after { transform-origin: left center; }
  .js [data-reveal="wipe"] img {
    scale: 1.2;
    transition: scale 2s var(--ease-out) var(--delay, 0ms);
  }
  .js [data-reveal="wipe"].is-visible::after { scale: 0 1; }
  .js [data-reveal="wipe"].is-visible img { scale: 1; }
  .js [data-reveal="wipe"].is-done img { transition: scale 1.6s var(--ease-out); }
  .js [data-reveal="wipe"].is-done:hover img { scale: 1.04; }

  /* Mobile menu: the panel drops in and its links follow one by one */
  @media (max-width: 1059px) {
    .js .site-header.is-open .site-nav { animation: menu-drop 0.5s var(--ease-out) both; }
    .js .site-header.is-open .site-nav__list li { animation: rise 0.7s var(--ease-out) both; }
    .js .site-header.is-open .site-nav__list li:nth-child(1) { animation-delay: 0.05s; }
    .js .site-header.is-open .site-nav__list li:nth-child(2) { animation-delay: 0.1s; }
    .js .site-header.is-open .site-nav__list li:nth-child(3) { animation-delay: 0.15s; }
    .js .site-header.is-open .site-nav__list li:nth-child(4) { animation-delay: 0.2s; }
    .js .site-header.is-open .site-nav__list li:nth-child(5) { animation-delay: 0.25s; }
    .js .site-header.is-open .site-nav__list li:nth-child(6) { animation-delay: 0.3s; }
  }

  /* Sent popup: the card rises in over a fading backdrop, then the tick draws */
  .sent-dialog[open] { animation: rise 0.6s var(--ease-out) both; }
  .sent-dialog[open]::backdrop { animation: fade 0.4s ease both; }
  .sent-dialog[open] .sent-dialog__icon path {
    stroke-dasharray: 24;
    animation: sent-tick 0.6s var(--ease-out) 0.3s both;
  }
  @keyframes sent-tick {
    from { stroke-dashoffset: 24; }
    to { stroke-dashoffset: 0; }
  }

  @keyframes intro-fade {
    to { opacity: 0; visibility: hidden; }
  }
  /* In the logo's own units: about 14 px on screen */
  @keyframes intro-rise {
    from { transform: translateY(8px); }
  }
  @keyframes intro-grow {
    from { transform: scale(0.88); }
  }
  @keyframes intro-appear {
    from { opacity: 0; }
  }
  @keyframes hero-settle {
    from { scale: 1.12; opacity: 0; }
    35% { opacity: 1; }
    to { scale: 1; opacity: 1; }
  }
  @keyframes rise {
    from { opacity: 0; translate: 0 24px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes menu-drop {
    from { opacity: 0; translate: 0 -12px; }
    to { opacity: 1; translate: 0 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
