/* ==========================================================================
   Eider Elevators — main stylesheet
   --------------------------------------------------------------------------
   1. Tokens          6. Hero     11. Projects
   2. Base            7. About              12. Videos
   3. Utilities       8. Why / carousels    13. FAQ & testimonials
   4. Buttons/links   9. Services           14. Contact & form
   5. Header & menu  10. Process/guide/ben. 15. Footer, video full screen, motion
   ========================================================================== */

/* Custom fonts: drop font files into assets/fonts/ and uncomment, then
   point --font-sans / --font-serif / --font-mono at the new families.
@font-face { font-family: "Brand Sans"; src: url("../fonts/brand-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
*/

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --ink: #0e0d0b;
  --ink-2: #26231f;
  --paper: #f6f3ed;
  --paper-2: #ede6da;
  --cream-light: #faf5e9;
  --sage: #e9dcc3;
  --peach: #fbf6ea;
  --cream: #e3d9c8;
  --sand: #c9bca6;
  --muted: #625c53;
  --muted-light: #a8a196;
  --line: rgba(14, 13, 11, .14);
  --line-strong: rgba(14, 13, 11, .32);
  --line-light: rgba(246, 243, 237, .16);
  --accent: #e87b2a;          /* taken from the Eider logo — used sparingly */
  --accent-deep: #9a4613;
  --error: #9c3a1c;
  --success: #2f5d3a;

  --font-sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 108px;
  --section-y: clamp(96px, 11vw, 176px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-door: cubic-bezier(.77, 0, .18, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
em { font-style: normal; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 3. UTILITIES ------------------------------------------------------------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200; padding: 12px 18px;
  background: var(--ink); color: var(--paper); transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--cream { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }

.label {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--ink .label { color: var(--muted-light); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: clamp(20px, 2.4vw, 32px);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.section--ink .eyebrow { color: var(--muted-light); }
.h2 {
  font-size: clamp(2.6rem, 5.8vw, 5.75rem);
  font-weight: 450;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(2.8rem, 9.5vw, 9.5rem); line-height: .9; letter-spacing: -.055em; white-space: nowrap; }
.h2--md { font-size: clamp(2.2rem, 4.2vw, 4.25rem); line-height: 1; }
.h2 em, .hero__title em, .benefits__title em, .contact__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
}

.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* 4. BUTTONS & LINKS ------------------------------------------------------- */
.btn {
  --btn-fg: var(--ink); --btn-bg: transparent; --btn-bd: var(--line-strong);
  --btn-fill: var(--ink); --btn-fg-h: var(--paper);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 52px; padding: 0 26px;
  font-size: .9rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: 2px;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--btn-fill);
  transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--btn-fg-h); border-color: var(--btn-fill); }
.btn--lg { height: 60px; padding: 0 32px; font-size: .95rem; }
.btn__icon, .btn__lead { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn__label { display: inline-block; overflow: hidden; line-height: 1.3; height: 1.3em; }
.btn__roll { display: flex; flex-direction: column; transition: transform .6s var(--ease-out); }
.btn__roll > span { display: block; height: 1.3em; }
.btn:hover .btn__roll, .btn:focus-visible .btn__roll { transform: translateY(-50%); }

.btn--light { --btn-fg: var(--ink); --btn-bg: var(--paper); --btn-bd: var(--paper); --btn-fill: var(--ink); --btn-fg-h: var(--paper); }
.btn--ghost-light { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42); --btn-fill: var(--paper); --btn-fg-h: var(--ink); }
.btn--dark { --btn-fg: var(--paper); --btn-bg: var(--ink); --btn-bd: var(--ink); --btn-fill: var(--accent-deep); --btn-fg-h: #fff; }
.btn--outline { --btn-fg: var(--ink); --btn-bd: var(--line-strong); --btn-fill: var(--ink); --btn-fg-h: var(--paper); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; padding-bottom: 6px;
  font-weight: 500; font-size: .98rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.link-arrow:hover { background-size: 0% 1px; background-position: right bottom; }
.link-arrow:hover svg { transform: translateX(6px); }
.link-arrow--light { color: var(--paper); }

/* 5. HEADER & MENU --------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); color: #fff;
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease-out), height .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter); max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto;
}
.header.is-scrolled {
  --header-h: 92px;
  color: var(--paper);
  background: rgba(14, 13, 11, .92);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line-light);
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-menu-open { color: var(--paper); background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

.header__logo { justify-self: center; display: block; }
.header__anim { display: block; height: clamp(72px, 6.6vw, 96px); width: auto; aspect-ratio: 760 / 400; object-fit: contain; transition: height .5s var(--ease); }
.header.is-scrolled .header__anim { height: clamp(62px, 5.6vw, 82px); }

.burger {
  display: inline-flex; align-items: center; gap: 14px;
  background: none; border: 0; padding: 10px 6px 10px 0; color: inherit;
}
.burger__lines { position: relative; display: block; width: 28px; height: 14px; }
.burger__lines span {
  position: absolute; left: 0; height: 1.5px; width: 100%; background: currentColor;
  transition: transform .5s var(--ease-out), width .4s var(--ease-out), opacity .3s;
}
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 6.25px; width: 64%; }
.burger__lines span:nth-child(3) { top: 12.5px; }
.burger:hover .burger__lines span:nth-child(2) { width: 100%; }
.burger__label { display: grid; height: 1.3em; overflow: hidden; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; text-align: left; }
.burger__open, .burger__close { grid-area: 1 / 1; display: block; transition: transform .5s var(--ease-out); }
.burger__close { transform: translateY(100%); }
.burger[aria-expanded="true"] .burger__open { transform: translateY(-100%); }
.burger[aria-expanded="true"] .burger__close { transform: none; }
.burger[aria-expanded="true"] .burger__lines span:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:nth-child(2) { opacity: 0; width: 0; }
.burger[aria-expanded="true"] .burger__lines span:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

.btn--header {
  justify-self: end; height: 54px; padding: 0 26px; font-size: .95rem;
  --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); --btn-fill: var(--paper); --btn-fg-h: var(--ink);
}
.header.is-scrolled .btn--header { --btn-fg: var(--ink); --btn-bg: var(--paper); --btn-bd: var(--paper); --btn-fill: var(--accent); --btn-fg-h: var(--ink); }
.header.is-menu-open .btn--header { --btn-fg: var(--paper); --btn-bg: transparent; --btn-bd: var(--line-light); --btn-fill: var(--paper); --btn-fg-h: var(--ink); }

/* Menu overlay — opens like a pair of elevator doors */
.menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; color: var(--paper); transition: visibility 0s linear 1s; }
.menu.is-open { visibility: visible; transition: none; }
.menu__door {
  position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--ink);
  transition: transform .9s var(--ease-door) .1s;
}
.menu__door--l { left: 0; transform: translateX(-100%); border-right: 1px solid rgba(246,243,237,.06); }
.menu__door--r { right: 0; transform: translateX(100%); }
.menu.is-open .menu__door { transform: none; transition-delay: 0s; }

.menu__inner {
  position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 120px);
  padding: calc(var(--header-h) + 4vh) var(--gutter) 6vh;
  max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto;
  opacity: 0; transition: opacity .35s var(--ease);
}
.menu.is-open .menu__inner { opacity: 1; transition: opacity .5s var(--ease) .55s; }
.menu__list { counter-reset: none; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: flex; align-items: baseline; gap: 20px;
  font-size: clamp(1.9rem, min(5.4vh, 4.6vw), 4.4rem); line-height: 1.12; letter-spacing: -.04em; font-weight: 400;
  transform: translateY(105%); transition: transform .8s var(--ease-out), opacity .4s var(--ease), color .4s;
}
.menu.is-open .menu__list a { transform: none; }
.menu.is-open .menu__list li:nth-child(1) a { transition-delay: .5s, 0s, 0s; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .54s, 0s, 0s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .58s, 0s, 0s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .62s, 0s, 0s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .66s, 0s, 0s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: .70s, 0s, 0s; }
.menu.is-open .menu__list li:nth-child(7) a { transition-delay: .74s, 0s, 0s; }
.menu.is-open .menu__list li:nth-child(8) a { transition-delay: .78s, 0s, 0s; }
.menu.is-open .menu__list li:nth-child(9) a { transition-delay: .82s, 0s, 0s; }
.menu.is-open .menu__list li:nth-child(10) a { transition-delay: .86s, 0s, 0s; }
.menu.is-open .menu__list li:nth-child(11) a { transition-delay: .90s, 0s, 0s; }
.menu__num { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; color: var(--muted-light); min-width: 2.2em; transform: translateY(-.9em); }
.menu__txt { position: relative; transition: transform .5s var(--ease-out); }
.menu__txt::after { content: ""; position: absolute; left: -22px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-50%) scale(0); transition: transform .4s var(--ease-out); }
.menu__list:hover a { opacity: .38; }
.menu__list a:hover, .menu__list a:focus-visible { opacity: 1; }
.menu__list a:hover .menu__txt, .menu__list a:focus-visible .menu__txt { transform: translateX(26px); }
.menu__list a:hover .menu__txt::after, .menu__list a:focus-visible .menu__txt::after { transform: translateY(-50%) scale(1); }

.menu__aside {
  align-self: end; display: grid; gap: 40px; padding-left: clamp(24px, 3vw, 48px);
  border-left: 1px solid var(--line-light);
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .8s var(--ease-out);
}
.menu.is-open .menu__aside { opacity: 1; transform: none; transition-delay: .8s; }
.menu__aside .label { color: var(--muted-light); margin-bottom: 14px; }
.menu__big { display: block; font-size: clamp(1.3rem, 2vw, 1.9rem); letter-spacing: -.02em; line-height: 1.3; transition: color .3s; }
.menu__mail { display: inline-block; margin-top: 10px; color: var(--muted-light); transition: color .3s; }
.menu__big:hover, .menu__mail:hover { color: var(--accent); }
.menu__aside address { color: rgba(246,243,237,.75); line-height: 1.6; }
.menu__aside .btn { justify-self: start; }

.header__left { justify-self: start; display: flex; align-items: center; }

/* 6. HERO & MARQUEE -------------------------------------------------------- */
.hero {
  position: relative; min-height: 640px; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--ink); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); transition: transform 2.8s var(--ease-out);
}
.is-loaded .hero__video { transform: scale(1); }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,13,11,.55) 0%, rgba(14,13,11,0) 20%, rgba(14,13,11,0) 42%, rgba(14,13,11,.78) 100%),
    radial-gradient(ellipse 70% 55% at 50% 52%, rgba(14,13,11,.5), rgba(14,13,11,0) 100%);
}
.hero__content { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-block: var(--header-h); }
.hero__eyebrow { display: flex; align-items: center; justify-content: center; gap: 14px; color: rgba(255,255,255,.85); margin-bottom: clamp(18px, 2.6vh, 30px); }
.hero__rule { width: clamp(24px, 4vw, 56px); height: 1px; background: var(--accent); }
.hero__sep { color: var(--accent); }
.hero__title {
  font-size: clamp(2.8rem, 7.6vw, 8.6rem); font-weight: 420; line-height: .94; letter-spacing: -.05em;
  text-shadow: 0 2px 40px rgba(14,13,11,.35);
}
.hero__title em { color: #fff; }
.rot {
  position: relative; display: inline-block; vertical-align: top; height: 1.14em; overflow: hidden; white-space: nowrap;
  transition: width .8s var(--ease-out);
}
.rot__w {
  position: absolute; left: 0; top: 0; line-height: .94; white-space: nowrap;
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--accent);
  transform: translateY(105%); opacity: 0; transition: transform .9s var(--ease-out), opacity .5s var(--ease);
}
.rot__w.is-on { transform: none; opacity: 1; }
.rot__w.is-out { transform: translateY(-105%); opacity: 0; }
.hero__stop { color: var(--accent); }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line__in { display: inline-block; }
.hero__row { display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 3.4vh, 34px); margin-top: clamp(24px, 4vh, 44px); }
.hero__lead { max-width: 36rem; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.55; color: rgba(255,255,255,.84); }
.hero__ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Hero intro motion */
.js [data-hero-in] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
.js .line__in[data-hero-in] { opacity: 1; transform: translateY(108%); }
.js.is-loaded [data-hero-in] { opacity: 1; transform: none; }

/* Trusted partners (logo carousel after the hero) */
.partners { padding: clamp(36px, 4.5vw, 64px) 0; background: #fdeceb; border-bottom: 1px solid var(--line); overflow: hidden; }
.partners__label { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); color: var(--ink); }
.partners__label span { width: clamp(24px, 5vw, 64px); height: 1px; background: #d93a2f; }
.partners__viewport { overflow: hidden; padding-block: 6px; }
.partners__track { display: flex; width: max-content; animation: partners-scroll 40s linear infinite; }
.partners__viewport:hover .partners__track { animation-play-state: paused; }
.partners__group { display: flex; align-items: stretch; flex: none; gap: clamp(14px, 1.6vw, 24px); padding-right: clamp(14px, 1.6vw, 24px); }
.partners__group li { display: grid; place-items: center; width: clamp(180px, 15vw, 230px); height: clamp(92px, 8vw, 116px); padding: 16px 24px; background: #fff; border: 1.5px solid #d93a2f; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.partners__group img { display: block; max-height: clamp(48px, 4.6vw, 66px); max-width: 100%; width: auto; height: auto; object-fit: contain; }
.partners__group li:hover { transform: translateY(-4px); box-shadow: 0 16px 28px -18px rgba(217,58,47,.55); }
@keyframes partners-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partners__track { animation: none; } .partners__viewport { overflow-x: auto; } }

/* 7. ABOUT ----------------------------------------------------------------- */
.about { overflow: hidden; background: var(--cream-light); }
.about__ghost {
  position: absolute; top: clamp(40px, 6vw, 90px); right: -2vw; z-index: 0; pointer-events: none;
  font-size: clamp(7rem, 22vw, 25rem); font-weight: 500; line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(14,13,11,.09); white-space: nowrap; user-select: none;
}
.about__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.about__media { grid-column: 1 / 7; position: relative; padding: 0 13% 16% 0; }
.frame { position: relative; overflow: hidden; background: var(--cream); }
.frame__img { position: absolute; inset: -7% 0; will-change: transform; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; }
.about__main { aspect-ratio: 4 / 5; }

.about__inset { position: absolute; right: 0; bottom: 0; width: 40%; }
.about__inset img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; border: 10px solid var(--cream-light); border-bottom: 0; background: var(--cream-light); }
.corner { position: absolute; width: 30px; height: 30px; pointer-events: none; }
.corner--tl { top: -16px; left: -16px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.corner--br { top: -16px; right: calc(13% - 16px); border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.about__text { grid-column: 8 / 13; }
.about__text .h2 { margin-bottom: clamp(32px, 4vw, 52px); }
.about__copy { position: relative; padding-left: 32px; display: grid; gap: 20px; color: var(--ink-2); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); }
.about__copy p:first-of-type { font-size: 1.12em; color: var(--ink); }
.vline { position: absolute; left: 0; top: 8px; bottom: 6px; width: 1px; background: var(--ink); transform-origin: top; }
.about__sectors { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--ink); }
.about__sectors span { color: var(--sand); }

/* 8. SECTION HEADS & CAROUSELS --------------------------------------------- */
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head > :first-child { grid-column: 1 / 8; }
.section-head__side { grid-column: 9 / 13; display: grid; gap: 28px; justify-items: start; }
.section-head__side > p { color: var(--muted); max-width: 34rem; }
.section--ink .section-head__side > p { color: var(--muted-light); }

.carousel { position: relative; }
.carousel__track {
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: flex; gap: clamp(14px, 1.4vw, 22px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 14px var(--edge) 28px; scroll-padding-inline: var(--edge);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  outline-offset: -4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; flex: none; }
/* Endless-loop carousels: full-width rows centre their cards, with no padding at the ends */
.carousel.is-centered .carousel__track { padding-inline: 0; scroll-padding-inline: 0; }
.carousel.is-centered .carousel__track > * { scroll-snap-align: center; }
.carousel__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.carousel__track.is-dragging * { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .carousel__track { cursor: grab; } }

/* Why cards */
.why { background: var(--sage); }
.why__track { padding-top: 22px; }
.why-card {
  --rx: 0deg; --ry: 0deg;
  position: relative; isolation: isolate; overflow: hidden;
  width: clamp(300px, 29vw, 440px); min-height: clamp(520px, 40vw, 590px);
  display: flex; flex-direction: column; padding: clamp(26px, 2.4vw, 36px);
  border: 1px solid var(--accent); background: var(--peach); color: var(--ink);
  transform: translateY(0) perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s, box-shadow .6s, transform .5s var(--ease-out);
}
.why-card:hover, .why-card.is-active { background: var(--ink); color: var(--paper); border-color: var(--accent); transform: translateY(-10px) perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); box-shadow: 0 30px 60px -30px rgba(14,13,11,.5); }

.why-card__top { display: flex; justify-content: space-between; align-items: center; }
.why-card__num { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; color: #6b4a30; transition: color .6s; }
.why-card__tag { padding: 5px 10px; border: 1px solid rgba(232,123,42,.6); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .6s, border-color .6s; }

.why-card__ico {
  position: relative; width: 100px; height: 100px; margin-top: clamp(28px, 3.4vw, 48px);
  display: grid; place-items: center; border: 1px solid rgba(232,123,42,.6);
  transition: border-color .6s, transform .8s var(--ease-out);
}
.why-card__ico::before, .why-card__ico::after { content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--accent); transition: transform .6s var(--ease-out); }
.why-card__ico::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.why-card__ico::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.why-card__icon { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.why-card__icon .a { stroke: var(--accent); }
.why-card__icon [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; }
.why-card:hover .why-card__icon [pathLength], .why-card.is-active .why-card__icon [pathLength] { animation: draw 1.3s var(--ease) both; }
.why-card:hover .why-card__icon .a, .why-card.is-active .why-card__icon .a { animation-delay: .35s; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.why-card:hover .why-card__ico, .why-card.is-active .why-card__ico { border-color: rgba(246,243,237,.4); transform: translateY(-4px); }
.why-card:hover .why-card__ico::before, .why-card.is-active .why-card__ico::before { transform: translate(-3px, -3px); }
.why-card:hover .why-card__ico::after, .why-card.is-active .why-card__ico::after { transform: translate(3px, 3px); }

.why-card__title { margin-top: auto; padding-top: 28px; font-size: clamp(1.5rem, 1.9vw, 1.85rem); font-weight: 450; letter-spacing: -.035em; line-height: 1.08; transition: transform .7s var(--ease-out); }
.why-card__text { margin-top: 12px; color: var(--muted); font-size: .96rem; line-height: 1.6; transition: color .6s; }
.why-card__list { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(232,123,42,.4); display: grid; gap: 8px; transition: border-color .6s; }
.why-card__list li { position: relative; padding-left: 18px; font-size: .9rem; letter-spacing: -.005em; transition: transform .6s var(--ease-out); }
.why-card__list li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.why-card:hover .why-card__num, .why-card.is-active .why-card__num,
.why-card:hover .why-card__text, .why-card.is-active .why-card__text,
.why-card:hover .why-card__tag, .why-card.is-active .why-card__tag { color: var(--muted-light); }
.why-card:hover .why-card__tag, .why-card.is-active .why-card__tag { border-color: var(--line-light); }
.why-card:hover .why-card__list, .why-card.is-active .why-card__list { border-color: var(--line-light); }
.why-card:hover .why-card__title, .why-card.is-active .why-card__title { transform: translateX(4px); }
.why-card:hover .why-card__list li, .why-card.is-active .why-card__list li { transform: translateX(4px); }
.why-card:hover .why-card__list li:nth-child(2), .why-card.is-active .why-card__list li:nth-child(2) { transition-delay: .05s; }
.why-card:hover .why-card__list li:nth-child(3), .why-card.is-active .why-card__list li:nth-child(3) { transition-delay: .1s; }

/* Drag cursor (fine pointers only) */
.drag-cursor {
  position: fixed; left: 0; top: 0; z-index: 150; width: 84px; height: 84px; margin: -42px 0 0 -42px; pointer-events: none;
  display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; transform: translate3d(-100px, -100px, 0) scale(.4);
  transition: opacity .3s var(--ease);
}
.drag-cursor.is-on { opacity: 1; }
.drag-cursor span { display: inline-flex; transition: transform .3s var(--ease-out); }
.drag-cursor.is-down span { transform: scale(.85); }
@media (hover: hover) and (pointer: fine) { [data-cursor] { cursor: none; } }
@media (hover: none), (pointer: coarse) { .drag-cursor { display: none; } }

/* 9. SERVICES -------------------------------------------------------------- */
.svc__track { align-items: stretch; }
.svc { position: relative; width: clamp(270px, 26vw, 380px); aspect-ratio: 19 / 30; }
.svc__link { position: absolute; inset: 0; overflow: hidden; color: #fff; background: #1b1916; }
.svc__media { position: absolute; inset: 0; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86); transition: transform 1.4s var(--ease-out), filter .8s var(--ease); }
.svc__link::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(14,13,11,.22); transition: background-color .7s var(--ease); }
.svc__link::after { content: ""; position: absolute; inset: 40% 0 0; z-index: 1; background: linear-gradient(180deg, rgba(14,13,11,0), rgba(14,13,11,.86)); }
.svc__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 2vw, 30px); }
.svc__name { font-size: clamp(1.6rem, 2.2vw, 2.3rem); font-weight: 450; letter-spacing: -.035em; line-height: 1.05; }
.svc__more { display: grid; grid-template-rows: 1fr; opacity: 1; }
.svc__more > div { overflow: hidden; }
.svc__more p { margin-top: 12px; max-width: 32ch; font-size: .95rem; line-height: 1.5; color: rgba(255,255,255,.8); }
/* Description + Enquire slide up as the card comes into view (is-active set by JS, only once the section is on screen) */
.js .svc__more p, .js .svc__cta { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .9s var(--ease-out); }
.js .svc__cta { transition-delay: 0s, 0s; }
.js .is-seen .svc.is-active .svc__more p { opacity: 1; transform: none; transition-delay: .15s; }
.js .is-seen .svc.is-active .svc__cta { opacity: 1; transform: none; transition-delay: .3s; }
.svc__cta {
  display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.28);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
}
.svc__cta svg { width: 20px; height: 20px; transition: transform .5s var(--ease-out); }
.svc__link:hover .svc__media img, .svc__link:focus-visible .svc__media img { transform: scale(1.07); filter: saturate(1); }
.svc__link:hover::before, .svc__link:focus-visible::before { background: rgba(14,13,11,.34); }
.svc__link:hover .svc__cta svg { transform: translateX(6px); }
.svc__link:focus-visible { outline-offset: -3px; }

/* Placeholder media */
.ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background-color: var(--cream);
  background-image: linear-gradient(rgba(14,13,11,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(14,13,11,.06) 1px, transparent 1px);
  background-size: 36px 36px; background-position: center;
  color: var(--ink);
}
.ph--dark { background-color: #1f1c19; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); color: #fff; }
.ph__draw { width: 34%; max-width: 150px; margin-bottom: 18%; fill: none; stroke: currentColor; stroke-width: 1; opacity: .3; }
.ph__tag {
  position: absolute; top: 18px; right: 18px; padding: 6px 10px;
  border: 1px dashed currentColor; opacity: .7;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
}

/* 10. PROCESS -------------------------------------------------------------- */
.process { background: #dde8d3; }
.psteps { --sw: 250px; --circle: 150px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 22px 0 28px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.psteps::-webkit-scrollbar { display: none; }
.psteps__row { position: relative; display: flex; width: max-content; min-width: 100%; }
.psteps__line {
  position: absolute; z-index: 0; left: calc(var(--sw) / 2); right: calc(var(--sw) / 2); top: calc(var(--circle) / 2); height: 0;
  border-top: 2px dashed var(--ink); transform-origin: left; opacity: .85; pointer-events: none;
}
.js .psteps__line[data-reveal="hline"] { opacity: .85; transform: scaleX(0); transition: transform 2.4s var(--ease-out) .2s; }
.js .psteps__line[data-reveal="hline"].is-in { transform: scaleX(1); }

.pstep { --tone: var(--accent); --on: var(--ink); position: relative; z-index: 1; flex: 0 0 var(--sw); width: var(--sw); padding-inline: 12px; display: flex; flex-direction: column; text-align: center; scroll-snap-align: center; }
.pstep:nth-child(3) { --tone: #6d8f57; --on: #fff; }
.pstep:nth-child(4) { --tone: #c4553a; --on: #fff; }
.pstep:nth-child(5) { --tone: #e0a526; --on: var(--ink); }
.pstep__card {
  flex: 1; padding: calc(var(--circle) * .42 + 30px) 10px 0;
}
.pstep__circle {
  position: relative; width: var(--circle); height: var(--circle); margin: 0 auto calc(var(--circle) * -.42); z-index: 2;
  border-radius: 50%; border: 3px solid var(--ink); background: var(--ink);
  box-shadow: 8px 8px 0 var(--tone);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.pstep__circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.9); }
.pstep__circle { overflow: visible; }
.pstep__badge {
  position: absolute; left: 50%; bottom: -19px; width: 40px; height: 40px; margin-left: -20px;
  display: grid; place-items: center; border-radius: 50%; background: var(--tone); color: var(--on);
  border: 3px solid #dde8d3; font-family: var(--font-mono); font-size: .8rem; font-weight: 500; letter-spacing: .02em;
  transition: transform .6s var(--ease-out), background-color .4s, color .4s;
}
.pstep:hover .pstep__circle { transform: translateY(-6px); box-shadow: 4px 4px 0 var(--tone); }
.pstep:hover .pstep__circle img { transform: scale(1.08); filter: saturate(1.05); }
.pstep:hover .pstep__badge { background: var(--ink); color: var(--paper); transform: scale(1.1); }
.pstep__title { color: var(--ink); }
.pstep__title { font-size: clamp(1.1rem, 1.25vw, 1.3rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 10px; }
.pstep__text { font-size: .95rem; line-height: 1.55; color: var(--muted); max-width: 30ch; margin-inline: auto; }

@media (min-width: 1180px) {
  .psteps { --sw: calc((min(100vw, var(--container) + var(--gutter) * 2) - var(--gutter) * 2) / 4); --circle: clamp(150px, 13.5vw, 190px); overflow: visible; padding-inline: 0; margin-inline: 0; }
  .psteps__row { width: 100%; }
  .pstep { padding-inline: 10px; }
}
@media (max-width: 767px) {
  .psteps { --sw: 72vw; --circle: 150px; }
}

/* GUIDE -------------------------------------------------------------------- */
.guide__grid { display: grid; grid-template-columns: auto minmax(0, 40rem); justify-content: center; column-gap: clamp(48px, 7vw, 112px); align-items: center; }
.guide__media { position: sticky; top: calc(72px + 28px); justify-self: start; }
.phone {
  position: relative; display: inline-block; padding: 12px; background: var(--ink); border-radius: 46px;
  box-shadow: 0 40px 70px -35px rgba(14,13,11,.55), inset 0 0 0 2px #2b2825;
}
.phone__notch { position: absolute; z-index: 3; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 13px; background: var(--ink); }
.guide__video { position: relative; aspect-ratio: 9 / 16; width: min(100vw - 2 * var(--gutter) - 24px, 340px, calc((100vh - 72px - 150px) * 9 / 16)); min-width: 220px; background: #000; overflow: hidden; border-radius: 34px; }
.guide__video video { width: 100%; height: 100%; object-fit: cover; }
.sound-btn {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: var(--accent); color: var(--ink);
  box-shadow: 0 6px 18px -6px rgba(14,13,11,.6); transition: transform .4s var(--ease-out), background-color .3s;
}
.sound-btn:hover { transform: scale(1.1); background: var(--paper); }
.sound-btn svg { width: 22px; height: 22px; }
.sound-btn__on { display: none; }
.sound-btn[aria-pressed="true"] .sound-btn__on { display: block; }
.sound-btn[aria-pressed="true"] .sound-btn__off { display: none; }
.guide__text { align-self: center; }
.guide__copy { display: grid; gap: 22px; margin: clamp(28px, 3vw, 44px) 0 clamp(32px, 3.4vw, 48px); max-width: 38rem; font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); line-height: 1.7; color: var(--ink-2); }
.guide__copy p:first-child { color: var(--ink); }

/* BENEFITS ----------------------------------------------------------------- */
.benefits__head { margin-bottom: clamp(48px, 6vw, 96px); }
.benefits__title { font-size: clamp(3rem, 9.4vw, 9.8rem); font-weight: 450; line-height: .9; letter-spacing: -.055em; }
.outline { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.benefits__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: stretch; }
.benefits__media { grid-column: 1 / 6; position: relative; min-height: 440px; margin-right: 12%; margin-bottom: 40px; }
.benefits__img { position: absolute; inset: 0; }
.benefits__inset { position: absolute; right: -24%; bottom: -28px; width: 44%; aspect-ratio: 1; border: 10px solid var(--paper); background: var(--paper); overflow: hidden; }
.benefits__inset img { width: 100%; height: 100%; object-fit: cover; }
.benefits__sub { font-size: clamp(1.9rem, 3vw, 3.1rem); font-weight: 450; line-height: 1.04; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.benefits__sub em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--accent-deep); }
.benefits__rule { display: block; width: 64px; height: 2px; background: var(--accent); transform-origin: left; }
.js .benefits__rule[data-reveal="vline"] { transform: scaleX(0); transition: transform 1.2s var(--ease-out) .3s; }
.js .benefits__rule[data-reveal="vline"].is-in { transform: scaleX(1); }
.benefits__text { grid-column: 7 / 13; align-self: center; display: grid; gap: 24px; max-width: 38rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.7; color: var(--ink-2); }
.benefits__text p:first-of-type { color: var(--ink); }
.benefits__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

/* 11. PROJECTS ------------------------------------------------------------- */
/* Projects carousel: centred, scaled slides in 9:16 */
.pcar { --sw: clamp(230px, 21vw, 320px); position: relative; }
.pcar__track {
  display: flex; gap: clamp(16px, 2vw, 32px); align-items: flex-start;
  padding: 8px 0 0;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  outline-offset: -4px;
}
.pcar__track::-webkit-scrollbar { display: none; }
.pcar__track.is-dragging { scroll-snap-type: none; user-select: none; }
.pcar__track.is-dragging * { pointer-events: none; }
.pslide { --p: 0; flex: none; width: var(--sw); scroll-snap-align: center; transform-origin: 50% 40%; transform: scale(calc(.82 + .18 * var(--p))); opacity: calc(.4 + .6 * var(--p)); will-change: transform, opacity; cursor: pointer; }
.pslide__img { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #1b1916; }
.pslide__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(calc(.6 + .4 * var(--p))); transition: transform 1.4s var(--ease-out); }
.pslide.is-active .pslide__img img { transform: scale(1.04); }

@media (max-width: 767px) {
  .pcar { --sw: 66vw; }
}
@media (prefers-reduced-motion: reduce) { .pslide { transform: none; } }

/* 12. VIDEOS --------------------------------------------------------------- */
.vid__track { align-items: flex-start; }
.vid { width: clamp(240px, 21vw, 320px); }
.vid__track > .vid { flex: 1 0 clamp(240px, 21vw, 320px); }
.vid__card { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink); color: #fff; }
.vid__card video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.vid__card:hover video { transform: scale(1.04); }
.vid:last-child .vid__card video { scale: 1.2; }
.vid__card::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, rgba(14,13,11,0), rgba(14,13,11,.78)); pointer-events: none; }
.vid__title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(16px, 1.6vw, 24px); font-size: clamp(1.05rem, 1.3vw, 1.3rem); font-weight: 450; letter-spacing: -.02em; line-height: 1.2; }
.vid__open { position: absolute; inset: 0; z-index: 1; padding: 0; border: 0; background: transparent; cursor: pointer; }
.vid__open:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.vid__expand { position: absolute; top: 14px; right: 14px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.5); background: rgba(14,13,11,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; transition: background-color .4s, color .4s; }
.vid__expand svg { width: 18px; height: 18px; }
.vid__card:hover .vid__expand { background: var(--paper); color: var(--ink); }
.vid__title { padding-right: 72px; pointer-events: none; }
.vid .sound-btn { z-index: 2; }
@media (max-width: 767px) { .vid { width: 66vw; } }

/* 13. FAQ & TESTIMONIALS --------------------------------------------------- */
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: stretch; }
.faq__media { grid-column: 1 / 6; position: relative; min-height: 420px; }
.faq__img { position: absolute; inset: 0; overflow: hidden; background: var(--cream); }
.faq__img img { width: 100%; height: 100%; object-fit: cover; }
.acc { grid-column: 6 / 13; display: grid; align-content: start; gap: 12px; padding-left: clamp(0px, 2vw, 32px); }
.acc__item { --tone: var(--ink); --on: var(--paper); }
.acc h3 { font: inherit; }
.acc__btn {
  width: 100%; display: grid; grid-template-columns: 52px 1fr 28px; align-items: center; gap: 8px;
  padding: clamp(20px, 2.2vw, 28px) clamp(18px, 2vw, 28px); background: var(--tone); color: var(--on); border: 0; text-align: left;
  font-size: clamp(1.08rem, 1.4vw, 1.3rem); font-weight: 450; letter-spacing: -.02em; line-height: 1.3;
  transition: filter .3s;
}
.acc__btn:hover { filter: brightness(1.08); }
.acc__call { justify-self: start; margin-top: 16px; }
.acc__n { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; opacity: .75; }
.acc__q { transition: transform .5s var(--ease-out); }
.acc__btn:hover .acc__q { transform: translateX(6px); }
.acc__icon { position: relative; width: 22px; height: 22px; justify-self: end; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transition: transform .5s var(--ease-out); }
.acc__icon::before { width: 18px; height: 1.5px; transform: translate(-50%, -50%); }
.acc__icon::after { width: 1.5px; height: 18px; transform: translate(-50%, -50%); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.acc__panel > div { overflow: hidden; }
.acc__panel > div { background: var(--cream-light); }
.acc__item.is-open .acc__panel > div { box-shadow: inset 0 0 0 1px var(--tone); }
.acc__panel p { padding: clamp(20px, 2vw, 26px) clamp(18px, 2vw, 28px) clamp(22px, 2.2vw, 30px) calc(clamp(18px, 2vw, 28px) + 60px); color: var(--ink-2); max-width: 64ch; opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.acc__panel a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__item.is-open .acc__panel p { opacity: 1; transform: none; transition-delay: .12s; }

.testi { background: #fdf0e1; }
.testi__head { max-width: 760px; }
.testi__sub { margin-top: 22px; max-width: 40rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); }
.tshow { display: grid; grid-template-columns: clamp(240px, 22vw, 320px) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: stretch; }
.tshow__img { overflow: hidden; border: 3px solid var(--ink); border-radius: 14px; background: var(--cream); min-height: 360px; }
.tshow__img img { width: 100%; height: 100%; object-fit: cover; }
.tshow__car { align-self: center; min-width: 0; margin-right: calc(var(--gutter) * -1); }
.tshow__track { padding: 12px var(--gutter) 28px 0; scroll-padding-inline: 0; align-items: stretch; }
.tcard { --tone: #5b8fd0; width: clamp(280px, 24vw, 340px); display: flex; }
.tcard:nth-child(4n+2) { --tone: #d9463b; }
.tcard:nth-child(4n+3) { --tone: #4c9a64; }
.tcard:nth-child(4n+4) { --tone: #e87b2a; }
.tcard figure { width: 100%; display: flex; flex-direction: column; padding: 18px 18px 22px; background: #fff; border: 1px solid color-mix(in srgb, var(--tone) 45%, transparent); border-bottom: 4px solid var(--tone); border-radius: 12px; box-shadow: 0 14px 30px -22px rgba(14,13,11,.35); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.tcard:hover figure { transform: translateY(-6px); box-shadow: 0 24px 36px -22px rgba(14,13,11,.4); }
.tcard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.tcard__ph { position: relative; flex: none; width: 60px; height: 60px; }
.tcard__ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--tone); background: var(--cream); }
.tcard__badge { position: absolute; right: -6px; bottom: -4px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tone); color: #fff; border: 2px solid #fff; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1; padding-top: 6px; }
.tcard__name, .tcard__role { display: block; }
.tcard__name { font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.2; }
.tcard__role { margin-top: 3px; font-size: .84rem; color: var(--muted); }
.tcard__quote { flex: 1; margin: 0; padding: 18px; border-radius: 10px; background: color-mix(in srgb, var(--tone) 11%, #fff); font-size: .98rem; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 960px) {
  .tshow { grid-template-columns: 1fr; }
  .tshow__img { min-height: 0; aspect-ratio: 16 / 10; }
  .tshow__car { margin-right: calc(var(--gutter) * -1); margin-left: calc(var(--gutter) * -1); }
  .tshow__track { padding-left: var(--gutter); }
  .tcard { width: 82vw; max-width: 360px; }
}
.testi .link-arrow { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 960px) { .tgrid { grid-template-columns: 1fr; } .tcard { min-height: 0; } }

/* 14. CONTACT & FORM ------------------------------------------------------- */
.contact__title { font-size: clamp(2.9rem, 8.4vw, 9rem); font-weight: 450; line-height: .92; letter-spacing: -.055em; max-width: 13ch; }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(56px, 7vw, 104px); align-items: start; }
.contact__info { grid-column: 1 / 6; }
.cinfo { padding: 22px 0; border-top: 1px solid var(--line-strong); }
.cinfo .label { margin-bottom: 10px; }
.cinfo__big { display: block; width: fit-content; font-size: clamp(1.35rem, 2.1vw, 2rem); font-weight: 420; letter-spacing: -.03em; line-height: 1.3; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .6s var(--ease-out), color .3s; }
.cinfo__big:hover { background-size: 100% 1px; color: var(--accent-deep); }
.cinfo__mail { overflow-wrap: anywhere; }
.cinfo address { color: var(--ink-2); max-width: 40ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

.form { grid-column: 7 / 13; background: var(--paper-2); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }
.form__row { display: grid; gap: 0 28px; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.field { position: relative; padding-top: 22px; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  display: block; width: 100%; padding: 14px 0 12px; border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0; background: transparent; font-size: 1.05rem; color: var(--ink); outline: none;
  -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(var(--ink), var(--ink)); background-repeat: no-repeat;
  background-position: left bottom; background-size: 0 1px;
  transition: background-size .6s var(--ease-out), border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { background-size: 100% 1px; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field label {
  position: absolute; left: 0; top: 36px; color: var(--muted); font-size: 1rem; pointer-events: none;
  transform-origin: left top; transition: transform .45s var(--ease-out), color .3s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label {
  transform: translateY(-28px) scale(.78); color: var(--ink);
}
.field--select::before {
  content: ""; position: absolute; right: 4px; top: 44px; width: 8px; height: 8px; pointer-events: none;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg);
}
.field select { padding-right: 28px; cursor: pointer; }
.field select option, .field select optgroup { color: var(--ink); background: var(--paper); }
.field__err { display: none; margin-top: 8px; font-size: .82rem; color: var(--error); }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: var(--error); }
.field.is-invalid .field__err { display: block; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 28px; }
.form__alt { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; background: none; border: 0; border-bottom: 1px solid var(--line-strong); font-size: .92rem; transition: border-color .3s, color .3s; }
.form__alt svg { width: 18px; height: 18px; }
.form__alt:hover { border-color: var(--ink); color: var(--accent-deep); }
.form__status { margin-top: 18px; font-size: .95rem; min-height: 1.5em; }
.form__status.is-success { color: var(--success); }
.form__status.is-error { color: var(--error); }
.form button[type="submit"][disabled] { opacity: .6; pointer-events: none; }

/* 15. FOOTER --------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 7vw, 96px) 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.4fr; gap: clamp(32px, 4vw, 64px); }
.footer__logo { display: inline-block; }
.footer__anim { display: block; height: 76px; width: auto; aspect-ratio: 760 / 400; object-fit: contain; }
.footer__brand p { margin-top: 22px; color: var(--muted-light); max-width: 34ch; font-size: .95rem; }
.footer .label { color: var(--muted-light); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 9px; }
.footer__col a { color: rgba(246,243,237,.78); font-size: .95rem; transition: color .3s; }
.footer__col a:hover { color: var(--accent); }
.footer__contact { display: grid; align-content: start; gap: 8px; }
.footer__contact address { margin-top: 10px; color: var(--muted-light); font-size: .9rem; line-height: 1.6; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid var(--line-light); font-size: .85rem; color: var(--muted-light); }
.footer__top-link { transition: color .3s; }
.footer__top-link:hover { color: var(--paper); }

/* VIDEO FULL SCREEN -------------------------------------------------------- */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; overflow: hidden; }
.lightbox[open] { display: block; animation: lb-in .45s var(--ease-out); }
.lightbox::backdrop { background: #000; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px clamp(16px, 3vw, 32px); background: linear-gradient(180deg, rgba(0,0,0,.65), transparent); pointer-events: none; }
.lightbox__title { color: rgba(255,255,255,.85); }
.lightbox__close { pointer-events: auto; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.4); color: #fff; transition: background-color .3s, color .3s; }
.lightbox__close:hover { background: #fff; color: #000; }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* MOTION: scroll reveals --------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; background-color: transparent; }
.js [data-reveal="clip"] > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out) var(--d, 0s); }
.js [data-reveal="clip"].is-in > * { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"] img { scale: 1.14; transition: scale 1.8s var(--ease-out) var(--d, 0s), transform 1.6s var(--ease-out), filter .8s; }
.js [data-reveal="clip"].is-in img { scale: 1; }
.js [data-reveal="rise"] { opacity: 1; transform: translateY(108%); transition: transform 1.2s var(--ease-out) var(--d, 0s); }
.js [data-reveal="rise"].is-in { transform: none; }
.js [data-reveal="vline"] { opacity: 1; transform: scaleY(0); transition: transform 1.4s var(--ease-out) .2s; }
.js [data-reveal="vline"].is-in { transform: scaleY(1); }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .07em .12em .02em; margin: 0 -.07em -.12em -.02em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(110%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 55ms); }
.js [data-split].is-in .w > span { transform: none; }

/* RESPONSIVE --------------------------------------------------------------- */
@media (max-width: 1180px) {
  .section-head > :first-child { grid-column: 1 / 13; }
  .section-head__side { grid-column: 1 / 13; }
  .about__media { grid-column: 1 / 7; padding-right: 10%; }
  .about__text { grid-column: 7 / 13; padding-left: 16px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 84px; }
  .about__grid, .guide__grid, .benefits__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 0; }
  .about__media, .about__text, .guide__media, .guide__text, .benefits__media, .benefits__text, .faq__media, .acc, .contact__info, .form { grid-column: auto; }
  .about__media { max-width: 640px; margin-bottom: 64px; }
  .about__text { padding-left: 0; }
    .guide__media { position: relative; top: auto; justify-self: center; margin-bottom: 56px; }
  .benefits__media { max-width: 560px; min-height: 0; margin: 0 14% 72px 0; padding-bottom: 14%; }
  .benefits__img { position: relative; inset: auto; aspect-ratio: 4 / 5; }
  .benefits__inset { right: -12%; width: 46%; }
      .faq__media { min-height: 0; aspect-ratio: 4 / 3; margin-bottom: 28px; }
  .acc { padding-left: 0; }
  .form { margin-top: 56px; }
}

@media (max-width: 767px) {
  .header__anim, .header.is-scrolled .header__anim { height: 60px; }
  .burger__label { display: none; }
  .btn--header { height: 44px; padding: 0 16px; font-size: .88rem; gap: 8px; }
  .btn--header .btn__icon { display: none; }
  .menu__inner { grid-template-columns: 1fr; gap: 40px; padding-top: calc(var(--header-h) + 24px); align-content: start; }
  .menu__list a { font-size: clamp(1.75rem, 8.4vw, 2.6rem); gap: 14px; }
  .menu__num { transform: translateY(-.7em); }
  .menu__aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-light); padding-top: 28px; gap: 28px; }
  .menu__door { width: 51%; }

  .hero { min-height: 600px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }

  .why-card { width: 84vw; min-height: 500px; }
  .svc { width: 78vw; }
  .vid__track { --vh: auto; align-items: flex-end; }
  .vid { height: auto; }
  .vid--land { width: 86vw; aspect-ratio: 16 / 9; }
  .vid--port { width: 58vw; aspect-ratio: 9 / 16; }
  .vid__play { width: 62px; height: 62px; margin: -31px 0 0 -31px; }

  .qs { grid-template-columns: 1fr; }
  .form__row--2 { grid-template-columns: 1fr; }
  .acc__btn { grid-template-columns: 40px 1fr 24px; }
  .acc__panel p { padding: 18px 18px 22px 18px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .about__media { padding: 0 8% 18% 0; }
    .contact__actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .form { padding: 24px 20px 28px; margin-inline: calc(var(--gutter) * -1 + 8px); }
}

/* Reduced motion ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="clip"], .js [data-reveal="rise"], .js [data-reveal="vline"], .js [data-reveal="hline"], .js [data-hero-in], .js .line__in[data-hero-in] { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal="clip"] img { scale: 1; }
  .js [data-reveal="clip"] > * { clip-path: none; }
  .js [data-split] .w > span { transform: none; }
  .why-card__icon [pathLength] { animation: none !important; }
  .why-card { transform: none !important; }
  .rot { transition: none; }
  .hero__video { transform: none; }
}

/* Orange highlight for the "Solutions" heading word */
.services .h2 em { color: var(--accent); }

/* Yellow divider at the end of every section */
main > section:not(.hero)::after, .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #f2b705; z-index: 5; pointer-events: none; transform: scaleX(0); transform-origin: left; transition: transform 1.5s var(--ease-out) .2s; }
main > section.is-seen::after, .hero.is-seen::after { transform: scaleX(1); }
main > section { position: relative; }

/* PRELOADER ----------------------------------------------------------------- */
.preloader { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; background: #0e0d0b; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.js .preloader { display: grid; }
.preloader__video { width: min(560px, 78vw); height: auto; aspect-ratio: 760 / 400; background: transparent; }
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
html.is-preloading, html.is-preloading body { overflow: hidden; }

/* PROJECT PHOTO VIEWER ------------------------------------------------------ */
.imgbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,8,7,.97); color: #fff; overflow: hidden; }
.imgbox[open] { display: grid; place-items: center; animation: lb-in .4s var(--ease-out); }
.imgbox::backdrop { background: #000; }
.imgbox__img { max-width: min(92vw, 1100px); max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.imgbox__bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px clamp(16px, 3vw, 32px); }
.imgbox__count { color: rgba(255,255,255,.85); }
.imgbox__close, .imgbox__nav { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.4); color: #fff; transition: background-color .3s, color .3s; }
.imgbox__close:hover, .imgbox__nav:hover { background: #fff; color: #000; }
.imgbox__close svg, .imgbox__nav svg { width: 20px; height: 20px; }
.imgbox__nav { position: absolute; top: 50%; margin-top: -26px; z-index: 2; }
.imgbox__nav--prev { left: clamp(12px, 2vw, 32px); }
.imgbox__nav--prev svg { transform: rotate(180deg); }
.imgbox__nav--next { right: clamp(12px, 2vw, 32px); }
.pslide__img { cursor: zoom-in; }
@media (max-width: 767px) { .imgbox__nav { top: auto; bottom: 20px; margin-top: 0; } }

/* ==========================================================================
   DESKTOP: every section fits one screen at 100% zoom
   Sizes are driven by viewport height so content never runs past the screen.
   ========================================================================== */
@media (min-width: 1100px) and (min-height: 600px) {
  main > section:not(.hero):not(.partners) {
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding-block: clamp(96px, 13vh, 130px) clamp(20px, 3.4vh, 40px);
  }
  .h2 { font-size: clamp(2.2rem, min(5.4vw, 8vh), 5.2rem); }
  .h2--xl { font-size: clamp(2.6rem, min(8.6vw, 11.5vh), 8.6rem); }
  .h2--md { font-size: clamp(2rem, min(4vw, 6.4vh), 3.8rem); }
  .eyebrow { margin-bottom: clamp(10px, 1.8vh, 20px); }
  .section-head { margin-bottom: clamp(18px, 3.6vh, 44px); }

  /* About */
  .about__media { padding: 0 13% clamp(20px, 5vh, 48px) 0; }
  .about__main { aspect-ratio: auto; height: min(66vh, 640px); }
  .about__text .h2 { font-size: clamp(2rem, min(4.2vw, 6.8vh), 4.4rem); margin-bottom: clamp(16px, 3vh, 36px); }
  .about__copy { gap: clamp(10px, 1.6vh, 18px); font-size: clamp(.9rem, 1.9vh, 1.06rem); }
  .about__sectors { margin-top: clamp(16px, 3vh, 32px); }
  .about .link-arrow { margin-top: clamp(14px, 2.4vh, 28px); }
  .corner--br { right: -16px; }

  /* Why Eider */
  .why-card { min-height: 0; height: min(540px, 58vh); padding: clamp(18px, 2.4vh, 30px); }
  .why-card__ico { width: clamp(64px, 9vh, 92px); height: clamp(64px, 9vh, 92px); margin-top: clamp(14px, 3vh, 36px); }
  .why-card__icon { width: clamp(40px, 5.8vh, 58px); height: clamp(40px, 5.8vh, 58px); }
  .why-card__title { padding-top: clamp(12px, 2.4vh, 24px); font-size: clamp(1.3rem, 2.8vh, 1.7rem); }
  .why-card__text { margin-top: 8px; font-size: clamp(.84rem, 1.75vh, .95rem); line-height: 1.5; }
  .why-card__list { margin-top: clamp(10px, 1.8vh, 18px); padding-top: clamp(8px, 1.4vh, 14px); gap: clamp(4px, .9vh, 8px); }
  .why-card__list li { font-size: clamp(.8rem, 1.6vh, .9rem); }

  /* Solutions */
  .svc { width: auto; height: min(591px, 56vh); aspect-ratio: 19 / 30; }
  .svc__name { font-size: clamp(1.4rem, 3.2vh, 2.1rem); }

  /* Process */
  .psteps { --circle: clamp(110px, 20vh, 180px); }
  .pstep__card { padding-top: calc(var(--circle) * .42 + 24px); }
  .pstep__text { font-size: clamp(.84rem, 1.8vh, .95rem); }

  /* Elevator Guide */
  .guide__video { width: min(340px, calc((100vh - 72px - 150px) * 9 / 16)); }
  .guide__copy { gap: clamp(12px, 2vh, 22px); margin: clamp(16px, 2.4vh, 32px) 0 clamp(18px, 3vh, 36px); font-size: clamp(.92rem, 2vh, 1.12rem); line-height: 1.6; }

  /* Installation Benefits */
  .benefits__head { margin-bottom: clamp(16px, 3.6vh, 40px); }
  .benefits__title { font-size: clamp(2.6rem, min(7vw, 10.4vh), 7.6rem); }
  .benefits__media { min-height: 0; margin-bottom: 28px; }
  .benefits__sub { font-size: clamp(1.5rem, min(2.6vw, 4.6vh), 2.8rem); }
  .benefits__text { gap: clamp(12px, 2vh, 22px); font-size: clamp(.92rem, 2vh, 1.1rem); line-height: 1.6; }
  .benefits__btns { margin-top: 4px; }
  .benefits__btns .btn { height: clamp(46px, 6.4vh, 58px); }

  /* Projects, Videos */
  .pcar { --sw: min(clamp(230px, 21vw, 320px), 31vh); }
  .vid { width: min(clamp(240px, 21vw, 320px), 31vh); }
  .vid__track > .vid { flex: none; }

  /* FAQ */
  .faq__img { min-height: 0; }
  .faq__media { min-height: 0; }
  .acc__btn { padding-block: clamp(14px, 2.4vh, 26px); }
  .acc { gap: clamp(8px, 1.4vh, 12px); }
  .acc__call { margin-top: clamp(6px, 1.6vh, 16px); }

  /* Testimonials */
  .tshow__img { min-height: 0; height: min(46vh, 420px); align-self: center; }
  .tcard__quote { font-size: clamp(.86rem, 1.8vh, .98rem); padding: clamp(12px, 2vh, 18px); }
  .testi .link-arrow { margin-top: clamp(10px, 2.2vh, 28px); }

  /* Contact */
  .contact__title { font-size: clamp(2.2rem, min(5.2vw, 8.4vh), 5.6rem); max-width: none; }
  .contact__grid { margin-top: clamp(14px, 3vh, 36px); gap: clamp(16px, 2vw, 32px); }
  .cinfo { padding: clamp(8px, 1.6vh, 16px) 0; }
  .cinfo__big { font-size: clamp(1.15rem, 2.8vh, 1.7rem); }
  .cinfo .label { margin-bottom: 6px; }
  .contact__actions { margin-top: 4px; }
  .contact__actions .btn { height: clamp(44px, 6vh, 54px); }
  .form { padding: clamp(18px, 3.2vh, 38px) clamp(20px, 2.6vw, 40px); }
  .field { padding-top: clamp(10px, 1.8vh, 18px); margin-bottom: clamp(4px, 1vh, 10px); }
  .field label { top: calc(clamp(10px, 1.8vh, 18px) + 14px); }
  .field input, .field select, .field textarea { padding-block: 10px 8px; font-size: 1rem; }
  .field textarea { min-height: clamp(54px, 9vh, 90px); }
  .form__foot { margin-top: clamp(10px, 2vh, 20px); }
  .form .btn--lg { height: clamp(46px, 6.4vh, 56px); }
  .form__status { margin-top: 6px; min-height: 1.2em; }
}


/* ==========================================================================
   MOTION: varied, smooth animations
   ========================================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 250; background: var(--accent); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; will-change: transform; }

/* eyebrow rule draws in */
.js .eyebrow::before { transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease-out) .25s; }
.js .eyebrow.is-in::before { transform: scaleX(1); }

/* paragraphs: soft blur-to-sharp */
.js p[data-reveal] { filter: blur(7px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s), filter 1s var(--ease) var(--d, 0s); }
.js p[data-reveal].is-in { filter: none; }

/* big headings: letter-by-letter rise with a slight turn */
.js [data-split="chars"] .w > span { transform: none; transition: none; }
.c { display: inline-block; }
.js [data-split="chars"] .c { transform: translateY(112%) rotate(7deg); transform-origin: 0 100%; opacity: 0; transition: transform 1s var(--ease-out) calc(var(--ci, 0) * 32ms), opacity .5s var(--ease) calc(var(--ci, 0) * 32ms); }
.js [data-split="chars"].is-in .c { transform: none; opacity: 1; }

/* images: left-to-right wipe (a second reveal style alongside the bottom-up one) */
.js [data-reveal="wipe"] { opacity: 1; transform: none; }
.js [data-reveal="wipe"] > * { clip-path: inset(0 100% 0 0); transition: clip-path 1.5s var(--ease-out) var(--d, 0s); }
.js [data-reveal="wipe"].is-in > * { clip-path: inset(0 0 0 0); }
.js [data-reveal="wipe"] img { scale: 1.18; transition: scale 2s var(--ease-out) var(--d, 0s); }
.js [data-reveal="wipe"].is-in img { scale: 1; }

/* process circles pop in with a small turn, one after another */
.js .pstep[data-reveal]:not(.is-in) .pstep__circle { transform: scale(.55) rotate(-10deg); }
.pstep__circle { transition: transform .9s var(--ease-out), box-shadow .7s var(--ease-out); }

/* magnetic buttons (fine pointers) */
@media (hover: hover) and (pointer: fine) {
  .btn[data-magnetic] { transform: translate(var(--tx, 0px), var(--ty, 0px)); transition: color .5s var(--ease), border-color .5s var(--ease), transform .35s var(--ease-out); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .js .eyebrow::before { transform: none; }
  .js p[data-reveal] { filter: none; }
  .js [data-split="chars"] .c { transform: none; opacity: 1; }
  .js [data-reveal="wipe"] > * { clip-path: none; }
  .js [data-reveal="wipe"] img { scale: 1; }
  .js .pstep[data-reveal]:not(.is-in) .pstep__circle { transform: none; }
  main > section::after, .hero::after { transform: none; }
}

/* Installation Benefits: very light blue background */
.benefits { background: #eaf3fb; }
.benefits__inset { border-color: #eaf3fb; background: #eaf3fb; }

/* Contact: very light blue background */
.contact { background: #eaf3fb; }
.contact .form { background: #fff; border-color: rgba(14,13,11,.1); }

/* FAQs: light green background */
.faq { background: #dff0d8; }
.acc__panel > div { background: #f6fbf3; }

/* ==========================================================================
   CAROUSEL CONTROLS, AUTOPLAY AND DRIFT
   ========================================================================== */

/* Round arrow buttons: ring + orange fill that grows from the centre, arrow slides through on hover */
.cctrl { --ap: 2s; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 40px); margin-top: clamp(20px, 3.4vh, 40px); }
.cbtn { position: relative; isolation: isolate; display: grid; place-items: center; flex: none; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: transform .4s var(--ease-out); }
.cbtn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; border: 1.5px solid currentColor; transition: transform .6s var(--ease-out), border-color .4s; }
.cbtn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .6s var(--ease-out); }
.cbtn:hover::after, .cbtn:focus-visible::after { transform: scale(1); }
.cbtn:hover::before, .cbtn:focus-visible::before { border-color: var(--accent); transform: scale(1.1); }
.cbtn:active { transform: scale(.92); }
.cbtn__win { display: block; width: 24px; height: 24px; overflow: hidden; }
.cbtn--prev .cbtn__win { transform: scaleX(-1); }
.cbtn__in { display: flex; width: 48px; margin-left: -24px; transition: transform .6s var(--ease-out); }
.cbtn:hover .cbtn__in, .cbtn:focus-visible .cbtn__in { transform: translateX(24px); }
.cbtn svg { flex: none; width: 24px; height: 24px; }

.cctrl__mid { display: grid; justify-items: center; gap: 10px; min-width: 130px; }
.cctrl__count { font-family: var(--font-serif); font-size: clamp(2rem, 2.6vw, 2.6rem); line-height: 1; letter-spacing: -.02em; }
.cctrl__sep { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; color: var(--muted); }
.cctrl__bar { width: 130px; height: 2px; background: rgba(14,13,11,.16); overflow: hidden; }
.cctrl__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: cbar var(--ap) linear forwards; }
.cctrl.is-paused .cctrl__bar span { animation: none; }
@keyframes cbar { to { transform: scaleX(1); } }

/* Phones only: Process controls */
.cctrl--phone { display: none; }

/* Continuous drift rows: no snapping while they move */
.carousel.is-drift .carousel__track { scroll-snap-type: none; }
.carousel.is-drift .carousel__track > * { scroll-snap-align: none; }

/* Process on phones: one step at a time, no dotted line */
@media (max-width: 767px) {
  .psteps { --sw: calc(100vw - var(--gutter) * 2); --circle: 168px; scroll-snap-type: x mandatory; }
  .psteps__line { display: none; }
  .pstep { padding-inline: 10px; scroll-snap-align: center; }
  .pstep__title { font-size: 1.3rem; }
  .pstep__text { font-size: 1rem; max-width: 32ch; }
  .cctrl--phone { display: flex; margin-top: 8px; }
}

/* Desktop single-screen fit with the new Why Eider control row */
@media (min-width: 1100px) and (min-height: 600px) {
  .why-card { height: min(500px, 49vh); }
  .why .cctrl { margin-top: clamp(8px, 1.8vh, 22px); }
  .why .cbtn { width: clamp(44px, 6vh, 58px); height: clamp(44px, 6vh, 58px); }
  .why .cctrl__count { font-size: clamp(1.6rem, 3.4vh, 2.4rem); }
  .why .cctrl__mid { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .cctrl__bar span { animation: none; }
  .cbtn__in, .cbtn::before, .cbtn::after { transition: none; }
}
