/* ADG direction pages, EN (layout "ADG-expertise-handoff / maket.html"): Development, Architecture & Design, Construction.
   Loaded only on these three pages. Dark sheet with the grid background of the home page, a 454 px left column for the section
   heading, the content on the right; thin lines instead of cards. Header, Contact and footer are the ones of the home page. */

@font-face { font-family: "Inter 18 Pt"; src: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69b0f748f06664b839fd56ab_Inter_18pt-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter 18 Pt"; src: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69ae84708a31e83b10dbd7e2_Inter_18pt-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter 18 Pt"; src: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69ae84707894aeb57eebe33a_Inter_18pt-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter 18 Pt"; src: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69ae84705e17ad8f6fd1c916_Inter_18pt-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../../cdn.prod.website-files.com/69aa92a95acf2dfaa3797fa0/69ae8424fce8a8dcdecd90ec_SpaceMono-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #141414; --black: #000; --line: #2D2D2D; --dim: #636363; --stone: #939393; --mist: #C6C6C6; --white: #fff; --accent: #D84021; --accent2: #BA1A1A;
  --sans: "Inter 18 Pt", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
  --gx: 120px; --col: 454px; --gap-sec: 160px;
  color-scheme: dark;
}
@media (max-width: 1199px) { :root { --gx: 60px; --col: 340px; --gap-sec: 128px; } }
@media (max-width: 767px) { :root { --gx: 20px; --gap-sec: 88px; } }
html { scroll-behavior: smooth; background: var(--bg); }
body.dir-page { margin: 0; background: var(--bg); color: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.dir-page *, .dir-page *::before, .dir-page *::after { box-sizing: border-box; }
.dir-page [hidden] { display: none !important; }
.dir-page a { color: inherit; text-decoration: none; }
/* images carry width and height attributes; the height follows the layout (aspect-ratio of each block) */
.dir-page img { display: block; max-width: 100%; height: auto; }
.dir-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dir-page .wrap { padding-left: max(var(--gx), env(safe-area-inset-left, 0px)); padding-right: max(var(--gx), env(safe-area-inset-right, 0px)); }

/* background: two grids, as on the home page */
.dir-page .space { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--bg); }
.dir-page .space .gl { position: absolute; inset: -200px; background-image: linear-gradient(var(--c) 1px, transparent 1px), linear-gradient(90deg, var(--c) 1px, transparent 1px); background-size: var(--s) var(--s); will-change: transform; }
.dir-page .space .far { --c: rgba(255, 255, 255, .05); --s: 72px; filter: blur(1.5px); }
.dir-page .space .base { --c: rgba(255, 255, 255, .03); --s: 24px; }
.dir-page main { position: relative; z-index: 1; }

/* typography */
.dir-page .lbl { display: block; color: var(--white); font-family: var(--mono); font-size: 13px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.dir-page .mono { font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.dir-page h1, .dir-page h2, .dir-page h3 { margin: 0; font-weight: 300; text-wrap: balance; }
.dir-page .h2 { font-size: clamp(28px, 2.9vw, 42px); line-height: 1.12; letter-spacing: -.02em; }
.dir-page p { margin: 0; }

/* header (the one of the home page) */
.dir-page .hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: 32px 0; font-size: 15px; }
.dir-page .hdr nav { display: flex; gap: 26px; }
.dir-page .hdr nav.r { justify-content: flex-end; }
.dir-page .hdr nav a { opacity: .9; transition: color .2s; }
.dir-page .hdr nav a:hover, .dir-page .hdr nav a[aria-current] { color: var(--accent); opacity: 1; }
.dir-page .hdr img { width: auto; height: 44px; }
/* mobile menu (as on the home page) */
.dir-page .hdr .burger { display: none; justify-self: end; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.dir-page .hdr .burger span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--white); }
.dir-page .mm { position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; padding: 20px 20px 32px; background: var(--bg); }
.dir-page .mm.is-open { display: flex; }
.dir-page .mm-top { display: flex; justify-content: space-between; align-items: center; }
.dir-page .mm-top img { display: block; width: auto; height: 44px; }
.dir-page .mm-close { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--white); font-size: 32px; line-height: 1; cursor: pointer; }
.dir-page .mm-links { display: flex; flex-direction: column; gap: 20px; margin: auto 0; }
.dir-page .mm-links a { color: var(--white); font-size: 28px; font-weight: 300; }
.dir-page .mm-links a[aria-current] { color: var(--accent); }
.dir-page .mm-note { color: var(--dim); font-size: 13px; }
html.mm-lock, html.mm-lock body { overflow: hidden; }

/* buttons */
.dir-page .btns { display: flex; flex-wrap: wrap; }
.dir-page .btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.dir-page .btn.pri { background: var(--white); color: var(--bg); }
.dir-page .btn.pri:hover { background: var(--accent); color: var(--white); }
.dir-page .btn.lnk { border: 1px solid var(--dim); border-left: 0; color: var(--mist); }
.dir-page .btn.lnk:hover { border-color: var(--mist); color: var(--white); }

/* first screen */
.dir-page .ph { padding-block: 96px 0; }
.dir-page .ph-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: end; }
.dir-page .ph-t { display: flex; flex-direction: column; gap: 22px; padding-bottom: 8px; }
.dir-page .crumb { color: var(--stone); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.dir-page .crumb b { color: var(--accent); font-weight: 400; }
.dir-page .ph h1 { max-width: 12ch; font-size: clamp(40px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -.03em; }
.dir-page .ph .sub { max-width: 46ch; color: var(--mist); font-size: 17px; line-height: 27px; }
.dir-page .ph .btns { margin-top: 10px; }
.dir-page .fig { position: relative; margin: 0; }
.dir-page .fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.dir-page .fig figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--stone); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.dir-page .stamp { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin-top: 72px; border: 1px solid var(--line); background: rgba(20, 20, 20, .6); }
.dir-page .stamp > div { min-width: 0; padding: 18px 20px; border-left: 1px solid var(--line); }
.dir-page .stamp > div:first-child { border-left: 0; }
.dir-page .stamp .n { font-family: var(--mono); font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dir-page .stamp .l { margin-top: 8px; color: var(--stone); font-size: 13px; line-height: 19px; }

/* a figure strip with one figure stays one column on narrow screens too */
.dir-page .stamp[style*="--n:1"] { grid-template-columns: minmax(0, 1fr) !important; }

/* sections: heading on the left, content on the right */
.dir-page .sec { padding-top: var(--gap-sec); }
.dir-page .sg { display: grid; grid-template-columns: var(--col) minmax(0, 1fr); align-items: start; }
.dir-page .sl { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 20px; padding-right: 48px; }
.dir-page .sl .h2 { max-width: 13ch; }
.dir-page .sl .note { max-width: 32ch; color: var(--stone); font-size: 14px; line-height: 22px; }
.dir-page .sc { min-width: 0; }
.dir-page .lead { max-width: 30ch; color: var(--white); font-size: clamp(22px, 2vw, 28px); font-weight: 300; line-height: 1.35; letter-spacing: -.01em; }

/* grid of items (as What we do) */
.dir-page .items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin-top: 48px; }
.dir-page .items > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 0; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .08); }
.dir-page .items .k { padding-top: 5px; color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.dir-page .items h3 { font-size: 19px; font-weight: 400; line-height: 26px; }
.dir-page .items p { grid-column: 2; color: var(--stone); font-size: 15px; line-height: 24px; }

/* client questions */
.dir-page .qa { border-top: 1px solid var(--line); }
.dir-page .qa > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.dir-page .qa h3 { font-size: 22px; font-weight: 300; line-height: 30px; letter-spacing: -.01em; }
.dir-page .qa p { color: var(--mist); font-size: 16px; line-height: 26px; }
.dir-page .qa .tag { display: block; margin-bottom: 10px; color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }

/* stages */
.dir-page .steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.dir-page .steps li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 8px 0; }
.dir-page .steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border: 1px solid var(--mist); background: var(--bg); }
.dir-page .steps li:first-child::before { border-color: var(--accent); background: var(--accent); }
.dir-page .steps .k { color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.dir-page .steps h3 { font-size: 19px; font-weight: 400; line-height: 25px; }
.dir-page .steps p { color: var(--stone); font-size: 14px; line-height: 22px; }
.dir-page .steps .bs { align-self: flex-start; margin-top: 4px; padding: 4px 8px; border: 1px solid var(--line); color: var(--mist); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

/* project cards (as on the home page) */
.dir-page .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dir-page .card .ci { aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.dir-page .card .ci img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dir-page .card:hover .ci img { transform: scale(1.04); }
.dir-page .card .cm { margin-top: 20px; color: var(--stone); font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.dir-page .card h3 { margin-top: 10px; font-size: 26px; font-weight: 400; line-height: 32px; letter-spacing: -.01em; transition: color .2s; }
.dir-page .card:hover h3 { color: var(--accent); }

/* control table */
.dir-page .tw { overflow-x: auto; border-top: 1px solid var(--line); }
.dir-page table { width: 100%; min-width: 560px; border-collapse: collapse; }
.dir-page th { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); color: var(--stone); font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.dir-page td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); color: var(--mist); font-size: 15px; line-height: 23px; vertical-align: top; }
.dir-page td:first-child { color: var(--white); white-space: nowrap; }
.dir-page td:first-child span { margin-right: 12px; color: var(--dim); font-family: var(--mono); font-size: 11px; }
.dir-page td .fmt { display: flex; flex-wrap: wrap; gap: 6px; }
.dir-page td .fmt i { padding: 3px 7px; border: 1px solid var(--line); color: var(--mist); font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.dir-page .notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.dir-page .notes p { padding-left: 14px; border-left: 1px solid var(--accent); color: var(--stone); font-size: 14px; line-height: 22px; }
.dir-page .notes b { display: block; margin-bottom: 4px; color: var(--white); font-size: 15px; font-weight: 400; }

/* risk cards 2 × 2 */
.dir-page .risks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dir-page .risks > div { display: flex; flex-direction: column; gap: 14px; padding: 32px 32px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dir-page .risks .k { color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.dir-page .risks h3 { font-size: 24px; line-height: 30px; letter-spacing: -.01em; }
.dir-page .risks p { color: var(--stone); font-size: 15px; line-height: 24px; }

/* gallery from the site */
.dir-page .gal { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.dir-page .gal figure { min-width: 0; margin: 0; }
.dir-page .gal img { width: 100%; height: 100%; object-fit: cover; background: var(--line); }
.dir-page .gal .g1 { grid-row: 1 / 3; }
.dir-page .gal .g1 img { aspect-ratio: 3 / 4; }
.dir-page .gal .g2 img, .dir-page .gal .g3 img { aspect-ratio: 4 / 3; }
.dir-page .gal .g4 { grid-column: 2 / 4; }
.dir-page .gal .g4 img { aspect-ratio: 16 / 7; }
.dir-page .gal figcaption { margin-top: 10px; color: var(--stone); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* live site / case */
.dir-page .live { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.dir-page .live .fig img { aspect-ratio: 16 / 10; }
.dir-page .live .tx { display: flex; flex-direction: column; gap: 20px; }
.dir-page .live h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.dir-page .live p { color: var(--mist); font-size: 16px; line-height: 26px; }
.dir-page .live .btns { gap: 8px; }
.dir-page .live .btn.lnk { border-left: 1px solid var(--dim); }
.dir-page .status { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.dir-page .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(216, 64, 33, .2); }
.dir-page .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.dir-page .facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.dir-page .facts > div:nth-child(odd) { padding-right: 16px; }
.dir-page .facts .l { color: var(--stone); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.dir-page .facts .n { margin-top: 4px; font-size: 17px; }

/* warranty */
.dir-page .war { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.dir-page .war > div { display: flex; flex-direction: column; gap: 10px; padding: 32px 32px 32px 0; }
.dir-page .war > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.dir-page .war .n { font-family: var(--mono); font-size: clamp(28px, 3vw, 44px); line-height: 1; }
.dir-page .war h3 { font-size: 20px; font-weight: 400; }
.dir-page .war p { color: var(--stone); font-size: 15px; line-height: 24px; }

/* 3D tour: the Kuula tour of ADG Flagman in place of the picture; "Start the 3D tour" lets the visitor into it */
.dir-page .tour { position: relative; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 8; background: var(--line); }
.dir-page .tour iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.dir-page .tour .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; background: rgba(20, 20, 20, .45); transition: background .3s; }
.dir-page .tour .tt { display: flex; justify-content: space-between; gap: 16px; color: var(--mist); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.dir-page .tour .play { align-self: center; display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 26px; border: 0; background: var(--white); color: var(--bg); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.dir-page .tour .play:hover { background: var(--accent); color: var(--white); }
.dir-page .tour .ctl { display: flex; flex-wrap: wrap; gap: 0; }
.dir-page .tour .ctl > * { padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .25); border-left: 0; background: rgba(20, 20, 20, .55); color: var(--white); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; line-height: normal; text-transform: uppercase; }
.dir-page .tour .ctl > :first-child { border-left: 1px solid rgba(255, 255, 255, .25); }
.dir-page .tour .ctl button { margin: 0; border-radius: 0; cursor: pointer; }
.dir-page .tour .ctl .is-active { background: var(--white); color: var(--bg); }
/* once started, the tour is free to use: the layer lets the pointer through, only the buttons stay on top */
.dir-page .tour.live .ov { background: transparent; pointer-events: none; }
.dir-page .tour.live .play { display: none; }
.dir-page .tour.live .tt { opacity: 0; }
.dir-page .tour.live .ctl { pointer-events: auto; }
.dir-page .pass { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-top: 0; }
.dir-page .pass > div { padding: 16px 20px; border-left: 1px solid var(--line); }
.dir-page .pass > div:first-child { border-left: 0; }
.dir-page .pass .l { color: var(--stone); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.dir-page .pass .n { margin-top: 6px; font-size: 18px; }

/* two columns of text + photo (what we design) */
.dir-page .duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.dir-page .duo .it { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.dir-page .duo .k { color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.dir-page .duo h3 { font-size: 26px; line-height: 32px; letter-spacing: -.01em; }
.dir-page .duo p { color: var(--stone); font-size: 15px; line-height: 24px; }
.dir-page .duo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin-top: 8px; }
.dir-page .formats { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dir-page .formats .l { margin-right: 12px; color: var(--stone); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.dir-page .formats i { padding: 6px 12px; border: 1px solid var(--dim); font-family: var(--mono); font-size: 13px; font-style: normal; }

/* to the next direction */
.dir-page .next { position: relative; display: block; margin-top: var(--gap-sec); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dir-page .next .bgi { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .35; transition: opacity .5s, transform .8s; }
.dir-page .next:hover .bgi { opacity: .55; transform: scale(1.03); }
.dir-page .next .in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; }
.dir-page .next .in > div { display: flex; flex-direction: column; gap: 12px; }
.dir-page .next .t { font-size: clamp(32px, 4vw, 56px); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.dir-page .next .arr { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 1px solid var(--mist); transition: background .2s, border-color .2s; }
.dir-page .next:hover .arr { border-color: var(--accent); background: var(--accent); }

/* Contact (the block of the home page) */
.dir-page .cxs { position: relative; padding-top: var(--gap-sec); padding-bottom: 28px; color: var(--white); font-family: var(--sans); }
.dir-page .cx .clb { display: block; color: var(--white); font-family: var(--mono); font-size: 13px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.dir-page .cx .ch { margin: 0; font-size: 32px; font-weight: 400; line-height: 38px; letter-spacing: -.02em; }
.dir-page .cx .cs { max-width: 420px; margin: 0; color: var(--stone); font-size: 14px; line-height: 22px; }
.dir-page .cx .cf { display: block; min-width: 0; }
.dir-page .cx .cl { display: block; color: var(--stone); font-family: var(--mono); font-size: 11px; line-height: 14px; letter-spacing: .06em; text-transform: uppercase; }
.dir-page .cx .cf input { display: block; width: 100%; height: 40px; margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--white); font: 400 16px/1 var(--sans); outline: 0; transition: border-color .2s; }
.dir-page .cx .cf input:focus { border-bottom-color: var(--stone); }
.dir-page .cx .cb { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border: 0; border-radius: 0; background: var(--white); color: var(--bg); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.dir-page .cx .cb:hover { background: var(--accent); color: var(--white); }
.dir-page .cx a { color: var(--white); transition: color .2s; }
.dir-page .cx a:hover { color: var(--accent); }
.dir-page .cx .cst { min-height: 18px; margin-top: 12px; color: var(--mist); font-size: 13px; line-height: 18px; }
.dir-page .cx2 .band { display: grid; grid-template-columns: var(--col) 1fr auto; align-items: end; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.dir-page .cx2 .t { display: flex; flex-direction: column; grid-column: 1 / 3; gap: 14px; }
.dir-page .cx2 .acts { display: flex; align-items: center; gap: 0; font-size: 15px; }
.dir-page .cx2 .ms { display: flex; height: 44px; border: 1px solid var(--white); border-left: 0; }
.dir-page .cx2 .ms a { display: inline-flex; align-items: center; padding: 0 18px; color: var(--white); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.dir-page .cx2 .ms a + a { border-left: 1px solid var(--white); }
.dir-page .cx2 .ms a:hover { color: var(--accent); }
.dir-page .cx2 .drop { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2, .7, .2, 1); }
.dir-page .cx2.open .drop { grid-template-rows: 1fr; }
.dir-page .cx2 .drop > div { overflow: hidden; }
.dir-page .cx2 .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 44px; gap: 28px 32px; align-items: end; padding-top: 28px; }
.dir-page .cx2 .row .cf:nth-of-type(4) { grid-column: 1 / 4; grid-row: 2; }
.dir-page .cx2 .row .go { grid-column: 4; grid-row: 2; }
.dir-page .cx2 .go { width: 44px; height: 44px; padding: 0; letter-spacing: 0; line-height: 0; }
.dir-page .cx2 .go svg { display: block; }

/* footer (the one of the home page) */
.dir-page .ft { position: relative; z-index: 1; padding: 0 var(--gx) 20px; background: var(--black); color: var(--white); font-family: var(--sans); }
.dir-page .ft a { color: var(--mist); transition: color .2s; }
.dir-page .ft a:hover { color: var(--accent); }
.dir-page .ft-cols { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 24px 48px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.dir-page .ft-cols > div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 18px; }
.dir-page .ft-cols a { white-space: nowrap; }
.dir-page .ft-l { margin-bottom: 4px; color: var(--white); font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.dir-page .ft-bot { padding-top: 16px; }
.dir-page .ft-bot p { margin: 0; color: var(--dim); font-size: 12px; line-height: 18px; }
/* narrow screens: as on the home page */
@media (max-width: 991px) { .dir-page .ft-cols { grid-template-columns: 1fr 1fr; justify-content: stretch; } }
@media (max-width: 767px) { .dir-page .ft-cols { gap: 28px 20px; } }
@media (max-width: 479px) { .dir-page .ft-cols a { white-space: normal; } }

/* responsive */
@media (max-width: 1100px) {
  .dir-page .ph-g { grid-template-columns: 1fr; gap: 40px; }
  .dir-page .sg { grid-template-columns: 1fr; }
  .dir-page .sl { position: static; padding-right: 0; margin-bottom: 40px; }
  .dir-page .live { grid-template-columns: 1fr; }
  .dir-page .stamp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir-page .stamp > div:nth-child(3) { border-left: 0; }
  .dir-page .stamp > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dir-page .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir-page .cx2 .band { grid-template-columns: 1fr; }
  .dir-page .cx2 .t { grid-column: 1; }
  .dir-page .cx2 .acts { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .dir-page .hdr { grid-template-columns: auto 1fr; }
  .dir-page .hdr nav { display: none; }
  .dir-page .hdr .burger { display: block; }
}
@media (max-width: 767px) {
  .dir-page .hdr img { height: 36px; }
  .dir-page .ph { padding-top: 56px; }
  .dir-page .items, .dir-page .risks, .dir-page .war, .dir-page .duo, .dir-page .notes, .dir-page .cards { grid-template-columns: 1fr; }
  .dir-page .qa > div { grid-template-columns: 1fr; gap: 12px; }
  .dir-page .steps { grid-template-columns: 1fr; }
  .dir-page .steps li { padding-right: 0; }
  .dir-page .gal { grid-template-columns: 1fr 1fr; }
  .dir-page .gal .g1 { grid-row: auto; grid-column: 1 / 3; }
  .dir-page .gal .g4 { grid-column: 1 / 3; }
  .dir-page .war > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .dir-page .pass { grid-template-columns: 1fr 1fr; }
  .dir-page .pass > div:nth-child(3) { border-left: 0; }
  .dir-page .pass > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dir-page .tour { aspect-ratio: 4 / 5; }
  /* the button on its own line, WhatsApp | Telegram under it (as in the layout) */
  .dir-page .cx2 .band { grid-template-columns: minmax(0, 1fr); }
  .dir-page .cx2 .acts { flex-wrap: wrap; row-gap: 8px; }
  .dir-page .cx2 .acts .cb { flex: 1 1 100%; }
  .dir-page .cx2 .ms { border-left: 1px solid var(--white); }
  .dir-page .cx2 .row { grid-template-columns: 1fr 44px; }
  .dir-page .cx2 .row .cf { grid-column: 1 / 2 !important; grid-row: auto !important; }
  .dir-page .cx2 .row .go { grid-column: 2; grid-row: 4; }
  .dir-page .ft-cols { grid-template-columns: 1fr 1fr; }
  .dir-page .next .arr { width: 48px; height: 48px; }
}
/* ---- Villa Inspection ---- */
.dir-page .fig.tall img { aspect-ratio:4/3; object-position:50% 70%; }
.dir-page .body-t { display:flex; flex-direction:column; gap:18px; max-width:62ch; }
.dir-page .body-t p { color:var(--mist); font-size:17px; line-height:28px; }
.dir-page .body-t u { text-decoration:none; border-bottom:1px solid var(--accent); color:var(--white); }
.dir-page .lev { margin-top:48px; }
.dir-page .lev .lbl { color:var(--stone); margin-bottom:14px; }
.dir-page .lev .bar { display:flex; height:64px; border:1px solid var(--line); }
.dir-page .lev .bar div { display:flex; align-items:center; padding:0 20px; font-family:var(--mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; }
.dir-page .lev .bar .a { flex:85; color:var(--stone); background:rgba(255,255,255,.04); }
.dir-page .lev .bar .b { flex:15; min-width:96px; justify-content:center; background:var(--accent); color:var(--white); }
.dir-page .lev .cap { display:flex; justify-content:space-between; gap:24px; margin-top:12px; font-size:14px; line-height:21px; color:var(--stone); }
.dir-page .lev .cap b { font-weight:400; color:var(--white); text-align:right; }
.dir-page .gets { border-top:1px solid var(--line); }
.dir-page .gets>div { display:grid; grid-template-columns:44px minmax(0,1fr); padding:26px 0; border-bottom:1px solid var(--line); }
.dir-page .gets .k { font-family:var(--mono); font-size:11px; color:var(--dim); padding-top:8px; }
.dir-page .gets h3 { font-size:24px; line-height:31px; letter-spacing:-.01em; }
.dir-page .gets p { grid-column:2; margin-top:6px; color:var(--stone); font-size:16px; line-height:25px; }
.dir-page .path { margin-top:56px; }
.dir-page .path .lbl { color:var(--stone); margin-bottom:20px; }
.dir-page .path ol { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; }
.dir-page .path li { position:relative; padding:22px 28px 24px 22px; border:1px solid var(--line); border-left:0; display:flex; flex-direction:column; gap:8px; }
.dir-page .path li:first-child { border-left:1px solid var(--line); }
.dir-page .path li+li::before { content:"→"; position:absolute; left:-9px; top:22px; width:18px; text-align:center; background:var(--bg); color:var(--accent); font-family:var(--mono); font-size:13px; line-height:18px; }
.dir-page .path .k { font-family:var(--mono); font-size:11px; letter-spacing:.06em; color:var(--accent); }
.dir-page .path h3 { font-size:18px; line-height:24px; font-weight:400; }
.dir-page .path p { font-size:14px; line-height:21px; color:var(--stone); }
.dir-page .doc { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:56px; align-items:start; }
.dir-page .cats { border-top:1px solid var(--line); }
.dir-page .cats>div { display:grid; grid-template-columns:150px minmax(0,1fr); gap:16px; padding:20px 0; border-bottom:1px solid var(--line); }
.dir-page .cats .c { display:flex; align-items:center; gap:10px; font-size:16px; }
.dir-page .cats .c::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--d); }
.dir-page .cats p { color:var(--stone); font-size:15px; line-height:23px; }
.dir-page .doc .after { margin-top:28px; color:var(--mist); font-size:16px; line-height:26px; max-width:52ch; }
.dir-page .doc .aside { margin-top:18px; color:var(--stone); font-size:14px; line-height:22px; font-style:normal; padding-left:14px; border-left:1px solid var(--accent); }
.dir-page .phone { border:1px solid var(--mist); border-radius:34px; padding:12px; background:var(--black); }
.dir-page .phone .scr { border-radius:24px; background:#1b1b1b; padding:14px 14px 18px; display:flex; flex-direction:column; gap:12px; font-family:var(--mono); font-size:9px; letter-spacing:.06em; text-transform:uppercase; color:var(--stone); }
.dir-page .phone .top { display:flex; justify-content:space-between; color:var(--mist); font-size:10px; }
.dir-page .phone .ttl { text-align:center; display:flex; flex-direction:column; gap:3px; }
.dir-page .phone .ttl b { font-family:var(--sans); text-transform:none; letter-spacing:0; font-size:13px; font-weight:500; color:var(--white); }
.dir-page .phone .meta>div { display:flex; justify-content:space-between; align-items:center; padding:7px 0; border-bottom:1px solid var(--line); }
.dir-page .phone .meta i { display:block; width:55%; height:5px; background:var(--line); }
.dir-page .phone .cnt { display:grid; grid-template-columns:repeat(4,1fr); gap:5px; }
.dir-page .phone .cnt div { border:1px solid var(--line); padding:7px 2px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:5px; font-size:7px; }
.dir-page .phone .cnt div::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--d,var(--dim)); }
.dir-page .phone .log>div { display:grid; grid-template-columns:18px 1fr 46px 22px; gap:6px; align-items:center; padding:9px 0; border-bottom:1px solid var(--line); }
.dir-page .phone .log i { display:block; height:5px; background:var(--line); }
.dir-page .phone .log .p { display:flex; align-items:center; gap:4px; font-size:7px; }
.dir-page .phone .log .p::before { content:""; width:5px; height:5px; border-radius:50%; background:var(--d); }
.dir-page .phone .log .pic { width:22px; height:16px; border:1px solid var(--line); }
.dir-page .phone + figcaption { margin-top:12px; text-align:center; font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--stone); }
.dir-page .defects { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px 24px; }
.dir-page .dft { display:flex; flex-direction:column; gap:12px; min-width:0; }
.dir-page .dft .im { position:relative; aspect-ratio:4/5; overflow:hidden; background:var(--line); }
.dir-page .dft .im img { width:100%; height:100%; object-fit:cover; }
.dir-page .dft .chip { position:absolute; left:12px; top:12px; display:inline-flex; align-items:center; gap:6px; padding:5px 9px; background:rgba(0,0,0,.75); font-family:var(--mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--white); }
.dir-page .dft .chip::before, .dir-page .dft .cat::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--d); }
.dir-page .dft .cat { display:inline-flex; align-items:center; gap:8px; margin-top:8px; font-family:var(--mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--stone); }
.dir-page .dft h3 { font-size:20px; line-height:26px; font-weight:400; }
.dir-page .dft p { color:var(--stone); font-size:14px; line-height:22px; }
.dir-page .dft p em { font-style:normal; color:var(--accent); }
.dir-page .dft .cost { margin-top:auto; padding-top:12px; border-top:1px solid var(--line); font-size:14px; color:var(--stone); display:flex; justify-content:space-between; gap:12px; }
.dir-page .dft .cost b { font-family:var(--mono); font-weight:400; color:var(--white); }
.dir-page .crit { --d:var(--accent); }
.dir-page .func { --d:var(--white); }
.dir-page .cosm { --d:var(--dim); }
.dir-page .stages { border-top:1px solid var(--line); }
.dir-page .stages>div { display:grid; grid-template-columns:72px minmax(0,1fr) 170px; gap:16px; padding:28px 0; border-bottom:1px solid var(--line); }
.dir-page .stages .k { font-family:var(--mono); font-size:30px; line-height:1; color:var(--accent); }
.dir-page .stages h3 { font-size:22px; line-height:28px; font-weight:400; }
.dir-page .stages p { margin-top:8px; color:var(--stone); font-size:15px; line-height:24px; max-width:58ch; }
.dir-page .stages .t { text-align:right; font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--mist); padding-top:6px; }
.dir-page .duo2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:32px; }
.dir-page .duo2 figure { margin:0; }
.dir-page .duo2 img { width:100%; aspect-ratio:4/3; object-fit:cover; object-position:50% 35%; }
.dir-page .duo2 figcaption { margin-top:10px; font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--stone); }
.dir-page .price { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:56px; align-items:start; }
.dir-page .rates { border-top:1px solid var(--line); }
.dir-page .rates>div { display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:20px 0; border-bottom:1px solid var(--line); font-size:16px; color:var(--mist); }
.dir-page .rates b { font-family:var(--mono); font-weight:400; font-size:24px; color:var(--white); font-variant-numeric:tabular-nums; }
.dir-page .ex { margin-top:24px; font-size:16px; line-height:26px; color:var(--mist); }
.dir-page .ex b { color:var(--white); font-weight:500; }
.dir-page .ex .sum { font-family:var(--mono); color:var(--white); border-bottom:1px solid var(--accent); }
.dir-page .opt { margin-top:14px; font-size:14px; line-height:22px; color:var(--stone); }
.dir-page .big { border:1px solid var(--line); padding:32px; display:flex; flex-direction:column; gap:14px; }
.dir-page .big .n { font-family:var(--mono); font-size:clamp(64px,8vw,112px); line-height:.9; letter-spacing:-.04em; }
.dir-page .big .lbl { color:var(--accent); }
.dir-page .big p { color:var(--stone); font-size:15px; line-height:24px; }
.dir-page .five { list-style:none; margin:0 0 40px; padding:0; counter-reset:f; border-top:1px solid var(--line); }
.dir-page .five li { counter-increment:f; display:grid; grid-template-columns:56px minmax(0,1fr); padding:16px 0; border-bottom:1px solid var(--line); font-size:17px; line-height:26px; color:var(--mist); }
.dir-page .five li::before { content:"0" counter(f); font-family:var(--mono); font-size:12px; color:var(--dim); padding-top:4px; }
.dir-page .five li:last-child { color:var(--white); }
.dir-page .five li:last-child::before { color:var(--accent); }
.dir-page .partner { margin-top:var(--gap-sec); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.dir-page .partner .in { display:grid; grid-template-columns:var(--col) minmax(0,1fr) auto; gap:24px; align-items:center; padding-block:40px; }
.dir-page .partner .n { font-family:var(--mono); font-size:44px; line-height:1; color:var(--accent); }
.dir-page .partner h3 { font-size:24px; line-height:31px; letter-spacing:-.01em; }
.dir-page .partner p { margin-top:6px; color:var(--stone); font-size:15px; line-height:23px; max-width:56ch; }
/* Villa Inspection request block: the Contact block of the home page with its own fields */
.dir-page .cx2 .band.b2 { grid-template-columns: 1fr auto; }
.dir-page .cx2 .band.b2 .t { grid-column: 1; }
.dir-page .cx2 .row.r4 .cf:nth-of-type(3) { grid-column: 3; grid-row: 1; }
.dir-page .cx2 .row.r4 .cf:nth-of-type(4) { grid-column: 1 / 4; grid-row: 2; }
@media (max-width: 1100px) {
  .dir-page .doc, .dir-page .price { grid-template-columns:1fr; }
  .dir-page .doc .phonefig { max-width:300px; }
  .dir-page .defects { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .dir-page .partner .in { grid-template-columns:auto minmax(0,1fr); }
  .dir-page .cx2 .band.b2 { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .dir-page .path ol { grid-template-columns:1fr; }
  .dir-page .path li { border-left:1px solid var(--line); border-top:0; }
  .dir-page .path li:first-child { border-top:1px solid var(--line); }
  .dir-page .path li+li::before { content:"↓"; left:22px; top:-10px; width:auto; }
  .dir-page .cats>div { grid-template-columns:1fr; gap:6px; }
  .dir-page .defects { grid-template-columns:1fr; }
  .dir-page .stages>div { grid-template-columns:48px minmax(0,1fr); }
  .dir-page .stages .t { grid-column:2; text-align:left; padding-top:0; }
  .dir-page .stages .k { font-size:22px; }
  .dir-page .lev .cap { flex-direction:column; gap:6px; }
  .dir-page .lev .cap b { text-align:left; }
  .dir-page .lev .bar .a { font-size:10px; padding:0 12px; }
  .dir-page .partner .in { grid-template-columns:1fr; }
  .dir-page .defects { grid-template-columns:1fr; }
  .dir-page .partner .in { grid-template-columns:1fr; }
  .dir-page .partner .btns { grid-column:auto; }
}
@media (prefers-reduced-motion: reduce) { .dir-page *, .dir-page *::before, .dir-page *::after { transition: none !important; scroll-behavior: auto !important; } html { scroll-behavior: auto; } }

/* RU pages: Space Mono has no Cyrillic, so Cyrillic letters of the monospace texts fall back to Inter
   (Latin letters and digits stay in Space Mono); the footer labels are set as on the RU home page */
html[lang="ru"] body.dir-page { --mono: "Space Mono", "Inter 18 Pt", "Courier New", monospace; }
html[lang="ru"] .dir-page .ft-l { font-family: var(--sans); font-weight: 500; letter-spacing: .1em; }
