:root {
  color-scheme: dark;
  --page: #121b1f;
  --ink: #f2f5f4;
  --muted: #c0cdce;
  --ice: #a7dade;
  --rule: #9ebcbd42;
  --gutter: var(--brand-gutter);
  font: 400 100%/1.55 Montserrat, Arial, sans-serif;
  scroll-padding-block-start: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); -webkit-font-smoothing: antialiased; }
.wrap { width: min(1440px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
button, input { font: inherit; }
button, label:has(input[type=radio]), summary { cursor: pointer; }
:focus-visible { outline: 3px solid #32a8bb; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.skip { position: absolute; top: 6px; left: 6px; transform: translateY(-160%); z-index: 12; background: var(--ink); color: var(--page); padding: 10px; }
.skip:focus { transform: none; }

/* The original graphite relief, grain and studio shadows are baked together. */
.studio { position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; background:#18232d; }
.studio-backdrop,.studio-backdrop img { display:block; width:100%; height:100%; object-fit:cover; }
.studio-light { position:absolute; left:42%; top:9%; width:54%; height:59%;
  background:radial-gradient(ellipse closest-side,#b6e7efa8 0%,#76b7c94a 45%,transparent 100%); opacity:.42; }
@media (prefers-reduced-motion:no-preference) {
  /* Move the existing photograph as one layer. The extra margin covers both ends of its path. */
  .scene-ready .studio-backdrop { position:absolute; inset:-3% -5%; width:auto; height:auto;
    animation:studio-relief-drift 16s ease-in-out -4s infinite paused; }
  .scene-ready .studio-light { animation:studio-light-drift 12s ease-in-out -3s infinite paused; }
  .scene-ready .brand-poster { animation:brand-poster-turn 12s ease-in-out infinite paused; }
  .scene-ready .ambient-running :is(.studio-backdrop,.studio-light),
  .ambient-running[data-active=services] .brand-poster { animation-play-state:running; }
}
@keyframes studio-relief-drift {
  0%,100% { transform:translate3d(-4%,-2%,0); }
  50% { transform:translate3d(4%,2%,0); }
}
@keyframes studio-light-drift {
  0%,100% { transform:translate3d(18%,-9%,0); opacity:.44; }
  50% { transform:translate3d(-49%,17%,0); opacity:.74; }
}
@keyframes brand-poster-turn {
  0%,100% { transform:perspective(840px) translate3d(0,0,0) rotateY(0deg) rotate(0deg); }
  25% { transform:perspective(840px) translate3d(2.7%,-1.2%,0) rotateY(19deg) rotate(2.25deg); }
  50% { transform:perspective(840px) translate3d(0,-2.4%,0) rotateY(0deg) rotate(4.5deg); }
  75% { transform:perspective(840px) translate3d(-2.7%,-1.2%,0) rotateY(-19deg) rotate(2.25deg); }
}
.brand-stage::before { content:''; position:absolute; bottom:6%; left:20%; right:17%; height:12%; border-radius:50%;
  background:radial-gradient(ellipse,#08121e69,transparent 69%); transform:rotate(-8deg); }
.brand-poster { width:100%; height:100%; position:absolute; inset:0; object-fit:contain; }

.sheet-open { overflow:hidden; }
.service-sheet { box-sizing:border-box; color:#f4f8fb; width:min(478px,calc(100% - 32px)); max-height:calc(100dvh - 34px);
  overscroll-behavior:contain; border:1px solid #bad8ea85; border-radius:23px; padding:clamp(23px,3vw,39px);
  background:radial-gradient(ellipse at 92% -5%,#536c81ad,transparent 62%),linear-gradient(130deg,#2c4051,#1b2a38 90%);
  box-shadow:inset 0 1px #effaff36,0 26px 90px #03070c6b; }
.service-sheet::backdrop { background:#0a141db3; backdrop-filter:blur(5px); }
.service-sheet[open]:not(:modal) { position:relative; inset:auto; margin:18px auto; width:100%; }
.service-sheet [hidden] { display:none !important; }
.sheet-close { position:absolute; top:12px; right:12px; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; }
.sheet-close::before,.sheet-close::after { content:''; grid-area:1/1; width:16px; height:1.5px; border-radius:5px; background:#e0edf5; transform:rotate(45deg); }
.sheet-close::after { transform:rotate(-45deg); }
.sheet-close:hover { background:#9fbed521; }
.service-preview h2,.service-sheet .form-heading h2 { margin:0 24px 15px 0; font-size:clamp(25px,3.3vw,37px); letter-spacing:-.055em; line-height:1.12; font-weight:510; }
.service-preview p { font-size:16px; line-height:1.56; color:#deebf3; margin:0; }
.sheet-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.sheet-actions a { display:inline-flex; justify-content:center; align-items:center; min-height:46px; text-decoration:none;
  padding:9px 17px; border-radius:9px; font-size:14px; font-weight:550; }
.sheet-more { border:1px solid #a4c0d08a; color:#e5f2fa; }
.sheet-obtain,.service-sheet .submit { background:#b7e1f6; color:#162c3b; }
.sheet-obtain:hover,.service-sheet .submit:hover { background:#d1efff; }
.sheet-more:hover { background:#7592a52e; }
.service-sheet .consultation { display:block; border:0; background:none; padding:0; }
.service-sheet .form-heading > p { margin:0 30px 6px 0; }
.service-sheet .form-heading h2 { margin-bottom:4px; }
.service-sheet .form-fields { display:grid; grid-template-columns:minmax(0,1fr); margin-top:12px; }
.service-sheet .form-fields > * { grid-column:1; grid-row:auto; }
.service-sheet .submit { margin-top:5px; }
@media(max-width:379px) { .sheet-actions { display:grid; grid-template-columns:1fr; } }

.service-preview h2:focus { outline:none; }
@media(max-width:430px) {
  .service-sheet { padding-top:47px; }
  .service-preview h2,.service-sheet .form-heading h2 { font-size:clamp(22px,6vw,26px); margin-right:0; overflow-wrap:anywhere; }
}


[hidden] { display:none !important; }
:root { --header:var(--brand-header); scroll-padding:0; scrollbar-color:#5c7684 #15212b; }
::selection { color:#10222d; background:#b0dfec; }
.skip { position:fixed; }
.mast {
  position:relative; isolation:isolate; overflow:clip; min-height:100svh; display:grid; align-items:center;
  padding-top:var(--header); background:#151d26;
}
.header-menu:not([open]) > .brand-menu-toggle { display:grid; }
.scene-track { position:relative; min-height:100svh; }
html.scene-ready { overflow:hidden; overscroll-behavior-y:none; }
.scene-ready .scene-track { height:100dvh; min-height:0; }
.scene-ready .mast { position:fixed; inset:0; height:100dvh; }
.scene-ready .site-footer[data-scene-scroll] { overscroll-behavior-y:contain; }
.choice { display:flex; align-items:flex-end; color:#f2f7fa; position:relative; isolation:isolate; overflow:hidden;
  text-decoration:none; transform-origin:center; transition:border-color 150ms; }
/* The studio underneath these photo cards is already diffuse. Keep its colour
   through the glass without re-blurring the moving backdrop for every card. */
.deck-layer .vkb-card { -webkit-backdrop-filter:none; backdrop-filter:none; }
.choice img { position:absolute; inset:0 0 0 auto; width:72%; height:100%; object-fit:cover; z-index:-2;
  mask-image:linear-gradient(90deg,transparent,#0007 37%,#000c 78%,black); opacity:.8; filter:saturate(.52); transition:scale .32s; }
.choice::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,#111f2bd9,transparent 86%); }
.choice:focus-visible,.stage-index a:focus-visible { outline:3px solid #b8eff1; outline-offset:2px; }
@media(hover:hover) { .choice:hover { border-color:#e0f6ffba; } .choice:hover img { scale:1.035; } }
.card-copy { padding:clamp(15px,1.6vw,29px); display:grid; gap:7px; }
.card-copy strong { font-size:clamp(19px,2.15vw,38px); line-height:1.08; letter-spacing:-.045em; font-weight:510; overflow-wrap:break-word; }
.card-copy small { color:#dbe7ee; font-size:clamp(12px,1vw,16px); line-height:1.38; max-width:43ch; }

.stage-index { display:flex; gap:clamp(6px,1.05vw,20px); margin-top:clamp(9px,1.8svh,22px); }
.stage-index a { position:relative; flex:1; min-width:0; display:flex; align-items:center; min-height:44px; padding-top:4px;
  font-size:clamp(11px,.88vw,15px); color:#bdcdd5; text-decoration:none; }
.stage-index a::before { content:''; top:0; left:0; right:0; position:absolute; height:2px; background:#b1c6d438; }
.stage-index a[aria-current] { color:#ecfcff; }
.stage-index a[aria-current]::before { background:#a2dbe7; }
.sheet-open .deck-layer:not([inert]) .choice { opacity:.24 !important; }
.service-sheet { width:min(470px,calc(100vw - 28px)); padding:clamp(20px,2.1vw,32px); border-radius:var(--glass-radius);
  border-color:#c3dbe386; background:linear-gradient(135deg,#3e586bf7,#243847fa 75%); }
.service-sheet:modal { position:fixed; inset:auto; left:var(--sheet-left); top:var(--sheet-top); margin:0; }
.service-sheet::backdrop { background:#0e192436; backdrop-filter:none; }
.service-sheet[open]:not(:modal) { position:fixed; inset:50% auto auto 50%; margin:0; z-index:12; transform:translate(-50%,-50%); width:min(470px,calc(100% - 28px)); }
.preview-photo { display:block; width:100%; height:clamp(75px,14svh,152px); object-fit:cover; object-position:50% 40%; border-radius:11px; margin-bottom:16px; filter:saturate(.7); }
.sheet-close { z-index:1; color:white; background:#1c2a35d9; border:1px solid #b1cadc66; }
.service-preview h2,.service-sheet .form-heading h2 { font-size:clamp(22px,2.3vw,34px); margin-right:0; }
.service-preview p { line-height:1.48; }
.sheet-actions { margin-top:18px; }
.sheet-actions a:only-child { background:#b7e1f6; color:#142a35; }
.form-heading>p,.preview-note,.consent { font-size:12px; color:#d6e3e9; }
.form-fields { gap:9px; }
.form-fields input[type=tel] { width:100%; min-height:44px; padding:10px; color:#172c35; background:#eef5f5; border:1px solid #bfd4db; border-radius:6px; font-size:16px; }
.form-fields .submit { min-height:44px; border-radius:8px; border:0; font:inherit; font-weight:550; cursor:pointer; }
.consent { display:flex; align-items:center; gap:7px; min-height:36px; } .consent input { width:18px; height:18px; }
.change-service { display:inline-flex; align-items:center; min-height:38px; font-size:14px; }


.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mast { --controls:clamp(50px,7.5svh,84px); display:block; padding:0; }
.foreground { position:relative; height:100dvh; }
.foreground:focus { outline:none; }
.deck-stage { position:absolute; inset:0; }
.deck-layer { position:absolute; inset:var(--header) 0 var(--controls); pointer-events:none; }
.deck-layer:not([inert]) :is(a,button,summary,.site-footer) { pointer-events:auto; }
.deck-layer em { color:#afdce5; font-weight:inherit; font-style:normal; }
.deck-layer h1,.deck-layer h2 { margin:0; font-weight:460; line-height:1.02; letter-spacing:-.058em; }
.deck-layer [data-ink] > p { max-width:38ch; margin-top:clamp(12px,1.6vw,25px); color:#cfdde3; font-size:clamp(14px,1.13vw,18px); line-height:1.5; }
.opening-copy,.housing-copy { position:absolute; top:44%; left:var(--gutter); width:30.5%; }
.opening-copy h1,.housing-copy h2,.case-copy h2 { font-size:clamp(37px,4.55vw,82px); }
.opening-copy em { display:block; }
.housing-copy h2 { font-size:clamp(35px,4.05vw,73px); }
.brand-stage { position:absolute; top:9%; left:70%; translate:-50% 0; height:min(26svh,16vw,246px); aspect-ratio:9/7; pointer-events:none; }
.card-field { position:absolute; }
.choice { min-width:0; container-type:inline-size; }
.card-copy { padding:clamp(12px,6.4cqw,25px); gap:7px; }
.card-copy strong { font-size:clamp(17px,8.3cqw,33px); line-height:1.08; letter-spacing:-.044em; }
.card-copy small { font-size:clamp(11px,4.6cqw,15px); }
.stair-field {
  --card-width:49%; --middle-inset:17%; --step-gap:clamp(12px,4.8svh,64px);
  inset:17.6% 13.7% 10% 33.5%;
  display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:repeat(3,minmax(0,1fr));
  row-gap:calc(var(--step-gap) * .65);
}
.deck-layer[data-set=services] .choice::before { background:linear-gradient(0deg,#0c1924ed,#142530a8 47%,transparent 95%); }
@media(min-width:1051px) {
  .stair-field .choice:first-child { margin-inline-start:-4%; }
}
.stair-field .choice { width:calc(var(--card-width) + 4%); container-type:size; }
.stair-field .choice:nth-child(2) { margin-inline-start:var(--middle-inset); }
.stair-field .choice:last-child { justify-self:end; }
.stair-field .card-copy { padding:clamp(4px,7cqh,20px) clamp(11px,4.8cqw,22px); gap:4px; }
.stair-field .card-copy strong { font-size:clamp(16px,7.8cqw,28px); }
.stair-field .card-copy small { font-size:clamp(11px,4cqw,14px); }
.deck-layer[data-set=housing] img,.deck-layer[data-set=cases] img,.deck-layer[data-set=reading] img { width:100%; mask-image:linear-gradient(0deg,#0005 9%,black 86%); opacity:.92; }
.deck-layer[data-set=housing] .choice::before,.deck-layer[data-set=cases] .choice::before,.deck-layer[data-set=reading] .choice::before { background:linear-gradient(0deg,#0c1c2aee 0%,#17283680 41%,transparent 88%); }
.scene-controls { position:absolute; z-index:3; bottom:0; left:0; right:0; display:flex; align-items:start; justify-content:space-between; height:var(--controls); }
.stage-index { width:min(665px,81%); margin:0; }
#scene-toggle { height:36px; width:36px; display:grid; place-content:center; border:1px solid #c3e5f13a; border-radius:50%; color:#d4e9ef; background:#263c4854; }
#scene-toggle::before { content:''; width:8px; height:11px; border-inline:2px solid currentColor; }
#scene-toggle[aria-pressed=true]::before { border:0; background:currentColor; clip-path:polygon(0 0,100% 50%,0 100%); }
.mast[data-active=contacts] .scene-controls { visibility:hidden; }

.case-copy .editorial-link { margin-top:12px; }
.case-copy { position:absolute; right:var(--gutter); top:34%; width:34%; }
.case-copy h2 em,.reading-copy h2 em { display:block; }
.deck-layer[data-set=cases] .card-field { left:var(--gutter); width:49%; top:14%; bottom:10%; display:grid; grid-template:1fr 1fr/ repeat(8,minmax(0,1fr)); gap:clamp(12px,1.4vw,24px); }
.deck-layer[data-set=cases] .choice:first-child { grid-area:1/1/2/7; }
.deck-layer[data-set=cases] .choice:nth-child(2) { grid-area:2/3/3/9; }
.deck-layer[data-set=cases] .choice { container:case-card / size; }
.deck-layer[data-set=cases] .choice::before { background:linear-gradient(0deg,#091822f5,#122331c9 51%,#1423330f 98%); }
.deck-layer[data-set=cases] .card-copy { width:100%; padding:clamp(6px,7cqh,22px) clamp(10px,5cqw,24px); gap:clamp(3px,2cqh,7px); }
.deck-layer[data-set=cases] .card-copy :is(strong,small) {
  display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; max-width:100%;
}
.deck-layer[data-set=cases] .card-copy strong { font-size:clamp(14px,min(6.5cqw,12cqh),29px); line-height:1.12; -webkit-line-clamp:3; }
.deck-layer[data-set=cases] .card-copy small { font-size:clamp(11px,3.8cqw,15px); line-height:1.32; -webkit-line-clamp:2; }
@container case-card (max-height:135px) {
  .deck-layer[data-set=cases] .card-copy strong { -webkit-line-clamp:2; }
  .deck-layer[data-set=cases] .card-copy small { -webkit-line-clamp:1; }
}
.service-preview { overflow-wrap:anywhere; }
.reading-copy { position:absolute; left:var(--gutter); top:13%; display:flex; align-items:end; gap:30px; }
.reading-copy h2 { font-size:clamp(34px,4.3vw,74px); }
.reading-copy h2 em { display:inline; }
.deck-layer[data-set=reading] .card-field { position:absolute; inset:40% var(--gutter) 12%; display:grid; grid-template-columns:1.22fr 1fr 1fr; gap:clamp(12px,1.9vw,32px); }
.deck-layer[data-set=reading] .choice:not(:first-child) { margin-top:clamp(14px,4svh,48px); }
.deck-layer[data-set=contacts] { inset:var(--header) 0 0; }
.studio { transition:opacity .45s; }
.mast[data-active=contacts] .studio { opacity:.76; }
/* Contact scene */

@media(min-width:701px) and (max-width:1050px) {
  .opening-copy,.housing-copy { width:29%; }
  .stair-field { left:36%; right:5%; --card-width:57%; --middle-inset:17%; }
  .card-copy { padding:clamp(8px,5cqw,14px); }
  .card-copy strong { font-size:clamp(14px,8.7cqw,22px); }
  .brand-stage { left:82%; height:min(18svh,15vw,160px); }
}
@media(min-width:701px) and (max-width:1000px) and (max-aspect-ratio:11/10) {
  .opening-copy,.housing-copy { left:var(--gutter); top:8%; width:48%; }
  .opening-copy h1,.housing-copy h2 { font-size:clamp(35px,5vw,52px); }
  .brand-stage { left:77%; top:4%; height:min(18svh,148px); }
  .stair-field { inset:max(32%,calc(8% + 191px)) 9% 4% 12%; --card-width:57%; --middle-inset:18%; --step-gap:2svh; }
  .card-copy { padding:clamp(12px,5cqw,19px); }
  .card-copy strong { font-size:clamp(17px,8cqw,25px); }
}
@media(max-width:700px) and (orientation:portrait) {
  .mast { --controls:57px; }
  .deck-layer:is([data-set=services],[data-set=housing]) {
    display:grid; grid-template-rows:minmax(max(172px,20svh,min(40vw,250px)),max-content) minmax(0,1fr);
    padding:5svh var(--gutter) 4svh; row-gap:3.2svh;
  }
  .opening-copy,.housing-copy { position:relative; top:auto; left:auto; width:64%; align-self:start; }
  .opening-copy h1,.housing-copy h2,.case-copy h2 { font-size:clamp(29px,7.7vw,49px); }
  .deck-layer [data-ink] > p { font-size:clamp(12px,3vw,16px); line-height:1.4; margin-top:10px; }
  .brand-stage { top:7%; left:78%; width:min(27vw,140px); height:auto; }
  .stair-field {
    position:relative; inset:auto; --card-width:78%; --middle-inset:11%;
    --step-gap:clamp(8px,1.8svh,17px);
  }
  .card-copy { padding:9px 10px; gap:4px; }
  .card-copy strong { font-size:clamp(16px,8cqw,25px); }
  .card-copy small { font-size:clamp(10px,4.1cqw,13px); line-height:1.23; }
  .housing-copy { width:100%; }
  .stair-field .card-copy strong { font-size:clamp(16px,6.5cqw,23px); }
  .stair-field .card-copy small { font-size:clamp(12px,4.4cqw,14px); }
  .scene-controls { align-items:start; gap:9px; } .stage-index { flex:1; width:auto; gap:4px; }
  .stage-index a { font-size:clamp(10px,2.54vw,14px); flex:1 1 auto; min-height:44px; }
  #scene-toggle { flex:none; width:30px; height:30px; }
  .case-copy { top:6%; left:var(--gutter); right:var(--gutter); width:auto; }
  .case-copy h2 em { display:inline; } .case-copy .editorial-link { margin-top:0; }
  .deck-layer[data-set=cases] .card-field { top:38%; bottom:5%; left:var(--gutter); right:var(--gutter); width:auto; gap:10px; }
  .deck-layer[data-set=cases] .choice:first-child { grid-column:1/8; }
  .deck-layer[data-set=cases] .choice:nth-child(2) { grid-column:2/9; }
  .reading-copy { top:5%; left:var(--gutter); right:var(--gutter); align-items:start; display:block; }
  .reading-copy h2 { font-size:clamp(28px,7.5vw,43px); }
  .deck-layer[data-set=reading] .card-field { inset:26% var(--gutter) 4%; grid-template:repeat(3,minmax(0,1fr))/1fr; gap:8px; }
  .deck-layer[data-set=reading] .choice:not(:first-child) { margin:0; }
  .deck-layer[data-set=reading] img { width:61%; mask-image:linear-gradient(90deg,transparent,#000b 35%,black); }

}
@media(max-width:700px) and (orientation:portrait) and (max-height:670px) {
  .deck-layer:is([data-set=services],[data-set=housing]) { grid-template-rows:max-content minmax(0,1fr); padding-block:10px 6px; row-gap:9px; }
  .opening-copy { width:69%; }
  .deck-layer[data-set=services] .opening-copy { width:100%; }
  .opening-copy h1 { max-width:69%; }
  .brand-stage { top:4%; left:81%; width:25vw; }
  .stair-field { --step-gap:7px; }
  .stair-field .card-copy { padding:clamp(4px,5cqh,7px) 10px; gap:2px; }
  .card-copy small { font-size:10px; }
  .case-copy { top:3%; } .case-copy[data-ink] > p { max-width:36ch; margin-top:6px; }
  .reading-copy { top:2%; }
}
@media(orientation:landscape) and (min-height:511px) and (max-height:660px) {
  .stair-field { inset-block:12% 5%; }
  .brand-stage { top:7%; }
}
@media(orientation:landscape) and (min-height:511px) and (max-width:700px) {
  .stair-field { left:36%; right:4%; --card-width:57%; }
  .brand-stage { left:84%; height:15vw; }
}
@media(max-height:510px) and (orientation:landscape) {
  .mast { --controls:34px; } .stage-index { margin:0; } .stage-index a { min-height:29px; }
  #scene-toggle { height:26px; width:26px; }
  .opening-copy,.housing-copy { top:25%; width:30%; } .opening-copy h1,.housing-copy h2,.case-copy h2 { font-size:clamp(24px,4.1vw,38px); }
  .deck-layer [data-ink]>p { font-size:12px; margin-top:6px; } .brand-stage { top:1%; left:81%; height:min(22svh,14vw); }
  .stair-field { inset:4% 3% 4% 34%; --card-width:57%; --middle-inset:18%; --step-gap:6px; }
  .stair-field .card-copy { padding:4px 10px; gap:1px; }
  .stair-field .card-copy strong { font-size:clamp(13px,6cqw,19px); }
  .stair-field .card-copy small { font-size:10px; line-height:1.2; }
  .card-copy { padding:7px; gap:2px; } .card-copy strong { font-size:clamp(13px,8cqw,19px); } .card-copy small { font-size:10px; }
  .case-copy { top:14%; } .reading-copy { top:5%; }
}
/* The founders introduce three places to hear from clients and meet the team. */
.deck-layer[data-set=team] {
  display:grid; align-content:safe center; gap:clamp(20px,3.8svh,46px);
  overflow-y:auto; overflow-x:clip; overscroll-behavior:contain;
  padding:clamp(16px,4.5svh,50px) max(var(--gutter),calc((100% - 1360px) / 2));
  scrollbar-width:thin;
}
.deck-layer[data-set=team]:not([inert]) { pointer-events:auto; }
.team-intro {
  display:grid;
  grid-template: "names portrait" auto "story portrait" auto / minmax(0,1.12fr) minmax(0,1fr);
  gap:clamp(14px,2.2svh,26px) clamp(28px,5vw,80px);
}
.team-heading { grid-area:names; align-self:end; }
.team-portrait {
  grid-area:portrait; display:block; width:100%; height:clamp(215px,36svh,418px);
  align-self:center; object-fit:cover; object-position:50% 19%;
  border-radius:var(--glass-radius); background:#25323a;
}
.team-label { display:block; margin-bottom:clamp(10px,2svh,24px); color:#b7d8df; font-size:clamp(12px,1.05vw,16px); font-weight:550; }
.team-intro h2 { font-size:clamp(38px,4.15vw,69px); }
.team-intro[data-ink] > p { grid-area:story; align-self:start; margin:0; max-width:54ch; font-size:clamp(14px,1.15vw,18px); text-wrap:pretty; }
.review-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(12px,1.65vw,27px); }
.review-card {
  display:grid; grid-template-rows:clamp(100px,19svh,194px) 1fr; min-width:0; isolation:isolate;
  border:1px solid #a2c8d45e; border-radius:var(--glass-radius); overflow:hidden; text-decoration:none;
  background:linear-gradient(130deg,#22343ee8,#18252fef);
  box-shadow:0 10px 32px -20px #050c10aa; transform-origin:center;
}
.review-media { display:block; position:relative; min-width:0; min-height:0; overflow:hidden; background:#192833; }
.review-media img { display:block; width:100%; height:100%; object-fit:cover; }
.review-film { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2px; }
.review-film img { object-position:50% 32%; filter:saturate(.78) brightness(.88); }
.review-film img:nth-child(2),.review-film img:nth-child(3) { object-position:50% 62%; }
.review-play {
  position:absolute; left:12px; bottom:10px; display:grid; place-items:center; width:40px; aspect-ratio:1; border-radius:50%;
  background:#e0f2f3ed; color:#153540; box-shadow:0 3px 12px #06121c44;
}
.review-play::after { content:''; width:10px; height:13px; margin-left:3px; background:currentColor; clip-path:polygon(0 0,100% 50%,0 100%); }
.review-location { position:relative; }
.review-map-open { display:block; width:100%; height:100%; }
.review-map-credit { position:absolute; bottom:0; right:0; padding:3px 4px;
  color:#e0eaee; background:#16252f; font:10px/1.3 Arial,sans-serif; text-decoration:none; }
.review-map a:focus-visible { outline-offset:-3px; }
.office-review-link { text-decoration:none; }
.review-location:has(.office-review-link:focus-visible) { outline:3px solid #b2e4e8; outline-offset:3px; }
.review-expert img { object-position:50% 14%; }
.review-caption { display:flex; flex-direction:column; gap:5px; padding:clamp(12px,1.45vw,24px); }
.review-caption strong { color:#f0f5f6; font-weight:520; font-size:clamp(20px,2.05vw,33px); line-height:1.08; letter-spacing:-.045em; }
.review-caption small { color:#cae0e4; font-size:clamp(12px,1vw,15px); line-height:1.4; text-wrap:pretty; }
.review-rating,.expert-heading { display:flex; align-items:center; flex-wrap:wrap; gap:3px clamp(6px,.6vw,10px); }
.review-rating { font-size:clamp(12px,1.05vw,16px); line-height:1.4; font-variant-numeric:tabular-nums; }
.rating-score { color:#f4f7f8; font-weight:650; }
.rating-stars { display:inline-flex; align-items:center; gap:.08em; color:#ffcd64; }
.rating-stars svg { display:block; width:1em; height:1em; }
.review-count { color:#d1e5e9; white-space:nowrap; text-decoration:underline; text-underline-offset:.23em; text-decoration-color:#779ba6; }
.expert-badge { display:inline-flex; align-items:center; gap:4px; padding:3px 8px; border:1px solid #87c5ce91; border-radius:99px;
  color:#c6eff1; background:#26444c; font-size:clamp(11px,.9vw,14px); font-weight:600; line-height:1.25; }
.expert-badge::before { content:''; width:1.1em; height:1.1em; background:currentColor; mask:url('/home/domclick-expert.svg') center / contain no-repeat; }
.review-card:focus-visible { outline:3px solid #b2e4e8; outline-offset:3px; }
@media(hover:hover) {
  .review-card:hover { border-color:#a4d5de; }
  .review-card:hover strong { color:#bce8eb; }
}
/* Keep the full team spread visible in a shallow desktop or split window.
   Safe centering already supplies the outer whitespace when there is room. */
@media (min-width:700px) and (orientation:landscape) and (min-height:511px) and (max-height:800px) {
  .deck-layer[data-set=team] { padding-block:8px; row-gap:clamp(12px,2svh,18px); }
  .team-intro { row-gap:10px; }
  .team-label { margin-bottom:8px; }
  .team-portrait { height:clamp(160px,30svh,240px); }
  .review-card { grid-template-rows:clamp(72px,15svh,120px) 1fr; }
  .review-caption { padding:clamp(8px,1.1vw,16px); }
}
@media(max-width:760px) and (orientation:portrait), (max-width:900px) and (min-aspect-ratio:3/4) and (max-aspect-ratio:1/1) {
  .deck-layer[data-set=team] { gap:clamp(14px,1.9svh,24px); padding-block:clamp(10px,1.55svh,20px); }
  .team-intro { grid-template:"names" auto "portrait" auto "story" auto / minmax(0,1fr); gap:12px; }
  .team-portrait { height:auto; aspect-ratio:2.05; max-height:250px; border-radius:16px; }
  .team-label { margin-bottom:8px; font-size:12px; }
  .team-intro h2 { font-size:clamp(29px,min(7.9vw,5.8svh),54px); }
  .team-intro[data-ink] > p { max-width:59ch; font-size:clamp(14px,3.6vw,17px); line-height:1.45; }
  .review-cards { grid-template-columns:1fr; grid-auto-rows:1fr; gap:clamp(7px,1.25svh,13px); }
  .review-card { grid-template:1fr / minmax(0,29%) minmax(0,1fr); min-height:clamp(61px,8.5svh,92px); border-radius:14px; }
  .review-media { height:100%; contain:size; }
  .review-caption { justify-content:center; gap:3px; padding:7px clamp(9px,2.7vw,17px); }
  .review-caption strong { font-size:clamp(17px,4.5vw,24px); }
  .review-caption small { font-size:clamp(11px,2.9vw,14px); line-height:1.3; }
  .review-film { display:block; }
  .review-film img { display:none; }
  .review-film img:first-child { display:block; object-position:center 27%; }
  .review-expert img { scale:1.18; transform-origin:55% 22%; }
  .review-play { width:26px; left:6px; bottom:5px; }
  .review-play::after { width:7px; height:9px; }
}
@media (max-width:360px) and (max-height:620px) and (orientation:portrait) {
  .deck-layer[data-set=team] { padding-block:5px; gap:8px; }
  .team-intro h2 { font-size:27px; }
  .team-label { margin-bottom:4px; }
  .team-intro { gap:9px; }
  .review-cards { gap:5px; }
  .review-card { min-height:56px; }
  .review-caption { padding-block:4px; }
}
@media(max-height:510px) and (orientation:landscape) {
  .deck-layer[data-set=team] { padding-block:10px; gap:10px; }
  .team-intro { gap:8px 20px; }
  .team-portrait { height:clamp(145px,35svh,180px); }
  .team-label { font-size:11px; margin-bottom:4px; }
  .team-intro h2 { font-size:clamp(22px,3.75vw,39px); }
  .team-intro[data-ink] > p { margin:0; max-width:none; font-size:12px; line-height:1.34; }
  .review-card { grid-template-rows:clamp(48px,17svh,84px) 1fr; }
  .review-caption { gap:2px; padding:6px 10px; }
  .review-caption strong { font-size:17px; }
  .review-caption small { font-size:11px; }
  .review-play { width:26px; bottom:4px; left:6px; }
}
@media(max-width:700px) and (max-height:400px) and (orientation:landscape) {
  .deck-layer[data-set=team] { gap:14px; }
  .review-cards { grid-template-columns:1fr; grid-auto-rows:1fr; gap:6px; }
  .review-card { grid-template:1fr / 22% minmax(0,1fr); min-height:54px; }
  .review-media { contain:size; }
  .review-film { display:block; }
  .review-film img:not(:first-child) { display:none; }
  .review-caption { justify-content:center; padding:5px 7px; }
}
@media(prefers-reduced-motion:reduce) {
  .studio,.choice,.choice img { transition:none; }
  #scene-toggle { display:none; }
}
