/* =========================================================
   Clayot Interiors — Neumorphic design system
   Colours and type follow the Clayot brand manual (branding/Brand Manual).
   ========================================================= */

:root {
  /* Brand palette */
  --lead-black: #212121;
  --sand-brown: #bfae99;
  --silver-blue: #d0e2f2;
  --sky-blue: #82b9d9;
  --dr-white: #fafafa;

  /* Surfaces are Sand Brown tints over Dr. White */
  --bg: #eae5df;
  --bg-2: #e6e0d9;
  --surface: #ece8e3;
  --ink: var(--lead-black);
  --ink-2: #55514c;
  --ink-3: #857d74;
  --accent: #756048;       /* Sand Brown deepened for text & icons (4.7:1 on --bg) */
  --accent-2: var(--sand-brown);
  --accent-ink: var(--dr-white);
  --cta: var(--lead-black);
  --cta-2: #3d3a37;

  /* Neumorphic light & shadow */
  --light: rgba(255, 255, 255, 0.85);
  --shade: rgba(163, 148, 128, 0.55);
  --shade-soft: rgba(163, 148, 128, 0.35);

  --neu-out: 9px 9px 20px var(--shade), -9px -9px 20px var(--light);
  --neu-out-sm: 5px 5px 12px var(--shade), -5px -5px 12px var(--light);
  --neu-out-lg: 18px 18px 40px var(--shade), -18px -18px 40px var(--light);
  --neu-in: inset 5px 5px 10px var(--shade), inset -5px -5px 10px var(--light);
  --neu-in-sm: inset 3px 3px 6px var(--shade), inset -3px -3px 6px var(--light);

  --r-sm: 14px;
  --r: 24px;
  --r-lg: 36px;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
em { font-style: italic; color: var(--accent); font-weight: 500; }
::selection { background: var(--silver-blue); color: var(--ink); }

.container { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }

/* ---------- Neumorphic primitives ---------- */
.neu { background: var(--surface); box-shadow: var(--neu-out); border-radius: var(--r); }
.neu-inset { background: var(--bg); box-shadow: var(--neu-in); border-radius: var(--r-sm); }
.neu-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--neu-out-sm);
  transition: box-shadow .35s var(--ease), color .3s, transform .35s var(--ease);
}
.neu-btn svg { width: 20px; height: 20px; }
.neu-btn:hover { color: var(--accent); }
.neu-btn:active { box-shadow: var(--neu-in-sm); transform: scale(.97); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.7rem; border-radius: 100px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), background .3s, color .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--accent {
  background: linear-gradient(145deg, var(--cta-2), var(--cta));
  color: var(--accent-ink);
  box-shadow: 6px 6px 16px rgba(33, 33, 33, .28), -6px -6px 16px var(--light),
              inset 1px 1px 1px rgba(255, 255, 255, .12);
}
.btn--accent:hover { box-shadow: 10px 10px 24px rgba(33, 33, 33, .32), -8px -8px 20px var(--light); }
.btn--accent:active { box-shadow: inset 4px 4px 10px rgba(0, 0, 0, .2), inset -4px -4px 10px rgba(255, 255, 255, .15); }
.btn--neu { background: var(--surface); box-shadow: var(--neu-out-sm); color: var(--ink); }
.btn--neu:hover { color: var(--accent); box-shadow: var(--neu-out); }
.btn--neu:active { box-shadow: var(--neu-in-sm); }
.btn--block { width: 100%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-content: center; justify-items: center; gap: 28px;
  background: var(--bg);
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__orb {
  width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--neu-out-lg);
  animation: breathe 2.4s var(--ease-in-out) infinite;
}
.preloader__mark { width: 30px; height: 61px; color: var(--ink); overflow: visible; }
.preloader__mark path {
  fill: currentColor; fill-opacity: 0; stroke: currentColor; stroke-width: 3;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.6s var(--ease) forwards, mark-fill .7s ease 1.2s forwards;
}
.preloader__bar { width: 180px; height: 8px; border-radius: 10px; box-shadow: var(--neu-in-sm); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width .3s var(--ease); }
.preloader__text { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ink-2); letter-spacing: .05em; }

@keyframes breathe { 50% { box-shadow: 10px 10px 24px var(--shade), -10px -10px 24px var(--light); transform: scale(.97); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes mark-fill { to { fill-opacity: 1; stroke-width: 0; } }

/* ---------- Scroll progress & cursor ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform-origin: 0 50%; transform: scaleX(0);
}
.cursor {
  position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  transform: translate3d(-100px, -100px, 0);
  transition: width .4s var(--ease), height .4s var(--ease), background .3s, opacity .3s;
  margin: -7px 0 0 -7px; opacity: 0;
}
.cursor.is-visible { opacity: 1; }
.cursor__label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); opacity: 0; transition: opacity .3s; }
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(117, 96, 72, .2); }
.cursor.is-view { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--accent); }
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  padding-inline: var(--gutter);
  transition: transform .5s var(--ease), top .4s var(--ease);
}
.header.is-hidden { transform: translateY(-140%); }
.header__inner {
  width: min(1240px, 100%); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 18px; border-radius: 100px;
  background: rgba(236, 232, 227, .82);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--neu-out-sm);
}
.logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo__lockup { height: 48px; width: auto; aspect-ratio: 600.37 / 247.49; }
.footer__brand .logo__lockup { height: 64px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative; padding: .6rem 1rem; border-radius: 100px;
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
  transition: color .3s, box-shadow .35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--accent); box-shadow: var(--neu-in-sm); }
.header__cta { padding: .8rem 1.4rem; font-size: .88rem; }
.burger { display: none; margin-left: auto; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); grid-area: 1 / 1; }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ---------- Typography helpers ---------- */
.hero__kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-2); }
.hero__kicker-lead { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.hero__kicker-rule { width: 44px; height: 1px; background: var(--accent); }
.hero__kicker-place { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }

.section { padding-block: clamp(80px, 12vw, 150px); position: relative; }
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.section-tag::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.01em;
  max-width: 16ch;
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.section-head__text { max-width: 420px; color: var(--ink-2); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-title { max-width: 20ch; }

/* ---------- Hero ---------- */
/* The hero fits the first screen: spacing and type scale with viewport height, and the photo is capped to what is left. */
.hero {
  --hero-pt: calc(var(--header-h) + clamp(16px, 4vh, 48px));
  --hero-pb: clamp(48px, 8vh, 88px);
  min-height: 100vh; min-height: 100svh; padding-top: var(--hero-pt); padding-bottom: var(--hero-pb);
  position: relative; display: flex; align-items: center;
}
/* A looping film of the home fills the hero, with the copy centred over it and a
   frosted strip of facts along the bottom. The wash is darkest behind the copy and
   at the edges, so the film stays visible; the bottom edge fades into the page. */
.hero--video { --hero-pb: clamp(20px, 4vh, 40px); color: var(--dr-white); flex-direction: column; justify-content: center; }
/* Film backgrounds (hero and plant sections): poster under the video, which fades in once it plays */
.film { position: relative; isolation: isolate; }
.film__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--lead-black); }
.film__bg img, .film__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__bg video { opacity: 0; transition: opacity 1.2s var(--ease-in-out); }
.film.is-playing .film__bg video { opacity: 1; }
.hero--video .film__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg), rgba(234, 229, 223, 0) 9%),
    radial-gradient(62% 58% at 50% 46%, rgba(33, 33, 33, .62), rgba(33, 33, 33, .18) 100%),
    linear-gradient(to bottom, rgba(33, 33, 33, .5), rgba(33, 33, 33, 0) 32%),
    linear-gradient(to top, rgba(33, 33, 33, .62), rgba(33, 33, 33, 0) 42%);
}
.hero--video .hero__grid { flex: 1; width: 100%; display: grid; align-items: center; justify-items: center; text-align: center; }
.hero--video .hero__content { max-width: 860px; display: flex; flex-direction: column; align-items: center; }
.hero--video .hero__kicker { flex-direction: row; justify-content: center; align-items: center; gap: 8px 16px; padding: 0; border: 0; color: rgba(250, 250, 250, .8); }
.hero--video .hero__kicker-lead { color: var(--dr-white); }
.hero--video .hero__kicker-rule { background: var(--sand-brown); }
.hero--video .hero__kicker-place { color: var(--sand-brown); }
.hero--video .hero__title { font-size: clamp(2.5rem, min(7.2vw, 10vh), 6.8rem); max-width: 13ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero--video .hero__title em { color: var(--sand-brown); }
.hero--video .hero__lead { max-width: 56ch; color: rgba(250, 250, 250, .85); }
.hero--video .hero__actions { justify-content: center; }
.hero--video .btn--accent { background: var(--dr-white); color: var(--lead-black); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.hero--video .btn--accent:hover { box-shadow: 0 16px 36px rgba(0, 0, 0, .45); }
.hero--video .btn--neu { color: var(--dr-white); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero--video .btn--neu:hover { color: var(--dr-white); background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.hero__foot { margin-top: clamp(28px, 5vh, 56px); }
.hero__strip {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; border-radius: 24px;
  background: rgba(33, 33, 33, .34); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.hero__fact { display: flex; align-items: center; gap: 14px; padding: 10px 18px; border-radius: 18px; }
.hero__fact + .hero__fact { box-shadow: -3px 0 0 -2px rgba(255, 255, 255, .14); }
.hero__fact-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--sand-brown); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.hero__fact-icon svg { width: 22px; height: 22px; }
.hero__fact strong { display: block; font-size: .95rem; line-height: 1.3; color: var(--dr-white); }
.hero__fact small { font-size: .8rem; color: rgba(250, 250, 250, .7); }
.hero__grid { display: grid; align-items: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, min(6.4vw, 8.8vh), 6rem); line-height: .98; letter-spacing: -.02em;
  margin: clamp(14px, 2.8vh, 28px) 0 clamp(14px, 2.6vh, 26px);
}
.hero__lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--ink-2); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(20px, 4vh, 38px); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: 28px; box-shadow: var(--neu-in); background: var(--bg-2); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 3rem); font-style: italic; color: var(--ink-2); white-space: nowrap; }
.marquee i { color: var(--accent); font-style: normal; font-size: 1.2rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.about__media { position: relative; padding: 0 12% 18% 0; }
.about__img { padding: 12px; border-radius: var(--r-lg); }
.about__img img { width: 100%; border-radius: calc(var(--r-lg) - 10px); object-fit: cover; }
.about__img--main { overflow: hidden; }
.about__img--main img { aspect-ratio: 4 / 5; height: 100%; }
.about__img--sub { position: absolute; right: 0; bottom: 0; width: 52%; }
.about__img--sub img { aspect-ratio: 1; }
.about__badge { position: absolute; top: 28px; right: 2%; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; }
.spin-text { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 18s linear infinite; }
.spin-text text { font-size: 10.4px; font-weight: 700; letter-spacing: .22em; fill: var(--ink-2); }
.about__badge-mark { width: 38px; height: 38px; color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

.about__content p { color: var(--ink-2); margin-top: 20px; max-width: 54ch; }
.about__content .section-title { max-width: 18ch; }
.checklist { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.checklist span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); }
.checklist svg { width: 16px; height: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.stat { padding: 24px 18px; text-align: center; border-radius: var(--r); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 500; line-height: 1; color: var(--accent); }
.stat span { display: block; margin-top: 8px; font-size: .8rem; color: var(--ink-3); line-height: 1.4; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-card {
  padding: 12px; border-radius: var(--r);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.service-card:hover { box-shadow: var(--neu-out-lg); }
.service-card__img { overflow: hidden; border-radius: calc(var(--r) - 8px); aspect-ratio: 4 / 3.3; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.08); }
.service-card__body { padding: 0 12px 16px; position: relative; }
.service-card__icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  margin-top: -28px; margin-bottom: 16px; position: relative; color: var(--accent);
  background: var(--surface); box-shadow: var(--neu-out-sm);
  transition: box-shadow .4s var(--ease), color .3s, background .3s;
}
.service-card:hover .service-card__icon { box-shadow: var(--neu-in-sm); }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; line-height: 1.15; }
.service-card p { color: var(--ink-2); font-size: .9rem; margin-top: 8px; line-height: 1.6; }
.service-card__list { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid color-mix(in srgb, var(--ink-3) 25%, transparent); display: grid; gap: 7px; }
.service-card__list li { position: relative; padding-left: 16px; font-size: .84rem; color: var(--ink-2); line-height: 1.4; }
.service-card__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Process / timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; padding-top: 40px; }
.timeline__line { position: absolute; top: 64px; left: 10%; right: 10%; height: 10px; border-radius: 10px; overflow: hidden; }
.timeline__fill { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transform-origin: 0 50%; transform: scaleX(0); border-radius: inherit; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step__num {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--accent);
  position: relative; z-index: 1; margin-bottom: 28px;
  transition: background .5s, color .5s;
}
.step.is-active .step__num { background: linear-gradient(145deg, var(--cta-2), var(--cta)); color: var(--accent-ink); }
.step__card { padding: 30px 22px; border-radius: var(--r); height: 100%; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step__card:hover { transform: translateY(-6px); box-shadow: var(--neu-out-lg); }
.step__icon { width: 52px; height: 52px; border-radius: 16px; display: inline-grid; place-items: center; color: var(--accent); margin-bottom: 18px; }
.step__icon svg { width: 22px; height: 22px; }
.step h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.2; margin-bottom: 10px; }
.step p { font-size: .88rem; color: var(--ink-2); line-height: 1.6; }

/* ---------- Portfolio ---------- */
.filters { display: inline-flex; gap: 6px; padding: 6px; border-radius: 100px; flex-wrap: wrap; }
.filter { padding: .6rem 1.3rem; border-radius: 100px; font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: box-shadow .4s var(--ease), color .3s, background .3s; }
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--surface); box-shadow: var(--neu-out-sm); color: var(--accent); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 290px; grid-auto-flow: dense; gap: 26px; }
.work-item { position: relative; padding: 10px; border-radius: var(--r); overflow: hidden; cursor: none; transition: opacity .5s var(--ease), transform .6s var(--ease), box-shadow .5s; }
@media (hover: none), (pointer: coarse) { .work-item { cursor: pointer; } }
.work-item--tall { grid-row: span 2; }
.work-item--wide { grid-column: span 2; }
.work-item img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r) - 8px); transition: transform 1.1s var(--ease), filter .6s; }
.work-item:hover img { transform: scale(1.06); }
.work-item figcaption {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(236, 232, 227, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--neu-out-sm);
  transform: translateY(calc(100% + 30px)); transition: transform .6s var(--ease);
}
.work-item:hover figcaption, .work-item:focus-within figcaption { transform: translateY(0); }
.work-item figcaption span { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.work-item figcaption h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.2; }
.work-item.is-hidden { display: none; }
.js .work-item.is-filtering { opacity: 0; transform: scale(.94); }

/* ---------- Horizontal scroll ---------- */
.hscroll { position: relative; height: 320vh; background: var(--bg-2); box-shadow: var(--neu-in); }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 44px; }
.hscroll__intro .section-title { max-width: none; }
.hscroll__track { display: flex; gap: 36px; padding-inline: var(--gutter); width: max-content; will-change: transform; padding-left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); }
.panel { position: relative; flex: 0 0 auto; width: clamp(280px, 38vw, 560px); height: clamp(320px, 54vh, 520px); padding: 12px; border-radius: var(--r-lg); }
.panel img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-lg) - 10px); }
.panel__cap { position: absolute; left: 30px; bottom: 30px; padding: 12px 20px; border-radius: 100px; font-weight: 600; font-size: .9rem; display: flex; gap: 10px; align-items: center; }
.panel__cap b { font-family: var(--font-display); color: var(--accent); font-size: 1.1rem; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-card { padding: 40px 30px; border-radius: var(--r); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.why-card:hover { box-shadow: var(--neu-in); }
.why-card__icon { width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; color: var(--accent); margin-bottom: 26px; transition: box-shadow .5s var(--ease); }
.why-card:hover .why-card__icon { box-shadow: var(--neu-out-sm); background: var(--surface); }
.why-card__icon svg { width: 28px; height: 28px; }
.why-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 10px; line-height: 1.2; }
.why-card p { color: var(--ink-2); font-size: .92rem; }

/* ---------- Own manufacturing plant ---------- */
/* Editorial: one centred column of type over the film, no panels */
.plant { color: var(--dr-white); min-height: 82vh; min-height: 82svh; display: flex; align-items: center; padding-block: clamp(90px, 14vh, 160px); text-align: center; }
.plant .film__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 60% at 50% 50%, rgba(33, 33, 33, .66), rgba(33, 33, 33, .3) 100%),
    linear-gradient(to bottom, rgba(33, 33, 33, .3), rgba(33, 33, 33, 0) 25%, rgba(33, 33, 33, 0) 75%, rgba(33, 33, 33, .3));
}
.plant__inner { display: flex; flex-direction: column; align-items: center; max-width: 1000px; }
.section-tag--light { color: var(--sand-brown); }
.plant__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.plant__title em { color: var(--sand-brown); }
.plant__lead { max-width: 60ch; margin-top: 26px; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.7; color: rgba(250, 250, 250, .84); }
.plant__marks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin-top: 38px; }
.plant__marks li { padding: 6px 18px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(250, 250, 250, .9); }
.plant__marks li + li { border-left: 1px solid rgba(255, 255, 255, .3); }
.plant .btn--accent { margin-top: 44px; background: var(--dr-white); color: var(--lead-black); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.slider__viewport { overflow: hidden; padding: 30px 20px 50px; margin: -30px -20px 0; }
.slider__track { display: flex; gap: 30px; transition: transform .8s var(--ease); }
.quote { flex: 0 0 calc((100% - 30px) / 2); padding: 44px 40px; border-radius: var(--r-lg); position: relative; transition: opacity .6s, transform .6s var(--ease); }
.quote::before { content: "“"; position: absolute; top: 4px; right: 34px; font-family: var(--font-display); font-size: 9rem; line-height: 1; color: var(--accent); opacity: .14; }
.quote__stars { display: flex; gap: 4px; color: var(--accent); margin-bottom: 20px; }
.quote__stars svg { width: 18px; height: 18px; }
.quote p { font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.4; font-style: italic; }
.quote footer { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.quote__avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: var(--accent); }
.quote footer strong { display: block; }
.quote footer small { color: var(--ink-3); }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: 24px; }
.slider__dots { display: flex; gap: 10px; padding: 8px 12px; border-radius: 100px; box-shadow: var(--neu-in-sm); }
.slider__dots button { width: 10px; height: 10px; border-radius: 10px; background: var(--shade); transition: width .5s var(--ease), background .3s; }
.slider__dots button.is-active { width: 30px; background: var(--accent); }

/* ---------- Client works ---------- */
.clients__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.client-card { padding: 12px; border-radius: var(--r-lg); display: flex; flex-direction: column; }
.client-card__main { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: calc(var(--r-lg) - 10px); cursor: zoom-in; }
.client-card__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.client-card__main:hover img { transform: scale(1.06); }
.client-card__count {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 100px; font-size: .78rem; font-weight: 700;
  background: rgba(236, 232, 227, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--neu-out-sm);
}
.client-card__count svg { width: 15px; height: 15px; color: var(--accent); }
.client-card__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.client-card__thumb { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; box-shadow: var(--neu-in-sm); padding: 4px; cursor: zoom-in; }
.client-card__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; transition: transform .6s var(--ease), opacity .3s; }
.client-card__thumb:hover img { transform: scale(1.08); }
.client-card__body { padding: 18px 8px 8px; }
.client-card__meta { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.client-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1.15; margin-top: 6px; }
.client-card__scope { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.client-card__scope li { padding: .35rem .8rem; border-radius: 100px; font-size: .78rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--neu-in-sm); }

/* ---------- Instagram ---------- */
.insta__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 50px; }
.insta__head .btn svg { width: 20px; height: 20px; }
.insta__head .btn:hover svg { transform: none; }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.insta__item { position: relative; padding: 8px; border-radius: 22px; overflow: hidden; }
.insta__item img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 16px; transition: transform .8s var(--ease); }
.insta__item span { position: absolute; inset: 8px; border-radius: 16px; display: grid; place-items: center; background: rgba(33, 33, 33, .5); color: #fff; opacity: 0; transition: opacity .4s; }
.insta__item span svg { width: 32px; height: 32px; transform: scale(.6); transition: transform .5s var(--ease); }
.insta__item:hover span { opacity: 1; }
.insta__item:hover span svg { transform: scale(1); }
.insta__item:hover img { transform: scale(1.1); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__info > p { color: var(--ink-2); margin-top: 20px; max-width: 44ch; }
.contact__cards { display: grid; gap: 18px; margin-top: 40px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 18px 22px; border-radius: 22px; transition: box-shadow .4s var(--ease); }
.contact-card:hover { box-shadow: var(--neu-in-sm); }
.contact-card > span { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.contact-card svg { width: 22px; height: 22px; }
.contact-card small { color: var(--ink-3); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.contact-card strong { display: block; font-weight: 600; line-height: 1.45; font-size: .95rem; }

.form { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); display: grid; gap: 22px; box-shadow: var(--neu-out-lg); }
.form h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 10px; border: 0; min-width: 0; }
.field > span, .field legend { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); padding: 0; margin-bottom: 10px; }
.field > span { margin-bottom: 0; }
.field input, .field textarea {
  width: 100%; padding: 1rem 1.2rem; border: 0; border-radius: 16px;
  font: inherit; font-size: .95rem; color: var(--ink); resize: vertical;
  transition: box-shadow .3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: .8; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: var(--neu-in), 0 0 0 2px rgba(117, 96, 72, .35); }
.field input.is-invalid { box-shadow: var(--neu-in), 0 0 0 2px #c0392b; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .6rem 1.1rem; border-radius: 100px; font-size: .86rem; font-weight: 600; color: var(--ink-2); cursor: pointer; box-shadow: var(--neu-out-sm); transition: box-shadow .35s var(--ease), color .3s; user-select: none; }
.chip span:hover { color: var(--ink); }
.chip input:checked + span { box-shadow: var(--neu-in-sm); color: var(--accent); background: var(--bg); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form .btn { padding-block: 1.15rem; margin-top: 6px; }
.form .btn svg { width: 20px; height: 20px; }
.form .btn:disabled { opacity: .7; cursor: progress; }
.form__note { font-size: .88rem; color: var(--accent); min-height: 1.4em; text-align: center; }
.form__note.is-error { color: #c0392b; }

/* ---------- Footer ---------- */
.footer { padding-bottom: 30px; overflow: hidden; overflow: clip visible; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(32px, 5vw, 60px); border-radius: var(--r-lg); }
.footer__brand p { color: var(--ink-2); margin: 20px 0 24px; max-width: 34ch; font-size: .92rem; }
.socials { display: flex; gap: 14px; }
.footer__col h4 { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.footer__col a { display: block; color: var(--ink-2); font-size: .92rem; padding: 4px 0; transition: color .3s, transform .3s var(--ease); }
.footer__col a:hover { color: var(--ink); transform: translateX(4px); }
.footer__col p { color: var(--ink-2); font-size: .92rem; line-height: 1.8; }
.footer__bottom { position: relative; text-align: center; padding-top: 30px; color: var(--ink-3); font-size: .85rem; }
.footer__credit { margin-top: 4px; }
.footer__credit a { color: var(--ink-2); font-weight: 600; transition: color .3s; }
.footer__credit a:hover { color: var(--accent); }
.footer__giant {
  display: block; width: min(88%, 1040px); height: auto; aspect-ratio: 412.64 / 77.55; margin: clamp(40px, 6vw, 72px) auto 10px;
  color: var(--bg);
  filter: drop-shadow(5px 5px 8px var(--shade)) drop-shadow(-5px -5px 8px var(--light));
  user-select: none;
}

/* ---------- Floating actions ---------- */
.fab-wa {
  position: fixed; right: 24px; bottom: 30px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, #38c172, #1f9d55);
  box-shadow: 6px 6px 16px rgba(31, 157, 85, .35), -6px -6px 16px var(--light);
  transition: transform .4s var(--ease);
}
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa:hover { transform: scale(1.08) rotate(-6deg); }
.fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #38c172; animation: ripple 2.2s infinite; }
@keyframes ripple { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center; padding: 70px 90px;
  background: rgba(234, 229, 223, .88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { padding: 12px; border-radius: var(--r-lg); max-width: min(1100px, 100%); transform: scale(.92); transition: transform .6s var(--ease); }
.lightbox.is-open .lightbox__figure { transform: scale(1); }
.lightbox__figure img { max-height: 76vh; width: auto; max-width: 100%; border-radius: calc(var(--r-lg) - 10px); margin-inline: auto; }
.lightbox__figure figcaption { text-align: center; padding: 14px 0 4px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.lightbox__close { position: absolute; top: 24px; right: 24px; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

/* =========================================================
   Scroll reveal animations
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-scale { opacity: 0; transform: scale(.92); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal-scale.is-in { opacity: 1; transform: none; }
.js .reveal-clip { clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.4s var(--ease-in-out); }
.js .reveal-clip.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js .reveal-clip img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.js .reveal-clip.is-in img { transform: scale(1); }

[data-delay="1"] { transition-delay: .1s !important; }
[data-delay="2"] { transition-delay: .2s !important; }
[data-delay="3"] { transition-delay: .3s !important; }
[data-delay="4"] { transition-delay: .4s !important; }
[data-delay="5"] { transition-delay: .5s !important; }
[data-delay="6"] { transition-delay: .6s !important; }
[data-delay="7"] { transition-delay: .7s !important; }
/* Hover transitions shouldn't inherit the reveal delay once revealed */
.is-done-reveal { transition-delay: 0s !important; }
.js .service-card.is-done-reveal { transition: box-shadow .5s var(--ease), transform .3s var(--ease); }

/* Split text (words) */
.split-text .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-text .word > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.split-text.is-in .word > span { transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .burger { display: grid; margin-left: 0; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 6px;
    position: absolute; top: calc(100% + 12px); left: var(--gutter); right: var(--gutter);
    padding: 16px; border-radius: var(--r);
    background: var(--surface); box-shadow: var(--neu-out);
    animation: dropIn .5s var(--ease);
  }
  .nav.is-open .nav__link { padding: .9rem 1.2rem; font-size: 1.05rem; }
  @keyframes dropIn { from { opacity: 0; transform: translateY(-12px); } }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 26px; padding-top: 0; padding-left: 0; }
  .timeline__line { top: 0; bottom: 0; left: 28px; right: auto; width: 10px; height: auto; }
  .timeline__fill { transform-origin: 50% 0; transform: scaleY(0); }
  .step { flex-direction: row; align-items: flex-start; text-align: left; gap: 24px; }
  .step__num { flex-shrink: 0; margin-bottom: 0; }
  .step__card { flex: 1; }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  /* Stacked: the copy keeps its height and the photo takes whatever is left of the screen. */
  .hero { --hero-pt: calc(var(--header-h) + clamp(16px, 3vh, 40px)); }
  .hero__strip { grid-template-columns: 1fr; gap: 0; padding: 6px; }
  .hero__fact { padding: 8px 14px; }
  .hero__fact + .hero__fact { box-shadow: 0 -1px 0 0 rgba(255, 255, 255, .12); border-radius: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .quote { flex-basis: 100%; }
  .about__media { max-width: 560px; }
}

@media (max-width: 600px) {
  .header { top: 10px; }
  .header__inner { padding: 8px 8px 8px 12px; gap: 10px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .logo__lockup { height: 42px; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero__actions .btn { flex: 1 1 auto; }
  .services__grid, .why__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .stat { padding: 18px 8px; }
  .stat span { font-size: .7rem; }
  .filter { padding: .5rem .85rem; font-size: .82rem; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .work-item--wide { grid-column: auto; }
  .work-item--tall { grid-row: auto; }
  .work-item figcaption { transform: none; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .quote { padding: 34px 26px; }
  .about__badge { width: 100px; height: 100px; }
  .lightbox { padding: 70px 16px; }
  .lightbox__nav { top: auto; bottom: 20px; translate: none; }
  .fab-wa { right: 16px; bottom: 20px; width: 52px; height: 52px; box-shadow: 4px 4px 12px rgba(31, 157, 85, .35), -4px -4px 12px var(--light); }
}

/* Reduced motion: show everything, skip movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .hscroll { height: auto; }
  .hscroll__sticky { position: relative; height: auto; padding-block: 100px; }
  .hscroll__track { overflow-x: auto; width: auto; padding-bottom: 30px; }
}

/* =========================================================
   Secondary pages — FAQ, Terms, Privacy
   ========================================================= */
.page-hero { padding: calc(var(--header-h) + clamp(60px, 9vw, 110px)) 0 clamp(40px, 6vw, 70px); }
.page-hero .section-title { max-width: 18ch; }
.page-hero__intro { color: var(--ink-2); max-width: 52ch; margin-top: 20px; font-size: 1.05rem; }
.page-body { padding-bottom: clamp(80px, 10vw, 130px); }

/* Legal */
.legal { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.legal__toc { position: sticky; top: 120px; padding: 28px; }
.legal__toc h2 { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.legal__toc ol { list-style: none; display: grid; gap: 2px; }
.legal__toc a { display: block; padding: 5px 0; font-size: .88rem; color: var(--ink-2); line-height: 1.4; transition: color .3s; }
.legal__toc a:hover { color: var(--accent); }
.legal__content { padding: clamp(28px, 5vw, 60px); min-width: 0; }
.legal__meta { font-size: .85rem; color: var(--ink-3); margin-bottom: 8px; }
.legal__content section { padding-top: 28px; scroll-margin-top: 110px; }
.legal__content h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; margin-bottom: 12px; }
.legal__content p, .legal__content li { color: var(--ink-2); font-size: .97rem; }
.legal__content p + p, .legal__content ul + p, .legal__content p + ul { margin-top: 12px; }
.legal__content ul { padding-left: 1.2rem; display: grid; gap: 6px; }
.legal__content li::marker { color: var(--accent); }
.legal__content strong { color: var(--ink); }
.legal__content a, .faq__item a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: clamp(40px, 6vw, 64px); }
.faq__group h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 20px; }
.faq__item { border-radius: var(--r); transition: box-shadow .4s var(--ease); }
.faq__item + .faq__item { margin-top: 22px; }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px 22px 28px; font-weight: 600; font-size: 1.02rem; line-height: 1.45;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); transition: transform .4s var(--ease); }
.faq__icon svg { width: 18px; height: 18px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item[open] { box-shadow: var(--neu-out-sm); }
.faq__item p { padding: 0 28px 24px; color: var(--ink-2); max-width: 70ch; }
.faq__cta { padding: clamp(32px, 5vw, 50px); text-align: center; border-radius: var(--r-lg); }
.faq__cta h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.faq__cta p { color: var(--ink-2); margin-top: 8px; }
.faq__cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }

@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}
@media (max-width: 600px) {
  .faq__item summary { padding: 18px 18px 18px 20px; font-size: .97rem; }
  .faq__item p { padding: 0 20px 20px; }
  .faq__cta-actions .btn { flex: 1 1 100%; }
}

/* Blog */
.blog { display: grid; gap: 30px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { padding: 28px 26px 24px; border-radius: var(--r-lg); display: flex; flex-direction: column; }
.blog-card__date { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-size: .7rem; }
.blog-card h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin-top: 12px; }
.blog-card h2 a:hover { color: var(--accent); }
.blog-card p { color: var(--ink-2); font-size: .92rem; margin-top: 12px; }
.blog-card__more { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-weight: 700; font-size: .88rem; color: var(--accent); }
.blog-card__more > svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.blog-card__more:hover > svg { transform: translateX(4px); }
.blog-card__more small { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink-3); font-size: .8rem; }
.blog-card__more small svg { width: 14px; height: 14px; }
.blog-card--featured { padding: clamp(30px, 5vw, 56px); }
.blog-card--featured h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); max-width: 26ch; margin-top: 16px; }
.blog-card--featured p { font-size: 1.05rem; max-width: 62ch; margin-top: 16px; }
.blog-card--featured .blog-card__more { padding-top: 28px; }
.blog-card--featured .blog-card__more small { margin-left: 12px; }

.blog__more { display: flex; justify-content: center; }
.blog__message { text-align: center; color: var(--ink-2); padding: 40px 0; }

/* Loading placeholders (blog) */
.skel { display: block; border-radius: 10px; background: linear-gradient(90deg, var(--bg-2) 25%, var(--surface) 50%, var(--bg-2) 75%); background-size: 200% 100%; animation: skel 1.4s ease-in-out infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.skel--line { height: 12px; margin: 10px 0; }
.skel--short { width: 60%; }
.skel--title { height: 24px; width: 80%; margin: 18px 0 14px; }
.article__content .skel + .skel { margin-top: 12px; }

/* Article */
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 18px; font-size: .85rem; color: var(--ink-3); }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta svg { width: 15px; height: 15px; }
.article__content > * + * { margin-top: 16px; }
.article__content h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.2; margin-top: 34px; }
.article__content p, .article__content li { color: var(--ink-2); font-size: 1.02rem; line-height: 1.8; }
.article__content > p:first-child { font-size: 1.12rem; color: var(--ink); }
.article__content ul { padding-left: 1.2rem; display: grid; gap: 8px; }
.article__content li::marker { color: var(--accent); }
.article__content strong { color: var(--ink); }
.article__tip { padding: 20px 24px; border-radius: var(--r); border-left: 4px solid var(--accent); }
.article__tip strong { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.article__tip p { margin-top: 6px; }
.article__cta { padding: clamp(28px, 5vw, 46px); text-align: center; border-radius: var(--r-lg); }
.article__cta h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.article__cta p { color: var(--ink-2); margin-top: 8px; }
.article__cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 22px; }

/* Article reader: a popup over the blog list */
html.is-reading { overflow: hidden; }
.reader {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0;
  padding: 0 20px; border: 0; background: transparent; color: inherit;
  overflow-y: auto; overscroll-behavior: contain;
}
.reader::backdrop { background: rgba(234, 229, 223, .88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.reader[open], .reader[open]::backdrop { animation: reader-fade .35s var(--ease); }
.reader[open] .reader__panel { animation: reader-rise .55s var(--ease); }
.reader.is-closing, .reader.is-closing::backdrop { opacity: 0; transition: opacity .22s ease; }
@keyframes reader-fade { from { opacity: 0; } }
@keyframes reader-rise { from { opacity: 0; transform: translateY(28px) scale(.985); } }
.reader__panel { max-width: 860px; margin: clamp(20px, 5vh, 56px) auto; border-radius: var(--r-lg); }
.reader__bar { position: sticky; top: 0; height: 0; z-index: 2; }
.reader__close { position: absolute; top: 16px; right: 16px; }
.reader__body { padding: clamp(30px, 5vw, 60px); }
.reader__meta { margin-top: 0; padding-right: 56px; }
.reader__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.12; margin-top: 16px; }
.reader__title .skel { height: .9em; width: min(520px, 90%); margin: 0; }
.reader__synopsis { color: var(--ink-2); font-size: 1.1rem; line-height: 1.6; margin-top: 16px; max-width: 62ch; }
.reader__content { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--shade-soft); }
.reader__content:empty { display: none; }
.reader .article__cta { margin-top: 44px; }

@media (max-width: 1100px) {
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Mobile app shell — phones only (≤ 760px)
   Top app bar, bottom tab bar, "More" sheet, swipe rows
   ========================================================= */
.header__call, .tabbar, .sheet { display: none; }

@media (max-width: 760px) {
  /* Shadows reach no further than the gutter, so cards never lose them at the screen edge */
  :root {
    --gutter: 20px; --tabbar-h: 68px; --appbar-h: 62px; --r: 20px; --r-lg: 26px;
    --neu-out: 6px 6px 14px var(--shade), -6px -6px 14px var(--light);
    --neu-out-sm: 4px 4px 9px var(--shade), -4px -4px 9px var(--light);
    --neu-out-lg: 9px 9px 20px var(--shade), -9px -9px 20px var(--light);
  }
  .btn--accent { box-shadow: 5px 5px 13px rgba(33, 33, 33, .28), -5px -5px 13px var(--light), inset 1px 1px 1px rgba(255, 255, 255, .12); }

  html { scroll-padding-top: calc(var(--appbar-h) + 16px); -webkit-tap-highlight-color: transparent; }
  html.is-locked, html.is-locked body { overflow: hidden; }
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); overscroll-behavior-y: none; font-size: 15px; }
  a, button, .tab, .chip span { touch-action: manipulation; }

  /* ---- Top app bar ---- */
  .header { top: 0; padding: 0; }
  .header.is-hidden { transform: none; }
  .header__inner {
    border-radius: 0 0 22px 22px; height: calc(var(--appbar-h) + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 12px 0 14px; gap: 10px;
  }
  .burger, .header__cta { display: none; }
  .header__call { display: inline-grid; margin-left: auto; width: 42px; height: 42px; color: var(--accent); }
  .header__call svg { width: 19px; height: 19px; }
  .logo__lockup { height: 40px; }
  .footer__brand .logo__lockup { height: 52px; }
  .scroll-progress { display: none; }

  /* ---- Bottom tab bar ---- */
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding: 0 6px env(safe-area-inset-bottom);
    background: rgba(236, 232, 227, .9);
    backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -6px 20px rgba(163, 148, 128, .28), 0 -1px 0 rgba(255, 255, 255, .7) inset;
  }
  .tab {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    height: var(--tabbar-h); font-size: .66rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-3);
    transition: color .25s, transform .2s var(--ease);
  }
  .tab svg { width: 23px; height: 23px; }
  .tab:active { transform: scale(.9); }
  .tab.is-active { color: var(--accent); }
  .tab.is-active::before {
    content: ""; position: absolute; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
  }
  .tab--cta { justify-content: flex-end; padding-bottom: 10px; color: var(--ink-2); }
  .tab--cta.is-active::before { display: none; }
  .tab__fab {
    width: 54px; height: 54px; border-radius: 19px; display: grid; place-items: center; margin-bottom: 1px;
    color: var(--accent-ink); background: linear-gradient(145deg, var(--cta-2), var(--cta));
    box-shadow: 0 8px 18px rgba(33, 33, 33, .3), inset 1px 1px 1px rgba(255, 255, 255, .12);
    transform: translateY(-14px);
  }
  .tab__fab svg { width: 24px; height: 24px; }
  .tab--cta > span:last-child { margin-top: -14px; }

  /* ---- "More" bottom sheet ---- */
  .sheet { display: block; position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility .45s; }
  .sheet.is-open { visibility: visible; }
  .sheet__backdrop { position: absolute; inset: 0; background: rgba(33, 33, 33, .35); opacity: 0; transition: opacity .45s var(--ease); }
  .sheet.is-open .sheet__backdrop { opacity: 1; }
  .sheet__panel {
    position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow-y: auto; overscroll-behavior: contain;
    padding: 10px 16px calc(24px + env(safe-area-inset-bottom));
    background: var(--bg); border-radius: 28px 28px 0 0; box-shadow: 0 -10px 40px rgba(33, 33, 33, .2);
    transform: translateY(100%); transition: transform .5s var(--ease);
  }
  .sheet.is-open .sheet__panel { transform: none; }
  .sheet__grip { display: block; width: 42px; height: 5px; border-radius: 5px; margin: 0 auto 20px; background: var(--shade); }
  .sheet__actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 22px; }
  .sheet__action { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; color: var(--ink-2); }
  .sheet__action span { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; color: var(--accent); box-shadow: var(--neu-out-sm); }
  .sheet__action svg { width: 24px; height: 24px; }
  .sheet__action:active span { box-shadow: var(--neu-in-sm); }
  .sheet__list { border-radius: 20px; box-shadow: var(--neu-out-sm); overflow: hidden; }
  .sheet__list + .sheet__list { margin-top: 14px; }
  .sheet__list a { display: flex; align-items: center; gap: 14px; padding: 15px 16px; font-weight: 600; font-size: .95rem; }
  .sheet__list a + a { border-top: 1px solid rgba(163, 148, 128, .22); }
  .sheet__list a:active { background: var(--bg-2); }
  .sheet__list svg { width: 21px; height: 21px; color: var(--accent); }
  .sheet__list .sheet__chev { margin-left: auto; width: 18px; height: 18px; color: var(--ink-3); }

  /* ---- Floating actions sit above the tab bar ---- */
  .fab-wa { bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); right: 16px; width: 52px; height: 52px; }
  .fab-wa svg { width: 25px; height: 25px; }

  /* ---- Tap feedback ---- */
  .btn:active, .neu-btn:active, .service-card:active, .work-item:active, .why-card:active,
  .contact-card:active, .insta__item:active, .panel:active, .faq__item summary:active { transform: scale(.97); }
  .btn, .service-card, .work-item, .why-card, .contact-card, .insta__item, .panel { transition-duration: .2s; }

  /* ---- Lighter, quicker reveals ---- */
  .js .reveal { transform: translateY(18px); transition-duration: .6s; }
  [data-delay] { transition-delay: 0s !important; }

  /* ---- Sections & headings ---- */
  .section { padding-block: 44px; }
  .section-tag { font-size: .68rem; margin-bottom: 10px; }
  .section-tag::before { width: 18px; }
  .section-title { font-size: 1.95rem; line-height: 1.1; max-width: none; }
  .section-head, .section-head--center { flex-direction: column; align-items: flex-start; text-align: left; gap: 14px; margin-bottom: 22px; }
  .section-head--center .section-title { max-width: none; }
  .section-head__text { font-size: .92rem; }

  /* ---- Horizontal swipe rows ---- */
  .services__grid, .why__grid, .hscroll__track {
    display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin: -16px calc(var(--gutter) * -1) 0; padding: 22px var(--gutter) 28px;
    scrollbar-width: none;
  }
  .services__grid::-webkit-scrollbar, .why__grid::-webkit-scrollbar, .hscroll__track::-webkit-scrollbar { display: none; }
  .services__grid > *, .why__grid > *, .hscroll__track > * { flex: 0 0 auto; scroll-snap-align: start; }
  .services__grid > .reveal, .why__grid > .reveal { opacity: 1; transform: none; }
  .hscroll__track { margin-inline: 0; } /* not inside a .container, so there is no gutter to bleed into */

  /* ---- Hero ---- */
  .hero {
    --hero-pt: calc(var(--appbar-h) + env(safe-area-inset-top) + 22px); --hero-pb: 20px;
    min-height: calc(100vh - var(--tabbar-h) - env(safe-area-inset-bottom));
    min-height: calc(100svh - var(--tabbar-h) - env(safe-area-inset-bottom));
  }
  .hero__grid { gap: 24px; }
  .hero__content { display: flex; flex-direction: column; }
  .hero__kicker { flex-direction: column; align-items: flex-start; gap: 4px; padding-left: 14px; border-left: 1px solid var(--accent); }
  .hero__kicker-lead { font-size: 1.12rem; }
  .hero__kicker-rule { display: none; }
  .hero__kicker-place { font-size: .64rem; }
  .hero__title { font-size: 2.6rem; line-height: 1.02; margin: 18px 0 14px; }
  .hero__lead { font-size: .95rem; }
  .hero__actions { margin-top: 22px; gap: 10px; flex-wrap: nowrap; }
  .hero__actions .btn { flex: 1; padding: .95rem .75rem; font-size: .88rem; white-space: nowrap; }
  .hero__actions .btn svg { display: none; }
  .hero__foot { display: none; }
  .plant { min-height: 0; padding-block: 72px; }
  .plant__marks { flex-direction: column; gap: 12px; margin-top: 28px; }
  .plant__marks li { padding: 0; font-size: .72rem; }
  .plant__marks li + li { border: 0; }
  .plant .btn--accent { margin-top: 32px; width: 100%; }

  .marquee { padding-block: 14px; }
  .marquee span { font-size: 1.35rem; }
  .marquee__track { gap: 22px; }

  /* ---- About ---- */
  .about__grid { gap: 30px; }
  .about__media { padding: 0 18% 22% 0; }
  .about__img { padding: 7px; }
  .about__badge { width: 86px; height: 86px; top: 12px; }
  .about__badge-mark { width: 26px; height: 26px; }
  .about__content p { font-size: .93rem; margin-top: 14px; }
  .checklist { margin-top: 20px; gap: 10px; }
  .checklist li { font-size: .9rem; }
  .stats { margin-top: 26px; }
  .stat b { font-size: 1.9rem; }

  /* ---- Services (swipe cards) ---- */
  .service-card { width: 80vw; max-width: 330px; padding: 8px; }
  .service-card h3 { font-size: 1.4rem; }
  .service-card__icon { width: 48px; height: 48px; border-radius: 15px; margin-top: -24px; margin-bottom: 12px; }
  .service-card__body { padding: 0 8px 10px; }

  /* ---- Process (vertical stepper) ---- */
  .timeline { gap: 14px; }
  .timeline__line { left: 21px; width: 6px; }
  .step { gap: 14px; }
  .step__num { width: 48px; height: 48px; font-size: 1.05rem; }
  .step__card { padding: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  .step__icon { width: 42px; height: 42px; border-radius: 13px; margin-bottom: 0; grid-row: span 2; align-self: start; }
  .step h3 { font-size: 1.15rem; margin-bottom: 4px; }
  .step p { font-size: .84rem; grid-column: 2; }

  /* ---- Portfolio: chip filters + photo grid ---- */
  .work .section-head > div:first-child { width: 100%; }
  .filters {
    display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%;
    padding: 5px; gap: 4px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 1 0 auto; padding: .55rem .9rem; font-size: .82rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
  .work-item { padding: 5px; border-radius: 18px; }
  .work-item img { border-radius: 14px; }
  .work-item--tall { grid-row: span 2; }
  .work-item--wide { grid-column: span 2; }
  .work-item figcaption {
    transform: none; left: 11px; right: 11px; bottom: 11px; padding: 7px 10px; border-radius: 11px;
    box-shadow: none; background: rgba(236, 232, 227, .86);
  }
  .work-item figcaption span { font-size: .56rem; }
  .work-item figcaption h3 { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* ---- Showcase (swipe gallery) ---- */
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: relative; height: auto; padding-block: 44px 18px; gap: 18px; }
  .hscroll__track { width: auto; transform: none !important; }
  .panel { width: 76vw; height: 58vh; max-height: 440px; padding: 7px; }
  .panel__cap { left: 18px; bottom: 18px; padding: 9px 15px; font-size: .82rem; }

  /* ---- Why (swipe cards) ---- */
  .why-card { width: 64vw; max-width: 260px; padding: 24px 20px; }
  .why-card__icon { width: 52px; height: 52px; border-radius: 17px; margin-bottom: 16px; }
  .why-card__icon svg { width: 23px; height: 23px; }
  .why-card h3 { font-size: 1.25rem; }
  .why-card p { font-size: .86rem; }

  /* ---- Reviews ---- */
  .slider__viewport { padding: 14px 16px 28px; margin: -14px -16px 0; }
  .quote { padding: 26px 22px; }
  .quote::before { font-size: 6rem; right: 20px; }
  .quote p { font-size: 1.2rem; }
  .quote footer { margin-top: 20px; }
  .slider__btn { width: 42px; height: 42px; }

  /* ---- Instagram: profile-style grid ---- */
  .insta__head { margin-bottom: 18px; align-items: center; gap: 14px; }
  .insta__head .btn { padding: .75rem 1.1rem; font-size: .85rem; }
  .insta__grid { grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 18px; overflow: hidden; }
  .insta__item { padding: 0; border-radius: 0; box-shadow: none; }
  .insta__item img { border-radius: 0; }
  .insta__item span { inset: 0; border-radius: 0; }

  /* ---- Contact: grouped list + form ---- */
  .contact__grid { gap: 26px; }
  .contact__cards { gap: 0; margin-top: 22px; border-radius: 20px; box-shadow: var(--neu-out-sm); overflow: hidden; }
  .contact-card { border-radius: 0; box-shadow: none; padding: 14px 16px; gap: 14px; }
  .contact-card + .contact-card { border-top: 1px solid rgba(163, 148, 128, .22); }
  .contact-card > span { width: 42px; height: 42px; border-radius: 13px; }
  .contact-card strong { font-size: .88rem; }
  .form { padding: 22px 16px; gap: 18px; box-shadow: var(--neu-out); }
  .form h3 { font-size: 1.6rem; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 10px; gap: 9px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .chip span { white-space: nowrap; padding: .55rem 1rem; font-size: .82rem; }
  .field input, .field textarea { font-size: 16px; } /* stops iOS zooming into fields */

  /* ---- Footer ---- */
  .footer { padding-bottom: 18px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding: 24px 20px; }
  .footer__brand, .footer__col:last-child { grid-column: 1 / -1; }
  .footer__brand p { margin: 14px 0 16px; font-size: .86rem; }
  .footer__col h4 { margin-bottom: 10px; font-size: .68rem; }
  .footer__col a, .footer__col p { font-size: .86rem; }
  .footer__bottom { padding-top: 18px; font-size: .78rem; }
  .footer__giant { display: none; }

  /* ---- Lightbox: full-screen viewer ---- */
  .lightbox { padding: 60px 10px 90px; }
  .lightbox__figure { padding: 6px; }
  .lightbox__figure img { max-height: 70vh; }
  .lightbox__close { top: calc(14px + env(safe-area-inset-top)); right: 14px; }
  .lightbox__nav { bottom: calc(22px + env(safe-area-inset-bottom)); }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }

  /* ---- Secondary pages ---- */
  .page-hero { padding: calc(var(--appbar-h) + env(safe-area-inset-top) + 30px) 0 22px; }
  .page-hero__intro { font-size: .93rem; margin-top: 12px; }
  .page-body { padding-bottom: 40px; }
  .legal { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .legal__toc {
    position: sticky; top: calc(var(--appbar-h) + env(safe-area-inset-top) + 8px); z-index: 5;
    padding: 6px; border-radius: 100px;
    background: rgba(236, 232, 227, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .legal__toc h2 { display: none; }
  .legal__toc ol { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .legal__toc ol::-webkit-scrollbar { display: none; }
  .legal__toc a { white-space: nowrap; padding: .5rem .85rem; border-radius: 100px; font-size: .8rem; font-weight: 600; }
  .legal__toc a:active { box-shadow: var(--neu-in-sm); }
  .legal__content { padding: 22px 18px; }
  .legal__content section { scroll-margin-top: calc(var(--appbar-h) + 80px); padding-top: 22px; }
  .legal__content p, .legal__content li { font-size: .9rem; }
  .faq { gap: 30px; }
  .faq__group h2 { font-size: 1.5rem; margin-bottom: 12px; }
  .faq__item + .faq__item { margin-top: 16px; }
  .faq__item { border-radius: 18px; }
  .faq__item summary { padding: 15px 14px 15px 18px; font-size: .93rem; }
  .faq__icon { width: 34px; height: 34px; }
  .faq__item p { padding: 0 18px 18px; font-size: .9rem; }
}

/* Client works — tablet & phone */
@media (max-width: 1100px) {
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .clients__grid {
    display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin: -16px calc(var(--gutter) * -1) 0; padding: 22px var(--gutter) 28px; scrollbar-width: none;
  }
  .clients__grid::-webkit-scrollbar { display: none; }
  .clients__grid > * { flex: 0 0 auto; scroll-snap-align: start; }
  .clients__grid > .reveal { opacity: 1; transform: none; }
  .client-card { width: 84vw; max-width: 340px; padding: 8px; }
  .client-card__thumbs { gap: 6px; margin-top: 6px; }
  .client-card__thumb { border-radius: 12px; padding: 3px; }
  .client-card__thumb img { border-radius: 9px; }
  .client-card__body { padding: 14px 6px 6px; }
  .client-card h3 { font-size: 1.35rem; }
  .client-card__scope { gap: 6px; margin-top: 10px; }
  .client-card__scope li { font-size: .72rem; }
  .client-card__main:active, .client-card__thumb:active { transform: scale(.97); }
}

/* Blog — phone */
@media (max-width: 760px) {
  .blog { gap: 22px; }
  .blog__grid { grid-template-columns: 1fr; gap: 22px; }
  .blog-card { padding: 20px 18px 18px; }
  .blog-card--featured { padding: 24px 20px 20px; }
  .blog-card h2 { font-size: 1.35rem; }
  .blog-card--featured h2 { font-size: 1.6rem; }
  .blog-card p, .blog-card--featured p { font-size: .9rem; }
  .blog-card--featured .blog-card__more { padding-top: 20px; }
  .blog-card--featured .blog-card__more small { margin-left: auto; }
  .blog-card:active { transform: scale(.98); }
  .article__meta { font-size: .78rem; gap: 6px 14px; }
  .article__content p, .article__content li { font-size: .95rem; line-height: 1.75; }
  .article__content > p:first-child { font-size: 1.02rem; }
  .article__content h3 { font-size: 1.4rem; margin-top: 26px; }
  .article__tip { padding: 16px 18px; }
  .article__cta { padding: 24px 18px; }
  .article__cta-actions .btn { flex: 1 1 100%; }
  .reader { padding: 0; }
  .reader__panel { min-height: 100%; margin: 0; border-radius: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
  .reader__close { top: calc(12px + env(safe-area-inset-top)); right: 12px; }
  .reader__body { padding: 26px 18px 30px; }
  .reader__title { font-size: 1.85rem; margin-top: 12px; }
  .reader__synopsis { font-size: 1rem; margin-top: 12px; }
  .reader__content { margin-top: 22px; padding-top: 22px; }
  .reader .article__cta { margin-top: 32px; }
}

/* =========================================================
   Service pages (services/*.html)
   ========================================================= */
/* Home page cards link through to their service page (the whole card is clickable) */
.service-card { position: relative; }
.service-card__body { position: static; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--accent);
}
.service-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card__link svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }
.service-card__link:focus-visible { outline: none; }
.service-card:has(.service-card__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: .82rem; color: var(--ink-3); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink-2); }

.svc-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.svc-hero .section-title { max-width: 14ch; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.svc-hero__frame { position: relative; margin: 0; padding: 12px; border-radius: var(--r-lg); }
.svc-hero__frame img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: calc(var(--r-lg) - 10px); }
.svc-hero__badge {
  position: absolute; left: -18px; bottom: 34px; display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 100px; font-size: .82rem; font-weight: 600;
}
.svc-hero__badge > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); }
.svc-hero__badge svg { width: 20px; height: 20px; }

.svc-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: start; padding-top: clamp(20px, 3vw, 40px); }
.svc-intro__lead { font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.35; color: var(--ink); }
.svc-highlights { list-style: none; display: grid; gap: 22px; }
.svc-highlights li { display: flex; gap: 16px; align-items: flex-start; }
.svc-highlights li > span { flex-shrink: 0; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: var(--accent); }
.svc-highlights svg { width: 22px; height: 22px; }
.svc-highlights strong { display: block; font-size: 1rem; }
.svc-highlights p { color: var(--ink-2); font-size: .92rem; margin-top: 2px; }

.svc-block { margin-top: clamp(70px, 9vw, 120px); }
.svc-block__head { margin-bottom: clamp(28px, 4vw, 44px); }
.svc-block__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }

.svc-includes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-include { padding: 26px; border-radius: var(--r); transition: box-shadow .4s var(--ease); }
.svc-include:hover { box-shadow: var(--neu-out-lg); }
.svc-include__icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--accent); margin-bottom: 18px; }
.svc-include__icon svg { width: 20px; height: 20px; }
.svc-include h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.2; }
.svc-include p { color: var(--ink-2); font-size: .92rem; margin-top: 8px; }

.svc-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-step { padding: 26px; border-radius: var(--r); }
.svc-step__num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--accent); margin-bottom: 18px; }
.svc-step h3 { font-size: 1.02rem; font-weight: 700; }
.svc-step p { color: var(--ink-2); font-size: .9rem; margin-top: 6px; }

.svc-gallery { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.svc-gallery--2 { grid-template-columns: 1.4fr 1fr; }
.svc-gallery__item { margin: 0; padding: 10px; border-radius: var(--r); overflow: hidden; }
.svc-gallery__item img { width: 100%; height: 100%; min-height: 260px; max-height: 380px; object-fit: cover; border-radius: calc(var(--r) - 8px); transition: transform 1s var(--ease); }
.svc-gallery__item:hover img { transform: scale(1.04); }

.svc-faq { max-width: 880px; }
.svc-faq__more { margin-top: 22px; color: var(--ink-2); font-size: .92rem; }
.svc-faq__more a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.svc-block + .faq__cta { margin-top: clamp(60px, 8vw, 100px); }

.svc-more__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-more__card { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: var(--r); transition: box-shadow .4s var(--ease), color .3s; }
.svc-more__card:hover { box-shadow: var(--neu-out-lg); color: var(--accent); }
.svc-more__img { flex-shrink: 0; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; }
.svc-more__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-more__name { flex: 1; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.svc-more__arrow { flex-shrink: 0; width: 18px; height: 18px; color: var(--accent); transition: transform .4s var(--ease); }
.svc-more__card:hover .svc-more__arrow { transform: translateX(4px); }

@media (max-width: 1100px) {
  .svc-includes { grid-template-columns: repeat(2, 1fr); }
  .svc-steps { grid-template-columns: repeat(2, 1fr); }
  .svc-more__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .svc-hero__grid, .svc-intro { grid-template-columns: 1fr; }
  .svc-hero__badge { left: 18px; bottom: 26px; }
}
@media (max-width: 760px) {
  .crumbs { margin-bottom: 14px; font-size: .76rem; }
  .svc-hero__grid { gap: 26px; }
  .svc-hero__actions { margin-top: 20px; gap: 14px; }
  .svc-hero__actions .btn { flex: 1 1 100%; }
  .svc-hero__frame { padding: 7px; }
  .svc-hero__badge { font-size: .76rem; padding: 7px 14px 7px 7px; left: 16px; bottom: 18px; }
  .svc-hero__badge > span { width: 32px; height: 32px; }
  .svc-intro__lead { font-size: 1.3rem; }
  .svc-highlights { gap: 16px; }
  .svc-highlights li > span { width: 42px; height: 42px; border-radius: 13px; }
  .svc-block { margin-top: 56px; }
  .svc-block__title { font-size: 1.8rem; }
  .svc-includes, .svc-steps, .svc-more__grid { grid-template-columns: 1fr; gap: 18px; }
  .svc-include, .svc-step { padding: 20px 18px; border-radius: 18px; }
  .svc-include h3 { font-size: 1.25rem; }
  .svc-step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .svc-step__num { grid-row: span 2; width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 0; }
  .svc-step p { margin-top: 2px; }
  .svc-gallery, .svc-gallery--2 {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: -16px calc(var(--gutter) * -1) 0; padding: 22px var(--gutter) 28px; scroll-padding-inline: var(--gutter);
  }
  .svc-gallery::-webkit-scrollbar { display: none; }
  .svc-gallery__item { flex: 0 0 82vw; max-width: 340px; padding: 7px; scroll-snap-align: start; }
  .svc-gallery__item img { min-height: 0; aspect-ratio: 4 / 3.4; }
  .svc-block + .faq__cta { margin-top: 48px; }
  .svc-more__card { padding: 8px 14px 8px 8px; border-radius: 18px; }
  .svc-more__img { width: 54px; height: 54px; border-radius: 12px; }
  .svc-more__card:active, .svc-include:active { transform: scale(.98); }
}

/* Short phones (SE-class): tighten the hero so copy and photo still share one screen. */
@media (max-width: 760px) and (max-height: 740px) {
  .hero { --hero-pt: calc(var(--appbar-h) + env(safe-area-inset-top) + 14px); }
  .hero__grid { gap: 16px; }
  .hero__title { font-size: 2.15rem; margin: 12px 0 10px; }
  .hero__lead { line-height: 1.6; }
  .hero__actions { margin-top: 16px; }
}
