/* Patrace — shared stylesheet. Values come from claude/patrace-web-design-guide.md.
   Change a token here and the whole site follows. */

@font-face { font-family: "Aboreto"; src: url("/assets/fonts/aboreto-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Questrial"; src: url("/assets/fonts/questrial-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* Color */
  --white: #FFFFFF;
  --ink: #111011;
  --soft-ink: #4A4647;
  --plum: #3E1A26;
  --bordeaux: #6E2433;
  --dusty-plum: #A8838C;
  --deep-denim: #5E6773;
  --washed-denim: #A3ACB7;
  --denim-mist: #EFF0F2;
  --line: #E4E1E2;
  --line-strong: #D6D2D3;
  /* Soft tints, made only from palette colors mixed with white */
  --tint-denim-1: var(--denim-mist);
  --tint-denim-2: color-mix(in srgb, var(--washed-denim) 22%, var(--white));
  --tint-denim-3: color-mix(in srgb, var(--deep-denim) 12%, var(--white));

  /* Type */
  --font-name: "Aboreto", "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
  --font-label: "Questrial", system-ui, sans-serif;

  --size-name: 20px;
  --size-label: 10px;
  --size-body: 16px;
  --size-body-sm: 15px;
  --size-title: clamp(26px, 2.6vw, 32px);
  --size-hero: clamp(30px, 3.2vw, 42px);
  --size-editorial: clamp(18px, 1.55vw, 21px);
  --size-italic: 18px;

  /* Space */
  --edge: 8px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(64px, 7vw, 112px);
  --measure: 620px;
  --narrow: 300px;
  --header-h: 72px;
  --band-h: 66px;
  --edge-gap: 8px;
  --gutter: clamp(20px, 3vw, 44px);
  --inset: calc(var(--gutter) - var(--edge-gap));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--size-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 300; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 14px; z-index: 100; font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .18em; text-transform: uppercase; }
.skip-link:focus { left: 8px; }

/* ---------- Type roles ---------- */
.name { font-family: var(--font-name); font-size: var(--size-name); letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.2; font-weight: 400; }
.label { font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; margin: 0; }
.title { font-family: var(--font-sans); font-weight: 300; font-size: var(--size-title); line-height: 1.18; letter-spacing: -0.015em; }
.hero-title { font-family: var(--font-sans); font-weight: 300; font-size: var(--size-hero); line-height: 1.12; letter-spacing: -0.015em; }
.lead { font-size: var(--size-body); }
.small { font-size: var(--size-body-sm); }
.soft { color: var(--soft-ink); }
.italic { font-family: var(--font-serif); font-style: italic; font-size: var(--size-italic); line-height: 1.35; letter-spacing: -0.01em; }
.editorial {
  font-family: var(--font-serif);
  font-size: var(--size-editorial);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-indent: 22%;
}
@media (min-width: 900px) { .editorial { text-align: justify; hyphens: auto; } }

/* Links and buttons */
.link-bracket { font-family: var(--font-label); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; transition: opacity .25s ease; }
.link-bracket::before { content: "[ "; }
.link-bracket::after { content: " ]"; }
.link-bracket:hover { opacity: .6; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 26px;
  background: var(--plum); color: var(--white);
  font-family: var(--font-label); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--plum); border-radius: 0;
  transition: background-color .25s ease, border-color .25s ease;
}
.button:hover { background: var(--bordeaux); border-color: var(--bordeaux); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button--ghost:hover { background: var(--denim-mist); border-color: var(--line-strong); }

.button--soft { background: var(--line-strong); color: var(--plum); border-color: var(--line-strong); }
.button--soft:hover { background: var(--line); border-color: var(--line); }
.button--light { background: var(--white); color: var(--plum); border-color: var(--white); }

/* ---------- Layout ---------- */
.wrap { padding-inline: var(--gutter); }
.narrow-col { max-width: 710px; margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: var(--measure); }
.center { text-align: center; }
.stack > * + * { margin-top: 18px; }
.mt { margin-top: 28px; }
.mt-l { margin-top: 48px; }
.space { padding-block: var(--section); }
.space-top { padding-top: var(--section); }
.space-bottom { padding-bottom: var(--section); }
.edge { margin-inline: var(--edge-gap); }

/* Section rule: a full-width hairline with a small label on each side */
.rule-row { border-top: 1px solid var(--line); margin-inline: var(--edge-gap); display: flex; justify-content: space-between; gap: 16px; padding: 14px var(--edge-gap) 0; }
.section-head { display: grid; gap: 12px; justify-items: center; text-align: center; }

/* ---------- Header ---------- */
/* Three balanced zones: the studio pages on the left, the logo in the centre, the Archive, the Foundry and Inquire on the right. */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--white) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .4s ease, padding .4s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-logo { display: block; color: var(--ink); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { position: relative; font-family: var(--font-label); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-num { display: none; }
.nav-m { display: none; }
/* The Studio, The Archive and The Foundry are always set in Aboreto, at the one name size. */
.is-name, .footer-cols a.is-name { font-family: var(--font-name); font-size: var(--size-name); letter-spacing: -.02em; text-transform: uppercase; line-height: 1.2; }
.nav-cta { transition: opacity .25s ease; }
.nav-cta:hover { opacity: .55; }
.nav-cta::before { content: "[ "; } .nav-cta::after { content: " ]"; }
.lang-switch, .nav-place { margin: 0; font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .18em; color: var(--soft-ink); text-transform: uppercase; }
.lang-switch a[aria-current="true"] { color: var(--ink); }
.menu-toggle { display: none; }
@media (min-width: 1000px) {
  .site-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); padding: 0 clamp(20px, 3vw, 44px); }
  .site-header.is-scrolled { height: calc(var(--header-h) - 10px); }
  .site-logo { grid-column: 2; grid-row: 1; width: 82px; }
  .site-nav { display: contents; }
  .nav-primary { grid-column: 1; grid-row: 1; display: flex; gap: 34px; }
  .nav-end { grid-column: 3; grid-row: 1; display: flex; align-items: baseline; justify-content: flex-end; gap: 34px; }
  .nav-secondary { display: flex; gap: 34px; }
  .nav-secondary a { color: var(--soft-ink); }
  .nav-place { display: none; }
}
@media (max-width: 999px) {
  .site-header { height: var(--header-h); display: flex; justify-content: space-between; align-items: center; padding: 0 20px; background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .5s ease; }
  .site-logo { width: 70px; position: relative; z-index: 2; transition: color .5s ease; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 2; background: none; border: 0; padding: 8px 0; color: var(--ink); font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: color .5s ease; }
  .menu-toggle::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; transition: transform .6s cubic-bezier(.76,0,.24,1); }
  .menu-toggle .label-close { display: none; }
  /* Phone menu: a plum circle grows from the menu button; five equal numbered rows draw their lines and rise in,
     the three lines in Aboreto and the studio pages in light Manrope, each with a quiet hint on the right. */
  .site-nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; z-index: 1; background: var(--plum); color: var(--white); padding: calc(var(--header-h) + 20px) 24px 28px; display: flex; flex-direction: column; justify-content: flex-start; gap: 36px; overflow-x: hidden; overflow-y: auto; clip-path: circle(0 at calc(100% - 26px) 36px); visibility: hidden; transition: clip-path .8s cubic-bezier(.76,0,.24,1), visibility 0s .8s; }
  .site-nav::after { content: ""; position: absolute; right: -50px; top: calc(var(--header-h) + 8px); width: 260px; height: 60px; background: url("/assets/img/web/patrace-studio-script-white.png") no-repeat center / contain; opacity: .1; transform: rotate(-6deg); pointer-events: none; }
  .site-nav a { color: var(--white); }
  .nav-primary, .nav-secondary { display: none; }
  .nav-m { display: block; position: relative; z-index: 1; margin-block: auto; }
  .nav-m-list { list-style: none; margin: 0; padding: 0; }
  .nav-m-list li { position: relative; opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .9s cubic-bezier(.16,.84,.24,1); }
  .nav-m-list li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: color-mix(in srgb, var(--white) 18%, transparent); transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.76,0,.24,1); }
  .nav-m-list a { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 0 10px; padding: 15px 0 13px; }
  .nav-m-list a > .nav-num { justify-self: start; }
  .nav-m-list a > .nav-m-label { justify-self: center; text-align: center; }
  .nav-m-list a > .nav-m-hint { justify-self: end; }
  .nav-m .nav-num { display: inline; font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; text-transform: uppercase; color: var(--white); opacity: .55; }
  .nav-m-label { font-family: var(--font-sans); font-weight: 300; font-size: 17px; line-height: 1.1; letter-spacing: -.02em; text-transform: none; }
  .nav-m-label.is-name { font-family: var(--font-name); font-size: var(--size-name); letter-spacing: -.02em; text-transform: uppercase; }
  .nav-m-hint { font-family: var(--font-label); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; opacity: .5; transition: opacity .3s ease; }
  .nav-m-hint::after { content: " →"; }
  .nav-m-list a[aria-current="page"] .nav-m-hint, .nav-m-list a:active .nav-m-hint { opacity: 1; }
  .nav-m-also { margin: 40px 0 4px; text-align: center; font-family: var(--font-label); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; opacity: 0; transition: opacity .6s ease; }
  .nav-end { position: relative; z-index: 1; display: grid; gap: 18px; margin-top: 0; opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .8s cubic-bezier(.16,.84,.24,1); }
  .nav-cta { display: flex; justify-content: center; align-items: center; min-height: 48px; background: var(--white); color: var(--plum) !important; font-size: 10px; letter-spacing: .22em; }
  .nav-cta::before, .nav-cta::after { content: none; }
  .nav-place, .lang-switch, .lang-switch a { color: var(--white); opacity: .55; text-align: center; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: var(--plum); }
  body.nav-open .site-logo, body.nav-open .menu-toggle { color: var(--white); }
  body.nav-open .menu-toggle::after { transform: scale(1.7); background: var(--washed-denim); }
  body.nav-open .site-nav { clip-path: circle(160% at calc(100% - 26px) 36px); visibility: visible; transition: clip-path .9s cubic-bezier(.76,0,.24,1), visibility 0s; }
  body.nav-open .nav-m-list li { opacity: 1; transform: none; }
  body.nav-open .nav-m-list li::after { transform: scaleX(1); }
  body.nav-open .nav-m-list:first-child li:nth-child(1), body.nav-open .nav-m-list:first-child li:nth-child(1)::after { transition-delay: .3s; }
  body.nav-open .nav-m-list:first-child li:nth-child(2), body.nav-open .nav-m-list:first-child li:nth-child(2)::after { transition-delay: .38s; }
  body.nav-open .nav-m-list:first-child li:nth-child(3), body.nav-open .nav-m-list:first-child li:nth-child(3)::after { transition-delay: .46s; }
  body.nav-open .nav-m-also { opacity: .5; transition-delay: .54s; }
  body.nav-open .nav-m-list:last-child li:nth-child(1), body.nav-open .nav-m-list:last-child li:nth-child(1)::after { transition-delay: .6s; }
  body.nav-open .nav-m-list:last-child li:nth-child(2), body.nav-open .nav-m-list:last-child li:nth-child(2)::after { transition-delay: .68s; }
  body.nav-open .nav-end { opacity: 1; transform: none; transition-delay: .8s; }
  body.nav-open .menu-toggle .label-open { display: none; }
  body.nav-open .menu-toggle .label-close { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .nav-m-list li, .nav-end, .nav-m-also { opacity: 1 !important; transform: none !important; } .nav-m-list li::after { transform: none !important; } .site-nav { transition: none !important; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--plum); color: var(--white); min-height: clamp(560px, 48vw, 700px); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(72px, 8vw, 120px) var(--gutter) 30px; }
.footer-inner { display: grid; gap: 56px; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 120px); } }
.footer-logo { width: 96px; color: var(--white); display: block; margin-bottom: 34px; }
.footer-about { font-family: var(--font-serif); font-size: var(--size-italic); line-height: 1.4; margin: 0 0 34px; max-width: 430px; }
.footer-social { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 18px; }
.footer-social a { display: block; width: 18px; height: 18px; color: var(--white); transition: opacity .25s ease; }
.footer-social svg { width: 100%; height: 100%; display: block; }
.footer-mail { font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; text-transform: uppercase; color: var(--white); }
.footer-social a:hover, .footer-mail:hover, .footer-cols a:hover, .footer-legal a:hover { opacity: .65; }
.footer-cols { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-content: start; }
.footer-h { font-family: var(--font-name); font-size: var(--size-name); letter-spacing: -.02em; text-transform: uppercase; line-height: 1.2; margin: 0 0 18px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols ul, .footer-cta { font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; text-transform: uppercase; }
.footer-cols a { color: var(--white); }
.footer-note { font-size: 13.5px; line-height: 1.7; margin: 16px 0 0; max-width: 260px; }
.footer-join { display: inline-flex; align-items: center; min-height: 40px; padding: 0 22px; margin-top: 26px; background: var(--white); color: var(--ink) !important; font-family: var(--font-label); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; }
.footer-base { position: relative; z-index: 1; margin-top: 72px; display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; }
.footer-base .label { font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; color: var(--white); text-transform: uppercase; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; }
.footer-legal a { color: var(--white); }
.footer-script { position: absolute; right: clamp(-20px, 1vw, 20px); bottom: clamp(56px, 5vw, 76px); width: clamp(300px, 32vw, 520px); height: auto; opacity: .5; pointer-events: none; }
@media (max-width: 760px) { .footer-script { width: 300px; bottom: 120px; opacity: .3; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal .im, .js .im.reveal { clip-path: inset(14% 0 0 0); transition: clip-path 1.6s cubic-bezier(.2,.7,.2,1); }
.js .reveal .im > *, .js .im.reveal > * { transform: scale(1.08); transition: transform 2.2s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible .im, .js .im.reveal.is-visible { clip-path: inset(0); }
.js .reveal.is-visible .im > *, .js .im.reveal.is-visible > * { transform: none; }
.js .hero-foot { opacity: 0; transform: translateY(16px); animation: heroIn 1.4s cubic-bezier(.2,.7,.2,1) .25s forwards; }
.js .hero-foot { animation-delay: .6s; }
.js .hero-film video { transform: scale(1.06); animation: heroZoom 2.6s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.split .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .wd > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s cubic-bezier(.16,.84,.24,1); }
.split.is-visible .wd > span, .suite-panel.on .split .wd > span { transform: none; }
@keyframes heroZoom { to { transform: none; } }
.js .also2 a:hover .im.reveal.is-visible > * { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .reveal .im, .js .im.reveal { clip-path: none; }
  .js .reveal .im > *, .js .im.reveal > * { transform: none; }
  .js .hero-foot, .js .hero-film video { animation: none; opacity: 1; transform: none; }
  .split .wd > span { transform: none; transition: none; }
  .marquee-track { animation: none !important; }
  * { transition-duration: 0s !important; }
}

/* ---------- Home: built from the Patrace page language ---------- */
.num { font-family: var(--font-label); font-size: 11px; letter-spacing: .12em; color: var(--ink); text-transform: uppercase; }
.nri { font-family: var(--font-serif); font-style: italic; font-size: 16px; line-height: 1.32; letter-spacing: -.01em; }
.h2 { font-weight: 300; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.18; letter-spacing: -.015em; margin: 16px 0 0; }
.body-s { font-size: 13.5px; line-height: 1.78; }
.box { padding-inline: var(--gutter); }
.sec { padding-block: clamp(130px, 14vw, 220px); }
.sec-top0 { padding-top: 0; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(50px, 6vw, 80px); }
.head > p { max-width: 400px; justify-self: end; margin: 0; }
@media (max-width: 760px) { .head { grid-template-columns: 1fr; } .head > p { justify-self: start; } }

/* Hero film */
.hero-film { position: relative; margin: var(--edge-gap) var(--edge-gap) 0; height: calc(100svh - var(--header-h) - var(--edge-gap) - 70px); min-height: 460px; background: var(--soft-ink); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3vw, 40px) var(--inset); color: var(--white); }
.hero-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-film::after { content: ""; position: absolute; inset: 0; z-index: 0; background: color-mix(in srgb, var(--ink) 30%, transparent); }
.hero-film > * { position: relative; z-index: 1; }
.hero-film h1 { max-width: 680px; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hero-foot p { margin: 0; max-width: 360px; font-size: 13px; line-height: 1.6; }
.hero-strip { min-height: 70px; box-sizing: border-box; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 32px; margin-inline: var(--edge-gap); padding: 22px var(--inset); border-bottom: 1px solid var(--line-strong); }
.hero-strip p { margin: 0; }
.serif { font-family: var(--font-serif); font-size: var(--size-italic); }

/* Statement */
.studio-sec { position: relative; overflow: hidden; min-height: calc(100svh - var(--header-h) - var(--band-h)); display: flex; align-items: center; justify-content: center; padding-block: clamp(90px, 9vw, 140px); }
.script-bg { position: absolute; left: 58%; top: 24%; width: clamp(260px, 26vw, 400px); height: auto; opacity: .09; transform: rotate(-4deg); pointer-events: none; user-select: none; }
@media (max-width: 760px) { .script-bg { left: 40%; top: 12%; width: 220px; } }
.studio-sec .stmt { position: relative; }
.stmt { max-width: 760px; margin: 0 auto; text-align: center; padding-inline: clamp(20px, 4vw, 56px); }
.stmt .lead-serif { font-family: var(--font-serif); font-size: clamp(20px, 1.9vw, 25px); line-height: 1.34; letter-spacing: -.01em; margin: 26px 0 0; }
.stmt .body-s { max-width: 560px; margin: 26px auto 0; }
.stmt .lead-serif .wd { transition: color .5s ease; }
.stmt.tint .lead-serif .wd { color: color-mix(in srgb, var(--deep-denim) 62%, var(--white)); }
.stmt.tint .lead-serif .wd.lit { color: var(--ink); }

/* Moving words */
.words { padding: 0; overflow: hidden; background: var(--plum); color: var(--white); }
.marquee { overflow: hidden; height: var(--band-h); display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.marquee .track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee .grp { display: flex; align-items: baseline; }
.marquee .w { white-space: nowrap; font-family: var(--font-name); font-size: var(--size-name); letter-spacing: -.02em; text-transform: uppercase; line-height: 1.2; }
.marquee .sep { align-self: center; width: 34px; height: 1px; background: var(--white); opacity: .35; margin-inline: 2.6em; flex: none; }
.marquee sup { display: inline-block; vertical-align: top; margin-right: .5em; font-family: var(--font-label); font-size: 9px; letter-spacing: .14em; line-height: 1; transform: translateY(.1em); opacity: .75; text-transform: uppercase; }
/* Band entrance: opens from a fine line, then the words glide in */
.js .words[data-band] { clip-path: inset(50% 0 50% 0); transition: clip-path 1.1s cubic-bezier(.76,0,.24,1); }
.js .words[data-band] .marquee { opacity: 0; transform: translateX(80px); transition: opacity 1.2s ease .55s, transform 1.6s cubic-bezier(.16,.84,.24,1) .55s; }
.js .words[data-band].is-in { clip-path: inset(0 0 0 0); }
.js .words[data-band].is-in .marquee { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .words[data-band] { clip-path: none; } .js .words[data-band] .marquee { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* Three ways in: services suite with tabs */
.suite { background: var(--tint-denim-1); transition: background-color 1s ease; margin-inline: 0; height: 300vh; position: relative; }
.suite-pin { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.suite-pin > .box { width: 100%; padding-inline: var(--gutter); }
.suite[data-tone="1"] { background: var(--tint-denim-2); }
.suite[data-tone="2"] { background: var(--tint-denim-3); }
.suite-grid { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.suite-h { margin: 0 0 26px; }
.suite-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.suite-nav button { background: none; border: 0; padding: 0; font-family: var(--font-sans); font-size: 13.5px; color: var(--soft-ink); cursor: pointer; letter-spacing: .01em; transition: color .3s ease; }
.suite-nav button:hover, .suite-nav button.on { color: var(--ink); }
.suite-nav button.on { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.suite-panels { display: grid; }
.suite-panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 440px) auto; justify-content: space-between; gap: clamp(32px, 4vw, 64px); align-items: start; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1), visibility 0s .7s; }
.suite-panel.on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.suite-text { padding-top: 0; max-width: 440px; }
.suite-title { margin: 0 0 10px; }
.suite-text .nri { display: block; color: var(--soft-ink); margin: 0 0 26px; }
.suite-p { margin: 0 0 14px; }
.suite-scope { font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; text-transform: uppercase; margin: 36px 0 16px; }
.suite-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; font-size: 13.5px; line-height: 1.78; }
.suite-media { margin: 0; justify-self: end; }
.suite-media .im { aspect-ratio: 3 / 4; overflow: hidden; height: min(60vh, 560px); }
.suite-media .link-bracket { text-align: left !important; }
.suite-media .im > * { width: 100%; height: 100%; object-fit: cover; display: block; }
.suite-media .link-bracket { display: block; text-align: right; margin-top: 18px; }
@media (max-width: 860px) {
  .suite { height: auto; padding-block: 90px; }
  .suite-pin { position: static; height: auto; display: block; }
  .suite-grid, .suite-panel { grid-template-columns: 1fr; }
  .suite-nav ul { display: none; }
  .suite-panels { gap: 90px; }
  .suite-panel { grid-area: auto; opacity: 1; visibility: visible; transform: none; }
  .suite-media .im { height: auto; margin: 0; }
  .suite-text { max-width: none; padding-top: 0; }
  .suite-scope { margin-top: 40px; }
}

/* Built for: editorial triptych */
.bf { height: 170vh; position: relative; }
.bf-pin { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; align-items: center; overflow: hidden; }
.bf-pin > .box { width: 100%; }
.bf .hd { text-align: center; max-width: 620px; margin: 0 auto clamp(32px, 5vh, 60px); }
.deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); max-width: 960px; margin-inline: auto; }
.card { margin: 0; position: relative; }
.card .ph { height: min(46vh, 420px); overflow: hidden; will-change: transform; transform-origin: 50% 60%; backface-visibility: hidden; box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--ink) 45%, transparent); transition: box-shadow .8s ease; }
.bf.is-open .card .ph { box-shadow: 0 0 0 0 transparent; }
.card .ph img, .card .ph video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.card:hover .ph > * { transform: scale(1.03); }
.card figcaption { display: grid; grid-template-columns: 46px 1fr; gap: 0 8px; padding-top: 20px; opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform 1s cubic-bezier(.16,.84,.24,1); }
.bf.is-open .card figcaption { opacity: 1; transform: none; }
.bf.is-open .card:nth-child(2) figcaption { transition-delay: .1s; }
.bf.is-open .card:nth-child(3) figcaption { transition-delay: .2s; }
.card figcaption .num { padding-top: 5px; }
.card figcaption > div { display: grid; gap: 6px; }
.card .nri { font-size: 15px; }
@media (max-width: 860px) {
  .bf { height: auto; padding-block: 90px; }
  .bf-pin { position: static; height: auto; display: block; overflow: visible; }
  .deck { grid-template-columns: 1fr; gap: 40px; max-width: 420px; }
  .card .ph { transform: none !important; box-shadow: none; }
  .card figcaption { opacity: 1; transform: none; }
  .card .ph { height: auto; aspect-ratio: 4 / 5; }
}

/* Work carousel with captions */
.car { overflow: hidden; }
.car .track { display: flex; gap: 8px; width: max-content; animation: scroll-x 70s linear infinite; align-items: flex-start; }
.car:hover .track { animation-play-state: paused; }
.car figure { flex: none; width: clamp(220px, 20vw, 290px); margin: 0; }
.car figure > div { aspect-ratio: 4 / 5; overflow: hidden; }
.car img, .car video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.car figure:hover img { transform: scale(1.04); }
.cap { font-family: var(--font-label); font-size: 9.5px; text-transform: uppercase; letter-spacing: .2em; margin-top: 12px; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* A note from the studio */
.letter { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.letter .im { aspect-ratio: 4 / 5; overflow: hidden; width: min(100%, 280px); justify-self: end; }
.letter .im img { width: 100%; height: 100%; object-fit: cover; }
.letter .body { max-width: 560px; }
.letter .editorial { margin: 24px 0 18px; max-width: 560px; text-indent: 0; text-align: left; hyphens: none; }
.letter .body-s { max-width: 520px; margin: 0 0 30px; }
.sign { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sign .line { width: 40px; height: 1px; background: var(--ink); }
.sign .nm { font-family: var(--font-serif); font-style: italic; font-size: 19px; }
.sign-img { width: 160px; margin: 0 0 18px; }
.reviews { min-height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: clamp(80px, 9vw, 140px) 24px; text-align: center; }
.sec:has(+ .reviews) { padding-bottom: clamp(100px, 10vw, 150px); }
.reviews { position: relative; }
.reviews::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-strong); }
.rv-stage { display: grid; width: 100%; max-width: 760px; }
.rv { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.rv.on { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.rv .ph { width: 84px; height: 84px; overflow: hidden; margin-bottom: clamp(44px, 5vw, 64px); }
.rv .ph img { width: 100%; height: 100%; object-fit: cover; }
.rv blockquote { margin: 0 0 clamp(56px, 6vw, 90px); font-family: var(--font-serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.22; letter-spacing: -.01em; }
.rv figcaption { display: grid; gap: 6px; justify-items: center; }
.rv .who { font-size: 14px; }
.rv-nav { display: flex; align-items: center; gap: 28px; margin-top: clamp(40px, 4vw, 56px); font-family: var(--font-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.rv-nav button { background: none; border: 0; padding: 6px; cursor: pointer; font-size: 16px; color: var(--ink); line-height: 1; transition: opacity .25s ease; }
.rv-nav button:hover { opacity: .5; }
@media (max-width: 760px) { .letter { grid-template-columns: 1fr; } .letter .im { justify-self: start; width: 220px; } }

/* How it works: line with a travelling dot */
.how { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 36px); padding-top: 40px; }
.how::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--soft-ink); opacity: .35; }
.how-sec > .box { padding-inline: var(--inset); }
.how-sec { margin: 0 var(--edge-gap); background: var(--tint-denim-2); color: var(--ink); padding-block: clamp(110px, 12vw, 180px); }
.how-sec .body-s, .how-sec p { color: var(--ink); }
.how .bar { position: absolute; left: 0; top: 6px; height: 1px; background: var(--plum); width: 0; }
.how .dot { position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--plum); }
.how .name { margin: 10px 0 12px; }
.how p { margin: 0; font-size: 13.5px; line-height: 1.78; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; padding: 0 0 0 36px; gap: 36px; } .how::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; } .how .bar, .how .dot { display: none; } }

/* Also from Patrace: The Archive and The Foundry */
.also2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.6vw, 40px); }
.also2 a { display: block; }
.also2 .im { aspect-ratio: 16 / 11; overflow: hidden; }
.also2 .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.also2 a:hover .im img { transform: scale(1.04); }
.also2 .txt { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 22px; align-items: baseline; border-top: 1px solid var(--line-strong); margin-top: 22px; padding-top: 18px; }
.also2 .txt p { grid-column: 2; margin: 0; max-width: 380px; }
@media (max-width: 760px) { .also2 { grid-template-columns: 1fr; gap: 50px; } }

/* Close */
.also-sec { padding: clamp(48px, 5vw, 72px) 0; }
.sec:has(+ .words) { padding-bottom: clamp(60px, 6vw, 90px); }
.close { margin: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.close .txt { background: var(--denim-mist); padding: clamp(70px, 8vw, 120px) clamp(28px, 6vw, 96px) clamp(70px, 8vw, 120px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.close .h2 { max-width: 440px; margin: 16px 0 22px; }
.close .body-s { max-width: 420px; margin: 0 0 34px; }
.close .links { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.close .loc { margin-top: 48px; }
.close .img { position: relative; overflow: hidden; }
.close .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; }
@media (max-width: 760px) { .close { grid-template-columns: 1fr; } .close .img { aspect-ratio: 4 / 5; order: -1; } }

/* Floating call button */
.float-cta { position: fixed; right: 24px; bottom: 28px; z-index: 40; opacity: 0; pointer-events: none; transition: opacity .4s ease, background-color .25s ease; }
.float-cta.is-on { opacity: 1; pointer-events: auto; }
@media (max-width: 760px) { .float-cta { display: none; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .car .track { animation: none; } .words .row { transform: none !important; } }
.head--flush { margin-bottom: 0; }
.also-label { margin-bottom: 34px; }

/* ---------- Mobile motion ---------- */
/* Built for: on small screens each card drifts up turned and slightly smaller, the picture opens like a curtain
   and settles from a gentle zoom, then the caption rises. */
@media (max-width: 860px) {
  .js .bf .card { opacity: 0; transform: translate3d(var(--dx, -18px), 64px, 0) rotate(var(--tilt, -6deg)) scale(.92); transition: opacity 1s ease, transform 1.6s cubic-bezier(.16,.84,.24,1); }
  .js .bf .card:nth-child(2) { --tilt: 5deg; --dx: 18px; }
  .js .bf .card:nth-child(3) { --tilt: -4deg; --dx: -14px; }
  .js .bf .card .ph { clip-path: inset(18% 6% 0 6% round 4px); transition: clip-path 1.6s cubic-bezier(.16,.84,.24,1); }
  .js .bf .card .ph > * { transform: scale(1.14) !important; transition: transform 2.2s cubic-bezier(.16,.84,.24,1) !important; }
  .js .bf .card figcaption { opacity: 0; transform: translateY(18px); transition: opacity .9s ease .5s, transform 1.1s cubic-bezier(.16,.84,.24,1) .5s; }
  .js .bf .card.is-in { opacity: 1; transform: none; }
  .js .bf .card.is-in .ph { clip-path: inset(0 0 0 0 round 0); }
  .js .bf .card.is-in .ph > * { transform: none !important; }
  .js .bf .card.is-in figcaption { opacity: 1; transform: none; }
}
/* How it works: on small screens the line runs down the side and the dot travels with it. */
@media (max-width: 760px) {
  .how .bar, .how .dot { display: block; }
  .how .bar { left: 6px; top: 0; width: 1px; height: 0; }
  .how .dot { left: 0; top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .bf .card, .js .bf .card figcaption, .js .bf .card .ph > * { opacity: 1; transform: none !important; transition: none !important; }
  .js .bf .card .ph { clip-path: none; }
}

/* ---------- Opening veil (first visit of a session) ---------- */
.intro-veil { display: none; }
html.intro { overflow: hidden; }
html.intro .intro-veil { display: flex; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; background: var(--plum); color: var(--white); transition: clip-path 1.1s cubic-bezier(.76,0,.24,1); clip-path: inset(0 0 0 0); }
.intro-in { display: grid; justify-items: center; gap: 26px; padding: 24px; text-align: center; }
.intro-logo { display: block; width: 92px; color: var(--white); opacity: 0; filter: blur(8px); animation: intro-in 1.2s ease .15s forwards; }
.intro-line { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .24em; text-transform: uppercase; }
.intro-line span { opacity: 0; filter: blur(6px); animation: intro-in 1s ease forwards; animation-delay: calc(.7s + var(--i) * .35s); }
@keyframes intro-in { to { opacity: 1; filter: none; } }
html.intro-out .intro-veil { clip-path: inset(0 0 100% 0); }
html.intro-out .intro-in { opacity: 0; transform: translateY(-20px); transition: opacity .5s ease, transform .9s cubic-bezier(.76,0,.24,1); }

/* ---------- Custom cursor ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cur-dot, .cur-halo { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; z-index: 9999; background: var(--bordeaux); opacity: 0; }
.cur-dot { width: 9px; height: 9px; transition: opacity .3s ease, background-color .35s ease, width .35s ease, height .35s ease; }
.cur-halo { width: 12px; height: 12px; filter: blur(8px); transition: opacity .5s ease, background-color .35s ease, width .7s cubic-bezier(.2,.7,.2,1), height .7s cubic-bezier(.2,.7,.2,1); }
html.cur-in .cur-dot { opacity: 1; }
html.cur-hover .cur-halo { width: 48px; height: 48px; opacity: .6; }
html.cur-hover .cur-dot { width: 7px; height: 7px; }
html.cur-light .cur-dot, html.cur-light .cur-halo { background: var(--washed-denim); }

/* ---------- Around the world: dotted map with city points ---------- */
.atlas { padding-block: clamp(110px, 12vw, 180px); }
.atlas-map { position: relative; max-width: 1120px; margin: 0 auto; }
.atlas-map img { width: 100%; height: auto; opacity: .6; }
.pin { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 26px; height: 26px; transform: translate(-50%, -50%); }
.pin::before, .pin::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; background: var(--bordeaux); transform: translate(-50%, -50%) scale(0); }
.pin::before { width: 30px; height: 30px; filter: blur(6px); opacity: 0; }
.pin::after { width: 9px; height: 9px; }
.pin-label { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); text-shadow: 0 0 6px var(--white), 0 0 2px var(--white); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.pin:hover .pin-label { opacity: 1; }
.atlas.is-in .pin::after { transform: translate(-50%, -50%) scale(1); transition: transform .7s cubic-bezier(.2,.9,.3,1.3) calc(.3s + var(--d) * .38s); }
.atlas.is-in .pin::before { animation: pin-glow 2s ease-out calc(.3s + var(--d) * .38s) forwards; }
@keyframes pin-glow {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  35% { opacity: .6; transform: translate(-50%, -50%) scale(1.25); }
  100% { opacity: .22; transform: translate(-50%, -50%) scale(.85); }
}
.atlas-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 40px 0 0; padding: 0; font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; text-transform: uppercase; color: var(--soft-ink); }
.atlas-list li { opacity: .35; transition: opacity .6s ease calc(.3s + var(--d) * .38s); }
.atlas.is-in .atlas-list li { opacity: 1; }
@media (max-width: 760px) {
  .pin { width: 20px; height: 20px; }
  .pin::after { width: 6px; height: 6px; }
  .pin::before { width: 20px; height: 20px; }
  .pin-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pin::after { transform: translate(-50%, -50%) scale(1); }
  .pin::before { opacity: .22; transform: translate(-50%, -50%) scale(.85); }
  .atlas-list li { opacity: 1; }
}

.atlas--tight { padding-bottom: clamp(60px, 6vw, 100px); }
/* Hero with a still picture in place of the film */
.hero-film > img.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.js .hero-film > img.hero-media { transform: scale(1.06); animation: heroZoom 2.6s cubic-bezier(.2,.7,.2,1) forwards; }
@media (prefers-reduced-motion: reduce) { .js .hero-film > img.hero-media { animation: none; transform: none; } }

/* Reviews: the settled style from the home, shared by every page */
.reviews { min-height: 0; padding-block: clamp(40px, 5vw, 80px) clamp(110px, 12vw, 170px); }
.reviews::before { display: none; }
.rv .ph { margin-bottom: clamp(28px, 3vw, 40px); }
.rv blockquote { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.34; max-width: 620px; margin-bottom: clamp(30px, 3.4vw, 46px); }
.rv-nav { margin-top: clamp(28px, 3vw, 40px); }
.rv-tag { color: var(--soft-ink); margin: 0 0 clamp(22px, 2.6vw, 32px); }

/* ---------- Questions: one layout on every page (Good to know) ---------- */
.sx-faq { padding-block: clamp(100px, 10vw, 160px); }
.sx-faq-hd { text-align: center; margin: 0 auto clamp(48px, 6vw, 90px); }
.sx-faq-hd .h2 { margin: 16px 0 0; }
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(40px, 5vw, 90px); max-width: 1180px; margin: 0 auto; }
.qa-item { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding: 30px 0 36px; border-top: 1px solid var(--line-strong); }
.qa-item dt { margin: 0; padding-top: 4px; line-height: 1.9; }
.qa-item dd { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink); }
@media (max-width: 900px) { .qa { grid-template-columns: 1fr; } .qa-item { grid-template-columns: 1fr; gap: 12px; } }

/* The Studio menu: on a computer a panel opens under the header with the three services as pictures;
   on a phone they open under The Studio with a tap. */
.mega, .nav-m-sub, .nav-m-more { display: none; }
@media (min-width: 1000px) {
  .has-mega { padding-block: 28px; margin-block: -28px; }
  .mega { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 30px 50px -40px color-mix(in srgb, var(--ink) 35%, transparent); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s cubic-bezier(.76,0,.24,1) .12s, visibility 0s .82s; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { clip-path: inset(0 0 -80px 0); visibility: visible; transition: clip-path .8s cubic-bezier(.76,0,.24,1), visibility 0s; }
  .mega-in { padding: 22px clamp(20px, 3vw, 44px) 20px; }
  .mega-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .mega-tiles li { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .8s cubic-bezier(.16,.84,.24,1); }
  .has-mega:hover .mega-tiles li, .has-mega:focus-within .mega-tiles li { opacity: 1; transform: none; }
  .has-mega:hover .mega-tiles li:nth-child(1), .has-mega:focus-within .mega-tiles li:nth-child(1) { transition-delay: .15s; }
  .has-mega:hover .mega-tiles li:nth-child(2), .has-mega:focus-within .mega-tiles li:nth-child(2) { transition-delay: .22s; }
  .has-mega:hover .mega-tiles li:nth-child(3), .has-mega:focus-within .mega-tiles li:nth-child(3) { transition-delay: .29s; }
  .site-nav .mega-tiles a { position: relative; display: block; aspect-ratio: 16 / 9; max-height: 34vh; overflow: hidden; color: var(--white); transition: opacity .5s ease; }
  .site-nav .mega-tiles a::after { content: ""; position: absolute; inset: 0; bottom: 0; height: auto; transform: none; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 0%, transparent) 45%, color-mix(in srgb, var(--ink) 45%, transparent)); }
  .mega-tiles figure { position: absolute; inset: 0; margin: 0; }
  .mega-tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.16,.84,.24,1); }
  .mega-tiles a:hover img, .mega-tiles a:focus-visible img { transform: scale(1.05); }
  .mega-tiles:hover a:not(:hover) { opacity: .6; }
  .mega-name { position: absolute; z-index: 1; left: 18px; bottom: 16px; font-family: var(--font-name); font-size: var(--size-name); letter-spacing: -.02em; text-transform: uppercase; line-height: 1.2; color: var(--white); }
  .mega-num { position: absolute; z-index: 1; right: 16px; bottom: 19px; font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; color: var(--white); opacity: .85; }
  .site-nav .mega a.mega-all { display: table; margin: 16px 0 0 auto; padding: 0; font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); transition: opacity .25s ease; }
  .site-nav .mega a.mega-all:hover { opacity: .55; }
  .site-nav .mega a.mega-all::before { content: "[ "; }
  .site-nav .mega a.mega-all::after { content: " ]"; position: static; height: auto; background: none; transform: none; }
}
@media (max-width: 999px) {
  .nav-m-list li:has(> .nav-m-more) > a > .nav-m-hint { visibility: hidden; }
  .nav-m-more { display: block; position: absolute; right: 0; top: 0; height: 52px; width: 110px; background: none; border: 0; padding: 0; color: var(--white); cursor: pointer; font-family: var(--font-label); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; text-align: right; }
  .nav-m-more::before { content: "Services"; opacity: .5; }
  :lang(es) .nav-m-more::before { content: "Servicios"; }
  .nav-m-more::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .5s cubic-bezier(.16,.84,.24,1); }
  .nav-m-more[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
  .nav-m-sub { display: grid; grid-template-rows: 0fr; text-align: center; transition: grid-template-rows .6s cubic-bezier(.16,.84,.24,1); }
  .nav-m-more[aria-expanded="true"] + .nav-m-sub { grid-template-rows: 1fr; }
  .nav-m-sub-in { min-height: 0; overflow: hidden; list-style: none; margin: 0; padding: 0; }
  .nav-m-sub-in li:last-child { padding-bottom: 12px; }
  .nav-m-sub li::after { display: none; }
  .site-nav .nav-m-sub a { display: block; padding: 5px 0; font-family: var(--font-sans); font-weight: 300; font-size: 14px; letter-spacing: -.005em; text-transform: none; color: var(--white); opacity: .72; }
  .nav-m-sub .nav-num { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mega, .mega-list li, .mega-img img { transition: none !important; } }

/* ---------- Page loader (pages with their own first-visit loader, e.g. Selected Work) ----------
   The opening veil's language: plum, logo coming into focus, the veil lifting upwards.
   The page name is split in two, one word against each margin, with what is loading in the middle. */
.wl { display: none; }
html.wl-on { overflow: hidden; }
html.wl-on .wl {
  position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-inline: var(--gutter); background: var(--plum); color: var(--white);
  clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.76,0,.24,1);
}
.wl-word { font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .24em; text-transform: uppercase; opacity: 0; filter: blur(6px); animation: intro-in .6s ease .1s forwards; }
.wl-word--l { justify-self: start; }
.wl-word--r { justify-self: end; animation-delay: .25s; }
.wl-in { display: grid; justify-items: center; gap: 22px; }
.wl-logo { display: block; width: 92px; color: var(--white); opacity: 0; filter: blur(8px); animation: intro-in 1.2s ease .15s forwards; }
.wl-count { font-family: var(--font-label); font-size: var(--size-label); letter-spacing: .2em; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--white) 70%, transparent); opacity: 0; animation: intro-in 1s ease .9s forwards; }
/* the loading line runs across the whole width, at the foot of the veil */
.wl-line { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 5vh, 48px); display: block; height: 1px; background: color-mix(in srgb, var(--white) 22%, transparent); }
.wl-line--auto > span { animation: wlFill 2.4s cubic-bezier(.45,.05,.35,1) .2s forwards; }
@keyframes wlFill { to { transform: scaleX(1); } }
.wl-line > span { display: block; height: 100%; width: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .25s linear; }
html.wl-out .wl { clip-path: inset(0 0 100% 0); }
html.wl-out .wl > * { opacity: 0; transform: translateY(-20px); transition: opacity .5s ease, transform .9s cubic-bezier(.76,0,.24,1); }
@media (max-width: 640px) {
  html.wl-on .wl { gap: 12px; }
  .wl-logo { width: 74px; }
}

/* Service pages: the same split name and line around each service's own mark */
html.intro .intro-veil.sv-veil { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-inline: var(--gutter); }
html.intro-out .sv-veil .wl-word, html.intro-out .sv-veil .wl-line { opacity: 0; transition: opacity .5s ease; }
@media (max-width: 640px) {
  html.intro .intro-veil.sv-veil { gap: 8px; }
  .sv-veil .sv-mark { width: 120px; height: 110px; transform: scale(.7); }
  .wl-word { letter-spacing: .16em; }
  .sv-load--applications .sv-mark { transform: scale(.5); }
}
