/* ==========================================================================
   INSTACAN — instacan.ca
   Plain HTML / CSS / JS. No build step, no framework, no dependencies.

   Light theme. The crest is black and gold, but the page is warm white: gold
   appears as text accents, hairlines and the real 3D icons, never as a slab.

   Contents
   --------
   01  Tokens
   02  Reset & base
   03  Layout
   04  Type
   05  Buttons & links
   06  Header
   07  Hero
   08  Trust
   09  Services
   10  Process
   11  Reviews
   12  Featured In (marquee, under the hero)
   13  Office
   14  Instagram
   15  Contact
   16  Footer
   17  Motion
   18  Responsive
   ========================================================================== */


/* ==========================================================================
   01  TOKENS
   ========================================================================== */

:root {
  /* ---------- Ground ---------- */
  --bg:        #FFFFFF;   /* the page — plain white                        */
  --cream:     #F7F6F3;   /* panels and alternating sections, barely warm  */
  --cream-2:   #EFEDE7;   /* one step down, for insets                     */
  --white:     #FFFFFF;

  /* ---------- Ink ---------- */
  --ink:       #1B1712;   /* headings, the dark pill, the crest black      */
  --ink-2:     #2A241C;
  --body:      #554E44;   /* running text                                  */
  --muted:     #857B6D;   /* captions, meta                                */

  /* ---------- Gold ----------
     Two golds, and they are not interchangeable. --gold-ink is the only one
     that may carry text on a light ground (4.6:1 on --bg). --gold is for
     graphics: hairlines, stars, arcs, the ring on a dark pill. */
  --gold-ink:  #8A6414;
  --gold:      #C09227;
  --gold-lift: #E0B84A;
  --gold-wash: #FAF4E6;
  --gold-line: rgba(192, 146, 39, .30);


  /* ---------- Lines ---------- */
  --line:      rgba(27, 23, 18, .11);
  --line-2:    rgba(27, 23, 18, .18);
  --line-dark: rgba(255, 255, 255, .16);

  /* ---------- Type ----------
     Crimson Pro sets every heading and the gold italic accent words.
     Poppins does all running text and UI. */
  --display: 'Crimson Pro', 'Iowan Old Style', Georgia, serif;
  --body-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-label: .6875rem;
  --fs-xs:    .8125rem;
  --fs-sm:    .875rem;
  --fs-base:  .9688rem;
  --fs-md:    1rem;
  --fs-lg:    clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-xl:    clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --fs-2xl:   clamp(1.875rem, 1.5rem + 1.6vw, 2.6rem);
  --fs-3xl:   clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  --fs-4xl:   clamp(2.05rem, 1.35rem + 2.5vw, 3.4rem);

  /* ---------- Space ----------
     Sampled from the four templates: Brainora runs 130px section padding,
     Ignatius 56-96px with a 56px gap under every section heading. This scale
     sits at the generous end of that, which is what reads as "clean". */
  --sec-y:    clamp(5rem, 3.2rem + 6vw, 8.5rem);
  --head-gap: clamp(2.5rem, 1.6rem + 2.6vw, 3.5rem);
  --bar-h: 86px;    /* 66px crest + 10px block padding                */
  --page-pad: 15px;
  --container: 1440px;

  /* ---------- Radius ----------
     One corner for every surface on the site: panel, card, photograph,
     section. The homepage hero panel set it, everything else follows, and
     --r-lg / --r-xl are kept as aliases so the rules that already name them
     do not all have to be rewritten to stay in step.
     --r-sm is the only exception, for chrome smaller than about 48px — an
     input or a 22px icon tile with a 14px corner reads as a blob.
     Buttons and chips keep --r-pill. */
  --r-sm: 8px; --r-md: 14px; --r-lg: 14px; --r-xl: 14px; --r-pill: 999px;

  /* The air between the fixed bar and the first thing under it. Every page's
     first section uses this, so the homepage, the About page and an article
     all start at exactly the same height. */
  --top-gap: clamp(12px, 1.4vw, 20px);

  /* ---------- Shadow — warm, never grey ---------- */
  --sh-sm: 0 1px 2px rgba(27,23,18,.04), 0 4px 14px rgba(27,23,18,.05);
  --sh-md: 0 2px 6px rgba(27,23,18,.05), 0 14px 34px rgba(27,23,18,.07);
  --sh-lg: 0 6px 14px rgba(27,23,18,.06), 0 30px 66px rgba(27,23,18,.10);

  /* ---------- Motion ---------- */
  --ease:  cubic-bezier(.22,.61,.36,1);
  --out:   cubic-bezier(.16,1,.3,1);
  --t1: .18s; --t2: .34s; --t3: .6s;
}


/* ==========================================================================
   02  RESET & BASE
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* so a jump link does not park the heading behind the fixed bar */
  scroll-padding-top: calc(var(--bar-h) + 1.5rem);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--body-font);
  font-size: var(--fs-base);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6,p,figure,blockquote { margin: 0; }
ul,ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; margin: 0; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-lift); color: var(--ink); }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; top: -100%; left: 20px; z-index: 300;
  background: var(--ink); color: #fff; padding: .8rem 1.3rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-size: var(--fs-sm); font-weight: 500;
}
.skip:focus { top: 0; }


/* ==========================================================================
   03  LAYOUT
   ========================================================================== */

.wrap {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--page-pad);
}
/* The reading column. The page head and the full-bleed bands run the whole
   1440; everything you actually read on an inner page — the copy and its
   callback card, the solution list, the college list, the contact tiles —
   sits in this one narrower, centred column so the page has a single spine
   instead of each section finding its own left edge. */
.wrap--narrow { max-width: 1120px; }
.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: calc(var(--sec-y) * .62); }
.section--cream { background: var(--cream); }
/* For a section whose neighbour below is the same colour: one section's worth
   of air between them is plenty, two reads as a gap someone forgot to fill. */
.section--flush-b { padding-bottom: 0; }
.section--flush-t { padding-top: 0; }
.section--wash  { background: var(--gold-wash); }

/* Section heading block. No dash, no rule — just the label and the title. */
.eyebrow {
  display: block;
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: .9rem;
}
.sec-head { max-width: 760px; }
.sec-head + * { margin-top: var(--head-gap); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-title {
  font-family: var(--display); font-weight: 400;
  font-size: var(--fs-3xl); line-height: 1.14; letter-spacing: -.015em;
  color: var(--ink); text-wrap: balance;
}
.sec-title .italic { font-style: italic; color: var(--gold-ink); }
.sec-lede { margin-top: .9rem; font-size: var(--fs-md); color: var(--muted); max-width: 56ch; }
.sec-head--center .sec-lede { margin-inline: auto; }


/* ==========================================================================
   03b  PAGE HEAD — every page below the homepage
   One cream panel under the bar carrying the breadcrumb, the title and the
   standfirst. The blog article established it, the About page copied it, and
   every service page uses it, so it belongs here rather than in one page's
   stylesheet — that is how the About page ended up with an unstyled
   breadcrumb, because .crumbs was defined only in blog.css.
   ========================================================================== */

.crumbs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem;
  font-size: var(--fs-label); font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin-bottom: 1.1rem;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-ink); }
.crumbs [aria-current] { color: var(--ink); }

/* --top-gap above the panel and the same below it. Without the bottom half
   the panel's last pixel is also the section's last pixel, so whatever comes
   next starts flush against it — and when that next section is also cream,
   the two merge into one block of colour with the panel's 14px corners
   notched out of it. Same token top and bottom, so the panel sits in the
   page the way the homepage hero does. */
.phead { padding-block: calc(var(--bar-h) + var(--top-gap)) var(--top-gap); }

.phead__panel {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.25rem, 3.5vw, 3.5rem);
  text-align: center;
}
/* The panel is wide; the words inside it are not. */
.phead__inner { max-width: 800px; margin-inline: auto; }

.phead__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.1;
  letter-spacing: -.025em; color: var(--ink); text-wrap: balance;
}
.phead__lede {
  margin: 1.1rem auto 0; max-width: 52ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6;
  color: var(--muted);
}
.phead__cta {
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
}

/* Inside the panel, inset from its edges — the panel frames the photograph. */
.phead__media {
  margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
  border-radius: var(--r-md);
  overflow: hidden; background: var(--cream-2);
  aspect-ratio: 16 / 8;
}
.phead__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 640px) {
  .phead__media { aspect-ratio: 4 / 3; }
}


/* ==========================================================================
   04  TYPE
   ========================================================================== */

.italic { font-style: italic; color: var(--gold-ink); }

.stars { display: inline-flex; align-items: center; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: var(--gold); }
.stars--lg { gap: 4px; }
.stars--lg svg { width: clamp(22px, 2.4vw, 28px); height: clamp(22px, 2.4vw, 28px); }


/* ==========================================================================
   05  BUTTONS & LINKS
   No ring, no chevron. A capsule with 14px block padding and a clean arrow
   that slides on hover.
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  font-family: var(--body-font);
  font-size: var(--fs-sm); font-weight: 500;
  text-transform: uppercase; letter-spacing: .07em; line-height: 1.1;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background-color var(--t2) var(--ease), color var(--t2) var(--ease),
              transform var(--t1) var(--ease), box-shadow var(--t2) var(--ease),
              border-color var(--t2) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn__ico { width: 1.05em; height: 1.05em; flex: none; transition: transform var(--t2) var(--ease); }
.btn:hover .btn__ico { transform: translateX(4px); }
/* A leading icon (a platform mark, say) sits still and fills rather than slides. */
.btn__ico--lead { order: -1; fill: currentColor; width: 1.15em; height: 1.15em; }
.btn:hover .btn__ico--lead { transform: none; }

.btn--sm { font-size: var(--fs-xs); padding: 14px 22px; gap: .65rem; }
.btn--lg { font-size: var(--fs-md); padding: 14px 32px; }
/* Fills its container, label and arrow centred together. */
.btn--full { width: 100%; }

.btn--ink   { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); box-shadow: var(--sh-md); }

.btn--gold  { background: var(--gold-ink); color: #fff; }
.btn--gold:hover { background: #6F5010; box-shadow: var(--sh-md); }

.btn--line  { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--line:hover { border-color: var(--gold); color: var(--gold-ink); }

.btn--white { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.btn--white:hover { box-shadow: var(--sh-md); }

/* Text link with the circled arrow */
.link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink);
}
.link__ring {
  width: 30px; height: 30px; flex: none;
  border: 1px solid var(--line-2); border-radius: 50%;
  display: grid; place-items: center;
  transition: background-color var(--t2) var(--ease), border-color var(--t2) var(--ease),
              transform var(--t2) var(--ease);
}
.link__ring svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.link:hover { color: var(--gold-ink); }
.link:hover .link__ring {
  background: var(--gold-ink); border-color: var(--gold-ink); color: #fff;
  transform: rotate(45deg);
}


/* ==========================================================================
   06  HEADER
   A solid bar carrying the page's own background, with no tint and no rule
   under it, so it reads as part of the page rather than a band sitting on it.
   Fixed, so every first section pads down by --bar-h to clear it.

   This is the header for the whole site: the homepage, the blog and the admin
   panel all draw from here. (The earlier floating capsule was retired when
   version 2 of the homepage became the homepage.)
   ========================================================================== */

/* No tint and no rule: the bar carries the page's own background so it reads
   as part of the hero rather than a band sitting on top of it. It stays
   opaque (not transparent) so sections do not show through once you scroll,
   and main.js adds .is-pinned past 420px to separate it with a soft shadow. */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 120;
  background: var(--bg);
  transition: box-shadow var(--t2) var(--ease);
}
.bar__inner {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding: 10px var(--page-pad);
  min-height: var(--bar-h);
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem);
}

.bar__brand { flex: none; display: block; }
.bar__brand img { width: auto; height: 66px; object-fit: contain; }

/* The primary nav is shared with index.html; only its placement changes. */
.bar .nav { margin-inline: auto; }

.bar__right { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }
.bar__call { font-size: var(--fs-sm); color: var(--muted); white-space: nowrap; }
.bar__call a { color: var(--ink); font-weight: 500; }
.bar__call a:hover { color: var(--gold-ink); }


/* One button, two labels — CSS cannot shorten text, so both are in the markup
   and only one is ever displayed. The short one is aria-hidden so a screen
   reader always reads "Book Appointment". */
.bar__book-short { display: none; }

/* The bar is opaque already, so it needs no scrolled state. */
.bar.is-pinned { box-shadow: var(--sh-sm); }



/* --------------------------------------------------------------------------
   The bar as it narrows.

   The nav collapses into the drawer at 980, but the way to get in touch never
   collapses with it: on every width there is a booking button, a way to call,
   or both, sitting next to the burger. Losing the CTA is what a hamburger
   menu is usually guilty of, and on a phone it is the one thing a visitor to
   an immigration consultancy is most likely to want.
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {  .bar .nav { display: none; }
  .bar__right { margin-left: auto; gap: .6rem; }
  .bar .burger { display: flex; flex-direction: column; }
}

/* The written number goes, a round call button takes its place. */
@media (max-width: 760px) {  .bar__call { display: none; }
}

@media (max-width: 640px) {  :root { --bar-h: 66px; }
  .bar__brand img { height: 52px; }
}

/* Narrowest: the button keeps its shape but drops to the short label, so the
   logo, call, book and burger all still fit on one line at 320px.
   This block sits after the 640 one on purpose — same specificity, so source
   order is what decides which logo height wins below 560. */
@media (max-width: 560px) {
  .bar__brand img { height: 46px; }
  .bar__right { gap: .45rem; }
  .bar__book-long { display: none; }
  .bar__book-short { display: inline; }
  .bar__book { padding-inline: 14px; }
}



/* --------------------------------------------------------------------------
   The navigation, its dropdown, the burger and the mobile drawer.
   Carried over unchanged when the floating capsule was retired: only the shell
   around the menu changed, not the menu itself.
   -------------------------------------------------------------------------- */

@keyframes drop { from { transform: translateY(-130%); } to { transform: none; } }

/* Brand — the crest, larger, and the wordmark. No tagline. */
/* The crest carries the name already, so the lockup is the mark alone. */
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand__crest { width: 72px; height: 72px; flex: none; border-radius: 50%; }

/* Nav, with one dropdown for Immigration */
.nav { display: flex; align-items: center; gap: 22px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  position: relative; padding-block: 6px;
  font-size: var(--fs-sm); color: var(--body);
  transition: color var(--t1) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t2) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
/* Set on "Immigration" when the open page is one of the pages inside its
   dropdown — the page's own link carries aria-current, but it is hidden until
   the menu opens, so without this the bar shows nothing as active. */
.nav__link[data-branch="current"]::after { transform: scaleX(1); }
.nav__link[data-branch="current"] { color: var(--ink); }
/* The current page is marked by the gold underline alone. Changing the
   weight as well shifts the item's width and nudges the whole nav. */
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__caret { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform var(--t2) var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: 100%; left: -18px; z-index: 20;
  min-width: 268px; margin-top: 14px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease), visibility var(--t2);
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a {
  display: block; padding: 9px 14px; border-radius: var(--r-sm);
  font-size: var(--fs-sm); color: var(--body);
  transition: background-color var(--t1) var(--ease), color var(--t1) var(--ease);
}
.nav__menu a:hover { background: var(--gold-wash); color: var(--gold-ink); }

.burger {
  display: none; width: 50px; height: 50px; flex: none;
  border-radius: 50%; background: var(--ink);
  align-items: center; justify-content: center;
}
.burger i {
  display: block; width: 18px; height: 1.5px; background: #fff; border-radius: 2px;
  transition: transform var(--t2) var(--ease), opacity var(--t1) var(--ease);
}
.burger i + i { margin-top: 4px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 98;
  background: var(--bg);
  padding: 110px var(--page-pad) 3rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity var(--t2) var(--ease), visibility var(--t2);
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer a {
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 1.5rem; color: var(--ink);
}
.drawer .sub a { font-family: var(--body-font); font-size: var(--fs-base); padding-left: 18px; color: var(--body); }


/* ==========================================================================
   07  HERO
   Two panels, 16px apart. Left: a cream card with a designed warm ground.
   Right: the Toronto video.
   ========================================================================== */

/* The capsule is 15px down and ~88px tall; this leaves a clear band of
   page between it and the panels rather than tucking them underneath. */
.hero { padding: 152px var(--page-pad) 0; }
.hero__grid {
  max-width: var(--container); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch;
}

/* --- left panel --- */
.hero__panel {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-lg);
  padding: clamp(2.25rem, 4.6vw, 76px) clamp(1.6rem, 4.2vw, 72px);
  min-height: 600px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(2rem, 5vw, 3.5rem);
}
/* Warm ground: a gold bloom low-right, a second cooler one top-left, and a
   fine diagonal weave — all faint enough to read as paper texture. */
.hero__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 60% at 88% 108%, rgba(224,184,74,.42), transparent 62%),
    radial-gradient(ellipse 60% 50% at -8% -6%, rgba(255,255,255,.95), transparent 60%),
    linear-gradient(158deg, #FBF7EF 0%, var(--cream) 48%, #EFE7D8 100%);
}
.hero__panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    repeating-linear-gradient(58deg, rgba(138,100,20,.045) 0 1px, transparent 1px 9px);
  mask-image: radial-gradient(ellipse 90% 80% at 70% 90%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 90%, #000, transparent 76%);
}
/* The crest, very large and very faint, anchored bottom-right. */
.hero__watermark {
  position: absolute; z-index: -1; right: -12%; bottom: -18%;
  width: 62%; max-width: 420px; opacity: .06; pointer-events: none;
  filter: grayscale(1) contrast(1.4);
}

.hero__title {
  font-family: var(--display); font-weight: 400;
  font-size: var(--fs-4xl); line-height: 1.14; letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: pretty;
}
/* "for" and the changing word wrap as one unit. A non-breaking space alone
   is not enough: a break opportunity still exists between the space and an
   adjacent inline-block, so the nowrap wrapper is what actually holds them
   on the same line. */
.hero__tail { white-space: nowrap; }
/* The rotating word sits inline, right after "for". Its box animates to the
   width of whichever word is showing, so the line never jumps. */
.rotator {
  display: inline-block; position: relative; vertical-align: bottom;
  height: 1.12em; width: 0;
  transition: width .55s var(--out);
}
.rotator__item {
  position: absolute; left: 0; top: 0; width: max-content;
  font-style: italic; color: var(--gold-ink); white-space: nowrap;
  opacity: 0; transform: translateY(42%);
  transition: opacity .26s var(--ease), transform .55s var(--out);
}
.rotator__item.is-on {
  opacity: 1; transform: none;
  transition: opacity .45s var(--out) .1s, transform .6s var(--out);
}
.rotator__item.is-out { opacity: 0; transform: translateY(-40%); }
@supports (clip-path: inset(0)) { .rotator { clip-path: inset(-.08em -60% -.08em -.06em); } }
html:not(.js) .rotator { width: auto; height: auto; }
html:not(.js) .rotator__item { position: static; opacity: 1; transform: none; }
html:not(.js) .rotator__item + .rotator__item { display: none; }

.hero__lede { margin-top: 1.1rem; font-size: var(--fs-md); color: var(--body); max-width: 42ch; }
.hero__actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__stat { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__stat .stars svg { width: 18px; height: 18px; }
.hero__stat b {
  font-family: var(--display); font-weight: 400;
  font-size: 30px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink);
}
.hero__stat span { font-size: var(--fs-sm); color: var(--muted); }
.hero__rule { width: 1px; height: 26px; background: var(--line-2); }

/* --- right panel: the video --- */
.hero__media {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 600px;
  background: var(--cream-2);
}
.hero__media video,
.hero__media > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(184deg, rgba(27,23,18,0) 52%, rgba(27,23,18,.42));
  border-radius: inherit;
}
.hero__chip {
  position: absolute; z-index: 2; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--ink); font-size: var(--fs-sm); font-weight: 500;
  box-shadow: var(--sh-sm);
}
.hero__chip-ico {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: var(--gold-ink); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Mute/pause control, so the video is never forced on anyone */
.hero__vbtn { /* kept for when the real video replaces the still */
  position: absolute; z-index: 2; right: 18px; bottom: 18px;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-sm);
  transition: transform var(--t2) var(--ease);
}
.hero__vbtn:hover { transform: scale(1.08); }
.hero__vbtn svg { width: 15px; height: 15px; fill: var(--ink); }
.hero__vbtn .ico-play { display: none; }
.hero__vbtn.is-paused .ico-play { display: block; }
.hero__vbtn.is-paused .ico-pause { display: none; }


/* ==========================================================================
   08  TRUST
   Their own gold 3D icons, three columns, hairlines instead of boxes.
   ========================================================================== */

.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.trust__item { padding: clamp(2rem,3.6vw,3.25rem) clamp(1rem,2.4vw,2.5rem); text-align: center; position: relative; }
.trust__item + .trust__item::before {
  content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-line) 28%, var(--gold-line) 72%, transparent);
}
.trust__ico {
  width: 88px; height: 88px; margin: 0 auto 1.6rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-wash); border: 1px solid var(--gold-line);
  transition: transform var(--t3) var(--out), box-shadow var(--t3) var(--out);
}
.trust__ico svg {
  width: 38px; height: 38px;
  fill: none; stroke: var(--gold-ink); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
/* Instacan's own gold 3-D icons go in bare — no wash, no ring, no circle.
   Those were there to give a flat line-drawing something to sit on; these
   already carry their own modelling and drop shadow, and gold-on-gold inside
   a ring just muddies both. The well keeps its size so the row does not
   reflow, and the lift on hover still works. */
.trust__ico:has(img) { background: none; border: 0; }
.trust__ico img { width: 84px; height: 84px; object-fit: contain; }
.trust__item:hover .trust__ico { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(192,146,39,.20); }
.trust__item:hover .trust__ico:has(img) { box-shadow: none; }
.trust__title { margin-bottom: .6rem;
  
  font-family: var(--display); font-weight: 400;
  font-size: var(--fs-lg); line-height: 1.2; letter-spacing: -.02em; color: var(--ink);
  margin-bottom: .5rem;
}
.trust__copy { font-size: var(--fs-sm); color: var(--muted); max-width: 34ch; margin-inline: auto; }


/* ==========================================================================
   09  SERVICES
   ========================================================================== */

/* Four equal cards. The icon sits top-left, the "Learn More" row is pushed
   to the bottom edge so every card's footer lines up however long the copy. */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.875rem, 1.4vw, 1.25rem); }
.svc {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 2vw, 2rem);
  color: inherit;
  transition: transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease), border-color var(--t2) var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--gold-line); }
.svc__ico {
  width: 60px; height: 60px;
  display: grid; place-items: center; border-radius: var(--r-sm);
  background: var(--gold-wash); border: 1px solid var(--gold-line);
  margin-bottom: 1.5rem;
  transition: background-color var(--t2) var(--ease);
}
.svc__ico svg {
  width: 28px; height: 28px;
  fill: none; stroke: var(--gold-ink); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
/* As above: the real icons need no well behind them. Slightly larger than the
   28px the line version used, because a 3-D render needs the room to read. */
.svc__ico:has(img) { background: none; border: 0; width: 64px; height: 64px; }
.svc__ico img { width: 64px; height: 64px; object-fit: contain; }
.svc:hover .svc__ico { background: #F5EAD0; }
.svc:hover .svc__ico:has(img) { background: none; }
.svc__title {
  font-family: var(--display); font-weight: 400;
  font-size: var(--fs-lg); line-height: 1.22; letter-spacing: -.02em; color: var(--ink);
  margin-bottom: .55rem;
}
.svc__copy { font-size: var(--fs-sm); color: var(--muted); }
.svc__more {
  margin-top: auto; padding-top: 1.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: var(--fs-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .07em; color: var(--ink);
}
.svc__ring {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color var(--t2) var(--ease), border-color var(--t2) var(--ease), transform var(--t2) var(--ease);
}
.svc__ring svg { width: 15px; height: 15px; }
/* #i-arrow strokes with currentColor, so the ring's own colour is what
   recolours the arrow — setting `stroke` on the <svg> would do nothing. */
.svc:hover .svc__ring { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateX(3px); }


/* ==========================================================================
   10  PROCESS
   NextLeep's sticky layout: a tall scroll track with a pinned row inside it.
   The photograph on the left cross-fades between three as you pass through;
   the right column holds the badge, the heading and three ruled steps.
   ========================================================================== */

.process { background: var(--bg); }
/* Three steps, one viewport of scroll each — this is the travel the
   pinned row reads to decide which photograph is showing. */
.process__vh { position: relative; min-height: 300svh; }
.process__sticky { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; }
.process__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px; align-items: center; width: 100%;
  padding-block: clamp(3rem, 7vw, 7rem);
}

.process__media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3.4; background: var(--cream-2);
  box-shadow: var(--sh-md);
}
.process__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.process__img.is-on { opacity: 1; transform: none; }
html:not(.js) .process__img { opacity: 1; }
html:not(.js) .process__img + .process__img { display: none; }

.process__text { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 5rem); }

/* the pill badge, in place of the plain eyebrow */
.badge {
  display: inline-block;
  background: var(--cream); border-radius: var(--r-pill);
  padding: 10px 16px;
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 1.1rem;
}

.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pstep {
  display: flex; flex-direction: column; gap: clamp(1.6rem, 3vw, 2.6rem);
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.pstep:last-child { border-right: 0; padding-right: 0; }
.pstep__num {
  width: 56px; height: 56px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); border: 1px solid var(--gold-line);
  font-family: var(--display); font-size: 1.4rem; color: var(--gold-ink);
  transition: background-color var(--t2) var(--ease), color var(--t2) var(--ease),
              border-color var(--t2) var(--ease), transform var(--t2) var(--ease);
}
.pstep.is-on .pstep__num {
  background: var(--ink); border-color: var(--ink); color: var(--gold-lift);
  transform: scale(1.05);
}
.pstep__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.2; letter-spacing: -.02em;
  color: var(--ink);
}


/* ==========================================================================
   11  REVIEWS
   Guidr X's layout: a wide slider card carrying one review at a time, and a
   narrower card beside it holding the rating, a photograph and the CTA.
   ========================================================================== */

.reviews { background: var(--cream); }
.rev__head { margin-bottom: clamp(2rem, 3.6vw, 2.6rem); }

/* the dot label */
.dot-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: .5rem; }
.dot-label i { width: 7px; height: 7px; border-radius: 100px; background: var(--gold); flex: none; }
.dot-label span {
  font-size: var(--fs-sm); color: var(--gold-ink); font-weight: 500;
}

.rev__block { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }

/* --- the slider --- */
.rev__slider {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  display: flex; flex-direction: column;
  min-height: 420px;
  /* A grid item's automatic minimum size is its content's min-content width,
     and the track inside is a flex row of slides that are each min-width:100%.
     Left to itself that floor came out at 419px, so on a 390px phone the whole
     page scrolled sideways. The slides size themselves off the viewport, so
     the slider has no reason to refuse to shrink. */
  min-width: 0;
}
/* The viewport clips; the track is a row of full-width slides that translates
   by whole slides, so a review physically slides in from the side. Vertical
   padding on the viewport keeps focus rings from being clipped. */
.rev__viewport { flex: 1; overflow: hidden; }
.rev__track {
  display: flex; height: 100%;
  transform: translateX(0);
  transition: transform .62s var(--out);
}
.rev__slide {
  flex: 0 0 100%; min-width: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: .25; transition: opacity .45s var(--ease);
}
.rev__slide.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rev__track { transition: none; } }
html:not(.js) .rev__viewport { overflow: visible; }
html:not(.js) .rev__track { display: block; }
html:not(.js) .rev__slide { min-width: 0; opacity: 1; }
html:not(.js) .rev__slide + .rev__slide { display: none; }

.rev__quote {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.42; letter-spacing: -.01em;
  color: var(--ink);
}
.rev__foot { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; }
.rev__avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; }
.rev__name { display: block; font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.rev__meta { display: block; font-size: var(--fs-xs); color: var(--muted); }
.rev__foot .stars { margin-top: 4px; }

.rev__arrows { position: absolute; right: clamp(1.6rem, 3vw, 2.5rem); bottom: clamp(1.6rem, 3vw, 2.5rem); display: flex; gap: 8px; }
.rev__arrows button {
  width: 40px; height: 40px; border-radius: 100px;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  transition: background-color var(--t2) var(--ease), border-color var(--t2) var(--ease), color var(--t2) var(--ease);
}
.rev__arrows svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.rev__arrows button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
html:not(.js) .rev__arrows { display: none; }

/* --- the side card --- */
.rev__side {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px; display: flex; flex-direction: column; gap: 18px;
}
.rev__side h3 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.24; letter-spacing: -.02em; color: var(--ink);
}
/* The card is as tall as the slider beside it, and there is more of it than
   the heading and the photograph need. margin-top:auto puts all of that slack
   between them — title at the top, picture on the floor of the card — instead
   of leaving it in a lump underneath the photograph. */
.rev__side-img {
  border-radius: var(--r-sm); overflow: hidden; flex: none;
  aspect-ratio: 4 / 3; max-height: 240px; background: var(--cream-2);
  margin-top: auto;
}
.rev__side-img img { width: 100%; height: 100%; object-fit: cover; }


/* ==========================================================================
   12  FEATURED IN
   A quiet endless marquee sitting directly beneath the hero. Two identical
   lanes slide left together; when the first has travelled its own width the
   animation restarts, and the second is exactly where the first began — so
   the loop has no seam. Set as type rather than logos: swap a .press__name
   for an <img class="press__logo"> when the mastheads are licensed.
   ========================================================================== */

.press {
  max-width: var(--container); margin-inline: auto;
  padding: clamp(2.25rem, 3.2vw, 3rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(2.5rem, 4vw, 3.75rem);
}
.press__label {
  text-align: center; margin-bottom: 1.5rem;
  font-size: var(--fs-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .18em; color: var(--muted);
}
.press__viewport {
  display: flex; overflow: hidden; user-select: none;
  /* fade the two ends so names enter and leave instead of being cut off */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.press__lane {
  display: flex; align-items: center; flex: none; gap: clamp(2.75rem, 5vw, 4.5rem);
  padding-right: clamp(2.75rem, 5vw, 4.5rem);
  animation: press-slide 42s linear infinite;
}
.press__viewport:hover .press__lane { animation-play-state: paused; }
.press__name {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem);
  line-height: 1; letter-spacing: -.01em; white-space: nowrap;
  color: var(--muted); opacity: .8;
  transition: opacity var(--t2) var(--ease);
}
.press__name:hover { opacity: 1; color: var(--ink); }
.press__logo { max-height: 30px; width: auto; opacity: .48; filter: grayscale(1); }

@keyframes press-slide { to { transform: translateX(-100%); } }


/* ==========================================================================
   13  OFFICE
   ========================================================================== */

/* --- HEAD OFFICE -----------------------------------------------------------
   The building across the full width, the two words over it, and a label set
   vertically down each margin. The photograph is the section; the address sits
   under it rather than beside it.
   --------------------------------------------------------------------------*/
.hoff {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch; gap: clamp(.5rem, 1.4vw, 1.1rem);
  padding: clamp(1.5rem, 3vw, 2.75rem) var(--page-pad) clamp(2rem, 4vw, 3.25rem);
}
.hoff__frame { position: relative; margin: 0; overflow: hidden; background: var(--cream-2); }
/* The picture is cut taller than the frame and slid up and down inside it as
   the band crosses the screen, so the building drifts against the page. The
   extra 30% is the room it has to move through; --sy is set by js/main.js and
   runs -1 at the bottom of the screen to +1 at the top, 0 in the middle. */
.hoff__frame img {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  height: 130%; position: absolute; inset: 0;
  transform: translate3d(0, calc(var(--sy, 0) * -11%), 0);
  will-change: transform;
}
/* The frame has no height of its own once the picture is absolute, so a
   spacer of the same ratio holds the space open. */
.hoff__frame::before { content: ""; display: block; aspect-ratio: 16 / 10; }

/* Rotated a quarter turn and read bottom-to-top, as in the reference. */
.hoff__side {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
  letter-spacing: .01em; white-space: nowrap;
  align-self: end; padding-block: .25rem;
}
/* Both labels sit on the baseline of the photograph. Aligned to the start it
   ran off the top of the frame, because the rotation makes the box grow
   upwards from wherever it is anchored. */
.hoff__side--end { font-weight: 400; color: var(--body); align-self: end; }

/* Outline only: a transparent fill with a stroke, so the building shows
   through the letterforms. -webkit-text-stroke is the one property that does
   this and every current browser supports it under that name. */
.hoff__word {
  position: absolute; inset: 0; z-index: 2; margin: 0;
  display: flex; flex-direction: column; justify-content: center;
  font-family: var(--body-font); font-weight: 500;
  font-size: clamp(3.2rem, 15.5vw, 15rem); line-height: .82;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: clamp(1px, .16vw, 2.5px) rgba(255, 255, 255, .92);
  padding-inline: clamp(.5rem, 2.5vw, 2.5rem);
  pointer-events: none;
}
.hoff__word span { display: block; }
.hoff__word span:last-child { text-align: center; }

/* The words travel the other way to the building. One layer drifting on its
   own is easy to miss; two moving against each other is not, and it is the
   separation that reads as depth. */
.hoff__word {
  transform: translate3d(0, calc(var(--sy, 0) * 4%), 0);
  will-change: transform;
}

/* The two words arrive one after the other, sliding in from opposite sides and
   settling out of a wider letter-spacing. .is-in is put on by the same reveal
   observer everything else on the page uses. */
.js .hoff__word span {
  opacity: 0; letter-spacing: .06em;
  transition: opacity 1s var(--out), transform 1.1s var(--out), letter-spacing 1.1s var(--out);
}
.js .hoff__word span:first-child { transform: translateX(-6%); }
.js .hoff__word span:last-child  { transform: translateX(6%); transition-delay: .16s; }
.js .hoff.is-in .hoff__word span { opacity: 1; transform: none; letter-spacing: -.02em; }

/* --- wobble on hover -------------------------------------------------------
   The rock is on the FRAME, never on the picture or the lettering. Those two
   already carry a transform of their own — the parallax drift, which js sets
   through --sy — and a transform on a hover rule replaces the whole property,
   so animating either of them would drop the drift and make the image jump
   the moment the pointer arrived. Rotating their parent moves both as one
   piece and leaves both transforms untouched.

   The frame clips its own contents, so it rotates with the photograph sealed
   inside it: no slivers of background appear at the corners. Each swing is
   roughly a third of the one before, which is what makes it read as something
   heavy settling rather than a shiver. Under a second, and it does not repeat
   while the pointer rests — a loop here would be a distraction next to the
   lettering.
   --------------------------------------------------------------------------*/
@keyframes hoff-wobble {
  0%   { transform: rotate(0deg)     scale(1);     }
  18%  { transform: rotate(-.80deg)  scale(1.012); }
  38%  { transform: rotate(.58deg)   scale(1.015); }
  56%  { transform: rotate(-.34deg)  scale(1.011); }
  72%  { transform: rotate(.20deg)   scale(1.007); }
  86%  { transform: rotate(-.09deg)  scale(1.003); }
  100% { transform: rotate(0deg)     scale(1);     }
}
.hoff__frame { transform-origin: 50% 50%; }
.hoff__frame:hover { animation: hoff-wobble .85s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .hoff__frame img { transform: none; height: 100%; }
  .hoff__word { transform: none; }
  .js .hoff__word span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hoff__frame:hover { animation: none; }
}

/* A browser without -webkit-text-stroke would render the fill, which is
   transparent — i.e. nothing at all. Give those a solid white word instead. */
@supports not (-webkit-text-stroke: 1px white) {
  .hoff__word { color: rgba(255, 255, 255, .92); }
}

@media (max-width: 720px) {
  /* The vertical labels cost more width than they are worth on a phone. */
  .hoff { grid-template-columns: 1fr; gap: .9rem; }
  .hoff__side { writing-mode: horizontal-tb; transform: none; white-space: normal; }
  .hoff__side--start { order: 2; }
  .hoff__side--end   { order: 3; }
  .hoff__frame { order: 1; }
  .hoff__frame img { aspect-ratio: 4 / 3; }
}

.office__frame {
  position: relative; margin: 0;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg); background: var(--cream-2);
}
.office__frame img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; transition: transform 1.4s var(--ease); }
.office__frame:hover img { transform: scale(1.03); }
.office__badge {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ink); font-size: var(--fs-xs); font-weight: 600;
}
.office__badge-ico {
  width: 15px; height: 15px;
  fill: none; stroke: var(--gold-ink); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.office__note { margin-top: 1rem; font-size: var(--fs-md); color: var(--muted); }

/* Address / phone / email, each on its own hairline row. */
/* Four facts across, not four rows down. Stacked label over value they read
   as one line of the page each; as a row they fill the width the photograph
   above them occupies instead of leaving two thirds of it empty. */
.office__facts {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 clamp(1.75rem, 3vw, 2.25rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.75rem);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding-block: clamp(1.4rem, 2.4vw, 1.9rem);
}
.office__facts > div { display: block; min-width: 0; }
.office__facts dt {
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
  margin-bottom: .55rem;
}
.office__facts dd { margin: 0; font-size: var(--fs-base); color: var(--ink); }
.office__facts dd { line-height: 1.55; }
.office__facts a { color: inherit; border-bottom: 1px solid var(--gold-line); transition: border-color var(--t2) var(--ease); }
.office__facts a:hover { border-color: var(--gold-ink); }

@media (max-width: 900px) {
  .office__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(1.4rem, 3vw, 2rem); }
}
@media (max-width: 520px) {
  .office__facts { grid-template-columns: 1fr; }
}


/* ==========================================================================
   14  INSTAGRAM
   ========================================================================== */

/* The handle reads as a profile row, and the grid gives one post a 2x2
   feature tile so the block has a focal point instead of eight equal squares. */
.insta__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.insta__profile { display: flex; align-items: center; gap: clamp(1rem, 1.6vw, 1.4rem); }
.insta__avatar {
  width: clamp(58px, 6vw, 76px); height: clamp(58px, 6vw, 76px);
  border-radius: 50%; flex: none; object-fit: cover;
  border: 1px solid var(--line); padding: 3px; background: var(--white);
}
.insta__profile .eyebrow { margin-bottom: .35rem; }
.insta__handle { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }

.insta__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(.5rem, .9vw, .875rem);
}
.insta__tile {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--r-md); background: var(--cream-2); display: block;
}
.insta__tile--feature { grid-column: span 2; grid-row: span 2; }
.insta__tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .8s var(--ease);
}
.insta__tile:hover img { transform: scale(1.06); }
.insta__veil {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  background: rgba(27,23,18,.42);
  opacity: 0; transition: opacity var(--t2) var(--ease);
}
.insta__tile:hover .insta__veil,
.insta__tile:focus-visible .insta__veil { opacity: 1; }
.insta__veil svg { width: 26px; height: 26px; fill: #fff; }
.insta__tile--feature .insta__veil svg { width: 40px; height: 40px; }


/* ==========================================================================
   15  CONTACT
   ========================================================================== */

.contact { background: var(--cream); }
.contact__inner { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(2rem,4.5vw,4.5rem); align-items: start; }
.contact__lede { margin-top: .9rem; color: var(--body); max-width: 42ch; }

.cinfo { margin-top: 2.6rem; display: grid; gap: 1.4rem; }
.cinfo__row { display: flex; gap: 1rem; align-items: flex-start; }
.cinfo__ico {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line);
}
.cinfo__ico svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; }
.cinfo__label { display: block; font-size: var(--fs-label); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 2px; }
.cinfo__value { display: block; font-size: var(--fs-sm); color: var(--ink); }
.cinfo__value a:hover { color: var(--gold-ink); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.6rem,3vw,2.5rem); box-shadow: var(--sh-md); }
.form-card__title { font-family: var(--display); font-weight: 400; font-size: var(--fs-xl); line-height: 1.2; letter-spacing: -.02em; color: var(--ink); margin-bottom: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 16px; font-size: var(--fs-sm); color: var(--ink);
  transition: border-color var(--t1) var(--ease), background-color var(--t1) var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.form-card .btn { margin-top: 1.4rem; width: 100%; }
.form-note { margin-top: 1rem; font-size: var(--fs-xs); color: var(--muted); text-align: center; }


/* ==========================================================================
   16  FOOTER
   The Toronto photograph runs behind it under a light wash, so the footer
   stays part of the light theme rather than turning into a dark slab.
   ========================================================================== */

.footer { position: relative; isolation: isolate; padding: 150px var(--page-pad) 20px; overflow: hidden; }
.footer__bg { position: absolute; inset: 0; z-index: -2; }
.footer__bg img { width: 100%; height: 100%; object-fit: cover; }
/* Light enough that the photograph is clearly there, and the CTA sits on
   its own glass card so the copy stays readable over it. */
.footer__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.60) 44%, var(--bg) 94%);
}

.footer__cta { max-width: var(--container); margin-inline: auto; padding-bottom: clamp(4rem, 8vw, 8rem); }
.footer__cta-inner {
  max-width: 520px;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--sh-md);
}
.footer__cta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem,3.2vw,44px); line-height: 1.16; letter-spacing: -.015em; color: var(--ink); }
.footer__cta p { margin-top: .9rem; font-size: var(--fs-md); color: var(--body); }
.footer__cta .btn { margin-top: 1.8rem; }

.footer__card {
  max-width: var(--container); margin-inline: auto;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px;
  box-shadow: var(--sh-md);
}
.footer__main {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 36px clamp(1.4rem, 3vw, 44px);
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
}
.footer__about { max-width: 460px; }
.footer__about .brand { margin-bottom: 1.4rem; }
.footer__about p { font-size: var(--fs-sm); color: var(--muted); }

.footer__menus { display: flex; flex-wrap: wrap; gap: 48px; }
.footer__menu h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: -.02em; color: var(--ink); margin-bottom: 1rem; }
.footer__menu ul { display: flex; flex-direction: column; gap: 9px; }
.footer__menu a, .footer__menu li { font-size: var(--fs-sm); color: var(--muted); transition: color var(--t1) var(--ease); }
.footer__menu a:hover { color: var(--gold-ink); }

.footer__bottom {
  margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px clamp(1.2rem, 2.4vw, 24px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.footer__copy { font-family: var(--display); font-size: clamp(1rem, 1.5vw, 22px); color: var(--ink); }
.footer__social { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__social .eyebrow { margin: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 7px; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-2);
  transition: background-color var(--t2) var(--ease), border-color var(--t2) var(--ease), transform var(--t2) var(--ease);
}
.socials svg { width: 16px; height: 16px; fill: var(--ink); transition: fill var(--t2) var(--ease); }
.socials a:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-3px); }
.socials a:hover svg { fill: var(--gold-lift); }


/* ==========================================================================
   17  MOTION
   Start states are gated on html.js so a page with scripting off renders
   finished rather than blank.
   ========================================================================== */

.js [data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--t3) var(--out), transform var(--t3) var(--out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}


/* ==========================================================================
   18  RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
  .process__row { grid-template-columns: 1fr; gap: 2.5rem; }
  .process__vh { min-height: 0; }
  .process__sticky { position: static; min-height: 0; }
  .process__media { aspect-ratio: 16 / 10; }
  .rev__block { grid-template-columns: 1fr; }
  .rev__side-img { max-height: 300px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { min-height: 0; }
  .hero__media { min-height: clamp(300px, 48vw, 460px); }
  .contact__inner { grid-template-columns: 1fr; }
  .insta__grid { grid-template-columns: repeat(4, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .office__grid { grid-template-columns: 1fr; }
  .footer__main { flex-direction: column; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: flex; flex-direction: column; }
  .svc-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item::before {
    left: 14%; right: 14%; top: 0; bottom: auto; width: auto; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line) 28%, var(--gold-line) 72%, transparent);
  }
  .process__steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .pstep { flex-direction: row; align-items: center; gap: 1.2rem; border-right: 0; padding-right: 0;
           border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; }
  .pstep:last-child { border-bottom: 0; padding-bottom: 0; }
  .footer { padding-top: 90px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 104px; }

  .brand__crest { width: 48px; height: 48px; }
  .brand__name { font-size: 1.5rem; }

  .form-grid { grid-template-columns: 1fr; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
  .insta__tile--feature { grid-column: span 2; grid-row: span 1; aspect-ratio: 1; }
  .press__name { font-size: 1.05rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__menus { gap: 32px; }
  .socials a { width: 42px; height: 42px; }
}


/* ==========================================================================
   FEATURED IN — site-wide
   The same strip on every page, so it never drifts between them.

   Two behaviours from one piece of markup. On a desktop there is room for all
   six mastheads at once, so they simply sit in a row: a marquee there is
   motion for its own sake, and it makes a reader chase a logo they are trying
   to read. Below 1024 there is not room, so the row becomes a slider — the
   second row is an exact copy, and the pair slide together so the loop has no
   seam. Nothing is duplicated in the HTML for the two cases and no JavaScript
   is involved; the copy is aria-hidden so a screen reader hears six, not twelve.
   ========================================================================== */

.featured {
  max-width: var(--container); margin-inline: auto;
  padding: clamp(3rem, 5vw, 4.5rem) var(--page-pad) clamp(1rem, 2vw, 1.5rem);
}
.featured__lead {
  text-align: center; margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
  font-size: var(--fs-md); color: var(--ink);
}

/* Dropped inside a section that already has a container and padding — the
   strip then contributes only its own vertical rhythm. */
.featured--inline { max-width: none; padding-inline: 0; padding-top: 0; }

.featured__viewport { display: flex; }

.featured__row {
  flex: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 3rem);
  /* Inset from the page edge. space-between alone pins the first and last
     masthead hard against the container, which reads as a mistake rather
     than as a row. */
  padding-inline: clamp(0px, 3vw, 3.5rem);
}
/* The copy only exists for the slider. */
.featured__row + .featured__row { display: none; }

/* The mastheads are buttons: each one opens that outlet's cutting in the
   lightbox below. Everything that makes a <button> look like a button is
   stripped, so it still reads as a plain logo in a row of logos. */
.featured__logo {
  appearance: none; -webkit-appearance: none;
  border: 0; padding: 0; margin: 0; background: none; cursor: pointer;
  display: block; flex: none; line-height: 0;
  opacity: .78;
  transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease);
}
.featured__logo img {
  height: clamp(30px, 3.1vw, 46px);
  width: auto; display: block; object-fit: contain;
}
.featured__logo:hover { opacity: 1; transform: translateY(-2px); }
.featured__logo:focus-visible { opacity: 1; }
/* The duplicated marquee row is decoration; it must not answer the pointer. */
.featured__row[aria-hidden="true"] .featured__logo { cursor: default; pointer-events: none; }

/* ==========================================================================
   LIGHTBOX
   A native <dialog>, so Escape, the backdrop, inertness of the page behind
   and returning focus to the button afterwards are all the browser's job.
   ========================================================================== */

.lb {
  border: 0; padding: 0; background: transparent;
  max-width: min(92vw, 780px); max-height: 92vh;
  overflow: visible;
}
.lb::backdrop { background: rgba(18, 16, 12, .72); backdrop-filter: blur(3px); }

.lb__figure {
  margin: 0; background: var(--white);
  border-radius: var(--r-md); overflow: hidden;
  max-height: 92vh; display: flex; flex-direction: column;
}
/* The cutting is the tall thing here, so it gets whatever height is left
   after the caption and scrolls inside itself if it still does not fit. */
.lb__figure img {
  display: block; width: 100%; height: auto;
  min-height: 0; overflow-y: auto;
  object-fit: contain;
}
.lb__cap {
  flex: none; padding: 1rem 1.25rem;
  border-top: 1px solid var(--line); background: var(--white);
}
.lb__cap b {
  display: block; font-size: var(--fs-label); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--gold-ink);
}
.lb__cap span { display: block; margin-top: .35rem; font-size: var(--fs-sm); color: var(--body); }

/* Straight through to the article on the publication's own site. Hidden by
   the markup and unhidden by js/main.js only when that cutting has a URL. */
.lb__link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem;
  font-size: var(--fs-sm); font-weight: 500; color: var(--gold-ink);
  border-bottom: 1px solid var(--gold-line); padding-bottom: 1px;
  transition: color var(--t2) var(--ease), border-color var(--t2) var(--ease);
}
.lb__link:hover { color: var(--ink); border-color: var(--ink); }
.lb__link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lb__link[hidden] { display: none; }

.lb__close {
  position: absolute; top: -14px; right: -14px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--ink); color: #fff;
  box-shadow: var(--sh-md);
}
.lb__close:hover { background: var(--gold-ink); }
.lb__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

@media (max-width: 640px) {
  .lb { max-width: 94vw; }
  .lb__close { top: -10px; right: -6px; width: 36px; height: 36px; }
}

/* --- tablet and below: the same six, sliding --- */
@media (max-width: 1023px) {
  .featured__viewport {
    overflow: hidden; user-select: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
  .featured__row {
    flex: none; justify-content: flex-start;
    gap: clamp(2.25rem, 7vw, 3.5rem);
    /* No left inset here: the row has to butt up against its copy or the
       loop shows a gap every time it comes round. */
    padding-inline: 0 clamp(2.25rem, 7vw, 3.5rem);
    animation: featured-slide 26s linear infinite;
  }
  .featured__row + .featured__row { display: flex; }
  .featured__viewport:hover .featured__row { animation-play-state: paused; }
  /* Also held still while a cutting is open, so the logos are not sliding
     along behind the backdrop. Set by the lightbox in js/main.js. */
  .featured__viewport.is-paused .featured__row { animation-play-state: paused; }
  /* The height now belongs to the <img> inside the button, not the button. */
  .featured__logo img { height: clamp(28px, 6.5vw, 40px); }
}
@keyframes featured-slide { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .featured__row { animation: none; }
  /* With the animation off the copy would just be six logos nobody asked for. */
  .featured__row + .featured__row { display: none; }
  .featured__viewport { overflow-x: auto; }
}


/* ==========================================================================
   REACH US
   Fixed to the bottom-right of every page. Closed it is a single pill; open
   it fans three links out above it. The links are ordinary anchors, so with
   JavaScript off the panel just stays open and everything still works.
   ========================================================================== */
.reach {
  position: fixed; z-index: 60;
  right: clamp(14px, 2.5vw, 26px); bottom: clamp(14px, 2.5vw, 26px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}

.reach__items { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.reach__item {
  position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  transition: transform var(--t2) var(--ease), background-color var(--t2) var(--ease), color var(--t2) var(--ease);
}
/* All three glyphs in the sprite are single filled paths — #i-instagram is
   one evenodd path with the camera cut out of it. Stroking that instead of
   filling it traced the outline of every hole and came out as a blob, so they
   are filled here exactly as the footer socials fill them. */
.reach__item svg { width: 21px; height: 21px; fill: currentColor; stroke: none; }
.reach__item:hover, .reach__item:focus-visible { transform: scale(1.08); background: var(--ink); color: #fff; }
.reach__item--wa:hover, .reach__item--wa:focus-visible { background: #1FA855; border-color: #1FA855; }

/* The name of each one, revealed on hover so the icons need no caption. */
.reach__tip {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-size: var(--fs-xs); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--t2) var(--ease);
}
.reach__item:hover .reach__tip, .reach__item:focus-visible .reach__tip { opacity: 1; }

.reach__toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; cursor: pointer;
  box-shadow: var(--sh-lg);
  transition: background-color var(--t2) var(--ease);
}
.reach__toggle:hover { background: var(--gold-ink); }
.reach__ico { width: 22px; height: 22px; flex: none; }
.reach__ico--open { fill: currentColor; }
.reach__ico--shut { display: none; fill: none; stroke: currentColor; stroke-width: 1.9; }
.reach__label { font-size: var(--fs-sm); font-weight: 500; letter-spacing: .01em; }

/* --- closed, once JavaScript has taken over ------------------------------ */
.reach.is-ready .reach__items {
  opacity: 0; visibility: hidden;
  transform: translateY(8px) scale(.9); transform-origin: bottom right;
  transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease), visibility var(--t2);
}
.reach.is-ready.is-open .reach__items { opacity: 1; visibility: visible; transform: none; }
.reach.is-ready.is-open .reach__ico--open { display: none; }
.reach.is-ready.is-open .reach__ico--shut { display: block; }
.reach.is-ready.is-open .reach__label { display: none; }
.reach.is-ready.is-open .reach__toggle { padding: 0; width: 52px; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .reach.is-ready .reach__items { transition: none; }
  .reach__item { transition: none; }
}

/* On a phone the pill sits where a thumb reaches, and a touch shows no
   hover state, so the captions stay out of the way. */
@media (max-width: 640px) {
  .reach__item { width: 44px; height: 44px; }
  .reach__tip { display: none; }
}
@media print { .reach { display: none; } }


/* The gold stars, as artwork rather than the flat icon row. They sit between
   the section title and its lede, so they need the breathing room a line of
   text would have had there. */
.rev__stars {
  display: block; width: clamp(150px, 20vw, 215px); height: auto;
  margin: clamp(.9rem, 1.6vw, 1.25rem) 0 clamp(.2rem, .5vw, .4rem);
}


/* ==========================================================================
   19  WIDE SCREENS
   The whole site was built up to a 1440px ceiling and then stopped: past that
   the content stayed 1440 wide and the page grew empty margins instead — 240px
   a side at 1920, 560px at 2560 — while every type size sat at its clamp ceiling
   and so looked progressively smaller against the screen.

   Steps up, rather than one fluid rule, so the proportions are chosen at
   each size rather than drifting. Everything here is a token: no component
   needs to know it is on a big monitor.

   The first step is 1560. Starting it lower — at 1280, so it would fire on a
   1536px MacBook — was tried and reverted: below about 1560 the layout was
   drawn for a 1440 container, and simply letting it stretch to the window
   made it look wrong rather than wider. A width that size wants its own
   layout, not a stretched one.
   ========================================================================== */

@media (min-width: 1560px) {
  :root {
    --container: 1560px;
    --page-pad: 24px;
    --bar-h: 92px;

    /* Ceilings only. The lower bound and the growth rate are untouched, so
       nothing below this breakpoint moves by a pixel. */
    --fs-lg:    clamp(1.25rem,  1.1rem  + .5vw,  1.6rem);
    --fs-xl:    clamp(1.5rem,   1.25rem + 1vw,   2.2rem);
    --fs-2xl:   clamp(1.875rem, 1.5rem  + 1.6vw, 2.9rem);
    --fs-3xl:   clamp(2.1rem,   1.6rem  + 2.4vw, 3.8rem);
    --fs-4xl:   clamp(2.05rem,  1.35rem + 2.5vw, 3.8rem);

    --sec-y:    clamp(5rem, 3.2rem + 6vw, 9.5rem);
    --head-gap: clamp(2.5rem, 1.6rem + 2.6vw, 4rem);
  }

  /* A section heading is capped at 760px so a short title cannot run the
     width of the page. That cap was set against a 3.4rem ceiling; the
     ceiling has gone up, so the cap has to follow or a five-word title
     like "However you would rather do it" breaks over three lines with
     half the row empty beside it. */
  .sec-head { max-width: 900px; }

  /* The review card grew with the container and the line length went with
     it. Past about 65 characters the eye loses the start of the next line,
     and this is set at 28px in a serif — it is the one block on the page
     long enough for that to matter. */
  .rev__quote { max-width: 62ch; }

  /* The photograph in the side card is 4:3 until the 240px ceiling cuts in;
     on a wide card that ceiling arrives early and leaves a letterbox. */
  .rev__side-img { max-height: 290px; }

  /* The footer puts the brand at one end and the two menus at the other.
     At 1440 that is a comfortable gap; at 1560 and up it is a hole in the
     middle of the card. Three real columns instead — display:contents
     dissolves the .footer__menus wrapper so Navigation and Head Office
     become columns of the same grid and the row spans the card evenly. */
  .footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px; align-items: start;
  }
  .footer__menus { display: contents; }
  .footer__about { max-width: 540px; }
  .footer__cta-inner { max-width: 600px; }
}

@media (min-width: 1900px) {
  :root {
    --container: 1720px;
    --page-pad: 32px;

    /* Running text grows too at this size, or the body copy reads as fine
       print next to headings this large. */
    --fs-base:  1.03rem;
    --fs-md:    1.0625rem;
    --fs-sm:    .9125rem;

    --fs-2xl:   clamp(1.875rem, 1.5rem  + 1.6vw, 3.2rem);
    --fs-3xl:   clamp(2.1rem,   1.6rem  + 2.4vw, 4.2rem);
    --fs-4xl:   clamp(2.05rem,  1.35rem + 2.5vw, 4.2rem);

    --sec-y:    clamp(5rem, 3.2rem + 6vw, 10.5rem);
  }

  .sec-head { max-width: 1040px; }
  .rev__side-img { max-height: 340px; }
  .footer__about { max-width: 600px; }
  .footer__cta-inner { max-width: 660px; }
}

/* A last step for 27in and 4K desktops. The container only, and only by a
   little: past about 1900px of content the lines of running text get long
   enough to be tiring, so the page stops growing and the screen takes the
   rest as margin. Nothing else changes — the type is already at the size it
   should be by here. */
@media (min-width: 2400px) {
  :root {
    --container: 1880px;
    --page-pad: 40px;
  }
}
