/* Office House landing. Layout after the v25 "choose a perspective" screen; type, palette and details after
   officehouse-b (Cormorant Garamond + DM Sans, charcoal, the gold of the Towarowa 22 trusses). */
:root {
  --ink: #1d2022;
  --ink-deep: #131618;
  --page: #16191b;
  --chalk: #fafaf7;
  --chalk-2: rgba(250, 250, 247, .66);
  --chalk-3: rgba(250, 250, 247, .42);
  --line: rgba(250, 250, 247, .14);
  --truss: #e3b83c;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --gut: clamp(20px, 4.5vw, 72px);
  --radius: 22px;
  --ease-curtain: cubic-bezier(.76, 0, .24, 1);
  --ease-soft: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--page); color: var(--chalk); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
/* Fine film grain over everything, as on the B site. */
body::after { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.page { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto auto 1fr auto; padding: 0 var(--gut); }

/* Header after the Office House lease site: serif wordmark, tracked chapter links, icon pills. */
/* The header is its own band: full bleed, a shade deeper than the page, closed by a hairline with a short gold
   truss segment under the wordmark. */
.masthead { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; position: relative;
  margin: 0 calc(-1 * var(--gut)); padding: clamp(14px, 2.2vh, 22px) var(--gut); background: var(--ink-deep); border-bottom: 1px solid var(--line); }
.masthead::after { content: ""; position: absolute; left: var(--gut); bottom: -1px; width: 56px; height: 1px; background: var(--truss); }
.wordmark { justify-self: start; font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: .28em; text-transform: uppercase; }
.chapters { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.chapters a { font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--chalk-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .25s ease, border-color .25s ease; }
.chapters a:hover, .chapters a:focus-visible { color: var(--chalk); border-color: var(--truss); outline: none; }
.actions { justify-self: end; display: flex; gap: 10px; }
.pill-icon { display: inline-flex; align-items: center; gap: 14px; height: 46px; padding: 0 22px 0 6px; border-radius: 999px; border: 1px solid rgba(250, 250, 247, .2); background: rgba(22, 25, 27, .6); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: border-color .3s ease, background .3s ease; }
.pill-icon .ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(250, 250, 247, .06); transition: background .3s ease, color .3s ease; }
.pill-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pill-icon:hover, .pill-icon:focus-visible { border-color: rgba(250, 250, 247, .5); outline: none; }
.pill-icon:hover .ico, .pill-icon:focus-visible .ico { background: var(--truss); color: var(--ink-deep); }

.intro { padding: clamp(26px, 5.5vh, 64px) 0 clamp(20px, 3.6vh, 40px); }
.kicker { margin: 0 0 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--chalk-2); }
h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.4vw, 104px); line-height: .96; letter-spacing: -.01em; }

h1 .stop { color: var(--truss); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.2vw, 20px); min-height: 360px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); isolation: isolate; display: block; outline: none;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); transition: transform .7s var(--ease-soft); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 1.4s var(--ease-soft), filter .7s ease; filter: saturate(.92); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(19, 22, 24, .94) 0%, rgba(19, 22, 24, .62) 30%, rgba(19, 22, 24, 0) 58%), linear-gradient(180deg, rgba(19, 22, 24, .45) 0%, rgba(19, 22, 24, 0) 22%); }
.tile:hover, .tile:focus-visible { transform: translateY(-4px); }
.tile:hover img, .tile:focus-visible img { transform: scale(1); filter: saturate(1); }

.tag { position: absolute; top: 26px; left: 28px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--chalk); }
.tile-body { position: absolute; left: 28px; right: 24px; bottom: 24px; display: grid; gap: 12px; }
.tile-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3vw, 52px); line-height: 1; letter-spacing: -.005em; }
.tile-text { font-size: 15px; line-height: 1.55; color: var(--chalk-2); }
.tile-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.tile-cta { font-size: 14px; font-weight: 500; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(250, 250, 247, .42); display: grid; place-items: center; transition: background .35s ease, border-color .35s ease, transform .5s var(--ease-soft); }
.round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .round, .tile:focus-visible .round { background: var(--truss); border-color: var(--truss); color: var(--ink-deep); transform: rotate(45deg); }
.tile:focus-visible { box-shadow: 0 0 0 2px var(--truss); }

/* The studio tile signs in Lertigo's own type; its lime dot is the only lime on the page. */
.signature { font-family: "Space Grotesk", var(--sans); font-weight: 700; font-size: clamp(34px, 2.8vw, 48px); letter-spacing: -.035em; }
.signature i { font-style: normal; color: #d4ff00; }
.made { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 7px; }
.made li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.4; color: var(--chalk-2); }
.made li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 1px; background: var(--truss); }
.tile-studio .tile-text { max-width: 34ch; }
/* More text sits on a busier photo here, so the shade rises higher. */
.tile::before { background: linear-gradient(0deg, rgba(19, 22, 24, .97) 0%, rgba(19, 22, 24, .9) 34%, rgba(19, 22, 24, .45) 56%, rgba(19, 22, 24, 0) 72%), linear-gradient(180deg, rgba(19, 22, 24, .45) 0%, rgba(19, 22, 24, 0) 22%); }
/* Campaign shots are shown whole at the top of each tile, so what comes out of the screen stays above the text.
   Their soft edges are baked into the images. */
.tile { background: #030403; }
.tile img { object-fit: contain; object-position: 50% 0; transform-origin: 50% 0; transform: scale(.8); }
.tile:hover img, .tile:focus-visible img { transform: scale(.84); }
/* The scale model shot is wider than the tile: full width, pinned to the top, clear of the text. */
.tile-plan img { object-position: 50% 6%; transform: scale(.94); }
.tile-plan::before { background: linear-gradient(0deg, rgba(19, 22, 24, .96) 0%, rgba(19, 22, 24, .82) 24%, rgba(19, 22, 24, .2) 40%, rgba(19, 22, 24, 0) 52%); }
.tile-plan:hover img, .tile-plan:focus-visible img { transform: scale(.98); }
/* The light floor model: a pale gallery card with ink type, the model floating in its upper half. */
.tile-light { background: #e8e5df; color: var(--ink); }
.tile-light::before { background: none; }
.tile-light img { object-fit: cover; object-position: 50% 0; transform-origin: 50% 25%; transform: scale(1); filter: none; }
.tile-light:hover img, .tile-light:focus-visible img { transform: scale(1.04); filter: none; }
.tile-light .tile-text { color: rgba(29, 32, 34, .66); }
.tile-light .tag { color: rgba(29, 32, 34, .72); }
.tile-light .round { border-color: rgba(29, 32, 34, .3); }
/* A real interior photograph fills its tile edge to edge. */
.tile-photo img { object-fit: cover; object-position: 50% 50%; transform-origin: 50% 72%; transform: scale(1.16); }
.tile-photo:hover img, .tile-photo:focus-visible img { transform: scale(1.12); }
/* The photo is bright: a light shade at the top keeps the tag legible over the ceiling. */
.tile-photo::before { background: linear-gradient(180deg, rgba(19, 22, 24, .62) 0%, rgba(19, 22, 24, 0) 15%), linear-gradient(0deg, rgba(19, 22, 24, .95) 0%, rgba(19, 22, 24, .84) 24%, rgba(19, 22, 24, .3) 40%, rgba(19, 22, 24, 0) 52%); }
.tile-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; transform: scale(1.04); transition: transform 1.4s var(--ease-soft); }
.tile-photo:hover video, .tile-photo:focus-visible video { transform: scale(1); }

.colophon { display: flex; justify-content: space-between; gap: 16px; padding: clamp(16px, 2.6vh, 28px) 0; font-size: 12px; color: var(--chalk-3); }

/* Opening curtain after the Office House site: seven stripes, the wordmark sharpens from a blur while the
   page loads, then the stripes lift one after another. Only with JS; without it the page is simply there. */
.preloader { display: none; }
.js .preloader { display: block; position: fixed; inset: 0; z-index: 200; overflow: hidden; }
.stripes { position: absolute; inset: 0; display: flex; }
.stripes i { flex: 1 1 0; height: 100%; background: var(--ink); margin-right: -1px; transition: transform .62s var(--ease-curtain); }
.preloader.lift .stripes i { transform: translateY(-101%); }
.preloader .stripes i:nth-child(1) { transition-delay: .21s; } .preloader .stripes i:nth-child(2) { transition-delay: .18s; }
.preloader .stripes i:nth-child(3) { transition-delay: .15s; } .preloader .stripes i:nth-child(4) { transition-delay: .12s; }
.preloader .stripes i:nth-child(5) { transition-delay: .09s; } .preloader .stripes i:nth-child(6) { transition-delay: .06s; }
.preloader .stripes i:nth-child(7) { transition-delay: .03s; }
.pl-mark { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; pointer-events: none; color: #fff; transition: opacity .5s ease-in; }
.preloader.fade .pl-mark { opacity: 0; }
.pl-word { font: 400 clamp(22px, 2.6vw, 34px)/1 var(--serif); letter-spacing: .24em; text-transform: uppercase; padding-left: .24em; filter: blur(22px); will-change: filter; }
.pl-pct { font: 600 10px var(--sans); letter-spacing: .28em; color: rgba(255, 255, 255, .5); }
body.pl-active { overflow: hidden; }
body.pl-done .preloader { display: none; }
.js body:not(.ready) .kicker, .js body:not(.ready) h1, .js body:not(.ready) .tile, .js body:not(.ready) .tag, .js body:not(.ready) .tile-body { animation-play-state: paused; }

/* One orchestrated entrance: the title rises, the tiles open like curtains from below. */
@media (prefers-reduced-motion: no-preference) {
  .kicker, h1 { animation: rise 1s var(--ease-soft) both; }
  h1 { animation-delay: .08s; }
  .tile { animation: curtain 1.15s var(--ease-curtain) both; }
  .tile:nth-child(2) { animation-delay: .1s; }
  .tile:nth-child(3) { animation-delay: .2s; }
  .tag, .tile-body { animation: rise .9s var(--ease-soft) both; animation-delay: .75s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes curtain { from { clip-path: inset(100% 0 0 0 round var(--radius)); } to { clip-path: inset(0 0 0 0 round var(--radius)); } }

/* Phones: the tiles stack and the page scrolls. */
@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 62svh; }
  .tile-text br { display: none; }
  .masthead { grid-template-columns: 1fr auto; }
  .pill-icon { padding-right: 6px; gap: 0; }
  .pill-icon > span:last-child { display: none; }
  .wordmark { font-size: 16px; letter-spacing: .24em; white-space: nowrap; }
  .tile-light img { object-fit: contain; }
}
@media (max-height: 760px) and (min-width: 861px) { .tile-text, .made { display: none; } .intro { padding-top: 18px; } }
