@font-face { font-family: "MiaCorps"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "MiaCorps"; font-weight: 600 700; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "MiaTitre"; font-weight: 400 900; font-style: normal; font-display: swap; src: url("../fonts/inter-display-700.woff") format("woff"); }
/* Layout: sticky header (logo left, menu right) > rotating hero > 4 process steps > welcome + testimonials > project gallery > contact footer */
:root {
  --bg: #ffffff;
  --surface: #f3f4f4;
  --ink: #1f2427;
  --muted: #5d676c;
  --line: #dfe3e4;
  --accent: #e2711d;
  --accent-ink: #ffffff;
  --dark: #20262a;
  --dark-ink: #f1f3f3;
  --hero-a: #2b3338;
  --hero-b: #3d4a50;
  --font-display: "MiaTitre", "Segoe UI", Arial, sans-serif;
  --font-body: "MiaCorps", "Segoe UI", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14181a; --surface: #1c2225; --ink: #eceeee; --muted: #a2adb1; --line: #2e373b;
    --accent: #f08a3a; --accent-ink: #14181a; --dark: #0e1214; --dark-ink: #eceeee;
    --hero-a: #1a2024; --hero-b: #2a353a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14181a; --surface: #1c2225; --ink: #eceeee; --muted: #a2adb1; --line: #2e373b;
  --accent: #f08a3a; --accent-ink: #14181a; --dark: #0e1214; --dark-ink: #eceeee;
  --hero-a: #1a2024; --hero-b: #2a353a; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; margin: 0; text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: 64px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 28px; text-transform: uppercase; letter-spacing: .04em; }
.logo img { display: block; height: 52px; width: auto; max-width: 100%; background: #fff; padding: 4px 8px; }
@media (max-width: 480px) { .logo img { height: 40px; } }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
nav li { position: relative; }
nav a, nav button.nv { display: block; padding: 10px 14px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; background: none; border: 0; color: var(--ink); cursor: pointer; }
nav a:hover, nav button.nv:hover { color: var(--accent); }
nav ul ul { position: absolute; left: 0; top: 100%; min-width: 210px; background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--accent); flex-direction: column; gap: 0; display: none; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
nav li:hover > ul, nav li:focus-within > ul { display: flex; }
nav ul ul a { font-size: 14px; padding: 10px 16px; }
.burger { display: none; background: none; border: 1px solid var(--line); color: var(--ink); width: 44px; height: 44px; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  nav.open { display: block; }
  nav ul { flex-direction: column; padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; }
  nav ul ul { position: static; display: flex; box-shadow: none; border: 0; border-left: 3px solid var(--accent); margin-left: 14px; }
}

/* hero */
.hero { background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: #f4f6f6; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(255,255,255,.07) 49.6% 50.4%, transparent 50.4%) 0 0 / 160px 100%,
    linear-gradient(0deg, transparent 49.6%, rgba(255,255,255,.07) 49.6% 50.4%, transparent 50.4%) 0 0 / 100% 160px; }
.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; padding-block: 88px 104px; opacity: 0; visibility: hidden; transition: opacity .7s ease; }
.slide.on { opacity: 1; visibility: visible; }
.slides.wrap { padding-left: 0; padding-right: 0; }
.slide { position: relative; }
.slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,19,21,.86) 0%, rgba(14,19,21,.58) 48%, rgba(14,19,21,.22) 100%); }
.slide > .wrap { position: relative; }
.hero::before { display: none; }
.slide .kick { font-family: var(--font-display); font-size: clamp(15px, 2.4vw, 20px); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 8px; }
.slide h2 { font-size: clamp(32px, 5.4vw, 60px); max-width: 16ch; font-weight: 700; line-height: 1.08; }
.slide p { max-width: 52ch; font-size: 19px; color: #d4dadc; margin: 18px 0 28px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 12px 26px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.dots { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; gap: 10px; }
.dots .wrap { display: flex; gap: 10px; }
.dots button { width: 38px; height: 6px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.dots button[aria-current="true"] { background: var(--accent); }

/* steps */
.sec-title { text-align: center; margin-bottom: 40px; }
.sec-title h2 { font-size: clamp(26px, 4vw, 36px); }
.sec-title i { display: block; width: 56px; height: 4px; background: var(--accent); margin: 14px auto 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { text-align: center; min-width: 0; }
.ico { width: 92px; height: 92px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); margin: 0 auto 18px; display: grid; place-items: center; color: var(--accent); transition: background .2s, color .2s; }
.step:hover .ico { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ico svg { width: 44px; height: 44px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0 0 10px; color: var(--muted); }
.more { font-weight: 600; color: var(--accent); text-decoration: none; }
.more:hover { text-decoration: underline; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* welcome */
.welcome { background: var(--surface); }
.welcome .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.welcome h2 { font-size: clamp(28px, 4.2vw, 40px); margin-bottom: 24px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.points b { width: 44px; height: 44px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; }
.points p { margin: 0; }
.testi h2 { font-size: clamp(24px, 3.6vw, 32px); margin-bottom: 20px; }
.quote { border-left: 4px solid var(--accent); background: var(--bg); padding: 22px 24px; min-height: 190px; }
.quote p { margin: 0 0 14px; }
.quote cite { font-style: normal; font-weight: 600; font-family: var(--font-display); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.quote .tag { display: inline-block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border: 1px dashed var(--line); padding: 1px 8px; margin-bottom: 10px; }
.arrows { display: flex; gap: 8px; margin-top: 14px; }
.arrows button { width: 44px; height: 44px; background: var(--dark); color: var(--dark-ink); border: 0; font-size: 22px; cursor: pointer; }
.arrows button:hover { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 800px) { .welcome .grid { grid-template-columns: 1fr; gap: 40px; } }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--dark); color: #fff; display: flex; align-items: flex-end; min-width: 0; }
.tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile figcaption { position: relative; width: 100%; padding: 36px 16px 14px; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent); }
.tile h3 { font-size: 19px; }
.tile small { color: #cdd3d5; font-size: 14px; }
.tile:hover svg { transform: scale(1.04); }
.tile svg { transition: transform .35s ease; }
@media (max-width: 860px) { .gal { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gal { grid-template-columns: 1fr; } }

/* footer */
footer { background: var(--dark); color: var(--dark-ink); padding-block: 56px 28px; }
.fcols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
footer h3 { font-size: 20px; margin-bottom: 14px; color: var(--accent); }
footer p { margin: 0 0 8px; color: #c9d0d2; }
footer form { display: flex; gap: 0; flex-wrap: wrap; }
footer input { flex: 1 1 160px; min-width: 0; padding: 12px 14px; border: 1px solid #3b474c; background: #151a1d; color: #f1f3f3; font: inherit; }
footer .btn { padding: 12px 18px; }
.fmsg { min-height: 24px; font-size: 15px; color: #c9d0d2; margin-top: 8px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social span { width: 40px; height: 40px; border: 1px solid #3b474c; display: grid; place-items: center; font-family: var(--font-display); font-size: 15px; }
.copy { border-top: 1px solid #323d42; margin-top: 36px; padding-top: 18px; font-size: 14px; color: #9aa6aa; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .fcols { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
