/* ===========================================================================
   Empact Adventures: brand
   The colours, type, spacing and base styles every Empact page shares. Load it first,
   then nav.css, then the page's own styles. Colours come from empact-flood-carousel/DESIGN.md.
   Type scale: 1.25 minor third, fluid. Spacing: 8px base. No ad hoc values.
   =========================================================================== */
:root{color-scheme:only light}
:root{
  /* colour, from empact-flood-carousel/DESIGN.md */
  --bone:#F5F2EB; --paper:#FFFFFF; --ink:#14181C; --orange:#FF4713;
  --slate:#38424D; --muted:#5C6570; --grid:#CFCABF; --amber:#B25A18;
  /* derived colours: every tint, on-dark text and overlay comes from here */
  --error:#B3261E; --ink-tint:rgba(20,24,28,.1); --paper-tint:rgba(255,255,255,.12);
  /* the nav: a deep ink glass, so orange can be the accent instead of the whole surface */
  --nav-bg:rgba(20,24,28,.9); --nav-panel:#181D22; --nav-line:rgba(255,255,255,.1); --orange-tint:rgba(255,71,19,.16); --orange-pick:rgba(255,71,19,.26); --disabled:#B7B4AB;
  --on-ink:#D6D9DC; --on-ink-muted:#A8AEB5; --rule-on-ink:rgba(245,242,235,.2);
  --scrim:rgba(20,24,28,.45);
  /* one elevation, used only by things that float over the page (popovers, sheets) */
  --shadow-pop:0 24px 56px -28px rgba(20,24,28,.5);
  /* one shape: square corners on every button, field, panel and tag. Circles are kept only
     where the thing is round by meaning: icon discs, round arrow buttons, calendar days. */

  /* type scale */
  --t-xs:.78rem;                        /* tracked labels */
  --t-sm:.94rem;                        /* captions, meta */
  --t-base:1.0625rem;                   /* body, 17px */
  --t-md:1.1875rem;                     /* lead paragraphs */
  --t-lg:clamp(1.22rem,1.5vw,1.4rem);   /* card titles */
  --t-xl:clamp(1.45rem,2.1vw,1.75rem);  /* sub headings */
  --t-2xl:clamp(1.8rem,3.4vw,2.5rem);   /* section headings */
  --t-3xl:clamp(2.05rem,4.2vw,3.1rem);  /* big section headings */
  --t-4xl:clamp(2.3rem,5vw,3.9rem);     /* hero */

  /* line heights */
  --lh-display:.98; --lh-snug:1.22; --lh-body:1.6;

  /* tracking: the larger the setting, the tighter */
  --tr-display:-.035em; --tr-head:-.025em; --tr-label:.14em;

  /* spacing, 8px base */
  --s1:.25rem; --s2:.5rem; --s3:.75rem; --s4:1rem; --s5:1.5rem;
  --s6:2rem; --s7:3rem; --s8:4rem; --s9:6rem; --s10:8rem;

  /* measure */
  --measure:64ch; --measure-narrow:46ch; --measure-head:22ch;

  --ease:cubic-bezier(.16,1,.3,1);
  --slow:cubic-bezier(.22,.61,.24,1);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:clip;-webkit-text-size-adjust:100%}
body{overflow-x:clip;background:var(--bone);color:var(--ink);
  font-family:Montserrat,system-ui,sans-serif;font-size:var(--t-base);line-height:var(--lh-body);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}   /* width/height attributes give the shape for loading; the layout sets the size */
::selection{background:var(--orange);color:var(--ink)}
:focus-visible{outline:2.5px solid var(--orange);outline-offset:3px}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:var(--bone)}
::-webkit-scrollbar-thumb{background:var(--grid)}
::-webkit-scrollbar-thumb:hover{background:var(--muted)}
*{scrollbar-color:var(--grid) var(--bone);scrollbar-width:thin}

/* ---- typographic primitives ---- */
.wrap{max-width:1280px;margin:0 auto;padding-inline:var(--s5)}
@media(min-width:900px){.wrap{padding-inline:var(--s7)}}
.disp{font-family:Montserrat,sans-serif;font-weight:900;
  letter-spacing:var(--tr-display);line-height:var(--lh-display);text-wrap:balance}
h1{font-size:var(--t-4xl)}
h2{font-size:var(--t-3xl);max-width:var(--measure-head)}
h3{font-family:Montserrat,sans-serif;font-weight:900;font-size:var(--t-lg);
  letter-spacing:var(--tr-head);line-height:var(--lh-snug);text-wrap:balance}
p{max-width:var(--measure);text-wrap:pretty}
.lead{font-size:var(--t-md);color:var(--slate);max-width:var(--measure-narrow)}
.label{font-family:Montserrat,sans-serif;font-weight:800;font-size:var(--t-xs);
  letter-spacing:var(--tr-label);text-transform:uppercase;color:var(--muted)}
.meta{font-size:var(--t-sm);color:var(--muted)}
/* more space above a heading than below it */
.stack > * + *{margin-top:var(--s4)}
.stack > h2 + *{margin-top:var(--s5)}

/* visually hidden, still read out by screen readers */
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip:focus{position:fixed;width:auto;height:auto;overflow:visible;clip:auto;
  left:var(--s5);top:var(--s4);z-index:99;background:var(--orange);color:var(--ink);
  font-family:Montserrat,sans-serif;font-weight:800;padding:var(--s3) var(--s5)}

/* the text link with an arrow ("See all trips"): ink, an orange rule under it, the arrow nudges on hover */
.more{display:inline-flex;align-items:center;gap:var(--s2);font-family:Montserrat,sans-serif;
  font-weight:800;font-size:var(--t-sm);color:var(--ink);text-decoration:none;
  border-bottom:2px solid var(--orange);padding-bottom:var(--s1);min-height:44px}
.more svg{transition:transform .2s var(--ease)}
.more:hover svg{transform:translateX(3px)}

/* keep the side gutters clear of a phone's rounded corners and notch */
.wrap{padding-left:max(var(--s5), env(safe-area-inset-left, 0px));padding-right:max(var(--s5), env(safe-area-inset-right, 0px))}
@media(min-width:900px){.wrap{padding-left:max(var(--s7), env(safe-area-inset-left, 0px));padding-right:max(var(--s7), env(safe-area-inset-right, 0px))}}

/* ---- icon system: 24 grid, 1.75 stroke, round caps, nothing decorative ---- */
.i{width:1.5rem;height:1.5rem;flex:none;stroke:currentColor;fill:none;
  stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.i-lg{width:1.75rem;height:1.75rem;stroke-width:1.6}
.i-sm{width:1.05rem;height:1.05rem;stroke-width:1.9}

/* ---- ground rhythm ----
   Option 2: no rules between sections. Separation comes from the block colour
   alternating bone, paper, ink. Every second block must be genuinely different
   or the transition disappears, so the order below is deliberate:
   hero ink (nav floats on it) -> benefits paper -> trips bone -> villages ink
   -> how paper -> closing photo -> footer ink                                */
.on-paper{background:var(--paper)}
.on-bone{background:var(--bone)}

@keyframes fadeIn{from{opacity:0}to{opacity:1}}
