@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/InterTight-latin-var.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #111315;
  --ink-soft: #3a3f45;
  --paper: #ffffff;
  --mist: #f4f5f6;
  --mist-2: #e9ebed;

  --primary: var(--ink);
  --secondary: var(--ink);
  --accent: #2554d6;
  --accent-hover: #1c43b0;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, transparent);
  --on-accent: #ffffff;
  --bg: var(--mist);
  --bg-light: var(--paper);
  --surface: var(--paper);
  --light: var(--mist);
  --text-light: var(--ink);
  --heading: var(--ink);
  --footer: var(--ink);
  --muted: #4a5058;
  --border: #e4e6e9;
  --star: var(--ink);

  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-hero: clamp(3rem, 1.6rem + 6vw, 6.5rem);
  --fs-h1: clamp(2.4rem, 1.6rem + 3.4vw, 4.25rem);
  --fs-h2: clamp(2rem, 1.5rem + 2vw, 3rem);

  --container: 1640px;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --space-section: clamp(4rem, 3rem + 4vw, 7rem);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 18px;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: 0 1px 2px rgb(17 19 21 / 0.06), 0 12px 32px rgb(17 19 21 / 0.08);

  --blueprint-light: none;
  --blueprint-dark: none;
  --ruler-h: none;
}

.dark-mode {
  --ink: #f1f2f4;
  --ink-soft: #c9cdd1;
  --paper: #111315;
  --mist: #1c1f22;
  --mist-2: #2a2e33;
  --primary: #f1f2f4;
  --secondary: #f1f2f4;
  --accent: #7f9fff;
  --accent-hover: #a3bbff;
  --on-accent: #0b1020;
  --heading: #f1f2f4;
  --text-light: #f1f2f4;
  --muted: #b9bec4;
  --border: #2a2e33;
  --footer: #0b0c0d;
  --star: #f1f2f4;
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
}

h1, h2, h3, h4,
.section-title,
.page-hero-title,
.cta-banner-title {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h3 { letter-spacing: -0.02em; }

.eyebrow,
.section-head .eyebrow,
.tag-label { display: none !important; }

.section-head::after,
.page-hero::after,
.frame-corners::before,
.frame-corners::after { display: none; }

.section-head { padding-bottom: 0; }
@media (min-width: 900px) {
  .section-head--left { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
}
.section-subtitle { font-size: 1.1rem; }

.dorn-section { background: var(--paper); }
.dorn-section--alt { background: var(--mist); }
.dorn-section--dark { background: var(--ink); color: rgb(255 255 255 / 0.85); }
.dark-mode .dorn-section--dark { background: #000000; }

.btn,
.cta-button,
.cta-button-secondary,
.btn-submit,
.e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8em 1.5em;
  border: 1.5px solid transparent;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color var(--dur) ease, border-color var(--dur) ease, color var(--dur) ease, transform var(--dur-fast) var(--ease-out);
}
.e-btn svg { width: 1.1em; height: 1.1em; }
.e-btn:active, .btn:active { transform: scale(0.98); }
.e-btn--lg { min-height: 56px; padding-inline: 1.75em; font-size: 1.05rem; }

.btn--primary,
.cta-button,
.btn-submit,
.e-btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper) !important;
  box-shadow: none;
}
.btn--primary:hover,
.cta-button:hover,
.btn-submit:hover,
.e-btn--solid:hover { background: var(--ink-soft); border-color: var(--ink-soft); }

.btn--ghost,
.cta-button-secondary { border-color: var(--border); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--light,
.e-btn--light { background: #ffffff; border-color: #ffffff; color: #111315 !important; }
.btn--light:hover,
.e-btn--light:hover { background: #e9ebed; border-color: #e9ebed; }

.text-link { color: var(--ink); font-weight: 600; }

.e-header {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 1px 0 var(--border);
}
.e-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 80px;
}
.e-brand { display: flex; align-items: baseline; gap: 0.6rem; color: var(--ink); text-decoration: none; min-width: 0; }
.e-brand__name { font-weight: 700; font-size: 1.65rem; letter-spacing: -0.045em; }
.e-brand__dot { color: var(--accent); }
.e-brand__logo { max-height: 44px; width: auto; }
.e-brand__tagline { font-size: 0.85rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.e-nav__list { display: flex; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.e-nav__list a { color: var(--ink); font-weight: 500; font-size: 0.98rem; text-decoration: none; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.e-nav__list a:hover,
.e-nav__list .current-menu-item > a { border-bottom-color: currentColor; }

.e-header__actions { display: flex; align-items: center; gap: 1rem; }
.e-header__phone { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.e-header__cta { min-height: 44px; padding-inline: 1.15em; font-size: 0.95rem; }
.e-header .theme-toggle { color: var(--ink); }
.e-header .mobile-menu-btn { display: none; color: var(--ink); }

@media (max-width: 1100px) {
  .e-brand__tagline, .e-header__phone { display: none; }
}
@media (max-width: 900px) {
  .e-nav { display: none; }
  .e-header .mobile-menu-btn { display: inline-flex; }
  .e-header__row { min-height: 68px; }
}
@media (max-width: 520px) {
  .e-header__cta { display: none; }
}

.e-has-hero .site-content { padding-top: 0; }
.e-has-hero .e-header:not(.is-scrolled) {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.e-has-hero .e-header:not(.is-scrolled) :is(.e-brand, .e-nav__list a, .e-header__phone, .theme-toggle, .mobile-menu-btn) { color: #ffffff; }
.e-has-hero .e-header:not(.is-scrolled) .e-brand__tagline { color: rgb(255 255 255 / 0.8); }
.e-has-hero .e-header:not(.is-scrolled) .e-brand__dot { color: #9db6ff; }
.e-has-hero .e-header:not(.is-scrolled) .e-header__cta { background: #ffffff; border-color: #ffffff; color: #111315 !important; }
.e-has-hero .e-header:not(.is-scrolled) .menu-icon span { background: #ffffff; }

.hero-ba {
  --pos: 58%;
  position: relative;
  height: clamp(620px, 92vh, 920px);
  height: clamp(620px, 92svh, 920px);
  overflow: hidden;
  background: #2e3237;
  color: #ffffff;
  isolation: isolate;
}
.hero-ba__media,
.hero-ba__after,
.hero-ba__before { position: absolute; inset: 0; }
.hero-ba__media img { width: 100%; height: 100%; object-fit: cover; }

.hero-ba__before {
  clip-path: inset(0 0 0 var(--pos));
  opacity: 0;
  transition: opacity 400ms ease;
}
.hero-ba.is-ready .hero-ba__before { opacity: 1; }

.hero-ba__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: rgb(255 255 255 / 0.9);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.hero-ba__handle {
  position: absolute;
  top: 46%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  translate: -50% -50%;
  border-radius: 50%;
  background: #ffffff;
  color: #111315;
  box-shadow: 0 4px 20px rgb(0 0 0 / 0.3);
}
.hero-ba__handle svg { width: 18px; height: 18px; margin-inline: -3px; }

.hero-ba__tag {
  position: absolute;
  top: calc(var(--header-h, 80px) + 1.25rem);
  z-index: 2;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgb(17 19 21 / 0.55);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 400ms ease;
}
.hero-ba__tag--after { left: var(--gutter); }
.hero-ba__tag--before { right: var(--gutter); }
.hero-ba.is-ready :is(.hero-ba__divider, .hero-ba__tag) { opacity: 1; }

.hero-ba__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgb(10 11 12 / 0.72) 0%, rgb(10 11 12 / 0.12) 50%, rgb(10 11 12 / 0.45) 100%);
  pointer-events: none;
}

.hero-ba__content {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(1.75rem, 1rem + 3vw, 3.5rem);
}
.hero-ba__text { flex: 999 1 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }
.hero-ba__title {
  max-width: 14ch;
  margin: 0;
  color: #ffffff;
  font-size: var(--fs-hero);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero-ba__compare { flex: 0 1 320px; }
.hero-ba__range { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.9rem; color: rgb(255 255 255 / 0.9); }
.hero-ba__range-labels { display: flex; justify-content: space-between; }
.hero-ba__range input { width: 100%; min-height: 44px; margin: 0; accent-color: #ffffff; cursor: ew-resize; }
.hero-ba__toggle,
.hero-ba__caption--mobile { display: none; }

@media (max-width: 767px) {
  .hero-ba { height: min(640px, 88svh); }
  .hero-ba__before { clip-path: none; }
  .hero-ba.is-ready .hero-ba__before { opacity: 0; }
  .hero-ba.is-before .hero-ba__before { opacity: 1; }
  .hero-ba__divider,
  .hero-ba__tag,
  .hero-ba__range { display: none; }
  .hero-ba__content { flex-direction: column-reverse; align-items: stretch; gap: 1.25rem; }
  .hero-ba__text { flex: none; }
  .hero-ba__text .e-btn { width: 100%; }
  .hero-ba__compare { position: absolute; top: calc(var(--header-h, 68px) + 0.75rem); right: var(--gutter); }
  .hero-ba__toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 1rem;
    border: 1px solid rgb(255 255 255 / 0.6);
    border-radius: 999px;
    background: rgb(17 19 21 / 0.35);
    color: #ffffff;
    font: 600 0.9rem var(--font);
    cursor: pointer;
  }
  .hero-ba__toggle[aria-busy="true"] { opacity: 0.7; }
  .hero-ba__caption--mobile { display: block; position: absolute; right: 0; top: 52px; white-space: nowrap; font-size: 0.85rem; color: rgb(255 255 255 / 0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ba__before, .hero-ba__divider, .hero-ba__tag { transition: none; }
}

.e-bento-section { padding-block: 1rem var(--space-section); }
.e-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 16px;
}
.e-bento__photo {
  position: relative;
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--ink);
  text-decoration: none;
}
.e-bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) { a.e-bento__photo:hover img { transform: scale(1.03); } }
.e-bento__label {
  position: absolute;
  inset: auto 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: calc(var(--radius) - 4px);
  background: var(--paper);
}
.e-bento__label strong { display: block; font-size: 1.2rem; letter-spacing: -0.02em; }
.e-bento__label small { color: var(--muted); font-size: 0.9rem; }
.e-bento__go { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); rotate: 45deg; }
.e-bento__go svg { width: 18px; height: 18px; }

.e-bento__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--ink);
}
.e-bento__card--accent { background: var(--accent); color: var(--on-accent); }
.e-bento__card--dark { background: var(--ink); color: var(--paper); }
.e-bento__icon svg { width: 34px; height: 34px; }
.e-bento__body > * { margin: 0; }
.e-bento__value { font-size: clamp(3rem, 2.4rem + 2vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -0.045em; }
.e-bento__stars { display: flex; gap: 3px; margin-top: 0.6rem !important; }
.e-bento__stars svg { width: 18px; height: 18px; fill: currentColor; }
.e-bento__title { font-size: 1.65rem; font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.e-bento__text { margin-top: 0.5rem !important; font-size: 0.95rem; opacity: 0.85; }

@media (max-width: 1000px) {
  .e-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .e-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px; }
  .e-bento__photo { grid-column: 1 / -1; grid-row: auto; min-height: 280px; }
  .e-bento__card { padding: 1.25rem; min-height: 150px; }
  .e-bento__card--accent { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; min-height: 0; }
  .e-bento__card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .e-bento__value { font-size: 2.75rem; }
  .e-bento__title { font-size: 1.3rem; }
}

.services-grid { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.service-card {
  gap: 0.6rem;
  min-height: 260px;
  padding: 1.75rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--mist);
  box-shadow: none;
}
.service-card::after { display: none; }
.service-card .service-icon { width: 44px; height: 44px; margin-bottom: auto; border-radius: 50%; background: var(--paper); }
.service-card .service-icon svg { width: 20px; height: 20px; fill: none; color: var(--ink); }
.service-card h3 { margin-top: 2rem; font-size: 1.6rem; }
.service-card .text-link { margin-top: 0.25rem; }
@media (hover: hover) and (pointer: fine) {
  .service-card:hover { transform: translateY(-4px); box-shadow: none; background: var(--mist-2); }
}
.service-card-media { border-radius: calc(var(--radius) - 6px); overflow: hidden; }

.service-row { border-color: var(--border); }
.service-row .service-icon { background: var(--mist); color: var(--ink); }

.process-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 2rem;
  padding-left: 0;
}
.process-list::before,
.process-list::after { display: none !important; }
.process-list .process-step { padding-top: 1.25rem !important; border-top: 2px solid var(--ink); background: none; box-shadow: none; }
.process-list .step-number {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 0.6rem;
  translate: none;
  border: 0;
  border-radius: 0;
  background: none !important;
  color: var(--accent) !important;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  box-shadow: none;
}
.process-list .step-number svg { display: none; }
.process-list .step-title { font-size: 1.35rem; }
.process-list .step-description { color: var(--muted); }
.process-step { border-radius: 0; }

.portfolio-item { border-radius: var(--radius); box-shadow: none; aspect-ratio: 4 / 3; }
.portfolio-item::before { background: linear-gradient(180deg, transparent 45%, rgb(0 0 0 / 0.7) 100%); }
.filter-btn {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-weight: 500;
}
.filter-btn.active,
.filter-btn[aria-pressed="true"] { background: none; color: var(--ink); border-bottom-color: var(--ink); box-shadow: none; }
.realisations-filters { gap: 0.5rem 1.75rem; }
.realisations-grid img,
.realisation-card img { border-radius: var(--radius); }

.review-item { border: 0; border-radius: var(--radius); background: var(--mist); box-shadow: none; }
.review-text { font-size: 1.1rem; line-height: 1.5; color: var(--ink); }

.page-hero { background: var(--paper); padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-hero-title { font-size: var(--fs-h1); }
.page-hero-media img { border-radius: var(--radius); }

.cta-banner {
  margin: 0 var(--gutter) var(--space-section);
  border-radius: var(--radius);
  background: var(--ink);
}
.dark-mode .cta-banner { background: var(--mist); }
.cta-banner-title { color: #ffffff; }
.dark-mode .cta-banner-title { color: var(--ink); }
.cta-banner-card { border-radius: calc(var(--radius) - 4px); box-shadow: none; }
.contact-line { border-radius: 12px; }

.dorn-contact-form-wrapper { border-radius: var(--radius); box-shadow: none; border: 0; background: var(--mist); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
  font-family: var(--font);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }

.faq-item { border-radius: 14px; }

.e-footer { background: var(--ink); color: rgb(255 255 255 / 0.78); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 2rem; }
.dark-mode .e-footer { background: #000000; }
.e-footer a { color: #ffffff; }
.e-footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}
.e-footer__title { margin: 0; color: #ffffff; font-size: var(--fs-h2); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; }
.e-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 2rem;
  padding-block: 2.5rem;
}
.e-footer__name { margin: 0 0 0.5rem; color: #ffffff; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.04em; }
.e-footer__name span { color: #9db6ff; }
.e-footer__h { margin: 0 0 0.75rem; color: #ffffff; font-size: 0.95rem; letter-spacing: 0; }
.e-footer__list { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.e-footer__list a { text-decoration: none; }
.e-footer__list a:hover { text-decoration: underline; }
.e-footer__list li span:first-child { display: inline-block; min-width: 7.5em; color: rgb(255 255 255 / 0.6); }
.e-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.9rem;
}
.e-footer__bottom p { margin: 0; }

.back-to-top { border-radius: 14px; background: var(--ink); color: var(--paper); }
.dorn-switcher { font-family: var(--font); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
