/* ==========================================================================
   Global Tours ED — International Academic Delegations & Overseas Fee Payments
   Stylesheet. Colour is structural here: each service and event family owns
   an ink, and that ink follows it across every page.
   ========================================================================== */

:root {
  /* Ground */
  --white:      #FFFFFF;
  --pale:       #F1F1FC;   /* pale periwinkle */
  --pale-warm:  #FDF4E6;
  --ink:        #12143A;   /* deep indigo */
  --ink-2:      #3B3F72;
  --ink-3:      #6E72A0;

  /* Accent set — passport-stamp inks */
  --blue:       #2B3FD6;
  --blue-deep:  #1A268F;
  --coral:      #FF4F3F;
  --magenta:    #E5399B;
  --citron:     #D6F84A;
  --amber:      #FFB020;

  /* Structure */
  --rule:       #DCDCF0;
  --rule-dark:  rgba(255,255,255,.22);

  /* Type */
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text:    "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* Metrics */
  --gut:   clamp(1.15rem, 4vw, 2.5rem);
  --shell: 1200px;
  --r:     3px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.028em;
  margin: 0;
  text-wrap: balance;
  line-height: 1.05;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.9vw, 3rem); }
h3 { font-size: 1.24rem; line-height: 1.2; letter-spacing: -.018em; }
h4 { font-size: 1rem; letter-spacing: -.012em; }

p { margin: 0 0 1em; max-width: 66ch; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }

.lede { font-size: clamp(1.06rem, 1.6vw, 1.26rem); line-height: 1.5; color: var(--ink-2); max-width: 54ch; }
.muted { color: var(--ink-3); font-size: .88rem; line-height: 1.5; }

.skip { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* --------------------------------------------------------- chips */

.chip {
  display: inline-block;
  font-family: var(--text);
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  padding: .22rem .55rem;
  border-radius: 2px;
  background: var(--blue); color: #fff;
  white-space: nowrap;
}
.chip-blue    { background: var(--blue);    color: #fff; }
.chip-coral   { background: var(--coral);   color: #fff; }
.chip-magenta { background: var(--magenta); color: #fff; }
.chip-citron  { background: var(--citron);  color: var(--ink); }
.chip-amber   { background: var(--amber);   color: var(--ink); }

/* --------------------------------------------------------- masthead */

.masthead { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 2px solid var(--ink); }

.masthead-in {
  max-width: var(--shell); margin-inline: auto;
  padding: .8rem var(--gut);
  display: flex; align-items: center; gap: 1.4rem;
}

.wordmark { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.wordmark .mark { width: 32px; height: 32px; flex: none; display: block; }
.wordmark .wm-text { display: flex; flex-direction: column; gap: 0; }
.wordmark b { font-family: var(--display); font-size: 1.3rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.wordmark .wm-text span { font-size: .64rem; font-weight: 500; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }

@media (max-width: 420px) {
  .wordmark .wm-text span { display: none; }
  .wordmark b { font-size: 1.15rem; }
}

.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav a { font-size: .92rem; font-weight: 500; text-decoration: none; padding: .3rem 0; border-bottom: 2.5px solid transparent; }
.nav a:hover { border-bottom-color: var(--coral); }
.nav a[aria-current="page"] { border-bottom-color: var(--blue); }
.nav .btn { border-bottom: 0; }

.nav-toggle {
  display: none; background: var(--ink); color: #fff; border: 0;
  border-radius: var(--r); padding: .55rem .85rem; cursor: pointer;
  font-family: var(--text); font-size: .85rem; font-weight: 600;
}

@media (max-width: 940px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 2px solid var(--ink);
    padding: .25rem var(--gut) 1.2rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: .9rem; text-align: center; }
  .nav-toggle { display: block; }
}

/* --------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  font-family: var(--text); font-size: .95rem; font-weight: 600;
  padding: .8rem 1.35rem;
  border-radius: var(--r);
  text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink);
  background: var(--ink); color: #fff;
  transition: background 130ms ease, color 130ms ease, border-color 130ms ease;
}
.btn:hover { background: var(--blue); border-color: var(--blue); }

.btn-coral { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn-coral:hover { background: #E23324; border-color: #E23324; }

.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

.btn-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--citron); border-color: var(--citron); color: var(--ink); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .65rem; }

/* --------------------------------------------------------- bands */

.band { padding-block: clamp(3.2rem, 6.5vw, 5.5rem); }
.band-tight { padding-block: clamp(2.2rem, 4.5vw, 3.5rem); }
.band-pale { background: var(--pale); }
.band-warm { background: var(--pale-warm); }

.band-ink  { background: var(--ink); color: #fff; }
.band-blue { background: var(--blue); color: #fff; }

.band-ink p, .band-blue p { color: rgba(255,255,255,.86); }
.band-ink .lede, .band-blue .lede { color: rgba(255,255,255,.9); }
.band-ink .muted, .band-blue .muted { color: rgba(255,255,255,.62); }

.head { max-width: 44rem; margin-bottom: 2.4rem; }
.head h2 + p { margin-top: .85rem; }
.head .chip { margin-bottom: .9rem; }

/* --------------------------------------------------------- hero */

.hero { background: var(--blue); color: #fff; padding-block: clamp(3rem, 6.5vw, 5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(2.4rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.hero h1 { margin-bottom: 1.15rem; }
.hero .lede { margin-bottom: 1.9rem; }

.hero-note { margin-top: 2.1rem; padding-top: 1.3rem; border-top: 1px solid var(--rule-dark); display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; }
.hero-note div { max-width: 15rem; }
.hero-note dt { font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-bottom: .35rem; color: var(--citron); }
.hero-note dd { margin: 0; font-size: .87rem; line-height: 1.45; color: rgba(255,255,255,.82); }

/* --------------------------------------------------------- roster board */

.roster { background: var(--white); color: var(--ink); border-radius: var(--r); overflow: hidden; }

.roster-top {
  padding: 1rem 1.25rem .9rem;
  background: var(--ink); color: #fff;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.roster-top h2 { font-size: 1.05rem; letter-spacing: -.02em; }
.roster-top span { font-size: .74rem; color: rgba(255,255,255,.65); }

.roster ol { list-style: none; margin: 0; padding: 0; }

.roster li {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .3rem 1rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  border-left: 4px solid transparent;
  transition: border-left-color 130ms ease, background 130ms ease;
}
.roster li:last-child { border-bottom: 0; }
.roster li:hover { background: var(--pale); border-left-color: var(--coral); }

.roster .ev { font-weight: 600; font-size: .98rem; line-height: 1.28; }
.roster .host { grid-column: 1; font-size: .81rem; color: var(--ink-3); }
.roster .when { grid-row: 1; grid-column: 2; text-align: right; font-size: .88rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.roster .close { grid-row: 2; grid-column: 2; text-align: right; white-space: nowrap; }

.roster-foot { padding: .85rem 1.25rem; background: var(--pale); font-size: .77rem; color: var(--ink-2); line-height: 1.45; }

@media (prefers-reduced-motion: no-preference) {
  .roster li { animation: rise 440ms cubic-bezier(.2,.7,.3,1) both; }
  .roster li:nth-child(1) { animation-delay: 50ms; }
  .roster li:nth-child(2) { animation-delay: 115ms; }
  .roster li:nth-child(3) { animation-delay: 180ms; }
  .roster li:nth-child(4) { animation-delay: 245ms; }
  .roster li:nth-child(5) { animation-delay: 310ms; }
  .roster li:nth-child(6) { animation-delay: 375ms; }
  .roster li:nth-child(7) { animation-delay: 440ms; }
  .roster li:nth-child(8) { animation-delay: 505ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------- mosaic (colour blocks) */

.mosaic { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: .6rem; }

.tile { padding: 1.6rem 1.5rem 1.75rem; border-radius: var(--r); }
.tile h3 { margin-bottom: .55rem; }
.tile p { font-size: .93rem; margin-bottom: 0; }
.tile ul { margin: .9rem 0 0; padding-left: 1.05rem; }
.tile li { font-size: .87rem; margin-bottom: .28rem; }

.t-blue    { background: var(--blue);    color: #fff; }
.t-coral   { background: var(--coral);   color: #fff; }
.t-magenta { background: var(--magenta); color: #fff; }
.t-citron  { background: var(--citron);  color: var(--ink); }
.t-amber   { background: var(--amber);   color: var(--ink); }
.t-ink     { background: var(--ink);     color: #fff; }
.t-pale    { background: var(--pale);    color: var(--ink); }

.t-blue p, .t-coral p, .t-magenta p, .t-ink p,
.t-blue li, .t-coral li, .t-magenta li, .t-ink li { color: rgba(255,255,255,.87); }

/* --------------------------------------------------------- pillars */

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: clamp(1.5rem, 3vw, 2.6rem); }
.pillar { border-top: 4px solid var(--blue); padding-top: 1rem; }
.pillar:nth-child(2) { border-top-color: var(--coral); }
.pillar:nth-child(3) { border-top-color: var(--amber); }
.pillar:nth-child(4) { border-top-color: var(--magenta); }
.pillar h3 { margin-bottom: .5rem; }
.pillar p { font-size: .94rem; color: var(--ink-2); margin-bottom: 0; }

.band-ink .pillar p, .band-blue .pillar p { color: rgba(255,255,255,.85); }
.band-blue .pillar { border-top-color: var(--citron); }
.band-blue .pillar:nth-child(2) { border-top-color: var(--amber); }
.band-blue .pillar:nth-child(3) { border-top-color: var(--coral); }
.band-blue .pillar:nth-child(4) { border-top-color: #fff; }

/* --------------------------------------------------------- split + ledger */

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.2rem; } }

.ledger { border-top: 2px solid var(--ink); margin: 0; }
.ledger div { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; padding: .95rem 0; border-bottom: 1px solid var(--rule); }
.ledger dt { font-family: var(--display); font-size: .95rem; font-weight: 700; color: var(--blue); line-height: 1.55; }
.ledger dd { margin: 0; }
.ledger dd b { display: block; font-weight: 600; font-size: .97rem; }
.ledger dd span { font-size: .88rem; color: var(--ink-2); }

.band-ink .ledger, .band-blue .ledger { border-top-color: rgba(255,255,255,.5); }
.band-ink .ledger div, .band-blue .ledger div { border-bottom-color: var(--rule-dark); }
.band-ink .ledger dt, .band-blue .ledger dt { color: var(--citron); }
.band-ink .ledger dd span, .band-blue .ledger dd span { color: rgba(255,255,255,.8); }

/* --------------------------------------------------------- price table */

.rates { width: 100%; border-collapse: collapse; font-size: .93rem; }
.rates caption { text-align: left; font-size: .84rem; color: var(--ink-3); padding-bottom: .7rem; }
.rates th, .rates td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--rule); }
.rates thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .84rem; border-bottom: 0; }
.rates tbody th { font-weight: 600; }
.rates td:last-child, .rates th:last-child { text-align: right; white-space: nowrap; }
.rates tbody tr:hover { background: var(--pale); }
.rates-wrap { overflow-x: auto; }

/* --------------------------------------------------------- steps */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem minmax(0,1fr); gap: 0 1.2rem; padding: 1.35rem 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--display); font-size: 1.5rem; font-weight: 700;
  letter-spacing: -.04em; color: var(--coral); line-height: 1.05;
}
/* Three grid children (::before, h3, p) in a two-column grid: without
   explicit placement the paragraph wraps into the 3rem numeral column. */
.steps li::before { grid-column: 1; grid-row: 1; }
.steps h3 { grid-column: 2; grid-row: 1; margin-bottom: .35rem; }
.steps p { grid-column: 2; grid-row: 2; margin-bottom: 0; font-size: .93rem; color: var(--ink-2); }

.band-ink .steps li, .band-blue .steps li { border-color: var(--rule-dark); }
.band-ink .steps p, .band-blue .steps p { color: rgba(255,255,255,.85); }
.band-blue .steps li::before { color: var(--citron); }

/* --------------------------------------------------------- faq */

.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-family: var(--display); font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-family: var(--text); font-size: 1.4rem; font-weight: 500; color: var(--coral); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 2.5rem 1.25rem 0; font-size: .94rem; color: var(--ink-2); margin: 0; }

.band-ink .faq details:first-of-type { border-top-color: rgba(255,255,255,.5); }
.band-ink .faq details { border-bottom-color: var(--rule-dark); }
.band-ink .faq details p { color: rgba(255,255,255,.85); }

/* --------------------------------------------------------- cta band */

.cta-in { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1.8rem; align-items: center; }
@media (max-width: 820px) { .cta-in { grid-template-columns: 1fr; } }
.cta-in p { margin-bottom: 0; }

/* --------------------------------------------------------- forms */

.form { display: grid; gap: 1rem; max-width: 34rem; }
.field { display: grid; gap: .3rem; }
.field label { font-size: .85rem; font-weight: 600; }
.field .hint { font-size: .78rem; color: var(--ink-3); }

input, select, textarea {
  font-family: var(--text); font-size: .96rem; color: var(--ink);
  background: var(--white); border: 2px solid var(--rule); border-radius: var(--r);
  padding: .68rem .8rem; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; }
textarea { min-height: 7.5rem; resize: vertical; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .pair { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- contact rail */

.rail { border-top: 4px solid var(--coral); padding-top: 1.2rem; }
.rail dl { margin: 0; }
.rail dt { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 1.15rem; }
.rail dt:first-child { margin-top: 0; }
.rail dd { margin: .18rem 0 0; font-size: 1rem; }

/* --------------------------------------------------------- footer */

.foot { background: var(--ink); color: rgba(255,255,255,.72); padding-block: clamp(2.8rem, 5vw, 4rem) 1.8rem; font-size: .91rem; }
.foot a { color: rgba(255,255,255,.86); text-decoration: none; }
.foot a:hover { color: var(--citron); text-decoration: underline; }

.foot-grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap: 2.2rem 2rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--rule-dark); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

.foot h4 { color: #fff; margin-bottom: .8rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .45rem; }
.foot .wordmark b { color: #fff; }
.foot .wordmark .wm-text span { color: rgba(255,255,255,.5); }
.foot .wordmark { margin-right: 0; }
.foot p { color: rgba(255,255,255,.6); font-size: .86rem; max-width: 26ch; margin-top: .85rem; }

.foot-base { padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .7rem 2rem; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.5); }
