/*
  Chrisamol Global: shared styles for every page.
  Built on the free "Kitfell" website template by 8B: https://8b.com/templates/kitfell/
  MIT License (code), see LICENSE. Fonts: Google Fonts (OFL).
*/
@layer tokens, base, atoms, layout, sections, scenes;

/* ---------- Fonts ---------- */

/* ---------- Tokens ---------- */
@layer tokens {
:root {
  --color-1: #ECF1F5;
  --color-2: #06132E;
  --color-3: #2B3BFF;
  --color-4: #B4DDF8;
  --color-5: #FFFFFF;
  --color-6: #4C5A70;
  --color-7: #A7B4CA;
  --color-8: #DDEBF6;
  --font-1: "Sora", "Helvetica Neue", Arial, sans-serif;
  --font-2: "Inter", "Helvetica Neue", Arial, sans-serif;
  --radius-1: 999px;
  --radius-2: 28px;
  --radius-3: 18px;
  --shadow-1: 0 34px 60px -34px color-mix(in srgb, var(--color-2) 55%, transparent);
  --shadow-2: 0 0 0 6px var(--color-3);
  --space-1: clamp(16px, 3.2vw, 44px);
  --space-2: clamp(96px, 11vw, 168px);
}
}

/* ---------- Base ---------- */
@layer base {
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--color-1); color: var(--color-2); overflow-x: clip; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--color-3); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: var(--radius-1); background: var(--color-5); color: var(--color-2); }
.skip:focus-visible { top: 12px; }
}

/* ---------- Atoms (from the template's design system) ---------- */
@layer atoms {
.m-text { font-family: var(--font-2); font-size: 17px; font-weight: 400; line-height: 1.55; }
.m-text-2 { font-family: var(--font-1); font-size: clamp(34px, 4.2vw, 60px); font-weight: 400; line-height: 1.05; letter-spacing: -0.04em; }
.m-text-3 { font-family: var(--font-1); font-size: 120px; font-weight: 700; line-height: 0.9; letter-spacing: -0.05em; }
.m-text-4 { font-family: var(--font-1); font-size: 23px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.m-text-5 { font-family: var(--font-2); font-size: 14px; font-weight: 500; line-height: 1.35; letter-spacing: 0.01em; }
.m-text-6 { font-family: var(--font-1); font-size: clamp(26px, 3vw, 42px); font-weight: 400; line-height: 1.12; letter-spacing: -0.035em; }
.m-text-7 { font-family: var(--font-2); font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--color-6); }
.m-text-8 { font-family: var(--font-2); font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--color-7); }

.m-btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 16px; min-height: 56px; padding: 6px 6px 6px 26px; border: 0; border-radius: var(--radius-1); background: var(--color-5); color: var(--color-2); font-family: var(--font-2); font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; overflow: hidden; cursor: pointer; box-shadow: var(--shadow-1); }
.m-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-3); clip-path: circle(22px at calc(100% - 28px) 50%); transition: clip-path 0.6s cubic-bezier(0.7, 0, 0.2, 1); }
.m-btn__label { white-space: nowrap; transition: color 0.35s ease 0.08s; }
.m-btn__disc { display: grid; place-items: center; width: 44px; height: 44px; flex: none; color: var(--color-5); }
.m-btn__disc svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1); }
@media (hover: hover) {
  .m-btn:hover::before { clip-path: circle(150% at calc(100% - 28px) 50%); }
  .m-btn:hover .m-btn__label { color: var(--color-5); }
  .m-btn:hover .m-btn__disc svg { transform: translateX(4px); }
}

.m-round { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--color-8); color: var(--color-2); overflow: hidden; text-decoration: none; cursor: pointer; transition: background-color 0.3s, color 0.3s; }
.m-round svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .m-round:hover { background: var(--color-3); color: var(--color-5); }
  .m-round:hover svg { animation: m-round-cross 0.55s cubic-bezier(0.7, 0, 0.2, 1); }
}
@keyframes m-round-cross { 45% { transform: translateX(140%); } 46% { transform: translateX(-140%); } 100% { transform: translateX(0); } }

.m-link { color: inherit; text-decoration: none; background: linear-gradient(var(--color-8), var(--color-8)) 0 100% / 100% 2px no-repeat; padding: 0 2px; transition: background-size 0.45s cubic-bezier(0.7, 0, 0.2, 1); }
@media (hover: hover) { .m-link:hover { background-size: 100% 100%; } }
.m-link-3 { color: inherit; text-decoration: none; background: linear-gradient(var(--color-3), var(--color-3)) 0 100% / 100% 2px no-repeat; padding: 0 2px; transition: background-size 0.45s cubic-bezier(0.7, 0, 0.2, 1); }
@media (hover: hover) { .m-link-3:hover { background-size: 100% 100%; } }
.m-link-2 { position: relative; isolation: isolate; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-1); overflow: hidden; background: color-mix(in srgb, var(--color-5) 80%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--color-2); font-family: var(--font-2); font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; transition: color 0.3s ease 0.05s; }
.m-link-2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-3); clip-path: inset(calc(100% - 3px) 22% 0 22%); opacity: 0; transition: clip-path 0.45s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.2s; }
.m-link-2[aria-current="page"]::before { opacity: 1; }
@media (hover: hover) {
  .m-link-2:hover { color: var(--color-5); }
  .m-link-2:hover::before { clip-path: inset(0 0 0 0); opacity: 1; }
}

.m-surface { background: var(--color-5); color: var(--color-2); border-radius: var(--radius-2); box-shadow: var(--shadow-1); }
.m-surface-2 { background: color-mix(in srgb, var(--color-5) 7%, var(--color-2)); color: var(--color-5); border-radius: var(--radius-2); border: 1px solid color-mix(in srgb, var(--color-5) 12%, transparent); }
.m-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border-radius: var(--radius-1); background: var(--color-8); color: var(--color-2); font-family: var(--font-2); font-size: 13px; font-weight: 500; line-height: 1.2; }
.m-badge-2 { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border-radius: var(--radius-1); background: color-mix(in srgb, var(--color-5) 10%, transparent); color: var(--color-5); font-family: var(--font-2); font-size: 13px; font-weight: 500; line-height: 1.2; }
.m-field { min-height: 56px; width: 100%; padding: 0 24px; border: 1px solid color-mix(in srgb, var(--color-5) 35%, transparent); border-radius: var(--radius-1); background: color-mix(in srgb, var(--color-5) 6%, transparent); color: inherit; font-family: var(--font-2); font-size: 16px; font-weight: 400; line-height: 1.2; }
.m-field::placeholder { color: var(--color-7); }
}

/* ---------- Navigation ---------- */
@layer sections {
#navigation { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px var(--space-1); pointer-events: none; transition: transform 0.5s cubic-bezier(0.6, 0, 0.2, 1); }
#navigation > * { pointer-events: auto; }
#navigation.is-hidden { transform: translateY(-120%); }
#navigation :focus-visible { outline: 2px solid var(--color-5); outline-offset: 2px; box-shadow: var(--shadow-2); }
#navigation .nav-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px 0 16px; border-radius: var(--radius-1); background: var(--color-5); color: var(--color-2); font-family: var(--font-1); font-size: 20px; font-weight: 700; letter-spacing: -0.04em; text-decoration: none; }
#navigation .nav-logo svg { width: 30px; height: 24px; flex: none; }
#navigation .nav-links ul { display: flex; gap: 6px; }
#navigation .nav-end { display: flex; align-items: center; gap: 8px; }
#navigation .nav-menu { display: none; background: var(--color-5); width: 48px; height: 48px; }
@media (max-width: 900px) {
  #navigation .nav-menu { display: inline-grid; }
  #navigation .nav-cta { min-height: 48px; padding-left: 20px; }
  #navigation .nav-cta .m-btn__disc { width: 36px; height: 36px; }
  #navigation .nav-cta::before { clip-path: circle(18px at calc(100% - 24px) 50%); }
  #navigation .nav-links { position: fixed; inset: 0; z-index: -1; display: grid; align-content: center; padding: 96px var(--space-1) 48px; background: var(--color-2); visibility: hidden; opacity: 0; transition: opacity 0.35s, visibility 0s linear 0.35s; }
  #navigation .nav-links ul { flex-direction: column; align-items: flex-start; gap: 12px; }
  #navigation .nav-links .m-link-2 { min-height: 64px; padding: 0 28px; font-size: 26px; }
  #navigation.is-open .nav-links { visibility: visible; opacity: 1; transition: opacity 0.35s; }
  #navigation.is-open { transform: none; }
}
@media (max-width: 900px) and (hover: hover) {
  #navigation .nav-cta:hover::before { clip-path: circle(150% at calc(100% - 24px) 50%); }
}
@media (max-width: 480px) {
  #navigation .nav-cta { display: none; }
}
@media (max-width: 380px) {
  #navigation .nav-logo { padding: 0 16px 0 12px; font-size: 20px; }
}
}

/* ---------- Opening (first screen of each page) ---------- */
@layer sections {
#opening { position: relative; background: var(--color-1); }
#opening .op-track { position: absolute; inset: 0; }
#opening .op-stage { position: sticky; top: 0; height: 100svh; overflow: clip; background: var(--color-1); }
#opening .op-window { position: absolute; inset: 120px var(--space-1) 7vh 52%; border-radius: var(--radius-2); overflow: hidden; background: var(--color-2); }
#opening .op-zoom, #opening .op-intro, #opening .op-drift { position: absolute; inset: 0; }
#opening .op-drift { left: -8%; right: -8%; }
#opening .op-photo { width: 100%; height: 100%; object-fit: cover; object-position: var(--op-pos, 50% 32%); }
#opening .op-shade { position: absolute; inset: 0; pointer-events: none; opacity: .3; background: linear-gradient(180deg, color-mix(in srgb, var(--color-2) 42%, transparent), transparent 42%), linear-gradient(0deg, color-mix(in srgb, var(--color-2) 72%, transparent), transparent 58%); }
#opening .op-screen { position: relative; z-index: 1; min-height: 100svh; display: grid; align-content: center; padding: 140px var(--space-1) 10vh; }
#opening .op-copy { max-width: 44%; }
#opening .op-statement { max-width: 14em; }
#opening .op-body { max-width: 34em; margin-top: 24px; }
#opening .op-copy .m-btn { margin-top: 30px; }
@media (prefers-reduced-motion: no-preference) {
  #opening .op-intro { animation: op-settle 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  #opening .op-window { animation: rw-window 1.15s cubic-bezier(.65, 0, .35, 1) backwards; }
  #opening .op-copy > * { animation: op-lift .8s cubic-bezier(.2, .7, .2, 1) .15s backwards; }
  #opening .op-copy > :nth-child(2) { animation-delay: .25s; }
  #opening .op-copy > :nth-child(3) { animation-delay: .35s; }
}
@keyframes op-settle { from { transform: scale(1.07); } }
@keyframes op-lift { from { transform: translateY(28px); } }
@keyframes rw-window { from { clip-path: inset(44% 10% 44% 10% round 999px); } to { clip-path: inset(0 0 0 0 round 28px); } }
@media (max-width: 760px) {
  #opening .op-window { inset: 80px var(--space-1) auto; height: 42svh; }
  #opening .op-screen { align-content: start; padding: calc(108px + 42svh) var(--space-1) 4svh; }
  #opening .op-copy { max-width: none; }
  #opening .op-statement { font-size: 25px; }
  #opening .op-body { margin-top: 14px; font-size: 15px; }
  #opening .op-copy .m-btn { margin-top: 18px; }
}
}

/* ---------- Kit: service cards with a shelf index (home) ---------- */
@layer sections {
#kit { padding: var(--space-2) var(--space-1); }
#kit .kit-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px 5vw; align-items: start; }
#kit .kit-head { position: sticky; top: 18vh; display: grid; justify-items: start; gap: 24px; }
#kit .kit-intro { max-width: 30em; }
#kit .kit-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
#kit .kit-card { position: relative; display: grid; grid-template-rows: auto 1fr; padding: 10px; }
#kit .kit-card__media { aspect-ratio: 5 / 4; border-radius: var(--radius-3); overflow: hidden; background: var(--color-8); }
#kit .kit-card__media img { width: 100%; height: 100%; object-fit: cover; }
#kit .kit-card__media--icon { display: grid; place-items: center; color: var(--color-3); }
#kit .kit-card__media--icon svg { width: 34%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
#kit .kit-card__body { display: grid; align-content: start; gap: 8px; padding: 18px 70px 14px 12px; }
#kit .kit-card__price { margin-top: 6px; color: var(--color-3); }
#kit .kit-card__go { position: absolute; right: 18px; bottom: 18px; }
@media (max-width: 760px) {
  #kit .kit-grid { grid-template-columns: minmax(0, 1fr); }
  #kit .kit-head { position: static; }
  #kit .kit-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
}

/* ---------- Packs: navy band of product cards ---------- */
@layer sections {
#packs { overflow: clip; padding: var(--space-2) var(--space-1); background: var(--color-2); color: var(--color-5); }
#packs :focus-visible { outline-color: var(--color-5); }
#packs .packs-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 6vw; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
#packs .packs-head h2 { max-width: 12em; }
#packs .packs-intro { max-width: 30em; }
#packs .packs-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
#packs .pack { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 22px; padding: 10px; }
#packs .pack__media { min-height: 240px; border-radius: var(--radius-3); overflow: hidden; }
#packs .pack__media img { width: 100%; height: 100%; object-fit: cover; }
#packs .pack__body { display: grid; grid-template-rows: auto 1fr auto; gap: 16px; padding: 14px 8px 6px 0; }
#packs .pack__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 1100px) {
  #packs .packs-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
}
@media (max-width: 760px) {
  #packs .packs-head { grid-template-columns: minmax(0, 1fr); }
  #packs .pack { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #packs .pack__media { min-height: 0; aspect-ratio: 16 / 10; }
  #packs .pack__body { padding: 4px 8px 6px; }
}
}

/* ---------- How: numbered ruled rows (approach, vision, services) ---------- */
@layer sections {
#how { padding: var(--space-2) var(--space-1); }
#how .how-head { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px 6vw; align-items: start; margin-bottom: clamp(56px, 7vw, 96px); }
#how .how-intro { max-width: 17em; }
#how .how-step { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 0.85fr); gap: 16px 4vw; align-items: baseline; padding: 30px 0 34px; border-top: 1px solid color-mix(in srgb, var(--color-2) 16%, transparent); scroll-margin-top: 96px; }
#how .how-step:last-child { border-bottom: 1px solid color-mix(in srgb, var(--color-2) 16%, transparent); }
#how .how-step__num { color: var(--color-3); }
#how .how-step__title { font-size: clamp(34px, 4.4vw, 64px); }
#how .how-step__text { max-width: 30em; font-size: 17px; }
#how .how-step__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
#how.how--services .how-step__title { font-size: clamp(30px, 3.6vw, 52px); }
@media (max-width: 760px) {
  #how .how-head { grid-template-columns: minmax(0, 1fr); }
  #how .how-step { grid-template-columns: 44px minmax(0, 1fr); padding: 24px 0 26px; }
  #how .how-step__text { grid-column: 2; }
}
}

/* ---------- Fitting: held photo frame with stories (team) ---------- */
@layer sections {
#fitting { padding: var(--space-2) var(--space-1); }
#fitting .fit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 6vw; align-items: start; }
#fitting .fit-frame { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#fitting .fit-photo { aspect-ratio: 3 / 4; border-radius: var(--radius-3); overflow: hidden; background: #000; }
#fitting .fit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
#fitting .fit-head { display: grid; justify-items: start; gap: 22px; margin-bottom: 56px; }
#fitting .fit-intro { max-width: 30em; }
#fitting .fit-stories { display: grid; gap: 36px; }
#fitting .fit-story { display: grid; gap: 14px; max-width: 30em; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--color-2) 16%, transparent); }
#fitting .fit-story h3 { font-size: clamp(28px, 2.6vw, 38px); }
#fitting .fit-role { color: var(--color-3); }
@media (max-width: 760px) {
  #fitting .fit-grid { grid-template-columns: minmax(0, 1fr); }
  #fitting .fit-frame { gap: 8px; }
}
}

/* ---------- Care: track of panels with ticks (values) ---------- */
@layer sections {
#care { overflow: clip; background: var(--color-4); }
#care .care-pin { padding: var(--space-2) var(--space-1); }
#care .care-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 6vw; align-items: end; margin-bottom: 48px; }
#care .care-head h2 { max-width: 12em; }
#care .care-intro { max-width: 30em; }
#care .care-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
#care .care-panel { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; box-shadow: none; }
#care .care-panel h3 { max-width: 9em; padding-right: 40px; font-size: clamp(26px, 2.3vw, 32px); }
#care .care-tick { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--color-3); color: var(--color-5); }
#care .care-tick svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
#care .care-step { color: var(--color-3); }
#care .care-photo { margin-top: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-3); overflow: hidden; }
#care .care-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  #care .care-head { grid-template-columns: minmax(0, 1fr); }
  #care .care-track { grid-template-columns: minmax(0, 1fr); }
}
}

/* ---------- Sectors: photo beside ruled rows (about) ---------- */
@layer sections {
#sectors { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px 5vw; align-items: center; padding: var(--space-2) var(--space-1); }
#sectors .sec-photo { aspect-ratio: 4 / 3; border-radius: var(--radius-2); overflow: hidden; background: var(--color-8); }
#sectors .sec-photo img { width: 100%; height: 100%; object-fit: cover; }
#sectors .sec-copy { display: grid; gap: 22px; }
#sectors .sec-intro { max-width: 32em; }
#sectors .sec-list { margin-top: 14px; }
#sectors .sec-list > li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid color-mix(in srgb, var(--color-2) 16%, transparent); }
#sectors .sec-list > li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--color-2) 16%, transparent); }
@media (max-width: 900px) {
  #sectors { grid-template-columns: minmax(0, 1fr); }
  #sectors .sec-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  #sectors .sec-list > li { grid-template-columns: minmax(0, 1fr); }
}
}

/* ---------- Quote band (team) ---------- */
@layer sections {
.quote-band { padding: var(--space-2) var(--space-1); background: var(--color-2); color: var(--color-5); }
.quote-band blockquote p { max-width: 20em; }
.quote-band footer { margin-top: 32px; }
}

/* ---------- Enquiry band + map (contact) ---------- */
@layer sections {
#enquiry { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px 6vw; align-items: start; padding: var(--space-2) var(--space-1); background: var(--color-2); color: var(--color-5); }
#enquiry :focus-visible { outline-color: var(--color-5); }
#enquiry .enq-head { display: grid; gap: 22px; }
#enquiry .enq-details { display: grid; gap: 14px; margin-top: 16px; }
#enquiry .enq-details > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--color-5) 14%, transparent); }
#enquiry .enq-details dt { color: var(--color-7); padding-top: 2px; }
#enquiry .enq-form { display: grid; gap: 12px; }
#enquiry .enq-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
#enquiry select.m-field { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--color-7) 50%), linear-gradient(135deg, var(--color-7) 50%, transparent 50%); background-position: calc(100% - 30px) 50%, calc(100% - 24px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
#enquiry select.m-field option { color: var(--color-2); }
#enquiry textarea.m-field { min-height: 160px; padding: 18px 24px; border-radius: var(--radius-2); resize: vertical; line-height: 1.5; }
#enquiry .enq-form .m-btn { justify-self: start; margin-top: 8px; }
#enquiry .enq-msg { min-height: 1.5em; }
.map-block { padding: var(--space-2) var(--space-1); }
.map-block iframe { display: block; width: 100%; height: clamp(320px, 45vw, 520px); border: 0; border-radius: var(--radius-2); background: var(--color-8); }
@media (max-width: 860px) {
  #enquiry { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  #enquiry .enq-row { grid-template-columns: minmax(0, 1fr); }
}
}

/* ---------- Visit: photo with a contact card ---------- */
@layer sections {
#visit { position: relative; display: grid; align-items: center; justify-items: end; min-height: 100svh; padding: 12vh var(--space-1); overflow: clip; }
#visit .visit-frame { position: absolute; inset: 0; overflow: hidden; background: var(--color-2); }
#visit .visit-zoom { position: absolute; inset: 0; }
#visit .visit-zoom img { width: 100%; height: 100%; object-fit: cover; }
#visit .visit-card { position: relative; z-index: 1; display: grid; gap: 26px; width: min(540px, 100%); padding: clamp(28px, 3.4vw, 46px); }
#visit .visit-details { display: grid; gap: 14px; }
#visit .visit-details > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--color-2) 14%, transparent); }
#visit .visit-details dt { padding-top: 2px; color: var(--color-6); }
#visit .visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
#visit .visit-map { font-weight: 600; }
@media (max-width: 760px) {
  #visit { align-items: end; justify-items: stretch; padding: 46svh var(--space-1) 24px; }
  #visit .visit-details > div { grid-template-columns: 64px minmax(0, 1fr); }
  #visit .visit-zoom { bottom: 38%; }
}
}

/* ---------- Footer ---------- */
@layer sections {
#footer { position: relative; overflow: clip; padding: clamp(72px, 9vw, 120px) var(--space-1) 28px; background: var(--color-2); color: var(--color-5); }
#footer :focus-visible { outline-color: var(--color-5); }
#footer .foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px 64px; align-items: end; }
#footer .foot-cta__label { display: block; max-width: 18em; margin-bottom: 26px; font-size: clamp(24px, 2.4vw, 32px); }
#footer .foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; font-family: var(--font-2); font-size: 17px; }
#footer .foot-word { margin-top: clamp(64px, 9vw, 120px); text-align: center; white-space: nowrap; font-size: min(30vw, calc((100vw - 2 * var(--space-1)) / (var(--len) * 0.64))); }
#footer .foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--color-5) 14%, transparent); }
@media (max-width: 760px) {
  #footer .foot-top { grid-template-columns: minmax(0, 1fr); }
  #footer .foot-links { justify-content: flex-start; }
}
}

/* ================= Scroll scenes (only with data-8b-live) ================= */
@layer scenes {
[data-8b-live] [data-8b-motion~="rise"].is-in .line__in { animation: motion-rise 0.95s cubic-bezier(0.25, 1, 0.5, 1) calc(0.09s * var(--i)) backwards; }
@keyframes motion-rise { from { translate: 0 108%; } }
[data-8b-live] [data-8b-motion~="window"].is-in { animation: motion-window 1.15s cubic-bezier(0.76, 0, 0.24, 1) backwards; }
@keyframes motion-window { from { clip-path: inset(44% 10% 44% 10% round 999px); } to { clip-path: inset(0% 0% 0% 0% round 28px); } }
[data-8b-live] [data-8b-motion~="fill"] { view-timeline: --motion-fill block; view-timeline-inset: 0; }
[data-8b-live] [data-8b-motion~="fill"] .w { animation-name: motion-fill-w-color; animation-timeline: --motion-fill; animation-range: cover calc(4.2945% * var(--i) + 12vh - 2.7485vh * var(--i)) cover calc(31.2883% + 4.2945% * var(--i) - 8.0245vh - 2.7485vh * var(--i)); animation-timing-function: linear; animation-fill-mode: both; display: inline-block; }
@keyframes motion-fill-w-color { 0% { color: var(--color-6); } 100% { color: var(--color-2); } }

/* opening drift */
[data-8b-live] #opening .op-drift { animation: opening-drift 16s ease-in-out infinite alternate; }
[data-8b-live] #opening.is-paused .op-drift { animation-play-state: paused; }
@keyframes opening-drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }

/* kit index */
#kit .kit-index__short { display: none; }
@media (prefers-reduced-motion: no-preference) {
  [data-8b-live] #kit .kit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px) minmax(0, 0.62fr); }
  [data-8b-live] #kit .kit-cards { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 4vh 0 12vh; }
  [data-8b-live] #kit .kit-index { position: sticky; top: 30vh; grid-column: 3; grid-row: 1; align-self: start; }
  [data-8b-live] #kit .kit-index__list { position: relative; display: grid; }
  [data-8b-live] #kit .kit-index__link { position: relative; z-index: 1; display: flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius-1); color: var(--color-6); font-family: var(--font-1); font-size: 21px; font-weight: 400; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; transition: color 0.3s; }
  [data-8b-live] #kit .kit-index__link.is-active { color: var(--color-5); }
  [data-8b-live] #kit .kit-index__marker { position: absolute; left: 0; top: 0; z-index: 0; width: 100%; height: 48px; border-radius: var(--radius-1); background: var(--color-3); pointer-events: none; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  [data-8b-live] #kit .kit-index__link:not(.is-active):hover { color: var(--color-2); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  [data-8b-live] #kit .kit-grid { grid-template-columns: minmax(0, 1fr); }
  [data-8b-live] #kit .kit-cards { grid-row: 2; grid-column: 1; padding: 0 0 88px; gap: 18px; }
  [data-8b-live] #kit .kit-index { position: sticky; top: auto; bottom: 14px; z-index: 5; grid-row: 2; grid-column: 1; align-self: end; padding: 5px; border-radius: var(--radius-1); background: var(--color-5); box-shadow: var(--shadow-1); }
  [data-8b-live] #kit .kit-index__list { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  [data-8b-live] #kit .kit-index__link { justify-content: center; min-height: 40px; padding: 0 2px; font-family: var(--font-2); font-size: 11px; font-weight: 500; letter-spacing: 0; }
  [data-8b-live] #kit .kit-index__marker { height: 40px; }
  #kit .kit-index__full { display: none; }
  #kit .kit-index__short { display: inline; }
}
[data-8b-live] #kit .kit-cards > li { view-timeline: --kit-item block; view-timeline-inset: 0; animation-name: kit-card-scale, kit-card-rotate, kit-card-opacity; animation-timeline: --kit-item; animation-range: cover 0% cover 100%; animation-timing-function: linear; animation-fill-mode: both; transform: none; }
[data-8b-live] #kit .kit-cards > li:nth-child(even) { --kit-rotate-from: 2.5deg; --kit-rotate-to: -2.5deg; }
@keyframes kit-card-scale { 0% { scale: 0.84; animation-timing-function: cubic-bezier(0.3333, 1, 0.6667, 1); } 36% { scale: 1; } 64% { scale: 1; animation-timing-function: cubic-bezier(0.3333, 0, 0.6667, 0); } 100% { scale: 0.84; } }
@keyframes kit-card-rotate { 0% { rotate: var(--kit-rotate-from, -2.5deg); animation-timing-function: cubic-bezier(0.3333, 1, 0.6667, 1); } 36% { rotate: 0deg; } 64% { rotate: 0deg; animation-timing-function: cubic-bezier(0.3333, 0, 0.6667, 0); } 100% { rotate: var(--kit-rotate-to, 2.5deg); } }
@keyframes kit-card-opacity { 0% { opacity: 0.5; animation-timing-function: cubic-bezier(0.3333, 1, 0.6667, 1); } 36% { opacity: 1; } 64% { opacity: 1; animation-timing-function: cubic-bezier(0.3333, 0, 0.6667, 0); } 100% { opacity: 0.5; } }

/* packs deal: cards spread from one pile */
[data-8b-live] { --ease-power2-inout: linear(0, 0.0001, 0.0005, 0.0017, 0.004, 0.0078, 0.0135, 0.0214, 0.032, 0.0456, 0.0625, 0.0832, 0.108, 0.1373, 0.1715, 0.2109, 0.256, 0.3071, 0.3645, 0.4287, 0.5, 0.5713, 0.6355, 0.6929, 0.744, 0.7891, 0.8285, 0.8627, 0.892, 0.9168, 0.9375, 0.9544, 0.968, 0.9786, 0.9865, 0.9922, 0.996, 0.9983, 0.9995, 0.9999, 1); }
@media (prefers-reduced-motion: no-preference) {
  [data-8b-live] #packs .pack { position: relative; z-index: calc(var(--n) - var(--i)); will-change: transform; }
}
[data-8b-live] #packs .packs-grid > li { animation-fill-mode: both; transform: none; }
[data-8b-live] #packs .packs-grid > li:nth-child(4n+1) { --packs-rotate-from: -9deg; }
[data-8b-live] #packs .packs-grid > li:nth-child(4n+2) { --packs-rotate-from: 6deg; }
[data-8b-live] #packs .packs-grid > li:nth-child(4n+3) { --packs-rotate-from: -4deg; }
[data-8b-live] #packs .packs-grid > li:nth-child(4n+4) { --packs-rotate-from: 10deg; }
@keyframes packs-translate-d { 0% { translate: var(--packs-translate-x, 0px) var(--packs-translate-y, 0px); } 100% { translate: 0px 0px; } }
@keyframes packs-rotate-d { 0% { rotate: var(--packs-rotate-from, -9deg); } 100% { rotate: 0deg; } }
@keyframes packs-scale { 0% { scale: 0.9; } 100% { scale: 1; } }
@keyframes packs-translate-m { 0% { translate: -70% 0px; } 100% { translate: 0px 0px; } }
@keyframes packs-rotate-m { 0% { rotate: -9deg; } 100% { rotate: 0deg; } }
@keyframes packs-translate-m2 { 0% { translate: 70% 0px; } 100% { translate: 0px 0px; } }
@keyframes packs-rotate-m2 { 0% { rotate: 9deg; } 100% { rotate: 0deg; } }
@media (min-width: 761px) {
  [data-8b-live] #packs .packs-grid { view-timeline: --packs-t1 block; view-timeline-inset: 0; }
  [data-8b-live] #packs .packs-grid > li { animation-name: packs-translate-d, packs-rotate-d, packs-scale; animation-timeline: --packs-t1; animation-range: cover calc(18vh - 2vh * var(--i) + 4% * var(--i)) cover calc(22% + 4% * var(--i) + 4.8vh - 2vh * var(--i)); animation-timing-function: var(--ease-power2-inout), cubic-bezier(0.65, 0, 0.35, 1), cubic-bezier(0.65, 0, 0.35, 1); }
}
@media (max-width: 760px) {
  [data-8b-live] #packs .packs-grid > li { view-timeline: --packs-item block; view-timeline-inset: 0; animation-timeline: --packs-item; animation-range: cover 4vh cover 42vh; animation-timing-function: cubic-bezier(0.3333, 1, 0.6667, 1); }
  [data-8b-live] #packs .packs-grid > li:nth-of-type(2n+1) { animation-name: packs-translate-m, packs-rotate-m; }
  [data-8b-live] #packs .packs-grid > li:nth-of-type(2n+2) { animation-name: packs-translate-m2, packs-rotate-m2; }
}

/* fitting swap: three photos in one held frame */
@media (prefers-reduced-motion: no-preference) {
  [data-8b-live] #fitting .fit-frame { position: sticky; top: 12vh; display: block; height: 76vh; border-radius: var(--radius-2); overflow: hidden; }
  [data-8b-live] #fitting .fit-photo { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
  [data-8b-live] #fitting .fit-stories { gap: 0; padding-bottom: 14vh; }
  [data-8b-live] #fitting .fit-story { min-height: 60vh; align-content: center; border-top: 0; padding-top: 0; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  [data-8b-live] #fitting .fit-copy { display: contents; }
  [data-8b-live] #fitting .fit-head { grid-row: 1; grid-column: 1; margin-bottom: 8px; }
  [data-8b-live] #fitting .fit-frame { grid-row: 2 / 4; grid-column: 1; align-self: start; top: 76px; z-index: 2; height: 44svh; border-radius: var(--radius-3); }
  [data-8b-live] #fitting .fit-stories { grid-row: 3; grid-column: 1; padding: calc(44svh + 32px) 0 6svh; }
  [data-8b-live] #fitting .fit-story { min-height: 56svh; align-content: start; padding-top: 6svh; }
}
[data-8b-live] #fitting { timeline-scope: --fitting-t1, --fitting-t2; }
[data-8b-live] #fitting .fit-stories > li:nth-of-type(2) { view-timeline: --fitting-t1 block; view-timeline-inset: 0; }
[data-8b-live] #fitting .fit-stories > li:nth-of-type(3) { view-timeline: --fitting-t2 block; view-timeline-inset: 0; }
[data-8b-live] #fitting .fit-frame > figure:nth-of-type(-n+3), [data-8b-live] #fitting .fit-frame > figure:is(:nth-of-type(2), :nth-of-type(3)) > img { animation-range: cover 15vh cover 55vh; }
[data-8b-live] #fitting .fit-frame > figure:nth-of-type(2) { animation-name: fitting-clip, fitting-scale; animation-timeline: --fitting-t1, --fitting-t2; animation-timing-function: var(--ease-power2-inout), cubic-bezier(0.3333, 0, 0.6667, 0.3333); animation-fill-mode: backwards, both; transform: none; }
[data-8b-live] #fitting .fit-frame > figure:nth-of-type(2) > img { animation-name: fitting-img-scale; animation-timeline: --fitting-t1; animation-timing-function: cubic-bezier(0.3333, 1, 0.6667, 1); animation-fill-mode: both; transform: none; }
[data-8b-live] #fitting .fit-frame > figure:nth-of-type(1) { animation-name: fitting-scale; animation-timeline: --fitting-t1; animation-timing-function: cubic-bezier(0.3333, 0, 0.6667, 0.3333); animation-fill-mode: both; transform: none; }
[data-8b-live] #fitting .fit-frame > figure:nth-of-type(3) { animation-name: fitting-clip; animation-timeline: --fitting-t2; animation-timing-function: var(--ease-power2-inout); animation-fill-mode: backwards; }
[data-8b-live] #fitting .fit-frame > figure:nth-of-type(3) > img { animation-name: fitting-img-scale; animation-timeline: --fitting-t2; animation-timing-function: cubic-bezier(0.3333, 1, 0.6667, 1); animation-fill-mode: both; transform: none; }
@keyframes fitting-clip { 0% { clip-path: inset(100% 0% 0%); } 100% { clip-path: inset(0%); } }
@keyframes fitting-img-scale { 0% { scale: 1.16; } 100% { scale: 1; } }
@keyframes fitting-scale { 0% { scale: 1; } 100% { scale: 1.08; } }

/* care track: pinned, panels travel sideways */
[data-8b-live] #care { view-timeline: --care-t1 block; view-timeline-inset: 0; }
[data-8b-live] #care::after { content: ""; display: block; height: var(--care-run, 0px); }
[data-8b-live] #care .care-pin { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding-block: 10vh 6vh; }
[data-8b-live] #care .care-head { margin-bottom: 36px; }
[data-8b-live] #care .care-track { display: flex; gap: 20px; width: max-content; animation-name: care-run; animation-timeline: --care-t1; animation-range: cover 100vh cover calc(100vh + max(1px, var(--care-run, 0px))); animation-timing-function: linear; animation-fill-mode: both; }
[data-8b-live] #care .care-panel { width: min(420px, 78vw); }
[data-8b-live] #care .care-photo { margin-top: 8px; }
[data-8b-live] #care .care-tick { scale: calc(0.42 + 0.58 * var(--care-tick, 0)); background-color: color-mix(in srgb, var(--color-3) calc(100% * var(--care-tick, 0)), var(--color-8)); }
@keyframes care-run { from { translate: 0 0; } to { translate: calc(-1 * var(--care-distance, 0px)) 0; } }
@media (max-width: 760px) {
  [data-8b-live] #care .care-pin { padding-block: 9vh 4vh; }
  [data-8b-live] #care .care-head { gap: 12px; margin-bottom: 22px; }
  [data-8b-live] #care .care-panel { padding: 22px; gap: 8px; }
  [data-8b-live] #care .care-photo { aspect-ratio: 2 / 1; }
}

/* visit: photo widens from a rounded window */
[data-8b-live] #visit:not(.visit--static) { view-timeline: --visit-t1 block; view-timeline-inset: 0; }
[data-8b-live] #visit:not(.visit--static) .visit-frame { animation-timeline: --visit-t1; animation-range: cover 15vh cover 100vh; animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); animation-fill-mode: backwards; }
[data-8b-live] #visit:not(.visit--static) .visit-zoom { animation-name: visit-zoom-scale; animation-timeline: --visit-t1; animation-range: cover 15vh cover 100vh; animation-timing-function: cubic-bezier(0.3333, 0.6667, 0.6667, 1); animation-fill-mode: both; transform: none; }
@keyframes visit-frame-d { 0% { clip-path: inset(18% 46% 18% 5% round 28px); } 100% { clip-path: inset(0%); } }
@keyframes visit-frame-m { 0% { clip-path: inset(9% 16% 64% round 999px); } 100% { clip-path: inset(0%); } }
@keyframes visit-zoom-scale { 0% { scale: 1.25; } 100% { scale: 1; } }
@media (min-width: 761px) { [data-8b-live] #visit:not(.visit--static) .visit-frame { animation-name: visit-frame-d; } }
@media (max-width: 760px) { [data-8b-live] #visit:not(.visit--static) .visit-frame { animation-name: visit-frame-m; } }
}

/* Divider when a navy band sits directly above the navy footer */
@layer sections {
main:has(> :is(#packs, .quote-band):last-child) + #footer { box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-1) 14%, transparent); }
}

/* Services page: main services with their sub-services */
@layer sections {
#opening .op-body p + p { margin-top: 12px; }
#how.how--services .how-step { grid-template-columns: 72px minmax(0, 0.8fr) minmax(0, 1.3fr); }
#how.how--services .how-step__text { max-width: none; }
#how .how-subs { display: grid; gap: 26px; margin-top: 28px; }
#how .how-sub { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 22px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--color-2) 10%, transparent); scroll-margin-top: 96px; }
#how .how-sub > img { align-self: start; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-3); }
#how .how-sub h4 { margin: 0 0 6px; color: var(--color-2); font-family: var(--font-1); font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
#how .how-sub p { margin: 0; }
#how .how-sub .how-step__tags { margin-top: 14px; }
@media (max-width: 760px) {
  #how.how--services .how-step { grid-template-columns: 44px minmax(0, 1fr); }
  #how.how--services .how-step__text { grid-column: 1 / -1; }
  #how .how-sub { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #how .how-sub > img { aspect-ratio: 16 / 9; }
}
}

/* About page: value icons in place of photos */
@layer sections {
#care .care-photo--icon { display: grid; place-items: center; background: var(--color-8); color: var(--color-3); }
#care .care-photo--icon svg { width: auto; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
}

/* Logo: mark only, larger */
@layer sections {
#navigation .nav-logo { gap: 0; min-height: 56px; padding: 0 18px; }
#navigation .nav-logo svg { width: 58px; height: 46px; }
@media (max-width: 760px) {
  #navigation .nav-logo { min-height: 50px; padding: 0 14px; }
  #navigation .nav-logo svg { width: 48px; height: 38px; }
}
}

/* ---------- Testimonials: shared card ---------- */
@layer sections {
.tm-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; box-shadow: 0 1px 2px color-mix(in srgb, var(--color-2) 6%, transparent), 0 12px 32px -18px color-mix(in srgb, var(--color-2) 22%, transparent); }
.tm-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tm-status { display: inline-flex; align-items: center; gap: 7px; color: var(--color-6); font-size: 13px; font-weight: 500; }
.tm-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1f9d63; box-shadow: 0 0 0 3px color-mix(in srgb, #1f9d63 18%, transparent); }
.tm-status--ongoing::before { background: #e0a100; box-shadow: 0 0 0 3px color-mix(in srgb, #e0a100 20%, transparent); }
.tm-quote { margin: 0; }
.tm-quote::before { content: "\201C"; display: block; height: 30px; color: var(--color-3); font-family: var(--font-1); font-size: 68px; font-weight: 600; line-height: 1; }
.tm-quote p { margin: 0; color: var(--color-2); font-family: var(--font-1); font-size: 18px; line-height: 1.55; letter-spacing: -0.01em; }
.tm-by { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--color-2) 10%, transparent); }
.tm-avatar { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--color-3); color: var(--color-5); font-family: var(--font-1); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.tm-by__text { display: grid; gap: 2px; min-width: 0; }
.tm-by__name { color: var(--color-2); font-size: 15px; font-weight: 600; }
.tm-by__role { color: var(--color-6); font-size: 14px; line-height: 1.35; }

/* ---------- Home: testimonials band ---------- */
#voices { padding: var(--space-2) 0; background: var(--color-4); overflow: clip; }
#voices .voices-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 6vw; align-items: end; padding: 0 var(--space-1); }
#voices .voices-head h2 { max-width: 11em; }
#voices .voices-side { display: grid; justify-items: start; gap: 22px; }
#voices .voices-side p { max-width: 30em; }
#voices .voices-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
#voices .voices-arrows { display: flex; gap: 8px; }
#voices .voices-arrows .m-round { width: 52px; height: 52px; background: var(--color-5); cursor: pointer; transition: opacity 0.2s, background 0.2s, color 0.2s; }
#voices .voices-arrows .m-round:not(:disabled):hover { background: var(--color-3); color: var(--color-5); }
#voices .voices-arrows .m-round:disabled { opacity: 0.4; cursor: default; }
#voices .voices-arrows svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#voices .voices-marquee { margin: clamp(40px, 5vw, 64px) 0 clamp(28px, 3vw, 40px); padding: 20px 0; border-block: 1px solid color-mix(in srgb, var(--color-2) 12%, transparent); overflow: hidden; }
#voices .voices-marquee__track { display: flex; width: max-content; }
#voices .voices-marquee ul { display: flex; flex: none; }
#voices .voices-marquee li { display: flex; align-items: center; color: var(--color-2); font-family: var(--font-1); font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; white-space: nowrap; }
#voices .voices-marquee li::after { content: ""; width: 8px; height: 8px; margin: 0 clamp(24px, 3vw, 40px); border-radius: 50%; background: var(--color-3); }
@media (prefers-reduced-motion: no-preference) {
  #voices .voices-marquee__track { animation: voices-marquee 42s linear infinite; }
  #voices .voices-marquee:hover .voices-marquee__track { animation-play-state: paused; }
}
@keyframes voices-marquee { to { transform: translateX(-50%); } }
#voices .voices-track { display: flex; gap: 20px; padding: 6px var(--space-1) 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--space-1); scrollbar-width: none; overscroll-behavior-x: contain; }
#voices .voices-track::-webkit-scrollbar { display: none; }
#voices .voices-track:focus-visible { outline: 2px solid var(--color-3); outline-offset: -2px; }
#voices .tm-card--slide { flex: 0 0 min(460px, 84vw); scroll-snap-align: start; }
@media (max-width: 900px) {
  #voices .voices-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  #voices .tm-card--slide { padding: 22px; }
  .tm-quote p { font-size: 16.5px; }
}

/* ---------- Testimonials page ---------- */
#reviews { padding: var(--space-2) var(--space-1); }
#reviews .reviews-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 40px; align-items: end; margin-bottom: 40px; }
#reviews .reviews-filter { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1; }
#reviews .reviews-count { grid-column: 2; grid-row: 2; align-self: center; }
.tm-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 10px 0 20px; border: 0; border-radius: var(--radius-1); background: var(--color-5); color: var(--color-2); font: 500 15px/1 var(--font-2); cursor: pointer; transition: background 0.25s, color 0.25s; }
.tm-chip span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--color-8); color: var(--color-2); font-size: 12px; font-weight: 600; transition: background 0.25s, color 0.25s; }
.tm-chip:hover:not([aria-pressed="true"]) { background: var(--color-8); }
.tm-chip[aria-pressed="true"] { background: var(--color-2); color: var(--color-5); }
.tm-chip[aria-pressed="true"] span { background: var(--color-3); color: var(--color-5); }
.tm-chip:focus-visible { outline: 2px solid var(--color-3); outline-offset: 2px; }
.tm-grid { columns: 2 400px; column-gap: 20px; }
.tm-grid > .tm-card { margin-bottom: 20px; break-inside: avoid; }
.tm-grid > .tm-card[hidden] { display: none; }
.tm-card__org { margin: 0; color: var(--color-2); font-family: var(--font-1); font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.tm-card__project { margin: -8px 0 4px; color: var(--color-6); font-size: 14px; line-height: 1.45; }
@media (prefers-reduced-motion: no-preference) {
  .tm-grid > .tm-card { animation: tm-in 0.45s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes tm-in { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 760px) {
  #reviews .reviews-head { grid-template-columns: minmax(0, 1fr); }
  #reviews .reviews-count { grid-column: 1; grid-row: auto; }
  .tm-grid > .tm-card { padding: 22px; }
}
}

/* Contact details: room for the "WhatsApp" label */
@layer sections {
#visit .visit-details > div, #enquiry .enq-details > div { grid-template-columns: 92px minmax(0, 1fr); }
@media (max-width: 760px) { #visit .visit-details > div { grid-template-columns: 84px minmax(0, 1fr); } }
#visit .visit-details dd, #enquiry .enq-details dd { min-width: 0; overflow-wrap: anywhere; }
}

/* ---------- Projects gallery ---------- */
@layer sections {
#gallery { padding: var(--space-2) var(--space-1); }
#gallery .gallery-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 40px; align-items: end; margin-bottom: 40px; }
#gallery .gallery-filter { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1; }
#gallery .reviews-count { grid-column: 2; grid-row: 2; align-self: center; }
.pj-grid { margin: 0; padding: 0; list-style: none; columns: 3 300px; column-gap: 18px; }
.pj-item { margin: 0 0 18px; break-inside: avoid; }
.pj-item[hidden] { display: none; }
.pj-open { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-2); overflow: hidden; background: var(--color-8); cursor: zoom-in; }
.pj-open img { display: block; width: 100%; height: auto; transition: transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.pj-open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(6 19 46 / 0.78), rgb(6 19 46 / 0) 48%); opacity: 0.85; transition: opacity 0.35s; }
.pj-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; justify-items: start; gap: 9px; text-align: left; color: var(--color-5); }
.pj-cap .m-badge { background: rgb(255 255 255 / 0.92); color: var(--color-2); }
.pj-cap__text { font: 500 15px/1.4 var(--font-2); text-wrap: pretty; }
.pj-open:hover img { transform: scale(1.04); }
.pj-open:hover::after { opacity: 1; }
.pj-open:focus-visible { outline: 3px solid var(--color-3); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .pj-grid > .pj-item { animation: tm-in 0.45s cubic-bezier(.2, .7, .2, 1) both; }
}
.pj-lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(6 19 46 / 0.94); color: var(--color-5); }
.pj-lightbox::backdrop { background: rgb(6 19 46 / 0.6); }
.pj-lightbox[open] { display: grid; place-items: center; }
.pj-lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 72px 88px 28px; max-width: 100%; }
.pj-lightbox__img { display: block; max-width: min(1100px, 100%); max-height: calc(100dvh - 170px); width: auto; height: auto; border-radius: var(--radius-2); }
.pj-lightbox__cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font: 500 15px/1.4 var(--font-2); text-align: center; }
.pj-lightbox__count { opacity: 0.7; }
.pj-lightbox__btn { position: absolute; background: var(--color-5); color: var(--color-2); }
.pj-lightbox__close { top: 20px; right: 20px; }
.pj-lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.pj-lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }
@media (max-width: 760px) {
  #gallery .gallery-head { grid-template-columns: minmax(0, 1fr); }
  #gallery .reviews-count { grid-column: 1; grid-row: auto; }
  .pj-grid { columns: 2 150px; column-gap: 10px; }
  .pj-item { margin-bottom: 10px; }
  .pj-cap { left: 10px; right: 10px; bottom: 10px; }
  .pj-cap__text { display: none; }
  .pj-lightbox__fig { padding: 70px 12px 90px; }
  .pj-lightbox__img { max-height: calc(100dvh - 200px); }
  .pj-lightbox__prev, .pj-lightbox__next { top: auto; bottom: 20px; translate: none; }
}
}
