/* Lifelystyle home page. Tokens and rules are described in DESIGN.md. */

/* Stand-in for the display face while it loads: scaled so no headline line is wider than in Gambarino. */
@font-face{ font-family:'Gambarino Fallback'; src:local('Iowan Old Style'),local('Georgia'),local('Palatino'),local('Times New Roman'),local('Noto Serif'); size-adjust:81% }

:root{
  --paper:#FFFFFF;
  --ink:#6E3744;
  --ink-2:#7A5A60;
  --ink-soft:#4E2230;
  --body-ink:#000000;
  --terra:#6E3744;
  --terra-ink:#A4605E;
  --stone:#F5E8EA;
  --line:rgba(110,55,68,.2);
  --line-inv:rgba(255,255,255,.2);
  --on-dark-2:rgba(255,255,255,.74);
  --ph:#F0E3E5;
  --ph-dark:#7E4553;
  --ph-deep:#3A1A22;
  --tap:rgba(110,55,68,.08);
  --overlay:rgba(40,16,22,.5);

  --disp:'Gambarino','Gambarino Fallback',Georgia,serif;
  --script:'Herr Von Muellerhoff','Snell Roundhand','Apple Chancery',cursive;
  --text:'Mona Sans',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;

  --gutter:56px;
  --gap:24px;
  --sheet:1600px;
  --top-h:80px;

  --e-out:cubic-bezier(.25,1,.5,1);
  --e-hover:cubic-bezier(.23,1,.32,1);
  --e-move:cubic-bezier(.77,0,.175,1);
}
@media (max-width:1279px){ :root{ --gutter:40px } }
@media (max-width:767px){ :root{ --gutter:20px; --gap:16px; --top-h:64px } }

/* ---------- base ---------- */
*,*::before,*::after{ box-sizing:border-box }
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; scroll-padding-top:calc(var(--top-h) + 16px) }
body{ margin:0; background:var(--paper); color:var(--body-ink); font-family:var(--text); font-size:.9375rem; line-height:1.56; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; accent-color:var(--ink); caret-color:var(--ink) }
img,video{ display:block; max-width:100% }
a{ color:inherit; text-decoration:none }
p,h1,h2,h3,ul{ margin:0 }
ul{ padding:0; list-style:none }
button{ font:inherit; color:inherit; background:none; border:0; padding:0; border-radius:0; cursor:pointer }
a,button,summary{ touch-action:manipulation; -webkit-tap-highlight-color:var(--tap) }
.folio a,.folio button,.foot a{ -webkit-tap-highlight-color:rgba(255,255,255,.14) }
::selection{ background:var(--ink); color:#fff }
:focus-visible{ outline:2px solid var(--ink); outline-offset:3px }
.folio :focus-visible,.foot :focus-visible{ outline-color:#fff }
.nb{ white-space:nowrap }
.skip{ position:fixed; left:12px; top:12px; z-index:100; padding:14px 20px; background:var(--ink); color:#fff; font-size:.875rem; font-weight:600; transform:translateY(-200%) }
.skip:focus-visible{ transform:none; outline-color:#fff; outline-offset:-5px }
.hero:focus{ outline:none }
.wrap{ max-width:var(--sheet); margin-inline:auto; padding-inline:var(--gutter) }
main p a,.drawer-mail a{ text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.22em }
@media (hover:hover){ main p a:hover,.drawer-mail a:hover{ text-decoration-thickness:2px } }
@media (max-width:767px){ body{ font-size:1rem } }

/* ---------- type ---------- */
.kicker{ font-stretch:125%; font-size:.78125rem; line-height:18px; font-weight:400; letter-spacing:.045em; color:var(--ink-2) }
:root{ --h2:clamp(2.125rem,4.45vw,4rem) }
.h2{ font-family:var(--disp); font-weight:400; font-size:var(--h2); line-height:.92; letter-spacing:.03em; text-transform:uppercase; text-wrap:balance; color:var(--ink) }
.folio .h2,.foot .h2{ color:inherit }
.h2 em{ font-style:normal }
.scr{ font-family:var(--script); font-style:normal; font-weight:400; letter-spacing:0; text-transform:none; color:var(--terra-ink); white-space:nowrap }
.scr-clip{ display:inline-block; vertical-align:top; overflow:hidden; padding:.95em .24em .62em; margin:-.95em -.24em -.62em }
.scr-ink{ display:inline-block }

/* underlined action link: the line is redrawn from the left on hover */
.lnk{ --lnk-pad:3px; position:relative; display:inline-block; padding:var(--lnk-pad) 0; font-size:.875rem; font-weight:600; line-height:1.5; white-space:nowrap }
.lnk::before,.lnk::after{ content:""; position:absolute; left:0; right:0; bottom:calc(var(--lnk-pad) - 3px); height:1px; background:currentColor }
.lnk::before{ transform-origin:right; transition:transform .16s var(--e-hover) }
.lnk::after{ transform:scaleX(0); transform-origin:left; transition:transform .22s var(--e-out) }
@media (hover:hover){
  a.lnk:hover::before,a:hover .lnk::before,button.lnk:hover::before{ transform:scaleX(0) }
  a.lnk:hover::after,a:hover .lnk::after,button.lnk:hover::after{ transform:scaleX(1); transition-delay:.08s }
}

.btn{ position:relative; display:inline-flex; align-items:center; justify-content:center; height:50px; padding:0 26px; background:var(--ink); color:#fff; font-size:.875rem; font-weight:600; letter-spacing:.01em; white-space:nowrap; overflow:hidden; isolation:isolate; transition:transform .16s var(--e-hover) }
.btn::before{ content:""; position:absolute; inset:0; z-index:-1; background:var(--ink-soft); transform:translateY(101%); transition:transform .3s var(--e-out) }
@media (hover:hover){ .btn:hover::before{ transform:translateY(0) } }
.btn:active{ transform:scale(.98) }
.btn-t{ position:relative }
.btn-ghost{ background:var(--paper); box-shadow:inset 0 0 0 1px var(--ink) }
/* at rest the label is black as before; the fill that rises is the brand colour, and the label switches to white (no colour tween) once the fill is halfway up */
.btn-ghost::before{ background:var(--ink) }
.btn-ghost .btn-t{ color:#000; transition:color 0s linear .15s }
@media (hover:hover){ .btn-ghost:hover .btn-t{ color:#fff } }

/* ---------- top bar ---------- */
.top{ position:fixed; left:0; right:0; top:0; z-index:60; height:var(--top-h); background:var(--paper); transition:transform .4s var(--e-move) }
.top::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:var(--line); opacity:0; transition:opacity .24s var(--e-hover) }
.top.is-stuck::after{ opacity:1 }
.top.is-hidden{ transform:translateY(-101%) }
.top-in{ height:100%; max-width:var(--sheet); margin:0 auto; padding:0 var(--gutter); display:flex; align-items:center }
.top-logo{ display:flex; align-items:center; min-height:44px; flex:none }
.top-logo img{ height:34px; width:auto }
.top-menu{ display:flex; gap:24px; margin-left:auto }
.top-link,.top-tel{ position:relative; font-stretch:125%; font-size:.75rem; font-weight:600; line-height:1.5; text-transform:uppercase; padding:8px 0; white-space:nowrap }
.top-link{ letter-spacing:.07em }
.top-link::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:currentColor; transform:scaleX(0); transform-origin:left; transition:transform .3s var(--e-out) }
.top-link.is-on::after{ transform:scaleX(1) }
.top-tel{ letter-spacing:.05em; margin-left:40px }
.top-tel + .top-tel{ margin-left:22px }
.top-tel::before,.top-tel::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:currentColor }
.top-tel::before{ transform-origin:right; transition:transform .16s var(--e-hover) }
.top-tel::after{ transform:scaleX(0); transform-origin:left; transition:transform .22s var(--e-out) }
@media (hover:hover){
  .top-link:hover::after{ transform:scaleX(1) }
  .top-tel:hover::before{ transform:scaleX(0) }
  .top-tel:hover::after{ transform:scaleX(1); transition-delay:.08s }
}
.top-tel-ico{ display:none }
.top-burger{ display:none; width:44px; height:44px; margin:0 -10px 0 18px; position:relative }
.top-burger-line{ position:absolute; left:10px; right:10px; height:1.5px; background:var(--ink) }
.top-burger-line:nth-child(1){ top:17px }
.top-burger-line:nth-child(2){ top:26px }

@media (min-width:1280px) and (max-width:1359px){ .top-menu{ gap:14px } .top-tel{ margin-left:28px } }
@media (max-width:1279px){
  .top-menu{ display:none }
  .top-tel{ margin-left:auto; padding:13px 0 }
  .top-tel::before,.top-tel::after{ bottom:5px }
  .top-burger{ display:block }
}
@media (max-width:767px){
  .top-logo img{ height:28px }
  .top-tel{ width:44px; height:44px; padding:0; display:grid; place-items:center }
  .top-tel.top-wa{ display:none }
  .top-tel::before,.top-tel::after{ content:none }
  .top-tel-ico{ display:block }
  .top-tel-num{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap }
  .top-burger{ margin-left:2px }
}

/* ---------- first screen ---------- */
/* tall windows: the first screen is never taller than its own content with the frame at full height (top bar + 52px of kicker block: 20 + 18 + 14 + headline 3.447em: 3 × .9 + .747 + frame), so no blank band opens under the guarantees bar */
.hero{ --h1:clamp(min(72px,6.53vw),min(6.53vw,12.2vh),104.5px); --fold:100vh; --under:0px; --drop:0px; --frame-max:min(46.8vw,749px); position:relative; max-width:var(--sheet); margin:0 auto; padding-top:var(--top-h); display:flex; flex-direction:column; min-height:min(calc(var(--fold) + var(--under)),calc(var(--top-h) + 52px + 3.447 * var(--h1) + var(--drop) + var(--frame-max))) }
@supports (height:1svh){ .hero{ --h1:clamp(min(72px,6.53vw),min(6.53vw,12.2svh),104.5px); --fold:100svh } }
/* the headline is sized from the sheet, not from the window, so a classic scrollbar does not push its first line past the margins */
@supports (width:1cqi) and (height:1svh){ .hero{ container-type:inline-size; --h1:clamp(min(72px,calc((100cqi - 2 * var(--gutter)) / 14.123)),min(calc((100cqi - 2 * var(--gutter)) / 14.123),12.2svh),104.5px) } }
/* low windows: the guarantees bar moves under the fold so the frame keeps at least 300px in view */
@media (min-width:1024px) and (max-height:819px){ .hero{ --under:56px } }
.hero-head{ position:relative; flex:none; padding-top:20px }
.hero-kicker{ text-align:center }
.hero-title{ position:relative; z-index:3; margin-top:14px; padding-bottom:calc(.747em + var(--drop)); text-align:center; font-family:var(--disp); font-weight:400; font-size:var(--h1); line-height:.9; letter-spacing:.03em; text-transform:uppercase; white-space:nowrap; pointer-events:none; color:var(--ink) }
.hero-title .lni{ display:inline-block }
.hero-title .ln-3{ display:inline-block }
.hero-title .br-m{ display:none }
.hero-title .scr{ display:inline-block; position:relative; top:calc(.2667em + var(--drop)); font-size:1.5957em; line-height:0 }
.hero-lead{ position:absolute; z-index:4; left:var(--gutter); bottom:21px; width:clamp(280px,calc((100% - 4.79 * var(--h1)) / 2 - var(--gutter) - 56px),400px) }
.hero-act{ position:absolute; z-index:4; right:var(--gutter); bottom:39px; display:flex; flex-direction:column; align-items:flex-end; gap:18px }
.hero-links{ display:flex; gap:26px }
/* 1024–1439: the shoulders of the third line are narrow, so the paragraph is set one step smaller and both blocks sit lower */
@media (min-width:1024px) and (max-width:1439px){
  .hero-lead{ bottom:16px; width:clamp(284px,calc((100% - 4.79 * var(--h1)) / 2 - var(--gutter) - 40px),400px); font-size:.875rem; line-height:1.5 }
  .hero-act{ bottom:24px }
}
/* 1024–1279: the paragraph runs to 5 lines, so the frame and the handwritten word start lower (48px at 1024, nothing at 1280): the word keeps its tail on the frame; the contact links get 45px tap zones */
@media (min-width:1024px) and (max-width:1279px){
  .hero{ --drop:clamp(0px,calc((1280px - 100vw) * .28),48px) }
  .hero-act{ bottom:10px; gap:4px }
  .hero-links .lnk{ --lnk-pad:12px }
}

.hero-frame{ position:relative; flex:1 1 auto; min-height:300px; max-height:var(--frame-max) }
.hero-shot{ position:absolute; inset:0; overflow:hidden; background:var(--ph-deep); container-type:inline-size }
.hero-shot img{ width:100%; height:100%; object-fit:cover; object-position:50% 45% }
@supports (width:1cqw){ .hero-shot img{ object-position:50% -13.05cqw } }
.hero-micro{ position:absolute; left:0; right:0; bottom:0; z-index:2; height:56px; padding:0 var(--gutter); display:grid; grid-template-columns:1fr 1fr 1fr; align-items:center; background:var(--ink); color:#fff; font-size:.875rem; font-weight:500; letter-spacing:.01em }
.hero-micro li:nth-child(2){ text-align:center }
.hero-micro li:nth-child(3){ text-align:right }

@media (max-width:1023px){
  .hero{ --h1:6.4vw; display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:40px; min-height:0 }
  @supports (width:1cqi){ .hero{ --h1:6.4cqi } }
  .hero-head,.hero-frame{ display:contents }
  .hero-kicker{ grid-column:1 / -1; grid-row:1; margin-top:20px }
  .hero-title{ grid-column:1 / -1; grid-row:2 }
  .hero-shot{ grid-column:1 / -1; grid-row:3; position:relative; inset:auto; aspect-ratio:2 / 1 }
  .hero-shot img{ object-position:50% 35% }
  .hero-lead{ grid-column:1; grid-row:4; position:static; width:auto; max-width:33em; margin:36px 0 44px var(--gutter) }
  .hero-act{ grid-column:2; grid-row:4; position:static; margin:38px var(--gutter) 44px 0; align-self:start; gap:9px }
  .hero-links .lnk{ --lnk-pad:12px }
  .hero-micro{ grid-column:1 / -1; grid-row:5; position:static; height:auto; padding-block:18px; column-gap:24px; align-items:start; font-size:.8125rem }
}
@media (max-width:767px){
  .hero{ --h1:10.9vw; grid-template-columns:minmax(0,1fr) }
  @supports (width:1cqi){ .hero{ --h1:10.9cqi } }
  .hero-kicker{ margin-top:18px; padding-inline:var(--gutter) }
  .hero-title{ margin-top:14px; padding-bottom:0; white-space:normal; line-height:.92 }
  .hero-title .br-m{ display:inline }
  .hero-title .br-d{ display:none }
  .hero-title .lni,.hero-title .ln-3{ display:inline }
  .hero-title .scr{ display:block; top:0; font-size:1.78em; line-height:.7; margin-top:.2em; padding-bottom:.02em }
  /* phone: the frame takes what is left of the first screen above the two contact buttons (top bar + 50px of kicker block: 18 + 18 + 14 + headline 5.1376em: 4 × .92 + script 1.6376 − .18 + 76px for the buttons row: 12 + 50 + 14), so call and WhatsApp stay above the fold while the window is tall enough; the frame is never lower than 160px, never wider than 2.35:1 and never taller than 4:5 */
  .hero-shot{ --rest:126px; aspect-ratio:auto; height:clamp(max(160px,42.6vw),calc(var(--fold) - var(--top-h) - 5.1376em - var(--rest)),125vw); margin-top:-.18em; font-size:var(--h1) }
  .hero-shot img{ object-position:47% 35% }
  /* at 334px and narrower the kicker is set a touch smaller, so it stays on one line */
  @media (max-width:334px){ .hero-kicker{ font-size:min(.78125rem,3.65vw) } }
  .hero-act{ display:contents }
  .hero-links{ grid-column:1; grid-row:4; display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:10px; margin:12px var(--gutter) 0 }
  .hero-links .lnk{ display:flex; align-items:center; justify-content:center; height:50px; padding:0 8px; letter-spacing:.01em; transition:transform .16s var(--e-hover),opacity .16s var(--e-hover) }
  .hero-links .lnk::before,.hero-links .lnk::after{ content:none }
  .hero-links .lnk:first-child{ background:var(--ink); color:#fff }
  .hero-links .lnk:last-child{ background:var(--paper); box-shadow:inset 0 0 0 1px var(--ink) }
  .hero-links .lnk:active{ transform:scale(.98) }
  @media (hover:hover){ .hero-links .lnk:hover{ opacity:.82 } }
  .hero-lead{ grid-column:1; grid-row:5; max-width:none; margin:28px var(--gutter) 0 }
  /* phone: Explore takes the outlined look of .btn-ghost, the call button above stays the only filled one */
  .hero-act .btn{ grid-column:1; grid-row:6; height:54px; margin:24px var(--gutter) 0; background:var(--paper); box-shadow:inset 0 0 0 1px var(--ink) }
  .hero-act .btn::before{ background:var(--ink) }
  .hero-act .btn .btn-t{ color:#000; transition:color 0s linear .15s }
  @media (hover:hover){ .hero-act .btn:hover .btn-t{ color:#fff } }
  .hero-micro{ grid-row:7; display:block; margin-top:36px; padding:6px var(--gutter); font-size:.875rem }
  .hero-micro li{ padding:14px 0 }
  .hero-micro li + li{ border-top:1px solid var(--line-inv) }
  .hero-micro li:nth-child(n){ text-align:left }
}

/* first-screen entrance (cut line). home.js adds .is-shot once the photo is decoded: a hairline is drawn along the top of
   the frame and the photo opens down from it: a shutter in the page colour lies over the photo and slides down out of the
   frame. The photo itself stands in place from the first paint, so it counts as painted at once (largest contentful paint).
   .is-in follows once the display fonts are ready: the capitals rise from under their own line, the script word is signed,
   the paragraph and the contact links come up. .is-done, once both have landed, takes the line masks and the shutter off. */
.js .hero:not(.is-in) .hero-title .lni{ opacity:0; transform:translateY(.3em) }
.js .hero:not(.is-in) .hero-kicker,.js .hero:not(.is-in) .hero-lead,.js .hero:not(.is-in) .hero-links,.js .hero:not(.is-in) .hero-act .btn{ opacity:0; translate:0 14px }
.js .hero:not(.is-done) .hero-shot::after{ content:""; position:absolute; inset:0; z-index:1; background:var(--paper); pointer-events:none }
.js .hero:not(.is-shot) .hero-shot img{ scale:1.08 }
.js .hero:not(.is-shot) .hero-micro{ opacity:0; translate:0 16px }
.js .hero:not(.is-in) .scr-clip,.js [data-sign]:not(.is-in) .scr-clip{ transform:translateX(-101%) }
.js .hero:not(.is-in) .scr-ink,.js [data-sign]:not(.is-in) .scr-ink{ transform:translateX(calc(101% + .485em)) }
.hero.is-in .hero-title .lni{ transition:opacity .8s var(--e-out),transform .8s var(--e-out) }
.hero.is-in .hero-title .ln:nth-of-type(2) .lni{ transition-delay:.08s }
.hero.is-in .scr-clip,.hero.is-in .scr-ink{ transition:transform .9s var(--e-out) .5s }
.hero.is-in .hero-kicker{ transition:opacity .5s var(--e-out),translate .6s var(--e-out) }
.hero.is-in .hero-lead{ transition:opacity .5s var(--e-out) .6s,translate .6s var(--e-out) .6s }
.hero.is-in .hero-links{ transition:opacity .5s var(--e-out) .7s,translate .6s var(--e-out) .7s }
.hero.is-in .hero-act .btn{ transition:opacity .5s var(--e-out) .66s,translate .6s var(--e-out) .66s,transform .16s var(--e-hover) }
.hero.is-shot .hero-shot::after{ translate:0 100%; transition:translate .6s var(--e-move) .15s }
.hero.is-shot .hero-shot img{ transition:scale 1.4s var(--e-out) .15s }
.hero.is-shot .hero-micro{ transition:opacity .5s var(--e-out) .7s,translate .6s var(--e-out) .7s }
/* from 768 the capitals sit on lines of their own, so each line is a window and the capitals rise into it */
@media (min-width:768px){
  .js .hero:not(.is-done) .hero-title .ln:not(.ln-3){ display:inline-flex; overflow:hidden; padding-block:.12em; margin-block:-.12em }
  .js .hero:not(.is-in) .hero-title .ln:not(.ln-3) .lni{ opacity:1; transform:translateY(120%) }
  .hero.is-in .hero-title .ln:not(.ln-3) .lni{ transition:transform .75s var(--e-out) .1s }
  .hero.is-in .hero-title .ln:nth-of-type(2) .lni{ transition-delay:.18s }
}
.mo-hair{ position:absolute; z-index:3; left:0; right:0; top:0; height:1px; background:var(--ink); transform:scaleX(0); pointer-events:none }
[data-sign].is-in .scr-clip,[data-sign].is-in .scr-ink{ transition:transform 1s var(--e-out) .1s }
/* in a section heading the script word is signed after the words around it have risen */
.h2-sign [data-sign].is-in .scr-clip,.h2-sign [data-sign].is-in .scr-ink{ transition-delay:.35s }
/* written by pen (home.js): no wipe; the word itself waits unseen under the copy the pen writes, and is back at the end */
.js .scr.is-ink .scr-clip,.js .scr.is-ink .scr-ink{ transform:none !important; transition:none !important }
.js .scr.is-ink .scr-clip{ position:relative }
.js .scr.is-ink:not(.ink-done) .scr-ink{ opacity:0 }
.js .scr.is-ink.ink-fade .scr-ink{ transition:opacity .6s var(--e-out) !important }
.scr-pen{ position:absolute; left:0; top:0; width:100%; height:100%; overflow:visible; pointer-events:none }
@media print{ .scr-pen{ display:none } .js .scr.is-ink .scr-ink{ opacity:1 !important } }
/* ?still=1: every part in place at once, for full-page shots */
.mo-still *,.mo-still *::before,.mo-still *::after{ transition:none !important }

/* cut line in the sections. home.js arms a section by giving its parts one of these roles, releases them with .mo-on when
   the section comes into view (each part with its own delay --md) and takes every class and inline value off again once
   the last part has landed, so the page at rest is the page without motion. .mo-now releases at once, without movement.
   f: comes up from below; o: fades in; h: heading, its words rise from under their own line, a line at a time;
   l: its top hairline is drawn from the left (the border itself stays in place, transparent, so nothing moves);
   c: curtain, the box travels up and its contents down by the same height, so the picture opens from the top edge;
   p: a dark section, its hairline is drawn across the window and grows down into the panel. */
.mo-f:not(.mo-on),.mo-o:not(.mo-on),.mo-h:not(.mo-on),.mo-c:not(.mo-on),.mo-l:not(.mo-on),.mo-p:not(.mo-on){ pointer-events:none }
.mo-f{ opacity:0; translate:0 var(--my,14px) }
.mo-o{ opacity:0 }
.mo-f.mo-on{ opacity:1; translate:none; transition:opacity .5s var(--e-out) var(--md,0s),translate .6s var(--e-out) var(--md,0s) }
.mo-o.mo-on{ opacity:1; transition:opacity .5s var(--e-out) var(--md,0s) }
.mo-h{ opacity:0 }
.mo-h.is-split,.mo-h.mo-on{ opacity:1 }
.mo-h.mo-on:not(.is-split){ transition:opacity .5s var(--e-out) var(--md,0s) }
.mo-w{ display:inline-block; overflow:hidden; vertical-align:top; padding:.12em .05em .16em; margin:-.12em -.05em -.16em }
.mo-wi{ display:inline-block; translate:0 120% }
.mo-on .mo-wi{ translate:none; transition:translate .65s var(--e-out) var(--wd,0s) }
/* punctuation glued to the word before it stays inline (no break before it) and fades in once that word is up */
.mo-w.mo-wp,.mo-wp .mo-wi{ display:inline; overflow:visible; padding:0; margin:0; translate:none }
/* the word and its punctuation as one box: WebKit's balanced wrapping keeps it whole, where nowrap made a third line */
.mo-g{ display:inline-block; vertical-align:top; white-space:nowrap }
.mo-wp .mo-wi{ opacity:0 }
.mo-on .mo-wp .mo-wi{ opacity:1; transition:opacity .4s var(--e-out) calc(var(--wd,0s) + .3s) }
.mo-l.mo-l{ position:relative; border-top-color:transparent }
.mo-l::before{ content:""; position:absolute; left:0; right:0; top:-1px; height:1px; background:var(--lc); transform:scaleX(0); transform-origin:0 50%; pointer-events:none }
.mo-l.mo-on::before{ transform:none; transition:transform .55s var(--e-out) var(--md,0s) }
.mo-l.mo-o.mo-on{ transition:opacity .55s var(--e-out) var(--md,0s) }
/* --ch is the curtain's height in px (home.js); never less than the box's own height, should a picture grow after arming.
   A scaled picture overhangs its box by half the extra scale, so it waits that much further down. */
.mo-c.mo-c{ translate:0 calc(-1 * max(var(--ch,0px),100%)); background-color:transparent }
.mo-c > *{ translate:0 max(var(--ch,0px),100%) }
.mo-c > .mo-s{ scale:var(--ms,1); translate:0 calc(max(var(--ch,0px),100%) * ((var(--ms,1) + 1) / 2 + .01)) }
.mo-c.mo-on.mo-c,.mo-c.mo-on > *{ translate:none; transition:translate .65s var(--e-move) var(--md,0s) }
.mo-c.mo-on > .mo-s{ scale:1; transition:translate .65s var(--e-move) var(--md,0s),scale 1.3s var(--e-out) var(--md,0s) }
.desk-frames.mo-x::before{ opacity:0 }
.mo-p.mo-p{ position:relative; isolation:isolate }
@media not all and (hover:none) and (pointer:coarse){ .mo-p.mo-p{ background-color:transparent } }
.mo-p::before,.mo-p::after{ content:""; position:absolute; left:0; right:0; top:0; z-index:-1; background:var(--ink); pointer-events:none }
.mo-p::before{ bottom:0; transform:scaleY(0); transform-origin:50% 0 }
.mo-p::after{ height:1px; transform:scaleX(0) }
.mo-p.mo-on::after{ transform:none; transition:transform .5s var(--e-out) }
.mo-p.mo-on::before{ transform:none; transition:transform .75s var(--e-move) .34s }
.mo-now,.mo-now *,.mo-now::before,.mo-now::after{ transition:none !important }
/* a touch screen: the page still drifts under the finger as a part comes in, so it rises further and a little slower.
   The dark room is there from the start: grown from its hairline it took over a second, so a flick carried the
   section through the window white and the dark flashed in under the finger; only its contents come in. The section
   keeps its own background and the panel layers are not drawn at all: Chrome on Android left the tall dark layer
   unpainted for a moment on a fast scroll, and the white page showed through the room and the footer. */
@media (hover:none) and (pointer:coarse){
  .mo-f{ translate:0 calc(var(--my,14px) * 1.75) }
  .mo-f.mo-on{ transition:opacity .6s var(--e-out) var(--md,0s),translate .8s var(--e-out) var(--md,0s) }
  .mo-p::before,.mo-p::after{ content:none }
}

/* ---------- sections ---------- */
.sec-head{ text-align:center }
.sec-head .h2{ margin-top:16px }
.sec-desc{ max-width:33em; margin:26px auto 0 }
.h2-sign .scr{ font-size:1.62em; line-height:0 }

.intro{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--gap); margin-top:64px; align-items:start }
.intro-lead{ grid-column:1 / span 3; font-family:var(--disp); font-size:1.625rem; line-height:1.24; letter-spacing:-.01em; text-wrap:pretty }
.intro-body{ grid-column:5 / -1; columns:2; column-gap:var(--gap) }
.intro-body-1{ grid-column:7 / span 5; columns:1 }

/* services */
.services{ padding:112px 0 88px }
.svc-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--gap); margin-top:76px }
.svc{ display:flex; flex-direction:column; border-top:1px solid var(--ink); padding-top:14px }
.svc-tag{ font-stretch:125%; font-size:.75rem; line-height:18px; letter-spacing:.045em; color:var(--ink-2) }
.svc-title{ margin-top:10px; min-height:2.24em; font-family:var(--disp); font-size:1.625rem; line-height:1.12; letter-spacing:-.01em; text-wrap:balance }
.svc-photo{ margin-top:18px; aspect-ratio:4 / 5; overflow:hidden; background:var(--ph) }
.svc-photo img{ width:100%; height:100%; object-fit:cover }
.svc-desc{ margin-top:18px }
.svc-for{ margin-top:10px; font-size:.875rem; color:var(--ink-2) }
.svc-cta{ margin-top:auto; padding-top:20px }
/* the short lead sits under the heading, the long text with links follows the cards on the 8 middle columns */
.svc-lead{ max-width:25em; margin:28px auto 0; text-align:center; text-wrap:balance }
.svc-more{ width:calc((100% - 11 * var(--gap)) / 12 * 8 + 7 * var(--gap)); margin:72px auto 0 }

/* guarantee */
.promise{ padding:104px 0 112px }
.promise .sec-head{ position:relative; z-index:2; pointer-events:none }
.promise .scr{ display:block; position:relative; margin-top:.63em }
/* the handwritten word hangs .58 of the heading size below the heading box; the film keeps 23px clear of its ink at every width */
.promise-film{ position:relative; width:calc((100% - 11 * var(--gap)) / 12 * 8 + 7 * var(--gap)); margin:calc(var(--h2) * .58 + 23px) auto 0; aspect-ratio:16 / 9; overflow:hidden; background:var(--ink) }
.promise-film video{ width:100%; height:100%; object-fit:cover }
.promise-text{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--gap); margin-top:40px }
.promise-a{ grid-column:3 / span 4 }
.promise-b{ grid-column:8 / span 3 }
/* the three guarantees close the section: one ruled line as wide as the film */
.trust-list{ display:flex; justify-content:space-between; gap:var(--gap); width:calc((100% - 11 * var(--gap)) / 12 * 8 + 7 * var(--gap)); margin:56px auto 0; padding-top:18px; border-top:1px solid var(--line); font-size:.875rem; font-weight:500; letter-spacing:.01em }

/* portfolio */
.folio{ background:var(--ink); color:#fff; padding:96px 0 84px; overflow:hidden }
.folio ::selection{ background:#fff; color:var(--ink) }
.folio .kicker{ color:var(--on-dark-2) }
.folio-head{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--gap); align-items:end }
.folio-head-l{ grid-column:1 / span 8 }
.folio-head .h2{ margin-top:16px }
.folio-desc{ grid-column:9 / -1; padding-bottom:4px; color:rgba(255,255,255,.84) }
/* the desk: one frame at a time; all 10 frames lie in one cell and share its column and row tracks (subgrid),
   so the caption row is as tall as the longest caption and nothing below moves when the project changes */
.desk{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--gap); align-items:end; margin-top:60px }
.desk-frames{ grid-column:1 / span 8; display:grid; grid-template-columns:subgrid; grid-template-rows:minmax(0,1fr) auto auto; cursor:grab; touch-action:pan-y; outline-offset:8px }
.desk-frames.is-dragging{ cursor:grabbing; -webkit-user-select:none; user-select:none }
.desk-frames::before{ content:""; grid-column:4 / span 5; grid-row:1 / -1; background:var(--ph-dark) }
.desk-counter{ grid-column:1 / span 3; grid-row:2 }
/* read out to a screen reader when the project changes; never seen */
.desk-live{ position:absolute; width:1px; height:1px; margin:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap }
.reel-frame{ grid-column:1 / -1; grid-row:1 / -1; display:grid; grid-template-columns:subgrid; grid-template-rows:subgrid; visibility:hidden; pointer-events:none }
.reel-frame.is-active{ visibility:visible; z-index:2 }
.reel-frame.is-leaving{ visibility:visible; z-index:1 }
.reel-media{ grid-column:4 / span 5; grid-row:1 / -1; aspect-ratio:4 / 5; overflow:hidden }
/* from 1024 the frame, the scale and the arrows fit one laptop window together: the frame keeps the full width of its columns and gives up height (the photograph is cropped), never below 480px, also where the narrow columns of 1024–1100 would make it shorter */
@media (min-width:1024px){ .reel-media{ width:100%; min-height:480px; max-height:max(calc(100vh - 304px),480px) } @supports (height:1svh){ .reel-media{ max-height:max(calc(100svh - 304px),480px) } } }
.reel-img{ display:block; width:100%; height:100%; object-fit:cover; user-select:none; -webkit-user-drag:none; pointer-events:none }
.reel-caption{ grid-column:1 / span 3; grid-row:3; align-self:start; padding-top:30px }
.reel-frame.is-leaving .reel-caption{ opacity:0 }
.reel-index{ display:none }
.reel-title{ font-family:var(--disp); font-weight:400; font-size:2.625rem; line-height:1; letter-spacing:-.005em; text-wrap:balance }
.reel-meta{ display:block; margin-top:12px; font-size:.8125rem; color:var(--on-dark-2) }
/* the next project, dimmed, at the right edge of the desk; a click steps forward */
.desk-next{ grid-column:10 / span 3; display:grid; cursor:pointer }
.desk-next-item{ grid-area:1 / 1; margin:0; visibility:hidden; opacity:0; transition:opacity .2s var(--e-hover),visibility 0s linear .2s }
.desk-next-item.is-on{ visibility:visible; opacity:1; transition:opacity .4s var(--e-out) .18s }
.desk-next-media{ width:64%; aspect-ratio:4 / 5; overflow:hidden; background:var(--ph-dark) }
.desk-next-media img{ display:block; width:100%; height:100%; object-fit:cover; opacity:.5; transition:opacity .16s var(--e-hover); pointer-events:none }
@media (hover:hover){ .desk-next:hover .desk-next-media img{ opacity:.8 } }
/* keyboard focus rings the preview itself, not the whole column around it */
.desk-next:focus-visible{ outline:none }
.desk-next:focus-visible .desk-next-item.is-on .desk-next-media{ outline:2px solid #fff; outline-offset:3px }
.desk-next:focus-visible .desk-next-media img{ opacity:.8 }
.desk-next-cap{ margin-top:12px; font-size:.78125rem; color:var(--on-dark-2) }
.desk-next-cap span{ font-variant-numeric:tabular-nums }
/* the editing ruler: 10 thumbnails over a scale, a playhead that follows the finger 1:1 */
.desk-scrub{ margin-top:64px }
.desk-strip{ position:relative; container-type:inline-size; padding-top:12px; cursor:grab; touch-action:pan-y; -webkit-user-select:none; user-select:none }
.desk-strip.is-scrubbing{ cursor:grabbing }
.desk-cells{ display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); column-gap:6px }
.desk-thumb{ height:64px; overflow:hidden; background:var(--ph-dark) }
.desk-thumb img{ display:block; width:100%; height:100%; object-fit:cover; opacity:.32; transition:opacity .3s var(--e-hover); pointer-events:none }
.desk-cell.is-on .desk-thumb img{ opacity:1 }
@media (hover:hover){ .desk-cell:not(.is-on):hover .desk-thumb img{ opacity:.6 } }
.desk-ruler{ height:12px; margin-top:10px; background-image:linear-gradient(to right,rgba(255,255,255,.64) 1px,transparent 1px),linear-gradient(to right,rgba(255,255,255,.28) 1px,transparent 1px); background-size:100% 12px,10% 6px; background-repeat:no-repeat,repeat-x; background-position:0 0,0 100% }
.desk-n{ display:block; margin-top:9px; font-stretch:125%; font-size:.6875rem; line-height:1.4; letter-spacing:.045em; color:var(--on-dark-2); font-variant-numeric:tabular-nums }
.desk-cell.is-on .desk-n{ color:#fff }
.desk-head{ position:absolute; top:0; left:0; width:1px; height:98px; transform:translateX(calc(var(--p,.5) * (100cqw + 6px) / 10 - 3px)); transition:transform .52s var(--e-move); pointer-events:none }
.desk-strip.is-scrubbing .desk-head{ transition:none }
.desk-head-line{ position:absolute; inset:0; background:#fff }
.desk-head-knob{ position:absolute; left:-4px; bottom:-4px; width:9px; height:9px; background:#fff }
.folio-foot{ display:flex; align-items:center; justify-content:space-between; gap:28px; margin-top:30px }
.folio-counter{ display:flex; gap:8px; min-width:86px; font-family:var(--disp); font-size:1.5rem; line-height:1; font-variant-numeric:tabular-nums lining-nums }
.folio-sep{ opacity:.5 }
.folio-hint{ font-stretch:125%; font-size:.78125rem; letter-spacing:.045em; color:var(--on-dark-2); transition:opacity .24s var(--e-hover) }
.folio-hint.is-hidden{ opacity:0 }
.folio-nav{ display:flex; gap:10px }
.folio-btn{ position:relative; width:48px; height:48px; display:grid; place-items:center; box-shadow:inset 0 0 0 1px rgba(255,255,255,.5); overflow:hidden; isolation:isolate; transition:transform .16s var(--e-hover),opacity .2s var(--e-hover) }
.folio-btn::before{ content:""; position:absolute; inset:0; z-index:-1; background:#fff; transform:translateY(101%); transition:transform .3s var(--e-out) }
.folio-btn svg{ width:20px; height:20px; fill:none; stroke:#fff; stroke-width:1.4; mix-blend-mode:difference }
.folio-btn:active{ transform:scale(.94) }
.folio-btn:disabled{ opacity:.35; cursor:default }
@media (hover:hover){ .folio-btn:not(:disabled):hover::before{ transform:translateY(0) } }

/* reviews: a wall of type built by home.js from /api/reviews; 4–5 reviews a page, the first and shortest set large, the rest at one even size in rows of 3 */
.reviews{ background:var(--stone); padding:96px 0 }
.rv-wall{ margin-top:52px }
/* room kept for the wall while the reviews load, so the sections below do not jump; from 1024px the steps follow the measured height of the wall */
.rv-wall:empty{ min-height:868px }
@media (max-width:1279px){ .rv-wall:empty{ min-height:912px } }
@media (max-width:1202px){ .rv-wall:empty{ min-height:978px } }
.rv-sum{ display:flex; align-items:center; flex-wrap:wrap; gap:14px 18px }
.rv-brand{ font-size:1.25rem; line-height:1.2; font-weight:500 }
.rv-wm{ margin-right:.3em; font-weight:600; letter-spacing:-.01em }
.rv-wm b{ font-weight:inherit }
.rv-wm b:nth-child(1),.rv-wm b:nth-child(4){ color:#4285F4 }
.rv-wm b:nth-child(2),.rv-wm b:nth-child(6){ color:#EA4335 }
.rv-wm b:nth-child(3){ color:#FBBC05 }
.rv-wm b:nth-child(5){ color:#34A853 }
.rv-rate{ display:flex; align-items:center; gap:12px; margin-left:10px }
.rv-score{ font-family:var(--disp); font-size:1.75rem; line-height:1; font-variant-numeric:lining-nums }
.rv-stars{ color:#FBBC04; font-size:1.125rem; line-height:1; letter-spacing:.12em }
.rv-total{ font-size:.875rem; color:var(--ink-2) }
.rv-sum .btn{ margin-left:auto }
/* every page lies in the same grid cell, so the tallest one sets the height and the arrows stay where they are;
   on a shorter page the room left over goes between its rows, so the last row always ends on the same line */
.rv-pages{ display:grid; margin-top:28px }
.rv-page{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--gap); row-gap:56px; align-items:start; align-content:space-between }
/* without JS the server-rendered pages stand one under another; with JS one page is shown at a time */
html:not(.js) .rv-page + .rv-page{ margin-top:56px }
.js .rv-page{ grid-area:1 / 1; opacity:0; visibility:hidden; transition:opacity .16s var(--e-hover),visibility 0s linear .16s }
.js .rv-page.is-on{ opacity:1; visibility:visible; transition:opacity .4s var(--e-out) .14s }
.rv-cell{ grid-column:span 4; min-width:0; padding-top:14px; border-top:1px solid var(--ink) }
.rv-cell:first-child{ grid-column:span 8 }
/* the large first review sits beside one review on a 5-review page and alone on its row on a 4-review page, so the rest always run in rows of 3 equal cells */
.rv-page[data-cells="4"] .rv-cell:first-child,.rv-page[data-cells="1"] .rv-cell{ grid-column:1 / -1 }
.rv-meta{ display:flex; align-items:center; gap:10px; font-size:.8125rem; line-height:18px }
.rv-name{ --hit:0px; position:relative; padding:var(--hit) 0; margin:calc(var(--hit) * -1) 0; font-weight:600 }
a.rv-name::after{ content:""; position:absolute; left:0; right:0; bottom:calc(var(--hit) - 2px); height:1px; background:currentColor; transform:scaleX(0); transform-origin:left; transition:transform .3s var(--e-out) }
@media (hover:hover){ a.rv-name:hover::after{ transform:scaleX(1) } }
.rv-date{ font-stretch:125%; font-size:.75rem; letter-spacing:.045em; color:var(--ink-2) }
.rv-g{ flex:none; width:16px; height:16px; margin-left:auto }
.rv-g svg{ display:block; width:100%; height:100% }
.rv-quote{ margin:20px 0 0; font-family:var(--disp); letter-spacing:-.012em; text-wrap:pretty }
.rv-quote[data-size="132"]{ font-size:8.25rem; line-height:.96; letter-spacing:-.022em; text-wrap:balance }
.rv-quote[data-size="104"]{ font-size:6.5rem; line-height:.98; letter-spacing:-.02em; text-wrap:balance }
.rv-quote[data-size="64"]{ font-size:4rem; line-height:1.03; letter-spacing:-.018em; text-wrap:balance }
.rv-quote[data-size="44"]{ font-size:2.75rem; line-height:1.1 }
.rv-quote[data-size="34"]{ font-size:2.125rem; line-height:1.16 }
.rv-quote[data-size="26"]{ font-size:1.625rem; line-height:1.24 }
.rv-quote[data-size="even"]{ font-size:1.75rem; line-height:1.22; overflow-wrap:anywhere }
/* a long review once opened is read as text, so it is set smaller than the even size (the large first review keeps its size); the attribute keeps this rule above the even sizes of the narrower widths */
.rv-quote[data-size="even"].is-open{ font-size:1.25rem; line-height:1.4; letter-spacing:0 }
.rv-quote.is-clamped{ display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden }
.rv-more{ margin-top:13px }
.rv-more[hidden]{ display:none }
.rv-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:48px; padding-top:22px; border-top:1px solid var(--line) }
.rv-count{ display:flex; gap:8px; font-family:var(--disp); font-size:1.5rem; line-height:1; font-variant-numeric:tabular-nums lining-nums }
.rv-count-sep{ color:var(--ink-2) }
.rv-arrows{ display:flex; gap:10px }
.rv-arrow{ position:relative; width:48px; height:48px; display:grid; place-items:center; background:var(--stone); box-shadow:inset 0 0 0 1px var(--ink); overflow:hidden; isolation:isolate; transition:transform .16s var(--e-hover) }
.rv-arrow::before{ content:""; position:absolute; inset:0; z-index:-1; background:var(--ink); transform:translateY(101%); transition:transform .3s var(--e-out) }
.rv-arrow svg{ width:20px; height:20px; fill:none; stroke:#000; stroke-width:1.4; transition:stroke 0s linear .15s }
.rv-arrow:active{ transform:scale(.94) }
@media (hover:hover){ .rv-arrow:hover::before{ transform:translateY(0) } .rv-arrow:hover svg{ stroke:#fff } }
@keyframes rv-in{ from{ opacity:0 } }

/* journal */
.journal{ padding:112px 0 0 }
/* the heading is set flush left with its label at the far end of the first line; articles are an index of rows */
.journal .sec-head{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--gap); align-items:start; text-align:left }
.journal .sec-head .kicker{ grid-column:10 / -1; grid-row:1; text-align:right; padding-top:.45rem }
.journal .sec-head .h2{ grid-column:1 / -1; grid-row:1; margin-top:0; text-wrap:wrap; line-height:1.04 }
.jr-grid{ margin-top:76px; border-bottom:1px solid var(--ink) }
.jr{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); grid-template-rows:auto auto 1fr; column-gap:var(--gap); padding:28px 0 34px; border-top:1px solid var(--ink) }
.jr-top{ grid-column:1 / span 2; grid-row:1 / -1; display:flex; flex-direction:column; gap:3px; padding-top:9px; font-stretch:125%; font-size:.75rem; line-height:18px; letter-spacing:.045em; color:var(--ink-2) }
.jr-meta{ display:flex; gap:14px; white-space:nowrap }
.jr-img{ grid-column:10 / -1; grid-row:1 / -1; aspect-ratio:3 / 2; overflow:hidden; background:var(--ph) }
.jr-img img{ width:100%; height:100%; object-fit:cover }
/* service and journal pictures come from different shoots: one quiet display filter brings them to a common tone; the files are untouched, and deleting this line switches it off */
.svc-photo img,.jr-img img{ filter:saturate(.66) sepia(.15) contrast(.97) }
.jr-title{ grid-column:3 / span 6; grid-row:1; font-family:var(--disp); font-weight:400; font-size:2rem; line-height:1.12; letter-spacing:-.01em; text-wrap:balance }
.jr-desc{ grid-column:3 / span 5; grid-row:2; margin-top:14px }
.jr-cta{ grid-column:3 / span 5; grid-row:3; padding-top:18px }
.jr-all{ margin-top:64px; text-align:center }

/* questions */
.faq .sec-head .h2{ margin-top:30px }
.faq .scr{ display:inline-block; position:relative; top:.2667em }
.faq{ padding:120px 0 }
.faq-list{ max-width:878px; margin:84px auto 0; border-bottom:1px solid var(--line) }
.faq-item{ border-top:1px solid var(--line) }
.faq-q{ display:flex; align-items:center; justify-content:space-between; gap:32px; padding:26px 0; cursor:pointer; list-style:none; font-family:var(--disp); font-size:1.5rem; line-height:1.2; letter-spacing:-.01em }
.faq-q::-webkit-details-marker{ display:none }
.faq-mark{ position:relative; flex:none; width:18px; height:18px; transition:transform .16s var(--e-hover) }
.faq-mark::before,.faq-mark::after{ content:""; position:absolute; left:0; right:0; top:50%; height:1px; background:var(--ink); transition:transform .3s var(--e-out) }
.faq-mark::after{ transform:rotate(90deg) }
.faq-item[open] .faq-mark::after{ transform:rotate(0deg) }
@media (hover:hover){ .faq-q:hover .faq-mark{ transform:scale(1.25) } }
.faq-a{ max-width:44em; padding:0 48px 30px 0 }
.faq-item[open] .faq-a{ animation:faq-in .28s var(--e-out) both }
@keyframes faq-in{ from{ opacity:0; transform:translateY(-6px) } }
@media (min-width:1024px){
  .faq .wrap{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--gap); align-items:start }
  .faq .sec-head{ grid-column:1 / span 4; position:sticky; top:calc(var(--top-h) + 40px); text-align:left }
  .faq .sec-head .h2{ margin-top:16px }
  .faq .scr{ display:block; top:0; margin-top:.63em }
  .faq-list{ grid-column:6 / -1; max-width:none; margin:0 }
}

/* ---------- footer ---------- */
.foot{ background:var(--ink); color:#fff; padding:88px 0 36px }
.foot ::selection{ background:#fff; color:var(--ink) }
.foot-title{ font-stretch:125%; font-size:.78125rem; line-height:18px; letter-spacing:.045em; color:var(--on-dark-2) }
.foot-reach-links{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--gap); align-items:end; margin-top:20px }
.foot-phone{ grid-column:1 / span 8; justify-self:start; position:relative; font-family:var(--disp); font-size:clamp(2.5rem,6.1vw,5.5rem); line-height:1; letter-spacing:.02em; font-variant-numeric:lining-nums; white-space:nowrap }
.foot-phone::after,.foot-link::after,.foot-legal-link::after,.foot-dev::after{ content:""; position:absolute; left:0; right:0; bottom:var(--hit,0px); height:1px; background:currentColor; transform:scaleX(0); transform-origin:left; transition:transform .3s var(--e-out) }
.foot-reach-list{ grid-column:9 / -1; display:flex; flex-direction:column; align-items:flex-start; gap:6px; padding-bottom:10px }
.foot-link,.foot-legal-link,.foot-dev{ position:relative }
.foot-item{ color:rgba(255,255,255,.84) }
@media (hover:hover){ .foot-phone:hover::after,.foot-link:hover::after,.foot-legal-link:hover::after,.foot-dev:hover::after{ transform:scaleX(1) } }
.foot-grid{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--gap); margin-top:84px; padding-top:52px; border-top:1px solid var(--line-inv) }
.foot-brand{ grid-column:1 / span 4 }
.foot-logo{ display:inline-block; padding:5px 0; margin:-5px 0 }
.foot-logo img{ height:34px; width:auto }
.foot-desc{ max-width:27em; margin-top:22px; color:rgba(255,255,255,.84) }
.foot-socials{ display:flex; gap:10px; margin-top:24px }
.foot-social{ position:relative; width:44px; height:44px; display:grid; place-items:center; box-shadow:inset 0 0 0 1px rgba(255,255,255,.4); overflow:hidden; isolation:isolate }
.foot-social::before{ content:""; position:absolute; inset:0; z-index:-1; background:#fff; transform:translateY(101%); transition:transform .3s var(--e-out) }
.foot-ico{ width:18px; height:18px; background:#fff; mix-blend-mode:difference }
.foot-ico-ig{ -webkit-mask:url('/images/icon-instagram.svg') no-repeat center / contain; mask:url('/images/icon-instagram.svg') no-repeat center / contain }
.foot-ico-fb{ -webkit-mask:url('/images/icon-facebook.svg') no-repeat center / contain; mask:url('/images/icon-facebook.svg') no-repeat center / contain }
@media (hover:hover){ .foot-social:hover::before{ transform:translateY(0) } }
.foot-col-services{ grid-column:6 / span 4 }
.foot-col-areas{ grid-column:10 / -1 }
.foot-links{ margin-top:16px }
.foot-col-services .foot-links{ columns:2; column-gap:var(--gap) }
.foot-links > *{ display:table; padding:5px 0; break-inside:avoid }
.foot-base{ display:flex; flex-wrap:wrap; align-items:center; gap:12px 32px; margin-top:84px; padding-top:24px; border-top:1px solid var(--line-inv); font-size:.78125rem; color:var(--on-dark-2) }
.foot-dev{ display:inline-flex; align-items:center; gap:8px }
.dev-logo{ flex:none; width:24px; height:20px; background:url('/images/infinite-semantic-logo-v2.svg') no-repeat center / contain }
.foot-legal{ display:flex; gap:24px; margin-left:auto }

/* ---------- menu panel ---------- */
.drawer-overlay{ position:fixed; inset:0; z-index:70; background:var(--overlay); opacity:0; visibility:hidden; transition:opacity .24s var(--e-hover),visibility 0s linear .24s }
.drawer-overlay.open{ opacity:1; visibility:visible; transition:opacity .3s var(--e-hover) }
.drawer{ position:fixed; top:0; right:0; bottom:0; z-index:80; width:min(100%,440px); display:flex; flex-direction:column; padding:0 var(--gutter) 28px; background:var(--paper); overflow-y:auto; overscroll-behavior:contain; transform:translateX(100%); visibility:hidden; transition:transform .38s var(--e-out),visibility 0s linear .38s }
.drawer.open{ transform:none; visibility:visible; transition:transform .5s var(--e-out) }
.drawer-head{ flex:none; height:var(--top-h); display:flex; align-items:center; justify-content:space-between }
.drawer-head img{ height:28px; width:auto }
.drawer-close{ position:relative; width:44px; height:44px; margin-right:-10px }
.drawer-close:focus-visible,.top-burger:focus-visible{ outline-offset:-4px }
.drawer-x::before,.drawer-x::after{ content:""; position:absolute; left:10px; right:10px; top:50%; height:1.5px; background:var(--ink) }
.drawer-x::before{ transform:rotate(45deg) }
.drawer-x::after{ transform:rotate(-45deg) }
.drawer-nav{ margin-top:12px; border-bottom:1px solid var(--line) }
.drawer-link{ display:block; padding:15px 0; border-top:1px solid var(--line); font-family:var(--disp); font-size:1.75rem; line-height:1.1; letter-spacing:-.01em }
/* the page you are on: the top bar's mark (a hairline under the word) in the brand colour, so the open menu says where you are */
.drawer-link.is-on,.drawer-link[aria-current="page"]{ color:var(--ink); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.2em }
.drawer-foot{ margin-top:auto; padding-top:32px; display:flex; flex-direction:column; align-items:center }
.drawer-foot .btn{ align-self:stretch; height:54px }
.drawer-foot .lnk{ --lnk-pad:12px; margin-top:9px }
.drawer-mail{ font-size:.875rem; color:var(--ink-2) }
.drawer-mail a{ display:inline-block; padding:12px 0; color:var(--ink) }

/* ---------- tablet ---------- */
@media (max-width:1279px){
  .services{ padding:84px 0 72px }
  .intro{ margin-top:48px }
  .intro-lead{ grid-column:1 / span 5 }
  .intro-body,.intro-body-1{ grid-column:7 / -1; columns:1 }
  .svc-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:56px; margin-top:56px }
  .svc-title{ min-height:0 }
  .svc-photo{ aspect-ratio:5 / 4 }
  .svc-more{ width:auto; columns:2; margin-top:56px }
  .trust-list{ width:auto; margin-top:44px }
  /* 768–1023: the line is too narrow for 3 phrases in a row, so each one takes 2 balanced lines in its own column */
  @media (max-width:1023px){
    .trust-list{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) }
    .trust-list li{ text-align:center; text-wrap:balance }
  }
  .promise{ padding:80px 0 84px }
  .promise-film{ width:100% }
  .promise-a{ grid-column:1 / span 7 }
  .promise-b{ grid-column:9 / -1 }
  .folio{ padding:80px 0 68px }
  .folio-head-l{ grid-column:1 / -1 }
  .folio-desc{ grid-column:1 / span 8; margin-top:22px }
  /* 1024–1279: the caption takes 4 columns, the frame 5, the next project 3 */
  .desk{ margin-top:48px }
  .desk-frames{ grid-column:1 / span 9 }
  .desk-counter,.reel-caption{ grid-column:1 / span 4 }
  .desk-frames::before,.reel-media{ grid-column:5 / span 5 }
  .reel-title{ font-size:2.25rem }
  .desk-next-media{ width:80% }
  .desk-scrub{ margin-top:48px }
  /* 768–1023: the frame takes 8 columns with the caption under it, the next project sits beside it at the top */
  @media (max-width:1023px){
    .desk{ align-items:start }
    .desk-frames{ grid-column:1 / span 8; grid-template-rows:auto auto auto }
    .desk-frames::before,.reel-media{ grid-column:1 / -1; grid-row:1 }
    .desk-counter{ grid-column:1 / -1; margin-top:26px }
    .reel-caption{ grid-column:1 / -1; padding-top:18px }
    .reel-title{ font-size:2rem }
    .desk-next-media{ width:100% }
    .desk-thumb{ height:52px }
    .desk-head{ height:86px }
  }
  .reviews{ padding:80px 0 }
  .rv-name{ --hit:13px }
  .rv-more{ --lnk-pad:12px; margin-top:4px }
  /* 1024–1279: the cells of a row are narrow, the even size is that of 768–1023 */
  .rv-quote[data-size="even"]{ font-size:1.5rem; line-height:1.25 }
  /* up to 1023: only the current page takes room, so a page is as tall as its own reviews; home.js scrolls back to its start after a page turn.
     768–1023: 2 columns under the full-width first review; the last review of a 4-review page is full width too */
  @media (max-width:1023px){
    .rv-wall:empty{ min-height:1215px }
    .rv-pages{ display:block }
    .rv-page{ grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:44px }
    .js .rv-page{ display:none; opacity:1; visibility:visible; transition:none }
    .js .rv-page.is-on{ display:grid; transition:none }
    .rv-pages.is-flipped .rv-page.is-on{ animation:rv-in .4s var(--e-out) both }
    .rv-page[data-cells] .rv-cell:nth-child(n){ grid-column:auto }
    .rv-page[data-cells] .rv-cell:first-child,.rv-page[data-cells="4"] .rv-cell:nth-child(4),.rv-page[data-cells="3"] .rv-cell:nth-child(3),.rv-page[data-cells="2"] .rv-cell:nth-child(2){ grid-column:1 / -1 }
    .rv-quote[data-size="even"]{ font-size:1.5rem; line-height:1.25 }
  }
  .journal{ padding:84px 0 0 }
  .jr-grid{ margin-top:56px }
  .jr{ grid-template-rows:auto auto auto 1fr; padding:24px 0 28px }
  .jr-top{ grid-column:1 / span 8; grid-row:1; flex-direction:row; gap:14px; padding-top:0 }
  .jr-title{ grid-column:1 / span 8; grid-row:2; margin-top:10px; font-size:1.625rem }
  .jr-desc{ grid-column:1 / span 8; grid-row:3; margin-top:10px }
  .jr-cta{ grid-column:1 / span 8; grid-row:4 }
  .jr-img{ grid-column:9 / -1; grid-row:1 / -1 }
  .faq{ padding:92px 0 }
  .foot{ padding:76px 0 32px }
  .foot-phone{ grid-column:1 / -1 }
  .foot-reach-list{ grid-column:1 / -1; margin-top:28px; padding-bottom:0 }
  .foot-brand{ grid-column:1 / -1 }
  .foot-col-services{ grid-column:1 / span 8; margin-top:52px }
  .foot-col-areas{ grid-column:9 / -1; margin-top:52px }
  /* touch: every control is at least 44px tall, the hover line stays where it was under the text */
  .foot-reach-list{ gap:0 }
  .foot-reach-list .foot-link{ --hit:11px; padding:11px 0 }
  .foot-links > *{ padding:11px 0 }
  .foot-links > .foot-link{ --hit:6px }
  .foot-legal-link{ --hit:12px; padding:12px 0 }
  .foot-dev{ --hit:11px; min-height:44px }
}

/* ---------- phone ---------- */
@media (max-width:767px){
  :root{ --h2:clamp(2rem,9.4vw,2.6rem) }
  .sec-head .h2{ margin-top:12px }
  .services{ padding:60px 0 56px }
  .intro{ display:block; margin-top:32px }
  .intro-lead{ font-size:1.4375rem }
  .intro-body{ margin-top:18px }
  .svc-grid{ grid-template-columns:minmax(0,1fr); row-gap:44px; margin-top:44px }
  .svc-title{ font-size:1.5rem }
  .svc-cta{ padding-top:14px }
  .svc-cta .lnk,.jr-cta .lnk{ --lnk-pad:8px }
  .svc-lead{ margin-top:20px }
  .svc-more{ columns:1; margin-top:40px }
  .trust-list{ display:block; margin:28px 0 0; padding-top:0 }
  .trust-list li{ padding:14px 0 }
  .trust-list li + li{ border-top:1px solid var(--line) }
  .trust-list li{ text-align:left }
  .promise{ padding:60px 0 64px }
  .promise .wrap{ display:flex; flex-direction:column }
  .promise-film{ width:auto; margin-inline:calc(var(--gutter) * -1) }
  .promise-text{ display:block; margin-top:28px }
  .promise-b{ margin-top:16px }
  .folio{ padding:60px 0 52px }
  .folio-head{ display:block }
  .folio-desc{ margin-top:18px }
  /* phone: the frame across the screen, the caption under it; the ruler runs edge to edge under a fixed playhead */
  .desk{ display:block; margin-top:36px }
  .desk-frames{ grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto }
  .desk-counter{ margin-top:20px }
  .reel-caption{ padding-top:12px }
  .reel-title{ font-size:1.75rem }
  .reel-meta{ margin-top:8px }
  .desk-next{ display:none }
  .desk-scrub{ margin-top:28px; padding-inline:0 }
  .desk-strip{ overflow:hidden }
  .desk-cells{ display:flex; gap:4px; width:max-content; transform:translateX(calc(50cqw - var(--p,.5) * 60px + 2px)); transition:transform .52s var(--e-move) }
  .desk-strip.is-scrubbing .desk-cells{ transition:none }
  .desk-cell{ flex:none; width:56px }
  /* phone: the number stands under the playhead, which marks the middle of the cell */
  .desk-n{ text-align:center }
  /* the line breaks of a section heading are for 768 px and up */
  .h2 .br-d{ display:none }
  .desk-thumb{ height:56px }
  .desk-head{ left:50%; height:90px; transform:none; transition:none }
  .folio-foot{ margin-top:24px }
  .reviews{ padding:60px 0 }
  /* phone: the reviews of a page go in one column */
  .rv-wall{ margin-top:36px }
  /* the steps follow the measured height of the wall: 1786 at 360, 1664 at 375, 1505–1628 from 384 to 767 */
  .rv-wall:empty{ min-height:1664px }
  @media (max-width:369px){ .rv-wall:empty{ min-height:1786px } }
  @media (min-width:384px){ .rv-wall:empty{ min-height:1566px } }
  .rv-brand{ font-size:1.125rem }
  .rv-rate{ margin-left:0 }
  .rv-sum .btn{ margin-left:0; flex:1 0 100% }
  .rv-pages{ margin-top:32px }
  .rv-page{ grid-template-columns:minmax(0,1fr); row-gap:36px }
  .rv-quote[data-size="even"]{ font-size:1.375rem; line-height:1.27 }
  .rv-quote[data-size="even"].is-open{ font-size:1.1875rem; line-height:1.42 }
  .rv-foot{ margin-top:40px }
  .journal{ padding:60px 0 0 }
  .journal .sec-head{ display:block; text-align:center }
  .journal .sec-head .kicker{ text-align:center; padding-top:0 }
  .journal .sec-head .h2{ margin-top:12px; text-wrap:balance; line-height:1.06 }
  .jr-grid{ margin-top:44px; border-bottom:0 }
  .jr{ display:flex; flex-direction:column; padding:0; border-top:0 }
  .jr + .jr{ margin-top:52px }
  .jr-top{ flex-direction:row; justify-content:space-between; gap:16px; padding:14px 0 16px; border-top:1px solid var(--ink) }
  .jr-title{ margin-top:22px; font-size:1.5rem }
  .jr-desc{ margin-top:12px }
  .jr-all{ margin-top:52px }
  .jr-all .btn{ width:100%; height:54px; padding:0 12px }
  .faq{ padding:68px 0 64px }
  .faq-list{ margin-top:40px }
  .faq-q{ padding:20px 0; gap:20px; font-size:1.3125rem }
  .faq-a{ padding:0 0 24px }
  .foot{ padding:60px 0 28px }
  .foot-reach-links{ display:block }
  .foot-phone{ display:inline-block; font-size:10.6vw; padding:3px 0 }
  .foot-reach-list{ margin-top:24px; gap:2px }
  .foot-grid{ display:block; margin-top:52px; padding-top:44px }
  .foot-col-services,.foot-col-areas{ margin-top:44px }
  .foot-col-areas .foot-links{ columns:2; column-gap:var(--gap) }
  .foot-base{ flex-direction:column; align-items:flex-start; gap:14px; margin-top:52px }
  .foot-legal{ margin-left:0; flex-wrap:wrap; gap:8px 24px }
}

/* ---------- reduced motion: nothing slides, scales or wipes; the entrances keep their order and only fade ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ transition-duration:.01ms !important; transition-delay:0s !important; animation-duration:.01ms !important; scroll-behavior:auto !important }
  /* a review quote never transitions: the size fitting reads its font size right after data-size changes */
  .rv-quote,.rv-quote *{ transition-property:none !important }
  /* first screen: the photo, the headline lines, the script word and the rest fade in the order of the full entrance */
  .js .hero:not(.is-in) .hero-title .lni,.js .hero:not(.is-in) .hero-title .ln:not(.ln-3) .lni{ opacity:0; transform:none }
  .js .hero:not(.is-in) .scr-clip,.js .hero:not(.is-in) .scr-ink,
  .js [data-sign]:not(.is-in) .scr-clip,.js [data-sign]:not(.is-in) .scr-ink{ transform:none }
  .js .hero:not(.is-in) .scr-clip,.js [data-sign]:not(.is-in) .scr-clip{ opacity:0 }
  .js .hero:not(.is-in) .hero-kicker,.js .hero:not(.is-in) .hero-lead,.js .hero:not(.is-in) .hero-links,.js .hero:not(.is-in) .hero-act .btn,
  .js .hero:not(.is-shot) .hero-micro{ opacity:0; translate:none }
  .js .hero:not(.is-shot) .hero-shot img{ scale:none; opacity:0 }
  .js .hero:not(.is-done) .hero-shot::after{ content:none }
  .hero.is-shot .hero-shot img{ transition:opacity .8s var(--e-out) .1s !important }
  .hero.is-in .hero-kicker{ transition:opacity .6s var(--e-out) !important }
  .hero.is-in .hero-title .lni,.hero.is-in .hero-title .ln:not(.ln-3) .lni{ transition:opacity .8s var(--e-out) .15s !important }
  .hero.is-in .hero-title .ln:nth-of-type(2) .lni,.hero.is-in .hero-title .ln:nth-of-type(2):not(.ln-3) .lni{ transition-delay:.3s !important }
  .hero.is-in .scr-clip{ transition:opacity .9s var(--e-out) .55s !important }
  .hero.is-in .hero-lead{ transition:opacity .6s var(--e-out) .6s !important }
  .hero.is-in .hero-act .btn{ transition:opacity .6s var(--e-out) .66s !important }
  .hero.is-in .hero-links,.hero.is-shot .hero-micro{ transition:opacity .6s var(--e-out) .7s !important }
  [data-sign].is-in .scr-clip{ transition:opacity 1s var(--e-out) .1s !important }
  .h2-sign [data-sign].is-in .scr-clip{ transition-delay:.35s !important }
  /* cut line: nothing moves, lines and panels stand at once, the parts fade in with their own delays */
  .mo-f,.mo-c.mo-c,.mo-c > *,.mo-wi{ translate:none !important }
  .mo-c > .mo-s{ scale:none !important }
  .mo-l::before,.mo-p::before,.mo-p::after{ transform:none !important }
  .mo-c:not(.mo-on){ opacity:0 }
  .mo-on.mo-f,.mo-on.mo-o,.mo-on.mo-h,.mo-on.mo-c{ opacity:1 }
  .mo-on.mo-f:not(.mo-now),.mo-on.mo-o:not(.mo-now),.mo-on.mo-h:not(.mo-now),.mo-on.mo-c:not(.mo-now){ transition:opacity .6s var(--e-out) var(--md,0s) !important }
}
