/* Site vitrine: electricite, direction plein cadre. */
@font-face { font-family: "Playfair"; src: url("fonts/playfair.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("fonts/playfair-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Text"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --paper: oklch(0.985 0.006 85); --paper-2: oklch(0.955 0.012 85); --ink: oklch(0.2 0.02 60); --muted: oklch(0.45 0.02 60); --rule: oklch(0.88 0.012 80); --night: oklch(0.17 0.02 260);
  --accent: oklch(0.72 0.17 55); --accent-strong: oklch(0.64 0.17 52); --on-accent: oklch(0.2 0.02 60); --accent-text: oklch(0.5 0.14 50); --accent-soft: oklch(0.94 0.05 60); --bright: oklch(0.76 0.16 55); --on-bright: oklch(0.2 0.02 60);
  --serif: "Playfair", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Text", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rad: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
a { color: inherit; }
::selection { background: var(--bright); color: var(--on-bright); }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.i { flex: none; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; }
h1, h2, h3, .brand, .n, .num, .bigtel { font-family: var(--serif); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; background: var(--bright); color: var(--on-bright); border: 1.5px solid var(--bright); font: 700 .92rem/1.15 var(--text); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; font-size: .82rem; }
.btn-lg { padding: 17px 28px; font-size: .95rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .65); }
.btn-ghost:hover { background: rgb(255 255 255 / .12); border-color: #fff; }

/* the first screen is one picture */
.hero { position: relative; min-height: min(100vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--accent); overflow: hidden; }
.bg { position: absolute; inset: 0; }
.bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg svg { position: absolute; right: -6%; top: 0; height: 100%; width: auto; aspect-ratio: 4 / 5; --a1: var(--paper); --a2: var(--night); --a3: var(--accent-strong); --a4: var(--accent-soft); }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 10 16 / .62) 0%, rgb(8 10 16 / .18) 32%, rgb(8 10 16 / .74) 100%); }
.top { position: absolute; z-index: 5; inset: 0 0 auto; color: #fff; }
.bar { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { margin-right: auto; font-size: 1.55rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 12px rgb(0 0 0 / .35); }
.nav { display: flex; gap: 32px; }
.nav a { text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgb(255 255 255 / .92); text-shadow: 0 1px 10px rgb(0 0 0 / .4); }
.nav a:hover { color: var(--bright); }
.hero-in { position: relative; z-index: 2; padding: 150px 0 64px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bright); margin-bottom: 18px; }
h1 { max-width: 15em; font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.02; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; }
h1 em { font-style: italic; color: var(--bright); }
.lead { margin-top: 24px; max-width: 32em; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: rgb(255 255 255 / .88); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 36px; border-top: 1px solid rgb(255 255 255 / .35); }
.facts > div { padding: 18px 24px 0 0; }
dt { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgb(255 255 255 / .7); margin-bottom: 4px; }
dd { font-weight: 600; }
dd a { text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }

.section { padding: 100px 0; }
.tint { background: var(--paper-2); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 44px; text-wrap: balance; }
h3 { font-size: 1.4rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }

/* services: wide ruled lines */
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.line { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr) 44px; gap: 28px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--rule); transition: background-color .2s, padding .2s; }
.line:hover { background: var(--paper-2); padding-inline: 18px; }
.line h3 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
.line p { color: var(--muted); }
.n { font-size: 1.15rem; font-style: italic; color: var(--accent-text); font-variant-numeric: lining-nums; }
.ico { color: var(--accent-text); justify-self: end; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { padding: 8px 36px 8px 0; }
.steps li + li { padding-left: 36px; border-left: 1px solid var(--rule); }
.num { display: block; font-style: italic; font-size: 3rem; line-height: 1; color: var(--accent-text); margin-bottom: 14px; }
.steps p { margin-top: 8px; color: var(--muted); max-width: 22em; }

/* closing: a second full-bleed picture, or the accent colour */
.end { position: relative; color: #fff; background: var(--accent); overflow: hidden; }
.end-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.end-shade { position: absolute; inset: 0; background: rgb(8 10 16 / .66); }
.end-in { position: relative; z-index: 2; padding: 110px 0; display: grid; gap: 12px; justify-items: start; }
.end h2 { margin-bottom: 4px; }
.end p { font-size: 1.15rem; color: rgb(255 255 255 / .9); }
.bigtel { margin-top: 10px; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; font-variant-numeric: lining-nums tabular-nums; border-bottom: 3px solid var(--bright); line-height: 1.1; }
.route { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; }

.foot { background: var(--night); color: rgb(255 255 255 / .72); padding: 48px 0 56px; font-size: .97rem; }
.foot-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.foot strong { color: #fff; font-weight: 600; }
.foot a { text-decoration: none; }

.callbar { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero { min-height: 640px; }
  .hero-in { padding: 120px 0 40px; }
  .section { padding: 64px 0; }
  h2 { margin-bottom: 30px; }
  .line { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; padding: 26px 0; }
  .line p { grid-column: 2; }
  .ico { display: none; }
  .line:hover { padding-inline: 0; background: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .end-in { padding: 72px 0; }
  .actions .btn-lg { width: 100%; }
  body:has(.callbar) { padding-bottom: 84px; }
  .callbar { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; padding: 16px 20px; background: var(--bright); color: var(--on-bright); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; text-decoration: none; }
}
@media (max-width: 520px) { .bar .btn-sm { display: none; } }

.about-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-in.solo { grid-template-columns: minmax(0, 780px); }
.about-txt p { margin-top: 18px; font-size: 1.12rem; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.about-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--rad, 4px); }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.gallery.g2 { grid-template-columns: repeat(2, 1fr); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--rad, 4px); }
.gallery.g4 { grid-template-columns: repeat(2, 1fr); }
.gallery.g4 img:first-child { grid-column: span 2; aspect-ratio: 16 / 7; }
.credits { margin-top: 18px; font-size: .82rem; opacity: .65; }
@media (max-width: 900px) { .about-in { grid-template-columns: 1fr; gap: 28px; } .gallery, .gallery.g4 { grid-template-columns: 1fr 1fr; } .gallery.g4 img:first-child { aspect-ratio: 4 / 3; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .line { transition: none; } }
