/* 101studio v6, inner pages (about, work, tools, pricing, contact).
   Loaded after v6.css: the top bar, fonts, tokens and pills come from there. This file turns the one-screen home layout
   into a normal scrolling page and adds the page parts. Red stays on the logo star only. */

/* ---------- a page that scrolls ---------- */
html, body { height: auto; overflow: visible; overscroll-behavior: auto; }
body { min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
button:focus-visible { outline: 1px solid rgba(10, 10, 10, .35); outline-offset: 3px; }
button:focus:not(:focus-visible) { outline: none; }

:root { --wide: 1360px; --soft: #f5f4f2; --body: #454545; --line: rgba(10, 10, 10, .1); }
.wrap, .pg-head { padding-left: max(var(--edge), calc((100% - var(--wide)) / 2)); padding-right: max(var(--edge), calc((100% - var(--wide)) / 2)); }

/* ---------- top bar: same markup as the home screen, kept on top while the page scrolls ---------- */
.pg-head { position: sticky; top: 0; z-index: 40; padding-top: 22px; padding-bottom: 14px; background: var(--paper);
  box-shadow: 0 1px 0 transparent; transition: box-shadow .3s ease-out; }
.pg-head.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.pg-head .mega-scrim, .pg-head .m-scrim { position: fixed; }
.pg-head .m-menu { max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); }
@media (min-width: 1080px) {
  .pg-head .mega { top: 70px; }
  .menu a[aria-current="page"] { color: var(--ink); background-color: rgba(10, 10, 10, .05); }
}
@media (max-width: 1079px) { .pg-head { padding-top: 26px; } }
@media (max-width: 640px) { .pg-head { padding-top: 14px; padding-bottom: 12px; } .pg-head .m-menu { top: 70px; } }
.m-link[aria-current="page"] { background: var(--soft); }

/* ---------- page intro: a short label, the title, one paragraph to the right of it ---------- */
main.pg { flex: 1; }
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end;
  padding-top: clamp(64px, 11vh, 132px); padding-bottom: clamp(56px, 8vw, 112px); }
.intro .label { grid-column: 1 / -1; margin-bottom: 22px; font-size: 14px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; color: var(--mute); }
.intro h1 { grid-column: 1 / span 8; }
.intro .lead { grid-column: 9 / -1; max-width: 30em; margin: 0 0 .35em; }
.h1 { font-size: clamp(44px, 6.1vw, 92px); line-height: 1; font-weight: 500; letter-spacing: -0.05em; color: var(--ink); text-wrap: balance; }
.h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .14em 0; margin: 0 -.05em -.14em 0; }
.h1 .w > span { display: inline-block; }
.lead { font-size: 17px; line-height: 1.6; letter-spacing: -0.005em; color: var(--body); }
@media (max-width: 1079px) {
  .intro h1, .intro .lead { grid-column: 1 / -1; }
  .intro .lead { margin: 28px 0 0; }
}
@media (max-width: 640px) { .lead { font-size: 15.5px; line-height: 1.55; } .intro .label { margin-bottom: 16px; } }

/* ---------- sections: title in a narrow left column, content on the right ---------- */
.sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-bottom: clamp(72px, 9vw, 136px); }
.sec > .h2 { grid-column: 1 / span 3; }
.sec > .body { grid-column: 5 / -1; min-width: 0; }
.h2 { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
@media (max-width: 1079px) { .sec > .h2, .sec > .body { grid-column: 1 / -1; } .sec > .h2 { margin-bottom: 28px; } }

.num { font-size: 13px; line-height: 1.4; color: var(--dim); font-variant-numeric: tabular-nums; }

/* numbered rows: number, name, one line */
.rows > li { display: grid; grid-template-columns: 56px minmax(0, 15em) minmax(0, 1fr); column-gap: 24px; align-items: baseline; padding: 18px 0; }
.rows > li:first-child { padding-top: 0; }
.rows .nm { font-size: 22px; line-height: 1.3; font-weight: 500; letter-spacing: -0.03em; }
.rows .tx { font-size: 16px; line-height: 1.55; color: var(--body); }
@media (max-width: 760px) {
  .rows > li { grid-template-columns: 40px minmax(0, 1fr); row-gap: 6px; padding: 16px 0; }
  .rows .tx { grid-column: 2; }
  .rows .nm { font-size: 19px; }
}

/* steps across the width */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.steps .nm { margin-top: 14px; font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -0.025em; }
.steps .tx { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--body); max-width: 22em; }
@media (max-width: 1240px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

.note { font-size: 16px; line-height: 1.55; color: var(--body); }
.note b { font-weight: 500; color: var(--ink); }

/* one clearly labelled empty place, for content that is not in yet */
.slot { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 200px; padding: 28px 30px;
  border-radius: 16px; background: var(--soft); }
.slot .st { font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); }
.slot .sx { font-size: 15px; line-height: 1.5; color: var(--body); max-width: 34em; }
.slot-tall { min-height: clamp(240px, 32vw, 420px); }

/* ---------- the studio's own film from the home screen, as one wide still band ---------- */
.film { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 2.4 / 1; background: #fff; margin-bottom: clamp(72px, 9vw, 136px); }
.film video, .film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 46%; }
@media (max-width: 760px) { .film { aspect-ratio: 4 / 3; border-radius: 16px; } .film video, .film img { object-position: 64% 40%; } }

/* ---------- buttons: the v6 pill, two quiet variants ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pill .i { width: 18px; height: 18px; }
.pill-light { background: var(--soft); color: var(--ink); }
.pill-light:hover { background: #ebe9e6; }
.pg .pill { min-height: 48px; padding: 0 22px 0 20px; font-size: 14px; letter-spacing: -0.015em; }

/* ---------- work: filters and the list ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 36px; }
.chip { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 500; letter-spacing: -0.015em; color: rgba(10, 10, 10, .62);
  transition: background-color .25s ease-out, color .25s ease-out; }
.chip:hover { color: var(--ink); background: rgba(10, 10, 10, .04); }
.chip[aria-pressed="true"] { color: var(--ink); background: var(--soft); }
.works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px) 24px; }
.works.is-swap { animation: swap .45s var(--ease); }
.work { grid-column: span 7; }
.work:nth-child(4n + 2) { grid-column: 9 / span 4; align-self: end; }
.work:nth-child(4n + 3) { grid-column: 2 / span 5; }
.work:nth-child(4n + 4) { grid-column: 7 / span 6; align-self: start; margin-top: clamp(40px, 8vw, 120px); }
.work a { display: block; }
.work .pic { position: relative; overflow: hidden; border-radius: 12px; background: var(--soft); aspect-ratio: 4 / 3; }
.work:nth-child(4n + 2) .pic { aspect-ratio: 4 / 5; }
.work .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work a:hover .pic img { transform: scale(1.025); }
.work .cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }
.work .t { font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -0.025em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work .m { flex: none; font-size: 14px; line-height: 1.4; color: var(--mute); text-align: right; }
@media (max-width: 760px) {
  .works { grid-template-columns: 1fr; }
  .work, .work:nth-child(n) { grid-column: 1; margin-top: 0; }
  .work:nth-child(n) .pic { aspect-ratio: 4 / 3; }
}
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }

/* ---------- tools: four wide rows ---------- */
.tools { display: flex; flex-direction: column; gap: 4px; }
.tool { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; column-gap: 24px; align-items: center;
  padding: 30px 28px; border-radius: 20px; transition: background-color .3s ease-out; scroll-margin-top: 96px; }
.tool:hover, .tool:target { background: var(--soft); }
.tool .nm { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.05; font-weight: 500; letter-spacing: -0.045em; }
.tool .tx { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--body); }
.tool .pill { justify-self: end; }
.tool .pill-light { background: #fff; }
.tool .pill-light:hover { background: #fff; color: var(--ink); }
.tool:not(:hover):not(:target) .pill-light { background: var(--soft); }
.access { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: clamp(40px, 5vw, 64px); padding: 0 28px; }
@media (max-width: 760px) {
  .tool { grid-template-columns: 1fr; row-gap: 6px; padding: 24px 20px; }
  .tool .pill { justify-self: start; margin-top: 14px; }
  .access { padding: 0 20px; }
}

/* ---------- pricing: a plain table that the studio fills in ---------- */
.ptable { width: 100%; border-collapse: collapse; }
.ptable th { padding: 0 16px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: bottom;
  font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--mute); }
.ptable td { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; line-height: 1.55; color: var(--body); }
.ptable td:first-child { font-size: 18px; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); }
.ptable th:last-child, .ptable td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.ptable td.empty { padding: 16px 0 0; border-bottom: 0; text-align: left; white-space: normal; font-size: inherit; }
.terms { margin-top: 48px; }
.terms > div { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); column-gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.terms dt { font-size: 15px; font-weight: 500; color: var(--ink); }
.terms dd { font-size: 15px; line-height: 1.55; color: var(--body); }
@media (max-width: 640px) {
  .ptable thead { display: none; }
  .ptable tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .ptable td, .ptable td:last-child { display: block; padding: 2px 0; border: 0; text-align: left; white-space: normal; }
  .ptable tr.is-empty { border: 0; padding: 0; }
  .terms > div { grid-template-columns: 1fr; row-gap: 4px; }
}
.ask { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.ask .tx { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--body); max-width: 30em; }

/* ---------- contact ---------- */
.mail { display: inline-block; font-size: clamp(34px, 5.6vw, 84px); line-height: 1.05; font-weight: 500; letter-spacing: -0.05em; color: var(--ink);
  overflow-wrap: anywhere; transition: color .3s var(--ease); }
.mail:hover { color: #2a2a2a; }
.mail-block .btns { margin-top: 28px; }
.copy-btn { position: relative; min-width: 128px; justify-content: center; border: 0; cursor: pointer; }
.copy-btn .lbl { transition: opacity .3s ease-out; }
.copy-btn .lbl-2 { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; }
.copy-btn.done .lbl-1 { opacity: 0; }
.copy-btn.done .lbl-2 { opacity: 1; }
.brief > li { display: grid; grid-template-columns: 40px minmax(0, 12em) minmax(0, 1fr); column-gap: 24px; align-items: baseline; padding: 12px 0; }
.brief > li:first-child { padding-top: 0; }
.brief .nm { font-size: 18px; font-weight: 500; letter-spacing: -0.025em; }
.brief .tx { font-size: 15px; line-height: 1.55; color: var(--body); }
@media (max-width: 640px) { .brief > li { grid-template-columns: 32px minmax(0, 1fr); row-gap: 4px; } .brief .tx { grid-column: 2; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 24px; }
.split .h2 { margin-bottom: 10px; }
.split .tx { font-size: 16px; line-height: 1.55; color: var(--body); max-width: 26em; }
.split .btns { margin-top: 22px; }
.where dd { font-size: 22px; line-height: 1.3; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.where dt { font-size: 14px; color: var(--mute); margin-bottom: 4px; }
.where > div + div { margin-top: 22px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.pg-foot { margin-top: auto; padding-top: 40px; padding-bottom: 32px; box-shadow: 0 -1px 0 var(--line);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; align-items: start;
  font-size: 14px; line-height: 1.5; }
.pg-foot .fb { grid-column: 1 / span 4; }
.pg-foot .fb a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.pg-foot .fb img { width: 104px; }
.pg-foot .fn { grid-column: 5 / span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.pg-foot .fc { grid-column: 9 / -1; text-align: right; }
.pg-foot a { color: var(--ink); transition: color .25s ease-out; }
.pg-foot .fn a { color: rgba(10, 10, 10, .68); }
.pg-foot a:hover, .pg-foot .fn a:hover { color: var(--ink); }
.pg-foot .fn a[aria-current="page"] { color: var(--ink); }
.pg-foot .sm { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--mute); }
.pg-foot .fn a, .pg-foot .fc a { display: inline-block; padding: 4px 0; }
@media (max-width: 900px) {
  .pg-foot .fb, .pg-foot .fn, .pg-foot .fc { grid-column: 1 / -1; text-align: left; }
}

/* ---------- motion: calm, the home easing; nothing hidden without JS ---------- */
.js .pg-in, .js [data-reveal] { opacity: 0; transform: translateY(8px); }
.js .h1 .w > span { transform: translateY(110%); }
.js.ready .pg-in { opacity: 1; transform: none; transition: opacity .9s ease-out, transform 1.1s var(--ease); transition-delay: calc(.25s + var(--d, 0) * 90ms); }
.js.ready .h1 .w > span { transform: none; transition: transform 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + .05s); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .9s ease-out, transform 1.1s var(--ease); }
/* a control reached with Tab before its block has faded in is shown at once */
.js [data-reveal]:focus-within, .js .pg-in:focus-within { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .pg-in, .js [data-reveal], .js .h1 .w > span { opacity: 1; transform: none; transition: none; }
  .works.is-swap { animation: none; }
  .work .pic img, .work a:hover .pic img { transition: none; transform: none; }
}

/* ---------- small helpers ---------- */
.sec > .full { grid-column: 1 / -1; min-width: 0; }
.sec-work, .sec-tools { padding-bottom: clamp(72px, 9vw, 136px); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pg-contact .sec > .mail-block { grid-column: 1 / span 8; min-width: 0; }
.pg-contact .sec > .where { grid-column: 10 / -1; align-self: end; }
@media (max-width: 1079px) { .pg-contact .sec > .mail-block, .pg-contact .sec > .where { grid-column: 1 / -1; } .pg-contact .sec > .where { margin-top: 48px; } }

/* ---------- fixes after the first look ---------- */
[hidden] { display: none !important; }
.slot { min-height: 168px; }
/* the film ends in white instead of a hard edge */
.film { -webkit-mask-image: linear-gradient(#000 62%, transparent 98%); mask-image: linear-gradient(#000 62%, transparent 98%); }
/* tool rows: text lines up with the page edge, the grey hover fill reaches out into the gutter */
@media (min-width: 761px) { .tools { margin: 0 -28px; } .access { padding: 0; } }

/* ---------- 4POLLO review: one grid for every page. At 1440 the lines are 40 (titles), 501 (section content), 963 (second half).
   Rows put their text on the second-half line; section titles sit one step above row names. ---------- */
.h2 { font-size: 24px; }
.rows > li { grid-template-columns: 64px minmax(0, 1fr) calc(50% - 12px); }
.rows .nm { font-size: 19px; }
.brief > li { grid-template-columns: minmax(0, 1fr) calc(50% - 12px); }
.steps .nm { margin-top: 8px; }
.ptable col:first-child { width: 33.92%; }
.mail { font-size: clamp(30px, 4vw, 56px); }
.intro .btns { grid-column: 9 / -1; margin-top: 24px; }
@media (max-width: 1079px) { .intro .btns { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .rows > li { grid-template-columns: 40px minmax(0, 1fr); }
  .rows .nm { font-size: 19px; }
  .tool { padding: 22px 0; }
  .tool:hover, .tool:target { background: none; }
}
@media (max-width: 640px) {
  .brief > li { grid-template-columns: 1fr; }
  .brief .tx { grid-column: 1; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
}
/* ---------- about: team. Full width under its own title. One soft card per person, a character card in the
   site's own system: a big letter until there is a photo, the number, the name (or the role while the name is
   unknown), the main quest. Nothing empty is drawn. Red only touches the letter on hover. ---------- */
.sec-team > .h2 { grid-column: 1 / -1; margin-bottom: 32px; }
.sec-team > .body { grid-column: 1 / -1; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; }
.tm { display: flex; min-width: 0; }
.tm-card { container-type: inline-size; flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 12px;
  border-radius: 28px; background: var(--soft); }

.tm-art { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; }
.tm-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tm-art:not(.has-pic) { display: flex; align-items: flex-end; padding-bottom: 7%; }
/* the whole letter, a little crooked like a sticker; it rises into place like the page title and straightens on hover */
.tm-glyph { display: block; margin-left: -.03em; padding: 0 12px; font-size: 100cqi; line-height: .74; font-weight: 500; letter-spacing: -0.06em;
  color: var(--ink); transform-origin: 50% 100%; transform: translateY(var(--y, 0)) rotate(var(--r, 0deg));
  transition: color .6s ease-out, transform .9s var(--ease); }
.tm:nth-child(4n+1) { --r: -3deg; }
.tm:nth-child(4n+2) { --r: 2deg; }
.tm:nth-child(4n+3) { --r: -2deg; }
.tm:nth-child(4n+4) { --r: 3deg; }
.tm-card:hover .tm-glyph { --y: -4%; --r: 0deg; color: var(--red); }
.js .tm[data-reveal] .tm-glyph { --y: 110%; }
.js .tm[data-reveal].in .tm-glyph { --y: 0; transition: color .6s ease-out, transform 1.3s var(--ease) calc(var(--k, 0) * 90ms + .1s); }
.js .tm[data-reveal].in .tm-card:hover .tm-glyph { --y: -4%; transition-delay: 0s; }

.tm-txt { display: flex; flex-direction: column; flex: 1; padding: 22px 12px 12px; }
.tm-kick { font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--mute); font-variant-numeric: tabular-nums; }
.tm-name { margin-top: 4px; font-size: 28px; line-height: 1.15; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); overflow-wrap: anywhere; }
.tm-quest { margin-top: 24px; }
.tm-lab { font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--mute); }
.tm-line { margin-top: 4px; font-size: 18px; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }

/* hobbies: only once they exist, three even pills */
.tm-hob { margin-top: 20px; }
.tm-hob ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.tm-hob li { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 8px; border-radius: 14px;
  background: var(--paper); font-size: 14px; line-height: 1.2; font-weight: 500; color: var(--ink); text-align: center; overflow-wrap: anywhere; }

@media (max-width: 1079px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* phone: the letter sits beside the name like an avatar, so four people do not take four screens */
@media (max-width: 640px) {
  .sec-team > .h2 { margin-bottom: 24px; }
  .team { grid-template-columns: 1fr; gap: 12px; }
  .tm-card { flex-direction: row; align-items: stretch; padding: 10px; border-radius: 24px; }
  .tm-art { flex: 0 0 30%; aspect-ratio: auto; min-height: 140px; border-radius: 14px; }
  .tm-art:not(.has-pic) { align-items: flex-start; padding: 14px 0 0; }
  .tm-art.has-pic { align-self: flex-start; aspect-ratio: 4 / 5; min-height: 0; }
  .tm-glyph { padding: 0 8px; font-size: 32cqi; transform-origin: 50% 50%; }
  .js .tm[data-reveal] .tm-glyph { --y: 40%; }
  .tm-txt { padding: 8px 8px 8px 12px; }
  .tm-name { font-size: 22px; }
  .tm-quest { margin-top: 16px; }
  .tm-line { font-size: 16px; }
  .tm-hob li { min-height: 36px; padding: 4px; font-size: 13px; }
}
.js .team [data-reveal].in { transition-delay: calc(var(--k, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) {
  .tm-glyph, .js .tm[data-reveal] .tm-glyph, .js .tm[data-reveal].in .tm-glyph { --y: 0; transition: none; }
  .tm-card:hover .tm-glyph { --y: 0; }
}

/* the film sits on the content line, not across the whole page */
.film-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.film-row .film { grid-column: 5 / -1; aspect-ratio: 2.1 / 1; }
@media (max-width: 1079px) { .film-row .film { grid-column: 1 / -1; } }
@media (max-width: 760px) { .film-row .film { aspect-ratio: 4 / 3; } }

/* ---------- v2 (2026-11-22): about, work, pricing, contact share one shape.
   Title and one line, then sections (title left, content right), then one next step at the bottom.
   Colours are tokens only, so the dark theme carries over. ---------- */

/* about: four short reasons, two by two */
.pts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.pts .nm { font-size: 19px; line-height: 1.3; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); }
.pts .tx { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--body); max-width: 26em; }
@media (max-width: 640px) { .pts { grid-template-columns: 1fr; gap: 24px; } }

/* the next step: one soft panel, a title, one line, one button */
.next { padding-bottom: clamp(72px, 9vw, 136px); }
.next-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px;
  padding: clamp(28px, 4vw, 56px); border-radius: 20px; background: var(--soft); }
.next .h2 { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.08; letter-spacing: -0.045em; text-wrap: balance; }
.next .tx { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--body); max-width: 32em; }
@media (max-width: 640px) { .next-in { padding: 28px 22px 22px; border-radius: 16px; } .next .btns, .next .pill { width: 100%; } .next .pill { justify-content: center; } }

/* a button whose arrow sits after the words */
.pg .pill-go { padding: 0 18px 0 22px; }
.pill-go .i { transition: transform .45s var(--ease); }
.pill-go:hover .i { transform: translateX(3px); }

/* about: the services without numbers (they have no order); the line sits on the second-half column like everywhere else */
.rows.plain > li { grid-template-columns: minmax(0, 1fr) calc(50% - 12px); }
@media (max-width: 760px) { .rows.plain > li { grid-template-columns: 1fr; row-gap: 4px; } .rows.plain .tx { grid-column: 1; } }

/* work, while the list is empty: the kinds of work as a large quiet index */
.kinds { display: flex; flex-direction: column; gap: 6px; }
.kinds li { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.12; font-weight: 500; letter-spacing: -0.045em; color: var(--ink); }
.sec-work { padding-bottom: clamp(56px, 7vw, 104px); }

/* pricing: the service table sits in the content column; a price column only once prices exist */
.ptable tbody th { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top;
  font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); }
.ptable thead th:first-child, .ptable tbody th { width: 51.4%; }   /* 1440: the includes column starts on the 963 line */
.ptable:not(.has-price) tbody tr:first-child > * { padding-top: 0; }
.ptable:not(.has-price) th:last-child, .ptable:not(.has-price) td:last-child { text-align: left; white-space: normal; }
.sec .body > .terms { margin-top: 0; }
@media (max-width: 640px) {
  .ptable tbody th { display: block; width: auto; padding: 0 0 4px; border: 0; }
  .ptable tbody tr:first-child { padding-top: 0; }
}

/* contact: confirmed lines as label over value, then the buttons or the line that says what is still to come */
.body > .where > div { padding: 0; }
.where + .btns, .where + .pending { margin-top: 32px; }
@media (min-width: 641px) { .brief > li { padding: 18px 0; } .brief > li:first-child { padding-top: 0; } }
.pending { color: var(--mute); }

/* ---------- Privacy, Terms: long text in the section grid, closer together than the other pages ---------- */
.legal { padding-bottom: clamp(44px, 5vw, 72px); }
.prose { max-width: 44em; }
.prose p, .prose li { font-size: 16px; line-height: 1.6; color: var(--body); }
.prose > * + * { margin-top: 14px; }
.prose h3 { margin-top: 30px; font-size: 17px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.prose h3 + * { margin-top: 8px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--mute); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color .25s ease-out; }
.prose a:hover { text-decoration-color: currentColor; }
@media (max-width: 640px) { .prose p, .prose li { font-size: 15.5px; line-height: 1.55; } }

/* footer: Privacy and Terms on the small line */
.pg-foot .legal-links { display: inline-flex; gap: 16px; }
.pg-foot .sm a { color: var(--mute); }
.pg-foot .sm a:hover, .pg-foot .sm a[aria-current="page"] { color: var(--ink); }
@media (pointer: coarse) {
  .pg-foot .sm a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .pg-foot .fn a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
}

/* ---------- 404 and 500 (4POLLO) ---------- */

.pg-404 .err-code, .pg-500 .err-code {
  grid-column: 1 / -1; display: flex; align-items: flex-end;
  margin: 0 0 clamp(28px, 3.4vw, 48px) -.04em;
  font-size: clamp(136px, 30vw, 320px); line-height: .74; font-weight: 500; color: var(--ink);
  font-variant-numeric: tabular-nums; user-select: none;
}
.pg-404 .err-code .d, .pg-500 .err-code .d {
  display: block; transform-origin: 50% 100%;
  transform: translateY(calc(var(--y, 0%) + var(--rise, 0%))) rotate(var(--r, 0deg));
  transition: transform .9s var(--ease);
  transition-delay: calc(var(--k, 0) * 90ms);
}
.pg-404 .err-code .d + .d, .pg-500 .err-code .d + .d { margin-left: -.05em; }
/* uneven on purpose, small enough to read as one number */
.pg-404 .err-code .d:nth-child(1), .pg-500 .err-code .d:nth-child(1) { --r: -3deg; }
.pg-404 .err-code .d:nth-child(2), .pg-500 .err-code .d:nth-child(2) { --r: 2deg; --y: -3%; --k: 1; }
.pg-404 .err-code .d:nth-child(3), .pg-500 .err-code .d:nth-child(3) { --r: -2deg; --k: 2; }

/* a pointer over the number straightens it */
@media (hover: hover) and (pointer: fine) {
  .pg-404 .err .err-code:hover .d, .pg-500 .err .err-code:hover .d { --r: 0deg; --y: 0%; --k: 0; }
}

/* motion: the same calm rise as the title (pages.css .pg-in); nothing is hidden without JS */
.js .pg-404 .err-code .d, .js .pg-500 .err-code .d { opacity: 0; --rise: 14%; }
.js.ready .pg-404 .err-code .d, .js.ready .pg-500 .err-code .d {
  opacity: 1; --rise: 0%;
  transition-property: opacity, transform; transition-duration: .9s, 1.3s; transition-timing-function: ease-out, var(--ease);
}

@media (max-width: 1079px) {
  .pg-404 .err-code, .pg-500 .err-code { margin-bottom: 32px; }
  /* v6.css gives the home .lead order 3 (and hides it on short screens); keep the line before the buttons here */
  .pg-404 .intro .lead, .pg-500 .intro .lead { order: 0; display: block; }
}
@media (max-width: 640px) {
  .pg-404 .err-code, .pg-500 .err-code { font-size: clamp(120px, 40vw, 200px); margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .pg-404 .err-code .d, .js .pg-500 .err-code .d { opacity: 1; --rise: 0%; }
  .pg-404 .err-code .d, .pg-500 .err-code .d, .js.ready .pg-404 .err-code .d, .js.ready .pg-500 .err-code .d { transition: none; }
}

/* v6.css moves and hides the home .lead below 1079px; the Privacy and Terms intro keeps its line */
@media (max-width: 1079px) { .pg-privacy .intro .lead, .pg-terms .intro .lead { order: 0; display: block; } }
