/* Goliat Color — after koto.com: near-black page, condensed light headings, mono labels, 16 px gutters,
   pinned hero that shrinks into a band, sticky "what we do" column, news-style cards, contact rows. */

@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-sans-latin-wdth-normal.woff2") format("woff2-variations"), url("/assets/fonts/mona-sans-latin-wdth-normal.woff2") format("woff2");
  font-weight: 200 900; font-stretch: 75% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-sans-latin-ext-wdth-normal.woff2") format("woff2-variations"), url("/assets/fonts/mona-sans-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 200 900; font-stretch: 75% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono"; src: url("/assets/fonts/dm-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Mono"; src: url("/assets/fonts/dm-mono-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #060606; --card: #141414; --card2: #202020; --tag: #262626;
  --fg: #fff; --fg2: rgba(255, 255, 255, .7); --mut: #989898; --dim: #858585; --line: rgba(255, 255, 255, .1);
  --acc: #FFDD00;
  --pad: 16px; --in: 12px;
  --f: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.15, 0, .3, 1);
  --ease2: cubic-bezier(.65, 0, .35, 1);
  --cols: 612fr 788fr;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
html.rm { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f); font-weight: 380; font-stretch: 100%; font-size: 16px; line-height: 1.25;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, 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, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }
::selection { background: var(--acc); color: #000; }
.g { color: var(--mut); }
.w { color: var(--fg); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--fg); color: #000; padding: 10px 14px; border-radius: 4px; font: 400 11px/1 var(--mono); text-transform: uppercase; }
.skip:focus { top: 16px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0; }

/* headings: the reference's condensed light cut */
.hero__h, .wk__h, .wk__names, .ct__h, .doc__h, .stmt, .mn__list { font-stretch: 85%; font-weight: 300; letter-spacing: -.01em; }

/* brackets link: [ SEND A REQUEST ] */
.br { font: 400 11px/1 var(--mono); text-transform: uppercase; color: var(--fg); white-space: nowrap; }
.br span { transition: color .167s linear; }
.br:hover span { color: var(--mut); }

/* ---------------- header ---------------- */
.hdr { position: fixed; z-index: 60; inset: 0 0 auto 0; height: 0; }
.pill {
  position: fixed; top: 16px; left: 16px; width: 172px; border-radius: 6px; overflow: hidden;
  background: rgba(20, 20, 20, 0); transition: background-color .3s linear, width .5s var(--ease);
}
.pill__bar { position: relative; height: 48px; display: flex; align-items: center; padding: 0 14px; }
.pill__logo { display: block; color: var(--acc); flex: none; }
.pill__logo svg { height: 22px; width: auto; }
.pill__here { margin-left: 26px; font: 400 11px/1 var(--mono); text-transform: uppercase; color: var(--mut); opacity: 0; transition: opacity .3s linear; white-space: nowrap; }
.pill__tog { position: absolute; inset: 0; width: 100%; display: none; }
.pill__tog i { position: absolute; right: 18px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--mut); transition: width .4s var(--ease), right .4s var(--ease); }
.hdr.is-c .pill { width: 268px; background: rgba(20, 20, 20, 1); }
.hdr.is-c .pill__here { opacity: 1; }
.hdr.is-c .pill__tog { display: block; }
.hdr.is-c .pill__logo { position: relative; z-index: 1; }
.hdr.is-c .pill:hover { width: 300px; }
.hdr.is-open .pill { width: 320px; background: rgba(20, 20, 20, 1); }
.hdr.is-open .pill__tog i { width: 9px; right: 16px; }

.nav { position: fixed; top: 16px; left: 196px; height: 48px; display: flex; align-items: center; mix-blend-mode: exclusion; }
.nav ul { display: flex; gap: 34px; }
.nav li { transition: opacity .35s linear, transform .5s var(--ease); }
.nav__a { display: block; padding: 8px 0; font: 400 11px/1 var(--mono); text-transform: uppercase; color: var(--fg2); transition: color .167s linear; }
.nav__a:hover { color: var(--fg); }
.hdr.is-c .nav li { opacity: 0; transform: translateX(-12px); pointer-events: none; }
.hdr.is-c .nav li:nth-child(1) { transition-delay: .16s; }
.hdr.is-c .nav li:nth-child(2) { transition-delay: .12s; }
.hdr.is-c .nav li:nth-child(3) { transition-delay: .08s; }
.hdr.is-c .nav li:nth-child(4) { transition-delay: .04s; }
.nav li:nth-child(2) { transition-delay: .04s; }
.nav li:nth-child(3) { transition-delay: .08s; }
.nav li:nth-child(4) { transition-delay: .12s; }
.nav li:nth-child(5) { transition-delay: .16s; }
.hdr.is-c .nav { visibility: hidden; transition: visibility 0s .6s; }

.hdr__r { position: fixed; top: 20px; right: 20px; display: flex; gap: 4px; align-items: center; }
.clock { height: 40px; display: flex; align-items: center; padding: 0 10px; font: 400 11px/1 var(--mono); text-transform: uppercase; color: var(--fg2); mix-blend-mode: exclusion; white-space: nowrap; }
.hbtn { display: flex; align-items: center; justify-content: center; height: 40px; font: 400 11px/1 var(--mono); text-transform: uppercase; color: var(--fg); border-radius: 4px; }
.hbtn--menu { display: none; }
.hbtn--dots { width: 28px; display: grid; grid-template-columns: 3px 3px; gap: 3px; place-content: center; mix-blend-mode: exclusion; }
.hbtn--dots i { width: 3px; height: 3px; border-radius: 1px; background: var(--fg); }
.hbtn__c { display: none; }

/* menu panel: drops out of the pill on desktop, full screen on phones */
.mn { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.mn__in { min-height: 0; overflow: hidden; padding: 0 14px; visibility: hidden; transition: visibility 0s .5s; }
.hdr.is-open .mn { grid-template-rows: 1fr; }
.hdr.is-open .mn__in { visibility: visible; transition: none; }
.mn__label { font: 400 9px/1 var(--mono); text-transform: uppercase; color: var(--mut); margin: 0 0 12px; }
.mn__in > .mn__label { display: none; }
.mn__list { padding: 6px 0 14px; font-stretch: 100%; font-weight: 380; letter-spacing: 0; }
.mn__a { position: relative; display: block; height: 36px; overflow: hidden; font-size: 16px; line-height: 36px; }
.mn__t, .mn__s { display: block; transition: transform .45s var(--ease); }
.mn__s { position: absolute; left: 0; top: 0; transform: translateY(100%); color: var(--mut); }
.mn__a:hover .mn__t, .mn__a:focus-visible .mn__t { transform: translateY(-100%); }
.mn__a:hover .mn__s, .mn__a:focus-visible .mn__s { transform: translateY(0); }
.mn__foot { border-top: 1px solid var(--line); padding: 16px 0 16px; }
.mn__legal { display: grid; gap: 6px; }
.mn__legal a { font: 400 9px/1.2 var(--mono); text-transform: uppercase; color: var(--fg); transition: color .167s linear; }
.mn__legal a:hover { color: var(--mut); }
.mn__copy { display: none; }
.veil { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .5s var(--ease); }
.veil.is-on { opacity: 1; }

/* ---------------- hero (pinned, shrinks into a band; the statement rises under it) ---------------- */
.hero { position: relative; }
.hero__stage { position: relative; }
.hero__media { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #0d0f0e; will-change: clip-path; }
.hero__zoom { position: absolute; inset: 0 0 -12% 0; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 60%; transform-origin: 62% 48%; }
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 38%), linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 22%); }
.hero__grain { position: absolute; inset: -50%; background: url("/assets/img/grain.png") repeat; opacity: .09; mix-blend-mode: overlay; pointer-events: none; }
.hero__ui { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100svh; z-index: 2; pointer-events: none; }
.hero__ui > * { pointer-events: auto; }
.hero__h { position: absolute; left: 28px; bottom: 22px; font-size: 48px; line-height: 1; }
.hero__h span { display: block; }
.hero__h .g { color: rgba(255, 255, 255, .62); }
.hero__play { position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; color: var(--fg); }
.hero__play [data-play-t] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hero__pi { width: 6px; height: 7px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.hero__play[aria-pressed="true"] .hero__pi { width: 0; height: 0; border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent currentColor; margin-left: 2px; }
.stmt { position: relative; max-width: 700px; padding: 64px 28px 0; font-size: clamp(24px, 2.25vw, 32px); line-height: 1.22; }
.stmt .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.stmt .ln > span { display: block; }
html.mo .hero__stage { height: 100vh; height: 100svh; }
html.mo .stmt { position: absolute; z-index: 0; left: 0; top: calc(54svh + 24px); padding-top: 0; }
html.mo .hero__media { z-index: 1; }
html.mo .hero__media[data-cursor] { cursor: none; }

/* load sequence: header and headline fade in, then the picture */
html.ld .pill, html.ld .nav, html.ld .hdr__r, html.ld .hero__h, html.ld .hero__play { opacity: 0; }
html.ld .hero__media img { opacity: 0; }
.pill, .nav, .hdr__r { transition-property: background-color, width, opacity; }
html.mo .pill, html.mo .nav, html.mo .hdr__r, html.mo .hero__h, html.mo .hero__play { transition: opacity .6s linear, background-color .3s linear, width .5s var(--ease); }
html.mo .hero__media img { transition: opacity 1.4s var(--ease) .45s; }

/* ---------------- what we do (sticky side column + tiles) ---------------- */
.wk { position: relative; display: grid; grid-template-columns: 523fr 877fr; column-gap: 8px; padding: 0 var(--pad); }
.wk__tiles { grid-column: 2; grid-row: 1; display: grid; gap: 12px; }
.wk__side { grid-column: 1; grid-row: 1; position: sticky; top: 0; height: 100vh; height: 100svh; align-self: start;
  display: flex; flex-direction: column; justify-content: space-between; padding: 30svh 0 24px var(--in); }
.wk__h, .wk__names { font-size: 38px; line-height: 1.1; }
.wk__names { position: relative; height: 1.1em; overflow: hidden; color: var(--mut); }
.wk__name { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateY(105%); transition: transform .7s var(--ease); }
.wk__name.is-on { transform: translateY(0); }
.wk__name.is-up { transform: translateY(-105%); }
.wk__descs, .wk__items { display: grid; }
.wk__desc, .wk__item { grid-area: 1 / 1; opacity: 0; transition: opacity .45s linear; }
.wk__desc.is-on, .wk__item.is-on { opacity: 1; transition-delay: .15s; }
.wk__desc { max-width: 340px; font-size: 13px; line-height: 1.45; color: var(--mut); align-self: end; }
.wk__items { margin-top: 28px; }
.wk__item { display: flex; align-items: center; gap: 12px; }
.wk__ic { width: 40px; height: 40px; border-radius: 2px; background: var(--card2); display: grid; place-items: center; color: var(--acc); flex: none; }
.wk__ic svg { width: 22px; height: 22px; }
.wk__it { display: block; font-size: 12px; line-height: 1.4; }
.wk__im { display: block; font: 400 9px/1.4 var(--mono); text-transform: uppercase; color: var(--mut); margin-top: 2px; }
html.mo .wk__side .wk__head, html.mo .wk__side .wk__foot { opacity: 0; transition: opacity .6s linear; }
html.mo .wk.is-live .wk__side .wk__head, html.mo .wk.is-live .wk__side .wk__foot { opacity: 1; }
html:not(.js) .wk__name:first-child { transform: none; }
html:not(.mo) .wk__desc, html:not(.mo) .wk__item { opacity: 1; display: none; transition: none; }
html:not(.mo) .wk__desc.is-on, html:not(.js) .wk__desc:first-child { display: block; }
html:not(.mo) .wk__item.is-on, html:not(.js) .wk__item:first-child { display: flex; }

.tile { position: relative; display: block; border-radius: 6px; overflow: hidden; background: var(--card); }
.tile__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; }
.tile__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); transition: background-color .5s linear; }
.tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover .tile__img { transform: scale(1.035); }
.tile:hover .tile__media::after { background: rgba(0, 0, 0, .1); }
.tile__name { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 1; padding: 0 24px; text-align: center;
  font-size: clamp(34px, 4.6vw, 68px); line-height: 1; font-weight: 640; font-stretch: 108%; letter-spacing: -.02em; color: #fff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .28); pointer-events: none; }
.tile__cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tile--more { height: 160px; background: var(--card2); display: flex; align-items: flex-end; justify-content: flex-end; padding: 24px; }
html.mo .tile[data-cursor] { cursor: none; }

/* ---------------- how we work (news cards) ---------------- */
.pr { padding: 260px calc(var(--pad) + var(--in)) 0; }
.pr__bar { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.pr__h { font: 400 11px/1 var(--mono); text-transform: uppercase; }
.pr__h .g { margin-left: 4px; }
.pr__grid { display: grid; grid-template-columns: 599fr 369fr 369fr; gap: 0 24px; align-items: start; margin-top: 56px; }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: var(--card); margin-bottom: 12px; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__img { transform: scale(1.035); }
.card__t { font-size: 16px; line-height: 20px; font-weight: 380; }
.card__x { margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--mut); max-width: 560px; }
.card__m { margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.tag { font: 400 9px/1 var(--mono); text-transform: uppercase; background: var(--tag); padding: 5px 6px; border-radius: 2px; }
.card__d { font: 400 9px/1 var(--mono); text-transform: uppercase; color: var(--mut); }

/* ---------------- request + contact (rows) ---------------- */
.ct { display: grid; grid-template-columns: var(--cols); column-gap: 8px; padding: 260px var(--pad) 0; }
.ct--req { padding-top: 240px; }
.ct__h { padding-left: var(--in); font-size: 38px; line-height: 1.1; align-self: start; }
.ct__h span { display: block; }
.ct__h .g { color: var(--mut); }
.ct__rows { grid-column: 2; }
.rw { display: grid; grid-template-columns: 258px minmax(0, 1fr); border-top: 1px solid var(--line); padding: 11px 0 72px; }
.rw__l { font-size: 16px; line-height: 20px; font-weight: 380; }
.rw__v { font-size: 16px; line-height: 20px; }
.rw__v .g a, .rw__v a.g { transition: color .167s linear; }
.rw__v a:hover { color: var(--fg); }
.rw__n { margin-top: 8px; font-size: 12px; color: var(--mut); }
.form .rw { padding: 11px 0 26px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; display: block; background: transparent; color: var(--fg); border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0; padding: 0 0 9px; font: inherit; font-size: 16px; line-height: 20px; transition: border-color .2s linear; }
.form textarea { resize: none; min-height: 64px; overflow: hidden; }
.form textarea::placeholder { color: #6f6f6f; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--fg); }
.form input:focus-visible, .form textarea:focus-visible { outline: none; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: block; font: 400 11px/1 var(--mono); text-transform: uppercase; padding: 10px 12px; border-radius: 2px; background: var(--card); color: var(--mut); transition: background-color .167s linear, color .167s linear; }
.chip:hover span { color: var(--fg); }
.chip input:checked + span { background: var(--fg); color: #000; }
.chip input:focus-visible + span { outline: 1px solid var(--fg); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--mut); cursor: pointer; max-width: 560px; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 16px; height: 16px; margin: 1px 0 0; border: 1px solid rgba(255, 255, 255, .4); border-radius: 2px; display: grid; place-items: center; cursor: pointer; }
.consent input:checked { background: var(--fg); border-color: var(--fg); }
.consent input:checked::after { content: ""; width: 8px; height: 4px; border-left: 1.5px solid #000; border-bottom: 1.5px solid #000; transform: translateY(-1px) rotate(-45deg); }
.consent a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.send { margin-top: 24px; width: 100%; height: 120px; border-radius: 6px; background: var(--card2); display: flex; align-items: flex-end; justify-content: flex-end; gap: 8px; padding: 22px 24px;
  font: 400 11px/1 var(--mono); text-transform: uppercase; color: var(--fg); transition: background-color .25s linear; }
.send::before { content: "["; } .send::after { content: "]"; }
.send:hover { background: #2a2a2a; }
.send:disabled { opacity: .6; cursor: progress; }
.form__status { margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--fg); min-height: 1px; }
.form__status.is-error { color: #FF9C8A; }
.form__status a { text-decoration: underline; text-underline-offset: 2px; }
.rw--consent { padding-bottom: 0; }
.rw.is-bad .rw__l { color: #FF9C8A; }

/* ---------------- footer (with the "say hello" card on the home page) ---------------- */
.ftr { display: grid; grid-template-columns: var(--cols); column-gap: 8px; padding: 140px var(--pad) 16px; align-items: end; }
.hello { position: relative; grid-column: 1; width: 366px; max-width: 100%; aspect-ratio: 366 / 220; border-radius: 6px; overflow: hidden; background: var(--card); }
.hello__media, .hello__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hello__img { object-fit: cover; }
.hello__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 55%); }
.hello__a { position: absolute; left: 10px; bottom: 10px; z-index: 1; font: 400 9px/1.35 var(--mono); text-transform: uppercase; }
.hello__k { display: block; color: var(--fg2); }
.hello__v { display: block; color: var(--fg); }
.hello__copy { position: absolute; right: 8px; bottom: 8px; z-index: 1; font: 400 9px/1 var(--mono); text-transform: uppercase; padding: 6px 8px; border-radius: 2px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ftr__grid { grid-column: 2; display: grid; grid-template-columns: 258px minmax(0, 1fr) auto; align-items: end; row-gap: 22px; }
.ftr__co { grid-column: 1 / -1; font-size: 12px; line-height: 1.6; color: var(--mut); max-width: 640px; }
.ftr__co strong { font-weight: 380; color: var(--fg); }
.ftr__co a { transition: color .167s linear; }
.ftr__co a:hover { color: var(--fg); }
.ftr__c, .ftr__legal { font-size: 12px; line-height: 18px; color: var(--dim); }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ftr__legal a { transition: color .167s linear; }
.ftr__legal a:hover { color: var(--fg); }
.ftr__top { width: 24px; text-align: center; color: var(--dim); line-height: 18px; }
.ftr--home { padding-top: 160px; }

/* ---------------- cookie notice, cursor pill ---------------- */
.cookie { position: fixed; z-index: 50; right: 16px; bottom: 16px; width: min(372px, calc(100% - 32px)); display: flex; gap: 14px; align-items: center;
  background: rgba(20, 20, 20, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 6px; padding: 14px 14px 14px 16px; }
.cookie[hidden] { display: none; }
.cookie p { font-size: 12px; line-height: 1.45; color: var(--mut); }
.cookie a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.cookie__ok { flex: none; font: 400 11px/1 var(--mono); text-transform: uppercase; padding: 12px 16px; border-radius: 2px; background: rgba(255, 255, 255, .08); transition: background-color .167s linear; }
.cookie__ok:hover { background: rgba(255, 255, 255, .16); }
.cur { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 7px; border-radius: 2px;
  background: rgba(20, 20, 20, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 400 9px/1 var(--mono); text-transform: uppercase; color: #fff;
  opacity: 0; transition: opacity .2s linear; will-change: transform; }
.cur.is-on { opacity: 1; }
.cur__ic { width: 0; height: 0; border-style: solid; border-width: 3.5px 0 3.5px 5px; border-color: transparent transparent transparent currentColor; }
.cur.is-pause .cur__ic { width: 5px; height: 7px; border-width: 0 1.5px; border-color: currentColor; }
.cur.is-arrow .cur__ic { border: 0; width: auto; height: auto; }
.cur.is-arrow .cur__ic::before { content: "↗"; font-size: 9px; }

/* ---------------- legal pages, 404 ---------------- */
.doc { display: grid; grid-template-columns: var(--cols); column-gap: 8px; padding: 30vh var(--pad) 0; min-height: 70vh; }
.doc__side { padding-left: var(--in); align-self: start; position: sticky; top: 120px; }
.doc__h { font-size: 38px; line-height: 1.1; }
.doc__h span { display: block; }
.doc__date { margin-top: 18px; font: 400 9px/1 var(--mono); text-transform: uppercase; color: var(--mut); }
.doc--404 .doc__date { margin: 0 0 16px; }
.doc__body { grid-column: 2; max-width: 680px; font-size: 15px; line-height: 1.6; color: #CFCFCF; }
.doc__body > :first-child { margin-top: 0; }
.doc__body h2 { margin: 40px 0 10px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 16px; line-height: 20px; font-weight: 420; color: var(--fg); }
.doc__body p, .doc__body ul { margin: 0 0 12px; }
.doc__body ul { padding-left: 18px; list-style: disc; }
.doc__body li { margin-bottom: 6px; }
.doc__body a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.doc__body code { font-family: var(--mono); font-size: 13px; background: var(--card); padding: 1px 5px; border-radius: 2px; }
.doc__body strong { color: var(--fg); font-weight: 480; }
.facts { display: grid; grid-template-columns: 200px minmax(0, 1fr); margin: 0 0 12px; }
.facts dt, .facts dd { padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--mut); }
.facts dd { color: var(--fg); }

/* ---------------- reveal on scroll (only when motion is allowed and JS runs) ---------------- */
html.mo [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
html.mo [data-rv].is-in { opacity: 1; transform: none; }

/* ---------------- tablet ---------------- */
@media (max-width: 1100px) {
  .nav ul { gap: 22px; }
  .rw { grid-template-columns: 180px minmax(0, 1fr); }
  .ftr__grid { grid-template-columns: 180px minmax(0, 1fr) auto; }
}

/* ---------------- phones (the reference's mobile layout) ---------------- */
@media (max-width: 767px) {
  .nav, .clock, .pill__here, .pill__tog { display: none !important; }
  .pill { top: 16px; left: 16px; width: auto !important; background: transparent !important; overflow: visible; position: fixed; }
  .pill__bar { height: 45px; padding: 0 4px; }
  .pill__logo svg { height: 26px; }
  .hdr__r { top: 17px; right: 16px; }
  .hbtn { height: 45px; background: rgba(120, 120, 120, .28); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .hbtn--menu { display: flex; width: 80px; }
  .hbtn--dots { width: 44px; mix-blend-mode: normal; }
  .hdr.is-open .hbtn__o { display: none; }
  .hdr.is-open .hbtn__c { display: inline; }
  .mn { position: fixed; inset: 0; z-index: -1; display: block; background: rgba(28, 28, 28, .62); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
  .hdr.is-open .mn { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
  .mn__in { height: 100%; overflow: auto; padding: 104px 16px 16px; visibility: inherit; display: flex; flex-direction: column; }
  .mn__in > .mn__label { display: block; font-size: 11px; margin-bottom: 28px; }
  .mn__list { padding: 0 0 40px; font-stretch: 85%; font-weight: 300; }
  .mn__a { height: 43px; line-height: 43px; font-size: 26px; }
  .mn__s { display: none; }
  .mn__a:hover .mn__t, .mn__a:focus-visible .mn__t { transform: none; }
  .mn__foot { margin-top: auto; padding: 20px 0 0; }
  .mn__foot .mn__label { font-size: 11px; margin-bottom: 18px; }
  .mn__legal { gap: 12px; }
  .mn__legal a { font-size: 11px; }
  .mn__copy { display: block; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
  .veil { display: none; }

  .hero__h { left: 16px; bottom: 92px; font-size: 32px; line-height: 1.05; }
  .stmt { padding: 48px 16px 0; font-size: 25px; line-height: 1.25; max-width: none; }
  html.mo .stmt { top: calc(60svh + 24px); }

  .wk { display: flex; flex-direction: column; padding: 0 var(--pad); }
  .wk__side { order: -1; }
  .wk__side { position: static; height: auto; padding: 0 0 28px; display: block; }
  html.mo .wk__side .wk__head { opacity: 1; }
  .wk__names, .wk__foot { display: none; }
  .wk__h { font-size: 32px; line-height: 1.15; }
  .wk__h::after { content: "Painting and glazing"; display: block; color: var(--mut); }
  .wk__tiles { gap: 28px; }
  .tile { background: transparent; overflow: visible; border-radius: 0; }
  .tile__media { aspect-ratio: 4 / 3; }
  .tile__name { font-size: 34px; }
  .tile__cap { position: relative; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: grid; grid-template-columns: 1fr auto; gap: 0 16px; padding-top: 12px; }
  .tile__t { font-size: 14px; line-height: 18px; }
  .tile__s { grid-column: 1; font-size: 14px; line-height: 18px; color: var(--mut); }
  .tile__arr { grid-column: 2; grid-row: 1; font-size: 12px; color: var(--mut); }
  .tile--more { height: 96px; border-radius: 6px; }

  .pr { padding: 140px var(--pad) 0; }
  .pr__bar { display: block; border-top: 0; padding-top: 0; }
  .pr__h { font: 300 32px/1.15 var(--f); font-stretch: 85%; text-transform: none; letter-spacing: -.01em; }
  .pr__h span { display: block; }
  .pr__h .g { margin-left: 0; }
  .pr__bar .br { display: none; }
  .pr__grid { display: block; margin-top: 28px; }
  .card { border-top: 1px solid var(--line); padding: 16px 0; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; }
  .card .card__media { margin: 0; aspect-ratio: 6 / 5; border-radius: 2px; }
  .card--big { display: block; border-top: 0; padding-top: 0; }
  .card--big .card__media { aspect-ratio: 4 / 3; border-radius: 6px; margin-bottom: 12px; }
  .card__t { font-size: 14px; line-height: 18px; }
  .card__x { font-size: 13px; }
  .card__m { display: none; }
  .card--big .card__m { display: flex; }

  .ct, .ct--req { display: block; padding: 140px var(--pad) 0; }
  .ct__h { padding-left: 0; font-size: 32px; line-height: 1.15; margin-bottom: 52px; }
  .rw { grid-template-columns: 1fr 1.08fr; column-gap: 12px; padding: 11px 0 56px; }
  .rw__l, .rw__v { font-size: 14px; line-height: 18px; }
  .form .rw { grid-template-columns: 1fr; row-gap: 12px; padding-bottom: 22px; }
  .form .rw--consent { grid-template-columns: 1fr; }
  .rw--consent .rw__l { display: none; }
  .send { height: 96px; }

  .ftr { display: block; padding: 96px var(--pad) 16px; }
  .ftr--home { padding-top: 80px; }
  .hello { width: 100%; margin-bottom: 40px; }
  .ftr__grid { grid-template-columns: 1fr auto; row-gap: 14px; }
  .ftr__co { grid-column: 1 / -1; }
  .ftr__c { grid-column: 1; }
  .ftr__legal { grid-column: 1 / -1; grid-row: 3; }
  .ftr__top { grid-column: 2; grid-row: 2; }
  .cookie { right: 16px; bottom: 16px; }

  .doc { display: block; padding: 120px var(--pad) 0; }
  .doc__side { position: static; padding-left: 0; margin-bottom: 40px; }
  .doc__h { font-size: 32px; line-height: 1.15; }
  .facts { grid-template-columns: 1fr; }
  .facts dd { border-top: 0; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .tile:hover .tile__img, .card:hover .card__img { transform: none; }
}
