

[data-brand="security"] {
  --brand: #202624;
  --accent: #C2AA78;
  --accent-dark: #89734D;
  --surface: #F8F6F1;
  --surface-alt: #E6DED0;
  --text: #202624;
  --muted: #59615C;
  --radius: 8px;
  --unit: 4px;
}

[data-brand="cleaning"] {
  --brand: #173D4C;
  --accent: #71947D;
  --accent-dark: #214D3D;
  --surface: #F8FAF6;
  --surface-alt: #E5EDE5;
  --text: #173D4C;
  --muted: #4B6E61;
  --radius: 8px;
  --unit: 4px;
}

@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/noto-sans-arabic-arabic-wght-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/noto-sans-latin-wght-normal.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;
}

:root {
  --font: 'Noto Sans Arabic', 'Noto Sans', 'Segoe UI', Tahoma, 'Geeza Pro', system-ui, sans-serif;
  --font-latin: 'Noto Sans', 'Segoe UI', system-ui, sans-serif;

  
  --fs-display: clamp(2rem, 1.45rem + 2.3vw, 3rem);      
  --fs-h1: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);       
  --fs-h2: clamp(1.5rem, 1.33rem + 0.75vw, 1.875rem);    
  --fs-h3: clamp(1.25rem, 1.19rem + 0.25vw, 1.375rem);   
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);     
  --fs-small: 0.9375rem;
  --fs-caption: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem); 

  
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px;
  --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px;
  --gutter: clamp(20px, 5vw, 80px);
  --wrap: 1440px;
  --section: clamp(72px, 9vw, 144px);
  --bar: 76px;            
  --utility: 44px;        
  --edge: clamp(28px, 5.5vw, 96px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar) + var(--s4));
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--ink, #222);
  background: var(--bg, #fff);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.5; text-wrap: balance; }
h1 { font-weight: 700; }
h2 { font-weight: 700; }
h3, h4 { font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: normal; }
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.latin { font-family: var(--font-latin); unicode-bidi: isolate; }
[lang='en'] { font-family: var(--font-latin); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: var(--s2);
  inset-inline-start: var(--s2);
  z-index: 200;
  padding: var(--s3) var(--s5);
  border-radius: var(--radius, 8px);
  background: #fff;
  color: #000;
  font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 3px solid var(--focus, #000);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--focus-on-dark, #fff); }

.num {
  font-family: var(--font-latin);
  font-size: var(--fs-caption);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  html[data-motion] .is-pending {
    opacity: 0;
    transform: translateY(18px);
  }
  html[data-motion] [data-reveal] {
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: var(--delay, 0s);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html:not([data-js]) .qform, html:not([data-js]) .site-header__toggle { display: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 28px;
  height: 10px;
  background: var(--mark);
}
[data-brand='security'] .eyebrow::before { clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
[data-brand='cleaning'] .eyebrow::before { border-radius: 10px 10px 2px 10px; height: 8px; }

.section-head {
  display: grid;
  justify-items: start;
  gap: var(--s4);
  max-width: 820px;
  margin-bottom: clamp(32px, 4.5vw, 72px);
}
.section-head h2 { font-size: var(--fs-h1); line-height: 1.45; }
.section-head__body { max-width: 60ch; color: var(--muted); }
.section-head--dark .eyebrow { color: var(--on-dark); }
.section-head--dark .eyebrow::before { background: var(--mark-on-dark); }
.section-head--dark .section-head__body { color: var(--on-dark-soft); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  min-height: 52px;
  padding: var(--s3) var(--s6);
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: none;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.button .icon { flex: none; transition: transform 0.3s var(--ease-out); }
.button:hover .icon:last-child:not(:first-child) { transform: translateX(-4px); }
.button--small { min-height: 44px; padding: var(--s1) var(--s5); font-size: var(--fs-small); }

.button--solid { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.button--solid:hover { background: transparent; color: var(--btn); }
.button--outline { border-color: var(--ink); color: var(--ink); }
.button--outline:hover { background: var(--ink); color: var(--bg); }
.button--on-dark-solid { background: var(--btn-on-dark); border-color: var(--btn-on-dark); color: var(--btn-on-dark-ink); }
.button--on-dark-solid:hover { background: var(--btn-on-dark-hover); border-color: var(--btn-on-dark-hover); }
.button--on-dark-outline { border-color: var(--on-dark); color: var(--on-dark); }
.button--on-dark-outline:hover { background: var(--on-dark); color: var(--dark); }

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--mark);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.text-link .icon { transition: transform 0.3s var(--ease-out); }
.text-link:hover .icon { transform: translateX(-4px); }
.text-link--on-dark { color: var(--on-dark); text-decoration-color: var(--mark-on-dark); }

.text-button {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
  cursor: pointer;
}

.edge {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  z-index: 2;
  width: 100%;
  height: var(--edge);
  fill: var(--bg);
  pointer-events: none;
}
.edge--flip { top: -1px; bottom: auto; transform: scale(-1, -1); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--on-dark);
  transition: transform 0.45s var(--ease), background-color 0.3s var(--ease);
}
.site-header :focus-visible { outline-color: var(--focus-on-dark); }
.site-header.is-scrolled {
  transform: translateY(calc(-1 * var(--utility)));
  background: var(--dark);
  box-shadow: 0 1px 0 var(--line-on-dark);
}

.utility { min-height: var(--utility); border-bottom: 1px solid var(--line-on-dark); font-size: var(--fs-caption); }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); height: 100%; }
.utility a {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  color: var(--on-dark-soft);
  text-decoration: none;
}
.utility a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 6px; }
.utility__switch ul { display: flex; gap: var(--s5); }
.utility__switch [aria-current='page'] {
  color: var(--on-dark);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--mark-on-dark);
}
@media (max-width: 599.98px) {
  .utility__switch [aria-current='page'] { display: none; }
}

.site-header__bar { display: flex; align-items: center; gap: var(--s6); height: var(--bar); }
.site-header__logo { flex: none; display: block; }
.site-header__logo img { width: 220px; height: auto; }   
@media (min-width: 1200px) { .site-header__logo img { width: 264px; } }
.site-header__nav { display: none; flex: 1; }
.site-header__nav ul { display: flex; justify-content: center; gap: clamp(16px, 2vw, 36px); }
.site-header__nav a {
  position: relative;
  display: inline-block;
  padding-block: var(--s2);
  font-size: var(--fs-small);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 2px;
  height: 2px;
  background: var(--mark-on-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.site-header__nav a:hover::after,
.site-header__nav a[aria-current='true']::after { transform: scaleX(1); }
.site-header__cta { display: none; margin-inline-start: auto; }
.site-header__toggle { margin-inline-start: auto; color: var(--on-dark); margin-inline-end: -10px; }
.site-header__progress {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--mark-on-dark);
  transform: scaleX(0);
  transform-origin: right;
}
@media (min-width: 600px) {
  .site-header__cta { display: inline-flex; }
  .site-header__toggle { margin-inline-start: 0; }
}
@media (min-width: 1200px) {
  .site-header__nav { display: block; }
  .site-header__cta { margin-inline-start: 0; }
  .site-header__toggle { display: none; }
}

.menu {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0 var(--gutter) max(var(--s8), env(safe-area-inset-bottom));
  border: 0;
  background: var(--dark);
  color: var(--on-dark);
  overflow-y: auto;
}
.menu :focus-visible { outline-color: var(--focus-on-dark); }
.menu::backdrop { background: var(--dark); }
.menu__head { position: sticky; top: 0; z-index: 1; background: var(--dark); display: flex; align-items: center; justify-content: space-between; height: var(--bar); margin-bottom: var(--s4); }
.menu__head img { width: 220px; }
.menu__head .icon-button { margin-inline-end: -10px; }
.menu__nav li { border-bottom: 1px solid var(--line-on-dark); }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: var(--s4);
  padding-block: var(--s3);
  font-size: clamp(1.25rem, 1rem + 1.6vw, 1.75rem);
  font-weight: 700;
  text-decoration: none;
}
.menu__num { font-size: var(--fs-caption); color: var(--accent-on-dark); font-weight: 600; }
.menu__cta { width: 100%; margin-top: var(--s8); }
.menu__foot { display: grid; gap: var(--s1); margin-top: var(--s8); padding-top: var(--s4); border-top: 2px solid var(--mark-on-dark); }
.menu__label { font-size: var(--fs-caption); color: var(--on-dark-soft); }
.menu__switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  font-weight: 600;
  text-decoration: none;
}
@media (prefers-reduced-motion: no-preference) {
  .menu[open] { animation: menu-in 0.35s var(--ease-out); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
}

.media {
  position: relative;
  margin: 0;
  aspect-ratio: var(--ratio, 4 / 3);
  overflow: hidden;
  border-radius: var(--radius);
}
.media img { width: 100%; height: 100%; object-fit: cover; }

.art { background: var(--art-bg); color: var(--art-line); isolation: isolate; }
.art__pattern { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.art__pattern--lines {
  background: repeating-linear-gradient(-57deg, currentColor 0 1px, transparent 1px 22px);
}
.art__signature {
  
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72%;
  height: auto;
}
[data-brand='cleaning'] .art__signature { width: 118%; } 
.art__number {
  position: absolute;
  top: 6%;
  inset-inline-start: 7%;
  font-size: clamp(2.5rem, 2rem + 1.5vw, 3rem); 
  font-weight: 700;
  line-height: 1;
  color: var(--art-ink);
  letter-spacing: -0.02em;
}
.art__icon {
  position: absolute;
  top: 8%;
  inset-inline-end: 7%;
  display: grid;
  place-items: center;
  width: clamp(56px, 9%, 72px);
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--on-dark);
}
.art__icon .icon { width: 56%; height: 56%; }

.floating {
  position: fixed;
  inset-inline-end: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--on-dark);
  box-shadow: 0 0 0 2px var(--mark-on-dark);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.floating:focus-visible { outline-color: var(--focus); }
.floating.is-hidden { visibility: hidden; opacity: 0; transform: translateY(16px); }

.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 104px) var(--s6);
  background: var(--dark);
  color: var(--on-dark);
}
.site-footer :focus-visible { outline-color: var(--focus-on-dark); }
.site-footer__signature {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(220px, 28vw, 440px);
  height: auto;
  transform: scaleY(-1);   
}
[data-brand='cleaning'] .site-footer__signature { width: clamp(320px, 40vw, 640px); }
[data-brand='security'] .site-footer__signature path:first-child { fill: var(--line-on-dark); }
.site-footer__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s10); }
.site-footer__brand img { width: 240px; margin-bottom: var(--s5); }
.site-footer__brand p { max-width: 42ch; color: var(--on-dark-soft); }
.site-footer h2 { margin-bottom: var(--s2); font-size: var(--fs-small); font-weight: 600; color: var(--accent-on-dark); }
.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-footer__email { overflow-wrap: anywhere; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2) var(--s6);
  margin-top: var(--s12);
  padding-top: var(--s4);
  border-top: 1px solid var(--line-on-dark);
  padding-bottom: 72px;
  font-size: var(--fs-caption);
  color: var(--on-dark-soft);
}
.site-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
  .site-footer__bottom { padding-bottom: 0; }
}

.art__signature, .hero__signature, .site-footer__signature, .method__signature { max-width: none; }

.service:nth-child(3n + 2) .art__signature, .stage__plate:nth-child(3n + 2) .art__signature { width: 52%; }
.service:nth-child(3n + 3) .art__signature, .stage__plate:nth-child(3n + 3) .art__signature { width: 88%; }
[data-brand='cleaning'] .service:nth-child(3n + 2) .art__signature, [data-brand='cleaning'] .stage__plate:nth-child(3n + 2) .art__signature { width: 90%; }
[data-brand='cleaning'] .service:nth-child(3n + 3) .art__signature, [data-brand='cleaning'] .stage__plate:nth-child(3n + 3) .art__signature { width: 150%; }

[data-brand='security'] {
  --ink: var(--text);
  --bg: var(--surface);
  --bg-alt: var(--surface-alt);
  --dark: var(--brand);
  --on-dark: var(--surface);
  --on-dark-soft: var(--surface-alt);         
  --accent-on-dark: var(--accent);            
  --mark: var(--accent-dark);                 
  --mark-on-dark: var(--accent);
  --line: rgb(32 38 36 / 16%);
  --line-strong: var(--brand);
  --line-on-dark: rgb(248 246 241 / 20%);
  --btn: var(--brand);
  --btn-ink: var(--surface);
  --btn-on-dark: var(--accent);
  --btn-on-dark-ink: var(--brand);
  --btn-on-dark-hover: var(--surface);
  --focus: var(--brand);
  --focus-on-dark: var(--accent);
  --art-bg: var(--surface-alt);
  --art-ink: var(--brand);
  --art-line: rgb(32 38 36 / 13%);
}

[data-brand='cleaning'] {
  --leaf: #689447;                            
  --ink: var(--text);
  --bg: var(--surface);
  --bg-alt: var(--surface-alt);
  --dark: var(--brand);
  --on-dark: var(--surface);
  --on-dark-soft: var(--surface-alt);         
  --accent-on-dark: var(--surface-alt);
  --mark: var(--leaf);                        
  --mark-on-dark: var(--accent);              
  --line: rgb(23 61 76 / 16%);
  --line-strong: var(--brand);
  --line-on-dark: rgb(248 250 246 / 20%);
  --btn: var(--brand);
  --btn-ink: var(--surface);
  --btn-on-dark: var(--surface);
  --btn-on-dark-ink: var(--brand);
  --btn-on-dark-hover: var(--surface-alt);
  --focus: var(--brand);
  --focus-on-dark: var(--surface-alt);
  --art-bg: var(--surface-alt);
  --art-ink: var(--brand);
  --art-line: rgb(23 61 76 / 14%);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(600px, 100svh);
  padding-top: calc(var(--utility) + var(--bar) + var(--s8));
  padding-bottom: calc(var(--edge) + var(--s4));
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}
.hero :focus-visible { outline-color: var(--focus-on-dark); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 72%), rgb(0 0 0 / 20%) 60%, rgb(0 0 0 / 45%));
}
.hero__art { position: absolute; inset: 0; background: var(--dark); color: var(--line-on-dark); }
.hero__art .art__pattern { z-index: 0; opacity: 0.55; }

.hero { --sig-w: 46vw; --sig-h: calc(var(--sig-w) * 0.375); padding-bottom: calc(var(--sig-h) + var(--s6)); }
.hero__signature {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--sig-w);
  height: auto;
}
@media (min-width: 1200px) {
  .hero { --sig-w: min(calc(50vw - 240px), 900px); padding-bottom: calc(var(--edge) + var(--s4)); }
}
.hero__signature--echo {
  top: 0;
  bottom: auto;
  width: min(40vw, 640px);
  transform: scaleY(-1);
  opacity: 0.14;
}

[data-brand='cleaning'] .hero { --arc-h: clamp(110px, 22vw, 380px); padding-bottom: calc(var(--arc-h) + var(--edge) * 0.35 + var(--s6)); }
[data-brand='cleaning'] .hero__signature {
  bottom: calc(var(--edge) * 0.35);
  left: -4%;
  width: 118%;
  height: var(--arc-h);
}
[data-brand='cleaning'] .hero__signature--echo { display: none; }
[data-brand='security'] .hero__signature path:first-child { fill: rgb(248 246 241 / 8%); }
[data-brand='cleaning'] .hero__signature path:first-child { fill: rgb(229 237 229 / 10%); }

.hero__inner { position: relative; display: grid; gap: clamp(32px, 5vw, 64px); }
.hero__content { max-width: 760px; }
.hero__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1) var(--s3);
  margin-bottom: var(--s4);
  font-size: var(--fs-small);
  font-weight: 600;
}
.hero__brand .latin { font-size: var(--fs-caption); font-weight: 500; color: var(--accent-on-dark); letter-spacing: 0.06em; text-transform: uppercase; }
.hero__rule { width: 28px; height: 2px; background: var(--mark-on-dark); }
.hero h1 { font-size: var(--fs-display); line-height: 1.4; }
.hero__support { max-width: 56ch; margin-top: var(--s4); font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); color: var(--on-dark-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: clamp(24px, 3vw, 40px); }
.hero__actions .button { flex: 1 1 220px; }
@media (min-width: 560px) { .hero__actions .button { flex: 0 1 auto; } }

.hero__pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
.hero__pillars a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  padding: var(--s2) 0 var(--s2) var(--s3);
  border-top: 1px solid var(--line-on-dark);
  font-size: clamp(0.875rem, 0.8rem + 0.4vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}
.hero__pillars li:first-child a { border-top: 3px solid var(--mark-on-dark); }
.hero__pillars a:hover { border-top-color: var(--mark-on-dark); }
.hero__pillar-num { font-size: var(--fs-caption); color: var(--accent-on-dark); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .hero__content > *, .hero__pillars { animation: rise 0.9s var(--ease-out) both; }
  .hero__content > :nth-child(2) { animation-delay: 0.08s; }
  .hero__content > :nth-child(3) { animation-delay: 0.16s; }
  .hero__content > :nth-child(4) { animation-delay: 0.24s; }
  .hero__pillars { animation-delay: 0.34s; }
  .hero__signature:not(.hero__signature--echo) { animation: sweep 1.4s var(--ease-out) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } }
  @keyframes sweep { from { opacity: 0; transform: translateX(-6%); } }
}

.about { position: relative; padding-block: var(--section); background: var(--bg); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.about h2 { font-size: var(--fs-h1); line-height: 1.5; margin-top: var(--s4); }
.about h2 span { display: block; }
.about h2 span:first-child { width: fit-content; box-shadow: inset 0 -0.16em 0 color-mix(in srgb, var(--mark) 55%, transparent); }
.about__body { display: grid; gap: var(--s4); max-width: 60ch; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); }
.about__body p + p { color: var(--muted); }
.about__pillars { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--line-strong); }
.about__pillars li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0 var(--s2); padding-block: var(--s5); border-bottom: 1px solid var(--line); }
.about__pillars .num { padding-top: 0.45em; }
.about__pillars h3 { font-size: var(--fs-h3); }
.about__pillars p { grid-column: 2; color: var(--muted); }
@media (min-width: 640px) {
  .about__pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s8); }
}
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 7fr 5fr; column-gap: clamp(48px, 7vw, 128px); align-items: end; }
  .about__head { grid-column: 1; grid-row: 1; }
  .about__body { grid-column: 1; grid-row: 2; align-self: start; }
  .about__media { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; aspect-ratio: auto; min-height: 360px; }
  .about__pillars { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; column-gap: clamp(24px, 3vw, 48px); }
  .about__pillars li { border-top: 2px solid var(--line-strong); border-bottom: 0; }
}

.index { padding-block: var(--section); background: var(--bg-alt); }
.index__list { display: grid; border-top: 2px solid var(--line-strong); }
.index__list li { border-bottom: 1px solid var(--line); }
.index__list a {
  display: flex;
  align-items: center;
  gap: var(--s4);
  min-height: 72px;
  padding-block: var(--s3);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.25s;
}
.index__num { flex: none; width: 2rem; font-size: var(--fs-caption); font-weight: 700; color: var(--muted); }
.index__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--bg); color: var(--ink); transition: background-color 0.3s, color 0.3s; }
.index__title { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.index__arrow { flex: none; color: var(--ink); transition: transform 0.35s var(--ease-out); }
.index__list a:hover .index__icon { background: var(--dark); color: var(--on-dark); }
.index__list a:hover .index__arrow { transform: translateX(-6px); }
@media (min-width: 768px) {
  .index__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 72px); border-top: 0; }
  .index__list li { border-top: 1px solid var(--line); border-bottom: 0; }
  .index__list li:nth-child(-n + 2) { border-top: 2px solid var(--line-strong); }
}
@media (min-width: 1200px) {
  .index__list[data-count='6'] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .index__list[data-count='6'] li:nth-child(-n + 3) { border-top: 2px solid var(--line-strong); }
}

.details { padding-block: var(--section); background: var(--bg); }
.service { padding-block: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.details__list .service:first-child { border-top: 0; padding-top: 0; }
.service__media { margin-bottom: var(--s6); }
.service__index { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s4); margin-bottom: var(--s1); font-size: var(--fs-caption); font-weight: 700; color: var(--muted); }
.service__index .latin { font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.service h3 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.5; }
.service__lead { max-width: 58ch; margin-top: var(--s3); font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); }
.service h4 { margin-top: var(--s6); margin-bottom: var(--s2); font-size: var(--fs-small); color: var(--muted); }
.scope { display: grid; gap: var(--s1) var(--s8); }
.scope li { position: relative; padding-inline-start: var(--s6); }
.scope li::before {
  content: '';
  position: absolute;
  top: 0.75em;
  inset-inline-start: 2px;
  width: 12px;
  height: 7px;
  background: var(--mark);
}
[data-brand='security'] .scope li::before { clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%); }
[data-brand='cleaning'] .scope li::before { border-radius: 7px 7px 1px 7px; }
@media (min-width: 560px) { .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service .text-link { margin-top: var(--s5); }

.stage { display: none; }
@media (min-width: 1024px) {
  html[data-js] .details__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 112px); align-items: start; }
  html[data-js] .details__list { grid-column: 1; grid-row: 1; }
  html[data-js] .details__list .service { display: flex; align-items: center; min-height: min(64vh, 640px); }
  html[data-js] .service__media { display: none; }
  html[data-js] .stage {
    position: sticky;
    top: calc(var(--bar) + var(--s6));
    grid-column: 2;
    grid-row: 1;
    display: block;
    height: min(calc(100vh - var(--bar) - var(--s12)), 760px);
  }
}
.stage__frame { position: relative; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--art-bg); }
.stage__plate {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease-out);
}
.stage__plate.is-active { opacity: 1; transform: none; }
.stage__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.stage__caption {
  position: absolute;
  inset: auto 0 0;
  padding: var(--s4) var(--s6);
  background: var(--dark);
  color: var(--on-dark);
  font-weight: 600;
}
.stage__caption span { color: var(--accent-on-dark); margin-inline-end: var(--s2); font-size: var(--fs-caption); }
.stage__ticks { position: absolute; top: var(--s4); bottom: calc(var(--s16) + var(--s4)); inset-inline-start: var(--s4); display: flex; flex-direction: column; gap: 6px; width: 4px; }
.stage__tick { flex: 1; border-radius: 2px; background: var(--line); transition: background-color 0.3s; }
.stage__tick.is-active { background: var(--dark); }

.sectors { position: relative; padding-block: var(--section) calc(var(--section) + var(--edge)); background: var(--bg-alt); }
.sectors__grid { display: grid; gap: var(--s4); }
.sectors__list { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--line-strong); }
.sectors__list li { display: flex; align-items: baseline; gap: var(--s4); min-height: 64px; padding-block: var(--s4); border-bottom: 1px solid var(--line); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); font-weight: 600; }
@media (min-width: 640px) { .sectors__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s8); } }
@media (min-width: 1024px) {
  .sectors__grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 128px); align-items: start; }
  .sectors .section-head { margin-bottom: 0; position: sticky; top: calc(var(--bar) + var(--s8)); }
}

.method {
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--section) + var(--edge) * 0.5) var(--section);
  background: var(--dark);
  color: var(--on-dark);
}
.method .edge { fill: var(--bg-alt); }
.method :focus-visible { outline-color: var(--focus-on-dark); }
.method .wrap { position: relative; z-index: 1; }
.method__steps { position: relative; display: grid; gap: 0; counter-reset: step; }
.method__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: var(--s1) var(--s4); padding-bottom: var(--s8); }
.method__step::before {
  content: '';
  position: absolute;
  top: 48px;
  bottom: 0;
  inset-inline-start: 23px;
  width: 2px;
  background: var(--line-on-dark);
}
.method__step:last-child::before { display: none; }
.method__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--mark-on-dark);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--on-dark);
  background: var(--dark);
}
.method__step h3 { font-size: var(--fs-h3); padding-top: 6px; }
.method__step p { color: var(--on-dark-soft); }
.method__signature { position: absolute; left: 0; bottom: 0; width: clamp(200px, 24vw, 400px); height: auto; }
[data-brand='cleaning'] .method__signature { width: clamp(320px, 40vw, 640px); }
[data-brand='security'] .method__signature path:first-child { fill: var(--line-on-dark); }
@media (min-width: 1024px) {
  .method__steps { grid-template-columns: repeat(var(--steps), minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 40px); }
  .method__step { grid-template-columns: 1fr; padding-bottom: 0; align-content: start; }
  .method__step::before { top: 23px; bottom: auto; inset-inline-start: 56px; inset-inline-end: calc(-1 * clamp(20px, 2.5vw, 40px)); width: auto; height: 2px; }
  .method__num { grid-row: auto; margin-bottom: var(--s4); }
  .method__step h3 { padding-top: 0; }
}

.quality { padding-block: var(--section); background: var(--bg); }
.quality__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); }
.values { border-top: 2px solid var(--line-strong); }
.values li { display: flex; gap: var(--s4); padding-block: var(--s5); border-bottom: 1px solid var(--line); }
.values .num { flex: none; width: 2rem; padding-top: 0.45em; }
.values h3 { font-size: var(--fs-h3); }
.values p { color: var(--muted); }
.quality__subhead { margin: var(--s12) 0 var(--s4); font-size: var(--fs-h2); }
.quality__note { margin-top: var(--s6); padding-inline-start: var(--s4); border-inline-start: 3px solid var(--mark); color: var(--muted); font-size: var(--fs-small); }
.options { display: grid; gap: var(--s4); }
.option { display: grid; gap: var(--s1); padding: var(--s6); border-radius: var(--radius); background: var(--bg-alt); }
.option h3 { font-size: var(--fs-h3); }
.option p { color: var(--muted); }
.offer { margin-top: var(--s10); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--radius); }
.offer h3 { font-size: var(--fs-h3); margin-bottom: var(--s3); }
.offer__list { display: flex; flex-wrap: wrap; gap: var(--s2); }
.offer__list li { padding: var(--s1) var(--s4); border-radius: 999px; background: var(--bg-alt); font-size: var(--fs-small); font-weight: 600; }
@media (min-width: 768px) { .options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .quality__grid { grid-template-columns: 7fr 5fr; gap: clamp(48px, 7vw, 128px); align-items: start; }
  .quality__aside { position: sticky; top: calc(var(--bar) + var(--s8)); }
}

.contact { padding-block: var(--section); background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s10); }
.contact .section-head { margin-bottom: var(--s6); }
.contact__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.contact__actions .button { flex: 1 1 240px; }
@media (min-width: 560px) { .contact__actions .button { flex: 0 1 auto; } }
.channels { border-top: 2px solid var(--line-strong); }
.channels li { border-bottom: 1px solid var(--line); }
.channels a, .channels__static {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 0 var(--s4);
  min-height: 76px;
  padding-block: var(--s3);
  text-decoration: none;
}
.channels .icon { grid-row: span 2; color: var(--ink); }
.channels__label { font-size: var(--fs-small); color: var(--muted); }
.channels__value { justify-self: start; min-width: 0; overflow-wrap: anywhere; font-size: clamp(1.125rem, 1rem + 0.7vw, 1.5rem); font-weight: 700; transition: color 0.2s; }
.channels a:hover .channels__value { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.channels__value--email { font-size: clamp(1rem, 0.9rem + 0.6vw, 1.3rem); overflow-wrap: anywhere; }
.channels__value--address { display: grid; justify-self: stretch; font-size: var(--fs-body); font-weight: 600; line-height: 1.7; }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 128px); }
}

.clients { padding-block: var(--section); background: var(--bg-alt); }
.clients__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s4); }
.clients__list img { width: 100%; height: 80px; object-fit: contain; }

.hero__pillars a { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 767.98px) {
  .service .media { aspect-ratio: 16 / 7; }
  .service .art__signature { width: 46%; }
  [data-brand='cleaning'] .service .art__signature { width: 84%; }
  .service .art__number { font-size: 2.25rem; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: calc(var(--bar) + var(--utility) + var(--s8)); }
}

.quote { padding-block: var(--section); background: var(--bg-alt); }
.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'head' 'panel' 'intro';
  gap: var(--s8);
}
.quote__head { grid-area: head; }
.quote__panel { grid-area: panel; }
.quote__intro { grid-area: intro; }
.quote .section-head { margin-bottom: 0; }
.quote__steps { display: grid; gap: var(--s2); margin-bottom: var(--s6); }
.quote__steps li { display: flex; align-items: baseline; gap: var(--s3); font-weight: 600; }
.quote__privacy {
  display: flex;
  gap: var(--s3);
  padding: var(--s4);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: var(--fs-small);
  line-height: 1.75;
}
.quote__privacy .icon { flex: none; margin-top: 2px; }
.quote__direct { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s5); margin-top: var(--s6); font-size: var(--fs-small); }
.quote__direct p { flex-basis: 100%; color: var(--muted); }
.quote__direct a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 6px; overflow-wrap: anywhere; }

.quote__panel {
  padding: clamp(20px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--bg);
  border-top: 4px solid var(--dark);
}
.quote__noscript { padding: var(--s4); border: 2px solid var(--ink); border-radius: var(--radius); font-weight: 600; }

.qform { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5) var(--s6); }
@media (min-width: 640px) {
  .qform { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide, .qform__errors { grid-column: 1 / -1; }
}
.field { display: grid; gap: var(--s1); align-content: start; }
.field label { font-weight: 600; font-size: var(--fs-small); }
.req, .opt { font-weight: 400; color: var(--muted); font-size: var(--fs-caption); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: var(--s3) var(--s4);
  border: 1.5px solid var(--muted);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;  
  line-height: 1.6;
}
.field select {
  appearance: none;
  
  padding-inline-start: var(--s4);
  padding-inline-end: var(--s10);
  text-overflow: ellipsis;
  background-image: var(--chevron);
  background-position: left 14px center;
  background-size: 20px 20px;
  background-repeat: no-repeat;
}
[data-brand='security'] { --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23202624' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
[data-brand='cleaning'] { --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173D4C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.field input[dir='ltr'] { text-align: right; }
.field input[dir='ltr']::placeholder { text-align: right; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--ink); }
.field__hint { font-size: var(--fs-caption); color: var(--muted); }
.field__error {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--ink);
}
.field__error::before {
  content: '!';
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.8rem;
  line-height: 1;
}
.field [aria-invalid='true'] { border-width: 2.5px; border-color: var(--ink); background: var(--bg-alt); }
.qform__errors {
  padding: var(--s4);
  border-inline-start: 4px solid var(--ink);
  border-radius: var(--radius);
  background: var(--bg-alt);
  font-weight: 600;
}
.qform__errors ul { margin-top: var(--s2); display: grid; gap: var(--s1); }
.qform__errors a { text-underline-offset: 5px; }
.qform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }
.qform__note { font-size: var(--fs-caption); color: var(--muted); }
.qform__actions .button { flex: 1 1 auto; }
@media (min-width: 640px) { .qform__actions .button { flex: 0 1 auto; min-width: 240px; } }

.review { display: grid; gap: var(--s5); }
.review:focus { outline: none; }
.review h3 { font-size: var(--fs-h2); }
.review__summary { display: grid; border-top: 2px solid var(--line-strong); }
.review__summary div { display: grid; gap: 2px var(--s6); padding-block: var(--s3); border-bottom: 1px solid var(--line); }
.review__summary dt { font-size: var(--fs-small); color: var(--muted); }
.review__summary dd { font-weight: 600; overflow-wrap: anywhere; white-space: pre-line; }
@media (min-width: 560px) { .review__summary div { grid-template-columns: 10em 1fr; } }
.review__message summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); cursor: pointer; font-weight: 600; }
.review__message summary::after { content: '+'; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-weight: 400; line-height: 1; }
.review__message[open] summary::after { content: '−'; }
.review__message summary:hover { text-decoration: underline; text-underline-offset: 6px; }
.review__summary dd[dir='ltr'] { text-align: right; }
.review__message pre {
  margin: var(--s2) 0 0;
  padding: var(--s4);
  border-radius: var(--radius);
  background: var(--bg-alt);
  font-family: var(--font);
  font-size: var(--fs-small);
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.review__actions .button { flex: 1 1 240px; }
.review__status:empty { display: none; }
.review__status { padding: var(--s4); border-radius: var(--radius); background: var(--bg-alt); border-inline-start: 4px solid var(--mark); font-weight: 600; }

@media (min-width: 1024px) {
  .quote__grid {
    grid-template-columns: 5fr 7fr;
    grid-template-rows: auto 1fr;
    grid-template-areas: 'head panel' 'intro panel';
    gap: var(--s8) clamp(48px, 6vw, 112px);
    align-items: start;
  }
}

.is-gateway { --gw-ink: #1d1d1d; --gw-muted: #555; --gw-line: #e4e4e4; background: #fff; color: var(--gw-ink); }
.is-gateway :focus-visible { outline-color: #000; }

.gateway { display: flex; flex-direction: column; min-height: 100svh; }
.gateway__top { padding: var(--s5) var(--gutter); text-align: center; }
.gateway__title { display: grid; justify-items: center; gap: 2px; font-weight: 400; }
.gateway__group { font-size: var(--fs-h2); font-weight: 700; line-height: 1.4; }
.gateway__lead { font-size: var(--fs-small); color: var(--gw-muted); }

.gateway__doors { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); padding-inline: var(--s3); flex: 1; }

.door {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--on-dark);
}
.door :focus-visible { outline-color: var(--focus-on-dark); }
.door__media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; border-radius: 0; }
.door__media.art { background: var(--dark); color: var(--line-on-dark); }
.door__media .art__pattern { opacity: 0.6; }
.door__media .art__signature { top: 0; bottom: auto; width: 78%; transform: scaleY(-1); }
.door--security .door__media .art__signature path:first-child { fill: rgb(248 246 241 / 8%); }
.door--cleaning .door__media .art__signature { width: 96%; }
.door--cleaning .door__media .art__signature path:first-child { fill: rgb(229 237 229 / 12%); }
.door__media.media--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 78%), rgb(0 0 0 / 10%) 70%); }

.door__content { display: grid; justify-items: start; gap: var(--s3); padding: clamp(24px, 4vw, 56px); }
.door__index { font-size: var(--fs-caption); font-weight: 700; color: var(--accent-on-dark); }
.door__logo { width: 240px;  height: auto; margin-bottom: var(--s2); }
.door__name { font-size: var(--fs-h3); font-weight: 600; }
.door__tagline { font-size: var(--fs-h1); font-weight: 700; line-height: 1.4; }
.door__summary { max-width: 46ch; color: var(--on-dark-soft); }
.door__highlights { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s1); }
.door__highlights li {
  padding: 2px var(--s3);
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  font-size: var(--fs-caption);
  font-weight: 600;
}
.door__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); width: 100%; margin-top: var(--s3); }
.door__enter { flex: 1 1 260px; }
@media (min-width: 560px) { .door__enter { flex: 0 1 auto; } }

.gateway__foot { display: grid; justify-items: center; gap: var(--s1); padding: var(--s5) var(--gutter) max(var(--s5), env(safe-area-inset-bottom)); text-align: center; }
.gateway__foot-label { font-size: var(--fs-caption); color: var(--gw-muted); }
.gateway__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--s6); }
.gateway__contact a { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.gateway__contact a:hover span { text-decoration: underline; text-underline-offset: 6px; }

@media (min-width: 960px) {
  .gateway { height: 100svh; min-height: 640px; }
  .gateway__top { padding-block: var(--s4); }
  .gateway__doors { display: flex; gap: var(--s3); min-height: 0; }
  .door { flex: 1 1 0; min-height: 0; transition: flex-grow 0.7s var(--ease-out); }
  .gateway__doors:has(.door:hover, .door:focus-within) .door { flex-grow: 0.86; }
  .gateway__doors:has(.door:hover, .door:focus-within) .door:is(:hover, :focus-within) { flex-grow: 1.14; }
  .door__content { padding: clamp(32px, 4vw, 64px); }
  .gateway__foot { grid-auto-flow: column; justify-content: center; align-items: center; gap: var(--s6); padding-block: var(--s3); }
}
@media (min-width: 960px) and (max-height: 860px) {
  .door__tagline { font-size: var(--fs-h2); }
  .door__summary { display: none; }
}
@media (min-width: 960px) and (max-height: 700px) {
  .door__highlights { display: none; }
  .door__logo { margin-bottom: 0; }
}

@media (min-width: 960px) and (min-height: 1100px) {
  .door { justify-content: center; }
  .door__content { padding-top: 22vh; }
}
@media (prefers-reduced-motion: no-preference) {
  .door__content > * { animation: rise 0.9s var(--ease-out) both; }
  .door--cleaning .door__content > * { animation-delay: 0.1s; }
  .door__media .art__signature { transition: transform 1.2s var(--ease-out); }
  .door:hover .door__media .art__signature { transform: scaleY(-1) translateX(2%); }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } }
}

@media (max-width: 959.98px) {
  .door { min-height: 0; }
  .door__content { padding-top: clamp(120px, 30vw, 200px); }
  .door__summary { display: none; }
}
@media (min-width: 700px) and (max-width: 959.98px) {
  .gateway__doors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .door__logo { width: 240px; }
}
