/* PRECISION PLAY LTD — stylesheet */
:root {
  --paper: #f3efe6;
  --paper-2: #ebe5d8;
  --white: #fffdf8;
  --ink: #0f1c2e;
  --ink-2: #2b3a4f;
  --muted: #5d6879;
  --rule: rgba(15, 28, 46, .14);
  --rule-2: rgba(15, 28, 46, .28);
  --orange: #ff5a1f;
  --orange-d: #e24609;
  --teal: #1f8a83;
  --navy: #0f1c2e;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --max: 1240px;
  --r: 6px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; font-variation-settings: "opsz" 144; }
h1 em, h2 em { font-style: italic; color: var(--orange); }
p { margin: 0 0 1em; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.sec { padding: 120px 0; position: relative; }
.sec--line { border-top: 1px solid var(--rule); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); display: inline-flex; gap: 10px; align-items: center; margin-bottom: 22px; }
.label b { color: var(--ink); font-weight: 500; }
.sec-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.sec-top h2 { font-size: clamp(36px, 5vw, 64px); margin: 0; }
.sec-top p { color: var(--muted); font-size: 18px; margin: 0; max-width: 480px; justify-self: end; }

/* Blueprint background */
.blueprint {
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 40px 40px; background-position: -1px -1px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: var(--r);
  font-weight: 600; font-size: 15px; border: 1.5px solid var(--ink); transition: background .25s, color .25s, transform .25s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--sm { padding: 10px 16px; font-size: 14px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 100; background: rgba(243, 239, 230, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule);
}
.top__bar { display: flex; justify-content: space-between; align-items: center; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .02em; font-size: 15px; }
.brand__mark { width: 38px; height: 38px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; position: relative; }
.brand__mark::before, .brand__mark::after { content: ""; position: absolute; background: var(--ink); }
.brand__mark::before { width: 1.5px; height: 46px; }
.brand__mark::after { height: 1.5px; width: 46px; }
.brand__mark i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); position: relative; z-index: 1; }
.brand span small { display: block; font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .16em; color: var(--muted); }
.menu { display: flex; align-items: center; gap: 36px; }
.menu ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu ul a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background .2s; }
.menu ul a:hover { background: var(--paper-2); }
.menu ul a.on { background: var(--ink); color: var(--paper); }
.toggle { display: none; height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: var(--r); background: transparent; color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }

/* Hero */
.hero { padding: 72px 0 0; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: stretch; }
.hero__copy { padding: 40px 0 80px; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(46px, 7vw, 100px); font-weight: 400; margin-bottom: 28px; }
.hero__lead { font-size: 20px; color: var(--ink-2); max-width: 540px; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin-top: 56px; padding-top: 28px; border-top: 1px dashed var(--rule-2); }
.hero__meta b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; }
.hero__meta span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Framed image with crosshair corners */
.frame { position: relative; padding: 14px; }
.frame::before, .frame::after, .frame > .c1, .frame > .c2 { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--orange); z-index: 2; }
.frame::before { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.frame::after { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.frame > .c1 { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.frame > .c2 { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.ph { position: relative; overflow: hidden; background: repeating-linear-gradient(45deg, var(--paper-2) 0 10px, #e4ddcd 10px 20px); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.ph.is-broken img { display: none; }
.hero .frame { height: 100%; min-height: 560px; }
.hero .ph { height: 100%; }
.tag-float {
  position: absolute; z-index: 3; background: var(--white); border: 1px solid var(--rule-2); padding: 12px 16px; border-radius: var(--r);
  font-family: var(--mono); font-size: 12px; box-shadow: 0 18px 40px -22px rgba(15, 28, 46, .45);
}
.tag-float b { display: block; font-family: var(--sans); font-size: 15px; margin-top: 2px; letter-spacing: 0; text-transform: none; }
.tag-float--1 { left: -28px; top: 18%; }
.tag-float--2 { right: 30px; bottom: 40px; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tag-float--2 .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; margin-right: 6px; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.measure { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: -26px; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.measure::before, .measure::after { content: ""; flex: 1; height: 1px; background: var(--rule-2); }

/* Ticker */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; margin-top: 80px; }
.ticker__row { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker__row span { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 0 28px; white-space: nowrap; }
.ticker__row span::before { content: "+"; color: var(--orange); margin-right: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Services list */
.svc { border-top: 1px solid var(--ink); }
.svc__row {
  display: grid; grid-template-columns: 90px 1.1fr 1.4fr 48px; gap: 32px; align-items: center; padding: 34px 0;
  border-bottom: 1px solid var(--rule-2); position: relative; transition: padding .4s var(--ease);
}
.svc__row::before { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); z-index: -1; }
.svc__row:hover::before { transform: scaleY(1); }
.svc__row:hover { padding-left: 18px; padding-right: 18px; }
.svc__no { font-family: var(--mono); font-size: 13px; color: var(--orange); }
.svc__row h3 { font-size: clamp(24px, 2.6vw, 34px); margin: 0; }
.svc__row p { color: var(--muted); margin: 0; font-size: 16px; }
.svc__row p small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-top: 10px; }
.svc__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.svc__arrow svg { width: 18px; height: 18px; }
.svc__row:hover .svc__arrow { background: var(--orange); border-color: var(--orange); color: #fff; transform: rotate(-45deg); }

/* Process — sticky split */
.proc { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.proc__side { position: sticky; top: 120px; }
.proc__side h2 { font-size: clamp(36px, 4.6vw, 60px); }
.proc__side p { color: var(--muted); font-size: 18px; }
.proc__bar { height: 3px; background: var(--rule); margin-top: 36px; position: relative; overflow: hidden; }
.proc__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--orange); transition: width .3s; }
.phase { display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding: 40px 0; border-bottom: 1px dashed var(--rule-2); }
.phase:first-child { padding-top: 0; }
.phase__n { font-family: var(--serif); font-size: 54px; line-height: .9; color: transparent; -webkit-text-stroke: 1.2px var(--ink); transition: color .4s, -webkit-text-stroke-color .4s; }
.phase.is-on .phase__n { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.phase h3 { font-size: 28px; margin-bottom: 10px; }
.phase p { color: var(--muted); margin-bottom: 16px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.specs li { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--rule-2); border-radius: 3px; background: var(--white); }

/* Numbers band */
.band { background: var(--ink); color: var(--paper); }
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.band__cell { padding: 64px 28px; border-left: 1px solid rgba(243, 239, 230, .14); }
.band__cell:first-child { border-left: 0; padding-left: 0; }
.band__cell b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 72px); line-height: 1; margin-bottom: 14px; }
.band__cell b sup { font-size: .45em; color: var(--orange); vertical-align: top; margin-left: 4px; }
.band__cell span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(243, 239, 230, .65); }

/* Work grid (home teaser + portfolio) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 300px; gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--white); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.tile .ph { flex: 1; }
.tile:hover .ph img { transform: scale(1.05); }
.tile__cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--rule); background: var(--white); }
.tile__cap h3 { font-size: 22px; margin: 0; }
.tile__cap .mono { color: var(--muted); font-size: 11px; }
.t-a { grid-column: span 4; grid-row: span 2; }
.t-b { grid-column: span 2; grid-row: span 1; }
.t-c { grid-column: span 2; grid-row: span 1; }
.t-d { grid-column: span 3; }
.t-e { grid-column: span 3; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--rule-2); }
.pr { padding: 40px 34px; border-right: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); background: transparent; transition: background .3s; }
.pr:hover { background: var(--white); }
.pr__ico { width: 46px; height: 46px; color: var(--orange); margin-bottom: 30px; }
.pr__ico svg { width: 100%; height: 100%; }
.pr h3 { font-size: 24px; }
.pr p { color: var(--muted); margin: 0; font-size: 16px; }

/* Split media */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.duo .frame { aspect-ratio: 1 / 1; }
.duo .ph { height: 100%; }
.duo h2 { font-size: clamp(34px, 4.4vw, 56px); }
.duo > div > p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 30px 0 36px; border-top: 1px solid var(--rule-2); }
.ticks li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule-2); font-size: 16px; }
.ticks li span:first-child { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); padding-top: 3px; }

/* FAQ */
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.qa details { border-top: 1px solid var(--rule-2); }
.qa details:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule-2); }
.qa summary { list-style: none; cursor: pointer; padding: 26px 0; display: grid; grid-template-columns: 1fr 28px; gap: 20px; font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { width: 28px; height: 28px; border: 1.5px solid var(--ink); border-radius: 50%; position: relative; margin-top: 2px; transition: background .3s, transform .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.qa details[open] summary i { background: var(--orange); border-color: var(--orange); color: #fff; }
.qa details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.qa details p { color: var(--muted); padding: 0 48px 26px 0; margin: 0; font-size: 16px; }

/* Brief / contact */
.brief { background: var(--ink); color: var(--paper); border-radius: 10px; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; }
.brief__side { padding: 64px 56px; border-right: 1px solid rgba(243, 239, 230, .14); position: relative; }
.brief__side.blueprint { background-image: linear-gradient(rgba(243, 239, 230, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 239, 230, .06) 1px, transparent 1px); }
.brief h2 { font-size: clamp(36px, 4.4vw, 58px); }
.brief__side p { color: rgba(243, 239, 230, .72); font-size: 18px; }
.brief__steps { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: b; display: grid; gap: 18px; }
.brief__steps li { counter-increment: b; display: grid; grid-template-columns: 40px 1fr; gap: 14px; font-size: 15px; color: rgba(243, 239, 230, .85); }
.brief__steps li::before { content: "0" counter(b); font-family: var(--mono); font-size: 12px; color: var(--orange); padding-top: 3px; }
.brief form { padding: 64px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; align-content: start; }
.in { display: grid; gap: 6px; position: relative; }
.in--full { grid-column: 1 / -1; }
.in label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(243, 239, 230, .6); }
.in input, .in textarea, .in select {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(243, 239, 230, .3); color: var(--paper);
  font: inherit; font-size: 17px; padding: 10px 0; border-radius: 0; transition: border-color .2s;
}
.in select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3efe6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center / 16px no-repeat; }
.in select option { color: var(--ink); }
.in textarea { resize: vertical; min-height: 110px; }
.in input:focus, .in textarea:focus, .in select:focus { outline: none; border-bottom-color: var(--orange); }
.in.bad input, .in.bad textarea { border-bottom-color: #ff8a65; }
.in .err { font-size: 13px; color: #ff8a65; display: none; }
.in.bad .err { display: block; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(243, 239, 230, .6); margin-bottom: 10px; padding: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { padding: 8px 14px; border: 1px solid rgba(243, 239, 230, .3); border-radius: 999px; font-size: 14px; cursor: pointer; transition: all .2s; user-select: none; }
.chips input:checked + label { background: var(--orange); border-color: var(--orange); color: #fff; }
.chips input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; }
.agree { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(243, 239, 230, .75); }
.agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); flex-shrink: 0; }
.agree a { text-decoration: underline; text-underline-offset: 3px; color: var(--paper); }
.agree.bad { color: #ff8a65; }
.brief form .btn { grid-column: 1 / -1; justify-self: start; }
.sent { grid-column: 1 / -1; display: none; padding: 16px 18px; border-left: 3px solid var(--orange); background: rgba(255, 90, 31, .12); font-size: 15px; }
.sent.show { display: block; }

/* Page head */
.phead { padding: 90px 0 70px; border-bottom: 1px solid var(--rule); position: relative; }
.phead h1 { font-size: clamp(46px, 7vw, 96px); font-weight: 400; max-width: 1000px; }
.phead p { font-size: 20px; color: var(--ink-2); max-width: 620px; margin: 0; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; display: flex; gap: 10px; }
.crumbs a:hover { color: var(--orange); }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: all .2s; }
.filters button:hover { background: var(--paper-2); }
.filters button.on { background: var(--ink); color: var(--paper); }
.filters button sup { font-family: var(--mono); font-size: 10px; margin-left: 4px; color: var(--orange); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s, opacity .3s; }
.case:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(15, 28, 46, .4); }
.case:hover .ph img { transform: scale(1.05); }
.case.hide { display: none; }
.case .ph { aspect-ratio: 4 / 3; }
.case__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.case__kind { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.case h3 { font-size: 26px; margin-bottom: 8px; }
.case p { color: var(--muted); font-size: 15px; }
.case dl { display: grid; grid-template-columns: 1fr 1fr; margin: auto 0 0; border-top: 1px dashed var(--rule-2); padding-top: 14px; gap: 10px; }
.case dt { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case dd { margin: 0; font-size: 14px; font-weight: 600; }
.feature { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.feature .ph { min-height: 480px; }
.feature__body { padding: 52px; display: flex; flex-direction: column; justify-content: center; }
.feature__body h2 { font-size: clamp(32px, 3.6vw, 48px); }
.feature__body > p { color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule-2); margin-top: 20px; }
.kpis div { padding: 18px 12px 0 0; }
.kpis b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--orange); line-height: 1.1; }
.kpis span { font-size: 13px; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--orange); padding: 4px 0 4px 16px; margin-top: 40px; }

/* Legal */
.doc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 36px; }
.doc-tabs a { padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .2s; }
.doc-tabs a:hover { background: var(--paper-2); }
.doc-tabs a.on { background: var(--ink); color: var(--paper); }
.doc { max-width: 920px; }
.doc__meta { display: flex; flex-wrap: wrap; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--rule-2); margin-bottom: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.doc__meta b { color: var(--ink); font-weight: 500; }
.clause { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 100px; }
.clause__n { font-family: var(--mono); font-size: 13px; color: var(--orange); padding-top: 8px; }
.clause h2 { font-size: 30px; margin-bottom: 16px; }
.clause h3 { font-size: 20px; margin: 22px 0 8px; }
.clause p, .clause li { color: var(--ink-2); font-size: 16px; }
.clause ul { padding-left: 20px; margin: 0 0 1em; }
.clause li { margin-bottom: 8px; }
.clause li::marker { color: var(--orange); content: "— "; }
.clause a { color: var(--orange-d); text-decoration: underline; text-underline-offset: 3px; }
.clause > div { min-width: 0; }
.tbl { overflow-x: auto; border: 1px solid var(--rule-2); border-radius: var(--r); margin: 16px 0; background: var(--white); }
.tbl table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl th { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; background: var(--paper-2); }
.tbl tr:last-child td { border-bottom: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; padding: 0; list-style: none; }
.jump a { font-size: 14px; color: var(--muted); border-bottom: 1px solid transparent; }
.jump a:hover { color: var(--ink); border-bottom-color: var(--orange); }

/* Footer */
.foot { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 90px 0 30px; }
.foot__cta { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 64px; border-bottom: 1px solid var(--rule-2); margin-bottom: 56px; flex-wrap: wrap; }
.foot__cta h2 { font-size: clamp(38px, 6vw, 82px); font-weight: 400; margin: 0; max-width: 820px; }
.foot__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 64px; }
.foot__cols p { color: var(--muted); font-size: 15px; max-width: 320px; margin-top: 18px; }
.foot h4 { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot ul a { font-size: 15px; transition: color .2s; }
.foot ul a:hover { color: var(--orange); }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--rule-2); }
.foot__base a:hover { color: var(--orange); }

/* Cookie bar */
.cbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--ink); color: var(--paper);
  transform: translateY(100%); transition: transform .5s var(--ease); border-top: 3px solid var(--orange);
}
.cbar.show { transform: none; }
.cbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.cbar p { margin: 0; font-size: 15px; color: rgba(243, 239, 230, .85); max-width: 760px; }
.cbar p a { color: var(--paper); text-decoration: underline; }
.cbar__btns { display: flex; gap: 10px; flex-shrink: 0; }
.cbar .btn--line { color: var(--paper); border-color: rgba(243, 239, 230, .5); }
.cbar .btn--line:hover { background: var(--paper); color: var(--ink); }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--orange); width: 0; z-index: 150; }

/* Reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .proc { gap: 48px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .tag-float--1 { left: 0; }
}
@media (max-width: 960px) {
  .sec { padding: 88px 0; }
  .toggle { display: block; }
  .menu {
    position: fixed; top: 74px; right: 0; bottom: 0; width: min(380px, 100%); background: var(--paper); border-left: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px; padding: 32px 28px;
    transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; height: calc(100vh - 74px); height: calc(100dvh - 74px);
  }
  .open .menu { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; box-shadow: -30px 0 60px -30px rgba(15, 28, 46, .35); }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul a { font-family: var(--serif); font-size: 28px; padding: 12px 0; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .menu ul a:hover { background: none; color: var(--orange); }
  .menu ul a.on { background: none; color: var(--orange); }
  .hero__grid, .duo, .proc, .brief, .feature { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 24px; }
  .hero .frame { min-height: 420px; }
  .proc__side { position: static; }
  .sec-top { grid-template-columns: 1fr; gap: 20px; }
  .sec-top p { justify-self: start; }
  .svc__row { grid-template-columns: 60px 1fr 48px; gap: 20px; }
  .svc__row p { grid-column: 2 / 3; grid-row: 2; }
  .svc__arrow { grid-row: 1; grid-column: 3; }
  .band .wrap { grid-template-columns: 1fr 1fr; }
  .band__cell { padding: 40px 24px; border-left: 0; border-top: 1px solid rgba(243, 239, 230, .14); }
  .band__cell:nth-child(-n+2) { border-top: 0; }
  .band__cell:nth-child(odd) { padding-left: 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 280px; }
  .t-a { grid-column: span 2; grid-row: span 1; height: auto; }
  .t-b, .t-c, .t-d, .t-e { grid-column: span 1; }
  .t-e { grid-column: span 2; }
  .principles { grid-template-columns: 1fr 1fr; }
  .qa { grid-template-columns: 1fr; }
  .qa details:nth-last-child(2) { border-bottom: 0; }
  .brief__side { border-right: 0; border-bottom: 1px solid rgba(243, 239, 230, .14); }
  .cases { grid-template-columns: 1fr 1fr; }
  .feature .ph { min-height: 340px; }
  .cbar .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .sec { padding: 72px 0; }
  .sec-top { margin-bottom: 40px; }
  .hero { padding-top: 40px; }
  .hero__lead, .phead p { font-size: 18px; }
  .hero__meta { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero__meta b { font-size: 26px; }
  .hero .frame { min-height: 340px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .tag-float--1 { top: 24px; left: 24px; }
  .tag-float--2 { right: 24px; bottom: 24px; }
  .svc__row { grid-template-columns: 1fr 44px; padding: 26px 0; }
  .svc__row:hover { padding-left: 0; padding-right: 0; }
  .svc__no { grid-column: 1 / -1; }
  .svc__row h3 { grid-column: 1; grid-row: 2; }
  .svc__row p { grid-column: 1 / -1; grid-row: 3; }
  .svc__arrow { grid-row: 2; grid-column: 2; width: 44px; height: 44px; }
  .phase { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
  .phase__n { font-size: 42px; }
  .band .wrap { grid-template-columns: 1fr 1fr; }
  .band__cell { padding: 30px 12px 30px 0; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: span 1; }
  .principles { grid-template-columns: 1fr; }
  .ticks li { grid-template-columns: 1fr; gap: 4px; }
  .qa summary { font-size: 19px; }
  .qa details p { padding-right: 0; }
  .brief__side, .brief form { padding: 40px 22px; }
  .brief form { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .feature__body { padding: 30px 22px; }
  .kpis b { font-size: 26px; }
  .clause { grid-template-columns: 1fr; gap: 4px; padding: 28px 0; }
  .clause h2 { font-size: 26px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols > div:first-child { grid-column: 1 / -1; }
  .phead { padding: 56px 0 48px; }
  .cbar__btns { width: 100%; }
  .cbar__btns .btn { flex: 1; justify-content: center; }
}
