/* Landy Interior — "architectural gallery": light stone page, ink type, mono drawing labels, hairline grid.
   Same 6 brand colours as the hero (hero.css :root), used inverted: paper background, ink text. */
:root { --mono: 'Manrope', 'Helvetica Neue', system-ui, sans-serif; }
/* theme tokens: light = paper page, dark = ink page (data-theme on <html>) */
:root, [data-theme="light"] { --bg: #E9E9E8; --fg: #0F0C09; --bg-rgb: 233,233,232; --fg-rgb: 15,12,9; --sheet: #fff;
  --fg-60: rgba(15,12,9,.6); --rule: rgba(15,12,9,.14); --accent: #A88E7C; }
[data-theme="dark"] { --bg: #0F0C09; --fg: #E9E9E8; --bg-rgb: 15,12,9; --fg-rgb: 233,233,232; --sheet: #2B2218;
  --fg-60: rgba(233,233,232,.6); --rule: rgba(233,233,232,.13); --accent: #C2A794; }
html { background: var(--bg); }
html { scroll-behavior: smooth; }
/* nothing may push the page sideways on a phone (clip keeps the hero's sticky stage working) */
html, body { overflow-x: clip; }
html.lock { overflow: hidden; }
.site { position: relative; z-index: 2; background: var(--bg); color: var(--fg); }
.site { --gap: clamp(12px, 1.6vw, 24px); }
.wrap { padding: 0 var(--pad); position: relative; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.s3 { grid-column-end: span 3; } .s4 { grid-column-end: span 4; } .s5 { grid-column-end: span 5; } .s6 { grid-column-end: span 6; }
.s7 { grid-column-end: span 7; } .s8 { grid-column-end: span 8; } .s9 { grid-column-end: span 9; }
.c4 { grid-column-start: 4; } .c5 { grid-column-start: 5; } .c6 { grid-column-start: 6; } .c7 { grid-column-start: 7; } .c9 { grid-column-start: 9; } .c10 { grid-column-start: 10; }
.mono { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.sec { padding: clamp(100px, 15vh, 180px) 0; position: relative; }
.h2 { font-weight: 300; font-size: clamp(44px, 7vw, 124px); line-height: .9; letter-spacing: -.05em; }
.h2 em, .st-text em, .foot-cta em { font-style: normal; color: var(--accent); }

/* hairline column grid, like drafting paper */
.gridlines { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap); padding: 0 var(--pad); }
.gridlines i { grid-column: span 1; box-shadow: inset 1px 0 0 rgba(var(--fg-rgb),.05); }
.gridlines i:last-child { box-shadow: inset 1px 0 0 rgba(var(--fg-rgb),.05), inset -1px 0 0 rgba(var(--fg-rgb),.05); }
.site > section, .site > footer { position: relative; z-index: 1; }

/* section head: mono index + huge title */
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; margin-bottom: clamp(44px, 7vh, 90px); }
.sec-head > .mono { grid-column: span 3; align-self: start; padding-top: .6em; }
.sec-head .h2 { grid-column: 1 / span 9; }
.sec-head .h2, .sec-head > .mono { clip-path: inset(0 0 100% 0); transform: translateY(30px); transition: clip-path 1.2s cubic-bezier(.77,0,.18,1), transform 1.4s cubic-bezier(.16,1,.3,1); }
.sec-head.in .h2, .sec-head.in > .mono { clip-path: inset(0 0 -10% 0); transform: none; }
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity: 1; transform: none; }

/* header: light over the hero and dark bands, ink over the paper */
.top { transition: color .4s ease, background .4s ease, padding .4s ease; }
.top.bg:not(.on-light) { background: rgba(15,12,9,.9); padding-top: 14px; padding-bottom: 14px; }
.top.on-light.bg { background: rgba(var(--bg-rgb),.94); padding-top: 14px; padding-bottom: 14px; box-shadow: 0 1px 0 var(--rule); }
.top.on-light { color: var(--fg); }
.top.on-light .logo small { color: var(--accent); }

/* buttons on the page take the theme colours; over the video, photos and dark bands they stay light */
.site .btn, .lead .btn, .vmodal .btn, .top.on-light .btn { --c: var(--fg); --on: var(--bg); }
.site .bleed .btn, .site .foot .btn { --c: #E9E9E8; --on: #0F0C09; }
.btn.dark { color: var(--on); box-shadow: inset 0 0 0 1px var(--c); }
.btn.dark::before { transform: none; }
.btn.dark i { background: var(--on); color: var(--c); }

/* ---------- statement: one headline, one paragraph + button, four facts in a row ---------- */
.meta-row { padding-bottom: 18px; margin-bottom: clamp(44px, 7vh, 80px); }
.meta-row::after { content: ''; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: var(--rule); transform: scaleX(0); transform-origin: 0 0; transition: transform 1.6s cubic-bezier(.77,0,.18,1); }
.meta-row.in::after { transform: none; }
.st-text { font-weight: 300; font-size: clamp(38px, 5.6vw, 100px); line-height: .96; letter-spacing: -.05em; }
.st-line { display: block; padding-bottom: .04em; clip-path: inset(0 0 100% 0); transform: translateY(40%); transition: clip-path 1.2s cubic-bezier(.77,0,.18,1), transform 1.4s cubic-bezier(.16,1,.3,1); }
.st-line.in { clip-path: inset(-10% 0 -10% 0); transform: none; }
.st-cols { margin-top: clamp(40px, 6vh, 70px); align-items: end; }
.st-lead { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; color: var(--fg-60); max-width: 640px; }
.st-act { display: flex; justify-content: flex-end; }
.st-facts { margin-top: clamp(50px, 8vh, 90px); row-gap: 0; }
.st-facts div { padding: 18px 0 0; box-shadow: 0 -1px 0 var(--fg); }
.st-facts dt { font-size: clamp(20px, 1.6vw, 26px); font-weight: 400; letter-spacing: -.02em; }
.st-facts dd { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--fg-60); padding-right: 12px; }

/* ---------- works: four cards a row — photo with status, type, name, rooms, a normal button ---------- */
.sec-head .wk-tools { grid-column: 1 / -1; display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--rule); }
.seg button { padding: 10px 18px; border-radius: 99px; font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-60); transition: background .3s, color .3s; }
.seg button.on { background: var(--fg); color: var(--bg); }
.wk-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 4vh, 44px) var(--gap); }
.wk { display: flex; flex-direction: column; align-items: flex-start; }
.wk.off { display: none; }
.wk-card { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(var(--fg-rgb),.05); }
.wk-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.wk:hover .wk-card img { transform: scale(1.05); }
.wk-st { position: absolute; left: 10px; top: 10px; padding: 7px 11px; border-radius: 99px; background: rgba(15,12,9,.62); color: #E9E9E8; font-size: 10px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wk-type { margin-top: 16px; color: var(--accent); }
.wk-name { margin-top: 8px; font-weight: 400; font-size: clamp(22px, 1.8vw, 30px); letter-spacing: -.025em; line-height: 1.1; }
.wk-rooms { margin: 8px 0 18px; font-size: 14px; line-height: 1.5; color: var(--fg-60); }
.wk-go { margin-top: auto; }   /* buttons line up at the bottom of every card */
.wk:hover .wk-go { color: var(--on); box-shadow: inset 0 0 0 1px var(--c); }
.wk:hover .wk-go::before { transform: none; }
.wk:hover .wk-go i { background: var(--on); color: var(--c); }
.wk:hover .wk-go i::before { transform: translateX(120%); }
.wk:hover .wk-go i::after { transform: none; }
@media (max-width: 1100px) { .wk-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- archive (dark band) ---------- */
.archive { --fade: 280px; --band: var(--ink); color: var(--paper); overflow: hidden; padding: calc(var(--fade) + 20px) 0 var(--fade);
  background: linear-gradient(180deg, var(--bg) 0, var(--band) var(--fade), var(--band) calc(100% - var(--fade)), var(--bg) 100%); }
[data-theme="dark"] .archive { --band: #15110D; }
.archive .sec-head .h2 { grid-column: span 6; }
.ar-hint { grid-column: span 3; color: rgba(233,233,232,.5); line-height: 1.6; }
.ar-field { position: relative; height: 82vh; overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); }
.ar-plane { position: absolute; left: 0; top: 0; will-change: transform; }
.ar-item { position: absolute; padding: 0; overflow: hidden; background: var(--ink-2); }
.ar-item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) brightness(.75); transition: filter .6s ease, transform .9s cubic-bezier(.16,1,.3,1); -webkit-user-drag: none; }
.ar-item:hover img { filter: none; transform: scale(1.04); }
.ar-item span { position: absolute; left: 8px; bottom: 6px; font-size: 9.5px; color: var(--paper); opacity: 0; transition: opacity .3s; }
.ar-item:hover span { opacity: 1; }
.ar-foot { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; color: rgba(233,233,232,.5); }

/* ---------- services ---------- */
.services .grid { align-items: start; }
.sv-frame { position: sticky; top: 110px; }
.sv-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.sv-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path 1s cubic-bezier(.77,0,.18,1); }
.sv-img img.in { clip-path: inset(0); }
.sv-cap { display: block; margin-top: 12px; color: var(--fg-60); }
.sv-list { list-style: none; }
.sv { box-shadow: inset 0 -1px 0 var(--rule); }
.sv:first-child { box-shadow: inset 0 -1px 0 var(--rule), 0 -1px 0 var(--fg); }
.sv-row { width: 100%; display: grid; grid-template-columns: 1fr 20px; align-items: baseline; gap: 14px; padding: 26px 0; text-align: left; }
.sv-row .mono { color: var(--fg-60); }
.sv-row b { font-weight: 300; font-size: clamp(28px, 3.2vw, 54px); letter-spacing: -.04em; line-height: 1; transition: transform .6s cubic-bezier(.16,1,.3,1), color .4s; }
.sv.on .sv-row b { transform: translateX(14px); }
.sv:not(.on) .sv-row b { color: rgba(var(--fg-rgb),.4); }
.sv-row i { width: 14px; height: 14px; position: relative; }
.sv-row i::before, .sv-row i::after { content: ''; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: currentColor; transition: transform .5s; }
.sv-row i::after { transform: rotate(90deg); }
.sv.on .sv-row i::after { transform: rotate(0); }
.sv-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s cubic-bezier(.65,0,.35,1); }
.sv.on .sv-more { grid-template-rows: 1fr; }
.sv-more > div { overflow: hidden; }
.sv-more p { font-size: 16px; line-height: 1.6; color: var(--fg-60); max-width: 520px; }
.sv-more ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }
.sv-more li { padding: 8px 12px; box-shadow: inset 0 0 0 1px var(--rule); font-size: 10.5px; }

/* ---------- rates: four cards in a row, then three formats as rows ---------- */
.rt-lead, .wk-lead { grid-column: 1 / span 6; margin-top: 22px; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; color: var(--fg-60); }
.rt-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); align-items: stretch; }
.rt { display: flex; flex-direction: column; padding: 26px 24px 24px; background: rgba(var(--fg-rgb),.035); box-shadow: inset 0 0 0 1px var(--rule); }
.rt.main { background: rgba(var(--fg-rgb),.07); box-shadow: inset 0 0 0 1px var(--accent); }
.rt-n { font-weight: 400; font-size: clamp(24px, 2vw, 32px); letter-spacing: -.03em; line-height: 1; }
.rt-t { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--fg-60); }
.rt-top { min-height: 96px; }
.rt-p { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; }
.rt-p b { font-weight: 300; font-size: clamp(34px, 3vw, 48px); letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.rt-p span { font-size: 14px; color: var(--fg-60); }
.rt-time { margin-top: 10px; color: var(--fg-60); }
.rt-li { list-style: none; margin: 22px 0 26px; padding-top: 18px; box-shadow: 0 -1px 0 var(--rule); display: flex; flex-direction: column; gap: 10px; }
.rt-li li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.45; }
.rt-li li::before { content: ''; position: absolute; left: 0; top: .65em; width: 8px; height: 1px; background: var(--accent); }
.rt-act { margin-top: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rt-demo { color: var(--fg-60); transition: color .3s; }
.rt-demo:hover { color: var(--accent); }
.rt-more { margin-top: clamp(30px, 5vh, 50px); }
.rt-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; padding: 22px 0; box-shadow: inset 0 -1px 0 var(--rule); }
.rt-row:first-child { box-shadow: inset 0 -1px 0 var(--rule), 0 -1px 0 var(--fg); }
.rt-row .rt-n { grid-column: 1 / span 3; font-size: clamp(20px, 1.6vw, 26px); }
.rt-row .rt-t { grid-column: 4 / span 5; margin: 0; }
.rt-row .rt-t .rt-demo { margin-left: 8px; white-space: nowrap; }
.rt-row .rt-p { grid-column: 9 / span 2; margin: 0; flex-direction: column; gap: 4px; }
.rt-row .rt-p b { font-size: clamp(20px, 1.6vw, 26px); }
.rt-row .btn { grid-column: 11 / span 2; justify-self: end; }
.rt-note { margin-top: 26px; font-size: 14px; color: var(--fg-60); }
@media (max-width: 1100px) { .rt-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .rt-lead, .wk-lead { grid-column: 1 / -1; }
  .rt-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); scrollbar-width: none; }   /* it is the .wrap itself: no negative margin */
  .rt-list::-webkit-scrollbar { display: none; }
  .rt { flex: 0 0 82vw; scroll-snap-align: start; }
  .rt-top { min-height: 0; }
  .rt-row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .rt-row .rt-n, .rt-row .rt-t { grid-column: 1 / -1; }
  .rt-row .rt-p { grid-column: 1; }
  .rt-row .btn { grid-column: 2; }
}

/* ---------- videos: who Nigina is ---------- */
.rl-who { display: flex; flex-direction: column; }
.rl-name { font-size: clamp(24px, 2vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.rl-role { margin-top: 8px; color: var(--accent); }
.rl-facts { list-style: none; margin: 22px 0; padding-top: 16px; box-shadow: 0 -1px 0 var(--rule); display: flex; flex-direction: column; gap: 10px; }
.rl-facts li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; }
.rl-facts li::before { content: ''; position: absolute; left: 0; top: .65em; width: 8px; height: 1px; background: var(--accent); }

/* ---------- brief ---------- */
.bf { align-items: start; }
.bf-q { border: 0; padding: 30px 0; box-shadow: 0 -1px 0 var(--rule); min-width: 0; }
.bf-q:first-child { box-shadow: 0 -1px 0 var(--fg); }
.bf-q legend { display: flex; align-items: baseline; gap: 14px; width: 100%; float: left; margin-bottom: 18px; font-size: 20px; letter-spacing: -.01em; }
.bf-q legend .mono { color: var(--accent); width: 30px; }
.bf-q legend b { margin-left: auto; font-weight: 300; font-size: 40px; letter-spacing: -.04em; line-height: .8; }
.bf-q > :not(legend) { clear: both; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 12px 18px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--rule); font-size: 14px; transition: background .3s, color .3s, box-shadow .3s; }
.chips button:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.chips button.on { background: var(--fg); color: var(--bg); box-shadow: none; }
.bf-range { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; --p: 10%; }
.bf-range::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, var(--fg) var(--p), var(--rule) var(--p)); }
.bf-range::-moz-range-track { height: 1px; background: var(--rule); }
.bf-range::-moz-range-progress { height: 1px; background: var(--fg); }
.bf-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 6px rgba(var(--fg-rgb),.08); }
.bf-range::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--fg); }
.bf-scale { display: flex; justify-content: space-between; margin-top: 6px; color: var(--fg-60); font-size: 10px; }
.fld { position: relative; display: block; }
.fld + .fld { margin-top: 10px; }
.fld input { width: 100%; padding: 28px 0 12px; background: none; border: 0; box-shadow: inset 0 -1px 0 var(--rule); color: var(--fg); font: inherit; font-size: 18px; outline: none; transition: box-shadow .4s; }
.fld input:focus { box-shadow: inset 0 -1px 0 var(--fg); }
.fld span { position: absolute; left: 0; top: 28px; font-size: 18px; color: var(--fg-60); pointer-events: none; transform-origin: 0 0; transition: transform .4s cubic-bezier(.16,1,.3,1), color .4s; }
.fld input:focus + span, .fld input:not(:placeholder-shown) + span { transform: translateY(-22px) scale(.62); color: var(--accent); }
.fld.bad input { box-shadow: inset 0 -2px 0 var(--sand); }
.fld.bad span { color: var(--accent); }
.bf-sheet { position: sticky; top: 100px; }
.sheet { position: relative; padding: 26px; background: var(--sheet); box-shadow: 0 30px 80px -40px rgba(0,0,0,.4), inset 0 0 0 1px var(--rule); }
.sh-top { display: flex; justify-content: space-between; padding-bottom: 14px; box-shadow: inset 0 -1px 0 var(--fg); }
.sh-rows div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; padding: 11px 0; box-shadow: inset 0 -1px 0 var(--rule); }
.sh-rows dt { color: var(--fg-60); font-size: 10px; padding-top: 3px; }
.sh-rows dd { font-size: 14px; line-height: 1.4; animation: fadeUp .5s cubic-bezier(.16,1,.3,1); }
.sh-plan { margin: 18px 0 20px; }
.sh-plan svg { width: 100%; display: block; overflow: visible; }
.sh-plan rect { fill: rgba(168,142,124,.1); stroke: var(--fg); stroke-width: .6; }
.sh-plan text { font-family: var(--mono); font-size: 6px; fill: var(--fg); text-transform: uppercase; }
.sh-plan text.sq { fill: var(--sand); }
.sh-plan-l { display: block; margin-top: 8px; color: var(--fg-60); font-size: 9.5px; }
.sheet .btn { width: 100%; justify-content: space-between; }
.cf-go { justify-content: space-between; }
.sh-note { margin-top: 12px; font-size: 12px; line-height: 1.55; color: var(--fg-60); }
.sh-done { position: absolute; inset: 0; background: var(--sheet); padding: 26px; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .6s; }
.sh-done .mono { color: var(--accent); }
.sh-done b { margin-top: 10px; font-weight: 300; font-size: 54px; letter-spacing: -.04em; }
.sh-done p { margin-top: 10px; color: var(--fg-60); }
.sheet.sent .sh-done { opacity: 1; visibility: visible; }

/* ---------- faq ---------- */
.faq .grid { align-items: start; }
.faq-h { margin-top: 26px; font-size: clamp(40px, 4.6vw, 80px); }
.qa { box-shadow: inset 0 -1px 0 var(--rule); }
.qa:first-child { box-shadow: inset 0 -1px 0 var(--rule), 0 -1px 0 var(--fg); }
.qa-q { width: 100%; display: grid; grid-template-columns: 1fr 16px; gap: 14px; align-items: baseline; padding: 26px 0; text-align: left; }
.qa-q .mono { color: var(--fg-60); }
.qa-q b { font-weight: 400; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.015em; }
.qa-q i { position: relative; width: 16px; height: 16px; }
.qa-q i::before, .qa-q i::after { content: ''; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1px; background: var(--fg); transition: transform .5s cubic-bezier(.65,0,.35,1); }
.qa-q i::after { transform: rotate(90deg); }
.qa.open .qa-q i::after { transform: rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.65,0,.35,1); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 40px 28px 0; font-size: 15px; line-height: 1.7; color: var(--fg-60); max-width: 760px; }

/* ---------- footer (dark) ---------- */
.foot { --fade: 280px; color: var(--paper); padding: calc(var(--fade) + clamp(40px, 6vh, 80px)) 0 24px; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0, var(--ink) var(--fade)); }
.foot .mono { color: rgba(233,233,232,.5); }
.foot-top > div > .mono { display: block; }
.foot-cta { display: inline-flex; align-items: flex-end; gap: 24px; margin-top: 26px; font-weight: 300; font-size: clamp(48px, 6.4vw, 112px); line-height: .9; letter-spacing: -.05em; transition: color .4s; }
.foot-cta:hover { color: var(--sand-2); }
.foot-cta i { width: clamp(40px, 5vw, 80px); height: clamp(40px, 5vw, 80px); border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; position: relative; flex: none; margin-bottom: .12em; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.foot-cta:hover i { transform: rotate(-45deg); }
.foot-cta i::after { content: '→'; position: absolute; inset: 0; display: grid; place-items: center; font-size: .3em; letter-spacing: 0; }
.foot-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; padding-top: 4px; }
.foot-col a { width: max-content; color: rgba(233,233,232,.8); transition: color .3s; }
.foot-col a:hover { color: var(--sand-2); }
.foot-word { position: relative; margin-top: clamp(70px, 12vh, 140px); padding: 0 var(--pad); font-weight: 200; font-size: 27vw; line-height: .76; letter-spacing: -.075em; color: var(--paper);
  clip-path: inset(100% 0 0 0); transform: translateY(12%); transition: clip-path 1.6s cubic-bezier(.77,0,.18,1), transform 1.8s cubic-bezier(.16,1,.3,1); white-space: nowrap; }
.foot-word.in { clip-path: inset(0 0 -2% 0); transform: none; }
.foot-word sup { font-style: normal; font-size: .14em; letter-spacing: -.01em; color: var(--sand-2); vertical-align: top; position: relative; top: .4em; margin-left: .2em; }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 16px; box-shadow: 0 -1px 0 rgba(233,233,232,.14); }
.foot-bot a { color: rgba(233,233,232,.7); }

/* ---------- viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 200; background: var(--bg); color: var(--fg); display: grid; grid-template-rows: auto 1fr auto auto; padding: 18px var(--pad) 20px;
  clip-path: inset(100% 0 0 0); visibility: hidden; transition: clip-path .8s cubic-bezier(.77,0,.18,1), visibility 0s .8s; }
.viewer.open { clip-path: inset(0); visibility: visible; transition: clip-path .8s cubic-bezier(.77,0,.18,1); }
.vw-top { display: flex; align-items: center; gap: 24px; padding-bottom: 14px; box-shadow: inset 0 -1px 0 var(--rule); }
.vw-title { flex: 1; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.vw-title b { font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.vw-title .mono, .vw-count { color: var(--fg-60); }
.vw-close { padding: 10px 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--rule); transition: background .3s, color .3s; }
.vw-close:hover { background: var(--fg); color: var(--bg); }
.vw-stage { position: relative; min-height: 0; margin: 16px 0 12px; }
.vw-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.vw-stage img.in { animation: vwIn .7s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes vwIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.vw-prev, .vw-next { position: absolute; top: 0; bottom: 0; width: 35%; }
.vw-prev { left: 0; cursor: w-resize; } .vw-next { right: 0; cursor: e-resize; }
.vw-bot { display: flex; justify-content: space-between; gap: 20px; }
.vw-cap { color: var(--fg-60); }
.vw-link { color: var(--fg); }
.vw-link:hover { color: var(--accent); }
.vw-thumbs { display: flex; gap: 6px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.vw-thumbs button { flex: none; width: 64px; height: 46px; opacity: .35; transition: opacity .3s; }
.vw-thumbs button.on { opacity: 1; box-shadow: 0 3px 0 -1px var(--fg); }
.vw-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- tablet / mobile ---------- */
@media (max-width: 900px) {
  .grid, .sec-head, .gridlines { grid-template-columns: repeat(6, 1fr); }
  .gridlines i:nth-child(n+6) { display: none; }
  .s3, .s4, .s5, .s6, .s7, .s8 { grid-column: 1 / -1 !important; }
  .sec-head > .mono, .sec-head .h2, .sec-head .wk-tools, .ar-hint, .archive .sec-head .h2 { grid-column: 1 / -1; }
  .sec-head > .mono { margin-bottom: 16px; }
  .meta-row { row-gap: 6px; }
  .c4 { grid-column-start: auto; }
  .st-cols { row-gap: 24px; }
  .st-act { justify-content: flex-start; }
  .st-facts { row-gap: 22px; }
  .st-facts > div { grid-column: span 3 !important; }
  /* works: a swipeable row of cards, so the list costs one swipe instead of eight screens */
  .wk-list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); scrollbar-width: none;
    margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); }
  .wk-list::-webkit-scrollbar { display: none; }
  .wk { flex: 0 0 78vw; scroll-snap-align: start; }
  .meta-row > * { grid-column: 1 / -1 !important; text-align: left !important; }
  .archive, .foot { --fade: 140px; }
  .ar-hint { grid-column: 1 / -1; }
  /* works filters: one swipeable line instead of a row wider than the screen */
  .seg.filters { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg.filters::-webkit-scrollbar { display: none; }
  .seg.filters button { flex: none; }
  .ar-field { height: 70vh; }
  .sv-frame { position: relative; top: 0; margin-bottom: 20px; }
  .sv-img { aspect-ratio: 16 / 11; }
  .sv-more > div { padding-left: 0; }
    .bf-sheet { position: relative; top: 0; margin-top: 30px; }
  .qa-a p { padding-left: 0; padding-right: 0; }
  .foot-top { row-gap: 40px; }
  .foot-bot { flex-direction: column; gap: 8px; }
}


/* soft seam between the hero video and the page */
.site::before { content: ''; position: absolute; left: 0; right: 0; top: -180px; height: 180px; z-index: 3; pointer-events: none; background: linear-gradient(rgba(var(--bg-rgb),0), var(--bg)); }

/* ---------- videos: vertical cards on the grid (2 columns each), muted preview on hover ---------- */
/* left: a short intro in cols 1–3; right: three equal cards of 3 columns from col 4, on the line of every section title */
.rl-row { row-gap: 30px; align-items: start; }
.rl-intro { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; padding-right: 10px; }
.rl-lead { font-size: 16px; line-height: 1.6; color: var(--fg-60); }
.rl { grid-column: span 3; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.rl-media { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink-2); }
.rl-media img, .rl-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rl-media img { transition: transform 1.2s cubic-bezier(.16,1,.3,1), opacity .5s; }
.rl-media video { opacity: 0; transition: opacity .5s; }
.rl.live .rl-media video { opacity: 1; }
.rl:hover .rl-media img { transform: scale(1.04); }
.rl-play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(233,233,232,.7);
  background: rgba(15,12,9,.25); transition: opacity .4s, transform .6s cubic-bezier(.16,1,.3,1); }
.rl-play::after { content: ''; position: absolute; left: 22px; top: 18px; border-left: 14px solid var(--paper); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.rl.live .rl-play { opacity: 0; transform: scale(.8); }
.rl-k { color: var(--accent); }
.rl-d { font-size: 15px; line-height: 1.4; }
.rl-hint { margin-top: 28px; color: var(--fg-60); line-height: 1.8; }
@media (hover: none) { .rl-hover { display: none; } }
.vmodal { position: fixed; inset: 0; z-index: 210; background: rgba(15,12,9,.96); display: grid; grid-template-rows: auto 1fr; padding: 18px var(--pad) 24px;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; color: var(--paper); }
.vmodal.open { opacity: 1; visibility: visible; transition: opacity .5s; }
.vm-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 14px; box-shadow: inset 0 -1px 0 rgba(233,233,232,.14); }
.vm-cap { color: rgba(233,233,232,.7); }
.vm-close { padding: 10px 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(233,233,232,.3); }
.vm-close:hover { background: var(--paper); color: var(--ink); }
.vm-stage { min-height: 0; display: grid; place-items: center; padding-top: 16px; }
.vm-stage video { max-width: 100%; max-height: 100%; height: 100%; aspect-ratio: 9 / 16; background: #000; }
@media (max-width: 900px) {
  .rl-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); scrollbar-width: none; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .rl-intro { flex: 0 0 78vw; scroll-snap-align: start; padding-right: 0; }   /* who Nigina is: the first slide */
  .rl { flex: 0 0 70vw; scroll-snap-align: start; }
}

/* ---------- less grid: hide the drafting lines ---------- */
.site > .gridlines { display: none; }
.gridlines { z-index: 0; }


/* ---------- CTA strip (works list, project gallery) ---------- */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-top: clamp(40px, 6vh, 70px);
  padding: 28px 32px; background: rgba(var(--fg-rgb),.04); box-shadow: inset 0 0 0 1px var(--rule); }
.cta-strip p { font-size: clamp(18px, 1.7vw, 26px); letter-spacing: -.015em; max-width: 760px; }
.cta-strip em { font-style: normal; color: var(--accent); }
.faq-ask { margin: 34px 0 14px; color: var(--fg-60); }
.rl-intro .btn { margin-bottom: 4px; }

/* ---------- photo CTA: the picture opens from the grid frame to full width as you scroll; type = same system as section heads ---------- */
.bleed { position: relative; padding: clamp(56px, 8vh, 90px) 0; color: var(--paper); }
.bl-img { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 var(--pad)); will-change: clip-path; }
.bl-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.bl-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,12,9,.92) 0%, rgba(15,12,9,.78) 45%, rgba(15,12,9,.5) 100%),
  linear-gradient(0deg, rgba(15,12,9,.55) 0%, rgba(15,12,9,0) 60%); }
.bl-in { position: relative; z-index: 2; min-height: 0; align-content: center; row-gap: 20px; }
.bl-in > .mono { grid-column: 1 / span 3; align-self: start; color: rgba(233,233,232,.7); }
.bl-copy { grid-column: 4 / span 7; }
.bl-h { font-weight: 300; font-size: clamp(36px, 4.2vw, 72px); line-height: .95; letter-spacing: -.045em; }
.bl-h em { font-style: normal; color: var(--sand-2); }
.bl-copy p { margin-top: 16px; max-width: 460px; font-size: 16px; line-height: 1.6; color: rgba(233,233,232,.82); }
.bl-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .bl-in > .mono, .bl-copy { grid-column: 1 / -1; } }


/* ---------- quick lead modal ---------- */
.lead { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; padding: 20px; background: rgba(15,12,9,.72);
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.lead.open { opacity: 1; visibility: visible; transition: opacity .5s; }
.ld-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: clamp(26px, 3vw, 44px);
  background: var(--bg); color: var(--fg); box-shadow: 0 40px 120px -30px rgba(0,0,0,.6), inset 0 0 0 1px var(--rule);
  transform: translateY(30px); transition: transform .7s cubic-bezier(.16,1,.3,1); }
.lead.open .ld-box { transform: none; }
.ld-close { position: absolute; right: 18px; top: 18px; padding: 8px 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--rule); }
.ld-close:hover { background: var(--fg); color: var(--bg); }
.ld-k { color: var(--accent); }
.ld-h { margin: 16px 0 24px; font-weight: 300; font-size: clamp(34px, 4vw, 54px); line-height: .95; letter-spacing: -.045em; }
.ld-h em { font-style: normal; color: var(--accent); }
.ld-int { margin-bottom: 14px; }
.ld-int button { padding: 10px 14px; font-size: 13px; }
.ld-bottom { margin-top: 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ld-brief { color: var(--fg-60); } .ld-brief:hover { color: var(--accent); }
.ld-form { position: relative; }
.ld-done { position: absolute; inset: 0; background: var(--bg); display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .5s; }
.ld-done b { margin-top: 10px; font-weight: 300; font-size: 56px; letter-spacing: -.04em; }
.ld-done p { margin-top: 10px; color: var(--fg-60); max-width: 360px; }
.ld-form.sent .ld-done { opacity: 1; visibility: visible; }

/* ---------- floating CTA (same pill as every button) ---------- */
.lead-fab { position: fixed; right: clamp(16px, 2.4vw, 34px); bottom: clamp(16px, 3vh, 30px); z-index: 60; --c: #E9E9E8; --on: #0F0C09;
  background: rgba(15,12,9,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .5s, transform .7s cubic-bezier(.16,1,.3,1), color .55s, box-shadow .55s; }
.lead-fab.on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 900px) { .cta-strip { padding: 22px; } .lead-fab { height: 46px; } }

.reels { overflow: hidden; }

/* ---------- brand: logo, loader, footer wordmark + arch watermark, drawing stamp ---------- */
.logo { gap: 7px; }
.logo .logo-w { display: block; height: 22px; width: auto; }
.logo small { margin-top: 0; }
.foot { position: relative; }
.foot-word { line-height: 0; letter-spacing: 0; font-size: 0; }
.foot-word .fw-logo { width: 100%; height: auto; display: block; color: #E9E9E8; }
.foot-arch { position: absolute; right: -6vw; bottom: -22vw; width: 44vw; height: auto; color: #E9E9E8; opacity: .05; pointer-events: none; }
.foot-top, .foot-word, .foot-bot { position: relative; z-index: 1; }
@media (max-width: 900px) { .foot-arch { width: 80vw; } }

/* narrow laptops: the centred menu would run into the right-hand buttons, so it goes back into the row */
@media (max-width: 1260px) and (min-width: 901px) {
  .nav { position: static; transform: none; gap: 18px; }
}

/* ---------- phones and tablets: no paint-heavy effects while scrolling ---------- */
@media (hover: none), (max-width: 900px) {
  .ar-field { -webkit-mask-image: none; mask-image: none; }
  .ar-item img { filter: none; transition: none; }
  .ar-plane, .bl-img, .bl-img img { will-change: auto; }
  .bl-img { clip-path: none; }
  .bl-img img { transform: none; }
  .lead-fab, .wk-st { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(15,12,9,.9); }
}

/* phones: the header already carries «Обсудить проект», so the floating button would only cover content;
   the scroll label at the bottom of the hero ran into the opening buttons */
@media (max-width: 900px) {
  .lead-fab { display: none; }
  .hint span { display: none; }
}
