/* A to Z Courier — design tokens from the official brand specification
   (Deep Blue #0055D6, Sky Blue #00B2FF, Charcoal #1A1A1A, White #FFFFFF).
   The blue/accent tints are derived from those four to build a scale;
   only the four listed above are official values, sampled exactly. */
/* Fonts, served from /fonts (Moe's v7 prompt, B2): the same files Google Fonts
   served (Barlow v13, Barlow Condensed v13, Inter v20), latin and latin-ext.
   "swap": text shows at once in the fallback, then switches. Each family's
   fallback is Arial resized to the web font's average letter width and line
   height (size-adjust, ascent/descent-override, measured from these files),
   so the switch does not re-wrap lines or move the page. */
@font-face{font-family:Barlow;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/barlow-v13-500-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Barlow;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/barlow-v13-500-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Barlow;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/barlow-v13-600-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Barlow;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/barlow-v13-600-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Barlow;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/barlow-v13-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Barlow;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/barlow-v13-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/barlow-condensed-v13-600-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/barlow-condensed-v13-600-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/barlow-condensed-v13-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/barlow-condensed-v13-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Inter;font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/inter-v20-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/inter-v20-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Fallback";font-weight:100 600;src:local("Arial"),local("ArialMT");size-adjust:97.6%;ascent-override:102.5%;descent-override:20.5%;line-gap-override:0%}
@font-face{font-family:"Barlow Fallback";font-weight:700 900;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:92.43%;ascent-override:108.19%;descent-override:21.64%;line-gap-override:0%}
@font-face{font-family:"Barlow Condensed Fallback";font-weight:100 600;src:local("Arial"),local("ArialMT");size-adjust:79.66%;ascent-override:125.54%;descent-override:25.11%;line-gap-override:0%}
@font-face{font-family:"Barlow Condensed Fallback";font-weight:700 900;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:76.13%;ascent-override:131.35%;descent-override:26.27%;line-gap-override:0%}
@font-face{font-family:"Inter Fallback";font-weight:100 900;src:local("Arial"),local("ArialMT");size-adjust:106.77%;ascent-override:90.73%;descent-override:22.59%;line-gap-override:0%}
:root{
  --blue-900:#002B6B; --blue-800:#003D99; --blue-700:#0047B3; --blue-600:#0055D6;
  --blue-400:#3D8BFF; --blue-50:#F0F6FF; --accent:#00B2FF;
  --n-0:#FFFFFF; --n-50:#F8FAFC; --n-100:#F1F5F9; --n-200:#E2E8F0; --n-300:#CBD5E1;
  --n-400:#748298; --n-500:#64748B; --n-600:#475569; --n-700:#334155; --n-900:#1A1A1A;
  --amber:#92400E; --amber-bg:#FEF3C7; --green:#047857; --green-bg:#D1FAE5;
  /* topbar-text: the top bar's own base text (hours, WhatsApp link). text-on-dark:
     the brighter text used for emphasis on dark/saturated surfaces -- the top bar's
     hovered links and phone number, the clock header, the dark sector strip, and
     white button/pill text on the primary blue. Both editable from /admin/theme;
     both served (with every other token here) by /css/theme.css, which is linked
     after this file and overrides these defaults with whatever is saved there. */
  --topbar-text:#CFE3F5; --text-on-dark:#FFFFFF;
  --pad: clamp(1rem, 4vw, 4rem);
  --maxw: 1200px;
}
/* --n-300 is decorative-only from here on (WCAG 1.4.11 non-text contrast fails at ~1.49:1
   on white): it survives only on the .menu-btn frame, where the icon inside carries the
   affordance. --n-400 is the dedicated resting-border grey (>=3:1 on white) for anything a
   user needs to actually see the edge of. --n-600 is a muted-but-still-AA-legible (>=4.5:1)
   text grey for "de-emphasised" states that must never drop to unreadable. */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Inter,"Inter Fallback",system-ui,sans-serif;color:var(--n-900);background:var(--n-0);line-height:1.6}
img{max-width:100%;display:block;height:auto}
a{color:inherit}
h1,h2,h3,h4{font-family:Barlow,"Barlow Fallback",system-ui,sans-serif;line-height:1.1;letter-spacing:-.01em;margin:0}
h1,h2,h3,h4,p{overflow-wrap:break-word}
.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:var(--pad)}
.wrap.narrow{max-width:760px}
:focus-visible{outline:2px solid var(--blue-600);outline-offset:2px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;z-index:100;background:var(--n-0);padding:.6rem 1rem;border-radius:6px}

.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  padding:.7rem 1.15rem;border-radius:6px;font-weight:600;text-decoration:none;
  font-size:.9375rem;border:1px solid transparent;cursor:pointer;font-family:inherit}
.btn-primary{background:var(--blue-600);color:var(--text-on-dark)}
.btn-primary:hover{background:var(--blue-700)}
.btn-ghost{border-color:var(--n-400);color:var(--n-700);background:var(--n-0)}
.btn-ghost:hover{border-color:var(--blue-600);color:var(--blue-700)}

/* top bar — the phone number stays readable at every width */
.topbar{background:var(--blue-900);color:var(--topbar-text);font-size:.8125rem}
.topbar .wrap{display:flex;gap:.75rem 1.25rem;flex-wrap:wrap;align-items:center;
  padding-block:.5rem;padding-top:calc(.5rem + env(safe-area-inset-top,0px))}
.topbar a{text-decoration:none;min-height:32px;display:inline-flex;align-items:center}
.topbar a:hover{color:var(--text-on-dark)}
.topbar .sp{margin-left:auto}
.topbar-phone{font-weight:600;color:var(--text-on-dark)}
.login{background:var(--blue-600);color:var(--text-on-dark);padding:.3rem .75rem;border-radius:4px;font-weight:500}

.langswitch{display:flex;align-items:center;gap:.35rem;font-weight:600}
.langswitch a,.langswitch span{padding:.2rem .4rem;border-radius:4px;min-height:32px;display:inline-flex;align-items:center}
.langswitch a{color:var(--topbar-text)}
.langswitch span[aria-current]{color:var(--text-on-dark);background:rgba(255,255,255,.15)}

header{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:var(--n-0);border-bottom:1px solid var(--n-200)}
header .wrap{display:flex;align-items:center;gap:1rem;padding-block:.75rem}
.brand{display:inline-flex}
.logo{height:42px;width:auto}
footer .logo{height:36px;margin-bottom:.9rem}
nav{margin-left:auto;display:none;align-items:center;gap:.25rem}
nav a{text-decoration:none;font-size:.9375rem;font-weight:500;color:var(--n-700);
  padding:.65rem .7rem;border-radius:6px;min-height:44px;display:flex;align-items:center}
nav a:hover{background:var(--n-100);color:var(--blue-700)}
nav a[aria-current]{color:var(--blue-700);font-weight:600}
.nav-cta{color:var(--text-on-dark)}
.nav-cta:hover{color:var(--text-on-dark)}
.menu-btn{margin-left:auto;background:none;border:1px solid var(--n-300);border-radius:6px;
  width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.menu-btn span,.menu-btn span::before,.menu-btn span::after{display:block;width:18px;height:2px;background:var(--n-700);content:"";position:relative}
.menu-btn span::before{position:absolute;top:-6px}
.menu-btn span::after{position:absolute;top:6px}
nav.is-open{display:flex;position:absolute;left:0;right:0;top:100%;flex-direction:column;
  align-items:stretch;background:var(--n-0);border-bottom:1px solid var(--n-200);padding:.5rem var(--pad) 1rem;gap:.15rem}
nav.is-open .nav-cta{margin-top:.5rem;justify-content:center}
@media(min-width:861px){
  nav{display:flex}
  .menu-btn{display:none}
  nav.is-open{position:static;flex-direction:row;border:0;padding:0;background:none}
}
@media(max-width:520px){.topbar .hide-sm{display:none}}
@media(max-width:760px){.topbar .hide-md{display:none}}

/* hero */
.hero{background:linear-gradient(180deg,var(--blue-50),var(--n-0));border-bottom:1px solid var(--n-200)}
.hero .wrap{display:grid;grid-template-columns:1fr;gap:clamp(2rem,5vw,4rem);
  padding-block:clamp(2.5rem,7vw,5rem);align-items:start}
@media(min-width:960px){.hero-clock .wrap{grid-template-columns:1.05fr .95fr}}
/* secondary pages: about a third less height than the home hero, so the
   page's real content (the quote form above all) starts nearer the fold */
.hero-compact .wrap{padding-block:clamp(1.6rem,4.5vw,3.25rem)}
.hero-compact h1{font-size:clamp(1.9rem,4.4vw,3rem)}
.hero-compact .lead{margin-bottom:1.25rem}
.hero-compact + .sec{padding-top:clamp(1.5rem,3.5vw,2.75rem)}
.hero-copy{min-width:0}
.hero h1{font-size:clamp(2.1rem,5.2vw,3.6rem);font-weight:700;margin:0 0 1rem;max-width:18ch}
/* the registered slogan: a deliberate statement under the headline, not a caption */
.slogan{font-family:Barlow,"Barlow Fallback",system-ui,sans-serif;font-weight:700;color:var(--blue-700);
  font-size:clamp(1.05rem,1.8vw,1.3rem);line-height:1.35;letter-spacing:.005em;
  margin:0 0 1.4rem;max-width:42ch}
.lead{font-size:clamp(1.02rem,1.5vw,1.16rem);color:var(--n-700);max-width:60ch;margin:0 0 1.75rem}
.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap}
.coverage{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--n-200);font-size:.9rem;color:var(--n-500);max-width:60ch}
.coverage strong{color:var(--n-700);font-weight:600}

/* cut-off clock */
.clock{background:var(--n-0);border:1px solid var(--n-200);border-radius:12px;overflow:hidden;box-shadow:0 1px 3px rgba(0,43,107,.08);min-width:0}
.clock-head{background:var(--blue-900);color:var(--text-on-dark);padding:1.1rem 1.25rem}
.clock-now{font-family:"Barlow Condensed","Barlow Condensed Fallback",sans-serif;font-weight:700;font-size:clamp(1.7rem,4vw,2.1rem);line-height:1}
.clock-head p{margin:.35rem 0 0;font-size:.875rem;color:#a9cbe8}
/* One row per regular service: name and status side by side, then the
   delivery estimate, today's cutoff, the week and the dispatch link. The
   status wraps (never a fixed-width pill), and only an OPEN row is green. */
.cuts{list-style:none;margin:0;padding:0}
.cut{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.2rem 1rem;align-items:start;padding:.9rem 1.25rem;border-top:1px solid var(--n-100)}
.cut:first-child{border-top:0}
.cut p{margin:0}
.cut-name{font-family:Barlow,"Barlow Fallback",sans-serif;font-weight:600;grid-column:1}
.cut-status{grid-column:2;grid-row:1/span 2;justify-self:end;max-width:14rem;font-size:.75rem;font-weight:600;line-height:1.35;padding:.3rem .6rem;border-radius:8px;text-align:right;overflow-wrap:anywhere;background:var(--n-100);color:var(--n-600)}
.cut-sub{font-size:.8125rem;color:var(--n-500);grid-column:1}
.cut-today{grid-column:1/-1;font-size:.875rem;font-weight:600;color:var(--n-700)}
.cut-week{grid-column:1/-1;font-size:.75rem;color:var(--n-500)}
.cut-dispatch{grid-column:1/-1;justify-self:start;font-size:.8125rem;font-weight:600}
.cut[data-tone="open"] .cut-status{background:var(--green-bg);color:var(--green)}
.cut[data-tone="soon"] .cut-status{background:var(--amber-bg);color:var(--amber)}
.cut[data-tone="later"] .cut-status{background:var(--blue-50);color:var(--blue-800)}
.cut[data-tone="unknown"] .cut-status{background:var(--n-0);border:1px dashed var(--n-300)}
.cut[data-tone="closed"] .cut-name,.cut[data-tone="dispatch"] .cut-name,.cut[data-tone="unknown"] .cut-name{color:var(--n-600);font-weight:500}
@media(max-width:420px){.cut{grid-template-columns:minmax(0,1fr)}.cut-status{grid-column:1;grid-row:auto;justify-self:start;max-width:none;text-align:left}}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.clock-foot{padding:1rem 1.25rem;background:var(--n-50);border-top:1px solid var(--n-200);font-size:.8125rem;color:var(--n-500)}

/* sections */
.sec{padding-block:clamp(2.5rem,6vw,5rem)}
.sec-head{max-width:62ch;margin-bottom:clamp(1.5rem,4vw,2.5rem)}
.sec-head h2{font-size:clamp(1.6rem,3.4vw,2.35rem);font-weight:700;margin:0 0 .6rem}
.sec-head p{margin:0;color:var(--n-700)}
.prose{color:var(--n-700);max-width:70ch;margin:0 0 1rem;white-space:pre-line} /* keeps an address block's own line breaks */
/* a page's HTML block (Terms): a long document, so tighter than page sections */
.rich{color:var(--n-700);max-width:70ch}
.rich h2{font-size:clamp(1.15rem,2.2vw,1.35rem);font-weight:700;color:var(--n-900);margin:2.2rem 0 .6rem;scroll-margin-top:1.5rem}
.rich h3,.rich h4{font-size:1.05rem;font-weight:700;color:var(--n-900);margin:1.6rem 0 .5rem}
.rich>:first-child{margin-top:0}
.rich p,.rich ul,.rich ol,.rich blockquote,.rich table{margin:0 0 1rem}
.rich ul,.rich ol{padding-left:1.4rem}
.rich li{margin-bottom:.35rem}
.rich a{color:var(--blue-700);text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.rich a:hover{color:var(--blue-900)}
.rich a[href^="tel:"]{white-space:nowrap}
.rich strong,.rich b{color:var(--n-900)}
.rich hr{border:0;border-top:1px solid var(--n-200);margin:2rem 0}
.rich blockquote{border-left:3px solid var(--blue-400);padding-left:1rem}
.rich table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}
.rich th,.rich td{border:1px solid var(--n-200);padding:.45rem .6rem;text-align:left;vertical-align:top}

/* services route track */
.track{position:relative;display:grid}
.track::before{content:"";position:absolute;left:11px;top:14px;bottom:14px;width:2px;
  background:linear-gradient(180deg,var(--blue-400),var(--blue-600),var(--blue-900))}
.stop{position:relative;padding:1.4rem 0 1.4rem 2.75rem;border-bottom:1px solid var(--n-200);scroll-margin-top:6rem}
.stop:last-child{border-bottom:0}
.stop::before{content:"";position:absolute;left:4px;top:1.85rem;width:16px;height:16px;border-radius:50%;
  background:var(--n-0);border:3px solid var(--blue-600);box-shadow:0 0 0 4px var(--n-0)}
.stop-top{display:flex;flex-wrap:wrap;align-items:baseline;gap:.3rem 1rem}
.stop h3{font-size:1.2rem;font-weight:700;color:var(--blue-800)}
.stop h3 a{color:inherit;text-decoration:none;min-height:32px;display:inline-flex;align-items:center}
.stop h3 a::after{content:" \2192";color:var(--blue-600);margin-left:.35rem}
.stop h3 a:hover,.stop h3 a:focus-visible{text-decoration:underline}
.when{font-family:"Barlow Condensed","Barlow Condensed Fallback",sans-serif;font-weight:600;font-size:1.1rem;color:var(--blue-600)}
.stop p{margin:.35rem 0 0;color:var(--n-700);font-size:.95rem;max-width:66ch}
.stop-more{color:var(--n-500);font-size:.9rem}
.stop p.stop-cutoff{margin-top:.2rem;font-size:.875rem;font-weight:600;color:var(--n-600)}

/* dark sector strip */
.strip{background:var(--blue-900);color:var(--text-on-dark)}
.strip .wrap{padding-block:clamp(2.5rem,6vw,4rem)}
.strip-h{font-size:clamp(1.5rem,3vw,2.1rem);font-weight:700;color:var(--text-on-dark);margin:0 0 1.5rem}
.strip-grid{display:grid;gap:2rem;min-width:0}
@media(min-width:760px){.strip-grid{grid-template-columns:repeat(3,1fr)}}
.strip h3{margin:0 0 .4rem;font-size:1.1rem;font-weight:600;color:var(--accent)}
.strip p{margin:0;color:#bcd6ec;font-size:.95rem}

/* packages */
.pkgs{list-style:none;margin:0;padding:0;display:grid;gap:1px;background:var(--n-200);border:1px solid var(--n-200);border-radius:8px;overflow:hidden}
@media(min-width:720px){.pkgs{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.pkgs{grid-template-columns:repeat(3,1fr)}}
.pkgs li{background:var(--n-0);padding:1.35rem}
/* a last row that doesn't fill the grid: stretch its cards across the
   remaining columns instead of leaving an empty tinted cell -- works for
   any number of package types the client adds or removes */
@media(min-width:720px) and (max-width:1039.98px){.pkgs li:last-child:nth-child(odd){grid-column:1/-1}}
@media(min-width:1040px){
  .pkgs li:last-child:nth-child(3n+1){grid-column:1/-1}
  .pkgs li:last-child:nth-child(3n+2){grid-column:span 2}
}
.pkgs h3{font-size:1.05rem;color:var(--blue-800);margin-bottom:.35rem}
.pkgs p{margin:0;font-size:.92rem;color:var(--n-700)}
.pkg-meta{margin-top:.5rem!important;font-size:.85rem!important;color:var(--n-500)!important}

/* apps + store buttons */
.apps{display:grid;gap:1.5rem;align-items:center}
@media(min-width:820px){.apps{grid-template-columns:1fr auto}}
.apps h2{font-size:clamp(1.4rem,3vw,2rem);margin-bottom:.5rem}
.apps p{margin:0;color:var(--n-700);max-width:52ch}
.store{display:flex;gap:.75rem;flex-wrap:wrap}
.store a{display:inline-flex;align-items:center;min-height:48px;border:1px solid var(--n-400);
  border-radius:8px;padding:.7rem 1.1rem;text-decoration:none;background:var(--n-0);font-weight:600;font-size:.9rem}
.store a:hover{border-color:var(--blue-600);color:var(--blue-700)}

/* contact grid */
.cgrid{display:grid;gap:2rem}
@media(min-width:680px){.cgrid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.cgrid{grid-template-columns:repeat(4,1fr)}}
.cgrid h2{font-size:1rem;color:var(--blue-800);margin:0 0 .5rem;font-family:Barlow,"Barlow Fallback",sans-serif;font-weight:700}
.cgrid p{margin:0 0 .35rem;color:var(--n-700);font-size:.95rem}
.cgrid a{min-height:32px;display:inline-flex;align-items:center}

/* ticks list */
.ticks{list-style:none;margin:0;padding:0;display:grid;gap:.85rem}
.ticks li{position:relative;padding-left:1.9rem;color:var(--n-700)}
.ticks li::before{content:"";position:absolute;left:0;top:.45rem;width:18px;height:18px;border-radius:50%;
  background:var(--blue-600)}
.ticks li::after{content:"";position:absolute;left:5px;top:.72rem;width:8px;height:4px;
  border-left:2px solid var(--text-on-dark);border-bottom:2px solid var(--text-on-dark);transform:rotate(-45deg)}

/* forms */
.form{max-width:640px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.fields{display:grid;gap:1rem}
@media(min-width:620px){.fields{grid-template-columns:1fr 1fr}.field-wide{grid-column:1/-1}}
label{display:block;font-size:.85rem;font-weight:600;color:var(--n-700);margin-bottom:.35rem}
.opt{font-weight:400;color:var(--n-500)}
input,select,textarea{width:100%;min-height:46px;padding:.6rem .75rem;border:1px solid var(--n-400);
  border-radius:6px;font:inherit;font-size:1rem;color:var(--n-900);background:var(--n-0)}
textarea{min-height:120px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid var(--blue-600);outline-offset:0;border-color:var(--blue-600)}
.form .btn{margin-top:1.25rem}
.form-error{background:var(--amber-bg);color:var(--amber);padding:.85rem 1rem;border-radius:6px;margin:0 0 1.25rem;font-size:.95rem}
.form-error p{margin:0}
.form-error ul{margin:.4rem 0 0;padding-left:1.1rem}
.form-error a{color:inherit;font-weight:600}
.form-error:focus{outline:2px solid var(--amber);outline-offset:2px}
[aria-invalid="true"]{border-color:var(--amber)!important}

/* media */
figure{margin:0}
figcaption{font-size:.85rem;color:var(--n-500);margin-top:.5rem}
.video{position:relative;aspect-ratio:16/9;background:var(--n-100);border-radius:10px;overflow:hidden}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* footer */
footer{background:var(--n-50);border-top:1px solid var(--n-200);padding-block:clamp(2.5rem,6vw,3.5rem) 1.5rem}
.fgrid{display:grid;gap:2rem}
@media(min-width:680px){.fgrid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:960px){.fgrid{grid-template-columns:2fr 1fr 1fr 1.2fr}}
footer .fh{font-family:Barlow,"Barlow Fallback",sans-serif;margin:0 0 .75rem;font-size:.95rem;font-weight:600;color:var(--n-900)}
.social{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:1rem}
.social a{width:44px;height:44px;justify-content:center;border:1px solid var(--n-200);border-radius:50%;color:var(--blue-800)}
.social a:hover,.social a:focus-visible{background:var(--blue-50);color:var(--blue-700);text-decoration:none}
footer .langswitch a{color:var(--blue-700)}
footer .langswitch span[aria-current]{color:var(--n-0);background:var(--blue-700)}
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
footer a{color:var(--n-700);text-decoration:none;font-size:.9rem;min-height:32px;display:inline-flex;align-items:center}
footer a:hover{color:var(--blue-700);text-decoration:underline}
.ftag,.faddr{margin:.9rem 0 0;color:var(--n-700);font-size:.9rem;max-width:42ch}
.faddr{color:var(--n-500)}
.fbot{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--n-200);font-size:.8125rem;color:var(--n-500);
  display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;padding-bottom:env(safe-area-inset-bottom,0px)}
.flegal{display:flex;gap:1.25rem;flex-wrap:wrap}
.flegal a{font-size:.8125rem}

/* ---- a photo beside a section (Pages -> "Image beside this section") ----
   Phones: the text first, the photo under it. From 900px: two columns, the
   photo on the side chosen in the editor. Portrait images get a narrower
   column so a tall poster never towers over its text. */
.sec-split{display:grid;gap:clamp(1.5rem,4vw,3rem);align-items:center}
.split-body{min-width:0}
.split-media{min-width:0}
.split-media img{width:100%;height:auto;border-radius:12px;box-shadow:0 1px 3px rgba(0,43,107,.08)}
.split-media figcaption{margin-top:.75rem;font-size:.9rem;color:var(--n-700)}
@media(min-width:900px){
  .sec-split{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
  .sec-split.is-portrait{grid-template-columns:minmax(0,1fr) minmax(0,380px)}
  .sec-split.media-left{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .sec-split.media-left.is-portrait{grid-template-columns:minmax(0,380px) minmax(0,1fr)}
  .sec-split.media-left .split-media{order:-1}
  /* "crop to 4:3 on desktop, full image on mobile" */
  .sec-split.crop-43 .split-media img{aspect-ratio:4/3;object-fit:cover}
  /* packages beside a photo: two columns of cards instead of three, and an
     odd last card spans the row (overrides the three-column rules above) */
  .sec-split .pkgs{grid-template-columns:repeat(2,1fr)}
  .sec-split .pkgs li:last-child:nth-child(n){grid-column:auto}
  .sec-split .pkgs li:last-child:nth-child(odd){grid-column:1/-1}
  /* the app block keeps its text and store buttons stacked beside the photo */
  .apps.sec-split .split-body{display:grid;gap:1.25rem}
}
/* the app block's own "text | buttons" row (820px+) would put a full-size
   photo in an auto-width column; with a photo it stays one column until the
   split layout takes over at 900px */
@media(min-width:820px) and (max-width:899.98px){.apps.sec-split{grid-template-columns:1fr}}

/* the home "trust" section: a short paragraph beside a photo */
.feature .prose{font-size:1.05rem}

/* hero with a photo (Careers): heading and button first on phones */
.hero-figure{min-width:0}
.hero-figure img{width:100%;height:auto;border-radius:12px;box-shadow:0 1px 3px rgba(0,43,107,.08)}
@media(min-width:960px){
  .hero-media .wrap{grid-template-columns:minmax(0,1fr) minmax(0,400px);align-items:center}
}
@media(max-width:959.98px){
  .hero-figure{max-width:420px}
}

/* ---- FAQ: native <details>, no script needed ---- */
.faq-list{display:grid;gap:.75rem}
.faq-item{border:1px solid var(--n-200);border-radius:10px;background:var(--n-0)}
.faq-item summary{cursor:pointer;list-style:none;padding:1rem 3rem 1rem 1.25rem;position:relative;
  font-family:Barlow,"Barlow Fallback",system-ui,sans-serif;font-weight:600;font-size:1.08rem;color:var(--blue-800);min-height:44px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";position:absolute;right:1.25rem;top:50%;transform:translateY(-50%);
  font-size:1.4rem;line-height:1;color:var(--blue-600)}
.faq-item[open] summary::after{content:"\2212"}
.faq-item summary:focus-visible{outline:2px solid var(--blue-600);outline-offset:2px;border-radius:10px}
.faq-a{padding:0 1.25rem 1.1rem;color:var(--n-700);white-space:pre-line;max-width:70ch}

/* ---- R2 work order (2026-10-01): route pages and the About modules ---- */
.anchor{scroll-margin-top:6rem}
.btn-light{background:var(--n-0);color:var(--blue-900);min-height:48px}
.btn-light:hover{background:var(--blue-50)}
.hero-actions .btn{min-height:48px}
.more-link{margin:1rem 0 0}
.more-link a{font-weight:600;color:var(--blue-700);text-underline-offset:3px;min-height:48px;display:inline-flex;align-items:center}
.more-link a::after{content:" \2192";margin-left:.35rem}
.more-link-sec{padding-block:0 clamp(2rem,5vw,3.5rem)}

/* route cards (Home, Services): Ottawa left, Montreal right from 640px; the
   whole card is the link (the heading's link stretches over it) */
.route-cards{list-style:none;margin:0;padding:0;display:grid;gap:24px}
@media(min-width:640px){.route-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.route-card{position:relative;border:1px solid var(--n-200);border-radius:12px;background:var(--n-0);padding:1.4rem 1.5rem;
  box-shadow:0 1px 3px rgba(0,43,107,.06)}
.route-card:hover{border-color:var(--blue-600)}
.route-card:focus-within{outline:2px solid var(--blue-600);outline-offset:2px}
.route-card h3{font-size:1.2rem;color:var(--blue-800);margin:0 0 .5rem}
.route-card h3 a{text-decoration:none;color:inherit}
.route-card h3 a:focus-visible{outline:none}
.route-card h3 a::after{content:"";position:absolute;inset:0;border-radius:12px}
.route-card p{margin:0;color:var(--n-700);font-size:.95rem}
.route-more{margin-top:.85rem!important;font-weight:600;color:var(--blue-700)!important}
.route-more::after{content:" \2192"}

/* route hero: copy left (about 68%), the booking summary right */
@media(min-width:960px){.hero-summary .wrap{grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:32px;align-items:start}}
.route-summary{background:var(--n-0);border:1px solid var(--n-200);border-radius:12px;padding:1.4rem 1.5rem;min-width:0;
  box-shadow:0 1px 3px rgba(0,43,107,.08)}
.route-summary h2{font-size:1.2rem;color:var(--blue-900);margin:0 0 .75rem}
.route-summary ul{margin:0 0 .9rem;padding-left:1.1rem;color:var(--n-700)}
.route-summary li{margin-bottom:.35rem}
.route-summary p{margin:0;color:var(--n-700);font-size:.95rem}

/* app artwork beside text: the published store image, never enlarged */
.sec-split.media-small .split-media{justify-self:center;max-width:240px;width:100%}
.sec-split.media-small .split-media img{box-shadow:none;border-radius:16px}
@media(min-width:900px){
  .sec-split.media-small{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
  .sec-split.media-small .split-media{max-width:280px}
}
.apps .prose{max-width:62ch;margin:0 0 1rem}

/* About: story timeline */
.tl-logo{margin:0 0 1.5rem}
.tl-logo img{max-width:224px;width:auto;background:var(--n-0)}
.tl-logo figcaption{margin-top:.4rem;font-size:.875rem;color:var(--n-600)}
.timeline{list-style:none;margin:0;padding:0;position:relative;display:grid;gap:0}
.timeline::before{content:"";position:absolute;left:7px;top:.6rem;bottom:.6rem;width:2px;background:var(--n-200)}
.timeline li{position:relative;padding:0 0 1.6rem 2.25rem}
.timeline li::before{content:"";position:absolute;left:0;top:.35rem;width:16px;height:16px;border-radius:50%;
  background:var(--n-0);border:3px solid var(--blue-600)}
.tl-period{margin:0 0 .2rem;font-family:"Barlow Condensed","Barlow Condensed Fallback",sans-serif;font-weight:700;font-size:1.05rem;color:var(--blue-600)}
.timeline h3{font-size:1.15rem;color:var(--blue-900);margin:0 0 .3rem}
.timeline li > p:not(.tl-period){margin:0;color:var(--n-700);max-width:68ch}
@media(min-width:760px){
  .timeline::before{left:calc(9rem + 7px)}
  .timeline li{display:grid;grid-template-columns:9rem minmax(0,1fr);column-gap:2.25rem;padding-left:0}
  .timeline li::before{left:9rem}
  .timeline li > *{grid-column:2}
  .timeline .tl-period{grid-column:1;grid-row:1 / span 2;text-align:right;padding-right:1rem}
}
.tl-note{margin:.5rem 0 0;font-size:.875rem;color:var(--n-600)}

/* About: website history gallery (whole screenshots, 3:2 white stage) */
.gallery{display:grid;gap:24px}
@media(min-width:760px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
.gal-item{margin:0;min-width:0}
.gal-stage{display:block;aspect-ratio:3/2;background:var(--n-0);border:1px solid var(--n-200);border-radius:12px;overflow:hidden;padding:.5rem}
.gal-stage img{width:100%;height:100%;object-fit:contain}
.gal-item figcaption{margin-top:.6rem;font-size:.875rem;line-height:1.5;color:var(--n-700)}
.gal-item figcaption a{color:var(--blue-700);font-weight:600;white-space:nowrap}

/* About: trademark cards, closed by default, each opens on its own */
.tm-grid{display:grid;gap:24px;align-items:start}
@media(min-width:640px){.tm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:960px){.tm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.tm-card{border:1px solid var(--n-200);border-radius:12px;background:var(--n-0)}
.tm-card summary{cursor:pointer;list-style:none;padding:1.1rem 3rem 1.1rem 1.25rem;position:relative;display:grid;gap:.2rem;min-height:48px}
.tm-card summary::-webkit-details-marker{display:none}
.tm-card summary::after{content:"+";position:absolute;right:1.25rem;top:1.1rem;font-size:1.4rem;line-height:1;color:var(--blue-600)}
.tm-card[open] summary::after{content:"\2212"}
.tm-card summary:focus-visible{outline:2px solid var(--blue-600);outline-offset:2px;border-radius:12px}
.tm-market{font-family:Barlow,"Barlow Fallback",system-ui,sans-serif;font-weight:700;font-size:1.15rem;color:var(--blue-900)}
.tm-marks{color:var(--n-700)}
.tm-year{font-size:.875rem;color:var(--n-600)}
.tm-body{padding:0 1.25rem 1.1rem;color:var(--n-700)}
.tm-body p{margin:0 0 .5rem}
.tm-label{font-weight:600;color:var(--n-900)}
.tm-links{display:flex;gap:1rem;flex-wrap:wrap}
.tm-links a{color:var(--blue-700);font-weight:600;min-height:44px;display:inline-flex;align-items:center}

/* navy call-to-action panel: text left, button right (stacked on phones) */
.panel{background:var(--blue-900);color:var(--text-on-dark);border-radius:12px;padding:clamp(1.5rem,4vw,2.5rem);
  display:grid;gap:1.25rem;align-items:center}
@media(min-width:760px){.panel{grid-template-columns:minmax(0,1fr) auto;gap:2rem}}
.panel h2{font-size:clamp(1.4rem,3vw,2rem);color:var(--text-on-dark);margin:0 0 .5rem}
.panel p{margin:0;color:#d5e5f5;max-width:62ch}
@media(max-width:759.98px){.panel .btn{width:100%}}
.related{list-style:none;margin:1.25rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem 1.5rem}
.related a{color:var(--blue-700);font-weight:600;min-height:48px;display:inline-flex;align-items:center}

/* footer beside an open chat panel: public/js/main.js sets --chat-inset and
   data-chat-gutter="right|left" while the panel is open on a wide screen.
   The content steps in by that much and the columns wrap to the width left
   (a container query, since the viewport width no longer says how much room
   the footer has). */
footer .wrap{container-type:inline-size}
footer[data-chat-gutter="right"] .wrap{padding-right:calc(var(--pad) + var(--chat-inset,0px))}
footer[data-chat-gutter="left"] .wrap{padding-left:calc(var(--pad) + var(--chat-inset,0px))}
@container (max-width:879.98px){footer[data-chat-gutter] .fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:479.98px){footer[data-chat-gutter] .fgrid{grid-template-columns:minmax(0,1fr)}}
/* The closed chat button's iframe is a 100x100 box in the bottom-right corner
   that takes clicks even where it is transparent; room under the last row
   keeps the legal and language links clear of it at the bottom of the page
   (8px more than its height, so sub-pixel rounding never lets them touch). */
body[data-chat-message] footer{padding-bottom:108px}

/* footer: the two route links under the service links */
.froutes{margin-top:.75rem!important;padding-top:.75rem!important;border-top:1px solid var(--n-200)}

/* ---- 2026-10-02 remaining fixes: paragraph breaks and inline links ---- */
.lead + .lead{margin-top:-.75rem}
.sec-head p + p{margin-top:.75rem}
.prose a,.lead a,.sec-head p a{color:var(--blue-700);text-decoration:underline;text-underline-offset:2px}
.prose a:hover,.lead a:hover,.sec-head p a:hover{color:var(--blue-900)}
.apps p:not(.prose) + p:not(.prose){margin-top:.75rem}
.apps p:not(.prose) a{color:var(--blue-700);text-decoration:underline;text-underline-offset:2px}

/* Colours from Admin > Colours */
:root{--blue-600:#0055D6;--blue-700:#0047B3;--blue-800:#003D99;--blue-900:#002B6B;--blue-400:#3D8BFF;--blue-50:#F0F6FF;--accent:#00B2FF;--n-900:#1A1A1A;--n-700:#334155;--n-600:#003D99;--n-500:#5B6B80;--n-0:#FFFFFF;--n-50:#F8FAFC;--n-100:#EAF3FF;--topbar-text:#CFE3F5;--text-on-dark:#FFFFFF;--n-200:#E2E8F0;--n-300:#CBD5E1;--n-400:#748298;--green:#047857;--green-bg:#D1FAE5;--amber:#92400E;--amber-bg:#FEF3C7;}
