/* ============================================================
   CINEMATIC LANDING TEMPLATE — styles
   Customize the brand in :root, then reuse everything else.
   ============================================================ */
:root {
  --bg:        #0d0b08;
  --bg-2:      #16110b;
  --fg:        #f4efe4;
  --muted:     rgba(244, 239, 228, 0.55);
  --line:      rgba(244, 239, 228, 0.10);
  --accent:    #e0913f;          /* Santa Lucía — cargo-bike amber */
  --maxw:      1180px;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans:  "Inter", system-ui, sans-serif;
  --font-mono:  "Space Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; } /* Lenis handles smoothing */
/* The [data-fx] reveals sit at translateX(±120px) until they animate in, which
   widens the document. body{overflow-x:hidden} alone does NOT contain it — the
   overflow propagates to the viewport and phones shrink-to-fit the whole page.
   `clip` stops it without creating a scroll container (which would break Lenis). */
html, body { overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* ---------- Preloader ---------- */
/* Black screen with the small badge + a thin loading line. Auto-dismisses via
   CSS (never gets stuck); main.js also removes it on window.load. */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  background: #0b0a08;
  animation: loaderOut .55s ease 1.5s forwards;
}
#loader img { width: 58px; height: auto; opacity: .96; animation: loaderPulse 1.6s ease-in-out infinite; }
.loader__bar {
  width: 140px; height: 2px; border-radius: 2px; overflow: hidden;
  background: rgba(244,239,228,0.14);
}
.loader__fill {
  display: block; width: 0; height: 100%; border-radius: 2px;
  background: var(--accent);
  animation: loaderFill 1.5s cubic-bezier(.4,0,.15,1) forwards;
}
#loader.is-hidden { opacity: 0; visibility: hidden; }
@keyframes loaderFill { from { width: 0; } to { width: 100%; } }
@keyframes loaderOut  { to { opacity: 0; visibility: hidden; } }
@keyframes loaderPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  #loader { animation: loaderOut .3s ease .2s forwards; }
  #loader img { animation: none; }
  .loader__fill { animation: loaderFill .3s ease forwards; }
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(80px, 12vw, 160px) 24px; }
.italic { font-style: italic; }
.muted { color: var(--muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 400; letter-spacing: 0.02em;
  padding: 14px 26px; border-radius: 100px;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--fg); color: #0a0a0b; border: 1px solid var(--fg); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--fg); }
/* looping text swap inside a button (Begagnade ⇄ Demo & test) */
.txtswap { display: inline-block; transition: opacity .38s ease; will-change: opacity; }
@media (prefers-reduced-motion: reduce) { .txtswap { transition: none; } }
.btn--pill { background: rgba(244,241,234,0.06); border: 1px solid var(--line); padding: 10px 20px; }
.btn--pill:hover { background: rgba(244,241,234,0.12); }

/* ---------- Nav ---------- */
/* Floating white pill. It rides above the dark hero and contracts on scroll
   (narrower, tighter, smaller logo) — hence the ink-on-white colours here
   rather than the page's dark-theme variables. */
.nav {
  --nav-ink: #14110d;
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 8px 8px 8px 18px;
  background: #fff; color: var(--nav-ink);
  border-radius: 100px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  transition: top .38s var(--ease-out), width .38s var(--ease-out),
              padding .38s var(--ease-out), box-shadow .38s ease;
}
.nav.is-scrolled {
  top: 10px;
  width: min(940px, calc(100% - 24px));
  padding: 5px 5px 5px 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}
.nav__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
/* Line-art badge: the name is drawn inside it, so it needs real size to stay
   legible — below ~60px the script and "CYKLAR" turn to mush. */
.nav__logo-img { height: 62px; width: auto; transition: height .38s var(--ease-out); }
.nav.is-scrolled .nav__logo-img { height: 48px; }

.nav__links { display: flex; gap: 30px; font-size: 14.5px; color: rgba(20, 17, 13, 0.72); }
.nav__links a { position: relative; padding: 4px 0; transition: color .25s ease; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav__links a:hover { color: var(--nav-ink); }
.nav__links a:hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .nav__links { gap: 22px; font-size: 14px; } }

/* CTA inside the white pill: inverted (dark chip on white) */
.nav__cta.btn--pill {
  background: var(--nav-ink); color: #fff; border: 1px solid var(--nav-ink);
  padding: 12px 22px; font-size: 14px;
}
.nav__cta.btn--pill:hover { background: var(--accent); border-color: var(--accent); color: var(--nav-ink); }
.nav.is-scrolled .nav__cta.btn--pill { padding: 10px 20px; }

/* ---------- Burger + mobile menu ---------- */
.nav__burger {
  display: none; /* desktop: hidden, see media query */
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 9px; margin-right: 4px;
  background: none; border: 0; cursor: pointer; z-index: 60;
}
.nav__burger span {
  display: block; height: 1.6px; width: 100%; background: #14110d; border-radius: 2px;
  transition: transform .32s var(--ease-out), opacity .2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Light overlay to match the white pill — a dark one would swallow the
   black burger/X, which sits above it. */
.nav__menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 34px; padding: 96px 28px 40px;
  background: #fdfcf9;
  color: #14110d;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .34s ease, transform .34s var(--ease-out), visibility .34s;
}
.nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
.nav__menu-links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.nav__menu-links a {
  font-family: var(--font-serif); font-weight: 300; font-size: clamp(30px, 9vw, 40px);
  line-height: 1.35; letter-spacing: -0.01em; color: #14110d;
}
.nav__menu-links a:active { color: var(--accent); }
.nav__menu-cta.btn--solid {
  font-size: 15px; padding: 15px 30px;
  background: #14110d; color: #fff; border-color: #14110d;
}
.nav__menu-cta.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #14110d; }
.nav__menu-contact {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  color: rgba(20, 17, 13, 0.6); margin-top: 4px;
}
/* stop the page moving behind the open menu */
html.menu-open, html.menu-open body { overflow: hidden; }

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav { top: 12px; width: calc(100% - 24px); padding: 6px 6px 6px 14px; }
  .nav.is-scrolled { top: 8px; width: calc(100% - 20px); }
  .nav__logo-img { height: 54px; }
  .nav.is-scrolled .nav__logo-img { height: 44px; }
}
@media (min-width: 761px) {
  /* never leave the overlay reachable on desktop */
  .nav__menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  overflow: hidden;
  /* animated gradient backdrop (used when there is no video) */
  background:
    radial-gradient(60% 50% at 70% 20%, rgba(224,145,63,0.18), transparent 60%),
    radial-gradient(50% 60% at 20% 80%, rgba(224,145,63,0.10), transparent 60%),
    var(--bg);
}
.hero__picture { display: contents; }
.hero__video {
  position: absolute; left: 0; top: -5%; width: 100%; height: 110%;
  /* biased above centre so the subject's head clears the fixed nav (~90px) */
  object-fit: cover; object-position: center 33%;
  z-index: 0; /* only mildly oversized: more oversize = more of the photo cropped away */
}
/* wide screens load hero-wide.jpg, whose figure sits lower in the frame */
@media (min-aspect-ratio: 13/10) {
  .hero__video { object-position: center 22%; }
}
/* Phones: fill the screen edge to edge. The phone video is portrait-framed,
   so it sits centred. */
@media (max-width: 760px) {
  .hero__video { top: 0; height: 100%; object-fit: cover; object-position: center center; }
}
/* hero entrance on load (pure CSS, staggered) */
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.has-js .hero__content > * { opacity: 0; animation: heroIn 0.9s var(--ease-out) forwards; }
.has-js .hero__content > *:nth-child(1) { animation-delay: 0.15s; }
.has-js .hero__content > *:nth-child(2) { animation-delay: 0.28s; }
.has-js .hero__content > *:nth-child(3) { animation-delay: 0.41s; }
.has-js .hero__content > *:nth-child(4) { animation-delay: 0.54s; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(80% 80% at 50% 40%, rgba(13,11,8,0.45), rgba(13,11,8,0.9)),
    linear-gradient(180deg, rgba(13,11,8,0.55), transparent 30%);
}
.hero__content { position: relative; z-index: 2; max-width: 820px; }
.hero__title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(52px, 11vw, 132px); line-height: 0.95; letter-spacing: -0.02em;
  margin: 8px 0 28px;
}
.hero__title span { display: inline-block; }
.hero__sub { font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 520px; margin: 0 auto 36px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- Bands ---------- */
.band { padding: clamp(100px, 16vw, 220px) 24px; text-align: center; }
.manifesto { font-family: var(--font-serif); font-weight: 300; font-size: clamp(28px, 5vw, 64px); line-height: 1.15; letter-spacing: -0.01em; }
.quote { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: clamp(24px, 4vw, 46px); line-height: 1.3; max-width: 900px; margin: 0 auto; }
.quote cite { display: block; font-family: var(--font-mono); font-style: normal; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-top: 28px; }
/* Founder quote opening the "Om oss" section: left-aligned to sit with the
   eyebrow above it, rather than centred like the old standalone band. */
.quote--lead {
  margin: 0 0 clamp(52px, 7vw, 88px);
  max-width: 24ch;
  font-size: clamp(23px, 3.4vw, 40px);
  padding-left: clamp(16px, 2vw, 26px);
  border-left: 2px solid var(--accent);
}
@media (max-width: 700px) { .quote--lead { max-width: none; } }

/* ---------- Brands / partners ---------- */
.brands { padding: clamp(70px, 10vw, 120px) 0; background: var(--bg-2); }
.brands .eyebrow { text-align: center; }
.brands__title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(26px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.01em;
  text-align: center; margin-bottom: clamp(20px, 3vw, 30px);
}
.brands__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brands__item {
  display: flex; align-items: center; justify-content: center;
  min-height: 124px; padding: 28px 26px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(244,239,228,0.03);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.brands__item img {
  max-width: 100%; max-height: 44px; width: auto; height: auto;
  /* force every logo to a uniform white, whatever its source colours */
  filter: brightness(0) invert(1);
  opacity: 0.62;
  transition: opacity .35s ease;
}
/* squarer logos need more height to read at the same optical size as wordmarks */
.brands__item img.is-stacked { max-height: 62px; }
/* brands that have a catalogue behind them get a hover affordance */
.brands__item--link { position: relative; flex-direction: column; gap: 10px; }
.brands__go {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease;
}
.brands__item--link:hover .brands__go { opacity: 1; transform: none; }
@media (hover: none) { .brands__go { opacity: 1; transform: none; } }
.brands__item:hover { transform: translateY(-4px); border-color: rgba(224,145,63,0.45); background: rgba(224,145,63,0.06); }
.brands__item:hover img { opacity: 1; }
@media (max-width: 760px) { .brands__grid { grid-template-columns: repeat(2, 1fr); } .brands__item { min-height: 104px; padding: 22px 18px; } }

.brands__cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin: clamp(4px, 1vw, 10px) 0 clamp(40px, 5vw, 60px);
}
@media (max-width: 460px) { .brands__cta .btn { width: 100%; justify-content: center; } }

/* ---------- Logo marquee (dual-direction) ----------
   Two rows scrolling opposite ways. Each row's chips are duplicated once and
   the track slides exactly -50%, so the loop is seamless. White chips let logos
   of any colour / background (red boxes, black boxes, line art) sit uniformly. */
.mq { overflow: hidden; padding: 6px 0; }
.mq + .mq { margin-top: 16px; }
/* fade the edges so logos slide in/out softly instead of hard-cutting */
@supports (mask-image: linear-gradient(#000,#000)) {
  .mq { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
}
.mq__track { display: flex; width: max-content; will-change: transform; }
.mq__track--left  { animation: mq-left  62s linear infinite; }
.mq__track--right { animation: mq-right 56s linear infinite; }
.mq:hover .mq__track { animation-play-state: paused; }
@keyframes mq-left  { from { transform: translateX(0); }     to { transform: translateX(-50%); } }
@keyframes mq-right { from { transform: translateX(-50%); }  to { transform: translateX(0); } }
.mq__chip {
  flex: 0 0 auto; margin-right: 16px;
  display: flex; align-items: center; justify-content: center;
  height: 84px; min-width: 148px; padding: 0 26px;
  background: #fff; border-radius: 14px;
}
.mq__chip img { max-height: 42px; max-width: 130px; width: auto; object-fit: contain; }
@media (max-width: 640px) {
  .mq__chip { height: 68px; min-width: 118px; padding: 0 20px; margin-right: 12px; }
  .mq__chip img { max-height: 34px; max-width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .mq { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .mq__track { animation: none; }
}

/* ---------- Section title ---------- */
.section__title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(34px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 56px; }

/* ---------- Services grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 36px 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); transition: transform .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(224,145,63,0.4); }
.card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 26px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }
.card__link {
  display: inline-block; margin-top: 16px; color: var(--accent);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px solid rgba(224,145,63,0.35); padding-bottom: 3px;
  transition: border-color .25s ease;
}
.card__link:hover { border-color: var(--accent); }

/* ---------- Image tiles (services) ----------
   Title always readable; description + link reveal on hover. On touch there is
   no hover, so everything is shown from the start there. */
.grid--tiles { gap: 18px; }
.tile {
  position: relative; display: block; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  transition: transform .4s var(--ease-out), border-color .4s ease;
}
.tile__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out), filter .4s ease;
}
.tile__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,11,8,0.18) 0%, rgba(13,11,8,0.72) 62%, rgba(13,11,8,0.92) 100%);
  transition: background .4s ease;
}
.tile__body {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 26px 28px;
}
.tile__title {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.2; padding-bottom: 12px; position: relative;
}
/* the thin rule under the title, like their current site */
.tile__title::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 54px; height: 1px; background: rgba(244,239,228,0.6);
  transition: width .4s var(--ease-out), background .4s ease;
}
.tile__text, .tile__link { opacity: 0; transition: opacity .35s ease, max-height .45s var(--ease-out), margin .45s var(--ease-out); }
.tile__text {
  font-size: 14.5px; color: rgba(244,239,228,0.82); max-width: 40ch;
  max-height: 0; overflow: hidden; margin-top: 0;
}
.tile__link {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  max-height: 0; overflow: hidden; margin-top: 0;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(224,145,63,0.45); }
.tile:hover .tile__img { transform: scale(1.06); }
.tile:hover .tile__veil { background: linear-gradient(180deg, rgba(13,11,8,0.45) 0%, rgba(13,11,8,0.86) 55%, rgba(13,11,8,0.95) 100%); }
.tile:hover .tile__title::after { width: 100%; background: var(--accent); }
.tile:hover .tile__text { opacity: 1; max-height: 12em; margin-top: 14px; }
.tile:hover .tile__link { opacity: 1; max-height: 4em; margin-top: 16px; }
/* keyboard users get the same reveal */
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tile:focus-visible .tile__text { opacity: 1; max-height: 12em; margin-top: 14px; }
.tile:focus-visible .tile__link { opacity: 1; max-height: 4em; margin-top: 16px; }
@media (hover: none) {
  .tile { aspect-ratio: auto; min-height: 340px; }
  .tile__text { opacity: 1; max-height: 12em; margin-top: 14px; }
  .tile__link { opacity: 1; max-height: 4em; margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .tile__img, .tile__text, .tile__link, .tile__title::after { transition: none; }
}
@media (max-width: 800px) { .grid { grid-template-columns: 1fr; } }

/* ---------- Work grid ---------- */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.work__item {
  aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), rgba(224,145,63,0.12));
  border: 1px solid var(--line);
  transition: transform .4s ease, filter .4s ease;
}
.work__item:hover { transform: scale(1.015); filter: brightness(1.15); }
.work__item--photo { background-size: cover; background-position: center; }
@media (max-width: 700px) { .work { grid-template-columns: 1fr; } }

/* ---------- Renovering ---------- */
.reno__lead {
  font-size: clamp(16px, 2vw, 20px); color: var(--muted);
  max-width: 62ch; margin: -24px 0 clamp(36px, 5vw, 52px);
}
.reno__video {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-2); margin-bottom: clamp(36px, 5vw, 56px);
}
.reno__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.reno__gallery-title {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(20px, 2.6vw, 28px);
  margin-bottom: 22px;
}
/* uniform 3×2 grid — a spanning feature never divides 6 tiles cleanly and
   left one photo stranded on its own row */
.reno__gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.reno__item {
  aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
  transition: transform .45s var(--ease-out), filter .4s ease;
}
.reno__item:hover { transform: scale(1.02); filter: brightness(1.08); }
@media (max-width: 700px) { .reno__gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact list ---------- */
.contact-list { list-style: none; margin-top: 8px; }
.contact-list li { font-size: 17px; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list a:hover { color: var(--accent); }

/* ---------- CTA + Form ---------- */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.form { display: flex; flex-direction: column; gap: 14px; }
/* submit + price-list buttons: one row at the bottom of the form on desktop
   (same height, fixed position), stacked full-width on phones */
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 860px) { .form__actions { flex-direction: column; align-items: stretch; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  color: var(--fg); font-family: var(--font-sans); font-size: 18px; padding: 10px 0;
  outline: none; transition: border-color .3s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; }
.form__status { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.05em; min-height: 18px; }
/* empty by default — don't reserve space (kept the price button far below the form on phones) */
.form__status:empty { display: none; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- FAQ (native <details>, so it still opens without JS) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 26px 44px 26px 0; position: relative;
  cursor: pointer; list-style: none;
  transition: color .25s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__q { font-family: var(--font-serif); font-weight: 400; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; }
/* +/− built from two bars so it can rotate into a minus when open */
.faq__item summary::before,
.faq__item summary::after {
  content: ''; position: absolute; right: 4px; top: 50%;
  width: 15px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease-out), opacity .3s ease;
}
.faq__item summary::before { transform: translateY(-50%); }
.faq__item summary::after { transform: translateY(-50%) rotate(90deg); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.faq__item[open] summary { color: var(--accent); }
.faq__a { padding: 0 clamp(0px, 6vw, 90px) 30px 0; max-width: 78ch; }
.faq__a p { color: var(--muted); font-size: 15.5px; }
.faq__a p + p { margin-top: 12px; }
.faq__a em { font-style: normal; color: var(--fg); }
.faq__a strong { color: var(--fg); font-weight: 400; }
.faq__a .policy__sign {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; margin-top: 18px;
}
/* FAQ teaser — points to the dedicated /faq page */
.faq-teaser { border-top: 1px solid var(--line); padding-top: 40px; max-width: 640px; }
.faq-teaser__text { color: var(--muted); font-size: clamp(16px, 1.9vw, 19px); line-height: 1.6; margin-bottom: 28px; }

/* ---------- Booking ---------- */
.booking { background: var(--bg-2); }
/* Card wrapping the two columns so the form area reads as one contained panel
   instead of floating loose on the section band. */
/* one-line, slightly smaller title so the whole booking block fits one screen */
.booking__title {
  font-size: clamp(26px, 3.6vw, 48px);
  margin-bottom: clamp(20px, 2.6vw, 32px);
  white-space: nowrap;
}
.br-mobile { display: none; }
@media (max-width: 560px) {
  .booking__title { white-space: normal; }
  .booking__title .br-mobile { display: inline; }
}
.booking__top {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3.4vw, 48px); align-items: start;
  /* lighter warm panel so the card reads as elevated above the dark band
     (the page bg was actually darker than the band, so it looked flat) */
  background: #241d15;
  border: 1px solid rgba(244, 239, 228, 0.14); border-radius: 20px;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
/* hairline divider between intro and form on desktop */
@media (min-width: 861px) {
  .booking__intro { border-right: 1px solid var(--line); padding-right: clamp(24px, 3vw, 44px); }
}
@media (max-width: 860px) {
  .booking__top { row-gap: 16px; }
}
.booking__intro p { color: var(--muted); font-size: 17px; margin-bottom: 18px; max-width: 46ch; }
.booking__intro .contact-list { margin-top: 32px; }
.field .req { color: var(--accent); }
.tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(224,145,63,0.4); border-radius: 100px; padding: 3px 10px;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .booking__top { grid-template-columns: 1fr; }
}
/* On phones the section (24px) + container (24px) padding stacked to 48px each
   side, leaving the card only ~246px wide and cramped. Drop the container's
   inner padding and shrink the section padding so the card fills the screen. */
@media (max-width: 640px) {
  .booking { padding-left: 16px; padding-right: 16px; }
  .booking .container { padding-left: 0; padding-right: 0; }
  .booking__top { padding: 24px 20px; }
}

/* ---------- Price list (floating orange bento panel) ---------- */
.btn--price {
  background: var(--accent); color: #1b1206; border: 1px solid var(--accent);
  font-weight: 400;
}
.btn--price:hover { background: #eda254; border-color: #eda254; }

.modal {
  --ink: #22160a;
  width: min(1200px, 94vw); max-height: min(94dvh, 940px);
  /* the global `* { margin: 0 }` reset kills the UA's `margin: auto`, which is
     what centres an open <dialog> — put it back explicitly */
  margin: auto;
  padding: 0; border: 0; border-radius: 26px;
  background: var(--accent); color: var(--ink);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
/* `display:flex` must be scoped to [open]; unscoped it would beat the UA's
   `dialog:not([open]){display:none}` and leave the modal permanently visible. */
.modal[open] { display: flex; flex-direction: column; }
.modal::backdrop { background: rgba(6, 5, 3, 0.72); backdrop-filter: blur(6px); }

.modal__head {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(18px, 2.4vw, 26px) 14px;
}
.modal__eyebrow {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(34, 22, 10, 0.62); margin-bottom: 6px;
}
.modal__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 4vw, 38px); color: var(--ink); }
.modal__close {
  position: relative; width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(34, 22, 10, 0.10); border: 0; border-radius: 50%; cursor: pointer;
  transition: background .25s ease, transform .3s var(--ease-out);
}
.modal__close span {
  position: absolute; left: 12px; top: 50%; width: 18px; height: 1.6px;
  background: var(--ink); border-radius: 2px;
}
.modal__close span:first-child { transform: translateY(-50%) rotate(45deg); }
.modal__close span:last-child { transform: translateY(-50%) rotate(-45deg); }
.modal__close:hover { background: rgba(34, 22, 10, 0.2); transform: rotate(90deg); }

/* flex sizing instead of a hardcoded header offset: the header wraps to a
   different height on narrow screens, which used to push the last rows of the
   price list outside the dialog where they could never be scrolled to. */
.modal__body {
  flex: 1 1 auto; min-height: 0;
  padding: 0 clamp(14px, 2.2vw, 20px) clamp(14px, 2.2vw, 20px);
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}

/* ---------- bento grid ---------- */
/* The jobs list is the bulkiest block, so it sits WIDE at the bottom with its
   items in three columns — as a tall side column it forced the whole grid to
   ~800px and the panel could never fit on screen. */
.bento {
  display: grid; gap: 9px;
  grid-template-columns: repeat(5, 1fr);
  grid-template-areas:
    "a b b c d"
    "e e f f f";
}
.bx {
  background: #fdf7ee; border-radius: 16px; padding: 13px 15px 12px;
  height: 100%;
}
.bx--a { grid-area: a; }
.bx--b { grid-area: b; }
.bx--c { grid-area: c; }
.bx--d { grid-area: d; }
.bx--e { grid-area: e; }
.bx--f { grid-area: f; }
/* one dark box breaks the rhythm so the grid reads as bento, not as a table */
.bx--ink { background: #22160a; color: #f6efe4; }
.bx--ink .bx__note { color: rgba(246, 239, 228, 0.6); }
.bx--ink .bx__list li { color: rgba(246, 239, 228, 0.82); }
.bx--ink .bx__list li::before { background: var(--accent); }
.bx--ink .bx__price { color: var(--accent); }

.bx__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bx__top h3, .bx__h {
  font-family: var(--font-serif); font-weight: 400; font-size: 17px; line-height: 1.25;
}
.bx__h { margin-bottom: 12px; }
.bx__price {
  font-family: var(--font-mono); font-size: 21px; letter-spacing: -0.01em;
  color: #b4600f; white-space: nowrap;
}
.bx__price small { font-size: 11px; letter-spacing: 0.06em; }
.bx__note { font-size: 11.5px; line-height: 1.45; color: rgba(34, 22, 10, 0.58); margin-top: 6px; }
.bx__list { list-style: none; margin-top: 9px; display: grid; gap: 4px; }
/* the Fullservice box is double-width, so its nine points fit in two columns */
.bx__list--two { grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.bx__list li { position: relative; padding-left: 15px; font-size: 12.5px; line-height: 1.5; color: rgba(34, 22, 10, 0.78); }
.bx__list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 1px; background: #b4600f; }
.bx--e .bx__note { margin-top: 10px; }

.rows { list-style: none; }
.rows li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 6px 0; border-bottom: 1px solid rgba(34, 22, 10, 0.12);
  font-size: 12.5px; color: rgba(34, 22, 10, 0.78);
}
.rows li:last-child { border-bottom: 0; }
.rows__p { font-family: var(--font-mono); font-size: 13px; color: #b4600f; white-space: nowrap; }

.jobs { list-style: none; margin-top: 8px; display: grid; gap: 3px 18px; grid-template-columns: repeat(3, 1fr); }
.jobs li { position: relative; padding-left: 15px; font-size: 12px; line-height: 1.5; color: rgba(34, 22, 10, 0.75); }
.jobs li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 1px; background: rgba(180, 96, 15, 0.55); }

.modal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 10px 6px 2px;
}
.modal__fine { font-size: 11px; line-height: 1.5; color: rgba(34, 22, 10, 0.6); max-width: 56ch; }
.modal__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.modal__cta .btn--solid { background: #22160a; color: #f6efe4; border-color: #22160a; padding: 12px 22px; }
.modal__cta .btn--solid:hover { background: #3a2712; border-color: #3a2712; }
.modal__cta .btn--ghost { border-color: rgba(34, 22, 10, 0.3); color: var(--ink); padding: 12px 22px; }
.modal__cta .btn--ghost:hover { border-color: var(--ink); }

@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "a b" "c d" "e e" "f f";
  }
  .bx__list--two { grid-template-columns: 1fr; }
  .jobs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .modal { width: 94vw; border-radius: 20px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .jobs { grid-template-columns: 1fr; }
  .modal__foot { padding: 16px 4px 4px; }
  .modal__cta .btn { flex: 1 1 auto; justify-content: center; }
}


/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__logo { font-family: var(--font-serif); font-style: italic; font-size: 20px; }
.footer__logo-img { height: 92px; width: auto; flex-shrink: 0; }
.footer__text { display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 641px) { .footer__text { align-items: flex-end; text-align: right; } }
.footer__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.footer__mail { color: var(--accent); }
/* phones: keep logo + text side by side on one row, not stacked */
@media (max-width: 640px) {
  .footer__inner { flex-wrap: nowrap; gap: 14px; }
  .footer__logo-img { height: 60px; }
  .footer__meta { font-size: 10.5px; letter-spacing: 0.06em; }
  .footer__mail { font-size: 13px; }
}

/* ============================================================
   SCROLL-LINKED MOTION — GSAP ScrollTrigger drives these (scrubbed:
   they appear AND disappear tied to the scroll position).
   The only CSS needed is the initial hidden state to avoid a flash
   before GSAP takes over. Gated by .has-js so no-JS = visible.
   ============================================================ */
:root { --ease-out: cubic-bezier(0.22, 1, 0.36, 1); }

.has-js [data-fx] { opacity: 0; will-change: transform, opacity; }
[data-parallax] { will-change: transform; }

/* text reveal: each word starts dim and lights up word-by-word on scroll */
[data-text-reveal] .word { display: inline-block; }
.has-js [data-text-reveal] .word { opacity: 0.16; }

@media (prefers-reduced-motion: reduce) {
  .has-js [data-fx] { opacity: 1 !important; transform: none !important; }
  .has-js [data-text-reveal] .word { opacity: 1 !important; }
}

/* ============================================================
   Unified footer — same look as the catalogue pages (.cfooter).
   Hard-coded light values so it renders identically on the home
   page, which loads styles.css/light.css rather than catalog.css.
   ============================================================ */
.cwrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.cfooter { background: #ffffff; border-top: 1px solid rgba(26,23,19,0.12); padding: 44px 0 30px; color: #1a1713; }
.cfooter__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cfooter__logo { height: 84px; width: auto; }
.cfooter__meta { font-size: 14px; color: #6d675e; }
.cfooter__meta p { margin: 0; }
.cfooter__meta strong { color: #1a1713; font-weight: 500; }
.cfooter__contact { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.cfooter__contact a { color: #1a1713; text-decoration: none; }
.cfooter__contact a:hover { color: #d8862f; }
.cfooter__note { margin-top: 26px; font-size: 12px; color: #6d675e; max-width: 80ch; }
/* wrapper dissolves on desktop (logo | meta | contact spread); stacks on phones */
.cfooter__text { display: contents; }
@media (max-width: 640px) {
  .cfooter__inner { flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 16px; }
  .cfooter__logo { height: 52px; flex-shrink: 0; }
  .cfooter__text { display: flex; flex-direction: column; gap: 12px; }
  .cfooter__meta { font-size: 12.5px; line-height: 1.5; }
  .cfooter__contact { font-size: 13px; }
  .cfooter__note { margin-top: 20px; font-size: 11px; }
}

/* ---------- language switcher ---------- */
.nav__lang { display: inline-flex; align-items: center; gap: 2px; margin-right: 4px; }
.nav__lang a {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: rgba(20,17,13,0.5); padding: 5px 7px; border-radius: 100px; line-height: 1;
  transition: color .2s ease, background .2s ease;
}
.nav__lang a:hover { color: #14110d; }
.nav__lang a.is-active { color: #14110d; background: rgba(20,17,13,0.08); font-weight: 500; }
/* Mobile: keep the inline switcher in the navbar, pushed to the right so it
   sits right next to the burger. Tighter padding so it fits small phones. */
@media (max-width: 760px) {
  .nav__lang:not(.nav__lang--menu) { display: inline-flex; margin-left: auto; margin-right: 2px; gap: 1px; }
  .nav__lang:not(.nav__lang--menu) a { padding: 5px 6px; font-size: 10.5px; }
}
@media (max-width: 360px) {
  .nav__lang:not(.nav__lang--menu) a { padding: 5px 5px; letter-spacing: 0.02em; }
}
/* mobile-menu variant: full language names, larger tap targets */
.nav__lang--menu { gap: 8px; margin: 6px 0 0; }
.nav__lang--menu a {
  font-family: var(--font-sans); font-size: 15px; letter-spacing: 0;
  color: rgba(20,17,13,0.6); padding: 8px 14px; border: 1px solid rgba(20,17,13,0.14);
}
.nav__lang--menu a.is-active { background: #14110d; color: #fff; border-color: #14110d; }
