/* Müller Ehitus. Look and motion follow the original Framer site (Livohaus template, free licence):
   Geist, neutral greys, orange #ea580c accent, pill buttons whose orange circle fills the pill on hover.
   Animation values (distances, durations, easing, delays) are copied from the original's Framer settings. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --n50: #fafafa; --n100: #f5f5f5; --n200: #e5e5e5; --n300: #d4d4d4; --n400: #a3a3a3;
  --n600: #525252; --n700: #404040; --n800: #262626; --n900: #171717; --n950: #0a0a0a;
  --o50: #fff7ed; --o600: #ea580c; --o700: #c2410c;
  --white: #ffffff;
  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 40px);
  --section: clamp(64px, 8vw, 100px);
  --radius: 10px;
  --ease: cubic-bezier(.25, 0, .25, 1);       /* Framer "tween 0.25,0,0.25,1" */
  --ease-zoom: cubic-bezier(.25, .1, .23, 1); /* hero / CTA image */
  --ease-spring: cubic-bezier(.2, .9, .3, 1); /* stand-in for Framer's 0.4 s spring */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--n800);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }  /* WebP wrapper; layout styles target the img inside */
a { color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
h1 { font-size: clamp(34px, 2.6vw + 14px, 50px); line-height: 1.2; letter-spacing: -0.04em; }
h2 { font-size: clamp(30px, 1.6vw + 16px, 40px); line-height: 1.2; letter-spacing: -0.04em; color: var(--n800); }
h3 { font-size: clamp(24px, 1vw + 16px, 32px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 400; }
.accent { color: var(--o600); }
:focus { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 14px; background: var(--o600); color: var(--white); border-radius: 8px; }
.skip:focus { top: 12px; }

/* ------------------------------------------------ appear animations (only when JS runs and motion is allowed) */
.anim [data-anim] {
  opacity: .001;
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}
.anim [data-anim="up"]    { transform: translateY(50px); }
.anim [data-anim="up20"]  { transform: translateY(20px); }
.anim [data-anim="up40"]  { transform: translateY(40px); }
.anim [data-anim="up100"] { transform: translateY(100px); }
.anim [data-anim="up150"] { transform: translateY(150px); }
.anim [data-anim="down"]  { transform: translateY(-50px); }
.anim [data-anim="right"] { transform: translateX(150px); }
.anim [data-anim="shrink"] { transform: scale(.95); }
.anim [data-anim="zoom"]  { transform: scale(1.2); transition-duration: 2s; transition-timing-function: var(--ease-zoom); }
.anim [data-anim].is-in, .anim-failsafe [data-anim] { opacity: 1; transform: none; }

/* word-by-word reveal (original "text effect": y 20px, blur 10px, 1 s, 0.05 s between words) */
.split .w { display: inline-block; }
.anim .split .w {
  opacity: .001; filter: blur(10px); transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: calc(var(--i) * .05s);
}
.anim .split.is-in .w, .anim-failsafe .split .w { opacity: 1; filter: none; transform: none; }

/* ------------------------------------------------ pills, tags */
.pill {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 48px; padding: 6px 6px 6px 20px; border-radius: 50px; border: 0;
  font: inherit; font-size: 18px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: color .4s var(--ease);
}
.pill__label { position: relative; z-index: 1; }
.pill__icon {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%; color: var(--white);
}
.pill__icon .icon { width: 18px; height: 18px; }
/* the orange circle that grows to fill the pill on hover */
.pill__fill {
  position: absolute; z-index: 0; top: 6px; right: 6px; width: 36px; height: 36px;
  border-radius: 500px; background: var(--o600);
  transition: top .4s var(--ease), right .4s var(--ease), width .4s var(--ease), height .4s var(--ease);
}
.pill:hover .pill__fill, .pill:focus-visible .pill__fill { top: 0; right: 0; width: 100%; height: 100%; }
.pill--light { background: var(--n50); color: var(--n950); }
.pill--light:hover, .pill--light:focus-visible { color: var(--white); }
.pill--dark { background: var(--n950); color: var(--n50); }
.pill--outline { background: transparent; color: var(--n50); box-shadow: inset 0 0 0 1px rgba(250,250,250,.5); }
.pill[disabled] { cursor: progress; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 50px; border: 1px solid rgba(234, 88, 12, .45);
  background: var(--o50); color: var(--o600);
  font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: 0.05em; text-transform: uppercase;
}
.tag__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--o600); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions--center { justify-content: center; }

.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.section-head--center { align-items: center; text-align: center; margin-inline: auto; max-width: 760px; }
.section-head__body { color: var(--n600); font-size: 18px; line-height: 1.5; }

.icon { width: 20px; height: 20px; flex: none; }

/* photo containers: light box behind, image zooms from 1.2 while fading in (original hero/CTA/project hero) */
.media-box { position: absolute; inset: 0; overflow: hidden; background: rgba(250,250,250,.8); }
.media-box__zoom { position: absolute; inset: 0; }
.hero__img, .phero__img, .cta__img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------ header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.site-header--solid { position: relative; background: var(--white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 99px; }
.site-header__logo { display: block; flex: none; color: var(--n50); }
.site-header--solid .site-header__logo { color: var(--n950); }
.logo { display: block; width: 132px; height: auto; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a { color: var(--n50); text-decoration: none; font-size: 18px; transition: color .4s var(--ease-spring); }
.site-header--solid .site-nav a { color: var(--n800); }
.site-nav a:hover { color: var(--o600); }
.site-header__end { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .site-header__inner { min-height: 76px; }
  .logo { width: 108px; }
  .site-header__end .pill { display: none; }
  .js .menu-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 50%; background: var(--n50); color: var(--n950); cursor: pointer;
  }
  .js .site-header--solid .menu-toggle { background: var(--n950); color: var(--n50); }
  .menu-toggle .icon--close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon--open { display: none; }
  .menu-toggle[aria-expanded="true"] .icon--close { display: block; }
  .js .site-nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 72px;
    padding: 8px 20px; background: var(--white); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.18);
    opacity: 0; transform: translateY(-12px); visibility: hidden;
    transition: opacity .4s var(--ease-spring), transform .4s var(--ease-spring), visibility 0s linear .4s;
  }
  .js .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav a { display: block; padding: 14px 0; color: var(--n800); border-bottom: 1px solid var(--n200); }
  .js .site-nav li:last-child a { border-bottom: 0; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 16px; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
}

/* ------------------------------------------------ hero */
.hero { position: relative; min-height: max(100vh, 640px); min-height: max(100svh, 640px); display: flex; color: var(--n50); overflow: hidden; background: var(--n950); }
.hero__shade { position: absolute; inset: 0; background: #000; opacity: .75; }
.hero__inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-top: 192px; padding-bottom: 60px; }
.hero__eyebrow { font-size: 16px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { max-width: 680px; color: var(--n50); }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero__text { max-width: 470px; }
.hero__text p { color: var(--n200); font-size: 18px; margin-bottom: 24px; }
.hero__review {
  width: 350px; flex: none; padding: 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.2); -webkit-backdrop-filter: blur(7.5px); backdrop-filter: blur(7.5px);
  color: var(--n50); font-size: 16px; line-height: 1.5;
}
.hero__review figcaption { margin-top: 12px; font-weight: 500; font-style: italic; font-size: 15px; }
.stars { display: flex; gap: 4px; margin-bottom: 10px; color: var(--o600); }
.star { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .hero__inner { padding-top: 140px; padding-bottom: 32px; }
  .hero__bottom { flex-direction: column; align-items: stretch; }
  .hero__review { width: 100%; }
}

/* ------------------------------------------------ about */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.collage { display: grid; grid-template-columns: 1.33fr 1fr; grid-template-rows: 1fr 1.8fr; gap: 16px; height: 485px; }
.collage figure { overflow: hidden; border-radius: var(--radius); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__a { grid-row: 1 / span 2; }
.collage__a img { object-position: center bottom; }
.about__text { display: flex; flex-direction: column; gap: 56px; }
.stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; gap: 6px; }
.stat__value { font-size: 48px; font-weight: 600; line-height: 1; color: #000; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 16px; color: var(--n600); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .collage { height: 380px; }
  .about__text { gap: 40px; }
  .stat__value { font-size: 36px; }
  .stats { gap: 28px; }
}

/* ------------------------------------------------ services: pinned while cards slide sideways */
.services { background: var(--o50); border-top: 1px solid var(--n200); }
.services__sticky { padding-block: var(--section); overflow: hidden; }
.services__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: start; margin-bottom: 48px; }
.services__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.services__intro p { color: var(--n600); }
.services__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gutter); }
.services__viewport::-webkit-scrollbar { display: none; }
.services__track { display: flex; gap: 20px; width: max-content; }
.scard { position: relative; width: min(380px, 80vw); aspect-ratio: 380 / 460; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: var(--n800); }
.scard__img { width: 100%; height: 100%; object-fit: cover; }
.scard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 45%, rgba(10,10,10,.85) 100%); }
.scard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; }
.scard h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: var(--n100); margin-bottom: 6px; }
.scard p { font-size: 16px; color: var(--n300); }
.services.is-pinned { position: relative; }
.services.is-pinned .services__sticky { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.services.is-pinned .services__viewport { overflow: visible; scroll-snap-type: none; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.services.is-pinned .services__track { will-change: transform; }
@media (max-width: 900px) { .services__head { grid-template-columns: 1fr; } }

/* ------------------------------------------------ works carousel (original slideshow: 0.6 s, sides at 0.8 scale / 0.7 opacity) */
.works .section-head { margin-bottom: 48px; }
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: calc((100vw - min(960px, 86vw)) / 2); cursor: grab;
}
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__track.is-animating { scroll-snap-type: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.slide { flex: none; width: min(960px, 86vw); scroll-snap-align: center; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.slide.is-side { transform: scale(.8); opacity: .7; }
.slide__link { position: relative; display: block; aspect-ratio: 960 / 540; border-radius: 12px; overflow: hidden; color: var(--n100); text-decoration: none; background: var(--n800); -webkit-user-drag: none; }
.slide__media { position: absolute; inset: 0; }
.slide__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); -webkit-user-drag: none; user-select: none; }
.slide__link:hover .slide__img { transform: scale(1.05); }
.slide__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 50%, rgba(10,10,10,.8) 100%); }
.slide__go { position: absolute; top: 20px; right: 20px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--n50); color: var(--o600); transition: color .4s var(--ease-spring); }
.slide__go::before { content: ""; position: absolute; inset: 50%; border-radius: 50%; background: var(--o600); transition: inset .4s var(--ease-spring); }
.slide__go .icon { position: relative; }
.slide__go:hover { color: var(--white); }
.slide__go:hover::before { inset: 0; }
.slide__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 32px; }
.slide__title { font-size: clamp(22px, 2vw + 8px, 32px); letter-spacing: -0.02em; }
.slide__intro { font-size: 16px; color: var(--n300); max-width: 60ch; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--o600); color: var(--white); cursor: pointer;
}
.carousel__btn--prev { left: calc((100vw - min(960px, 86vw)) / 2 + 16px); }
.carousel__btn--next { right: calc((100vw - min(960px, 86vw)) / 2 + 16px); }
.works .actions { margin-top: 40px; }
@media (max-width: 809px) {
  .carousel__track { gap: 16px; }
  .slide__link { aspect-ratio: 4 / 5; }
  .slide__body { padding: 20px; }
  .carousel__btn { display: none; }  /* the original phone slideshow has no arrows; it auto-plays every 4 s */
}

/* ------------------------------------------------ CTA */
.cta { position: relative; min-height: max(100vh, 600px); display: grid; place-items: center; overflow: hidden; background: var(--n950); color: var(--n50); text-align: center; }
.cta__shade { position: absolute; inset: 0; background: rgb(6, 6, 8); opacity: .8; }
.cta__body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 760px; padding-block: 96px; }
.cta h2 { color: var(--n50); }
.cta p:not(.tag) { color: var(--n200); }
.cta .actions { margin-top: 24px; }

/* ------------------------------------------------ testimonials */
.testimonials__grid { display: grid; grid-template-columns: 1.27fr 1fr; gap: 24px; align-items: stretch; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; max-width: 660px; }
.qcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 16px 16px 20px; border-radius: var(--radius); background: var(--n100); }
.qcard p { font-size: 16px; color: var(--n800); }
.qcard__who { display: flex; flex-direction: column; font-size: 13px; color: var(--n600); }
.qcard__who strong { font-size: 15px; font-weight: 500; color: var(--n950); }
.qcard__mark { position: absolute; right: 16px; bottom: 6px; font-size: 44px; line-height: 1; color: var(--o600); font-weight: 600; }
.feature { position: relative; min-height: 540px; border-radius: var(--radius); overflow: hidden; background: var(--n800); }
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 40%, rgba(10,10,10,.85) 100%); }
.feature__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; color: var(--n100); font-size: 16px; }
.feature figcaption { margin-top: 12px; font-style: italic; font-weight: 500; }
@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; }
  .feature { min-height: 460px; }
}
@media (max-width: 560px) { .qgrid { grid-template-columns: 1fr; gap: 16px; } }

/* ------------------------------------------------ FAQ (plus turns into an orange minus; answer slides open) */
.faq { background: var(--o50); border-top: 1px solid var(--n200); }
.faq__inner .section-head { margin-bottom: 48px; }
.faq__list { display: flex; flex-direction: column; gap: 16px; max-width: 700px; margin-inline: auto; }
.faq__item { border-radius: var(--radius); background: var(--white); overflow: hidden; }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--n800); }
.faq__item summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 18px; height: 18px; }
.pm span { position: absolute; left: 0; top: 50%; width: 18px; height: 1.5px; margin-top: -.75px; background: #000; border-radius: 2px; transition: transform .5s var(--ease-spring), background-color .5s var(--ease-spring); }
.pm span:last-child { transform: rotate(90deg); }
.faq__item[open] .pm span { transform: rotate(180deg); background: var(--o600); }
.faq__item[open] .pm span:last-child { transform: rotate(180deg); }
.faq__answer { padding: 0 20px 20px; color: var(--n600); font-size: 16px; line-height: 1.5; }

/* ------------------------------------------------ contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 60px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 32px; }
.contact__img { width: 100%; aspect-ratio: 540 / 225; object-fit: cover; border-radius: var(--radius); }
.contact__details { display: flex; flex-wrap: wrap; gap: 24px 40px; }
.ccard { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ccard strong { display: block; font-weight: 500; font-size: 16px; color: var(--n950); }
.ccard__value { font-size: 15px; color: var(--n600); transition: color .4s var(--ease); }
.ccard:hover .ccard__value { color: var(--o600); }
.ring { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--o600); color: var(--o600); flex: none; overflow: hidden; transition: color .4s var(--ease); }
.ring__fill { position: absolute; inset: 50%; border-radius: 50%; background: var(--o600); transition: inset .4s var(--ease); }
.ring .icon { position: relative; width: 18px; height: 18px; }
.ccard:hover .ring { color: var(--white); }
.ccard:hover .ring__fill { inset: 0; }

.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 32px; border-radius: 16px; background: var(--n100); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--wide, .quote-form__foot { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--n600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--n400); background: var(--n100); color: var(--n950);
  transition: border-color .2s var(--ease);
  font: inherit; font-size: 16px; line-height: 1.2;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.4; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23525252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field input::placeholder, .field textarea::placeholder { color: var(--n400); }
.field input:focus, .field select:focus, .field textarea:focus,
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--n800); outline: none; box-shadow: none; }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.quote-form__status { font-size: 15px; color: var(--n600); }

/* form button states, as in the original Form Button component */
.fbtn { padding: 6px 6px 6px 16px; }
.fbtn__check, .fbtn__spinner { display: none; }
.fbtn__spinner {
  position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,255,255,0) 7deg, #fff 342deg);
  -webkit-mask: radial-gradient(circle, transparent 7px, #000 8px); mask: radial-gradient(circle, transparent 7px, #000 8px);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.fbtn[data-state="loading"] { padding: 14px 40px; }
.fbtn[data-state="loading"] .pill__label, .fbtn[data-state="loading"] .pill__icon, .fbtn[data-state="loading"] .pill__fill { display: none; }
.fbtn[data-state="loading"] .fbtn__spinner { display: block; }
.fbtn[data-state="success"] .fbtn__arrow { display: none; }
.fbtn[data-state="success"] .fbtn__check { display: block; }
.fbtn[data-state="error"] { background: rgba(255, 34, 68, .15); color: #b91c1c; padding: 13px 16px; }
.fbtn[data-state="error"] .pill__icon, .fbtn[data-state="error"] .pill__fill { display: none; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .quote-form { grid-template-columns: 1fr; padding: 20px; } }

/* ------------------------------------------------ projects list */
.page-top { padding-top: 48px; }
.page-top .section-head { margin-bottom: 48px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pcard { position: relative; display: block; aspect-ratio: 380 / 450; border-radius: var(--radius); overflow: hidden; color: var(--n100); text-decoration: none; background: var(--n800); }
.pcard__media { position: absolute; inset: 0; }
.pcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__img { transform: scale(1.05); }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 45%, rgba(10,10,10,.85) 100%); }
.pcard__badge { position: absolute; top: 14px; right: 14px; z-index: 1; padding: 3px 10px; border-radius: 6px; background: var(--o600); color: var(--white); font-size: 13px; font-weight: 500; }
.pcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 24px 24px; }
.pcard__title { font-size: clamp(22px, 1vw + 14px, 28px); font-weight: 400; letter-spacing: -0.02em; color: var(--n50); }
.pcard__place { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--n300); }
.pcard__place .icon { width: 16px; height: 16px; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pgrid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ project page */
.phero { position: relative; min-height: 620px; display: flex; color: var(--n50); overflow: hidden; background: var(--n950); }
.phero__shade { position: absolute; inset: 0; background: var(--n950); opacity: .6; }
.phero__inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: 160px; padding-bottom: 56px; }
.phero__text { max-width: 560px; display: flex; flex-direction: column; gap: 14px; }
.phero h1 { color: var(--n50); }
.phero__text p { color: var(--n200); }
.phero__facts { display: flex; gap: 28px; flex: none; }
.phero__facts dt { font-size: 14px; color: var(--n300); }
.phero__facts dd { font-size: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 4px; }
@media (max-width: 900px) {
  .phero { min-height: 560px; }
  .phero__inner { flex-direction: column; align-items: flex-start; padding-top: 140px; padding-bottom: 32px; }
  .phero__facts { flex-wrap: wrap; gap: 16px 24px; }
}
.pdetails { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.pdetails h2 { font-size: clamp(24px, 1vw + 16px, 32px); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 14px; }
.pdetails p { color: var(--n600); }
.pgallery { margin-top: var(--section); }
.pgallery h2 { font-size: clamp(24px, 1vw + 16px, 32px); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 24px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery__link { display: block; border-radius: 12px; overflow: hidden; background: var(--n100); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pager { display: flex; justify-content: space-between; gap: 24px; margin-top: var(--section); padding-top: 32px; border-top: 1px solid var(--n200); }
.pager a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; max-width: 45%; }
.pager span { font-size: 16px; color: var(--o600); }
.pager strong { font-weight: 500; font-size: 20px; color: var(--n800); transition: color .4s var(--ease); }
.pager a:hover strong { color: var(--o600); }
.pager a[rel="next"] { text-align: right; margin-left: auto; }
@media (max-width: 760px) { .pdetails { grid-template-columns: 1fr; } .gallery { gap: 12px; } }

/* ------------------------------------------------ lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,10,10,.95); color: var(--n50); }
.lightbox::backdrop { background: rgba(10,10,10,.95); }
.lightbox__img { position: absolute; inset: 64px 76px; width: calc(100% - 152px); height: calc(100% - 128px); object-fit: contain; }
.lightbox__btn { position: absolute; display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 16px; border: 0; border-radius: 50px; background: var(--n50); color: var(--n950); font: inherit; font-size: 16px; cursor: pointer; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); width: 44px; padding: 0; background: var(--o600); color: var(--white); font-size: 22px; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__count { position: absolute; left: 20px; top: 22px; font-size: 15px; color: var(--n300); }
@media (max-width: 700px) {
  .lightbox__img { inset: 64px 8px 84px; width: calc(100% - 16px); height: calc(100% - 148px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 56px); }
  .lightbox__next { right: calc(50% - 56px); }
}

/* ------------------------------------------------ simple pages */
.simple__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-block: 80px 40px; }
.simple__inner p { color: var(--n600); }

/* ------------------------------------------------ footer */
.site-footer { background: var(--n950); color: var(--n50); padding-top: 96px; overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: 1fr auto auto; gap: 40px 80px; }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.site-footer__tagline { max-width: 420px; font-size: clamp(24px, 1vw + 16px, 32px); line-height: 1.2; letter-spacing: -0.02em; }
.site-footer__col h2 { font-size: 18px; font-weight: 400; letter-spacing: 0; color: var(--n50); margin-bottom: 20px; }
.site-footer__col li { padding-block: 6px; font-size: 16px; color: var(--n300); }
.site-footer__col a:not(.pill) { color: var(--n300); text-decoration: none; transition: color .5s var(--ease); }
.site-footer__col a:not(.pill):hover { color: var(--o600); }
.site-footer__contact li, .site-footer__contact a { display: flex; align-items: center; gap: 10px; }
.site-footer__contact .icon { width: 16px; height: 16px; color: var(--n400); }
.site-footer__copy { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--n800); font-size: 16px; color: var(--n400); }
.footer-wordmark { display: block; width: 100%; height: auto; margin-top: 56px; margin-bottom: -2%; color: var(--n50); opacity: .15; }
@media (max-width: 900px) {
  .site-footer { padding-top: 64px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ------------------------------------------------ reduced motion: keep everything still */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .slide.is-side { transform: none; }
}

@media print { .site-header, .site-footer, .cta, .quote-form, .carousel__btn { display: none; } }
