@font-face { font-family: "Archivo"; src: url("fonts/archivo.ttf") format("truetype"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }

:root {
  --ink: #323339;
  --ink-soft: #55565E;
  --peri: #9399E2;
  --peri-deep: #5A60C4;
  --ground: #FFFFFF;
  --tint: #EEEEEF;
  --pad: clamp(20px, 5vw, 80px);
  --hh: 80px;
  --sans: "Archivo", sans-serif;
  --head: "Bodoni Moda", serif;
  --display: "Bodoni Moda", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; padding: 0; background: var(--ground); }
body { font: 400 17px/1.7 var(--sans); color: var(--ink-soft); -webkit-font-smoothing: antialiased; text-wrap: pretty; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 700; color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }

/* ---------- reading progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--peri); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); z-index: 60; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); border-bottom: 1px solid transparent; transition: border-color 200ms ease, transform 260ms ease; }
.site-header.is-scrolled { border-bottom-color: rgba(50,51,57,.1); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--pad); transition: padding 200ms ease; }
.site-header.is-scrolled .bar { padding-top: 10px; padding-bottom: 10px; }
.site-header .logo img { width: 250px; height: auto; transition: width 200ms ease; }
.site-header.is-scrolled .logo img { width: 220px; }
.nav { display: flex; align-items: center; gap: 6px 28px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--peri); transform: scaleX(0); transform-origin: 0 50%; transition: transform 180ms ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.tel { color: var(--peri-deep); }
.nav a.btn { margin-left: 8px; padding: 13px 22px; color: var(--ground); }
.nav .btn::after { display: none; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin: -10px; cursor: pointer; color: var(--ink); font: 500 15px/1 var(--sans); }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px; background: var(--ground); border-bottom: 1px solid rgba(50,51,57,.1); }
  .nav.is-open { display: flex; }
  .nav a { font-size: 20px; padding: 14px 0; }
  .nav a::after { display: none; }
  .nav a.tel { display: none; }
  .nav a.btn { margin: 12px 0 0; justify-content: center; padding: 16px 22px; }
  .site-header .logo img, .site-header.is-scrolled .logo img { width: 180px; }
}
@media (min-width: 981px) and (max-width: 1180px) { .nav a.tel { display: none; } }

/* ---------- fixed call bar (phones) ---------- */
.call-bar { display: none; }
@media (max-width: 860px) {
  .site-footer { padding-bottom: 80px; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(246,246,251,.3); }
  .call-bar a { display: flex; gap: 10px; align-items: center; justify-content: center; gap: 10px; min-height: 60px; font: 500 16px/1 var(--sans); background: var(--ink); color: var(--ground); }
  .call-bar a.alt { background: var(--peri-deep); }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; border-radius: 4px; background: var(--ink); color: var(--ground) !important; font: 500 15px/1 var(--sans); letter-spacing: .02em; transition: background 150ms ease, color 150ms ease; }
.btn:hover { background: var(--peri-deep); }
.btn.light { background: var(--ground); color: var(--ink) !important; }
.btn.light:hover { background: var(--peri); }
.btn .arrow { transition: transform 150ms ease; }
.btn:hover .arrow { transform: translateX(4px); }
.link { font-weight: 500; color: var(--ink); border-bottom: 2px solid var(--peri); padding-bottom: 4px; transition: color 150ms ease; }
.link:hover { color: var(--peri-deep); }

/* ---------- type ---------- */
.kicker { font: 500 13px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--peri-deep); }
.dark .kicker { color: var(--peri); }
.h-xl { font-size: clamp(46px, 7.2vw, 108px); line-height: .98; letter-spacing: -.02em; }
.h-lg { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.05; letter-spacing: -.015em; }
.h-md { font-size: clamp(28px, 3vw, 44px); line-height: 1.12; letter-spacing: -.01em; }
.serif { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.6; color: var(--ink); }
.stack > * + * { margin-top: 22px; }
.dark { background: var(--ink); color: rgba(246,246,251,.78); }
.dark h1, .dark h2, .dark h3, .dark .lede { color: var(--ground); }
.lilac, .tint { background: var(--tint); }
.peri { background: var(--peri); }

/* ---------- the g mark, large and cropped, once per page ---------- */
/* source art is 202x328, so it is never drawn much wider than 1.6x */
.gmark { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); width: clamp(200px, 22vw, 320px); height: auto; pointer-events: none; user-select: none; }
@media (max-width: 860px) { .gmark { width: 180px; right: -50px; top: 0; transform: none; opacity: .45; } }

/* ---------- split panels (photo half / text half) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split.flip > .media { order: 2; }
.split > .media { position: relative; aspect-ratio: 4 / 5; min-height: 0; overflow: hidden; }
.split > .media:not(.mark) img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split > .text { padding: clamp(48px, 6vw, 96px) var(--pad); display: flex; flex-direction: column; justify-content: center; }
.split > .text.top { justify-content: flex-start; }
.split .text .measure { max-width: 34em; }
.split > .media.mark { background: var(--ink); aspect-ratio: auto; min-height: 420px; }
.split > .media.mark .gmark { width: min(70%, 320px); right: 12%; top: 50%; transform: translateY(-50%); opacity: 1; }
@media (min-width: 861px) {
  .split > .media.sticky { position: sticky; top: var(--hh); height: calc(100vh - var(--hh)); aspect-ratio: auto; align-self: start; }
  .split.flip > .text { grid-column: 1; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.flip > .media { order: 0; }
  .split > .media.wide { aspect-ratio: 16 / 10; }
  .split > .media.mark { min-height: 0; aspect-ratio: 16 / 9; }
  .split > .media.mark .gmark { width: 34%; right: 8%; }
}

/* ---------- home hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: calc(100vh - var(--hh)); background: var(--ground); }
.hero .text { padding: clamp(40px, 6vw, 96px) var(--pad); display: flex; flex-direction: column; justify-content: center; }
.hero .media { position: relative; overflow: hidden; }
.hero .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero .media.open { clip-path: inset(var(--clip, 0px) round calc(var(--clip, 0px) * .7)); }
.hero .media.open img { transform: scale(var(--zoom, 1)); transform-origin: 50% 30%; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero .text { display: contents; }
  .hero .head { order: 1; padding: 36px var(--pad) 28px; }
  .hero .media { order: 2; aspect-ratio: 4 / 5; }
  .hero .body { order: 3; padding: 32px var(--pad) 48px; }
  .hero .body .lede { margin-top: 0 !important; }
  .hero .actions { margin-top: 28px; }
}

/* page hero without photo */
.page-hero { padding: clamp(64px, 9vw, 140px) var(--pad) clamp(48px, 6vw, 96px); position: relative; overflow: hidden; }
.page-hero > * { position: relative; }
.page-hero > .gmark { position: absolute; }
.block { padding: clamp(64px, 8vw, 120px) var(--pad); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(32px, 5vw, 96px); align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--ground); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.cta { padding: clamp(64px, 8vw, 120px) var(--pad); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta h2 { max-width: 16ch; }

/* ---------- scrolling words band ---------- */
.band { overflow: hidden; padding: 18px 0; white-space: nowrap; background: var(--tint); border-block: 1px solid rgba(50,51,57,.08); }
.band .track { display: inline-flex; align-items: center; font: 400 clamp(17px, 1.6vw, 22px)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); transform: translateX(var(--x, 0)); will-change: transform; }
.band .track span { display: inline-flex; align-items: center; }
.band .track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--peri); margin: 0 1.6em; }

/* ---------- practices list ---------- */
.practices { padding: clamp(64px, 9vw, 140px) var(--pad); position: relative; overflow: hidden; }
.practices > * { position: relative; }
.practices > .gmark { position: absolute; top: 0; transform: translateY(-28%); }
.practices .intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
@media (max-width: 860px) { .practices .intro { grid-template-columns: 1fr; } }
.practice { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 12px 40px; align-items: center; padding: clamp(24px, 3vw, 40px) clamp(0px, 2vw, 32px); border-top: 1px solid rgba(50,51,57,.16); transition: background 200ms ease, padding 200ms ease; }
.practice:last-child { border-bottom: 1px solid rgba(50,51,57,.16); }
.practice h3 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -.01em; }
.practice .status { font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--peri-deep); margin-top: 12px; display: block; }
.practice .go { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--ground); font-size: 22px; transition: transform 200ms ease, background 200ms ease; }
.practice:hover { background: var(--tint); }
.practice.is-open { background: var(--tint); }
.practice.is-open .go { background: var(--peri-deep); }
.practice:not(.is-open) h3 { font-size: clamp(24px, 2.9vw, 41px); color: var(--ink-soft); }
.practice:not(.is-open) .go { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.practice:not(.is-open):hover .go { background: var(--ink); color: var(--ground); }
.practice:hover .go { background: var(--peri-deep); transform: rotate(-45deg); }
@media (max-width: 860px) { .practice { grid-template-columns: 1fr auto; } .practice p { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- prices ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; background: rgba(50,51,57,.12); }
.price { background: var(--ground); padding: 32px 28px; }
.price .name { font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--peri-deep); }
.price .amt { font: 600 clamp(36px, 3.4vw, 52px)/1 var(--sans); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; color: var(--ink); margin-top: 18px; }
.price .amt small { font-size: .62em; font-weight: 500; letter-spacing: 0; margin-right: 4px; vertical-align: .12em; color: var(--ink-soft); font-family: var(--sans); }
@media (max-width: 640px) { .prices { grid-template-columns: 1fr; } .price { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 20px; } .price .amt { margin: 0; } }

/* ---------- class list ---------- */
.rows { margin-top: 20px; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(50,51,57,.14); }
.rows > div:last-child { border-bottom: 1px solid rgba(50,51,57,.14); }
.rows .k { font-weight: 500; color: var(--ink); font-size: 18px; }
.rows .v { color: var(--ink-soft); text-align: right; }
.dark .rows .k { color: var(--ground); }
.dark .rows .v { color: rgba(246,246,251,.7); }
.dark .rows .soon { color: var(--peri); }
.dark .rows > div { border-color: rgba(246,246,251,.18); }
.rows .soon { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--peri-deep); }

/* ---------- big image band ---------- */
.photo-band { position: relative; aspect-ratio: 1280 / 516; max-height: 72vh; width: 100%; overflow: hidden; display: flex; align-items: flex-end; }
.photo-band img { position: absolute; inset: -5% 0; width: 100%; height: 110%; object-fit: cover; transform: translateY(var(--py, 0)); will-change: transform; }
.photo-band::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(180deg, rgba(50,51,57,0) 0%, rgba(50,51,57,.6) 45%, rgba(50,51,57,.88) 100%); }
.photo-band .inner { position: relative; z-index: 1; padding: clamp(40px, 6vw, 96px) var(--pad); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; width: 100%; }
.photo-band h2 { color: var(--ground); max-width: 16ch; }
@media (max-width: 860px) { .photo-band { aspect-ratio: auto; max-height: none; background: var(--ink); } .photo-band img, .photo-band::after { display: none; } }

/* ---------- read-fill text ---------- */
.fill .w { color: rgba(50,51,57,.5); transition: color 120ms linear; }
.fill .w.on { color: var(--ink); }
.dark .fill .w { color: rgba(246,246,251,.45); }
.dark .fill .w.on { color: var(--ground); }

/* ---------- contact ---------- */
.details > div { display: grid; grid-template-columns: 150px 1fr; gap: 6px 24px; padding: 13px 0; border-top: 1px solid rgba(50,51,57,.14); }
.details > div:last-child { border-bottom: 1px solid rgba(50,51,57,.14); }
.details .k { font: 500 13px/1.9 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--peri-deep); }
.details .v { color: var(--ink); font-size: 17px; }
.details a.v:hover { color: var(--peri-deep); }
@media (max-width: 520px) { .details > div { grid-template-columns: 1fr; } }
form.enquiry { display: flex; flex-direction: column; gap: 16px; }
.split.contact > .text { padding: clamp(40px, 5vw, 72px) var(--pad); }
.split.contact .h-md { font-size: clamp(24px, 2.2vw, 32px); }
form.enquiry label { display: flex; flex-direction: column; gap: 8px; }
form.enquiry .lbl { font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
form.enquiry input, form.enquiry textarea { font: 400 16px/1.5 var(--sans); color: var(--ink); background: var(--ground); border: 1px solid rgba(50,51,57,.22); border-radius: 4px; padding: 12px 16px; outline: none; transition: border-color 150ms ease, box-shadow 150ms ease; }
form.enquiry input:focus, form.enquiry textarea:focus { border-color: var(--peri-deep); box-shadow: 0 0 0 3px rgba(147,153,226,.35); }
form.enquiry button { border: 0; cursor: pointer; align-self: flex-start; }
.hidden { position: absolute; left: -9999px; }
.map { display: block; width: 100%; height: clamp(300px, 36vw, 440px); border: 0; filter: grayscale(.4); }
.map-note { padding: 14px var(--pad); font-size: 14px; color: var(--ink-soft); border-top: 1px solid rgba(50,51,57,.1); }

/* ---------- footer ---------- */
.site-footer { background: var(--tint); color: var(--ink-soft); padding: 40px var(--pad) 20px; border-top: 1px solid rgba(50,51,57,.08); font-size: 15px; }
.site-footer .top { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr; gap: 28px clamp(24px, 4vw, 64px); align-items: start; }
.site-footer .brand img { width: 220px; height: auto; }
.site-footer .big { margin-top: 14px; font: 600 clamp(18px, 1.6vw, 22px)/1.25 var(--head); color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; line-height: 1.4; }
.site-footer .contact a { display: inline-flex; align-items: center; gap: 10px; }
.site-footer .contact .ico { color: var(--peri-deep); flex: none; }
.site-footer a:hover { color: var(--peri-deep); }
.site-footer .base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(50,51,57,.1); font-size: 13px; }
.site-footer .base a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer .base .ico { width: 15px; height: 15px; color: var(--peri-deep); }
@media (max-width: 860px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ---------- icons ---------- */
.ico { display: inline-block; vertical-align: middle; flex: none; }
.btn .ico { margin-right: -2px; }
.details .k { display: inline-flex; align-items: center; gap: 10px; }
.details .k .ico { color: var(--peri-deep); }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.light-line { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.light-line:hover { background: var(--ink); color: var(--ground) !important; }

/* ---------- happiness line: "Achieve Happiness," never breaks ---------- */
.nb { white-space: nowrap; }
.happy { font-size: clamp(25px, 3.5vw, 56px); }
@media (max-width: 860px) { .happy { font-size: min(7.6vw, 44px); } }

/* ---------- prices ---------- */
.price-note { margin-top: 10px; color: var(--ink-soft); }
.price .per { display: block; margin-top: 10px; font: 400 14px/1 var(--sans); letter-spacing: .02em; color: var(--ink-soft); }
@media (max-width: 640px) { .price .per { display: inline; margin: 0 0 0 8px; } }

/* ---------- coming-soon pages: text on white, the g large at the edge ---------- */
.intro-hero { min-height: 72vh; display: flex; align-items: center; }
.intro-hero .measure { max-width: 36em; }
.intro-hero > .gmark { width: clamp(220px, 26vw, 380px); right: 6%; }
@media (max-width: 860px) { .intro-hero { min-height: 0; flex-direction: column; align-items: flex-start; } .intro-hero > .gmark { position: static; order: 2; width: 120px; margin: 32px auto 0; opacity: 1; transform: none; } }

/* ---------- About: softer ---------- */
.page-about .lede { font-weight: 300; }
.quote { font: italic 400 clamp(24px, 2.4vw, 36px)/1.35 var(--head); color: var(--ink); text-wrap: balance; }
.page-about .kicker { letter-spacing: .2em; }

/* ---------- round 4: Claude Design review ---------- */
/* Colour roles: #323339 titles, secondary buttons. #55565E body. #5A60C4 labels, links, booking buttons.
   #9399E2 marks and rules only, never text. #EEEEEF never touching another tint block or the footer. */
.h-lg, .h-md, .quote, .site-footer .big { font-variation-settings: "opsz" 36; }
.name { font-family: var(--head); font-weight: 400; letter-spacing: -.01em; }
/* About statements: large, upright, soft; fill in as you read */
.statement { font: 400 clamp(26px, 2.8vw, 42px)/1.3 var(--sans); letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.dark .statement { color: var(--ground); }
.happy-hero { font-size: clamp(34px, 4.2vw, 64px); line-height: 1.04; }
@media (max-width: 860px) { .happy-hero { font-size: min(8.4vw, 44px); } }
.facts { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; margin-top: 22px; font: 500 17px/1.5 var(--sans); color: var(--ink); }
.facts .status { color: var(--peri-deep); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
a.facts { border-bottom: 2px solid var(--peri); padding-bottom: 3px; }
a.facts:hover { color: var(--peri-deep); }
.facts.static { margin-top: 0; }
.hero .body .lede { margin-top: 32px; }
.btn.book { background: var(--peri-deep); color: #fff !important; }
.btn.book:hover { background: var(--ink); }
.dark .btn.book:hover { background: var(--ground); color: var(--ink) !important; }
.partner { display: flex; align-items: center; gap: 16px; margin-top: 32px !important; padding-top: 20px; border-top: 1px solid rgba(50,51,57,.14); }
.partner img { width: 120px; height: auto; flex: none; }
.partner p { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.small-print { margin-top: 18px; font-size: 15px; color: var(--ink-soft); max-width: 40em; }
.classes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 5vw, 96px); align-items: start; }
.classes-grid > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 861px) { .classes-grid > img { position: sticky; top: calc(var(--hh) + 24px); } }
@media (max-width: 860px) { .classes-grid { grid-template-columns: 1fr; } }
.cta .actions-row { justify-content: flex-end; }
.band.on-white { background: var(--ground); }
.interest-block { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); }
.interest-block .measure { max-width: 40em; }
form.interest .form-title { font: 700 clamp(22px, 2vw, 28px)/1.2 var(--head); color: var(--ink); font-variation-settings: "opsz" 36; }
form.interest .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { form.interest .row { grid-template-columns: 1fr; } }
form.enquiry select { font: 400 16px/1.5 var(--sans); color: var(--ink); background: var(--ground); border: 1px solid rgba(50,51,57,.22); border-radius: 4px; padding: 12px 16px; }
form.enquiry select:focus { border-color: var(--peri-deep); outline: none; box-shadow: 0 0 0 3px rgba(147,153,226,.35); }
.split > .media.logo-panel { display: grid; place-items: center; }
.split > .media.logo-panel img { position: static; width: min(62%, 320px); height: auto; object-fit: contain; }
@media (max-width: 860px) {
  .split > .media.logo-panel { aspect-ratio: 16 / 9; }
  .call-dup { display: none !important; }
}

/* ---------- reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* photos settle: a slight zoom that eases out as the photo arrives */
  .js .reveal-img { clip-path: inset(12% 0 0 0); scale: 1.06; transition: clip-path 900ms cubic-bezier(.2,.7,.1,1), scale 1600ms cubic-bezier(.2,.7,.1,1); }
  .js .reveal-img.in { clip-path: inset(0 0 0 0); scale: 1; }
  /* headings: each line slides up from behind its own edge, once */
  .js .lines .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
  .js .lines .ln > span { display: inline-block; translate: 0 105%; transition: translate 800ms cubic-bezier(.2,.7,.1,1); transition-delay: var(--d, 0ms); }
  .js .lines.in .ln > span { translate: 0 0; }
  /* phones: photos scroll a touch slower than the page, so sections slide over each other */
  @media (max-width: 860px) {
    .split > .media:not(.logo-panel) img { top: -6%; bottom: auto; height: 112%; translate: 0 var(--my, 0px); }
  }
  .js .rise { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.1,1); }
  .js .rise.in { opacity: 1; transform: none; }
}

/* ---------- the big g: one size, one place, on every page that has it ----------
   Right edge on the page gutter (lines up with the nav button), centred in the hero,
   never taller than ~2/3 of the hero so the headline stays the first read.
   Phones: below the text, small, never behind words. */
.has-g { position: relative; }
.has-g > .gmark { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); width: clamp(160px, 17vw, 250px); opacity: 1; }
@media (max-width: 860px) {
  .has-g { min-height: 0; }
  .has-g > .gmark { display: none; }
}

/* ---------- phones: compact footer, aligned CTAs, uncropped class photo ---------- */
.classes-grid > img { height: auto; }
@media (max-width: 860px) {
  .site-footer { padding-top: 28px; padding-bottom: 84px; }
  .site-footer .top { grid-template-columns: 1fr; gap: 20px; }
  .site-footer .brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .site-footer .brand img { width: 150px; }
  .site-footer .big { margin: 0; font-size: 16px; text-align: right; max-width: 11em; }
  .site-footer .pages { display: none; }
  .site-footer .contact { display: flex; flex-wrap: wrap; gap: 10px; }
  .site-footer .contact a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--ground); }
  .site-footer .contact a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-footer .contact .ico { width: 20px; height: 20px; }
  .site-footer .base { margin-top: 20px; flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 600px) {
  .cta { flex-direction: column; align-items: stretch; }
  .actions-row { flex-direction: column; align-items: stretch; }
  .actions-row .btn, .cta .actions-row .btn { justify-content: center; }
  .cta .actions-row { justify-content: flex-start; }
}
