/* Extreme World Travel and Tourism — shared styles
   Brand: navy + orange from the logo, Gilda Display + Bebas Neue from the brand folder. */

@font-face { font-family: "Gilda Display"; src: url("assets/fonts/GildaDisplay-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("assets/fonts/BebasNeue-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --ground: #F5F0E6;      /* warm cream */
  --ground-2: #EBE4D5;    /* one tone step down */
  --ink: #173540;         /* logo navy */
  --ink-2: #425760;       /* secondary text, AA on cream */
  --deep: #0F2730;        /* dark sections */
  --accent: #FF9412;      /* logo orange */
  --accent-ink: #173540;  /* text on orange */
  --on-deep: #F5F0E6;
  --on-deep-2: #C3CCD0;
  --r: 14px;
  --m: clamp(16px, 4vw, 56px);
  --gap: clamp(88px, 11vw, 176px);
  --display: "Gilda Display", Georgia, "Times New Roman", serif;
  --ui: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -0.015em; line-height: 1.04; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--ground); padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--m); }
.section { padding-block: var(--gap); }
.section.tight { padding-block: clamp(56px, 7vw, 104px); }

/* Type scale: three sizes do the work */
.h-xl { font-size: clamp(40px, 6.4vw, 100px); line-height: 1; letter-spacing: -0.025em; }
.h-l { font-size: clamp(32px, 4.4vw, 68px); }
.h-m { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 56ch; }
.muted { color: var(--ink-2); }
.on-deep { background: var(--deep); color: var(--on-deep); }
.on-deep .muted { color: var(--on-deep-2); }
.on-ink { background: var(--ink); color: var(--on-deep); }
.on-ink .muted { color: var(--on-deep-2); }

/* Buttons: flat, one fill, one radius */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--ui); font-size: 21px; letter-spacing: .06em; line-height: 1; text-transform: uppercase; text-decoration: none; padding: 16px 26px 14px; border-radius: 999px; border: 0; cursor: pointer; background: var(--accent); color: var(--accent-ink); transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.btn:hover { transform: translateY(-2px); background: #ffa63d; }
.btn:active { transform: translateY(0) scale(.98); }
.btn.dark { background: var(--ink); color: var(--ground); }
.btn.dark:hover { background: #24505f; }
.btn.light { background: var(--ground); color: var(--ink); }
.btn.light:hover { background: #fff; }
.btn.ghost { background: transparent; color: inherit; border: 2px solid currentColor; padding: 14px 24px 12px; }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header: a plain bar */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); transition: background-color .3s var(--ease); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a:not(.btn) { font-family: var(--ui); font-size: 21px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; padding: 6px 0 3px; border-bottom: 3px solid transparent; transition: border-color .3s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-color: var(--accent); }
.nav .btn { padding: 13px 22px 11px; font-size: 20px; }
.menu-btn { display: none; font-family: var(--ui); font-size: 21px; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--ground); border: 0; border-radius: 999px; padding: 12px 20px 10px; cursor: pointer; }
@media (max-width: 1180px) {
  .menu-btn { display: inline-block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--ground); flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px var(--m) 28px; max-height: calc(100dvh - 76px); overflow: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { font-size: 32px; padding: 10px 0; }
  .nav .btn { margin-top: 12px; }
}

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--deep); }
.hero picture, .hero > img { position: absolute; inset: 0; z-index: -2; }
.hero img.bg { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform-origin: 70% 50%; animation: drift 24s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,39,48,.82) 0%, rgba(15,39,48,.5) 42%, rgba(15,39,48,0) 72%); } /* taste-skill-ignore: neutral scrim under text on a photo */
.hero .wrap { padding-block: clamp(56px, 9vw, 120px) clamp(96px, 11vw, 150px); }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: 28px; color: #EEF1F2; }
.hero .row-btns { margin-top: 34px; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }

.page-hero { position: relative; isolation: isolate; color: #fff; min-height: min(62vh, 560px); display: flex; align-items: flex-end; overflow: hidden; background: var(--deep); }
.page-hero.flat { color: var(--on-deep); min-height: 0; }
.page-hero img.bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: drift 20s var(--ease) both; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,39,48,.8) 0%, rgba(15,39,48,.45) 50%, rgba(15,39,48,.05) 100%); } /* taste-skill-ignore: neutral scrim under text on a photo */
.page-hero .wrap { padding-block: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 88px); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 24px; }

/* Enquiry bar: floats across the hero edge */
.finder-wrap { position: relative; z-index: 5; margin-top: -48px; }
.finder { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr auto; gap: 6px; background: #fff; border-radius: 20px; padding: 8px; }
.finder label { display: block; padding: 10px 18px 8px; border-radius: 14px; transition: background-color .2s var(--ease); cursor: text; }
.finder label:hover, .finder label:focus-within { background: var(--ground); }
.finder .k { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.2; }
.finder input, .finder select { width: 100%; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); padding: 2px 0 0; outline: none; appearance: none; -webkit-appearance: none; }
.finder .btn { align-self: stretch; border-radius: 14px; }
@media (max-width: 900px) { .finder { grid-template-columns: 1fr 1fr; } .finder .btn { grid-column: 1 / -1; padding-block: 18px 16px; } }
@media (max-width: 520px) { .finder { grid-template-columns: 1fr; } }

/* Section heads */
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.head h2 { max-width: 18ch; }
.head p { max-width: 46ch; margin: 0; }

/* Image cards */
.cards { display: grid; gap: clamp(12px, 1.6vw, 22px); grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; color: #fff; text-decoration: none; isolation: isolate; background: var(--deep); }
.card.wide { aspect-ratio: 16 / 10; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); z-index: -2; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,39,48,0) 45%, rgba(15,39,48,.82) 100%); } /* taste-skill-ignore: neutral scrim under text on a photo */
.card:hover img { transform: scale(1.06); }
.card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 28px); }
.card h3 { font-size: clamp(26px, 2.4vw, 36px); }
.card p { margin: 8px 0 0; font-size: 16px; color: #EEF1F2; max-width: 34ch; }
.card .go { display: inline-block; margin-top: 12px; font-family: var(--ui); font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.card .go span { display: inline-block; transition: transform .25s var(--ease); }
.card:hover .go span { transform: translateX(5px); }
.cards.two { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 900px) { .cards, .cards.two { grid-template-columns: 1fr 1fr; } .cards .card:first-child:nth-last-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .cards, .cards.two { grid-template-columns: 1fr; } .card, .cards .card:first-child:nth-last-child(3) { aspect-ratio: 4 / 3.3; } }

/* Typographic tiles (no photo) */
.tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; aspect-ratio: 4 / 5; padding: clamp(20px, 2.2vw, 32px); border-radius: var(--r); background: var(--ink); color: var(--on-deep); text-decoration: none; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.tile.orange { background: var(--accent); color: var(--ink); }
.tile.sand { background: var(--ground-2); color: var(--ink); }
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-size: clamp(28px, 2.6vw, 40px); }
.tile p { margin: 12px 0 0; font-size: 16px; max-width: 32ch; }
.tile .tag { font-family: var(--ui); font-size: 22px; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 560px) { .tile { aspect-ratio: auto; min-height: 220px; gap: 36px; } }

/* Split sections */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 88px); align-items: center; }
.split.flip { grid-template-columns: 1fr 1.15fr; }
.split.flip > :first-child { order: 2; }
.split .pic { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.2; }
.split .pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Lists */
.checks li { padding: 14px 0 14px 0; font-size: 18px; }
.checks b { font-weight: 600; }
.checks.big li { padding: 18px 0; font-size: 19px; }
.stack > * + * { margin-top: 1.2em; }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: rgba(245,240,230,.08); border-radius: var(--r); padding: 22px 22px 20px; }
.stat b { display: block; font-family: var(--ui); font-weight: 400; font-size: clamp(48px, 5vw, 72px); line-height: .95; color: var(--accent); }
.stat span { display: block; margin-top: 8px; font-size: 16px; color: var(--on-deep-2); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Division rows */
.rows { display: grid; gap: 10px; }
.rowlink { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) auto; align-items: center; gap: 12px 36px; padding: clamp(22px, 2.6vw, 38px) clamp(20px, 2.6vw, 38px); background: var(--ground-2); border-radius: var(--r); text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.rowlink h3 { font-size: clamp(30px, 3.4vw, 54px); }
.rowlink p { margin: 0; max-width: 52ch; }
.rowlink .arr { font-family: var(--ui); font-size: 32px; transition: transform .3s var(--ease); }
.rowlink:hover { background: var(--ink); color: var(--ground); }
.rowlink:hover .arr { transform: translateX(8px); color: var(--accent); }
@media (max-width: 800px) { .rowlink { grid-template-columns: 1fr auto; } .rowlink p { grid-column: 1 / 2; } .rowlink .arr { grid-row: 1; grid-column: 2; } }

/* Three-up text columns */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.cols3 h3 { margin-bottom: 14px; }
.col-card { background: var(--ground-2); border-radius: var(--r); padding: clamp(24px, 2.8vw, 40px); }
.col-card li { padding: 6px 0; }
.on-deep .col-card, .on-ink .col-card { background: rgba(245,240,230,.08); }
@media (max-width: 900px) { .cols3 { grid-template-columns: 1fr; } }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
@media (max-width: 800px) { .cols2 { grid-template-columns: 1fr; } }

/* Band: image across the page with a statement */
.band { position: relative; isolation: isolate; color: #fff; overflow: hidden; min-height: clamp(420px, 56vw, 640px); display: flex; align-items: center; background: var(--deep); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,39,48,.82) 0%, rgba(15,39,48,.5) 50%, rgba(15,39,48,.1) 100%); } /* taste-skill-ignore: neutral scrim under text on a photo */
.band .wrap { padding-block: clamp(56px, 7vw, 96px); }
.band h2 { max-width: 15ch; }
.band p { max-width: 44ch; margin-top: 22px; font-size: 19px; }
.band .btn { margin-top: 26px; }

/* CTA field */
.cta { background: var(--accent); color: var(--ink); }
.cta .inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.cta h2 { max-width: 14ch; }
.cta .btn.dark:hover { background: #24505f; }
@media (max-width: 900px) { .cta .inner { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.field { display: block; }
.field span { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 2px solid transparent; border-radius: 12px; padding: 14px 16px; transition: border-color .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 150px; resize: vertical; }
.form .note { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Contact details */
.contact-list li { padding: 14px 0; font-size: 20px; }
.contact-list small { display: block; font-size: 15px; color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--deep); color: var(--on-deep); }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.site-footer .brand img { height: 54px; }
.site-footer p { color: var(--on-deep-2); max-width: 34ch; margin-top: 18px; }
.site-footer h4 { font-family: var(--ui); font-size: 24px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; color: var(--accent); }
.site-footer li { padding: 4px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px 36px; font-size: 15px; color: var(--on-deep-2); background: rgba(0,0,0,.18); }
.site-footer .legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
@media (max-width: 900px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .top { grid-template-columns: 1fr; } }

/* Credits page */
.credit { padding: 18px 0; }
.credit img { width: 120px; height: 80px; object-fit: cover; border-radius: 10px; }
.credit { display: flex; gap: 18px; align-items: center; }

/* Motion: reveal only when JS is running, never hides content otherwise */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero img.bg, .page-hero img.bg { animation: none; }
  .btn, .card img, .tile, .rowlink { transition: none; }
}

/* ── Refinements ── */
.brand img { height: 56px; }
.site-header .wrap { min-height: 84px; }
@media (max-width: 1180px) { .nav { inset: 84px 0 auto 0; max-height: calc(100dvh - 84px); } }
@media (max-width: 480px) { .brand img { height: 46px; } .site-header .wrap { min-height: 72px; } }
.statement { font-family: var(--display); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.22; max-width: 30ch; margin: 0; }
.cta h2 { max-width: 20ch; }
.cards.quad { grid-template-columns: repeat(4, 1fr); }
.cards.quint { grid-template-columns: repeat(5, 1fr); }
.cards.quint .tile h3 { font-size: clamp(24px, 2vw, 32px); overflow-wrap: anywhere; }
.cards.quad .tile h3 { font-size: clamp(26px, 2.2vw, 36px); }
.card.sq { aspect-ratio: 1; }
.cards.mix { grid-template-columns: 1.5fr 1fr 1fr; }
.cards.mix .card { aspect-ratio: auto; height: clamp(340px, 34vw, 500px); }
@media (max-width: 1100px) { .cards.quint { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .cards.quad { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .cards.mix { grid-template-columns: 1fr 1fr; } .cards.mix .card:first-child { grid-column: 1 / -1; aspect-ratio: auto; } }
@media (max-width: 700px) { .cards.quint { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards.quad, .cards.quint, .cards.mix { grid-template-columns: 1fr; } .cards.mix .card { height: 300px; } .card.sq { aspect-ratio: 4 / 3; } }
.on-deep .rowlink, .on-ink .rowlink { background: rgba(245,240,230,.08); color: var(--on-deep); }
.on-deep .rowlink:hover, .on-ink .rowlink:hover { background: var(--accent); color: var(--ink); }
.on-deep .rowlink:hover .arr { color: var(--ink); }
.form .note { font-size: 16px; color: var(--ink); }
.page-hero.flat .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px clamp(28px, 5vw, 88px); align-items: end; }
.page-hero.flat .lead { margin: 0; }
@media (max-width: 800px) { .page-hero.flat .wrap { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(180deg, rgba(15,39,48,.35) 0%, rgba(15,39,48,.78) 100%); } /* taste-skill-ignore: neutral scrim under text on a photo */
  .page-hero.has-img::after, .band::after { background: rgba(15,39,48,.62); }
}
.page-hero + .section { padding-top: clamp(56px, 6vw, 104px); }
/* equal-height columns: stretch the animation wrapper and the card inside it */
.cols3 > [data-reveal], .cols2 > [data-reveal] { display: flex; }
.cols3 > [data-reveal] > .col-card { flex: 1; width: 100%; }
.cols3, .cols2 { align-items: stretch; }
.site-footer .terms { display: flex; gap: 20px; align-items: baseline; }

.site-footer .terms a { color: var(--on-deep-2); }
