/* Portfolio D1. Layout, palette and type scale taken from dennissnellenberg.com (Awwwards SOTD),
   measured at 1440px: white ground, #1C1D20 ink and buttons, #455CE9 blue, #E9EAEB tiles,
   hairlines at 17.6% ink. Sizes are the reference's pixel values expressed in vw. */

:root {
  --white: #ffffff;
  --dark: #1c1d20;
  --darker: #141517;
  --blue: #455ce9;
  --blue-2: #334bd3;
  --tile: #e9eaeb;
  --stripe: rgba(28, 29, 32, .176);
  --stripe-w: rgba(255, 255, 255, .2);
  --muted: rgba(28, 29, 32, .5);
  --font: "Switzer", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.7, 0, .3, 1);
  --ease-out: cubic-bezier(.36, 0, .1, 1);
  --pad: 8vw;      /* 115px at 1440 */
  --pad-2: 16vw;   /* 230px at 1440 */
  --gutter: 3vw;   /* 43px at 1440 */

  /* Tokens the case pages read (kept from the earlier shell). */
  --bg: #ffffff; --bg-2: #e9eaeb; --bg-3: #dcdddf;
  --ink: #1c1d20; --ink-2: #4b4d52; --ink-3: #6d6f74;
  --rule: rgba(28, 29, 32, .176); --rule-2: rgba(28, 29, 32, .3);
  --accent: #455ce9; --accent-ink: #ffffff;
  --chrome: linear-gradient(#1c1d20, #1c1d20);
  --sans: var(--font); --mono: var(--font);
  --m: var(--pad); --g: clamp(12px, 1.6vw, 24px); --head-h: 0px;
  color-scheme: light;
}

@font-face { font-family: "Switzer"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../fonts/switzer-var.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--dark);
  font: 400 clamp(15px, 1.2vw, 19px)/1.6 var(--font); letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 10px; z-index: 300; padding: 12px 18px; border-radius: 999px; background: var(--blue); color: #fff;
  font-size: 15px; transform: translateY(-200%); transition: transform .2s; }
.skip:focus { transform: none; }

/* Small uppercase label (the reference's h5). */
.lbl, .mono { font-size: clamp(10px, .72vw, 12px); line-height: 1.1; letter-spacing: .05em; text-transform: uppercase; font-weight: 450; opacity: .5; }
.stripe { height: 1px; background: var(--stripe); width: 100%; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .4em; overflow: hidden;
  border-radius: 999px; isolation: isolate; font-size: clamp(14px, 1.2vw, 18px); line-height: 1; white-space: nowrap; }
.btn .t { position: relative; z-index: 2; display: inline-flex; gap: .3em; transition: color .4s var(--ease-out); }
.btn .t sup { font-size: .6em; opacity: .6; }
.btn .fill { position: absolute; z-index: 1; left: -25%; top: 100%; width: 150%; height: 200%; border-radius: 50%;
  background: var(--blue); transform: translate3d(0, 0, 0); transition: transform .6s var(--ease), background .3s; }
.btn:hover .fill, .btn:focus-visible .fill { transform: translate3d(0, -75%, 0); }
.btn:hover .t, .btn:focus-visible .t { color: #fff; }

.btn.pill { min-height: clamp(52px, 4.6vw, 66px); padding: 0 clamp(22px, 2.6vw, 40px); border: 1px solid var(--stripe); }
.btn.pill.dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.on-dark .btn.pill { border-color: var(--stripe-w); color: #fff; }
.btn.round { width: clamp(132px, 12vw, 190px); aspect-ratio: 1; background: var(--dark); color: #fff; }
.btn.round.blue { background: var(--blue); }
.btn.round.blue .fill { background: var(--blue-2); }
.mag { display: inline-block; will-change: transform; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--darker); color: #fff; pointer-events: none; }
.loader p { display: flex; align-items: center; gap: .5em; font-size: clamp(36px, 3.75vw, 56px); letter-spacing: -.02em; }
.loader p::before { content: ""; width: .22em; height: .22em; border-radius: 50%; background: #fff; }
.loader svg { position: absolute; top: 100%; left: 0; width: 100%; height: 20vh; fill: var(--darker); }
html:not(.js) .loader, .loader.is-done { display: none; }

/* ---------- Header ---------- */
.hd { position: absolute; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; justify-content: space-between;
  padding: clamp(22px, 2.6vw, 40px) var(--gutter); color: var(--dark); font-size: clamp(15px, 1.2vw, 18px); }
.hd.light { color: #fff; }
.hd .who { display: inline-flex; overflow: hidden; white-space: nowrap; }
.hd .who .c { display: inline-block; transition: transform .6s var(--ease); }
.hd .who .roll { position: relative; display: inline-flex; overflow: hidden; }
.hd .who .roll span { display: inline-block; transition: transform .6s var(--ease); }
.hd .who .roll .a { padding-left: .3em; }
.hd .who .roll .b { position: absolute; transform: translateX(110%); padding-left: .3em; }
.hd .who:hover .c { transform: rotate(360deg); }
.hd .who:hover .roll .a { transform: translateX(-110%); }
.hd .who:hover .roll .b { transform: translateX(0); }
.hd nav ul { display: flex; gap: clamp(4px, .6vw, 12px); }
.hd nav a { position: relative; display: block; padding: 10px clamp(8px, .9vw, 16px); }
.hd nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: currentColor; transform: scale(0); transition: transform .3s var(--ease); }
.hd nav a:hover::after, .hd nav a[aria-current]::after { transform: scale(1); }

/* Round menu button, fixed, shows once the header has scrolled away (and always on phones). */
.mbtn { position: fixed; z-index: 120; top: clamp(18px, 2.4vw, 34px); right: var(--gutter); width: clamp(64px, 5.6vw, 84px); aspect-ratio: 1;
  border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .45s var(--ease); }
.mbtn.show, .menu-open .mbtn, .mbtn:focus-visible { transform: scale(1); }
.mbtn .fill { background: var(--blue); }
.mbtn i { position: relative; z-index: 2; width: clamp(20px, 1.9vw, 28px); height: 8px; }
.mbtn i::before, .mbtn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.mbtn i::before { top: 0; } .mbtn i::after { top: 7px; }
.menu-open .mbtn i::before { top: 4px; transform: rotate(45deg); }
.menu-open .mbtn i::after { top: 4px; transform: rotate(-45deg); }

.menu-shade { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.menu-open .menu-shade { opacity: 1; pointer-events: auto; }
.menu { position: fixed; z-index: 110; top: 0; right: 0; bottom: 0; width: min(540px, 100vw); background: var(--dark); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(110px, 15vh, 140px) clamp(32px, 5.5vw, 80px) 40px;
  transform: translateX(calc(100% + 12vw)); transition: transform .8s var(--ease); visibility: hidden; }
.menu::before { content: ""; position: absolute; top: -10%; bottom: -10%; right: calc(100% - 1px); width: 12vw; background: var(--dark);
  border-radius: 100% 0 0 100% / 50% 0 0 50%; transition: border-radius .8s var(--ease); }
.menu-open .menu { transform: none; visibility: visible; }
.menu-open .menu::before { border-radius: 0; width: 0; }
.menu .lbl { opacity: .5; }
.menu .nav .stripe { background: var(--stripe-w); margin: 22px 0 18px; }
.menu .nav a { position: relative; display: block; font-size: clamp(40px, 3.75vw, 56px); line-height: 1.32; letter-spacing: -.02em; }
.menu .nav a::before { content: ""; position: absolute; left: -32px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff;
  transform: scale(0); transition: transform .3s var(--ease); }
.menu .nav a:hover::before, .menu .nav a[aria-current]::before { transform: scale(1); }
.menu .soc { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 18px; font-size: 15px; }
.menu .soc a { border-bottom: 1px solid transparent; }
.menu .soc a:hover { border-color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
  background: linear-gradient(90deg, #8a8889 0%, #848283 36%, #727071 62%, #686667 100%); color: #fff; }
.hero .me { position: absolute; left: 50%; bottom: 0; height: 80%; width: auto; max-width: none; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 30%);
  mask-composite: intersect; }
.hero .hanger { position: absolute; left: 0; top: 44%; display: flex; align-items: center; gap: 20px;
  padding: 18px 18px 18px var(--gutter); background: var(--dark); border-radius: 0 999px 999px 0; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.2; }
.hero .hanger .globe { width: 64px; height: 64px; border-radius: 50%; background: #999d9e; display: grid; place-items: center; }
.hero .hanger svg { width: 30px; height: 30px; animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .role { position: absolute; left: 70.75vw; top: 40%; font-size: clamp(20px, 2.3vw, 36px); line-height: 1.4; }
.hero .role .arrow { display: block; width: clamp(14px, 1.1vw, 18px); margin-bottom: clamp(24px, 3vw, 44px); }
.hero .big { position: absolute; left: 0; bottom: 6vh; display: flex; white-space: nowrap; pointer-events: none; }
.hero .track { display: flex; will-change: transform; }
.hero .track span { font-size: 15vw; line-height: 1; letter-spacing: -.035em; font-weight: 450; padding-right: .3em; }
.hero .track .bar { display: inline-block; width: .42em; height: .06em; margin-left: .14em; background: currentColor; vertical-align: .3em; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 180px) var(--pad-2) 0; }
.sec.wide { padding-left: var(--pad); padding-right: var(--pad); }

/* Intro: big statement left, small text and round button right. */
.intro { display: grid; grid-template-columns: 1fr 23vw; gap: 7vw; }
.intro .say { font-size: clamp(22px, 2.3vw, 38px); line-height: 1.45; letter-spacing: -.015em; }
.intro .side { padding-top: .5vw; }
.intro .side p { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.66; max-width: 21ch; }
.intro .side .mag { margin-top: clamp(28px, 4vw, 64px); }
.words .w { display: inline-block; overflow: hidden; vertical-align: top; }
.words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i) * 12ms); }
.words.in .w > span, html:not(.js) .words .w > span, .rm .words .w > span { transform: none; }

/* Recent work list */
.work { padding: clamp(90px, 11vw, 170px) var(--pad) 0; }
.work > .lbl { padding: 0 var(--pad) clamp(28px, 3.4vw, 50px); }
.wlist li { border-top: 1px solid var(--stripe); }
.wlist li:last-child { border-bottom: 1px solid var(--stripe); }
.wlist a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(36px, 5.2vw, 76px) var(--pad);
  transition: opacity .4s var(--ease), padding .6s var(--ease); }
.wlist h3 { font-size: 5.25vw; line-height: 1; font-weight: 400; letter-spacing: -.035em; transition: transform .6s var(--ease); }
.wlist p { font-size: clamp(14px, 1.2vw, 18px); text-align: right; transition: transform .6s var(--ease); }
.wlist .im { display: none; }
@media (hover: hover) {
  .wlist a:hover { opacity: .35; }
  .wlist a:hover h3 { transform: translateX(-1vw); }
  .wlist a:hover p { transform: translateX(1vw); }
}
.more { display: flex; justify-content: center; padding-top: clamp(50px, 6vw, 90px); }

/* Floating preview that follows the cursor over the work list. */
.peek { position: fixed; z-index: 90; left: 0; top: 0; width: 28vw; height: 24vw; pointer-events: none; transform: translate(-50%, -50%) scale(0);
  transition: transform .45s var(--ease); overflow: hidden; }
.peek.on { transform: translate(-50%, -50%) scale(1); }
.peek .rail { position: absolute; inset: 0; transition: transform .5s var(--ease); }
.peek .slide { height: 100%; display: grid; place-items: center; }
.peek .slide img { width: 80%; height: auto; max-height: 80%; object-fit: contain; }
.view { position: fixed; z-index: 91; left: 0; top: 0; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 15px; pointer-events: none; transform: scale(0); transition: transform .35s var(--ease); }
.view.on { transform: scale(1); }

/* Services: the reference's "I can help you with" block, on the tile grey. */
.help { background: var(--tile); margin-top: clamp(90px, 11vw, 170px); padding: clamp(80px, 9vw, 140px) var(--pad) clamp(80px, 9vw, 140px); }
.help h2, .h2 { font-size: clamp(30px, 3.75vw, 56px); line-height: 1.1; font-weight: 400; letter-spacing: -.03em; }
.help .lead { margin-top: 22px; max-width: 46ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.66; }
.cols { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: clamp(28px, 3vw, 48px); margin-top: clamp(50px, 5.5vw, 84px); }
.col .lbl { display: block; padding-bottom: clamp(16px, 2vw, 28px); border-bottom: 1px solid var(--stripe); }
.col h3 { margin-top: clamp(24px, 3vw, 44px); font-size: clamp(22px, 2.3vw, 34px); line-height: 1.15; font-weight: 400; letter-spacing: -.02em; }
.col h3 .star { fill: currentColor; display: inline-block; width: .7em; margin-right: .2em; vertical-align: -.04em; }
.col p { margin-top: clamp(14px, 1.6vw, 24px); font-size: clamp(14px, 1.05vw, 16px); line-height: 1.66; }
.col p a, .lead a, .tbl a.u, .note a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--stripe); }
.col p a:hover, .lead a:hover, .note a:hover { text-decoration-color: currentColor; }
.col .price { margin-top: clamp(18px, 2vw, 30px); padding-top: 14px; border-top: 1px solid var(--stripe); display: grid; gap: 4px; }
.col .price b { font-size: clamp(22px, 2.3vw, 34px); font-weight: 400; letter-spacing: -.02em; }
.col .price span { font-size: clamp(13px, .95vw, 15px); color: var(--muted); }
.help .row-go { display: flex; align-items: center; gap: 28px; margin-top: clamp(50px, 6vw, 90px); flex-wrap: wrap; }
.help .row-go p { font-size: clamp(14px, 1.05vw, 16px); color: var(--muted); }

/* Clients: the reference's work table. */
.clients .h2 { max-width: 16ch; }
.clients .lead { margin-top: 22px; max-width: 52ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.66; }
.tbl { margin-top: clamp(50px, 5.5vw, 84px); }
.tbl .head, .tbl li { display: grid; grid-template-columns: 1.3fr 1.5fr .7fr .5fr; gap: 20px; align-items: center; }
.tbl .head { padding: 0 2vw clamp(16px, 2vw, 26px); border-bottom: 1px solid var(--stripe); }
.tbl li { padding: clamp(22px, 2.6vw, 38px) 2vw; border-bottom: 1px solid var(--stripe); font-size: clamp(14px, 1.05vw, 16px); }
.tbl li .who { font-size: clamp(20px, 2.3vw, 34px); letter-spacing: -.02em; line-height: 1.1; }
.tbl li .st { white-space: nowrap; }
.tbl li .go { text-align: right; white-space: nowrap; }
.tbl li .go a:hover { color: var(--blue); }
.tbl li.dim .who { color: var(--muted); }
.facts { --n: 3; }
.facts .col h3 { font-size: clamp(44px, 5.25vw, 80px); line-height: 1; letter-spacing: -.04em; }

/* Process */
.steps-sec { --n: 3; }

/* Sliding image tiles */
.slider { padding-top: clamp(100px, 12vw, 190px); padding-bottom: clamp(60px, 8vw, 130px); overflow: hidden; display: grid; gap: 3vw; }
.slider .row { display: flex; gap: 3vw; width: max-content; will-change: transform; }
.slider .row.r1 { margin-left: -8vw; }
.slider .row.r2 { margin-left: -36vw; }
.tile { width: 26vw; aspect-ratio: 1.3; display: grid; place-items: center; background: var(--tile); overflow: hidden; }
.tile img, .tile video { width: 76%; height: auto; max-height: 82%; object-fit: contain; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 20px 50px rgba(0,0,0,.12); }
.tile.full img, .tile.full video { width: 100%; height: 100%; max-height: none; object-fit: cover; box-shadow: none; }

/* ---------- Footer: "Let's work together" ---------- */
.curve { position: relative; height: 10vh; margin-top: -1px; overflow: hidden; z-index: 2; }
.curve i { position: absolute; left: -25%; width: 150%; height: 750%; bottom: 0; border-radius: 0 0 50% 50%; background: var(--white);
  box-shadow: 0 60px 50px rgba(0, 0, 0, .1); }
.foot { position: relative; background: var(--dark); color: #fff; margin-top: -10vh; padding-top: calc(10vh + clamp(80px, 9vw, 140px)); overflow: hidden; }
.foot .in { padding: 0 var(--pad-2); }
.foot h2 { font-size: clamp(44px, 6.125vw, 92px); line-height: 1.065; font-weight: 400; letter-spacing: -.035em; }
.foot h2 .av { display: inline-block; width: .9em; height: .9em; border-radius: 50%; overflow: hidden; vertical-align: -.1em; margin-right: .2em; background: #999d9e; }
.foot h2 .av img { width: 100%; height: 100%; object-fit: cover; }
.foot .arr { position: absolute; right: var(--pad-2); top: calc(10vh + clamp(150px, 14vw, 220px)); width: clamp(12px, 1vw, 16px); }
.foot .line { position: relative; margin-top: clamp(50px, 6vw, 90px); height: 1px; background: var(--stripe-w); }
.foot .line .mag { position: absolute; right: 9vw; top: 50%; transform: translateY(-50%); }
.foot .line .btn.round { position: relative; }
.foot .pills { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(60px, 7vw, 110px); }
.foot .pills .btn.pill { min-height: clamp(58px, 5vw, 74px); border-color: var(--stripe-w); color: #fff; }
.foot .note { margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, .55); }
.foot .bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap;
  padding: clamp(60px, 9vw, 140px) var(--gutter) var(--gutter); }
.foot .bar .grp { display: flex; gap: clamp(24px, 3vw, 48px); flex-wrap: wrap; }
.foot .bar .grp div { display: grid; gap: 10px; }
.foot .bar .lbl { opacity: .5; }
.foot .bar p, .foot .bar a { font-size: clamp(13px, 1.02vw, 15px); }
.foot .bar nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot .bar a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.foot .bar a:hover { border-color: #fff; }

/* Copy toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; padding: 14px 22px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: 15px; transition: transform .5s var(--ease); }
.toast.on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Inner pages: page title in the reference's style ---------- */
.ptitle { padding: clamp(150px, 19vw, 280px) var(--pad-2) 0; }
.ptitle h1 { font-size: clamp(40px, 5.25vw, 80px); line-height: 1.07; font-weight: 400; letter-spacing: -.035em; max-width: 16ch; }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: clamp(40px, 4.4vw, 64px) var(--pad-2) 0; }
.filters .grp { display: flex; gap: 10px; flex-wrap: wrap; }
.filters .btn.pill { min-height: 56px; padding: 0 28px; }
.filters .btn.pill[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.filters .view-btns .btn { width: 56px; height: 56px; border: 1px solid var(--stripe); }
.filters .view-btns .btn[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.filters .view-btns svg { position: relative; z-index: 2; width: 16px; height: 16px; }

.wtable { padding: clamp(50px, 6vw, 90px) var(--pad) 0; }
.wtable .head, .wtable li a { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr .4fr; gap: 20px; align-items: center; }
.wtable .head { padding: 0 var(--pad) 22px; border-bottom: 1px solid var(--stripe); }
.wtable li { border-bottom: 1px solid var(--stripe); }
.wtable li a { padding: clamp(26px, 2.9vw, 42px) var(--pad); transition: opacity .4s var(--ease); }
.wtable li h3 { font-size: clamp(22px, 2.3vw, 34px); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; transition: transform .6s var(--ease); }
.wtable li span { font-size: clamp(13px, 1.05vw, 16px); }
.wtable li span:last-child { text-align: right; }
.wtable li[hidden] { display: none; }
@media (hover: hover) {
  .wtable li a:hover { opacity: .35; }
  .wtable li a:hover h3 { transform: translateX(-1vw); }
}
.wgrid { display: none; padding: clamp(50px, 6vw, 90px) var(--pad-2) 0; grid-template-columns: 1fr 1fr; gap: 5vw 4vw; }
.grid-view .wgrid { display: grid; }
.grid-view .wtable { display: none; }
.wgrid li[hidden] { display: none; }
.wgrid .tile { width: 100%; aspect-ratio: 1.15; }
.wgrid h3 { margin-top: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--stripe); font-size: clamp(26px, 3.75vw, 56px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.wgrid .meta { display: flex; justify-content: space-between; padding-top: 16px; font-size: clamp(13px, 1.05vw, 16px); }

/* Case CTA block (case pages) in the reference's palette. */
.cta13 { margin: clamp(80px, 10vw, 160px) var(--pad-2) 0; padding: clamp(40px, 5vw, 70px); background: var(--tile); display: grid; gap: 18px; }
.cta13 .k { font-size: clamp(10px, .72vw, 12px); letter-spacing: .05em; text-transform: uppercase; opacity: .5; }
.cta13 h2 { font-size: clamp(30px, 3.75vw, 56px); line-height: 1.1; font-weight: 400; letter-spacing: -.03em; }
.cta13 p { max-width: 54ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.66; }
.cta13 p a { text-decoration: underline; text-underline-offset: 3px; }
.cta13 .pr { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 10px; }
.cta13 .pr .mono { opacity: .5; }
.cta13 .pr b { font-size: clamp(26px, 2.3vw, 34px); font-weight: 400; letter-spacing: -.02em; }
.cta13 .btn.solid { min-height: 60px; padding: 0 34px; background: var(--dark); color: #fff; }
.cta13 .btn.solid::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--blue); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.cta13 .btn.solid:hover::before { transform: none; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1024px) {
  .hd nav { display: none; }
  .mbtn { transform: scale(1); }
  .hero .role { left: auto; right: var(--gutter); top: auto; bottom: calc(6vh + 22vw); text-align: right; }
  .hero .role .arrow { margin-left: auto; }
  .hero .hanger { top: auto; bottom: calc(6vh + 22vw); }
  .hero .track span { font-size: 18vw; }
  .intro { grid-template-columns: 1fr; gap: 40px; }
  .intro .side p { max-width: 40ch; }
  .cols { --n: 2 !important; }
  .tile { width: 42vw; }
  .peek, .view { display: none; }
}
@media (max-width: 760px) {
  :root { --pad: 20px; --pad-2: 20px; --gutter: 20px; }
  .hero { height: 88svh; }
  .hero .me { height: 82%; }
  .hero .hanger { display: none; }
  .hero .role { left: var(--gutter); right: auto; top: 96px; bottom: auto; text-align: left; font-size: 22px; }
  .hero .role .arrow { margin-left: 0; }
  .hero .big { bottom: 5vh; }
  .hero .track span { font-size: 24vw; }
  .work { padding-left: 0; padding-right: 0; }
  .work > .lbl { padding: 0 var(--pad) 22px; }
  .wlist li { border-top: 0; }
  .wlist li:last-child { border-bottom: 0; }
  .wlist a { display: block; padding: 0 var(--pad) 50px; }
  .wlist .im { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 22px; background: var(--tile); }
  .wlist .im img { width: 82%; height: auto; max-height: 80%; object-fit: contain; }
  .wlist h3 { font-size: 34px; padding-bottom: 16px; border-bottom: 1px solid var(--stripe); }
  .wlist p { text-align: left; padding-top: 14px; }
  .cols { --n: 1 !important; }
  .tbl .head { display: none; }
  .tbl li { grid-template-columns: 1fr auto; padding: 22px 0; gap: 6px 16px; }
  .tbl li .who { grid-column: 1 / -1; font-size: 24px; }
  .tbl li .what { grid-column: 1 / -1; }
  .tbl li .go { text-align: left; }
  .tile { width: 70vw; }
  .slider .row.r2 { margin-left: -60vw; }
  .foot h2 { font-size: 44px; }
  .foot .arr { display: none; }
  .foot .line { margin-top: 90px; }
  .foot .line .mag { right: 0; }
  .foot .pills { flex-direction: column; margin-top: 110px; }
  .foot .pills .btn.pill { width: 100%; }
  .foot .bar { padding-top: 60px; }
  .wtable { padding-left: 0; padding-right: 0; }
  .wtable .head { display: none; }
  .wtable li a { grid-template-columns: 1fr auto; padding: 24px var(--pad); gap: 6px 16px; }
  .wtable li h3 { grid-column: 1 / -1; }
  .wtable li span.loc { display: none; }
  .wgrid { grid-template-columns: 1fr; }
  .menu { padding-left: 40px; }
  .cta13 { padding: 30px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
