/* Kalogerakis Construction. Gypsum white, graphite black and the gold of the KN logo.
   Commissioner + JetBrains Mono (both with Greek). The gold line is the hidden LED light of his ceilings. */
:root {
  --bg: #f2f0eb; --bg-2: #e8e5de; --card: #fbfaf8; --ink: #131313; --ink-2: #5d5953; --line: rgba(19, 19, 19, .13);
  --accent: #131313; --accent-ink: #fff; --gold: #d9a72e; --gold-2: #f0c75e; --gold-ink: #7a5807; --night: #0f0f10;
  --f-display: "Commissioner", system-ui, sans-serif; --f-body: "Commissioner", system-ui, sans-serif;
  --mono-f: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --dw: 700; --dt: -.035em; --dl: 1.02;
  --radius: 6px; --radius-sm: 5px; --radius-btn: 5px;
  --max: 1240px; --hd-h: 70px;
  --ft-bg: #0f0f10; --ft-ink: #ebe8e2;
  --shadow: 0 30px 60px -34px rgba(19, 19, 19, .55);
  --glow: 0 0 10px 1px rgba(217, 167, 46, .7), 0 0 34px 6px rgba(217, 167, 46, .32);
}
body { font-size: 16.5px; }
.mono, .eyebrow, .wiz-count, .ft-grid h4 { font-family: var(--mono-f); }
/* Greek capitals keep no accents, so labels are written in the case they are shown in */
.eyebrow, .ft-grid h4, .wiz-count { text-transform: none; letter-spacing: .02em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--gold-ink); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold); box-shadow: var(--glow); }
.night .eyebrow, .hero .eyebrow { color: var(--gold-2); }
mark { background: none; color: inherit; position: relative; white-space: nowrap; }
h1 mark, h2 mark { color: var(--gold-ink); }
.night mark, .hero mark { color: var(--gold); }
.h2, .sec-head h2 { font-size: clamp(32px, 4.4vw, 58px); }
.sec-head h2 { max-width: 17ch; }
.pt0 { padding-top: 0; }
.night { background: var(--night); color: #ebe8e2; --line: rgba(255, 255, 255, .12); --ink-2: #a9a49b; }

/* The light line under ceilings, used as a divider and an accent */
.led { display: block; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold-2) 50%, var(--gold) 88%, transparent); box-shadow: var(--glow); }

/* ---------- Buttons ---------- */
.btn { border-width: 1.5px; font-weight: 600; letter-spacing: -.005em; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #141006; }
@media (hover: hover) {
  .btn:hover { background: var(--gold); border-color: var(--gold); color: #141006; box-shadow: 0 0 0 0 transparent, 0 14px 30px -14px rgba(217, 167, 46, .8); }
  .btn.gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
  .btn.ghost:hover, .btn.line-light:hover { background: transparent; color: inherit; border-color: var(--gold); }
}
.link { border-bottom-color: var(--gold); }

/* ---------- Logo, header, language ---------- */
.logo { gap: 11px; }
.logo .kn { width: 40px; height: 40px; }
.lg-t { display: grid; line-height: 1; }
.lg-t b { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.lg-t small { margin-top: 4px; font: 500 10.5px/1 var(--mono-f); letter-spacing: .18em; text-transform: uppercase; opacity: .62; }
.ft .logo .kn { width: 46px; height: 46px; }
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; font-weight: 600; }
.lang a, .lang b { display: grid; place-items: center; min-width: 36px; height: 32px; padding: 0 6px; border-radius: 4px; text-decoration: none; }
.lang a { position: relative; } .lang a::after { content: ""; position: absolute; inset: -6px -4px; }
.lang b { background: var(--ink); color: var(--bg); }
.lang a { opacity: .7; } .lang a:hover { opacity: 1; }
.hd.over:not(.is-scrolled) .lang { border-color: rgba(255, 255, 255, .22); }
.hd.over:not(.is-scrolled) .lang b { background: #fff; color: #111; }
@media (max-width: 900px) { .lang { margin-left: auto; } .burger { margin-left: 4px; } }

/* ---------- Drawing sheet: a photo with dimension lines and a title block ---------- */
.dwg { position: relative; margin: 0; padding: 30px 0 0 30px; }
.dwg .ph { border-radius: 3px; box-shadow: var(--shadow); }
.dim { position: absolute; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.dim::before { content: ""; position: absolute; background: currentColor; opacity: .55; }
.dim i { position: relative; padding: 0 8px; font: 500 11.5px/1 var(--mono-f); font-style: normal; background: var(--dim-bg, var(--bg)); white-space: nowrap; }
.dim-w { top: 0; left: 30px; right: 0; height: 20px; border-inline: 1.5px solid currentColor; }
.dim-w::before { left: 0; right: 0; top: 50%; height: 1px; }
.dim-h { top: 30px; bottom: 0; left: 0; width: 20px; border-block: 1.5px solid currentColor; }
.dim-h::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.dim-h i { writing-mode: vertical-rl; rotate: 180deg; padding: 8px 0; }
.tb { position: absolute; right: -10px; bottom: -14px; display: flex; align-items: stretch; max-width: calc(100% - 50px); background: var(--ink); color: #f2f0eb; border-radius: 3px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); font: 500 12px/1.25 var(--mono-f); }
.tb b { display: grid; place-items: center; padding: 0 12px; color: var(--gold); border-right: 1px solid rgba(255, 255, 255, .14); font-weight: 600; }
.tb span { padding: 10px 14px; }
.night .dwg, .hero .dwg { --dim-bg: var(--night); }
.night .dim, .hero .dim { color: rgba(242, 240, 235, .7); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #f2f0eb; padding: calc(var(--hd-h) + clamp(28px, 5vw, 70px)) 0 clamp(64px, 8vw, 110px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 78% 18%, rgba(217, 167, 46, .16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 36px 36px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 98%); mask-image: linear-gradient(180deg, #000 30%, transparent 98%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.hero h1 { margin: 18px 0 22px; font-size: clamp(46px, 6.6vw, 98px); line-height: .96; letter-spacing: -.045em; max-width: 11ch; }
.hero h1 mark { display: inline-block; }
.hero h1 mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: 3px; border-radius: 3px; background: var(--gold); box-shadow: var(--glow); }
.hero .lead { color: #b9b4ab; max-width: 44ch; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; color: #a9a49b; }
.hero-tags li { display: inline-flex; align-items: center; gap: 9px; }
.hero-tags li::before { content: ""; width: 6px; height: 6px; background: var(--gold); }
.hero-pic .ph { aspect-ratio: 4 / 4.6; }
.led-hero { position: absolute; left: 0; right: 0; bottom: 0; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-pic .ph { aspect-ratio: 4 / 3.3; }
  .hero-pic { padding-right: 10px; }
}
@media (max-width: 520px) {
  .hero-btns .btn { padding-inline: 18px; }
  .hero-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
}

/* ---------- Tape: the list of trades, running ---------- */
.tape { background: var(--gold); color: #141006; padding: 13px 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.tape .marquee > div { gap: 26px; padding-right: 26px; --md: 46s; }
.tape i { width: 7px; height: 7px; align-self: center; background: #141006; rotate: 45deg; }

/* ---------- Service cards ---------- */
.svc-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.svc { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; isolation: isolate; }
.svc .ph { border-radius: 0; }
.svc img { transition: scale 1.2s var(--ease); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(10, 10, 10, .9) 8%, rgba(10, 10, 10, .2) 52%, transparent 70%); }
.svc-no { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 9px; border-radius: 3px; background: rgba(15, 15, 16, .78); color: var(--gold); font-size: 12px; font-weight: 600; }
.svc-in { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: grid; gap: 6px; }
.svc-in b { font-size: clamp(22px, 1.9vw, 27px); letter-spacing: -.035em; line-height: 1.05; }
.svc-in > span { font-size: 14.5px; line-height: 1.45; color: #cfcac1; padding-right: 30px; }
.svc-go { position: absolute; right: 0; bottom: 2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #141006; }
.svc-go svg { width: 16px; height: 16px; }
.svc .ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 2; background: var(--gold); box-shadow: var(--glow); scale: 0 1; transform-origin: 0 50%; transition: scale .7s var(--ease); }
@media (hover: hover) { .svc:hover img { scale: 1.05; } .svc:hover .ph::after { scale: 1 1; } }
@media (max-width: 980px) and (min-width: 761px) { .svc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc .ph { aspect-ratio: 4 / 3.4; } }

/* ---------- The wall that builds itself (pinned while you scroll) ---------- */
.build { position: relative; background: var(--card); border-block: 1px solid var(--line); }
.build-in { padding-block: var(--sec); }
.build-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4.4vw, 72px); align-items: center; }
.build h2 { font-size: clamp(32px, 4.2vw, 56px); margin-bottom: clamp(18px, 2.4vw, 30px); }
.steps { display: grid; gap: 4px; }
.steps li { position: relative; padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
.steps button { display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.steps button span { font-size: 12px; color: var(--gold-ink); font-weight: 600; }
.steps button b { font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -.025em; }
.steps p { margin: 6px 0 0 34px; color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 42ch; }
.steps .bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--gold); box-shadow: var(--glow); scale: var(--sp, 0) 1; transform-origin: 0 50%; opacity: 0; }
.build-fig { margin: 0; display: grid; gap: 12px; }
.paper { position: relative; border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(8px, 1.4vw, 18px); background:
  linear-gradient(rgba(19, 19, 19, .05) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, rgba(19, 19, 19, .05) 1px, transparent 1px) 0 0 / 20px 20px, #f7f6f2; }
.wall { width: 100%; height: auto; overflow: visible; }
.build-fig figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 12.5px; color: var(--ink-2); }
.build-fig figcaption b { color: var(--ink); font-weight: 600; }
.build-fig figcaption b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--gold); box-shadow: var(--glow); }
.w-line { fill: none; stroke: var(--gold); stroke-width: 2; }
.w-dim { fill: none; stroke: #6d6860; stroke-width: 1.5; }
.w-txt { font: 600 17px var(--mono-f); fill: #3d3a35; }
.w-steel { fill: #9aa0a6; stroke: #6f757b; stroke-width: 1; }
.w-cable { fill: none; stroke: #e0662b; stroke-width: 5; stroke-linecap: round; }
.w-box { fill: #2b2b2b; }
.w-board { fill: #e7e3da; stroke: #b9b2a5; stroke-width: 1.5; }
.w-print { font: 600 13px var(--mono-f); fill: #a8a194; letter-spacing: .08em; }
.w-screws { fill: #7d776c; }
.w-tape { fill: #fffdf8; stroke: #e3ded3; }
.w-door { fill: #1b1b1d; }
.w-led { fill: none; stroke: var(--gold-2); stroke-width: 4; stroke-linecap: round; }
.wall [data-fx="grow"], .wall [data-fx="growx"], .wall [data-fx="rise"], .wall [data-fx="slide"] { transform-box: fill-box; }
.wall [data-fx="grow"] { transform-origin: 50% 100%; }
.wall [data-fx="growx"] { transform-origin: 0 50%; }
/* pinned only once the script runs; without it the finished wall and every step simply show */
.build.is-live { height: calc(var(--svh) * 440); }
.build.is-live .build-in { position: sticky; top: var(--hd-h); height: calc(var(--svh) * 100 - var(--hd-h)); display: flex; align-items: center; padding-block: clamp(16px, calc(var(--svh) * 3), 40px); }
.build.is-live .build-in > .wrap { width: min(var(--max), calc(100% - var(--pad) * 2)); }
.build.is-live .steps li { opacity: .42; transition: opacity .35s; }
.build.is-live .steps li.on, .build.is-live .steps li.done { opacity: 1; }
.build.is-live .steps li.on .bar { opacity: 1; }
.build.is-live .wall { max-height: calc(var(--svh) * 100 - var(--hd-h) - 140px); }
@media (max-width: 900px) {
  .build-grid { grid-template-columns: minmax(0, 1fr); }
  .build.is-live { height: calc(var(--svh) * 380); }
  .build.is-live .build-in { align-items: stretch; padding-block: 14px 18px; }
  .build.is-live .build-grid { height: 100%; align-content: center; gap: 16px; }
  .build.is-live .build-copy { display: contents; }
  .build.is-live .build-copy > .eyebrow { display: none; }
  .build.is-live h2 { order: 1; margin: 0; font-size: clamp(26px, 7vw, 34px); }
  .build.is-live .build-fig { order: 2; }
  .build.is-live .steps { order: 3; position: relative; display: block; min-height: 150px; }
  .build.is-live .steps li { position: absolute; inset: 0 0 auto 0; opacity: 0; translate: 0 10px; transition: opacity .35s, translate .45s var(--ease); border: 0; padding: 4px 0 0; pointer-events: none; }
  .build.is-live .steps li.on { opacity: 1; translate: 0 0; pointer-events: auto; }
  .build.is-live .steps li.done { opacity: 0; }
  .build.is-live .steps p { font-size: 15.5px; }
  .build.is-live .steps .bar { position: static; display: block; margin-top: 14px; height: 3px; }
  .build.is-live .wall { max-height: none; }
}
@media (max-width: 900px) and (max-height: 700px) { .build.is-live h2 { font-size: 24px; } .build.is-live .steps p { font-size: 14.5px; } }

/* ---------- Why drywall ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.why h2 { font-size: clamp(32px, 4.4vw, 58px); max-width: 14ch; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px) clamp(18px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); }
.why-it svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 14px; }
.why-it b { display: block; font-size: 20px; letter-spacing: -.025em; margin-bottom: 6px; }
.why-it p { color: #a9a49b; font-size: 15px; line-height: 1.5; }
.why-pic { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); }
.why-pic img { filter: grayscale(.35) contrast(1.05); }
.why-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 15, 16, .85)), linear-gradient(0deg, rgba(217, 167, 46, .12), rgba(217, 167, 46, .12)); }
.why-pic figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-size: 12px; color: #d9d4ca; }
@media (max-width: 900px) { .why-grid { grid-template-columns: minmax(0, 1fr); } .why-pic { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .why-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Ideas and the Instagram card ---------- */
.ideas-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.idea { margin: 0; }
.idea .ph { border-radius: var(--radius); }
.idea figcaption, .g-it figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.ig-card { display: flex; align-items: center; gap: 16px; margin-top: clamp(28px, 4vw, 44px); padding: 16px 20px; border-radius: var(--radius); background: var(--ink); color: #f2f0eb; text-decoration: none; transition: translate .3s var(--ease); }
.ig-card .kn { width: 50px; height: 50px; flex: none; }
.ig-card span { display: grid; gap: 3px; min-width: 0; }
.ig-card b { font-size: 18px; letter-spacing: -.02em; }
.ig-card small { font: 500 12.5px/1.4 var(--mono-f); color: #a9a49b; overflow-wrap: anywhere; }
.ig-card i { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--gold); color: #141006; }
.ig-card i svg { width: 20px; height: 20px; }
@media (hover: hover) { .ig-card:hover { translate: 0 -3px; } }
@media (max-width: 980px) and (min-width: 761px) { .ideas-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Process ---------- */
.proc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.proc li { position: relative; padding-top: 26px; border-top: 2px solid var(--ink); }
.proc li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--gold); box-shadow: var(--glow); }
.proc span { font-size: 12.5px; font-weight: 600; color: var(--gold-ink); }
.proc b { display: block; margin: 8px 0; font-size: 21px; letter-spacing: -.03em; }
.proc p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) { .proc { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } }
@media (max-width: 480px) { .proc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Closing call ---------- */
.cta { position: relative; padding-block: clamp(70px, 10vw, 140px) clamp(56px, 7vw, 100px); text-align: center; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 120%); aspect-ratio: 2 / 1; translate: -50% -50%; background: radial-gradient(closest-side, rgba(217, 167, 46, .2), transparent 78%); pointer-events: none; }
.cta .led { position: absolute; top: 0; left: 8%; right: 8%; }
.cta-in { position: relative; display: grid; justify-items: center; gap: 18px; }
.cta h2 { font-size: clamp(36px, 5.6vw, 76px); max-width: 15ch; }
.cta p { color: #a9a49b; font-size: clamp(16.5px, 1.4vw, 19px); max-width: 40ch; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; margin-top: 10px; }
.cta-ig { display: inline-flex; align-items: center; gap: 9px; color: #d9d4ca; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(217, 167, 46, .6); padding-bottom: 3px; }
.cta-ig svg { width: 18px; height: 18px; color: var(--gold); }
.cta-ig { padding-top: 8px; padding-bottom: 6px; }
@media (hover: none) { .ft-grid li a { display: inline-block; padding-block: 6px; } .ft-grid li { margin: 2px 0; } }
.cta + .ft { border-top: 1px solid rgba(255, 255, 255, .08); }

/* ---------- Inner page heads ---------- */
.page-hd { padding: clamp(36px, 6vw, 84px) 0 clamp(30px, 4vw, 56px); background:
  linear-gradient(rgba(19, 19, 19, .045) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(90deg, rgba(19, 19, 19, .045) 1px, transparent 1px) 0 0 / 36px 36px; }
.page-hd h1 { margin: 16px 0 18px; font-size: clamp(44px, 6.4vw, 90px); line-height: .98; letter-spacing: -.045em; max-width: 13ch; }
.page-hd .chips { margin-top: 26px; flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: 0; }
.chip { min-height: 40px; padding: 7px 15px; border-radius: var(--radius-btn); font-size: 14px; text-decoration: none; }
.chip.on, .chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (max-width: 600px) {
  .page-hd .chips, .boards .tabs, .idea-chips, .ba-tabs { gap: 7px; }
  .page-hd .chip, .boards .tab, .idea-chips .chip, .ba-tabs .tab { flex: 1 1 auto; justify-content: center; padding-inline: clamp(10px, 3.4vw, 15px); font-size: clamp(13px, 3.6vw, 14px); }
}

/* ---------- Service detail ---------- */
.svc-d + .svc-d { padding-top: 0; }
.page-hd + .svc-d { padding-top: clamp(28px, 3.4vw, 48px); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.svc-d.flip .svc-media { order: 2; }
.svc-copy h2 { font-size: clamp(34px, 4.4vw, 60px); margin: 12px 0 16px; }
.mini { margin: 26px 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
.ticks { display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold-ink); }
.specs { display: grid; margin: 26px 0 28px; border-top: 1px solid var(--line); font-size: 13.5px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs span { color: var(--ink-2); }
.specs b { font-weight: 500; text-align: right; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } .svc-d.flip .svc-media { order: 0; } .svc-media .ph { aspect-ratio: 4 / 3.4; } }

/* ---------- Which board ---------- */
.boards { display: grid; gap: 22px; }
.boards .tabs { flex-wrap: wrap; overflow: visible; }
.tab { border-radius: var(--radius-btn); }
.bp { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 70px); align-items: center; padding: clamp(22px, 3vw, 40px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.bp:not([hidden]) { animation: wiz-in .5s var(--ease); }
.slab { position: relative; justify-self: center; width: min(250px, 66%); aspect-ratio: 1.2 / 1.9; border-radius: 2px; rotate: -4deg;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 3px, transparent 3px 9px), var(--c);
  box-shadow: 10px 10px 0 -1px color-mix(in srgb, var(--c) 70%, #000), 0 40px 60px -30px rgba(0, 0, 0, .45); }
.slab i { position: absolute; left: 12%; right: 12%; top: 16%; bottom: 16%; border-inline: 2px solid color-mix(in srgb, var(--p) 45%, transparent); }
.slab span { position: absolute; left: 50%; translate: -50% 0; white-space: nowrap; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--p); }
.slab span:nth-of-type(1) { top: 8%; } .slab span:nth-of-type(2) { bottom: 8%; }
.bp-copy b { display: block; margin: 12px 0 10px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.035em; line-height: 1.05; }
.bp-copy p { color: var(--ink-2); max-width: 40ch; font-size: 17px; }
@media (max-width: 700px) { .bp { grid-template-columns: minmax(0, 1fr); } .slab { width: min(180px, 52%); } }

/* ---------- Questions ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq summary { font-size: 18px; letter-spacing: -.015em; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Ideas gallery ---------- */
.gallery { columns: 4 240px; column-gap: clamp(12px, 1.6vw, 20px); }
.g-it { break-inside: avoid; margin: 0 0 clamp(16px, 2vw, 26px); }
.g-it .ph { border-radius: var(--radius); }
.g-it.in { animation: wiz-in .5s var(--ease); }
@media (max-width: 600px) { .gallery { columns: 2; column-gap: 10px; } .g-it figcaption { font-size: 11.5px; } }

/* ---------- Quote ---------- */
.q-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.q-main { padding: clamp(20px, 3vw, 36px); }
.q-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.q-type > span { grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; min-height: 84px; }
.q-type svg { grid-row: 1 / span 2; width: 34px; height: 34px; color: var(--gold-ink); }
.q-type b { grid-column: 2; }
.q-type small { grid-column: 2; }
.q-type input:checked + span { background: #fff8e6; }
@media (max-width: 560px) { .q-types { grid-template-columns: minmax(0, 1fr); } .q-type > span { min-height: 0; } }
.dimin { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; }
.dimin > label { font-size: 13.5px; font-weight: 600; }
.dnum { grid-row: 1; grid-column: 2; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px 0 4px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s; }
.dnum:focus-within { border-color: var(--ink); }
.dnum input { width: 5.2ch; height: 100%; border: 0; padding: 0 0 0 8px; background: none; font-size: 17px; font-weight: 600; text-align: right; color: var(--ink); outline: 0; }
.dnum i { font: 500 14px var(--mono-f); font-style: normal; color: var(--ink-2); }
.dimin input[type=range] { grid-column: 1 / -1; width: 100%; height: 34px; margin: 0; accent-color: var(--ink); }
.q-opts { display: grid; gap: 10px; }
.q-side { position: sticky; top: calc(var(--hd-h) + 18px); display: grid; gap: 14px; }
.qd { margin: 0; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background:
  linear-gradient(rgba(19, 19, 19, .05) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, rgba(19, 19, 19, .05) 1px, transparent 1px) 0 0 / 20px 20px, #f7f6f2; }
.qd-svg svg { display: block; width: 100%; height: auto; }
.qd figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }
.qd figcaption b { color: var(--gold-ink); font-size: 15px; }
.q-sum { display: grid; font-size: 13px; }
.q-sum div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.q-sum span { color: var(--ink-2); }
.q-sum b { font-weight: 500; text-align: right; }
@media (max-width: 900px) { .q-grid { grid-template-columns: minmax(0, 1fr); } .q-side { position: static; } }
.q-grid:has(> .q-side.is-sent) { grid-template-columns: minmax(0, 760px); justify-content: center; }
.q-done { text-align: left; padding: clamp(6px, 1.5vw, 16px) 0 0; border: 0; background: none; }
.q-done h3, .q-done > p { text-align: center; }
.q-done .success-mark { background: var(--gold); color: #141006; }
.msg { display: block; width: 100%; margin: 22px 0 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #f7f6f2; font-size: 13.5px; line-height: 1.55; resize: vertical; color: var(--ink); }
.q-send { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.q-done .link { display: table; margin: 22px auto 0; }

/* ---------- Drawing frame without numbers (his own photos) ---------- */
@media (max-width: 900px) {
  .dwg { padding: 24px 24px 0; }
  .dim-w { left: 24px; right: 24px; }
  .dim-h { top: 24px; }
  .hero-pic { padding-right: 0; }
}

/* ---------- Before and after ---------- */
.ba-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ba-copy h2 { font-size: clamp(36px, 4.8vw, 64px); margin: 14px 0 16px; }
.ba-copy p { color: var(--ink-2); max-width: 36ch; font-size: 17px; }
.ba-tabs { flex-wrap: wrap; margin-top: 28px; }
.ba-p { margin: 0; }
.ba-p:not([hidden]) { animation: wiz-in .5s var(--ease); }
.ba-p figcaption { margin-top: 14px; color: var(--ink-2); font-size: 15px; max-width: 52ch; }
.ba { --p: 50%; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); box-shadow: var(--shadow); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 14px rgba(0, 0, 0, .4); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: var(--p); width: 54px; height: 54px; margin: -27px 0 0 -27px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; background: var(--gold); color: #141006; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); cursor: ew-resize; transition: scale .2s; }
.ba-handle svg { width: 24px; height: 24px; }
.ba.is-drag .ba-handle { scale: 1.08; }
.ba-tag { position: absolute; top: 14px; padding: 7px 11px; border-radius: 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; transition: opacity .25s; }
.ba-tb { left: 14px; background: rgba(19, 19, 19, .8); color: #fff; }
.ba-ta { right: 14px; background: var(--gold); color: #141006; }
.ba.at-a .ba-tb, .ba.at-b .ba-ta { opacity: 0; }
@media (max-width: 900px) {
  .ba-grid { grid-template-columns: minmax(0, 1fr); }
  .ba-copy { text-align: center; }
  .ba-copy p { margin-inline: auto; }
  .ba-tabs { justify-content: center; }
  .ba-p figcaption { text-align: center; margin-inline: auto; }
}


/* ---------- Work page ---------- */
.idea-chips { margin: 0 0 clamp(20px, 3vw, 30px); flex-wrap: wrap; overflow: visible; }
.gallery-real { margin-bottom: clamp(20px, 3vw, 34px); }

/* ---------- Phones: one centred column, slightly smaller titles ---------- */
@media (max-width: 600px) {
  .hero-in, .page-hd .hero-in, .sec-head, .why-copy > div:first-child { text-align: center; }
  .hero h1, .page-hd h1, .sec-head h2, .sec-head p, .lead { margin-inline: auto; }
  .hero h1 { font-size: clamp(38px, 11vw, 46px); }
  .page-hd h1 { font-size: clamp(36px, 10.4vw, 44px); }
  .sec-head { flex-direction: column; align-items: center; gap: 12px; }
  .sec-head h2, .h2 { font-size: clamp(28px, 8.2vw, 34px); }
  .ba-copy h2 { font-size: clamp(32px, 9.4vw, 40px); }
  .hero-btns { justify-content: center; }
  .hero-tags { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 10px 28px; text-align: left; }
  .why-it { text-align: center; }
  .why-it svg { margin-inline: auto; }
}

/* ---------- Phone menu ---------- */
.nav-open .hd.over .lang { border-color: var(--line); }
.nav-open .hd.over .lang b { background: var(--ink); color: var(--bg); }
.sheet { padding-top: calc(var(--hd-h) + 8px); }
.sheet-links a { font-size: clamp(26px, 7.2vw, 32px); padding: 13px 0; }
.sheet-links a[aria-current="page"] { color: var(--gold-ink); }
.sheet-links a[aria-current="page"]::before { content: ""; width: 14px; height: 3px; margin-right: 12px; border-radius: 2px; background: var(--gold); box-shadow: var(--glow); }
.sheet-links a[aria-current="page"] { justify-content: flex-start; }
.sheet-links a[aria-current="page"] svg { margin-left: auto; }
.sheet-extra { display: grid; gap: 10px; margin-top: 22px; }
.sx-label { font-size: 12.5px; color: var(--gold-ink); }
.sx-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sx-tile { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-sm); background: #2a2826; color: #fff; text-decoration: none; }
.sx-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.sx-tile img.ok { opacity: 1; }
.sx-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 10, 10, .78)); }
.sx-tile b { position: absolute; z-index: 1; left: 10px; right: 8px; bottom: 8px; font-size: 14px; line-height: 1.15; letter-spacing: -.01em; }
.sx-ig { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--night); color: #f2f0eb; text-decoration: none; }
.sx-ig .kn { width: 38px; height: 38px; flex: none; }
.sx-ig span { display: grid; min-width: 0; line-height: 1.2; }
.sx-ig b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-ig small { font-size: 11.5px; color: #a9a49b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-ig i { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin-left: auto; border-radius: 50%; background: var(--gold); color: #141006; }
.sx-ig i svg { width: 18px; height: 18px; }
.sheet-foot { padding-top: 18px; }
@media (max-height: 720px) {
  .sheet-links a { font-size: 24px; padding: 10px 0; }
  .sheet-extra { margin-top: 16px; }
  .sx-tile { aspect-ratio: 2.3 / 1; }
}
