/* ─────────────────────────────────────────────────────────────
   Aavalevi — Travel Agencies page
   Ported from the Phase 1 prototype. EVERY selector is scoped under
   .aav-agency: this page runs inside Breakdance, which ships
   normalize.min.css, global-settings.css and presets.css site-wide,
   plus headspin-base.css. Bare element selectors (h2, p, input…)
   would collide in both directions, so none survive here.

   Fonts are NOT declared: Breakdance already loads 'Marcellus' and
   'Raleway' (weights 300/400/500/600) on every page.
   ───────────────────────────────────────────────────────────── */

/* Breakdance's own font CSS on the dev site points at https://aavalevi.fi,
   so the webfonts are cross-origin there and Chrome/Safari block them for
   lack of an Access-Control-Allow-Origin header — the page silently falls
   back to Georgia and system sans. These re-declare the SAME files by a
   site-relative path, which is same-origin in every environment. Identical
   font files, so this is additive, not an override of the site's typography. */
@font-face{font-family:'Marcellus';font-style:normal;font-weight:400;font-display:swap;
  src:url('/wp-content/uploads/breakdance/fonts/marcellus_v13_latin_regular.woff2') format('woff2');}
@font-face{font-family:'Raleway';font-style:normal;font-weight:300;font-display:swap;
  src:url('/wp-content/uploads/breakdance/fonts/raleway_v36_latin_300.woff2') format('woff2');}
@font-face{font-family:'Raleway';font-style:normal;font-weight:400;font-display:swap;
  src:url('/wp-content/uploads/breakdance/fonts/raleway_v36_latin_regular.woff2') format('woff2');}
@font-face{font-family:'Raleway';font-style:normal;font-weight:500;font-display:swap;
  src:url('/wp-content/uploads/breakdance/fonts/raleway_v36_latin_500.woff2') format('woff2');}
@font-face{font-family:'Raleway';font-style:normal;font-weight:600;font-display:swap;
  src:url('/wp-content/uploads/breakdance/fonts/raleway_v36_latin_600.woff2') format('woff2');}

.aav-agency{
  --cream:#F4F0E5;
  --paper:#FFFFFF;
  --ink:#1A2224;
  --slate:#3F4E4F;
  --tan:#BD7B46;
  --sand:#A27B5C;
  --line:rgba(26,34,36,.13);
  --line-strong:rgba(26,34,36,.28);
  --muted:rgba(26,34,36,.62);
  --onink-muted:rgba(244,240,229,.62);
  --display:'Marcellus',Georgia,'Times New Roman',serif;
  --body:'Raleway',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --data:ui-monospace,'SF Mono',SFMono-Regular,Menlo,Consolas,monospace;
  --radius:28px;
  --radius-sm:14px;
  --pad:clamp(20px,4vw,64px);
  --maxw:1320px;

  background:var(--cream);
  color:var(--ink);
  font-family:var(--body);
  font-weight:400;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

.aav-agency *,
.aav-agency *::before,
.aav-agency *::after{box-sizing:border-box}

.aav-agency img{max-width:100%;display:block}
.aav-agency a{color:inherit}
/* `color:inherit` is load-bearing, not tidiness. An inherited colour loses to
   ANY matching rule, so a bare `h3{color:#1A2224}` from the theme or Breakdance
   beat our dark-panel context and painted the step headings near-black on the
   near-black slab. Inheriting explicitly puts them back under the control of
   whichever section they sit in. */
.aav-agency h1,
.aav-agency h2,
.aav-agency h3,
.aav-agency h4{
  font-family:var(--display);font-weight:400;line-height:1.12;margin:0;letter-spacing:.004em;
  text-transform:none;color:inherit;
}
/* Breakdance's global settings give `.breakdance h1` a FIXED 65px line height
   and `.breakdance h3` 48px. Same specificity as the rule above and loaded
   later, so they won: fine at desktop sizes, but a 32px phone headline got
   ~2x line spacing. The doubled class outranks them. Component rules further
   down (.act-body h3 etc.) keep their own line heights: they come later at
   equal or higher specificity. */
.aav-agency.aav-agency h1,
.aav-agency.aav-agency h3,
.aav-agency.aav-agency h4{line-height:1.12}
/* The site footer's "Ready to experience Lapland? / Book your stay now!"
   band is a holidaymaker CTA straight after this page's own closing band. */
.page-template-aav-agency-template .bde-section-4641-123{display:none}
.aav-agency h1{font-size:clamp(2.4rem,4.6vw,4.05rem)}
.aav-agency h2{font-size:clamp(2rem,4vw,3.4rem)}
.aav-agency h3{font-size:clamp(1.3rem,2vw,1.75rem)}
.aav-agency p{margin:0 0 1.1em}
.aav-agency :focus-visible{outline:2px solid var(--tan);outline-offset:3px;border-radius:4px}

.aav-agency .wrap{max-width:var(--maxw);margin:0 auto;padding-inline:var(--pad)}
.aav-agency .eyebrow{
  font-size:.72rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;
  color:var(--sand);margin:0 0 1.1em;
}
.aav-agency .lede{font-size:clamp(1.05rem,1.6vw,1.3rem);font-weight:300;line-height:1.62;color:var(--slate)}
.aav-agency .measure{max-width:62ch}

/* ── Buttons ─────────────────────────────────────────────── */
.aav-agency .btn{
  display:inline-flex;align-items:center;gap:.5em;
  font-family:var(--display);font-size:1.02rem;font-weight:400;
  padding:.92em 2em;border-radius:999px;text-decoration:none;
  border:1px solid transparent;cursor:pointer;text-transform:none;
  transition:background-color .25s ease,color .25s ease,border-color .25s ease,transform .25s ease;
}
.aav-agency .btn:hover{transform:translateY(-1px)}
.aav-agency .btn-primary{background:var(--tan);color:#fff}
.aav-agency .btn-primary:hover{background:var(--sand);color:#fff}
.aav-agency .btn-ghost{border-color:var(--line-strong);color:var(--ink);background:transparent}
.aav-agency .btn-ghost:hover{border-color:var(--ink)}
.aav-agency .on-ink .btn-ghost{border-color:rgba(244,240,229,.4);color:var(--cream)}
.aav-agency .on-ink .btn-ghost:hover{border-color:var(--cream)}

/* ── Hero ──────────────────────────────────────────────────
   Static by default. The scrub mechanism is retained but gated
   behind data-scrub="1"; it stays off until winter footage lands. */
/* Bottom padding matches the section rhythm: the hero is not a .section,
   so without this the facts strip sat directly on the sand band below. */
.aav-agency .hero{padding-top:clamp(12px,2vw,20px);padding-bottom:clamp(48px,6vw,80px)}
.aav-agency .hero-frame{
  position:relative;border-radius:var(--radius);overflow:hidden;
  min-height:min(78vh,760px);display:flex;align-items:flex-end;
}
.aav-agency .hero-frame img,
.aav-agency .hero-frame canvas{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.aav-agency .hero-frame canvas{opacity:0;transition:opacity .6s ease;z-index:1}
.aav-agency .hero-frame canvas.is-live{opacity:1}

.aav-agency .hero.is-scrub{padding-top:0}
.aav-agency .hero.is-scrub .wrap{padding-inline:0;max-width:none}
.aav-agency .hero.is-scrub .hero-track{height:230vh;position:relative}
.aav-agency .hero.is-scrub .hero-frame{
  position:sticky;top:0;height:100vh;min-height:0;border-radius:0;
}
.aav-agency .hero.is-scrub .hero-facts-wrap{max-width:var(--maxw);margin:0 auto;padding-inline:var(--pad)}
.aav-agency .hero.is-scrub .hero-copy{transition:opacity .5s ease,transform .5s ease}
.aav-agency .hero.is-scrub .hero-copy.is-out{opacity:0;transform:translateY(-14px);pointer-events:none}

.aav-agency .hero-beat{
  position:absolute;z-index:4;left:0;right:0;bottom:clamp(28px,5vw,66px);
  padding-inline:clamp(28px,5vw,66px);
  font-family:var(--display);color:#fff;
  font-size:clamp(2rem,4vw,3.4rem);line-height:1.15;
  text-shadow:0 2px 30px rgba(10,14,15,.55);
  opacity:0;transform:translateY(16px);transition:opacity .55s ease,transform .55s ease;
  pointer-events:none;max-width:22ch;margin:0;
}
.aav-agency .hero-beat.is-in{opacity:1;transform:none}
.aav-agency .hero-cue{display:none}
.aav-agency .hero.is-scrub .hero-cue{
  display:block;position:absolute;z-index:4;left:50%;bottom:1.6rem;transform:translateX(-50%);
  font-family:var(--data);font-size:.68rem;letter-spacing:.22em;text-transform:uppercase;
  color:rgba(244,240,229,.6);transition:opacity .4s ease;pointer-events:none;
}
.aav-agency .hero-cue.is-out{opacity:0}
/* Two layers: a side shade behind the text column that fades out towards
   the right, so the photo stays open there, over the original top-to-bottom
   shade. The old vertical-only gradient was lightest (.18) exactly where the
   copy sits, and over a bright snowy aerial that measured 2.6-3.3:1 behind
   the text. Phones get an even shade instead (see the 760px block), since
   the copy spans the full width there. */
.aav-agency .hero-frame::after{
  content:'';position:absolute;inset:0;z-index:2;
  background:
    linear-gradient(90deg,rgba(10,14,15,.78) 0%,rgba(10,14,15,.62) 34%,rgba(10,14,15,.22) 62%,rgba(10,14,15,0) 82%),
    linear-gradient(180deg,rgba(10,14,15,.40) 0%,rgba(10,14,15,.08) 34%,rgba(10,14,15,.62) 100%);
}
.aav-agency .hero-copy h1,
.aav-agency .hero-copy p,
.aav-agency .hero-copy .eyebrow{text-shadow:0 1px 22px rgba(10,14,15,.45)}
.aav-agency .hero-copy{position:relative;z-index:4;padding:clamp(28px,5vw,66px);color:var(--cream);max-width:56ch}
.aav-agency .hero-copy .eyebrow{color:rgba(244,240,229,.8)}
.aav-agency .hero-copy h1{color:#fff;text-wrap:balance}
.aav-agency .hero-copy p{color:rgba(244,240,229,.92);font-weight:300;font-size:clamp(1.05rem,1.5vw,1.25rem);margin-top:1.1em;max-width:46ch}
.aav-agency .hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.8em}
.aav-agency .hero-copy .btn-ghost{border-color:rgba(244,240,229,.45);color:var(--cream)}
.aav-agency .hero-copy .btn-ghost:hover{border-color:var(--cream);background:rgba(244,240,229,.08)}

.aav-agency .facts{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1px;
  background:var(--line);border:1px solid var(--line);border-radius:var(--radius-sm);
  overflow:hidden;margin-top:clamp(20px,3vw,34px);
}
.aav-agency .facts div{background:var(--cream);padding:1.15rem 1.3rem}
.aav-agency .facts b{display:block;font-family:var(--display);font-size:1.5rem;font-weight:400;line-height:1.1}
.aav-agency .facts span{font-size:.78rem;letter-spacing:.11em;text-transform:uppercase;color:var(--muted)}

/* ── Section rhythm ──────────────────────────────────────────
   Matched to the site's own scale, not invented: the prod tan band
   runs 72px, homepage inner containers 72–80px. The old
   clamp(64px,9vw,132px) was ~1.8× the site's rhythm, and the
   is-tight modifier (padding-top:0) let headings land directly on
   the edge of the previous band — both now gone. Every section
   carries its own padding; a surface change is a bonus separator,
   never a substitute. */
.aav-agency .section{padding-block:clamp(48px,6vw,80px)}
.aav-agency .section-head{max-width:64ch;margin-bottom:clamp(30px,4vw,56px)}
/* Heading left, standfirst right. Aligned on their FIRST BASELINES, not on
   their bottoms: bottom-alignment only reads well while the standfirst is two
   or three lines, and collapses once it is longer — the heading sinks to the
   foot of the column while the body text climbs above it, leaving a hole where
   the heading should be. Baseline keeps the two opening lines locked together
   however long either side runs. */
/* Columns near-even rather than 1.2fr/1fr. The old split gave the heading the
   wider column, which only worked when the standfirst was short: a long one
   was forced into a narrow measure, ran to seven or eight lines, and left the
   entire left side empty beneath a two-line heading. Even columns keep the two
   sides closer in height whatever the copy does. */
.aav-agency .section-head.is-split{
  max-width:none;display:grid;align-items:baseline;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  column-gap:clamp(28px,5vw,84px);
}
.aav-agency .section-head.is-split .eyebrow{grid-column:1/-1}
.aav-agency .section-head.is-split .lede{margin-bottom:0}

/* ── Full-bleed escape ────────────────────────────────────────
   Breakdance's code-block template (post 4623) wraps the content
   region in .section-container — max-width 1406, side margins and
   padding — so the surface bands stopped 37px short of the viewport
   and the page read as a boxed column. Flatten ONLY the wrappers
   that contain this page's root; :has() leaves them untouched on
   every other page. Measured on aavalevi.fi: the prod tan band is
   literally viewport-wide. */
/* !important is deliberate and confined to these three rules: Breakdance
   styles its wrappers with element-id selectors (.bde-section-4623-100 …)
   that outrank anything class-based we write, and this page must escape
   that chrome. Verified matched-but-losing via computed styles. */
.section-container:has(.aav-agency){
  max-width:none !important;width:100% !important;
  margin-inline:0 !important;padding-inline:0 !important;
}
.bde-code-block:has(> .aav-agency){
  width:100% !important;max-width:none !important;padding:0 !important;
}
.bde-code-block > .aav-agency{width:100% !important;max-width:none !important}

/* ── Surfaces ─────────────────────────────────────────────────
   Chapters, not one continuous pipe. Built ONLY from the site's
   Breakdance palette — cream, white, sand, ink, slate — no new
   colours. Two rules carry the system:
     1. no two adjacent sections share a surface;
     2. a surface change IS the separator, so where the surface does
        NOT change the section keeps its own top padding.
   Sections are already full-width block elements (the .wrap inside
   does the 1320px measure), so a background here is edge-to-edge. */
.aav-agency .surface-cream{background:var(--cream)}
.aav-agency .surface-white{background:var(--paper)}
.aav-agency .surface-sand {background:var(--sand)}
.aav-agency .surface-ink  {background:var(--ink)}
.aav-agency .surface-slate{background:var(--slate)}

/* Light type on the dark surfaces. Headings are set explicitly rather
   than left to inherit — Breakdance's --bde-headings-color (#111827)
   beats an inherited colour and would paint them near-black. */
.aav-agency .is-dark{color:var(--cream)}
.aav-agency .is-dark h1,
.aav-agency .is-dark h2,
.aav-agency .is-dark h3,
.aav-agency .is-dark h4{color:#fff}
.aav-agency .is-dark .lede{color:rgba(244,240,229,.74)}
.aav-agency .is-dark p{color:rgba(244,240,229,.86)}
.aav-agency .is-dark .grid-note{color:rgba(244,240,229,.7)}
.aav-agency .is-dark .eyebrow{color:rgba(244,240,229,.72)}
/* Tan has enough separation from ink and slate to stay the accent, but
   sits too close to sand — there the eyebrow stays cream. */
.aav-agency .surface-ink .eyebrow,
.aav-agency .surface-slate .eyebrow{color:var(--tan)}
.aav-agency .is-dark .btn-ghost{border-color:rgba(244,240,229,.45);color:var(--cream)}
.aav-agency .is-dark .btn-ghost:hover{border-color:var(--cream);background:rgba(244,240,229,.08)}

/* Light islands ON a dark surface keep their own dark type. Without this the
   surface colour cascades into every white card sitting on the band — white
   heading on a white door card, cream week-picker text on its white pill. */
.aav-agency .is-dark :is(.door,.week-bar,.villa,.fit-col,.term,.person,.enquiry-form,.desk:not(.is-ours)){
  color:var(--ink);
}
.aav-agency .is-dark :is(.door,.week-bar,.villa,.fit-col,.term,.person,.enquiry-form,.desk:not(.is-ours)) :is(h1,h2,h3,h4){
  color:var(--ink);
}
.aav-agency .is-dark .door p{color:var(--muted)}
.aav-agency .is-dark .week-bar :is(.k,.note){color:var(--muted)}
.aav-agency .is-dark .week-bar .v{color:var(--ink)}

/* ── The collection band ──────────────────────────────────────
   The device from aavalevi.fi: a sand band behind the heading and the
   week picker, with the card grid pulled up so it straddles the edge —
   half on sand, half on cream. Ties the head to the cards and makes
   this read as the centre of the page. */
.aav-agency .collection-band{padding-bottom:clamp(96px,13vw,180px)}
.aav-agency .collection-grid{padding-top:0}
.aav-agency .collection-grid .grid-3{margin-top:clamp(-140px,-10vw,-72px)}

/* ── Payoff on white ─────────────────────────────────────────
   The desks are the conclusion of the ledger, so they get their own
   surface and a heading. On white the "yours" desk switches to cream,
   otherwise it would be a white card on a white band. */
.aav-agency .surface-white .desk{background:var(--cream)}
.aav-agency .surface-white .desk.is-ours{background:var(--ink)}
.aav-agency .surface-white .card{background:var(--paper)}
.aav-agency .surface-white .desk.is-ours .card{background:rgba(244,240,229,.09)}
.aav-agency .surface-white .card.card-keep{background:var(--tan);color:#fff}
.aav-agency .payoff-head{margin-bottom:clamp(22px,3vw,38px)}

/* ── Two doors ───────────────────────────────────────────── */
.aav-agency .doors{display:grid;grid-template-columns:1fr 1fr;gap:clamp(14px,2vw,24px)}
.aav-agency .door{
  display:block;text-decoration:none;background:var(--paper);
  border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(26px,3.4vw,44px);
  transition:border-color .3s ease,transform .3s ease;
}
.aav-agency .door:hover{border-color:var(--tan);transform:translateY(-3px)}
.aav-agency .door h3{margin-bottom:.5em}
.aav-agency .door p{color:var(--muted);margin-bottom:1.1em}
.aav-agency .door .door-go{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--tan);font-weight:600}

/* ── Problem (dark) ──────────────────────────────────────── */
.aav-agency .on-ink{background:var(--ink);color:var(--cream);border-radius:var(--radius)}
/* All four levels, not just h2: Breakdance sets --bde-headings-color to
   #111827 and that beats an inherited colour, which left the "Becoming a
   partner" step headings almost invisible on the dark slab. */
.aav-agency .on-ink h1,
.aav-agency .on-ink h2,
.aav-agency .on-ink h3,
.aav-agency .on-ink h4{color:#fff}
.aav-agency .on-ink .eyebrow{color:var(--tan)}
.aav-agency .on-ink .lede{color:var(--onink-muted)}
.aav-agency .slab{margin-block:clamp(10px,2vw,24px);padding:clamp(34px,6vw,88px) clamp(24px,5vw,72px)}
.aav-agency .supplier-list{
  list-style:none;margin:2.4rem 0 0;padding:0;
  display:grid;grid-template-columns:repeat(5,1fr);gap:1px;
  background:rgba(244,240,229,.16);border:1px solid rgba(244,240,229,.16);border-radius:var(--radius-sm);overflow:hidden;
}
.aav-agency .supplier-list li{background:var(--ink);padding:1rem 1.15rem;font-size:.94rem;display:flex;gap:.7rem;align-items:baseline}
.aav-agency .supplier-list .n{font-family:var(--data);font-size:.72rem;color:var(--tan);flex:0 0 auto}
.aav-agency .supplier-list li.is-yours{background:var(--tan);color:#fff}
.aav-agency .supplier-list li.is-yours .n{color:rgba(255,255,255,.8)}
.aav-agency .list-note{margin:1.1rem 0 0;font-size:.88rem;color:var(--onink-muted)}

/* ── Ledger (signature) ──────────────────────────────────── */
.aav-agency .ledger{position:relative}
.aav-agency .tl{position:relative}
.aav-agency .tl-item{
  display:grid;grid-template-columns:clamp(140px,15vw,210px) 56px minmax(0,1fr);
  gap:0 clamp(.6rem,2vw,1.7rem);
  padding-bottom:clamp(46px,8vw,104px);
}
.aav-agency .tl-stamp{
  text-align:right;padding-top:.2rem;
  font-family:var(--data);font-size:.76rem;line-height:1.45;letter-spacing:.02em;
  color:var(--muted);opacity:.55;transition:opacity .45s ease,color .45s ease;
}
.aav-agency .tl-stamp b{display:block;font-weight:400;color:var(--ink);font-size:.82rem}
.aav-agency .tl-stamp .to{color:var(--tan)}
.aav-agency .tl-item.is-done .tl-stamp{opacity:1}

.aav-agency .tl-node{position:relative;display:flex;justify-content:center}
.aav-agency .tl-node .pin{
  position:relative;z-index:2;width:16px;height:16px;margin-top:.45rem;border-radius:50%;
  background:var(--cream);border:1.5px solid var(--line-strong);
  transition:background-color .45s ease,border-color .45s ease,box-shadow .45s ease;
}
.aav-agency .tl-item.is-done .tl-node .pin{
  background:var(--tan);border-color:var(--tan);box-shadow:0 0 0 5px rgba(189,123,70,.15);
}
.aav-agency .tl-node::after{
  content:'';position:absolute;top:1.9rem;bottom:-1.2rem;left:50%;width:1px;
  background:var(--line-strong);opacity:.5;
}
.aav-agency .tl-item.is-done .tl-node::after{background:var(--tan);opacity:.65}
.aav-agency .tl-item:last-child .tl-node::after{display:none}

.aav-agency .tl-body{max-width:720px}
.aav-agency .tl-figure{border-radius:var(--radius-sm);overflow:hidden;aspect-ratio:16/9;background:var(--line)}
.aav-agency .tl-figure img{width:100%;height:100%;object-fit:cover}
.aav-agency .tl-body h3{margin:1.3rem 0 .45rem;max-width:24ch}
.aav-agency .tl-body p{color:var(--muted);max-width:52ch;margin:0}

/* The running state — a small fixed chip, bottom-centre so it clears
   the rail's stamps on the left and the contact pill on the right. */
.aav-agency .tally{
  position:fixed;left:50%;bottom:clamp(14px,2vw,28px);z-index:65;
  display:flex;align-items:baseline;gap:.55em;pointer-events:none;
  background:rgba(26,34,36,.86);backdrop-filter:blur(8px);
  border:1px solid rgba(244,240,229,.2);border-radius:999px;
  padding:.5em 1.1em;color:var(--cream);
  font-family:var(--data);font-size:.76rem;letter-spacing:.03em;
  opacity:0;transform:translate(-50%,10px);transition:opacity .4s ease,transform .4s ease;
}
.aav-agency .tally.is-on{opacity:1;transform:translate(-50%,0)}
.aav-agency .tally b{font-family:var(--display);font-size:1.15rem;font-weight:400;color:var(--tan);line-height:1}
.aav-agency .tally .tally-label{color:var(--onink-muted)}

/* The payoff: where the week ends up. Static — it costs no viewport. */
.aav-agency .payoff{margin-top:clamp(8px,2vw,20px)}
.aav-agency .desks{display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,2vw,20px)}
.aav-agency .desk{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm);padding:1.2rem 1.1rem}
.aav-agency .desk.is-yours{display:flex;flex-direction:column;justify-content:center}
.aav-agency .desk.is-ours{background:var(--ink);border-color:var(--ink);color:var(--cream)}
.aav-agency .desk h4{
  font-family:var(--body);font-size:.7rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--muted);margin:0 0 .9rem;
}
.aav-agency .desk.is-ours h4{color:var(--tan)}
.aav-agency .desk ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.aav-agency .card{font-size:.86rem;line-height:1.35;padding:.62rem .7rem;border-radius:9px;
  background:var(--cream);border:1px solid var(--line)}
.aav-agency .desk.is-ours .card{background:rgba(244,240,229,.09);border-color:rgba(244,240,229,.2);color:var(--cream)}
.aav-agency .card.card-keep{background:var(--tan);border-color:var(--tan);color:#fff;font-family:var(--display);font-size:1.05rem}
.aav-agency .desk .desk-note{margin:.9rem 0 0;font-size:.8rem;color:var(--muted)}
.aav-agency .desk.is-ours .desk-note{color:var(--onink-muted)}

/* ── Fit / not fit ───────────────────────────────────────── */
.aav-agency .fit{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,3vw,40px)}
.aav-agency .fit-col{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(24px,3vw,40px)}
.aav-agency .fit-col.is-not{background:transparent;border-style:dashed}
.aav-agency .fit-col ul{list-style:none;margin:1.2rem 0 0;padding:0;display:flex;flex-direction:column;gap:.85rem}
.aav-agency .fit-col li{display:flex;gap:.75rem;font-size:.98rem;line-height:1.5}
.aav-agency .fit-col li::before{content:'';flex:0 0 7px;height:7px;border-radius:50%;background:var(--tan);margin-top:.62em}
.aav-agency .fit-col.is-not li::before{background:transparent;border:1px solid var(--line-strong)}

/* ── Collection ──────────────────────────────────────────── */
.aav-agency .week-bar{
  display:flex;flex-wrap:wrap;align-items:center;gap:.7rem 1.1rem;
  border:1px solid var(--line);border-radius:999px;padding:.6rem 1.2rem;background:var(--paper);
  font-size:.85rem;margin-bottom:clamp(22px,3vw,36px);width:fit-content;
}
.aav-agency .week-bar .k{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.aav-agency .week-bar .v{font-family:var(--data);font-size:.85rem}
.aav-agency .week-bar .note{color:var(--muted);font-size:.8rem}
/* The week picker: this is the "answer at the counter in 30 seconds" control. */
.aav-agency .week-bar input[type="date"]{
  font-family:var(--data);font-size:.82rem;color:var(--ink);
  background:var(--cream);border:1px solid var(--line);border-radius:8px;
  padding:.35rem .55rem;width:auto;
}
.aav-agency .week-bar input[type="date"]:focus{outline:none;border-color:var(--tan);box-shadow:0 0 0 3px rgba(189,123,70,.14)}
.aav-agency .week-bar .nights-sel{
  font-family:var(--data);font-size:.82rem;color:var(--ink);
  background:var(--cream);border:1px solid var(--line);border-radius:8px;padding:.35rem .55rem;
}
.aav-agency .week-bar.is-busy{opacity:.55}

.aav-agency .grid-3{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:clamp(16px,2.4vw,30px)}
.aav-agency .villa{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm);
  overflow:hidden;display:flex;flex-direction:column;
  transition:border-color .3s ease,transform .3s ease;
}
.aav-agency .villa:hover{border-color:var(--line-strong);transform:translateY(-3px)}
.aav-agency .villa-img{aspect-ratio:3/2;overflow:hidden;background:var(--line);position:relative}
.aav-agency .villa-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.aav-agency .villa:hover .villa-img img{transform:scale(1.04)}
.aav-agency .villa-body{padding:1.15rem 1.25rem 1.35rem;display:flex;flex-direction:column;flex:1}
.aav-agency .villa h3{font-size:1.32rem;margin-bottom:.35rem}
.aav-agency .villa .place{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.aav-agency .specs{display:flex;flex-wrap:wrap;gap:.4rem;margin:.95rem 0}
.aav-agency .specs span{
  font-family:var(--data);font-size:.74rem;padding:.28rem .6rem;border-radius:6px;
  background:var(--cream);border:1px solid var(--line);white-space:nowrap;
}
.aav-agency .avail{
  display:flex;align-items:center;gap:.55rem;font-size:.85rem;
  padding-top:.85rem;border-top:1px solid var(--line);margin-top:auto;
}
.aav-agency .dot{width:7px;height:7px;border-radius:50%;background:var(--tan);flex:0 0 auto}
.aav-agency .avail.is-no .dot{background:var(--line-strong)}
.aav-agency .avail.is-no{color:var(--muted)}
.aav-agency .price{margin-top:.7rem;display:flex;align-items:baseline;justify-content:space-between;gap:1rem}
.aav-agency .price .total{font-family:var(--display);font-size:1.5rem}
.aav-agency .price .per{font-family:var(--data);font-size:.75rem;color:var(--muted);text-align:right}
.aav-agency .villa .fineprint{font-size:.72rem;color:var(--muted);margin:.5rem 0 0}
.aav-agency .villa.is-unavailable{opacity:.72}

/* Anchor targets clear the site's fixed header after a jump, as on the
   Private page. */
.aav-agency #collection,
.aav-agency #people,
.aav-agency #enquiry{scroll-margin-top:110px}

/* The same houses drawn by the booking widget (houses_use_widget switch).
   Ported from the Private page: the widget's theming variables remove its
   white panel, and the rest brings its card into line with .villa above —
   same overlap into the sand band, same surface, place line above the title,
   and the CTA as a text link, not a button. */
.aav-agency .house-widget{margin-top:clamp(-140px,-10vw,-72px);position:relative}
.aav-agency .house-widget .aavalevi-widget{
  --aava-surface:transparent;--aava-surface-shadow:none;--aava-surface-pad:0;
  --aava-card-surface:var(--paper);--aava-card-border:1px solid var(--line);
  --aava-font-head:var(--display);
  max-width:none;border-radius:0;
}
.aav-agency .house-widget .properties-grid{grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:clamp(16px,2.4vw,30px)}
.aav-agency .house-widget .property-card{
  border-radius:var(--radius-sm);display:flex;flex-direction:column;
  transition:border-color .3s ease,transform .3s ease;
}
.aav-agency .house-widget .property-card:hover{border-color:var(--line-strong);transform:translateY(-3px);box-shadow:none}
.aav-agency .house-widget .card-image{aspect-ratio:3/2;min-height:0;background:var(--line)}
.aav-agency .house-widget .card-image img{transition:transform .6s ease}
.aav-agency .house-widget .property-card:hover .card-image img{transform:scale(1.04)}
.aav-agency .house-widget .card-badge{display:none}
.aav-agency .house-widget .card-content{padding:1.15rem 1.25rem 1.35rem;display:flex;flex-direction:column;flex:1}
.aav-agency .house-widget .card-meta{order:-1;margin:0 0 .35rem;gap:0}
.aav-agency .house-widget .card-location{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.aav-agency .house-widget .card-location-pin{display:none}
.aav-agency.aav-agency .house-widget .card-title{font-family:var(--display);font-weight:400;font-size:1.32rem;line-height:1.2;margin:0 0 .35rem}
.aav-agency .house-widget .card-keyinfo{font-family:var(--data);font-size:.74rem;color:var(--ink);margin:.6rem 0 .95rem}
.aav-agency .house-widget .card-blurb{font-size:.92rem;line-height:1.55;color:var(--muted);margin:0 0 1.1rem}
.aav-agency .house-widget .view-details-btn{
  margin-top:auto;width:100%;padding:.9rem 0 0;
  background:none;border:0;border-top:1px solid var(--line);border-radius:0;
  font-family:var(--display);font-weight:400;font-size:1rem;color:var(--tan);text-align:left;
  transition:color .2s ease;
}
.aav-agency .house-widget .view-details-btn:hover{background:none;color:var(--ink)}
.aav-agency .house-widget .view-details-btn::after{content:' \2192'}
/* Breakdance's back-to-top sits at z-index 2147483631, above the widget's
   modal (1000), and covered its corner. main.js opens the modal by setting
   an inline display:flex, which is the only open-state hook it exposes.
   The page's own contact pill (.rail, z 70) is hidden for the same reason. */
body:has(#modalOverlay[style*="flex"]) .bde-back-to-top,
body:has(#modalOverlay[style*="flex"]) .aav-agency .rail{visibility:hidden}

/* ── Activities ──────────────────────────────────────────── */
/* min() guard: a bare 320px minimum overflowed the 280px inner width at a
   320px viewport (page scrolled sideways by 20px). Same fix as Private. */
.aav-agency .acts{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:clamp(14px,2vw,24px)}
.aav-agency .act{position:relative;border-radius:var(--radius-sm);overflow:hidden;aspect-ratio:4/5;display:flex;align-items:flex-end}
.aav-agency .act img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s ease}
.aav-agency .act:hover img{transform:scale(1.05)}
.aav-agency .act::after{content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(10,14,15,0) 22%,rgba(10,14,15,.5) 56%,rgba(10,14,15,.93) 100%)}
.aav-agency .act-body{position:relative;z-index:2;padding:1.3rem;color:var(--cream)}
.aav-agency .act-body h3{color:#fff;font-size:1.16rem;line-height:1.22;text-shadow:0 1px 14px rgba(10,14,15,.5)}
/* The label sits at the top as a chip with its own background. As a bare tan
   line above the title it had no contrast guarantee — over the bright husky and
   Lapp-tent photographs it fell apart — and it competed with the title instead
   of classifying the card. */
.aav-agency .act-tag{
  position:absolute;z-index:3;top:.85rem;left:.85rem;
  display:inline-block;padding:.32rem .68rem;border-radius:999px;
  background:rgba(20,27,29,.68);border:1px solid rgba(244,240,229,.22);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  font-family:var(--data);font-size:.64rem;letter-spacing:.11em;text-transform:uppercase;
  color:#EBC49B;white-space:nowrap;
}
.aav-agency .grid-note{margin:1.3rem 0 0;font-size:.85rem;color:var(--muted);max-width:76ch}
.aav-agency .grid-note em{font-style:normal;font-family:var(--data);font-size:.78rem;color:var(--tan)}

/* ── Terms / to-confirm ──────────────────────────────────── */
.aav-agency .terms{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;margin:0}
.aav-agency .term{background:var(--cream);padding:1.4rem 1.5rem}
.aav-agency .term dt{font-family:var(--display);font-size:1.15rem;margin-bottom:.35rem}
.aav-agency .term dd{margin:0;font-size:.94rem;color:var(--muted);display:flex;flex-direction:column;align-items:flex-start}
.aav-agency .tbc{
  display:inline-block;font-family:var(--data);font-size:.68rem;letter-spacing:.08em;
  color:var(--tan);border:1px dashed var(--tan);border-radius:5px;padding:.12rem .45rem;margin-top:.55rem;
}

/* ── People ──────────────────────────────────────────────── */
.aav-agency .people{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:clamp(16px,2.4vw,30px)}
.aav-agency .person{display:flex;gap:1.15rem;align-items:flex-start;background:var(--paper);border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:1.4rem 1.5rem}
.aav-agency .monogram{
  flex:0 0 62px;height:62px;border-radius:50%;background:var(--ink);color:var(--cream);
  display:grid;place-items:center;font-family:var(--display);font-size:1.3rem;letter-spacing:.04em;
}
.aav-agency .person h3{font-size:1.28rem}
.aav-agency .person .role{font-size:.76rem;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);margin-bottom:.6rem;display:block}
.aav-agency .person a{display:block;font-size:.94rem;text-decoration:none;color:var(--slate)}
.aav-agency .person a:hover{color:var(--tan)}

/* ── Steps ───────────────────────────────────────────────── */
/* Cards, not bare columns: since the section went full-bleed ink the three
   steps lost the slab that used to frame them. Same dark-card language as
   the "Our desk" panel. */
.aav-agency .steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:clamp(14px,2vw,24px);margin-top:2rem}
.aav-agency .step{
  background:rgba(244,240,229,.06);border:1px solid rgba(244,240,229,.16);
  border-radius:var(--radius-sm);padding:1.7rem 1.6rem 1.8rem;
}
.aav-agency .step .num{font-family:var(--data);font-size:.74rem;color:var(--tan);display:block;margin-bottom:.9rem;letter-spacing:.1em}
.aav-agency .step h3{font-size:1.3rem;margin-bottom:.4rem}
.aav-agency .step p{color:var(--onink-muted);font-size:.96rem;margin:0}

/* ── Enquiry ─────────────────────────────────────────────── */
.aav-agency .enquiry-grid{display:grid;grid-template-columns:1fr minmax(340px,42%);gap:clamp(26px,4vw,64px);align-items:start}
.aav-agency .promise{list-style:none;margin:1.8rem 0 0;padding:0;display:flex;flex-direction:column;gap:1rem}
.aav-agency .promise li{display:flex;gap:.9rem;align-items:baseline;font-size:.98rem}
.aav-agency .promise .clock{font-family:var(--data);font-size:.76rem;color:var(--tan);flex:0 0 auto;letter-spacing:.03em}

/* Gravity Forms lives inside this shell. GF ships its own markup, so the
   rules below deliberately target .gform_wrapper descendants rather than
   the prototype's hand-rolled fields. */
.aav-agency .enquiry-form{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(22px,3vw,36px);
}
.aav-agency .enquiry-form .gform_wrapper{margin:0}
.aav-agency .enquiry-form .gform_wrapper form{margin:0}
.aav-agency .enquiry-form .gform_fields{
  display:flex !important;flex-direction:column;gap:1.05rem;grid-template-columns:none !important;margin:0;padding:0;list-style:none;
}
.aav-agency .enquiry-form .gfield{margin:0;padding:0;width:auto !important}
.aav-agency .enquiry-form .gfield_label,
.aav-agency .enquiry-form legend.gfield_label{
  display:block;font-family:var(--body);font-size:.74rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);margin:0 0 .45rem;padding:0;
}
.aav-agency .enquiry-form .gfield_required{color:var(--tan)}
.aav-agency .enquiry-form input[type="text"],
.aav-agency .enquiry-form input[type="email"],
.aav-agency .enquiry-form input[type="tel"],
.aav-agency .enquiry-form textarea{
  width:100%;font-family:var(--body);font-size:1rem;line-height:1.5;color:var(--ink);
  background:var(--cream);border:1px solid var(--line);border-radius:8px;padding:.8rem .9rem;
  box-shadow:none;
}
.aav-agency .enquiry-form input[type="text"]:focus,
.aav-agency .enquiry-form input[type="email"]:focus,
.aav-agency .enquiry-form input[type="tel"]:focus,
.aav-agency .enquiry-form textarea:focus{
  outline:none;border-color:var(--tan);box-shadow:0 0 0 3px rgba(189,123,70,.14);
}
.aav-agency .enquiry-form textarea{min-height:96px;resize:vertical}
.aav-agency .enquiry-form .gfield_description{font-size:.8rem;color:var(--muted);padding-top:.35rem}

/* The intent switch: GF radios re-dressed as the prototype's two chips. */
.aav-agency .enquiry-form .aav-intent .gfield_radio{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.aav-agency .enquiry-form .aav-intent .gchoice{margin:0;position:relative}
.aav-agency .enquiry-form .aav-intent .gchoice input[type="radio"]{position:absolute;opacity:0;width:0;height:0;margin:0}
.aav-agency .enquiry-form .aav-intent .gchoice label{
  display:block;height:100%;margin:0;cursor:pointer;
  padding:.75rem .85rem;border-radius:10px;
  background:var(--cream);border:1px solid var(--line);
  font-family:var(--display);font-size:1.02rem;font-weight:400;line-height:1.2;color:var(--ink);
  text-transform:none;letter-spacing:normal;
  transition:border-color .2s ease,background-color .2s ease;
}
.aav-agency .enquiry-form .aav-intent .gchoice label:hover{border-color:var(--line-strong)}
.aav-agency .enquiry-form .aav-intent .gchoice input[type="radio"]:checked + label{
  border-color:var(--tan);background:rgba(189,123,70,.09);
}
.aav-agency .enquiry-form .aav-intent .gchoice input[type="radio"]:focus-visible + label{
  outline:2px solid var(--tan);outline-offset:2px;
}

/* GF's honeypot and heading (2026-10-16, form hardening for prod): never shown.
   Same rule as the Private page; GF's own stylesheet is not relied on. */
.aav-agency .enquiry-form .gform_validation_container,
.aav-agency .enquiry-form .gform_heading{display:none !important}
/* Consent checkbox (GF native `consent` field, css class aav-consent), styled as
   on the Private page: the field label stays visible so "(Required)" shows. */
.aav-agency .enquiry-form .aav-consent{border-top:1px solid var(--line);padding-top:1.1rem;margin-top:.3rem}
.aav-agency .enquiry-form .aav-consent .ginput_container_consent{display:flex;align-items:flex-start;gap:.6rem}
.aav-agency .enquiry-form .aav-consent input[type="checkbox"]{accent-color:var(--tan);width:auto;min-height:0;margin:.15rem 0 0;flex:0 0 auto}
.aav-agency .enquiry-form .aav-consent .gfield_consent_label{
  margin:0;font-family:var(--body);font-size:.85rem;font-weight:400;line-height:1.5;
  letter-spacing:normal;text-transform:none;color:var(--muted);cursor:pointer;
}
.aav-agency .enquiry-form .aav-consent a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--tan);text-underline-offset:3px}
.aav-agency .enquiry-form .aav-consent a:hover{color:var(--tan)}
.aav-agency .enquiry-form .gform_footer{margin:1.3rem 0 0;padding:0}
/* The submit is an <input type=submit> styled by GF's orbital theme, whose
   button colour comes from --bde-brand-primary-color — literally blue-500 on
   this install. GF's theme selectors outrank class chains, hence !important. */
.aav-agency .enquiry-form input[type="submit"].gform_button,
.aav-agency .enquiry-form .gform_button{
  display:inline-block;width:100% !important;
  font-family:var(--display) !important;font-size:1.02rem !important;font-weight:400 !important;
  padding:.92em 2em !important;border-radius:999px !important;border:0 !important;cursor:pointer;
  background:var(--tan) !important;color:#fff !important;text-transform:none;
  transition:background-color .25s ease;
}
.aav-agency .enquiry-form input[type="submit"].gform_button:hover,
.aav-agency .enquiry-form .gform_button:hover{background:var(--sand) !important}
.aav-agency .enquiry-form .gform_confirmation_message{
  font-size:.98rem;color:var(--ink);
}
.aav-agency .enquiry-form .validation_message,
.aav-agency .enquiry-form .gform_validation_errors{
  font-size:.85rem;color:#9a3412;background:transparent;border:0;padding:.3rem 0 0;
}
.aav-agency .form-note{font-size:.8rem;color:var(--muted);margin:.9rem 0 0}
/* Group travel line under the enquiry standfirst (2026-10-16): small, quiet,
   like the form note; the link carries the tan underline used for small links. */
.aav-agency .group-note{font-size:.88rem;line-height:1.55;color:var(--muted);margin:1rem 0 0}
.aav-agency .group-note a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--tan);text-underline-offset:.2em}
.aav-agency .group-note a:hover{color:var(--tan)}

/* ── Sample-programme showcase ────────────────────────────────
   A full-bleed image band, not a rounded box floating on cream —
   the same de-boxing the problem section got. The photograph is the
   section background, the copy sits in the normal .wrap measure. */
.aav-agency .showcase-band{
  position:relative;overflow:hidden;
  padding-block:clamp(80px,10vw,150px);
}
.aav-agency .showcase-band > img{
  position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;
}
.aav-agency .showcase-band::after{
  content:'';position:absolute;inset:0;z-index:1;
  /* Held darker through the middle: the copy runs to ~60ch and was crossing
     into the bright window in the photograph before the scrim had faded. */
  background:linear-gradient(105deg,rgba(20,27,29,.95) 0%,rgba(20,27,29,.89) 54%,rgba(20,27,29,.40) 100%);
}
.aav-agency .showcase-band .wrap{position:relative;z-index:2}
.aav-agency .showcase-copy{max-width:60ch}
.aav-agency .showcase-copy .lede{margin-bottom:1.6rem}
@media (max-width:760px){
  .aav-agency .showcase-band::after{background:linear-gradient(180deg,rgba(20,27,29,.78) 0%,rgba(20,27,29,.95) 55%)}
}

/* ── CTA band ────────────────────────────────────────────── */
.aav-agency .cta-band{position:relative;overflow:hidden;text-align:center;padding:clamp(54px,8vw,110px) var(--pad)}
.aav-agency .cta-band img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.aav-agency .cta-band::after{content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(20,27,29,.62) 0%,rgba(20,27,29,.88) 100%)}
.aav-agency .cta-band > *:not(img){position:relative;z-index:2}
.aav-agency .cta-band .eyebrow{color:rgba(244,240,229,.65);letter-spacing:.3em}
.aav-agency .cta-band h2{margin-bottom:1.4rem}
.aav-agency .cta-actions{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center}

/* ── Demo notes (toggleable from wp-admin) ───────────────── */
.aav-agency .demo-note{
  margin:clamp(28px,4vw,48px) 0 0;font-size:.8rem;color:var(--muted);
  border-left:2px solid var(--tan);padding-left:1rem;max-width:70ch;
}
.aav-agency .demo-aside{
  margin:0 0 1.6rem;font-size:.8rem;font-style:italic;color:var(--muted);
  border-left:2px dashed var(--tan);padding-left:1rem;max-width:70ch;
}

/* ── Sticky contact rail ─────────────────────────────────── */
/* Breakdance emits a site-wide back-to-top button (.bde-back-to-top, from the
   footer template) pinned bottom-right at z-index 2147483631. It measures a
   flat 60px square with a 20px right margin at EVERY width, so it owns the
   rightmost 80px of the viewport and this pill landed on top of it at 1920,
   1440, 1024, 768 and 390 alike (52-66px of overlap). We move out of its way
   rather than restyle it: the button belongs to the Breakdance footer, which
   is not ours to touch. The gap beyond the 80px reuses the pill's own edge
   inset, so it grows and shrinks with the page rather than reading as a fixed
   magic number. Same fix, same token, as the Aavalevi Private page. */
.aav-agency{--aav-backtotop:80px}
/* The site chatbot (booosted, prod only, WPCode 6305/6306) puts its launcher
   and a "Looking for ..." bubble bottom-right; from 768px up the bubble sat
   on this pill (28-41px overlap at 768-1920). The chatbot is not ours to
   change, so the pill steps further left instead: 140px clears the launcher
   and bubble at every width from 768 up (measured on prod 2026-10-16) and
   still clears the back-to-top button where it sits on the right. The chip
   shift at 768-1080 follows the same token. Phones keep 80px. */
@media (min-width:768px){.aav-agency{--aav-backtotop:140px}}
.aav-agency .rail{
  position:fixed;right:calc(var(--aav-backtotop) + clamp(14px,2vw,28px));
  bottom:clamp(14px,2vw,28px);z-index:70;
  display:flex;align-items:center;gap:.6rem;background:var(--ink);color:var(--cream);
  border:1px solid rgba(244,240,229,.22);
  border-radius:999px;padding:.6rem .6rem .6rem 1.15rem;text-decoration:none;
  box-shadow:0 12px 34px rgba(26,34,36,.24);
  opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .4s ease,transform .4s ease;
}
.aav-agency .rail.is-on{opacity:1;transform:none;pointer-events:auto}
/* Stood down while the #enquiry form is on screen (agency.js). Same
   specificity as .is-on and later, so it wins; the fade is the pill's own
   transition, which the reduced-motion block below already cuts to ~0. */
.aav-agency .rail.is-tucked{opacity:0;transform:translateY(14px);pointer-events:none}

/* Breakdance's back-to-top stands down while #enquiry is on screen, phones
   only (2026-10-16). There it can cover the end of the Send button and the
   message box as they pass the bottom of the screen. The page script puts
   aav-btt-tucked on <html> (only while #enquiry is on screen); this sheet
   loads only on this page, so nothing changes anywhere else on the site.
   visibility follows the fade so the hidden button also leaves the tab order. */
@media (max-width:767px){
  .bde-back-to-top{transition:opacity .3s ease,visibility 0s linear 0s}
  html.aav-btt-tucked .bde-back-to-top{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease,visibility 0s linear .3s}
}
.aav-agency .rail small{display:block;font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--tan)}
.aav-agency .rail span{font-family:var(--display);font-size:.98rem;line-height:1.2}
.aav-agency .rail .pip{width:36px;height:36px;border-radius:50%;background:var(--tan);display:grid;place-items:center;color:#fff;font-size:1rem}

/* ── Reveal ──────────────────────────────────────────────────
   Gated on html.aav-js, which a tiny inline script in wp_head adds.
   Progressive enhancement, and not theoretical: if agency.js fails to
   run — blocked by a consent manager, an extension, a CDN hiccup —
   an ungated `.reveal{opacity:0}` leaves the ENTIRE page blank except
   the hero, because nothing ever adds .is-in. No JS, no hiding. */
.aav-js .aav-agency .reveal{opacity:0;transform:translateY(20px);transition:opacity .8s ease,transform .8s ease}
.aav-js .aav-agency .reveal.is-in{opacity:1;transform:none}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width:1080px){
  /* Moving the pill out of the back-to-top button's way moves it INTO the
     tally chip: at 768 and 390 the two would overlap. Shift the chip left by
     exactly the distance the pill moved, so the clearance between them is the
     one the layout was drawn with. Above 1080 there is room to spare and the
     chip stays truly bottom-centre. */
  .aav-agency .tally{margin-left:calc(-1 * var(--aav-backtotop))}
  .aav-agency .enquiry-grid{grid-template-columns:1fr}
  .aav-agency .section-head.is-split{grid-template-columns:1fr;row-gap:1rem;align-items:start}
  .aav-agency .section-head.is-split .lede{padding-bottom:0}
  .aav-agency .supplier-list{grid-template-columns:repeat(2,1fr)}
  .aav-agency .terms{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .aav-agency{font-size:16px}
  .aav-agency .facts{grid-template-columns:1fr 1fr}
  .aav-agency .doors,
  .aav-agency .fit{grid-template-columns:1fr}
  .aav-agency .supplier-list{grid-template-columns:1fr}
  .aav-agency .terms{grid-template-columns:1fr}
  .aav-agency .desks{grid-template-columns:1fr}
  .aav-agency .hero-frame{min-height:70vh}
  .aav-agency .hero-frame::after{
    background:linear-gradient(180deg,rgba(10,14,15,.62) 0%,rgba(10,14,15,.55) 45%,rgba(10,14,15,.80) 100%);
  }
  .aav-agency .rail{padding-left:.9rem}
  .aav-agency .rail .rail-text{display:none}
  .aav-agency .tally{padding:.4em .9em;font-size:.68rem}
  .aav-agency .tally b{font-size:1rem}
  .aav-agency .enquiry-form .aav-intent .gfield_radio{grid-template-columns:1fr}
  /* Rail collapses to a 44px node column; the stamp sits above the copy. */
  .aav-agency .tl-item{grid-template-columns:44px minmax(0,1fr);gap:0 .9rem}
  .aav-agency .tl-stamp{grid-column:2;grid-row:1;text-align:left;padding-top:0;margin-bottom:.7rem}
  .aav-agency .tl-stamp b{display:inline;font-size:.78rem}
  .aav-agency .tl-stamp b::after{content:' ';}
  .aav-agency .tl-node{grid-column:1;grid-row:1 / span 2}
  .aav-agency .tl-node .pin{margin-top:.1rem;width:14px;height:14px}
  .aav-agency .tl-node::after{top:1.3rem;bottom:-1rem}
  .aav-agency .tl-body{grid-column:2;grid-row:2}
}
@media (prefers-reduced-motion:reduce){
  .aav-agency *,
  .aav-agency *::before,
  .aav-agency *::after{animation-duration:.001ms !important;transition-duration:.001ms !important}
  .aav-js .aav-agency .reveal,
  .aav-agency .reveal{opacity:1 !important;transform:none !important}
}

/* ── Where Levi is (text + map), 2026-10-05 ── */
.aav-agency .lw-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:56px;align-items:center}
.aav-agency .lw-text h2{margin:0 0 18px}
.aav-agency .lw-intro{margin:0 0 18px}
.aav-agency .lw-points{list-style:none;margin:0 0 22px;padding:0}
.aav-agency .lw-points li{position:relative;padding:12px 0 12px 22px;border-top:1px solid rgba(162,123,92,.28)}
.aav-agency .lw-points li:last-child{border-bottom:1px solid rgba(162,123,92,.28)}
.aav-agency .lw-points li::before{content:"";position:absolute;left:2px;top:21px;width:7px;height:7px;border-radius:50%;background:#BD7B46}
.aav-agency .lw-link{font-weight:600;color:#1A2224;text-decoration:underline;text-underline-offset:4px}
.aav-agency .lw-map{min-width:0}
@media (max-width:1080px){.aav-agency .lw-grid{grid-template-columns:1fr;gap:28px}.aav-agency .lw-map{order:-1;max-width:600px;margin:0 auto;width:100%}}
/* ── Lapland map (lm-) ── colours only from the site palette (cream, ink, slate, tan, sand) */
.lapmap{width:100%;height:auto;display:block;overflow:hidden;
  --lm-sea:rgba(63,78,79,.07);--lm-nb:var(--cream);--lm-nbs:rgba(162,123,92,.35);
  --lm-lap:rgba(162,123,92,.26);--lm-lapline:rgba(162,123,92,.85);
  --lm-text:var(--ink);--lm-sub:var(--slate);--lm-halo:var(--cream);
  --lm-cty:rgba(162,123,92,.85);--lm-reg:var(--sand);--lm-acc:var(--tan);--lm-dotstroke:#fff;
  --lm-ifin:var(--cream);--lm-ifins:rgba(162,123,92,.7)}
.aav-agency .is-dark .lapmap{
  --lm-sea:rgba(63,78,79,.35);--lm-nb:var(--ink);--lm-nbs:rgba(244,240,229,.14);
  --lm-lap:rgba(162,123,92,.30);--lm-lapline:rgba(189,123,70,.75);
  --lm-text:var(--cream);--lm-sub:rgba(244,240,229,.72);--lm-halo:var(--ink);
  --lm-cty:rgba(244,240,229,.42);--lm-reg:rgba(244,240,229,.55);--lm-dotstroke:var(--ink);
  --lm-ifin:rgba(244,240,229,.10);--lm-ifins:rgba(244,240,229,.3)}
.aav-agency .surface-sand .lapmap{
  --lm-sea:rgba(63,78,79,.18);--lm-nb:var(--sand);--lm-nbs:rgba(244,240,229,.22);
  --lm-lap:rgba(244,240,229,.16);--lm-lapline:rgba(244,240,229,.6);
  --lm-halo:var(--sand);--lm-cty:rgba(244,240,229,.55);--lm-reg:rgba(244,240,229,.7);--lm-acc:var(--cream);--lm-dotstroke:var(--sand)}
.lapmap text{font-family:Raleway,sans-serif}
.lm-sea{fill:var(--lm-sea)}.lm-nb{fill:var(--lm-nb);stroke:var(--lm-nbs);stroke-width:.8}
.lm-lapfill{fill:var(--lm-lap)}.lm-lapline{fill:none;stroke:var(--lm-lapline);stroke-width:1.1;stroke-linejoin:round}
.lm-ac{fill:none;stroke:var(--lm-sub);stroke-width:1;stroke-dasharray:5 5;opacity:.55}
.lm-acl{font-weight:500;font-size:9px;letter-spacing:.2em;fill:var(--lm-sub);opacity:.8;paint-order:stroke;stroke:var(--lm-halo);stroke-width:3px}
.lm-cty{font-weight:500;font-size:10px;letter-spacing:.32em;fill:var(--lm-cty)}
.lapmap .lm-reg,.lapmap .lm-name,.lapmap .lm-name2,.lapmap .lm-km,.lapmap .lm-km2{font-family:Marcellus,serif}
.lm-reg{font-size:15px;letter-spacing:.4em;fill:var(--lm-reg);opacity:.8}
.lm-road{fill:none;stroke:var(--lm-acc);stroke-width:2;stroke-dasharray:1 5;stroke-linecap:round}
.lm-draw{fill:none;stroke:#fff;stroke-width:10;stroke-dasharray:1 1}
.lm-km{font-size:20px;fill:var(--lm-text)}.lm-km2{font-size:16px;fill:var(--lm-text);paint-order:stroke;stroke:var(--lm-halo);stroke-width:4px}
.lm-s{font-weight:500;font-size:11px;fill:var(--lm-sub);paint-order:stroke;stroke:var(--lm-halo);stroke-width:4px;stroke-linejoin:round}
.lm-dot{fill:var(--lm-sub)}.lm-dot3{fill:var(--lm-halo);stroke:var(--lm-sub);stroke-width:1.5}
.lm-pl{font-weight:600;font-size:12.5px;fill:var(--lm-text);paint-order:stroke;stroke:var(--lm-halo);stroke-width:4px;stroke-linejoin:round}
.lm-plane{fill:var(--lm-sub)}.lm-lead{stroke:var(--lm-sub);stroke-width:.8;opacity:.6}
.lm-halo{fill:var(--lm-acc);opacity:.2}.lm-levidot{fill:var(--lm-acc);stroke:var(--lm-dotstroke);stroke-width:2}
.lm-dot2{fill:var(--lm-acc);stroke:var(--lm-dotstroke);stroke-width:1.5;opacity:.85}
.lm-name{font-size:26px;fill:var(--lm-text)}.lm-name2{font-size:19px;fill:var(--lm-text);paint-order:stroke;stroke:var(--lm-halo);stroke-width:4px}
.lm-scale{stroke:var(--lm-sub);stroke-width:1;fill:none}
.lm-ifin{fill:var(--lm-ifin);stroke:var(--lm-ifins);stroke-width:.8}.lm-ilap{fill:var(--lm-acc);opacity:.8}
.lm-ring{fill:none;stroke:var(--lm-acc);stroke-width:1.5;opacity:0}
.lm-levi,.lm-ring{transform-box:fill-box;transform-origin:center}
.aav-agency .is-dark .lw-points li{border-color:rgba(244,240,229,.16)}
.aav-agency .is-dark .lw-link{color:var(--cream)}

/* Animation: only when our JS has promised to run (aav-js gate). Without it, or with
   reduced motion, the map is simply shown finished. */
html.aav-js .aav-agency .lapmap:not(.is-played) .lm-a{opacity:0}
html.aav-js .aav-agency .lapmap:not(.is-played) .lm-lapline,html.aav-js .aav-agency .lapmap:not(.is-played) .lm-draw{stroke-dasharray:1 1;stroke-dashoffset:1}
.lapmap.is-played .lm-a{animation:lmFade .6s ease both}
.lapmap.is-played .lm-lapline{stroke-dasharray:1 1;animation:lmDraw 1.2s ease-in-out both}
.lapmap.is-played .lm-base{animation-duration:.8s}
.lapmap.is-played .lm-lapfill{animation-delay:.7s}
.lapmap.is-played .lm-ctx{animation-delay:1s}
.lapmap.is-played .lm-levi{animation:lmDrop .55s cubic-bezier(.3,1.6,.5,1) 1.2s both}
.lapmap.is-played .lm-ring{animation:lmRing 1.1s ease-out 1.5s forwards}
.lapmap.is-played .lm-levil{animation-delay:1.45s}
.lapmap.is-played .lm-dy{animation:lmDraw .6s ease-in-out 1.9s both}
.lapmap.is-played .lm-yllas{animation-delay:2.4s}
.lapmap.is-played .lm-plane1{animation:lmFade .3s ease 2.6s both}
.lapmap.is-played .lm-glide{animation:lmGlide .9s cubic-bezier(.2,.7,.3,1) 2.6s both}
.lapmap.is-played .lm-ktt{animation-delay:3.2s}
.lapmap.is-played .lm-dr{animation:lmDraw 1.3s ease-in-out 3.4s both}
.lapmap.is-played .lm-rov{animation-delay:4.5s}
.lapmap.is-played .lm-rdist{animation-delay:4.8s}
@keyframes lmFade{from{opacity:0}to{opacity:1}}
@keyframes lmDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes lmDrop{0%{opacity:0;transform:translateY(-18px) scale(.4)}100%{opacity:1;transform:none}}
@keyframes lmRing{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(3.2)}}
@keyframes lmGlide{0%{transform:translate(-70px,-60px)}100%{transform:none}}
@media (prefers-reduced-motion:reduce){.lapmap .lm-a,.lapmap .lm-lapline,.lapmap .lm-draw,.lapmap .lm-glide,.lapmap .lm-levi{animation:none!important;opacity:1!important;stroke-dashoffset:0!important;transform:none!important}.lapmap .lm-ring{display:none}}

/* ═════════════════════════════════════════════════════════════
   Apartment types (cards + detail dialogs), 2026-10-05.
   Ported from agency-wp/apt-types-mock/. All classes at-*, scoped under
   .aav-agency; the dialogs live inside the section. Uses the page's
   existing .section, .section-head, .wrap, .eyebrow, .lede, .btn and
   .demo-aside rules; only the section's own parts are defined here.
   Default and only surface: sand head turning cream part-way down the
   first row of cards (same device as the houses band).
   ═════════════════════════════════════════════════════════════ */
.aav-agency .at-types{--at-gap:clamp(16px,2vw,28px)}
.aav-agency .at-types .section-head{margin-bottom:clamp(24px,3vw,40px)}
.aav-agency #apartment-types{scroll-margin-top:110px}

/* "Every apartment has" — shown once, above the cards */
.aav-agency .at-every{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem clamp(18px,3vw,40px);
  border-block:1px solid var(--line);padding:16px 0;margin:0 0 var(--at-gap);
}
.aav-agency .at-every-label{
  margin:0;font-size:.72rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--slate);
}
.aav-agency .at-every ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem 0}
.aav-agency .at-every li{font-family:var(--display);font-size:1.12rem;line-height:1.4;color:var(--ink);white-space:nowrap;margin:0}
.aav-agency .at-every li:not(:last-child)::after{content:"·";color:var(--tan);margin:0 .65em}
@media (max-width:599px){
  .aav-agency .at-every{display:block}
  .aav-agency .at-every-label{margin-bottom:.6em}
  .aav-agency .at-every ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3em 1em}
  .aav-agency .at-every li{white-space:normal;position:relative;padding-left:.95em}
  .aav-agency .at-every li:not(:last-child)::after{content:none}
  .aav-agency .at-every li::before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;border-radius:50%;background:var(--tan)}
}

/* Card grid */
.aav-agency .at-grid{display:grid;grid-template-columns:1fr;gap:var(--at-gap)}
@media (min-width:720px){.aav-agency .at-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.aav-agency .at-card{
  display:flex;flex-direction:column;min-width:0;
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;color:var(--ink);
}
.aav-agency .at-card-body{display:flex;flex-direction:column;flex:1;padding:clamp(20px,2.4vw,32px)}
.aav-agency .at-card h3{margin:0 0 .45em;color:var(--ink)}
/* Count = small cream card on the card's first photo (top-left). In the dialog it stays inline. */
.aav-agency .at-card{position:relative}
.aav-agency .at-card-body .at-units{position:absolute;top:16px;left:16px;z-index:3;margin:0;padding:7px 14px;border-radius:12px;background:rgba(244,240,229,.94);font-size:.85rem;font-weight:600;color:var(--ink);box-shadow:0 2px 10px rgba(0,0,0,.12)}
.aav-agency .at-units b{font-weight:700;margin-right:.25em}
.aav-agency .at-dlg-body .at-units{margin:0 0 .4em;font-size:.9rem;font-weight:600;color:var(--tan)}
/* A type without photos: no photo to sit on, so the count goes back into the text flow. */
.aav-agency .at-card.is-nophoto .at-card-body .at-units{position:static;align-self:flex-start;margin:0 0 .8em;box-shadow:none;background:var(--cream)}
.aav-agency .at-specs{margin:0 0 .7em;font-size:.95rem;font-weight:500;letter-spacing:.01em;color:var(--slate)}
.aav-agency .at-specs span{white-space:nowrap}
.aav-agency .at-specs span:not(:last-child)::after{content:"·";color:var(--tan);margin:0 .3em 0 .55em}
.aav-agency .at-desc{margin:0 0 1.3em;color:var(--slate);font-size:1rem}
.aav-agency .at-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:auto}
.aav-agency .at-actions .btn{padding:.78em 1.55em;font-size:.98rem}

/* Carousel (cards + dialog) */
.aav-agency .at-carousel{position:relative;aspect-ratio:3/2;background:#e9e4d8;overflow:hidden}
.aav-agency .at-track{
  display:flex;height:100%;margin:0;padding:0;list-style:none;
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;
  overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.aav-agency .at-track::-webkit-scrollbar{display:none}
.aav-agency .at-track:focus-visible{outline:2px solid var(--tan);outline-offset:-4px;border-radius:0}
.aav-agency .at-slide{flex:0 0 100%;height:100%;margin:0;scroll-snap-align:start;scroll-snap-stop:always}
.aav-agency .at-slide img{width:100%;height:100%;object-fit:cover}
.aav-agency .at-arrow{
  position:absolute;top:50%;z-index:2;width:44px;height:44px;margin-top:-22px;
  display:none;place-items:center;padding:0;border:0;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.92);color:var(--ink);box-shadow:0 4px 16px rgba(26,34,36,.18);
  transition:opacity .2s ease,background-color .2s ease;
}
.aav-agency .at-arrow svg{width:18px;height:18px}
.aav-agency .at-arrow:hover{background:#fff}
.aav-agency .at-arrow:disabled{opacity:0 !important;pointer-events:none}
.aav-agency .at-prev{left:14px}
.aav-agency .at-next{right:14px}
.aav-agency .at-dots{
  position:absolute;left:0;right:0;bottom:12px;z-index:2;display:flex;justify-content:center;gap:6px;pointer-events:none;
}
.aav-agency .at-dots span{width:7px;height:7px;border-radius:99px;background:rgba(255,255,255,.6);box-shadow:0 0 0 1px rgba(26,34,36,.12);transition:width .2s ease,background-color .2s ease}
.aav-agency .at-dots span.is-on{width:18px;background:#fff}
.aav-agency .at-count{
  position:absolute;right:14px;bottom:14px;z-index:2;padding:.2em .7em;border-radius:99px;
  background:rgba(26,34,36,.62);color:#fff;font-size:.78rem;font-weight:500;letter-spacing:.04em;
}
/* Fine pointer (mouse/trackpad): arrows, no dots. Touch: dots + swipe. */
@media (hover:hover) and (pointer:fine){
  .aav-agency .at-arrow{display:grid;opacity:0}
  .aav-agency .at-carousel:hover .at-arrow,
  .aav-agency .at-carousel:focus-within .at-arrow{opacity:1}
  .aav-agency .at-dots{display:none}
}

/* Demo note */
.aav-agency .at-types .demo-aside{margin:clamp(22px,3vw,36px) 0 0;color:var(--slate)}

/* Split surface: sand head, cream from part-way down the first row of cards */
.aav-agency .at-types.is-split{background:var(--sand);overflow:hidden;--at-split:clamp(96px,14vw,200px)}
.aav-agency .at-types.is-split .at-grid{position:relative;isolation:isolate}
.aav-agency .at-types.is-split .at-grid::before{content:"";position:absolute;z-index:-1;top:var(--at-split);bottom:-100vh;left:50%;width:100vw;margin-left:-50vw;background:var(--cream)}
.aav-agency .at-types.is-split .demo-aside{position:relative}
.aav-agency .at-types.is-split .section-head h2{color:#fff}
.aav-agency .at-types.is-split .section-head .eyebrow{color:rgba(244,240,229,.78)}
.aav-agency .at-types.is-split .section-head .lede{color:#fff}
.aav-agency .at-types.is-split .at-every{border-color:rgba(255,255,255,.35)}
.aav-agency .at-types.is-split .at-every-label{color:#fff}
.aav-agency .at-types.is-split .at-every li{color:#fff}
.aav-agency .at-types.is-split .at-every li::after{color:var(--cream)}
.aav-agency .at-types.is-split .at-every li::before{background:var(--cream)}

/* Detail dialog (renders in the top layer) */
.aav-agency .at-dialog{
  width:min(1180px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);
  padding:0;border:0;border-radius:var(--radius);background:var(--paper);color:var(--ink);
  overflow:hidden;box-shadow:0 30px 80px rgba(10,14,15,.35);
}
.aav-agency .at-dialog::backdrop{background:rgba(26,34,36,.66)}
.aav-agency .at-dialog[open]{animation:at-in .28s ease both}
@keyframes at-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
.aav-agency .at-dialog:focus{outline:none}
.aav-agency .at-dlg{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);height:min(820px,calc(100dvh - 48px))}
.aav-agency .at-dlg .at-carousel{aspect-ratio:auto;height:100%}
.aav-agency .at-dlg-body{--at-dpad:clamp(28px,3.4vw,48px);overflow-y:auto;overscroll-behavior:contain;padding:var(--at-dpad) var(--at-dpad) 0}
.aav-agency .at-dlg-body .eyebrow{margin-bottom:.8em}
.aav-agency .at-dlg-body h3{font-size:clamp(1.5rem,2.2vw,1.95rem);margin:0 0 .45em;padding-right:44px;color:var(--ink)}
.aav-agency .at-dlg-body h4{font-family:var(--body);font-size:.72rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--slate);margin:1.8em 0 .8em}
.aav-agency .at-amen{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45em 1.4em;font-size:.97rem}
.aav-agency .at-amen li{position:relative;margin:0;padding-left:1.1em;line-height:1.45}
.aav-agency .at-amen li::before{content:"";position:absolute;left:0;top:.6em;width:5px;height:5px;border-radius:50%;background:var(--tan)}
.aav-agency .at-plan{margin:0}
.aav-agency .at-plan a{display:block;border:1px solid var(--line);border-radius:var(--radius-sm);padding:14px;background:#fff}
.aav-agency .at-plan img{width:100%;height:auto;max-height:380px;object-fit:contain}
.aav-agency .at-plan figcaption{margin-top:.6em;font-size:.82rem;color:var(--slate)}
/* CTA stays in reach while the body column scrolls */
.aav-agency .at-dlg-cta{
  position:sticky;bottom:0;z-index:3;margin:1.6em calc(-1 * var(--at-dpad)) 0;
  padding:16px var(--at-dpad) 20px;background:var(--paper);border-top:1px solid var(--line);
}
.aav-agency .at-close{
  position:absolute;top:14px;right:14px;z-index:5;width:44px;height:44px;display:grid;place-items:center;
  padding:0;border:1px solid var(--line);border-radius:50%;background:rgba(255,255,255,.95);color:var(--ink);cursor:pointer;
}
.aav-agency .at-close svg{width:18px;height:18px}
.aav-agency .at-close:hover{border-color:var(--ink)}
@media (max-width:899px){
  .aav-agency .at-dialog{width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0}
  .aav-agency .at-dlg{display:block;height:100%;overflow-y:auto;overscroll-behavior:contain}
  .aav-agency .at-dlg .at-carousel{aspect-ratio:3/2;height:auto}
  .aav-agency .at-dlg-body{--at-dpad:20px;overflow:visible;padding:24px 20px 0}
  .aav-agency .at-dlg-cta{padding-bottom:calc(16px + env(safe-area-inset-bottom))}
  .aav-agency .at-dlg-cta .btn{width:100%;justify-content:center}
  .aav-agency .at-dlg-body h3{padding-right:0}
  .aav-agency .at-close{position:fixed;top:12px;right:12px;box-shadow:0 4px 16px rgba(26,34,36,.2)}
}
@media (max-width:420px){.aav-agency .at-amen{grid-template-columns:1fr}}
/* Page scroll lock while a dialog is open (set by agency.js) */
html.at-lock{overflow:hidden}
@media (prefers-reduced-motion:reduce){
  .aav-agency .at-track{scroll-behavior:auto}
  .aav-agency .at-dialog[open]{animation:none}
}

/* ═══ Lapland map v2 — generated by agency-wp/map-mock-v2/render.py (2026-10-05); edit there, then paste. ═══ */
/* ── Lapland map v2 (lm2-) ── colours only from the site palette (cream, ink, slate, tan, sand).
   Base = cream surface; .is-dark = ink; .surface-sand = sand. --lm-bg must equal the section
   background: the soft edge fade is a gradient painted in it. */
.lapmap2{width:100%;height:auto;display:block;overflow:hidden;--lz:1;
  --lm-sea:#E7E5DB;--lm-nbs:rgba(162,123,92,.35);
  --lm-lap:rgba(162,123,92,.26);--lm-lapline:rgba(162,123,92,.85);--lm-fin:rgba(162,123,92,.14);
  --lm-bg:#F4F0E5;--lm-text:#1A2224;--lm-sub:#3F4E4F;--lm-halo:#F4F0E5;
  --lm-cty:rgba(162,123,92,.85);--lm-reg:#A27B5C;--lm-acc:#BD7B46;--lm-dotstroke:#fff;
  --lm-arc:#BD7B46;--lm-arcr:rgba(63,78,79,.7);--lm-arch:rgba(63,78,79,.4)}
.aav-agency .is-dark .lapmap2{
  --lm-sea:#2A3536;--lm-nbs:rgba(244,240,229,.16);
  --lm-lap:rgba(162,123,92,.22);--lm-lapline:rgba(189,123,70,.75);--lm-fin:rgba(162,123,92,.17);
  --lm-bg:#1A2224;--lm-text:#F4F0E5;--lm-sub:rgba(244,240,229,.72);--lm-halo:#1A2224;
  --lm-cty:rgba(244,240,229,.42);--lm-reg:rgba(244,240,229,.55);--lm-acc:#BD7B46;--lm-dotstroke:#1A2224;
  --lm-arc:#BD7B46;--lm-arcr:rgba(244,240,229,.75);--lm-arch:rgba(244,240,229,.4)}
.aav-agency .surface-sand .lapmap2{
  --lm-sea:#90735A;--lm-nbs:rgba(244,240,229,.22);
  --lm-lap:rgba(244,240,229,.16);--lm-lapline:rgba(244,240,229,.6);--lm-fin:rgba(244,240,229,.1);
  --lm-bg:#A27B5C;--lm-text:#F4F0E5;--lm-sub:rgba(244,240,229,.8);--lm-halo:#A27B5C;
  --lm-cty:rgba(244,240,229,.6);--lm-reg:rgba(244,240,229,.7);--lm-acc:#F4F0E5;--lm-dotstroke:#A27B5C;
  --lm-arc:rgba(26,34,36,.8);--lm-arcr:rgba(244,240,229,.85);--lm-arch:rgba(244,240,229,.45)}
@media (max-width:520px){.lapmap2{--lz:1.32}}
.lapmap2 text{font-family:Raleway,sans-serif}
.lapmap2 .lm2-reg,.lapmap2 .lm2-name,.lapmap2 .lm2-name2{font-family:Marcellus,serif}
.lm2-cam{transform-origin:0 0;transform:translate(452.46px,264.26px) scale(0.19672)}
.lm2-cs{transform-origin:0 0;transform:scale(5.0833)}
.lm2-lz{transform-origin:0 0;transform:scale(var(--lz))}
.lm2-sea{fill:var(--lm-sea)}
.lm2-bnd{fill:none;stroke:var(--lm-nbs);stroke-width:.8;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.lm2-fin{fill:var(--lm-fin)}
.lm2-lapfill{fill:var(--lm-lap)}
/* outline is drawn on with a dash, so it scales with the map (≈1.1 px at the Lapland view) */
.lm2-lapline{fill:none;stroke:var(--lm-lapline);stroke-width:1.04;stroke-linejoin:round;stroke-dasharray:1 1;stroke-dashoffset:0}
.lm2-bg0{stop-color:var(--lm-bg);stop-opacity:0}.lm2-bg1{stop-color:var(--lm-bg);stop-opacity:1}
.lm2-ac{fill:none;stroke:var(--lm-sub);stroke-width:1;stroke-dasharray:5 5;vector-effect:non-scaling-stroke;opacity:.3}
.lm2-acl{font-weight:500;font-size:9px;letter-spacing:.2em;fill:var(--lm-sub);opacity:.8;paint-order:stroke;stroke:var(--lm-halo);stroke-width:3px}
.lm2-cty{font-weight:500;font-size:10px;letter-spacing:.32em;fill:var(--lm-cty)}
.lm2-reg{font-size:15px;letter-spacing:.4em;fill:var(--lm-reg);opacity:.8}
.lm2-road{fill:none;stroke:var(--lm-acc);stroke-width:2;stroke-dasharray:1 5;stroke-linecap:round;vector-effect:non-scaling-stroke}
.lm2-draw{fill:none;stroke:#fff;stroke-width:9;stroke-dasharray:1 1}.lm2-dy,.lm2-dr{stroke-width:4}
.lm2-s{font-weight:500;font-size:11px;fill:var(--lm-sub);paint-order:stroke;stroke:var(--lm-halo);stroke-width:4px;stroke-linejoin:round}
.lm2-dot{fill:var(--lm-sub)}.lm2-dot3{fill:var(--lm-halo);stroke:var(--lm-sub);stroke-width:1.5}
.lm2-pl{font-weight:600;font-size:12.5px;fill:var(--lm-text);paint-order:stroke;stroke:var(--lm-halo);stroke-width:4px;stroke-linejoin:round}
.lm2-pl3{font-weight:600;font-size:11px;fill:var(--lm-text);paint-order:stroke;stroke:var(--lm-halo);stroke-width:3.5px;stroke-linejoin:round}
.lm2-city{font-weight:500;font-size:10.5px;letter-spacing:.03em;fill:var(--lm-sub);paint-order:stroke;stroke:var(--lm-halo);stroke-width:3px;stroke-linejoin:round}
.lm2-cdot{fill:var(--lm-sub)}.lm2-cdot3{fill:var(--lm-halo);stroke:var(--lm-text);stroke-width:1.3}
.lm2-plane{fill:var(--lm-sub)}.lm2-lead{stroke:var(--lm-sub);stroke-width:.8;opacity:.6}
.lm2-halo{fill:var(--lm-acc);opacity:.2}.lm2-levidot{fill:var(--lm-acc);stroke:var(--lm-dotstroke);stroke-width:2}
.lm2-dot2{fill:var(--lm-acc);stroke:var(--lm-dotstroke);stroke-width:1.5;opacity:.85}
.lm2-name{font-size:26px;fill:var(--lm-text)}.lm2-name2{font-size:19px;fill:var(--lm-text);paint-order:stroke;stroke:var(--lm-halo);stroke-width:4px}
.lm2-scale{stroke:var(--lm-sub);stroke-width:1;fill:none}
.lm2-arc{fill:none;stroke-width:5.59}.lm2-ark{stroke:var(--lm-arc)}.lm2-arr{stroke:var(--lm-arcr)}
/* Kittilä = tan, Rovaniemi = cream, Helsinki = faint dashed cream; city dots match their arc */
.lm2-arch{fill:none;stroke:var(--lm-arch);stroke-width:5.59;stroke-dasharray:15.2 15.2}
.lm2-lgl{fill:none;stroke-width:1.25}.lm2-lgk{stroke:var(--lm-arc)}.lm2-lgv{stroke:var(--lm-arcr)}.lm2-lgx{stroke:var(--lm-arch);stroke-dasharray:3 3}
.lm2-cdk{fill:var(--lm-arc)}.lm2-cdr{fill:var(--lm-arcr)}
.lm2-cap{font-weight:600;font-size:9.5px;letter-spacing:.22em;fill:var(--lm-cty)}
.lm2-ring{fill:none;stroke:var(--lm-acc);stroke-width:1.5;opacity:0}
.lm2-ring,.lm2-levi,.lm2-levis{transform-box:fill-box;transform-origin:center}
.lm2-levis{transform:scale(.62)}
/* end-state (= static / no-JS / reduced-motion) visibility */
.lm2-s1,.lm2-yl,.lm2-s2,.lm2-ctx,.lm2-rd,.lm2-sb1,.lm2-sb2{opacity:0}

/* Animation: only once our JS has promised to run (aav-js gate). Without it, or with
   reduced motion, the map simply shows the finished Europe frame. */
html.aav-js .lapmap2:not(.is-played) .lm2-cam{transform:translate(-146.29px,4290.03px) scale(4.61538)}
html.aav-js .lapmap2:not(.is-played) .lm2-cs{transform:scale(0.2167)}
html.aav-js .lapmap2:not(.is-played) .lm2-a,html.aav-js .lapmap2:not(.is-played) .lm2-arc{opacity:0}
html.aav-js .lapmap2:not(.is-played) .lm2-draw,html.aav-js .lapmap2:not(.is-played) .lm2-lapline{stroke-dashoffset:1}
.lapmap2.is-played .lm2-cam{animation:lm2Cam 10s linear both}
.lapmap2.is-played .lm2-cs{animation:lm2Cs 10s linear both}
.lapmap2.is-played .lm2-base{animation:lm2Fade 1.07s ease both}
.lapmap2.is-played .lm2-lapline{animation:lm2Draw 1.33s ease-in-out 2.53s both}
.lapmap2.is-played .lm2-levi{animation:lm2Drop 0.733s cubic-bezier(.3,1.6,.5,1) 0.2s both}
.lapmap2.is-played .lm2-levis{animation:lm2LeviS 10s ease both}
.lapmap2.is-played .lm2-ring{animation:lm2Ring 1.47s ease-out 0.6s forwards}
.lapmap2.is-played .lm2-levil{animation:lm2Fade 0.667s ease 0.467s both}
.lapmap2.is-played .lm2-glide{animation:lm2Glide 1.07s cubic-bezier(.2,.7,.3,1) 0.6s both}
.lapmap2.is-played .lm2-dy{animation:lm2Draw 0.8s ease-in-out 0.933s both}
.lapmap2.is-played .lm2-dr{animation:lm2Draw 1s ease-in-out 3.6s both}
.lapmap2.is-played .lm2-arc{animation:lm2Draw 0.8s cubic-bezier(.4,0,.3,1) both}
.lapmap2.is-played [class*="lm2-c-"]{animation:lm2Fade 0.667s ease both}
.lm2-arcs .lm2-arc{stroke-dasharray:1 1;stroke-dashoffset:0}
.lapmap2.is-played .lm2-s1{animation:lm2S1 10s ease both}
.lapmap2.is-played .lm2-yl{animation:lm2Yl 10s ease both}
.lapmap2.is-played .lm2-s2{animation:lm2S2 10s ease both}
.lapmap2.is-played .lm2-ctx{animation:lm2Ctx 10s ease both}
.lapmap2.is-played .lm2-ac{animation:lm2Ac 10s ease both}
.lapmap2.is-played .lm2-rd{animation:lm2Rd 10s ease both}
.lapmap2.is-played .lm2-fin{animation:lm2Fin 10s ease both}
.lapmap2.is-played .lm2-s3{animation:lm2S3 10s ease both}
.lapmap2.is-played .lm2-kt3{animation:lm2Kt3 10s ease both}
.lapmap2.is-played .lm2-lg{animation:lm2Lg 10s ease both}
.lapmap2.is-played .lm2-lgr{animation:lm2LgR 10s ease both}
.lapmap2.is-played .lm2-lgh{animation:lm2LgH 10s ease both}
.lapmap2.is-played .lm2-hel{animation:lm2Hel 10s ease both}
.lapmap2.is-played .lm2-arcs{animation:lm2Arcs 10s ease both}
.lapmap2.is-played .lm2-sb1{animation:lm2Sb1 10s ease both}
.lapmap2.is-played .lm2-sb2{animation:lm2Sb2 10s ease both}
.lapmap2.is-played .lm2-sb3{animation:lm2Sb3 10s ease both}
.lapmap2.is-played .lm2-ar-lon,.lapmap2.is-played .lm2-c-lon{animation-delay:6.2s}
.lapmap2.is-played .lm2-ar-man,.lapmap2.is-played .lm2-c-man{animation-delay:6.26s}
.lapmap2.is-played .lm2-ar-lpl,.lapmap2.is-played .lm2-c-lpl{animation-delay:6.32s}
.lapmap2.is-played .lm2-ar-par,.lapmap2.is-played .lm2-c-par{animation-delay:6.38s}
.lapmap2.is-played .lm2-ar-ams,.lapmap2.is-played .lm2-c-ams{animation-delay:6.44s}
.lapmap2.is-played .lm2-ar-bru,.lapmap2.is-played .lm2-c-bru{animation-delay:6.5s}
.lapmap2.is-played .lm2-ar-dus,.lapmap2.is-played .lm2-c-dus{animation-delay:6.56s}
.lapmap2.is-played .lm2-ar-fra,.lapmap2.is-played .lm2-c-fra{animation-delay:6.62s}
.lapmap2.is-played .lm2-ar-ber,.lapmap2.is-played .lm2-c-ber{animation-delay:6.68s}
.lapmap2.is-played .lm2-ar-zrh,.lapmap2.is-played .lm2-c-zrh{animation-delay:6.74s}
.lapmap2.is-played .lm2-ar-vie,.lapmap2.is-played .lm2-c-vie{animation-delay:6.8s}
.lapmap2.is-played .lm2-ar-mil,.lapmap2.is-played .lm2-c-mil{animation-delay:6.86s}
.lapmap2.is-played .lm2-ar-dub,.lapmap2.is-played .lm2-c-dub{animation-delay:7.93s}
.lapmap2.is-played .lm2-ar-edi,.lapmap2.is-played .lm2-c-edi{animation-delay:7.99s}
.lapmap2.is-played .lm2-ar-bhx,.lapmap2.is-played .lm2-c-bhx{animation-delay:8.05s}
.lapmap2.is-played .lm2-ar-brs,.lapmap2.is-played .lm2-c-brs{animation-delay:8.11s}
.lapmap2.is-played .lm2-ar-mad,.lapmap2.is-played .lm2-c-mad{animation-delay:8.17s}
.lapmap2.is-played .lm2-ar-bcn,.lapmap2.is-played .lm2-c-bcn{animation-delay:8.23s}
.lapmap2.is-played .lm2-ar-lys,.lapmap2.is-played .lm2-c-lys{animation-delay:8.29s}
.lapmap2.is-played .lm2-ar-ham,.lapmap2.is-played .lm2-c-ham{animation-delay:8.35s}
.lapmap2.is-played .lm2-ar-muc,.lapmap2.is-played .lm2-c-muc{animation-delay:8.41s}
.lapmap2.is-played .lm2-ar-prg,.lapmap2.is-played .lm2-c-prg{animation-delay:8.47s}
.lapmap2.is-played .lm2-ar-waw,.lapmap2.is-played .lm2-c-waw{animation-delay:8.53s}
.lapmap2.is-played .lm2-ar-cph,.lapmap2.is-played .lm2-c-cph{animation-delay:8.59s}
@keyframes lm2Cam{0%{transform:translate(-146.29px,4290.03px) scale(4.61538)}22.67%{transform:translate(-146.29px,4290.03px) scale(4.61538)}23.33%{transform:translate(-141.74px,4246.44px) scale(4.56417)}24%{transform:translate(-128.52px,4119.82px) scale(4.41539)}24.67%{transform:translate(-107.86px,3921.87px) scale(4.18282)}25.33%{transform:translate(-81.54px,3669.80px) scale(3.88664)}26%{transform:translate(-51.65px,3383.46px) scale(3.55021)}26.67%{transform:translate(-20.25px,3082.60px) scale(3.19671)}27.33%{transform:translate(10.87px,2784.51px) scale(2.84647)}28%{transform:translate(40.29px,2502.68px) scale(2.51532)}28.67%{transform:translate(67.05px,2246.31px) scale(2.21411)}29.33%{transform:translate(90.61px,2020.65px) scale(1.94896)}30%{transform:translate(110.76px,1827.67px) scale(1.72223)}30.67%{transform:translate(127.52px,1667.08px) scale(1.53354)}31.33%{transform:translate(141.09px,1537.12px) scale(1.38084)}32%{transform:translate(151.71px,1435.39px) scale(1.26131)}32.67%{transform:translate(159.64px,1359.38px) scale(1.17200)}33.33%{transform:translate(165.13px,1306.84px) scale(1.11027)}34%{transform:translate(168.34px,1276.03px) scale(1.07408)}34.67%{transform:translate(169.40px,1265.89px) scale(1.06216)}52.67%{transform:translate(169.40px,1265.89px) scale(1.06216)}53.33%{transform:translate(172.99px,1253.20px) scale(1.05119)}54%{transform:translate(183.45px,1216.19px) scale(1.01922)}54.67%{transform:translate(199.90px,1157.96px) scale(0.96890)}55.33%{transform:translate(221.07px,1083.06px) scale(0.90418)}56%{transform:translate(245.42px,996.89px) scale(0.82974)}56.67%{transform:translate(271.39px,904.98px) scale(0.75032)}57.33%{transform:translate(297.57px,812.35px) scale(0.67028)}58%{transform:translate(322.80px,723.09px) scale(0.59316)}58.67%{transform:translate(346.22px,640.22px) scale(0.52156)}59.33%{transform:translate(367.29px,565.63px) scale(0.45711)}60%{transform:translate(385.77px,500.25px) scale(0.40063)}60.67%{transform:translate(401.59px,444.28px) scale(0.35226)}61.33%{transform:translate(414.84px,397.37px) scale(0.31173)}62%{transform:translate(425.72px,358.89px) scale(0.27848)}62.67%{transform:translate(434.44px,328.04px) scale(0.25183)}63.33%{transform:translate(441.22px,304.04px) scale(0.23109)}64%{transform:translate(446.27px,286.18px) scale(0.21566)}64.67%{transform:translate(449.75px,273.85px) scale(0.20501)}65.33%{transform:translate(451.79px,266.64px) scale(0.19877)}66%{transform:translate(452.46px,264.26px) scale(0.19672)}100%{transform:translate(452.46px,264.26px) scale(0.19672)}}
@keyframes lm2Cs{0%{transform:scale(0.2167)}22.67%{transform:scale(0.2167)}23.33%{transform:scale(0.2191)}24%{transform:scale(0.2265)}24.67%{transform:scale(0.2391)}25.33%{transform:scale(0.2573)}26%{transform:scale(0.2817)}26.67%{transform:scale(0.3128)}27.33%{transform:scale(0.3513)}28%{transform:scale(0.3976)}28.67%{transform:scale(0.4516)}29.33%{transform:scale(0.5131)}30%{transform:scale(0.5806)}30.67%{transform:scale(0.6521)}31.33%{transform:scale(0.7242)}32%{transform:scale(0.7928)}32.67%{transform:scale(0.8532)}33.33%{transform:scale(0.9007)}34%{transform:scale(0.9310)}34.67%{transform:scale(0.9415)}52.67%{transform:scale(0.9415)}53.33%{transform:scale(0.9513)}54%{transform:scale(0.9811)}54.67%{transform:scale(1.0321)}55.33%{transform:scale(1.1060)}56%{transform:scale(1.2052)}56.67%{transform:scale(1.3328)}57.33%{transform:scale(1.4919)}58%{transform:scale(1.6859)}58.67%{transform:scale(1.9173)}59.33%{transform:scale(2.1877)}60%{transform:scale(2.4961)}60.67%{transform:scale(2.8388)}61.33%{transform:scale(3.2079)}62%{transform:scale(3.5909)}62.67%{transform:scale(3.9710)}63.33%{transform:scale(4.3273)}64%{transform:scale(4.6370)}64.67%{transform:scale(4.8778)}65.33%{transform:scale(5.0308)}66%{transform:scale(5.0833)}100%{transform:scale(5.0833)}}
@keyframes lm2S1{0%{opacity:0}6.67%{opacity:0}10.67%{opacity:1}52.67%{opacity:1}56.67%{opacity:0}100%{opacity:0}}
@keyframes lm2Yl{0%{opacity:0}15.33%{opacity:0}18.67%{opacity:1}52.67%{opacity:1}56.67%{opacity:0}100%{opacity:0}}
@keyframes lm2S2{0%{opacity:0}42.67%{opacity:0}46.67%{opacity:1}52.67%{opacity:1}56.67%{opacity:0}100%{opacity:0}}
@keyframes lm2Ctx{0%{opacity:0}30.67%{opacity:0}36%{opacity:1}52.67%{opacity:1}56.67%{opacity:0}100%{opacity:0}}
@keyframes lm2Ac{0%{opacity:0}30.67%{opacity:0}36%{opacity:0.55}52.67%{opacity:0.55}66%{opacity:0.3}100%{opacity:0.3}}
@keyframes lm2Rd{0%{opacity:1}52.67%{opacity:1}58%{opacity:0}100%{opacity:0}}
@keyframes lm2Fin{0%{opacity:0}58.67%{opacity:0}65.33%{opacity:1}100%{opacity:1}}
@keyframes lm2S3{0%{opacity:0}61.33%{opacity:0}66.67%{opacity:1}100%{opacity:1}}
@keyframes lm2Kt3{0%{opacity:0}62.67%{opacity:0}66.67%{opacity:1}100%{opacity:1}}
@keyframes lm2Arcs{0%{opacity:0}60.67%{opacity:0}61.33%{opacity:1}100%{opacity:1}}
@keyframes lm2Lg{0%{opacity:0}60.67%{opacity:0}65.33%{opacity:1}100%{opacity:1}}
@keyframes lm2LgR{0%{opacity:0}79.27%{opacity:0}83.27%{opacity:1}100%{opacity:1}}
@keyframes lm2LgH{0%{opacity:0}94.13%{opacity:0}98.13%{opacity:1}100%{opacity:1}}
@keyframes lm2Hel{0%{opacity:0}94.13%{opacity:0}99.47%{opacity:1}100%{opacity:1}}
@keyframes lm2Sb1{0%{opacity:0}4%{opacity:0}8%{opacity:1}22.67%{opacity:1}25.33%{opacity:0}100%{opacity:0}}
@keyframes lm2Sb2{0%{opacity:0}33.33%{opacity:0}38.67%{opacity:1}52.67%{opacity:1}55.33%{opacity:0}100%{opacity:0}}
@keyframes lm2Sb3{0%{opacity:0}64.67%{opacity:0}70%{opacity:1}100%{opacity:1}}
@keyframes lm2LeviS{0%{transform:scale(1)}55.33%{transform:scale(1)}66%{transform:scale(.62)}100%{transform:scale(.62)}}
@keyframes lm2Fade{from{opacity:0}to{opacity:1}}
@keyframes lm2Draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes lm2Drop{0%{opacity:0;transform:translateY(-18px) scale(.4)}100%{opacity:1;transform:none}}
@keyframes lm2Ring{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(3.2)}}
@keyframes lm2Glide{0%{transform:translate(-70px,-60px)}100%{transform:none}}
@media (prefers-reduced-motion:reduce){.lapmap2 *{animation:none!important}.lapmap2 .lm2-ring{display:none}}

/* ── Ledger: compact rail (2026-10-06, handle-timeline-mock) ──────────
   Modifier on the existing rail: <div class="tl is-compact">, h3 + p wrapped
   in .tl-text so the photo sits beside the text. Everything below is scoped
   to .tl.is-compact; the base .tl* rules above are untouched. */
.aav-agency .tl.is-compact .tl-item{padding-bottom:clamp(28px,2.8vw,40px)}
.aav-agency .tl.is-compact .tl-body{
  max-width:none;
  display:grid;grid-template-columns:clamp(220px,22vw,300px) minmax(0,1fr);
  gap:0 clamp(20px,2.6vw,40px);align-items:start;
}
/* Text-only stop: no figure, the text takes the whole row. */
.aav-agency .tl.is-compact .tl-body:not(:has(.tl-figure)){grid-template-columns:minmax(0,1fr)}
.aav-agency .tl.is-compact .tl-body.no-figure{grid-template-columns:minmax(0,1fr)}
.aav-agency .tl.is-compact .tl-figure{aspect-ratio:16/10}
.aav-agency .tl.is-compact .tl-text{padding-top:.1rem}
.aav-agency .tl.is-compact .tl-body h3{margin:0 0 .5rem;max-width:26ch}
.aav-agency .tl.is-compact .tl-body p{max-width:48ch}

/* Placeholder stop — body contains "TO CONFIRM" (content.php adds the class).
   Goes away by itself once the copy is replaced. */
.aav-agency .tl.is-compact .tl-item.is-placeholder .tl-text{
  position:relative;border:1.5px dashed #D49A2E;border-radius:10px;
  background:rgba(232,170,60,.08);padding:2.1rem 1rem 1rem;
}
.aav-agency .tl.is-compact .tl-item.is-placeholder .tl-text::before{
  content:'TO CONFIRM';position:absolute;top:.7rem;left:1rem;
  font-family:var(--data);font-size:.66rem;letter-spacing:.14em;
  color:#fff;background:#C9861C;padding:.18rem .5rem;border-radius:4px;
}
.aav-agency .tl.is-compact .tl-item.is-placeholder .tl-text p{color:#8A5A0F;font-family:var(--data);font-size:.84rem;line-height:1.55}

/* Tablet: the rail collapses early (1000px, not 760px) so the photo can stay
   beside the text — the stamp goes above the row, like the mobile rail. */
@media (max-width:1000px){
  .aav-agency .tl.is-compact .tl-item{grid-template-columns:36px minmax(0,1fr);gap:0 .9rem}
  .aav-agency .tl.is-compact .tl-stamp{grid-column:2;grid-row:1;text-align:left;padding-top:0;margin-bottom:.6rem}
  .aav-agency .tl.is-compact .tl-stamp b{display:inline;font-size:.78rem}
  .aav-agency .tl.is-compact .tl-stamp b::after{content:' '}
  .aav-agency .tl.is-compact .tl-node{grid-column:1;grid-row:1 / span 2}
  .aav-agency .tl.is-compact .tl-node .pin{margin-top:.1rem;width:14px;height:14px}
  .aav-agency .tl.is-compact .tl-node::after{top:1.3rem;bottom:-1rem}
  .aav-agency .tl.is-compact .tl-body{grid-column:2;grid-row:2;grid-template-columns:clamp(200px,34vw,280px) minmax(0,1fr)}
}
/* Phone: photo above text, thinner rail. */
@media (max-width:600px){
  .aav-agency .tl.is-compact .tl-item{grid-template-columns:24px minmax(0,1fr);gap:0 .7rem;padding-bottom:30px}
  .aav-agency .tl.is-compact .tl-stamp{margin-bottom:.55rem}
  .aav-agency .tl.is-compact .tl-node .pin{width:11px;height:11px;margin-top:.2rem;border-width:1px}
  .aav-agency .tl.is-compact .tl-item.is-done .tl-node .pin{box-shadow:0 0 0 3px rgba(189,123,70,.15)}
  .aav-agency .tl.is-compact .tl-node::after{top:1.1rem;bottom:-.9rem}
  .aav-agency .tl.is-compact .tl-body{grid-template-columns:minmax(0,1fr);row-gap:.8rem}
  .aav-agency .tl.is-compact .tl-figure{aspect-ratio:2/1;border-radius:10px}
  .aav-agency .tl.is-compact .tl-body h3{margin-bottom:.35rem}
  .aav-agency .tl.is-compact .tl-item.is-placeholder .tl-text{padding:2rem .85rem .85rem}
}

/* ═════════════════════════════════════════════════════════════
   Several groups at once: building drawing (2026-10-06).
   Ported from agency-wp/building-svg-mock/ (mock classes bg-* → groups-*).
   Ink surface (.surface-ink.is-dark). The drawing is the inline
   groups-building.svg; content.php tints the booked cells server-side
   (data-group + --groups-c), so none of this depends on agency.js —
   the script only toggles .is-focus/.is-on for the legend hover.
   The facts row reuses the hero .facts rules, recoloured for ink.
   ═════════════════════════════════════════════════════════════ */
.aav-agency .groups{
  --groups-text:#F4F0E5;
  --groups-text-2:rgba(244,240,229,.82);
  --groups-text-3:rgba(244,240,229,.62);
  --groups-rule:rgba(244,240,229,.16);
  --groups-eyebrow:#CFA582;          /* sand lifted for ink */
  --groups-warn:#F2C14E;             /* placeholder marker only */
  /* drawing */
  --groups-wood:#80603F;  --groups-wood-line:rgba(26,34,36,.16);
  --groups-band-c:#5A4130; --groups-plinth-c:#2C2A28; --groups-side-c:#5E4532;
  --groups-snow-c:#F4F0E5; --groups-roof-c:#DCD7CB;
  --groups-free:#1E2729;  --groups-free-line:rgba(244,240,229,.30);
  /* group palette (fields.php group_color) */
  --groups-tan:#D9944F; --groups-frost:#E8EEF0; --groups-slate:#8FA6AA; --groups-lingon:#C9566A;
  color:var(--groups-text);
}
.aav-agency #groups{scroll-margin-top:110px}
.aav-agency .groups h2{color:#fff;margin-bottom:.5em;text-wrap:balance}
.aav-agency .groups .eyebrow{color:var(--groups-eyebrow);text-wrap:balance}
.aav-agency .groups .lede{color:var(--groups-text-2);margin:0;max-width:44ch;text-wrap:pretty}

.aav-agency .groups-layout{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,4vw,72px);align-items:center}
@media (max-width:1079px){.aav-agency .groups-layout{grid-template-columns:minmax(0,1fr);gap:36px}}

.aav-agency .groups-figure{margin:0;min-width:0}
.aav-agency .groups-svg{display:block;width:100%;height:auto}

/* drawing */
.aav-agency .groups-trees{fill:#2E3B39}
.aav-agency .groups-band{fill:var(--groups-band-c)}
.aav-agency .groups-plinth{fill:var(--groups-plinth-c)}
.aav-agency .groups-side{fill:var(--groups-side-c)}
.aav-agency .groups-roof{fill:var(--groups-roof-c)}
.aav-agency .groups-eave{stroke:var(--groups-snow-c);stroke-width:5;stroke-linecap:round;fill:none}
.aav-agency .groups-gsnow{fill:var(--groups-snow-c);stroke:rgba(26,34,36,.35);stroke-width:1;stroke-linejoin:round}
.aav-agency .groups-joint{fill:var(--groups-band-c)}
.aav-agency .groups-win,.aav-agency .groups-gwin{fill:#1E2729}
.aav-agency .groups-pwin{fill:rgba(207,165,130,.30)}

.aav-agency .groups-cell-fill{fill:var(--groups-free);stroke:var(--groups-free-line);stroke-width:1}
.aav-agency .groups-rail{stroke:rgba(244,240,229,.28);stroke-width:1.5;fill:none}
.aav-agency .groups-cell[data-group] .groups-cell-fill{fill:var(--groups-c);stroke:none}
.aav-agency .groups-cell[data-group] .groups-rail{stroke:rgba(26,34,36,.32)}
.aav-agency .groups-cell{transition:opacity .2s ease}
.aav-agency .groups-figure.is-focus .groups-cell[data-group]:not(.is-on){opacity:.35}

/* legend */
.aav-agency .groups-legend{margin-top:clamp(16px,2vw,24px);display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.6rem 1.6rem;border-top:1px solid var(--groups-rule);padding-top:16px}
.aav-agency .groups .groups-week{margin:0;font-size:.72rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--groups-text)}
.aav-agency .groups-keys{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem 1.6rem;font-size:.92rem;line-height:1.4;color:var(--groups-text-2)}
.aav-agency .groups-keys li{display:flex;align-items:center;gap:.6em;margin:0;cursor:default}
.aav-agency .groups-keys b{font-weight:600;color:var(--groups-text)}
.aav-agency .groups-sw{flex:none;width:14px;height:14px;border-radius:3px;background:var(--groups-c)}
.aav-agency .groups-sw.is-free{background:var(--groups-free);box-shadow:inset 0 0 0 1px var(--groups-free-line)}

/* facts row = the hero .facts (grid, gaps, type sizes), recoloured for ink */
.aav-agency .groups .groups-facts{margin-top:clamp(40px,5vw,64px);background:var(--groups-rule);border-color:var(--groups-rule)}
.aav-agency .groups .groups-facts div{background:var(--ink);position:relative}
.aav-agency .groups .groups-facts b{color:#fff}
.aav-agency .groups .groups-facts span{color:var(--groups-text-3)}
/* 2026-10-09: the topic is the headline, the detail reads as a sentence under it
   (was value-first with an uppercase label, which hid what each box was about). */
.aav-agency .groups .groups-facts b{font-size:clamp(1.15rem,1.7vw,1.4rem);line-height:1.2}
.aav-agency .groups .groups-facts span{display:block;margin-top:.4rem;font-size:.95rem;line-height:1.45;letter-spacing:0;text-transform:none}
.aav-agency .groups .groups-facts .is-placeholder{outline:2px dashed var(--groups-warn);outline-offset:-6px;background:#232824}
.aav-agency .groups .groups-facts .is-placeholder b{color:var(--groups-warn)}
.aav-agency .groups .groups-tag{display:inline-block;vertical-align:.1em;margin-left:.6em;font-style:normal;font-size:.6rem;font-weight:600;letter-spacing:.12em;line-height:1;padding:.35em .6em;border-radius:99px;background:var(--groups-warn);color:var(--ink);white-space:nowrap}

@media (forced-colors:active){.aav-agency .groups .groups-facts .is-placeholder{outline-color:CanvasText}}
@media (prefers-reduced-motion:reduce){.aav-agency .groups-cell{transition:none}}

/* ── Groups building sky: sunset -> night + aurora, plays once (2026-10-06) ──
   Ported from agency-wp/building-anim-mock/ (variant A, "settles").
   Markup: groups-sky.html, printed by content.php inside .groups-img
   [data-groups-sky]. The sky is HTML layers BEHIND the SVG (z 0), the
   window/roof/snow overlays sit ABOVE it (z 2); balcony cells are never
   covered. Only opacity/transform change, so it runs on the compositor.
   DEFAULT (no JS, aav-js gate, Cookiebot delay, reduced motion) = the finished
   night scene, static. agency.js adds .is-dusk (sunset) only when it is ready
   to play and the sky is off-screen, then .is-night when ~40 % is in view. */
.aav-agency .groups{overflow:hidden;overflow:clip}  /* the sky reaches above the drawing */
.aav-agency .groups-img[data-groups-sky]{position:relative;isolation:isolate}
.aav-agency [data-groups-sky] .groups-svg{position:relative;z-index:1}
.aav-agency .gsky{position:absolute;z-index:0;left:-4%;right:-4%;top:-36.08%;bottom:6.7%;pointer-events:none;
  background:radial-gradient(ellipse 46% 34% at 58% 30%,rgba(95,199,154,.07),rgba(95,199,154,0) 70%),
             linear-gradient(#151C1F,#1A2224 55%,#1F2A2B);
  -webkit-mask-image:radial-gradient(ellipse 44% 60% at 55% 60%,#000 50%,rgba(0,0,0,.55) 76%,transparent);
  mask-image:radial-gradient(ellipse 44% 60% at 55% 60%,#000 50%,rgba(0,0,0,.55) 76%,transparent)}
.aav-agency .gsky>*,.aav-agency .gsky-cur{position:absolute;inset:0;margin:0}
.aav-agency .gsky svg{display:block;width:100%;height:100%}
.aav-agency .gsky-dusk{opacity:0;
  background:radial-gradient(ellipse 30% 26% at 86% 47%,rgba(248,200,132,.8),rgba(248,200,132,0) 72%),
             linear-gradient(#262D3B,#433F55 14%,#845B68 27%,#BF7766 37%,#DC925F 45%,#EAAE76 53%,#E2A26F)}
.aav-agency .gsky-blue{opacity:0;
  background:linear-gradient(#1A2131,#26304A 22%,#3B4563 36%,#5A5D7A 46%,#7A6E84 56%,#83748A)}
.aav-agency .gsky-cur-2{opacity:.7}
.aav-agency .gsky-over{position:absolute;z-index:2;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.aav-agency .gsky-alpen{opacity:0}
.aav-agency .gsky-lit{fill:#F4C77E;fill-opacity:.58}

/* JS start state: sunset */
.aav-agency .is-dusk .gsky-dusk{opacity:1}
.aav-agency .is-dusk .gsky-alpen{opacity:.42}
.aav-agency .is-dusk .gsky-stars,.aav-agency .is-dusk .gsky-aurora,.aav-agency .is-dusk .gsky-lit{opacity:0}
.aav-agency .is-dusk .gsky-aurora{transform:translateY(5%) scaleY(.82);transform-origin:50% 60%}

/* sunset -> night, ~8.5 s in all, once */
.aav-agency .is-dusk.is-night .gsky-dusk{opacity:0;transition:opacity 5.5s cubic-bezier(.45,0,.4,1)}
.aav-agency .is-dusk.is-night .gsky-blue{animation:gskyBlue 8.5s ease-in-out}
@keyframes gskyBlue{0%{opacity:0}40%{opacity:.9}100%{opacity:0}}
.aav-agency .is-dusk.is-night .gsky-alpen{opacity:0;transition:opacity 5.5s ease-in-out .5s}
.aav-agency .is-dusk.is-night .gsky-lit-a{opacity:1;transition:opacity 2.4s ease 2.6s}
.aav-agency .is-dusk.is-night .gsky-lit-b{opacity:1;transition:opacity 2.8s ease 4.4s}
.aav-agency .is-dusk.is-night .gsky-stars{opacity:1;transition:opacity 4s ease 3.8s}
.aav-agency .is-dusk.is-night .gsky-aurora{opacity:1;transform:none;transition:opacity 5s ease-in-out 3.6s,transform 9s cubic-bezier(.2,.6,.3,1) 3s}

@media (prefers-reduced-motion:reduce){
  .aav-agency .gsky *,.aav-agency .gsky-over{transition:none!important;animation:none!important}
}
@media (forced-colors:active),print{.aav-agency .gsky,.aav-agency .gsky-over{display:none}}

/* 2026-10-06: hero box matches the Private page and the rest of the site:
   full width minus 20px edges, max 1440px, straight under the header.
   The facts row under the photo is as wide as the photo (as on the Private page). */
.aav-agency .hero:not(.is-scrub){padding-top:0}
.aav-agency .hero:not(.is-scrub) > .wrap{max-width:calc(1440px + 40px);padding-inline:20px}

/* 2026-10-06: more air between the "What we handle" heading block and the timeline,
   in line with the other sections (~108 px desktop). */
.aav-agency .ledger .tl.is-compact{padding-top:clamp(48px,5vw,72px)} /* padding, not margin: margins collapse with the head */


/* ── Contact panel, 2026-10-09: copied from the Private page (private.css #people),
   so both pages show the team line the same way. ─────────────── */
.aav-agency #people{
  --a-tint:#EEE6DA;
  --a-ico-tel:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  --a-ico-mail:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4.5' width='19' height='15' rx='1.5'/%3E%3Cpath d='M3 6l9 7 9-7'/%3E%3C/svg%3E");
}
.aav-agency #people .contact-panel{
  display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);gap:clamp(14px,2vw,24px);
  border:0;border-radius:0;background:none;overflow:visible;
  margin-top:clamp(26px,4vw,40px);
}
.aav-agency #people .contact-main,
.aav-agency #people .contact-aside{
  display:flex;flex-direction:column;align-items:flex-start;
  background:var(--a-tint);border:0;border-radius:var(--radius);
  padding:clamp(24px,3.2vw,44px);
}
/* Card titles: Marcellus, sentence case, as the main site's "Customer Service". */
.aav-agency #people .route-k{
  font-family:var(--display);font-size:clamp(1.3rem,1.9vw,1.6rem);line-height:1.25;
  letter-spacing:0;text-transform:none;color:var(--ink);margin:0 0 .5em;
}
.aav-agency #people .contact-when{
  order:-1;margin:0 0 clamp(20px,2.6vw,30px);max-width:40ch;
  font-size:1.02rem;line-height:1.55;color:var(--slate);
}
.aav-agency #people .contact-main .route-k{order:-2}
/* The number: the site's ink pill, one size up because it is the one action. */
.aav-agency #people .contact-num,
.aav-agency #people .contact-aside a{
  display:inline-flex;align-items:center;gap:.7em;white-space:nowrap;
  font-family:var(--display);line-height:1.2;text-decoration:none;
  border-radius:999px;border:1px solid var(--ink);
  transition:background-color .25s ease,color .25s ease,border-color .25s ease,transform .25s ease;
}
.aav-agency #people .contact-num{
  font-size:clamp(1.08rem,1.5vw,1.25rem);padding:.7em 1.4em .7em 1.1em;
  background:var(--ink);color:#fff;margin-bottom:clamp(22px,3vw,34px);
}
.aav-agency #people .contact-num:hover{background:var(--tan);border-color:var(--tan);color:#fff;transform:translateY(-1px)}
/* Team email under the number: Juuso's outline pill, so the number stays the main action. */
.aav-agency #people .contact-num:has(+ .contact-mail){margin-bottom:.6rem}
.aav-agency #people .contact-mail{
  display:inline-flex;align-items:center;gap:.7em;white-space:nowrap;max-width:100%;
  font-family:var(--display);line-height:1.2;text-decoration:none;
  border-radius:999px;border:1px solid var(--ink);
  font-size:1.02rem;padding:.6em 1.25em .6em 1em;margin:0 0 clamp(22px,3vw,34px);
  background:transparent;color:var(--ink);
  transition:background-color .25s ease,color .25s ease;
}
.aav-agency #people .contact-mail:hover{background:var(--ink);color:#fff}
.aav-agency #people .contact-mail::before{
  content:'';flex:0 0 auto;width:1em;height:1em;background:currentColor;
  -webkit-mask:var(--a-ico-mail) center/contain no-repeat;mask:var(--a-ico-mail) center/contain no-repeat;
}
.aav-agency #people .contact-num::before,
.aav-agency #people .contact-aside a::before{
  content:'';flex:0 0 auto;width:1em;height:1em;background:currentColor;
  -webkit-mask:var(--a-ico-tel) center/contain no-repeat;mask:var(--a-ico-tel) center/contain no-repeat;
}
.aav-agency #people .contact-aside a[href^="mailto:"]::before{
  -webkit-mask-image:var(--a-ico-mail);mask-image:var(--a-ico-mail);
}
.aav-agency #people .contact-main .route-after{
  margin:auto 0 0;padding-top:clamp(16px,2vw,22px);max-width:none;align-self:stretch;
  border-top:1px solid var(--line);font-size:.92rem;line-height:1.6;color:#5A5F5C;
}

/* Juuso: same card, outline pills, smaller. */
.aav-agency #people .contact-aside a:last-of-type{margin-bottom:clamp(22px,3vw,34px)}
.aav-agency #people .contact-name{margin:0 0 clamp(16px,2vw,22px);font-size:1rem;color:var(--slate)}
.aav-agency #people .contact-name b{font-weight:600;color:var(--ink)}
.aav-agency #people .contact-aside a{
  font-size:1.02rem;padding:.6em 1.25em .6em 1em;margin:0 0 .6rem;
  background:transparent;color:var(--ink);max-width:100%;
}
.aav-agency #people .contact-aside a:hover{background:var(--ink);color:#fff}
.aav-agency #people .contact-aside .route-after{
  margin:auto 0 0;padding-top:clamp(16px,2vw,22px);align-self:stretch;
  border-top:1px solid var(--line);font-size:.92rem;line-height:1.6;color:#5A5F5C;
}

@media (max-width:900px){
  .aav-agency #people .contact-panel{grid-template-columns:1fr}
}
@media (max-width:560px){
  .aav-agency #people .contact-main,
  .aav-agency #people .contact-aside{border-radius:20px;padding:24px 20px}
  .aav-agency #people .contact-num{font-size:1.08rem}
  .aav-agency #people .contact-aside a,
  .aav-agency #people .contact-mail{font-size:.95rem}
}


/* 2026-10-16: enquiry on white (steps band off, #people stays cream). Light
   island on white turns cream, like the desks on the white payoff band;
   fields and intent chips go white so they still read as fields. */
.aav-agency .surface-white .enquiry-form{background:var(--cream)}
.aav-agency .surface-white .enquiry-form :is(input[type="text"],input[type="email"],input[type="tel"],textarea),
.aav-agency .surface-white .enquiry-form .aav-intent .gchoice label{background:var(--paper)}

/* 2026-10-16: "Talk to us" pill removed (user) — the site-wide AI chatbot is the floating contact button now.
   Markup + JS stay; delete this rule to bring the pill back. */
.aav-agency .rail{display:none!important}
