@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/assets/fonts/commissioner-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/assets/fonts/commissioner-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Black paint, white type, and xenon blue only where light falls: the lamp, links, the compare line. */
:root {
  --bg: #000000;
  --surface: #0C0D0E;
  --ink: #F4F6F8;
  --muted: #8D959D;
  --line: #24272A;
  --xenon: #8CCBFF;
  --xenon-deep: #3FA2FF;
  --paint: var(--xenon);
  --paint-soft: #9AA3AB;
  --tape: var(--xenon);
  --measure: 40rem;
  color-scheme: dark;
}
::selection { background: var(--xenon); color: #000; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Commissioner", system-ui, sans-serif;
  font-weight: 380;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wrap { width: min(76rem, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: #000; padding: 0.5rem 1rem; z-index: 10; }

/* Type */
h1, h2, h3 { font-variation-settings: "FLAR" 40, "VOLM" 0; text-wrap: balance; }
h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
h2 {
  margin: 0 0 1rem;
  font-weight: 330;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h3 { margin: 0 0 0.5rem; font-weight: 520; font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 34rem; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem; border-radius: 2px;
  background: var(--ink); color: #000; text-decoration: none;
  font: inherit; font-weight: 500; font-size: 0.98rem; letter-spacing: 0.005em;
  border: 0; cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--xenon); box-shadow: 0 0 28px -6px var(--xenon); }
.btn-light { background: var(--ink); color: #000; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(244, 246, 248, 0.45); }
.btn-ghost:hover { background: transparent; color: var(--xenon); box-shadow: inset 0 0 0 1px var(--xenon); }
.h-small { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.link-quiet { font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); }
.link-quiet:hover { text-decoration-color: currentColor; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-head .wrap { display: flex; align-items: center; gap: 2.5rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.015em; }
.brand svg { width: 26px; height: 26px; }
.site-nav { display: flex; gap: 2rem; margin-left: auto; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-head .btn { padding: 0.6rem 1.1rem; font-size: 0.92rem; }
.brand, .site-head .btn { white-space: nowrap; }

/* Mobile menu: a native disclosure, so it works without JavaScript. */
.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.2rem; font-size: 0.95rem; font-weight: 500;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 1.5px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.menu[open] summary span { box-shadow: none; transform: rotate(45deg); }
.menu[open] summary span::after { content: ""; display: block; width: 18px; height: 1.5px; background: currentColor; transform: rotate(-90deg); }
/* Absolute against the sticky header: its backdrop-filter would trap position: fixed anyway. */
.menu nav {
  position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - 4.75rem); background: var(--bg);
  padding: 1.5rem 1rem 2rem; display: grid; align-content: start; gap: 0; overflow-y: auto;
  border-top: 1px solid var(--line);
}
.menu nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.35rem; font-weight: 340; letter-spacing: -0.02em; }
.menu nav .btn { margin-top: 1.5rem; justify-content: center; font-size: 1rem; border: 0; }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-head .wrap { gap: 1rem; }
  .site-head > .wrap > .btn { display: none; }
  .menu { display: block; margin-left: auto; }
}
@media (hover: none) { .hint-mouse { display: none; } }

/* Sections */
.section { padding-block: clamp(4rem, 10vw, 8rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.rule { border-top: 1px solid var(--line); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.split-head p { margin: 0; max-width: 30rem; color: var(--muted); }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding-top: clamp(2.5rem, 7vw, 6rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-text { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero-text .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
@media (max-width: 860px) { .hero-text { grid-template-columns: 1fr; } }

/* Before/after panel */
.panel { margin: 0; }
.panel-surface {
  position: relative; aspect-ratio: 21 / 9; border-radius: 6px; overflow: hidden;
  background: #000; touch-action: pan-y; cursor: ew-resize;
}
@media (max-width: 860px) { .panel-surface { aspect-ratio: 4 / 3; } }
.panel-surface canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.panel-surface:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.panel-label {
  position: absolute; bottom: 1.1rem; color: rgba(233, 239, 245, 0.85);
  font-size: 0.85rem; font-weight: 450; pointer-events: none;
}
.panel-label.before { left: 1.25rem; }
.panel-label.after { right: 1.25rem; }
.panel-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.panel-caption { display: flex; justify-content: space-between; gap: 0.5rem 2rem; flex-wrap: wrap; margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }
.panel-caption b { color: var(--ink); font-weight: 560; font-variant-numeric: tabular-nums; }

/* Service index */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a {
  display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 1rem 3rem; align-items: baseline;
  padding-block: 2rem; text-decoration: none;
}
.service-list h3 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 340; letter-spacing: -0.03em; }
.service-list p { margin: 0; color: var(--muted); max-width: 34rem; }
.service-list .go { font-size: 0.92rem; font-weight: 500; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--line); }
.service-list a:hover .go { text-decoration-color: currentColor; }
.service-list a:hover h3 { color: var(--paint); }
@media (max-width: 760px) {
  .service-list a { grid-template-columns: 1fr; gap: 0.5rem; padding-block: 1.6rem; }
}

/* Process (dark band) */
.band { background: var(--surface); color: var(--ink); border-block: 1px solid var(--line); }
.band .split-head p, .band .muted { color: var(--paint-soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.steps li { counter-increment: step; padding: 1.75rem 2rem 2.25rem 0; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: block; margin-bottom: 1rem;
  font-size: 0.95rem; font-weight: 500; color: var(--paint-soft); font-variant-numeric: tabular-nums;
}
.steps p { margin: 0; color: var(--paint-soft); font-size: 0.98rem; max-width: 22rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.facts dt { color: var(--muted); font-size: 0.9rem; }
.facts dd { margin: 0.25rem 0 0; font-size: 1.6rem; font-weight: 330; letter-spacing: -0.02em; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem 5rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { margin: 0; display: grid; gap: 1.5rem; }
.contact-list dt { color: var(--muted); font-size: 0.9rem; }
.contact-list dd { margin: 0.15rem 0 0; font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 340; letter-spacing: -0.02em; }

/* Home: the paint panel is the whole first screen, with the headline set on the paint. */
.stage { position: relative; height: min(calc(100svh - 4.75rem), 56rem); min-height: 34rem; overflow: hidden; }
.stage .panel-surface { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 38%, transparent 62%);
}
.stage-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(2rem, 6vw, 4.5rem); pointer-events: none; }
.stage-text h1 { font-size: clamp(3rem, 9vw, 8.5rem); font-weight: 250; letter-spacing: -0.055em; line-height: 0.95; max-width: 11ch; }
.stage-text .lede { color: #C9CFD4; margin-top: 1.5rem; }
.stage-text .actions { pointer-events: auto; }
.stage .panel-label { top: 1.25rem; bottom: auto; z-index: 1; }
.stage-hint { position: absolute; z-index: 2; right: max(1rem, calc((100% - 76rem) / 2)); bottom: clamp(2rem, 6vw, 4.5rem); font-size: 0.85rem; color: var(--muted); pointer-events: none; }
@media (max-width: 760px) { .stage-hint { display: none; } }

.split-handle {
  position: absolute; z-index: 1; top: 30%; left: 50%; width: 28px; height: 28px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--ink); pointer-events: none; display: none;
  box-shadow: 0 0 24px rgba(140, 203, 255, 0.55);
}
.split-handle::before, .split-handle::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -4px;
  border-block: 4px solid transparent;
}
.split-handle::before { left: 7px; border-right: 5px solid #000; }
.split-handle::after { right: 7px; border-left: 5px solid #000; }
.stage.has-gl .split-handle { display: block; }
.split-line {
  position: absolute; z-index: 1; top: 0; bottom: 0; width: 1.5px; margin-left: -0.75px; pointer-events: none;
  background: var(--xenon); box-shadow: 0 0 10px rgba(140, 203, 255, 0.8), 0 0 28px rgba(140, 203, 255, 0.35);
}

/* Projects: one tall tile and three beside it; canvas until real photos arrive. */
.projects { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, minmax(15rem, 1fr)); gap: 0.75rem; }
.project { position: relative; margin: 0; overflow: hidden; border-radius: 4px; background: var(--swatch, #111); min-height: 15rem; }
.project:first-child { grid-row: span 2; }
.project:nth-child(4) { grid-column: 2 / 4; }
.project canvas, .project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.project canvas { opacity: 0; transition: opacity 0.6s; }
.project.rendered canvas { opacity: 1; }
.project figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 3rem 1.25rem 1.1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.project strong { display: block; font-weight: 450; font-size: 1.15rem; letter-spacing: -0.01em; }
.project span { color: #B9C0C6; font-size: 0.92rem; }
@media (max-width: 860px) {
  .projects { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .project:first-child { grid-column: 1 / 3; grid-row: auto; min-height: 22rem; }
  .project:nth-child(4) { grid-column: auto; }
}
@media (max-width: 560px) { .projects { grid-template-columns: 1fr; } .project:first-child { grid-column: auto; } }

/* Home services: four names, set large. */
.lines { list-style: none; margin: 0; padding: 0; }
.lines a {
  display: grid; grid-template-columns: 1fr minmax(0, 22rem); gap: 0.5rem 3rem; align-items: baseline;
  padding-block: clamp(1.5rem, 3vw, 2.4rem); border-bottom: 1px solid var(--line); text-decoration: none;
}
.lines li:first-child a { border-top: 1px solid var(--line); }
.lines strong { font-size: clamp(2rem, 5.5vw, 4.6rem); font-weight: 250; letter-spacing: -0.045em; line-height: 1; transition: color 0.2s, text-shadow 0.2s; }
.lines span { color: var(--muted); }
.lines a:hover strong, .lines a:focus-visible strong { color: var(--xenon); text-shadow: 0 0 32px rgba(140, 203, 255, 0.45); }
@media (max-width: 700px) { .lines a { grid-template-columns: 1fr; } }

.closing { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; }
.closing p { margin: 0; max-width: 34rem; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.35; }

/* Service hero visual: a full-width paint panel, rendered per service by panel.js */
.visual { margin: 0 0 clamp(3rem, 6vw, 5rem); }
.visual .panel-surface { aspect-ratio: 21 / 8; cursor: default; }
.visual .panel-surface[data-mode="compare"] { cursor: ew-resize; }
@media (max-width: 860px) { .visual .panel-surface { aspect-ratio: 4 / 3; } }

/* Guides */
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.guide-list a { display: block; padding: 1.6rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.guide-list strong { display: block; font-size: 1.25rem; font-weight: 400; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 0.4rem; }
.guide-list span { color: var(--muted); font-size: 0.97rem; }
.guide-list a:hover strong { color: var(--paint); }
@media (max-width: 760px) { .guide-list { grid-template-columns: 1fr; } }
.article-meta { margin-top: 1.5rem; font-size: 0.9rem; color: var(--muted); }
.answer { font-size: 1.15rem; line-height: 1.55; padding-left: 1.25rem; border-left: 2px solid var(--tape); margin-bottom: 2.5rem; }
.compare-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: 0.97rem; }
.compare-table th, .compare-table td { text-align: left; padding: 0.8rem 1rem 0.8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-weight: 560; border-bottom-color: var(--ink); }
.compare-table tbody th { font-weight: 450; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.todo { background: #F6E7B0; color: #000; padding: 0 0.3em; border-radius: 2px; font-weight: 500; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; }
.notfound .lede { margin-top: 1.5rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
address { font-style: normal; margin-bottom: 1rem; }
.contact-list .map-link { font-size: 1rem; }

/* Service page */
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 2.5rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { margin-top: 1.75rem; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 3.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.1rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.two-col { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem 5rem; }
.two-col > aside { position: sticky; top: 7rem; align-self: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .two-col > aside { position: static; } }
.spec { margin: 0; }
.spec div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
.spec div:first-child { border-top: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 520; text-align: right; }
.aside-cta { margin-top: 2rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: var(--measure); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-weight: 500; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.25rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0 0 1.4rem; color: var(--muted); max-width: 36rem; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Related */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.related a { display: block; padding: 1.5rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.related strong { display: block; font-weight: 500; font-size: 1.1rem; }
.related span { color: var(--muted); font-size: 0.95rem; }
.related a:hover strong { color: var(--paint); }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; gap: 0; } }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; }
.cta-band h2 { margin: 0; max-width: 18ch; }

/* Footer */
.site-foot { padding-block: 3.5rem 2.5rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid h2 { font-size: 0.92rem; font-weight: 560; letter-spacing: 0; color: var(--ink); margin-bottom: 0.75rem; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
