/* Global Migration Lawyers — started again, 7 Nov 2026.
   The hero is a drawing: people gathered around an empty clearing, and the line in the clearing
   (Kristian's sketch; the drawn plaza arrived 8 Nov, assets/img/hero-plaza-*.webp).
   Colours: the drawing's ground #ebecda (the page's paper), off-black #201914, banker green #1e4a34.
   Type: Baskervville for the line, ABC Areal for everything you read. */

@font-face { font-family: "ABC Areal"; src: url("../fonts/ABCAreal-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ABC Areal"; src: url("../fonts/ABCAreal-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Baskervville"; src: url("../fonts/Baskervville-Variable.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Baskervville"; src: url("../fonts/Baskervville-Italic-Variable.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --paper: #ebecda;
  --ink: #201914;
  --green: #1e4a34;
  --sans: "ABC Areal", "Helvetica Neue", Arial, sans-serif;
  --serif: "Baskervville", Baskerville, Georgia, serif;
  --gut: clamp(16px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- Header: logo left, nav centred, the one action right, on the drawing's paper ---------- */
.top {
  position: sticky; top: 0; z-index: 50; background: var(--paper);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 22px var(--gut);
}
.top__mark img { width: 180px; }
/* It stays with you (assets/js/header.js): slim with a hairline once you scroll, away while you read down,
   back as soon as you scroll up. The same curve as the page pull. */
.top { transition: padding .3s cubic-bezier(.32, .72, 0, 1), box-shadow .3s ease, transform .35s cubic-bezier(.32, .72, 0, 1); }
.top__mark img { transition: width .3s cubic-bezier(.32, .72, 0, 1); }
html.is-scrolled .top { padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 rgba(32, 25, 20, .14); }
html.is-scrolled .top__mark img { width: 150px; }
html.is-away .top { transform: translateY(-100%); box-shadow: none; }
@media (min-width: 801px) { html.is-scrolled .top__cta { padding: 8px 14px; } }
@media (prefers-reduced-motion: reduce) { .top, .top__mark img { transition: none; } }
/* The phone menu: a Menu button beside Book opens the header's links as a full-screen sheet on paper. */
.menu-btn { display: none; font: inherit; font-size: 13px; color: var(--ink); background: none; cursor: pointer; padding: 8px 12px; border: 1px solid rgba(32, 25, 20, .25); border-radius: 8px; }
.menu { position: fixed; inset: 0; z-index: 200; background: var(--paper); display: flex; flex-direction: column; padding: 14px var(--gut) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__close { align-self: flex-end; font: inherit; font-size: 13px; color: var(--ink); background: none; cursor: pointer; padding: 8px 12px; border: 1px solid rgba(32, 25, 20, .25); border-radius: 8px; }
.menu nav { display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid rgba(32, 25, 20, .16); }
.menu nav a { font: 400 34px/1.15 var(--serif); padding: 16px 0; border-bottom: 1px solid rgba(32, 25, 20, .16); text-decoration: none; }
.menu nav a[aria-current="page"] { color: var(--green); }
.menu__acts { margin-top: auto; padding-top: 32px; display: flex; gap: 10px; }
.menu__acts a { flex: 1; text-align: center; padding: 14px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.menu__book { background: var(--green); color: var(--paper); }
.menu__wa { border: 1px solid rgba(32, 25, 20, .25); }
html.menu-open { overflow: hidden; }
.top__nav { display: flex; gap: 32px; font-size: 14px; }
.top__nav a, .top__cta { text-decoration: none; }
.top__nav a:hover { color: var(--green); }
.top__cta {
  justify-self: end; font-size: 14px; color: var(--paper); background: var(--green);
  padding: 10px 16px; border-radius: 8px;
}
.top__cta:hover { background: var(--ink); }
@media (max-width: 800px) {
  .top { grid-template-columns: 1fr auto; padding-top: 14px; padding-bottom: 14px; }
  .top__mark img { width: 140px; }
  .top__nav { display: none; }
  .top__cta { font-size: 13px; padding: 9px 12px; }
  .top:has(.menu-btn) { grid-template-columns: 1fr auto auto; column-gap: 8px; }
  .menu-btn { display: inline-block; }
  html.is-scrolled .top__mark img { width: 118px; }
}

/* ---------- Hero: the drawing, the line in its clearing ---------- */
.hero { position: relative; overflow: hidden; }
.hero__frame { position: relative; height: calc(100svh - 85px); min-height: 520px; }
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
/* contain, not cover: the whole drawing always shows, never sliced by the screen's edge. Each file
   fades to the paper at all four edges, so any spare room around it is the same paper and unseen. */
/* The drawing's edge is baked into each file (art-tools/reflow.py): the crowd thins towards the rim
   of an irregular rounded square and whatever runs off the edge fades into the paper, so the
   drawing has no hard edge at any shape; the cast shadows are drawn by hand in the artwork (Untitled_Artwork 2, 8 Nov). */
.hero__text {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: min(46vw, 640px); text-align: center;
}
.hero__line {
  margin: 0;
  font: 400 clamp(40px, 5.4vw, 92px)/1.02 var(--serif);
  letter-spacing: -.015em;
  text-wrap: balance;
}
.hero__sub { margin: 20px 0 0; font-size: clamp(14px, 1.05vw, 16px); }
.hero__cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 28px;
  padding: 0 22px; min-height: 48px; border-radius: 8px;
  background: var(--green); color: var(--paper); text-decoration: none; font: 500 15px/1 var(--sans);
  transition: background .3s ease;
}
/* 9 Nov: words only (05d option 1 on the design canvas). No arrow; hover deepens the same green. */
.hero__cta:hover, .btn:hover { background: #163828; }

/* The drawing comes in four shapes (wide, the original, upright, tall), each recomposed from the
   original so the crowd rings the clearing at that shape (art-tools/reflow.py); the <picture> picks
   by the screen's shape, so the drawing fills the screen closely and is never cut. */
@media (max-width: 800px) {
  .hero__frame { height: calc(100svh - 64px); min-height: 520px; }
  .hero__text { width: 76vw; top: 50%; }
  .hero__line { font-size: clamp(34px, 10vw, 48px); }
  .hero__sub { font-size: 14px; margin-top: 14px; }
  .hero__cta { margin-top: 22px; }
}

/* ---------- Where are you now? The services ----------
   The nine services GML sells, named plainly as the visas page names them, each with one line on
   who it is for and its subclasses (8 Nov: "make it simple for the client"). Three by three in the
   deck's order: family; work and study; safety and review; belonging. The whole tile is the link. */
.where { padding: clamp(88px, 14vh, 160px) var(--gut) clamp(80px, 12vh, 140px); }
.where__head { text-align: center; margin-bottom: clamp(44px, 7vh, 80px); }
.where__title { margin: 0; font: 400 clamp(38px, 4.8vw, 72px)/1.04 var(--serif); letter-spacing: -.012em; }
.where__hint { margin: 16px auto 0; max-width: 60ch; font-size: 15px; color: rgba(32, 25, 20, .65); }
.where__list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1320px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(32, 25, 20, .16); border: 1px solid rgba(32, 25, 20, .16);
}
.where__item { background: var(--paper); }
.where__item a {
  position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 28px 64px 26px 28px; text-decoration: none; transition: background .3s ease, color .3s ease;
}
.where__item a::after {
  content: "→"; position: absolute; top: 26px; right: 24px; font: 400 20px/1 var(--sans);
  color: var(--green); transition: transform .3s ease, color .3s ease;
}
.where__say { font: 400 clamp(24px, 2vw, 30px)/1.12 var(--serif); }
.where__ans { font-size: 15px; line-height: 1.45; color: rgba(32, 25, 20, .72); max-width: 36ch; }
.where__sub { margin-top: auto; padding-top: 10px; font-size: 12px; line-height: 1.4; letter-spacing: .02em; color: rgba(32, 25, 20, .5); }
.where__item a:hover { background: var(--green); color: var(--paper); }
.where__item a:hover .where__ans, .where__item a:hover .where__sub, .where__item a:hover::after { color: var(--paper); }
.where__item a:hover::after { transform: translateX(4px); }
.where__ask { margin: clamp(28px, 4vh, 40px) 0 0; text-align: center; font-size: 15px; }
.where__ask a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.where__ask a::after { content: " →"; }
@media (max-width: 1000px) { .where__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .where__list { grid-template-columns: 1fr; }
  .where__item a { padding: 20px 52px 20px 18px; gap: 6px; }
  .where__item a::after { top: 22px; right: 18px; }
  .where__say { font-size: 24px; }
}

/* ---------- Where they are now: the reviews ----------
   A banker-green band after the two paper sections. The selector (12 Nov): each review's matter rolls
   slowly through a ruled bar on the left, and the review in the bar is read in full on the right; long
   ones are clipped with a way to open them in place. Without script every review shows, in full, stacked. */
.reviews { background: var(--green); color: var(--paper); padding: clamp(88px, 14vh, 150px) 0 clamp(72px, 11vh, 120px); }
.reviews__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  max-width: 1320px; margin: 0 auto clamp(40px, 6vh, 64px); padding: 0 var(--gut);
}
.reviews__title { margin: 0; font: 400 clamp(38px, 4.8vw, 72px)/1.04 var(--serif); letter-spacing: -.012em; }
.reviews__label { margin: 14px 0 0; font: 500 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.reviews__sel { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.reviews__row { display: grid; gap: clamp(28px, 4vh, 44px); max-width: 760px; }
.review {
  margin: 0; display: flex; flex-direction: column; padding-top: 22px;
  border-top: 1px solid rgba(235, 236, 218, .4);
}
/* With script: two halves, the rolling list left and one review right. */
.js .reviews__sel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.js .reviews__row { display: block; max-width: none; min-height: calc(58px * 7); }
.js .review { display: none; border-top: 0; padding-top: 6px; transition: opacity .45s ease, transform .6s cubic-bezier(.32, .72, 0, 1); }
.js .review.is-on { display: flex; }
.js .reviews__row.is-out .review { opacity: 0; transform: translateY(10px); }
.reviews__win {
  --lh: 58px; --rows: 7;
  position: relative; height: calc(var(--lh) * var(--rows)); overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.reviews__win:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.reviews__bar {
  position: absolute; left: 0; right: 0; top: calc(var(--lh) * (var(--rows) - 1) / 2); height: var(--lh);
  border-top: 1px solid var(--paper); border-bottom: 1px solid var(--paper); pointer-events: none;
}
.reviews__bar::before { content: "▶"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 11px; }
.reviews__tick { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--paper); }
.reviews__item {
  position: absolute; left: 0; right: 0; top: 0; height: var(--lh); display: flex; align-items: center; gap: 14px;
  padding: 0 0 0 26px; background: none; border: 0; color: var(--paper); text-align: left; cursor: pointer; white-space: nowrap;
  transition: transform .9s cubic-bezier(.32, .72, 0, 1), opacity .9s cubic-bezier(.32, .72, 0, 1);
}
.reviews__item.no-move { transition: none; }
.js .review figcaption { margin-top: 22px; border-top: 1px solid rgba(235, 236, 218, .26); }
.reviews__n { min-width: 2ch; font: 400 12px/1 var(--sans); opacity: .64; font-variant-numeric: tabular-nums; }
.reviews__matter { overflow: hidden; text-overflow: ellipsis; font: 400 clamp(19px, 1.75vw, 26px)/1.1 var(--serif); }
.reviews__hint { margin: 14px 0 0; font-size: 13px; opacity: .64; }
@media (max-width: 860px) {
  .js .reviews__sel { grid-template-columns: minmax(0, 1fr); }
  .js .reviews__row { min-height: 0; }
  .reviews__win { --lh: 50px; --rows: 5; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews__item, .js .review { transition: none; }
  .reviews__hint { display: none; }
}
.review blockquote { margin: 0; font: 400 clamp(19px, 1.5vw, 22px)/1.45 var(--serif); }
.review blockquote p { margin: 0 0 .8em; }
.js .review--long:not(.is-open) blockquote {
  max-height: 12.5em; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
}
.review__more {
  align-self: flex-start; margin: 2px 0 18px; padding: 0; cursor: pointer;
  background: none; border: 0; color: var(--paper); font: 500 14px/1.4 var(--sans);
  text-decoration: underline; text-underline-offset: 3px;
}
html:not(.js) .review__more { display: none; }
.review figcaption { margin-top: auto; padding-top: 16px; font-size: 14px; line-height: 1.4; }
.review__name { display: block; font-weight: 500; }
.review__what { display: block; opacity: .75; }
.reviews__foot { max-width: 1320px; margin: clamp(36px, 5vh, 56px) auto 0; padding: 0 var(--gut); font-size: 14px; }
.reviews__foot a { color: var(--paper); }
.reviews__foot p { margin: 8px 0 0; max-width: 70ch; opacity: .75; }

/* ---------- Contact: the page's last job ----------
   By here the reader has the promise, their visa and the reviews; what's left is "how do I reach a
   person, and how fast?" The three ways in are large targets; the urgent note for anyone holding a
   letter with a date on it is set apart. All copy from the contact page (8 Nov; replaces "the firm"). */
.reach { padding: clamp(96px, 15vh, 170px) var(--gut) clamp(88px, 13vh, 150px); }
.reach__head { max-width: 1320px; margin: 0 auto clamp(40px, 6vh, 64px); }
.reach__label { margin: 0 0 18px; font: 500 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.reach__title { margin: 0 0 22px; max-width: 18ch; font: 400 clamp(38px, 4.8vw, 72px)/1.04 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.reach__lede { margin: 0; max-width: 56ch; font-size: 17px; line-height: 1.55; color: rgba(32, 25, 20, .72); }
.reach__ways {
  max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(32, 25, 20, .16); border: 1px solid rgba(32, 25, 20, .16);
}
.reach__way {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 64px 30px 28px;
  background: var(--paper); text-decoration: none; transition: background .3s ease, color .3s ease;
}
.reach__way::after { content: "→"; position: absolute; top: 26px; right: 24px; font: 400 20px/1 var(--sans); color: var(--green); transition: transform .3s ease, color .3s ease; }
.reach__kind { font: 500 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.reach__val { font: 400 clamp(22px, 2vw, 30px)/1.15 var(--serif); }
.reach__way--mail .reach__val { font-size: clamp(19px, 1.55vw, 24px); } /* breaks only after the @ */
.reach__way:hover { background: var(--green); color: var(--paper); }
.reach__way:hover .reach__kind, .reach__way:hover::after { color: var(--paper); }
.reach__way:hover::after { transform: translateX(4px); }
.reach__urgent {
  max-width: 1320px; margin: 24px auto 0; padding: 22px 28px; border-radius: 8px;
  background: var(--green); color: var(--paper); display: grid; grid-template-columns: minmax(0, 22ch) 1fr; gap: 8px 40px; align-items: baseline;
}
.reach__urgent p { margin: 0; font-size: 16px; line-height: 1.5; }
.reach__urgent .reach__urgent-head { font: 400 clamp(20px, 1.6vw, 24px)/1.2 var(--serif); }
/* Homepage rows (12 Nov): the three ways in by name, one per line between hairlines; no tiles, no slab.
   The tiles above (.reach__ways) stay for the Contact page. */
.reach__rows { max-width: 1320px; margin: 0 auto; padding: 0; list-style: none; border-bottom: 1px solid rgba(32, 25, 20, .2); }
.reach__rows li { border-top: 1px solid rgba(32, 25, 20, .2); }
.reach__row { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 48px; align-items: baseline; padding: clamp(24px, 3.4vh, 34px) 0; text-decoration: none; color: inherit; }
.reach__row::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.32, .72, 0, 1); }
.reach__row:hover::before, .reach__row:focus-visible::before { transform: scaleX(1); }
.reach__name { font: 400 clamp(30px, 2.9vw, 42px)/1.08 var(--serif); letter-spacing: -.01em; }
.reach__det { display: flex; flex-direction: column; gap: 6px; }
.reach__rows .reach__val { font: 400 clamp(20px, 1.8vw, 26px)/1.2 var(--sans); }
.reach__row:hover .reach__val { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.reach__note { font-size: 15px; line-height: 1.5; color: rgba(32, 25, 20, .72); }
.reach__rows + .reach__office { margin-top: 26px; }
/* On the Contact page the rows sit in an .ab-row, which has its own rule above: the first row drops its line and starts level with the label. */
.ab-row__body > .reach__rows li:first-child { border-top: 0; }
.ab-row__body > .reach__rows li:first-child .reach__row { padding-top: 0; }
.ab-row__body > .reach__rows li:first-child .reach__row::before { display: none; }
/* Under a visa page's opening paragraph (Reviews, Notice to cancel), in place of the old green note. */
.visa-head .reach__rows { margin: clamp(32px, 5vh, 48px) 0 0; max-width: none; }
@media (max-width: 800px) { .reach__row { grid-template-columns: 1fr; gap: 12px; padding: 22px 0 24px; } }
@media (prefers-reduced-motion: reduce) { .reach__row::before { transition: none; } }
.reach__office { max-width: 1320px; margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 12px 56px; font-size: 14px; }
.reach__office div { display: flex; gap: 14px; }
.reach__office dt { font-weight: 500; }
.reach__office dd { margin: 0; color: rgba(32, 25, 20, .72); }
@media (max-width: 900px) {
  .reach__ways { grid-template-columns: 1fr; }
  .reach__urgent { grid-template-columns: 1fr; padding: 20px; }
}
@media (max-width: 560px) {
  .reach__way { padding: 20px 52px 22px 18px; }
  .reach__way::after { top: 22px; right: 18px; }
  .reach__office div { flex-direction: column; gap: 2px; }
}

/* ---------- Footer: the banker green, after the paper (14 Nov) ----------
   The lock-up, then four columns under their own hairlines: the menu, the three ways to reach the firm, the
   office and the hours with the open-now line. Then the small print. Every page ends with a way to reach
   the firm (before this only the homepage and Contact did). */
.foot { background: var(--green); color: var(--paper); padding: clamp(64px, 10vh, 104px) var(--gut) 40px; font-size: 15px; line-height: 1.6; }
.foot > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
.foot__mark { display: block; }
.foot__mark img { width: 210px; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(20px, 2.8vw, 40px); margin-top: clamp(48px, 8vh, 80px); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 16px; border-top: 1px solid rgba(235, 236, 218, .24); }
.foot__col p { margin: 0; max-width: 24ch; }
.foot__col .foot__label { margin-bottom: 14px; font: 500 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(235, 236, 218, .74); }
.foot__col--reach { gap: 12px; }
.foot__col--reach .foot__label { margin-bottom: 8px; }
.foot__kind { display: block; font-size: 13px; line-height: 1.4; color: rgba(235, 236, 218, .74); }
.foot__col .foot__go { margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
.foot .ab-now { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 0; padding: 0; border-radius: 0; background: none; font-size: 15px; color: var(--paper); }
.foot .ab-now[hidden] { display: none; }
.foot .ab-now::before { content: ""; flex: none; margin-top: .55em; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.foot .ab-now.is-closed { background: none; color: rgba(235, 236, 218, .76); }
.foot .ab-now.is-closed::before { background: none; box-shadow: inset 0 0 0 1px currentColor; }
@media (prefers-reduced-motion: no-preference) { .foot .ab-now:not(.is-closed)::before { animation: ab-live 2.4s ease-in-out infinite; } }
.foot__small { margin-top: clamp(48px, 8vh, 80px); margin-bottom: 0; padding-top: 24px; border-top: 1px solid rgba(235, 236, 218, .24); font-size: 13px; line-height: 1.55; color: rgba(235, 236, 218, .76); }
.foot__small a { color: rgba(235, 236, 218, .9); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .foot__mark img { width: 170px; } }
@media (max-width: 480px) { .foot__col--reach, .foot__col--hours { grid-column: 1 / -1; } .foot__col--reach { order: -1; } }
/* Nothing but green under the footer. Safari and Galley paint the space past the end of the page in the
   body's colour, so the body itself turns green once the footer is in view (site.js sets html.at-foot), and
   a paper sheet (body::before) lies over the whole body under the content so the page still reads as paper.
   Pulled past the end, only the green shows. At the top of the page the body is paper again. */
body { position: relative; isolation: isolate; }
body::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); }
html.at-foot, html.at-foot body { background: var(--green); }

/* ---------- Blog (9 Nov): brand.ai's blog layout, in GML's paper, ink, green and type ----------
   Index: the newest article large, its title centred under it; filters by topic; then every article
   in a grid of square pictures, title and a grey meta line under each. Article: meta, a large title
   and the byline in one centred reading column; the picture full width; the text back in the column.
   Pictures are placeholders until each article has its own cover: public-domain Met plates from the
   vault's library (art-tools/blog-placeholders.py). The tile's colour shows only while one loads. */
.top__nav a[aria-current="page"]::before {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%;
  background: var(--green); vertical-align: middle; transform: translateY(-2px);
}
.label { margin: 0; font: 500 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 13px; line-height: 1.5; color: rgba(32, 25, 20, .55); }
.meta span + span::before { content: "•"; margin-right: 10px; }
.pic { position: relative; overflow: hidden; border-radius: 8px; background: #e1e2cc; }
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }

.blog { max-width: 1320px; margin: 0 auto; padding: clamp(56px, 9vh, 104px) var(--gut) clamp(88px, 13vh, 150px); }
.blog__head { text-align: center; margin-bottom: clamp(40px, 6vh, 64px); }
.blog__title { margin: 16px 0 0; font: 400 clamp(38px, 4.8vw, 72px)/1.04 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.blog__intro { margin: 18px auto 0; max-width: 56ch; font-size: 17px; line-height: 1.55; color: rgba(32, 25, 20, .72); }

.feature { display: block; text-decoration: none; }
.feature .pic { aspect-ratio: 16 / 9; }
.feature__title { margin: 28px auto 10px; max-width: 26ch; text-align: center; font: 400 clamp(26px, 2.4vw, 36px)/1.15 var(--serif); text-wrap: balance; transition: color .3s ease; }
.feature .meta { justify-content: center; }
.feature:hover img, .card a:hover img { transform: scale(1.03); }
.feature:hover .feature__title, .card a:hover .card__title { color: var(--green); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: clamp(72px, 11vh, 128px) 0 clamp(40px, 6vh, 64px); }
html:not(.js) .filters { display: none; }
.filter {
  padding: 11px 17px; border: 1px solid rgba(32, 25, 20, .2); border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--ink); font: 400 14px/1.4 var(--sans); transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.filter:hover { border-color: var(--green); color: var(--green); }
.filter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--paper); }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(44px, 6vh, 64px) clamp(20px, 2.4vw, 36px); }
.card[hidden] { display: none; }
.card a { display: block; text-decoration: none; }
.card .pic { aspect-ratio: 1; }
.card__title { margin: 18px 0 8px; font: 400 clamp(22px, 1.7vw, 26px)/1.18 var(--serif); text-wrap: pretty; transition: color .3s ease; }
.blog__ask { margin: clamp(56px, 8vh, 88px) 0 0; text-align: center; font-size: 15px; }
.blog__ask a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.blog__ask a::after { content: " →"; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .feature .pic { aspect-ratio: 1; }
}

.post { padding: clamp(56px, 9vh, 104px) var(--gut) 0; }
.post__col { max-width: 1000px; margin: 0 auto; }
/* Centred (9 Nov, Kristian): the heading block is centred and the reading column sits in the middle
   of the page. Paragraphs and lists stay left-aligned, since centred lines are hard to read. */
header.post__col { text-align: center; }
header.post__col .meta, header.post__col .byline { justify-content: center; }
header.post__col .post__title { margin-left: auto; margin-right: auto; max-width: 18ch; }
header.post__col .byline > span:last-child { text-align: left; }
.post__body.post__col { max-width: 780px; }
.post__title { margin: 18px 0 32px; font: 400 clamp(40px, 5.4vw, 80px)/1.02 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.byline { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.4; }
.byline__mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); }
.byline__mark img { width: 18px; filter: invert(93%) sepia(9%) saturate(390%) hue-rotate(20deg); }
.byline__who { display: block; font-weight: 500; }
.byline__when { display: block; color: rgba(32, 25, 20, .55); }
.post > .pic { max-width: 1320px; margin: clamp(44px, 7vh, 72px) auto; aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .post > .pic--loop { aspect-ratio: 1; } } /* the blog loop is square on phones, so its type stays readable */
.pic--loop { background: var(--green); }
.pic--loop > picture { display: contents; } /* was an inline style; moved here so the host can refuse inline styles */
.pic--loop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* the film plays over its own still */
@media (prefers-reduced-motion: reduce) { .pic--loop video { display: none; } }
.post__body { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.6; }
.post__body p { margin: 0 0 1em; }
.post__lede { font: 400 clamp(24px, 2vw, 30px)/1.35 var(--serif) !important; margin-bottom: 0 !important; text-wrap: pretty; }
.post__body h2 { margin: clamp(64px, 9vh, 104px) 0 18px; font: 400 clamp(26px, 2.2vw, 34px)/1.15 var(--serif); letter-spacing: -.008em; }
.post__body ul { list-style: none; margin: 0 0 1em; padding: 0; }
.post__body li { position: relative; padding-left: 1.4em; margin-bottom: .45em; }
.post__body li::before { content: "–"; position: absolute; left: 0; color: var(--green); }
.post__body strong { font-weight: 500; }
.post__body a:not(.btn) { color: var(--green); text-underline-offset: 3px; }
.post__checked { margin: clamp(56px, 8vh, 88px) 0 0 !important; padding-top: 22px; border-top: 1px solid rgba(32, 25, 20, .16); font-size: 14px; line-height: 1.55; color: rgba(32, 25, 20, .6); }

.help { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: clamp(56px, 8vh, 88px); background: rgba(32, 25, 20, .16); border: 1px solid rgba(32, 25, 20, .16); }
.help > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; background: var(--paper); }
.help__line { margin: 0; font: 400 clamp(22px, 1.8vw, 26px)/1.25 var(--serif); text-wrap: pretty; }
.help .btn { margin-top: auto; }
.help > .help__urgent { background: var(--green); color: var(--paper); }
.help__urgent .label { color: var(--paper); opacity: .8; }
.post__body .help__urgent a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 700px) { .help { grid-template-columns: 1fr; } .help > div { padding: 22px 20px; } }

.related { max-width: 1320px; margin: clamp(96px, 14vh, 160px) auto 0; padding: clamp(40px, 6vh, 56px) 0 clamp(88px, 13vh, 150px); border-top: 1px solid rgba(32, 25, 20, .16); }
.related__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: clamp(32px, 5vh, 48px); }
.related__title { margin: 0; font: 400 clamp(30px, 3vw, 44px)/1.1 var(--serif); }
.related__title a { text-decoration: none; }
.related__title a::after { content: " →"; font-family: var(--sans); font-size: .6em; color: var(--green); }
.related__title a:hover { color: var(--green); }

/* ---------- About (draft, 9 Nov) ----------
   After Mouthwash's sites, held formal: every section is the same row, a label on the left and the
   words on the right, between hairlines (Mouthwash, Dumbar). Our story, the first meeting and Our
   lawyers were taken out on 9 Nov; what is left is the facts up front (who regulates GML, the
   languages, fixed fees), mission, vision, the office and the close. */
.about, .page { max-width: 1320px; margin: 0 auto; padding: clamp(56px, 9vh, 104px) var(--gut) 0; }
.ab-open { padding-bottom: clamp(56px, 8vh, 88px); }
.ab-open__title { margin: 18px 0 28px; max-width: 14ch; font: 400 clamp(46px, 6.4vw, 104px)/1 var(--serif); letter-spacing: -.018em; }
.ab-open__lede { margin: 0; max-width: 40ch; font: 400 clamp(22px, 1.9vw, 28px)/1.4 var(--serif); }
.ab-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: clamp(48px, 7vh, 72px) 0 0; background: rgba(32, 25, 20, .16); border: 1px solid rgba(32, 25, 20, .16); }
.ab-facts div { background: var(--paper); padding: 18px 20px 20px; }
.ab-facts dt, .ab-ledger dt, .ab-row__label { font: 500 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.ab-facts dd { margin: 8px 0 0; font-size: 15px; line-height: 1.4; }

.ab-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 40px; padding: clamp(40px, 6vh, 64px) 0; border-top: 1px solid rgba(32, 25, 20, .16); }
.ab-row--tight { padding-top: clamp(24px, 4vh, 40px); border-top: 0; }
.ab-row__label { margin: 6px 0 0; }
.ab-row__body > :last-child { margin-bottom: 0; }
.ab-big { margin: 0 0 1em; max-width: 34ch; font: 400 clamp(24px, 2.2vw, 32px)/1.3 var(--serif); text-wrap: pretty; }

.ab-ledger { margin: 0; border-top: 1px solid rgba(32, 25, 20, .16); }
.ab-ledger div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(32, 25, 20, .16); }
.ab-ledger dd { margin: 0; font-size: 15px; line-height: 1.5; }
.ph { display: grid; place-items: center; height: 100%; padding: 24px; border-radius: 8px; background: #e1e2cc; text-align: center; font-size: 13px; line-height: 1.45; color: rgba(32, 25, 20, .55); }
.ab-ledger a { color: var(--green); text-underline-offset: 3px; margin-left: 6px; }
.ab-office__pic { margin: 0 0 8px; aspect-ratio: 16 / 7; }
.ab-now { margin-left: 10px; padding: 2px 8px; border-radius: 4px; font-size: 12px; background: rgba(30, 74, 52, .1); color: var(--green); }
.ab-now.is-closed { background: rgba(32, 25, 20, .07); color: rgba(32, 25, 20, .65); }

.ab-close { padding: clamp(80px, 12vh, 140px) 0 clamp(96px, 14vh, 160px); border-top: 1px solid rgba(32, 25, 20, .16); text-align: center; }
.ab-close__title { margin: 0 0 28px; font: 400 clamp(38px, 4.8vw, 72px)/1.04 var(--serif); letter-spacing: -.012em; }
.ab-close__ways { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; }
.ab-close__ways .btn { margin-top: 0; }
.ab-close__link { color: var(--green); font-size: 16px; text-underline-offset: 3px; }
.ab-close__link::after { content: " →"; }

@media (max-width: 1000px) {
  .ab-facts { grid-template-columns: 1fr 1fr; }
  .ab-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ab-facts { grid-template-columns: 1fr; }
  .ab-ledger div { grid-template-columns: 1fr; gap: 4px; }
  .ab-now { display: table; margin: 8px 0 0; }
  .ab-ledger a { display: inline-block; margin-left: 0; }
}

/* ---------- About, laid out again (14 Nov) ----------
   After Mouthwash's client sites, held formal. One large line, then one axis down the middle of the page:
   the opening paragraph, the third fact, the vision and the address all start on column 7. Nothing is boxed;
   each fact and each statement sits under its own hairline, like an index. Scoped to .about, because the
   visa, contact and privacy pages share the classes above. */
.about { --rule: rgba(32, 25, 20, .22); --col: clamp(20px, 2.8vw, 40px); }
.about .ab-open { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col); padding-bottom: clamp(72px, 12vh, 136px); }
.about .ab-open > .label { grid-column: 1 / 7; grid-row: 2; margin-top: 10px; }
.about .ab-open__title { grid-column: 1 / -1; grid-row: 1; margin: 0 0 clamp(40px, 8vh, 96px); max-width: none; font-size: clamp(50px, 9.6vw, 148px); line-height: .94; letter-spacing: -.028em; text-wrap: balance; }
.about .ab-open__lede { grid-column: 7 / -1; grid-row: 2; max-width: 34ch; font-size: clamp(21px, 1.85vw, 27px); line-height: 1.36; text-wrap: pretty; }
.about .ab-facts { grid-column: 7 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--col); margin-top: clamp(72px, 13vh, 144px); background: none; border: 0; }
.about .ab-facts div, .about .ab-pair > section, .about .ab-office__list div { position: relative; background: none; padding: 16px 0 0; }
.about .ab-facts div::before, .about .ab-pair > section::before, .about .ab-office__list div::before, .about .ab-office__notes > h2::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); transform-origin: 0 50%;
}
.about .ab-facts dd { margin-top: clamp(28px, 5vh, 56px); max-width: 16ch; font: 400 clamp(19px, 1.55vw, 23px)/1.25 var(--serif); text-wrap: balance; }

.about .ab-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 48px var(--col); padding-bottom: clamp(72px, 12vh, 136px); }
.about .ab-pair .ab-row__label { margin: 0; }
.about .ab-pair .ab-big { margin: clamp(28px, 5vh, 56px) 0 0; max-width: 21ch; font-size: clamp(27px, 2.9vw, 44px); line-height: 1.14; letter-spacing: -.012em; text-wrap: balance; }

.about .ab-office { padding-bottom: clamp(72px, 12vh, 136px); }
.about .ab-office__pic { margin: 0; aspect-ratio: 2 / 1; }
.about .ab-office__pic .ph { border-radius: 0; }
.about .ab-office__pic { overflow: hidden; background: #e1e2cc; }
.about .ab-office__pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.about .ab-office__notes { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col); margin-top: 20px; }
.about .ab-office__notes > h2 { position: relative; margin: 0; padding-top: 16px; }
.about .ab-office__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col); margin: 0; }
.about .ab-office__list dt { font: 500 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.about .ab-office__list dd { margin: 18px 0 0; max-width: 26ch; font-size: 15px; line-height: 1.5; }
.about .ab-office__list a { display: table; margin-top: 6px; color: var(--green); text-underline-offset: 3px; }
/* Open or closed, said with a dot instead of a tag. */
.about .ab-now { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 0; padding: 0; border-radius: 0; background: none; font-size: 15px; color: var(--green); }
.about .ab-now[hidden] { display: none; }
.about .ab-now::before { content: ""; flex: none; margin-top: .52em; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.about .ab-now.is-closed { background: none; color: rgba(32, 25, 20, .6); }
.about .ab-now.is-closed::before { background: none; box-shadow: inset 0 0 0 1px currentColor; }

@media (max-width: 1000px) {
  .about .ab-open > .label { grid-column: 1 / -1; grid-row: 1; margin: 0 0 18px; }
  .about .ab-open__title { grid-row: 2; margin-bottom: 32px; }
  .about .ab-open__lede { grid-column: 1 / -1; grid-row: 3; max-width: 40ch; }
  .about .ab-facts { grid-column: 1 / -1; }
  .about .ab-office__notes { grid-template-columns: 1fr; row-gap: 28px; }
}
@media (max-width: 600px) {
  .about .ab-facts dd { margin-top: 18px; }
  .about .ab-pair { grid-template-columns: 1fr; }
  .about .ab-office__pic { aspect-ratio: 4 / 3; }
  .about .ab-office__list { grid-template-columns: 1fr; row-gap: 28px; }
}

/* Each piece rises as it comes into view and its hairline draws across (site.js marks html.rise and each
   [data-rise].is-in). Without the script, or with reduced motion, everything is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .rise .about [data-rise] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s cubic-bezier(.2, .7, 0, 1), transform .9s cubic-bezier(.2, .7, 0, 1); transition-delay: calc(var(--i, 0) * 90ms); }
  .rise .about [data-rise].is-in { opacity: 1; transform: none; }
  .rise .about [data-rise]::before { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, 0, 1); transition-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .rise .about [data-rise].is-in::before { transform: none; }
  .about .ab-now:not(.is-closed)::before { animation: ab-live 2.4s ease-in-out infinite; }
}
@keyframes ab-live { 50% { opacity: .35; } }

/* ---------- Visas (9 Nov): the index and one page per visa ----------
   The About page's rows (label left, words right, hairlines between), so the site reads as one
   system and a long legal page stays easy to scan. Each visa page runs: who it is for, the visas as
   cards led by the subclass number, what happens in numbered steps, what is in your control, timing
   and cost with the reviewed date, a way across to the nearest other visa, and one next step.
   All copy from the deck (generated from it; edit the pages in Galley from here on). */
.meta a { color: inherit; text-underline-offset: 3px; }
.meta a + span::before { content: "•"; margin-right: 10px; }
.meta a + a::before { content: "•"; display: inline-block; margin-right: 10px; }
.visa-head { padding-bottom: clamp(56px, 8vh, 88px); }
.visa-head .meta, .visa-head .label { margin-bottom: 18px; }
.visa-head__title { margin: 0 0 28px; max-width: 22ch; font: 400 clamp(40px, 5vw, 80px)/1.04 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.visa-urgent { margin: clamp(32px, 5vh, 48px) 0 0; max-width: none; }
.visa-urgent a { color: inherit; text-underline-offset: 3px; }

.visa-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(32, 25, 20, .16); }
.visa-list li { position: relative; padding: 14px 0 14px 1.6em; border-bottom: 1px solid rgba(32, 25, 20, .16); font: 400 clamp(19px, 1.5vw, 22px)/1.4 var(--serif); }
.visa-list li::before { content: "–"; position: absolute; left: 0; color: var(--green); }
.visa-list a, .visa-aside__line a { color: var(--green); text-underline-offset: 3px; }

.visa-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: rgba(32, 25, 20, .16); border: 1px solid rgba(32, 25, 20, .16); }
.visa-card { background: var(--paper); padding: 22px 22px 24px; }
.visa-card p { margin: 0; }
.visa-card__code { font: 400 clamp(30px, 2.6vw, 40px)/1 var(--serif); color: var(--green); font-variant-numeric: lining-nums; }
.visa-card__name { margin-top: 14px !important; font-weight: 500; font-size: 15px; line-height: 1.35; }
.visa-card__text { margin-top: 8px !important; font-size: 15px; line-height: 1.5; color: rgba(32, 25, 20, .75); }

.visa-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(32, 25, 20, .16); }
.visa-steps li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(32, 25, 20, .16); }
.visa-steps__n { font: 400 22px/1 var(--serif); color: var(--green); }
.visa-steps p { margin: 0; max-width: 60ch; font-size: 16px; line-height: 1.55; color: rgba(32, 25, 20, .78); }
.visa-steps .visa-steps__t { margin-bottom: 4px; font: 400 clamp(20px, 1.6vw, 24px)/1.25 var(--serif); color: var(--ink); }

.visa-control { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: rgba(32, 25, 20, .16); border: 1px solid rgba(32, 25, 20, .16); }
.visa-control div { background: var(--paper); padding: 20px 22px 24px; }
.visa-control div:last-child { background: var(--green); color: var(--paper); }
.visa-control dt { font: 500 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.visa-control div:last-child dt { color: var(--paper); opacity: .8; }
.visa-control dd { margin: 10px 0 0; font: 400 clamp(18px, 1.4vw, 20px)/1.4 var(--serif); }

.visa-cost { margin: 0; max-width: 60ch; font-size: 17px; line-height: 1.6; }
.visa-checked { margin-top: 28px !important; max-width: 70ch; }
.visa-aside { border-top: 1px solid rgba(32, 25, 20, .16); }
.visa-aside__line { margin: 0; max-width: 46ch; font: 400 clamp(20px, 1.6vw, 24px)/1.4 var(--serif); }
.visa-aside__line a::after, .visa-aside__more::after { content: " →"; }
.visa-aside__more { display: inline-block; margin-top: 16px; color: var(--green); font-size: 15px; text-underline-offset: 3px; }
.ab-close__title--line { max-width: 26ch; margin-left: auto; margin-right: auto; font-size: clamp(32px, 3.6vw, 56px); text-wrap: balance; }
.ab-close > .label { margin-bottom: 18px; }

.vindex { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(32, 25, 20, .16); }
.vindex a {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6px 32px; padding: 22px 56px 22px 0;
  border-bottom: 1px solid rgba(32, 25, 20, .16); text-decoration: none; transition: color .3s ease;
}
.vindex a::after { content: "→"; position: absolute; right: 8px; top: 22px; font-size: 20px; color: var(--green); transition: transform .3s ease; }
.vindex a:hover { color: var(--green); }
.vindex a:hover::after { transform: translateX(4px); }
.vindex__name { grid-row: span 2; font: 400 clamp(24px, 2vw, 30px)/1.15 var(--serif); }
.vindex__line { font-size: 16px; line-height: 1.5; }
.vindex__sub { font-size: 13px; color: rgba(32, 25, 20, .55); }
.visa-ask { padding: clamp(56px, 8vh, 88px) 0 clamp(96px, 14vh, 160px); border-top: 1px solid rgba(32, 25, 20, .16); }

@media (max-width: 900px) {
  .visa-control { grid-template-columns: 1fr; }
  .vindex a { grid-template-columns: 1fr; padding-right: 40px; }
  .vindex__name { grid-row: auto; }
}

/* ---------- Contact (9 Nov) ----------
   The site's rows: the line and the urgent note up top, then the consultation form, the three ways
   in (the homepage's cells), and the office with the open-now tag. Fields take the buttons' 8px
   corner, as decided on 8 Nov. The form has no server: Send writes the message out in WhatsApp. */
.contact__ways { margin: 0; max-width: none; }
.contact__last { padding-bottom: clamp(96px, 14vh, 160px); }
.book { display: grid; gap: 22px; max-width: 720px; margin-top: 8px; }
.book__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { padding: 0; font: 500 14px/1.3 var(--sans); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid rgba(32, 25, 20, .28); border-radius: 8px;
  background: rgba(255, 255, 255, .45); color: var(--ink); font: 400 16px/1.4 var(--sans);
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:hover, .field textarea:hover { border-color: rgba(32, 25, 20, .5); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 3px rgba(30, 74, 52, .15); }
.field.is-wrong input, .field.is-wrong textarea { border-color: #9a2b1d; }
.field__error { font-size: 13px; color: #9a2b1d; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice legend { margin-bottom: 8px; width: 100%; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: 11px 17px; border: 1px solid rgba(32, 25, 20, .28); border-radius: 8px;
  font-size: 15px; line-height: 1.3; transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.choice label:hover span { border-color: var(--green); }
.choice input:checked + span { background: var(--green); border-color: var(--green); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
.book__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.book__send .btn { margin-top: 0; border: 0; cursor: pointer; }
.book__note { margin: 0; max-width: 40ch; font-size: 14px; line-height: 1.5; color: rgba(32, 25, 20, .6); }
.book__note a { color: var(--green); }
.book__thanks { margin: 0; font: 400 22px/1.3 var(--serif); color: var(--green); }
@media (max-width: 600px) { .book__pair { grid-template-columns: 1fr; } }

/* ---------- Contact in two halves (14 Nov) ----------
   The ways in and the office on the left, the form on the right, one hairline across the top. The left half
   stays put while the form is filled in. The form is lines, not boxes: each field is a rule to write on, and
   the choices are small rings that fill. Only the Send button is solid. */
.contact--halves { padding-bottom: clamp(96px, 14vh, 160px); }
.c-halves { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 7vw, 112px); padding-top: clamp(32px, 5vh, 48px); border-top: 1px solid rgba(32, 25, 20, .16); }
.c-halves .ab-row__label { margin: 0 0 20px; }
.c-left { position: sticky; top: 104px; align-self: start; }
.c-office { margin-top: clamp(40px, 6vh, 64px); }
.c-halves .reach__rows { max-width: none; }
.c-halves .reach__row { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 6px 24px; padding: 20px 0 22px; }
.c-halves .reach__name { font-size: clamp(24px, 2.1vw, 30px); }
.c-halves .reach__rows .reach__val { font-size: clamp(17px, 1.35vw, 19px); }
.c-halves .reach__note { font-size: 14px; }
.c-halves .ab-ledger div { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 24px; padding: 14px 0; }
.c-halves .ab-ledger a { display: table; margin: 4px 0 0; }
.c-halves .ab-now { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 0; padding: 0; border-radius: 0; background: none; font-size: 15px; color: var(--green); }
.c-halves .ab-now[hidden] { display: none; }
.c-halves .ab-now::before { content: ""; flex: none; margin-top: .52em; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.c-halves .ab-now.is-closed { color: rgba(32, 25, 20, .6); }
.c-halves .ab-now.is-closed::before { background: none; box-shadow: inset 0 0 0 1px currentColor; }

.c-book .ab-big { margin: 0 0 clamp(28px, 4vh, 40px); max-width: 30ch; font-size: clamp(20px, 1.6vw, 24px); }
.c-book .book { gap: 30px; max-width: none; margin: 0; }
.c-book .book__pair { gap: 30px clamp(24px, 3vw, 40px); }
.c-book .field { gap: 2px; }
.c-book .field__label { font-weight: 400; font-size: 14px; color: rgba(32, 25, 20, .66); }
.c-book .field input, .c-book .field textarea {
  padding: 8px 0 10px; border: 0; border-bottom: 1px solid rgba(32, 25, 20, .34); border-radius: 0;
  background: none; font-size: 18px; transition: border-color .2s ease, box-shadow .2s ease;
}
.c-book .field textarea { min-height: 92px; }
.c-book .field input:hover, .c-book .field textarea:hover { border-color: var(--ink); }
.c-book .field input:focus, .c-book .field textarea:focus { background: none; border-color: var(--green); box-shadow: 0 1px 0 var(--green); }
.c-book .field.is-wrong input, .c-book .field.is-wrong textarea { border-color: #9a2b1d; box-shadow: 0 1px 0 #9a2b1d; }
.c-book .field__error { margin-top: 6px; }
.c-book .choice { gap: 0 28px; }
.c-book .choice legend { margin-bottom: 2px; }
.c-book .choice input { position: absolute; }
.c-book .choice span { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 17px; color: rgba(32, 25, 20, .8); }
.c-book .choice span::before { content: ""; flex: none; width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(32, 25, 20, .5); transition: box-shadow .2s ease; }
.c-book .choice label:hover span { color: var(--ink); }
.c-book .choice label:hover span::before { box-shadow: inset 0 0 0 1px var(--green); }
.c-book .choice input:checked + span { background: none; color: var(--ink); }
.c-book .choice input:checked + span::before { box-shadow: inset 0 0 0 4.5px var(--green); }
.c-book .check { align-items: flex-start; font-size: 16px; line-height: 1.4; }
.c-book .check input { flex: none; margin-top: 2px; width: 18px; height: 18px; }
.c-book .book__send { margin-top: 4px; }
.book__send .btn--line { background: none; color: var(--green); box-shadow: inset 0 0 0 1px var(--green); transition: background .3s ease; }
.book__send .btn--line:hover { background: rgba(30, 74, 52, .08); }
@media (max-width: 900px) {
  .c-halves { grid-template-columns: 1fr; }
  .c-left { display: contents; }
  .c-ways { order: 1; }
  .c-book { order: 2; margin-top: clamp(48px, 8vh, 72px); }
  .c-office { order: 3; margin-top: clamp(48px, 8vh, 72px); }
}
@media (max-width: 600px) {
  .c-halves .reach__row { grid-template-columns: 1fr; }
  .c-halves .ab-ledger div { grid-template-columns: 1fr; gap: 4px; }
}

/* The page pulls up to a lower level and down to a higher one (Home, then the menu pages, then everything under
   them; cross-document view transitions, assets/js/vt.js marks "up" or "down" and skips moves within a level).
   The new page slides in whole over the old one, which gives way a little. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition { background: var(--paper); } /* what shows behind the pages as they move: paper, not the browser's white */
/* Every value is written out, with no variables inside the keyframes and only transform moving, so Safari can hand
   the whole move to the compositor (variables and calc() in keyframes kept WebKit drawing it frame by frame).
   The pull: the iOS sheet curve at 650ms, the old page gives way 10%. */
@keyframes gml-from-below { from { transform: translate3d(0, 100%, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes gml-from-above { from { transform: translate3d(0, -100%, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes gml-give-up { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -10%, 0); } }
@keyframes gml-give-down { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 10%, 0); } }
html:active-view-transition-type(up)::view-transition-new(root) { animation: gml-from-below .65s cubic-bezier(.32, .72, 0, 1) both; }
html:active-view-transition-type(up)::view-transition-old(root) { animation: gml-give-up .65s cubic-bezier(.32, .72, 0, 1) both; }
html:active-view-transition-type(down)::view-transition-new(root) { animation: gml-from-above .65s cubic-bezier(.32, .72, 0, 1) both; }
html:active-view-transition-type(down)::view-transition-old(root) { animation: gml-give-down .65s cubic-bezier(.32, .72, 0, 1) both; }
::view-transition-old(root), ::view-transition-new(root) { will-change: transform; }
html:active-view-transition-type(up)::view-transition-new(root),
html:active-view-transition-type(down)::view-transition-new(root) { box-shadow: 0 0 40px rgba(32, 25, 20, .14); }

/* 9 Nov. Questions on a visa page (the notice-to-cancel page first): each question an h3, the answer under it. */
.visa-qa { border-top: 1px solid rgba(32, 25, 20, .16); }
.visa-qa h3 { margin: 0; padding: 18px 0 6px; font: 400 clamp(20px, 1.6vw, 24px)/1.25 var(--serif); }
.visa-qa p { margin: 0; padding-bottom: 18px; max-width: 60ch; font-size: 16px; line-height: 1.55; color: rgba(32, 25, 20, .78); border-bottom: 1px solid rgba(32, 25, 20, .16); }
.visa-steps a { color: var(--green); text-underline-offset: 3px; }

/* 9 Nov. The privacy policy: the article column, with closer sections than an article. */
.legal .post__body h2 { margin-top: clamp(48px, 7vh, 72px); }
.legal .post__body h3 { margin: 28px 0 10px; font: 500 15px/1.4 var(--sans); }
.legal .post__body .legal__contact { max-width: 640px; margin-bottom: clamp(72px, 10vh, 120px); }
.legal .post__body .legal__contact a { margin-left: 0; }
