﻿/* ===========================================================
   SANDCRAFT — Design System
   =========================================================== */

:root {
  --bg: #FAF7F2;
  --bg-alt: #F3EEE5;
  --ink: #1A1A1A;
  --ink-muted: #5C5852;
  --line: #E8E2D7;
  --wood: #B8895C;
  --moss: #4A5D3F;
  --moss-deep: #3A4B31;

  --font-serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --max: 1320px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --gap: clamp(2rem, 6vw, 5rem);

  --radius: 2px;
  --shadow-soft: 0 1px 0 var(--line);

  --t-fast: 180ms cubic-bezier(.2,.6,.2,1);
  --t-med: 360ms cubic-bezier(.2,.6,.2,1);
  --t-slow: 700ms cubic-bezier(.2,.6,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--ink); color: var(--bg); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 90px; }
@media (max-width: 720px) { section[id] { scroll-margin-top: 70px; } }

body {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast), opacity var(--t-fast);
}

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6.5vw, 4.75rem); font-weight: 700; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -0.025em; line-height: 1.2; }
h4 { font-size: 1.1rem; line-height: 1.3; }

/* Italic reserved for emphasis only */
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }

p { max-width: 65ch; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--ink); }

.muted { color: var(--ink-muted); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* ---------------- Layout helpers ---------------- */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { padding-block: clamp(4rem, 10vw, 8rem); }
section.tight { padding-block: clamp(2.5rem, 6vw, 5rem); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-muted);
}

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------- Buttons / links ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.05rem 1.65rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: background var(--t-med), transform var(--t-fast);
  white-space: nowrap;
}
.btn:hover { background: var(--moss-deep); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }

.btn .arrow { transition: transform var(--t-med); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--t-fast);
}
.link:hover { border-bottom-color: var(--ink); }
.link .arrow { transition: transform var(--t-med); }
.link:hover .arrow { transform: translateX(4px); }

/* ---------------- Header / Nav ---------------- */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 1.1rem;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition:
    padding 280ms cubic-bezier(.4,0,.2,1),
    border-color 280ms,
    background-color 320ms ease,
    transform 320ms cubic-bezier(.4,0,.2,1);
}
.header.scrolled {
  padding-block: 0.8rem;
  border-bottom-color: transparent;
  background-color: var(--bg);
}
/* Calm wavy sand edge under the solid header — a soft dune-like lower border */
.header.scrolled::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='18' viewBox='0 0 1200 18' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1200 V8 C980 16 760 16 540 9 C360 3 180 3 0 9 Z' fill='%23FAF7F2'/%3E%3Cpath d='M0 9 C180 3 360 3 540 9 C760 16 980 16 1200 8' fill='none' stroke='%23B8895C' stroke-width='1.6' stroke-opacity='0.45'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 18px;
  background-position: top center;
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(26, 26, 26, 0.04));
}
/* Transparent variant while over the hero photo */
.header.on-hero:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}
.header.on-hero:not(.scrolled) .header-nav a:not(.btn),
body:not(.nav-open) .header.on-hero:not(.scrolled) .nav-toggle { color: var(--bg); }
.header.on-hero:not(.scrolled) .header-nav a:not(.btn)::after { background: var(--bg); }
.header.on-hero:not(.scrolled) .btn-header {
  background: var(--bg);
  color: var(--ink);
}
.header.on-hero:not(.scrolled) .btn-header:hover {
  background: var(--moss);
  color: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--ink);
  transition: color 320ms ease;
}
.logo-mark {
  width: clamp(24px, 2.2vw, 30px);
  height: auto;
  flex-shrink: 0;
  color: var(--wood);
  transition: color 320ms ease, width 280ms cubic-bezier(.4,0,.2,1);
}
.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  letter-spacing: -0.025em;
  line-height: 1;
  color: currentColor;
  white-space: nowrap;
}
.logo-word::after { content: "."; color: var(--wood); }
.header.scrolled .logo-mark { width: 24px; }
/* White logo over the hero photo */
.header.on-hero:not(.scrolled) .header-logo,
.header.on-hero:not(.scrolled) .logo-mark { color: #fff; }
body.nav-open .header-logo,
body.nav-open .logo-mark { color: var(--ink) !important; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header {
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  color: var(--ink);
  position: relative;
  z-index: 110;
  transition: color var(--t-fast);
}
.nav-toggle svg { width: 26px; height: 17px; }
.nav-toggle svg line { stroke: currentColor; transition: transform var(--t-med), opacity var(--t-fast); transform-origin: center; }
.nav-toggle.is-open svg line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open svg line:nth-child(2) { opacity: 0; }
.nav-toggle.is-open svg line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }

.header-nav ul {
  display: flex;
  gap: clamp(1rem, 2vw, 2.25rem);
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.header-nav a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}
.header-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}
.header-nav a:not(.btn):hover::after,
.header-nav a.is-active:not(.btn)::after { transform: scaleX(1); }

/* Poptávka button — visible text */
.header-nav a.btn-poptavka,
.header-nav a.btn {
  padding: 0.6rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--ink);
  color: var(--bg) !important;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.header-nav a.btn:hover,
.header-nav a.btn-poptavka:hover { background: var(--moss-deep); color: var(--bg) !important; }
.header-nav a.btn::after,
.header-nav a.btn-poptavka::after { display: none !important; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-mark {
  width: 26px; height: 26px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.85rem;
}

/* .nav = fullscreen slide-out menu (mobile always, desktop in compact mode) */
.nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 6rem var(--pad) 3rem;
  align-items: flex-start;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform var(--t-med);
  z-index: 105;
  overflow-y: auto;
  visibility: hidden;
}
.nav.is-open { transform: translateX(0); visibility: visible; }
.nav ul {
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
  width: 100%;
  list-style: none;
  padding: 0;
  display: flex;
}
.nav li { width: 100%; border-bottom: 1px solid var(--line); padding-bottom: 1.75rem; }
.nav li:last-child { border-bottom: 0; }
.nav a:not(.btn) {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-family: var(--font-serif);
  font-weight: 450;
  color: var(--ink);
  letter-spacing: -0.015em;
  display: inline-block;
  width: 100%;
}
.nav a.btn {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  padding: 1.1rem 1.6rem;
  background: var(--ink);
  color: var(--bg);
  width: auto;
  margin-top: 0.5rem;
}
.nav a.btn:hover { background: var(--moss-deep); color: var(--bg); }

/* Hide sticky CTA when menu is open */
body.nav-open .sticky-cta,
body:has(.nav.is-open) .sticky-cta { opacity: 0; pointer-events: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}
.lang-switch a.active { color: var(--ink); }

/* (legacy 3-span .nav-toggle rules removed — SVG-based desktop/mobile toggles
   are styled by .nav-toggle-desktop and .nav-toggle-mobile above) */

@media (max-width: 900px) {
  .header-nav { display: none; }
  .btn-header { display: none; }
  .nav-toggle { display: flex; }
  /* Keep toggle visible/readable above the open fullscreen menu */
  body.nav-open .header.on-hero:not(.scrolled) .nav-toggle,
  body.nav-open .nav-toggle { color: var(--ink); }
}

/* ---------------- Hero (HAY-style split) ---------------- */

.hero-split {
  min-height: 100svh;
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.hero-split-top {
  text-align: center;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.hero-wordmark {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0 0 1.5rem;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  color: var(--ink-muted);
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.4;
}

.hero-cards {
  display: grid;
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
  grid-template-columns: 1fr 1fr;
  flex: 1;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-inline: var(--pad);
}
@media (max-width: 720px) {
  .hero-cards { grid-template-columns: 1fr; }
}

.hero-card {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--bg-alt);
  border-radius: 2px;
}
.hero-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1200ms cubic-bezier(.2,.7,.15,1), opacity 600ms ease;
}
.hero-card:hover img { transform: scale(1.04); }

@media (max-width: 720px) {
  .hero-card { aspect-ratio: 4 / 3; }
  .hero-wordmark { font-size: clamp(3.5rem, 20vw, 6rem); }
}

/* ---------------- Hero (legacy fullscreen, kept for fallback) ---------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding-top: 6rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.hero-layout {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(250, 247, 242, 0.85);
  margin-bottom: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(250, 247, 242, 0.6);
}

/* Trust strip at hero bottom */
.hero-foot {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(250, 247, 242, 0.25);
  color: var(--bg);
}
.hero-foot li { display: grid; gap: 0.2rem; }
.hero-foot strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  letter-spacing: -0.01em;
}
.hero-foot span {
  font-size: 0.82rem;
  color: rgba(250, 247, 242, 0.7);
  line-height: 1.45;
}
@media (max-width: 900px) {
  .hero-foot { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .hero-foot li:nth-child(n+3) { display: none; }
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: clamp(2.5rem, 5vw, 4rem);
  right: var(--pad);
  width: 1px;
  height: 64px;
  overflow: hidden;
  display: none;
}
@media (min-width: 1100px) { .hero-scroll { display: block; } }
.hero-scroll .line {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(250, 247, 242, 0.7);
  animation: heroScrollLine 2.2s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes heroScrollLine {
  0%   { transform: translateY(-100%); }
  50%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(20, 20, 20, 0.88) 0%,
      rgba(20, 20, 20, 0.64) 26%,
      rgba(20, 20, 20, 0.34) 55%,
      rgba(20, 20, 20, 0.20) 78%,
      rgba(20, 20, 20, 0.40) 100%
    ),
    linear-gradient(
      to right,
      rgba(20, 20, 20, 0.50) 0%,
      rgba(20, 20, 20, 0.20) 48%,
      rgba(20, 20, 20, 0.04) 75%
    );
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  /* base darken + scroll-driven dim (JS sets --hero-progress) */
  filter: brightness(calc(0.88 - var(--hero-progress, 0) * 0.42)) saturate(1.02);
}
/* Keep the sandbox (right side of the photo) in frame on narrow screens */
@media (max-width: 720px) {
  .hero-bg img { object-position: 68% 70%; }
}

/* Hero scroll choreography — content lifts & fades as the photo zooms/dims */
.hero-layout {
  transform: translate3d(0, calc(var(--hero-progress, 0) * -48px), 0);
  opacity: clamp(0, calc(1 - var(--hero-progress, 0) * 1.25), 1);
  will-change: transform, opacity;
}

.hero-content {
  position: relative;
  color: var(--bg);
  max-width: 900px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-content h1 {
  color: var(--bg);
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  padding-bottom: 0.08em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.3);
}
.hero-content .sub {
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 1.35vw, 1.3rem);
  color: rgba(250, 247, 242, 0.98);
  max-width: 580px;
  line-height: 1.55;
  font-weight: 400;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}
.hero-content .hero-note {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.7);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}
.hero .btn { background: var(--bg); color: var(--ink); }
.hero .btn:hover { background: var(--moss); color: var(--bg); }
.hero .btn-ghost { background: transparent; color: var(--bg); border-color: var(--bg); }
.hero .btn-ghost:hover { background: var(--bg); color: var(--ink); }

.hero-meta {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  right: var(--pad);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.7);
  writing-mode: vertical-rl;
}
@media (max-width: 720px) { .hero-meta { display: none; } }

/* ---------------- Intro ---------------- */

.intro-block {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .intro-block { grid-template-columns: 1fr 1.6fr; gap: 5rem; }
}
.intro-block h2 {
  font-style: italic;
  font-weight: 300;
}
.intro-block .body p + p { margin-top: 1.2rem; }

/* ---------------- Lines (řady) ---------------- */

.lines {
  background: var(--bg-alt);
}

.line-card {
  position: relative;
  display: block;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t-med), border-color var(--t-med);
}
.line-card:hover { transform: translateY(-4px); border-color: var(--ink); }

.line-card .img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
}
.line-card .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.line-card:hover .img img { transform: scale(1.04); }

.line-card .body {
  padding: 1.75rem 1.75rem 2rem;
}
.line-card .num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.line-card h3 { margin-bottom: 0.6rem; }
.line-card p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
.line-card .more {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

/* ---------------- Why ---------------- */

.why-grid {
  counter-reset: why;
}
.why-item {
  counter-increment: why;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.why-item::before {
  content: "0" counter(why);
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--wood);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.why-item h3 { margin-bottom: 0.75rem; }
.why-item p { color: var(--ink-muted); font-size: 0.97rem; }

/* ---------------- Gallery ---------------- */

.gallery {
  background: var(--bg-alt);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(12, 1fr); gap: 1rem; }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.gallery-item:hover img { transform: scale(1.03); }

@media (min-width: 1024px) {
  .gallery-item:nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 11; }
  .gallery-item:nth-child(2) { grid-column: span 5; aspect-ratio: 16 / 11; }
  .gallery-item:nth-child(3) { grid-column: span 4; aspect-ratio: 4 / 5; }
  .gallery-item:nth-child(4) { grid-column: span 4; aspect-ratio: 4 / 5; }
  .gallery-item:nth-child(5) { grid-column: span 4; aspect-ratio: 4 / 5; }
  .gallery-item:nth-child(6) { grid-column: span 8; aspect-ratio: 16 / 9; }
  .gallery-item:nth-child(7) { grid-column: span 4; aspect-ratio: 16 / 9; }
}

/* ---------------- Audience split ---------------- */

.audience-split {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .audience-split { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.audience-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--t-med);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.audience-card:hover { border-color: var(--ink); }
.audience-card.dark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.audience-card.dark h3, .audience-card.dark p { color: var(--bg); }
.audience-card .head .label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  display: block;
}
.audience-card.dark .label { color: rgba(250, 247, 242, 0.6); }
.audience-card h3 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 1rem; }
.audience-card p { font-size: 0.98rem; margin-bottom: 2rem; }

/* ---------------- Process ---------------- */

.process {
  background: var(--ink);
  color: var(--bg);
}
.process h2 { color: var(--bg); }
.process .section-eyebrow { color: rgba(250, 247, 242, 0.6); }
.process .section-eyebrow::before { background: rgba(250, 247, 242, 0.4); }

.process-list {
  counter-reset: step;
  display: grid;
  gap: 0;
  margin-top: 4rem;
}
.process-step {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
  align-items: baseline;
}
.process-step:last-child { border-bottom: 1px solid rgba(250, 247, 242, 0.15); }
.process-step .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: rgba(250, 247, 242, 0.55);
  min-width: 3rem;
}
.process-step .num::before { content: "0" counter(step); }
.process-step h3 {
  color: var(--bg);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.process-step p {
  color: rgba(250, 247, 242, 0.75);
  font-size: 0.98rem;
  max-width: 60ch;
}

@media (min-width: 720px) {
  .process-step { grid-template-columns: 100px 1fr 1fr; gap: 3rem; }
}

/* ---------------- FAQ ---------------- */

.faq-list { margin-top: 3rem; }
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.75rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color var(--t-fast);
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { color: var(--moss); }
.faq-icon {
  flex-shrink: 0;
  width: 18px; height: 18px;
  position: relative;
  margin-top: 0.55rem;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform var(--t-med);
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-body {
  padding: 0 0 1.75rem 0;
  color: var(--ink-muted);
  font-size: 1rem;
  max-width: 65ch;
}

/* ---------------- CTA block ---------------- */

.cta-block {
  background: var(--bg-alt);
  text-align: center;
}
.cta-block .container { display: grid; place-items: center; gap: 2rem; }
.cta-block h2 {
  font-style: italic;
  font-weight: 300;
  max-width: 18ch;
  margin: 0 auto;
}
.cta-block p { max-width: 50ch; margin: 0 auto; color: var(--ink-muted); }

/* ---------------- Footer ---------------- */

.footer {
  background: var(--ink);
  color: rgba(250, 247, 242, 0.75);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.footer a { color: rgba(250, 247, 242, 0.85); }
.footer a:hover { color: var(--bg); }

.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250, 247, 242, 0.12);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand .logo { color: var(--bg); margin-bottom: 1.25rem; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--bg);
}
.footer-logo .logo-mark { width: 26px; color: var(--wood); }
.footer-logo .logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--bg);
}
.footer-brand p { font-size: 0.95rem; max-width: 28ch; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.5);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-col a { font-size: 0.95rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.55);
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(250, 247, 242, 0.7); }

/* ---------------- Form ---------------- */

.form {
  display: grid;
  gap: 1.5rem;
  max-width: 720px;
}
.form-row {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  font: inherit;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color var(--t-fast);
  width: 100%;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 140px; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.checkbox input { width: 18px; height: 18px; margin-top: 0.15rem; flex-shrink: 0; }

/* ---------------- Page hero (subpages) ---------------- */

.page-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}
.page-hero h1 {
  font-style: italic;
  font-weight: 300;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.page-hero .lead { color: var(--ink-muted); max-width: 60ch; }

/* ---------------- Misc ---------------- */

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(.2,.6,.2,1), transform 700ms cubic-bezier(.2,.6,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------------- Product / Detail page ---------------- */

.product-hero {
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.product-hero-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .product-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 5rem; }
}
.product-hero .eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
  display: block;
}
.product-hero h1 {
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.product-hero .lead {
  color: var(--ink-muted);
  max-width: 50ch;
  margin-bottom: 2rem;
}

.product-image {
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }

.spec-list {
  list-style: none;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.spec-list li {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.spec-list .key {
  color: var(--ink-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.spec-list .val { color: var(--ink); }

.material-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 3rem;
}
@media (min-width: 720px) { .material-grid { grid-template-columns: repeat(3, 1fr); } }

.material-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
}
.material-swatch {
  aspect-ratio: 16 / 10;
  background: var(--wood);
  background-size: cover;
  background-position: center;
}
.material-card .body { padding: 1.5rem; }
.material-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.material-card p { font-size: 0.92rem; color: var(--ink-muted); }

/* ---------------- About page ---------------- */

.about-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.about-hero h1 {
  font-style: italic;
  font-weight: 300;
  max-width: 16ch;
  margin-bottom: 2rem;
}

.about-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-block: clamp(2rem, 5vw, 4rem);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-prose { max-width: 65ch; }
.about-prose h2 { margin-block: 2.5rem 1rem; font-style: italic; font-weight: 300; }
.about-prose p + p { margin-top: 1.2rem; }
.about-prose p { color: var(--ink); }
.about-prose .lead { color: var(--ink); font-size: clamp(1.15rem, 1.4vw, 1.35rem); line-height: 1.55; margin-bottom: 1.5rem; }

.values-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-top: 3rem;
}
@media (min-width: 720px) { .values-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }

.value-item {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.value-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}
.value-item p { color: var(--ink-muted); font-size: 0.95rem; }

/* ---------------- Contact / Form pages ---------------- */

.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 5rem; }
}

.contact-info { display: grid; gap: 1.75rem; }
.contact-info .block { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.contact-info .label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
  display: block;
}
.contact-info .value { font-family: var(--font-serif); font-size: 1.2rem; font-style: italic; font-weight: 300; }
.contact-info a:hover { color: var(--moss); }

/* ---------------- Reference page ---------------- */

.case-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
}

.case-item .img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 1.25rem;
}
.case-item .img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.case-item:hover .img img { transform: scale(1.03); }
.case-item .meta {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}
.case-item h3 { font-size: 1.4rem; margin-bottom: 0.4rem; font-style: italic; font-weight: 300; }
.case-item p { color: var(--ink-muted); font-size: 0.92rem; }

/* ---------------- B2B page ---------------- */

.b2b-feature {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .b2b-feature { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.b2b-feature.reverse { direction: rtl; }
.b2b-feature.reverse > * { direction: ltr; }

.b2b-feature .img { aspect-ratio: 4 / 3; overflow: hidden; }
.b2b-feature .img img { width: 100%; height: 100%; object-fit: cover; }
.b2b-feature h3 { font-size: clamp(1.6rem, 2.5vw, 2rem); font-style: italic; font-weight: 300; margin-bottom: 1rem; }
.b2b-feature p { color: var(--ink-muted); }

/* ---------------- 404 ---------------- */

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem var(--pad) 4rem;
}
.error-page .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 1;
  color: var(--wood);
  margin-bottom: 1rem;
}
.error-page h1 { font-style: italic; font-weight: 300; margin-bottom: 1rem; }
.error-page p { color: var(--ink-muted); margin: 0 auto 2rem; max-width: 40ch; }

/* ===========================================================
   POLISH PASS — page load, reveal variants, marquee, stats,
   sticky CTA, scroll cue, parallax, cursor, dividers
   =========================================================== */

/* Body fade-in on load (CSS-only, no JS dependency) */
body { animation: bodyFadeIn 700ms cubic-bezier(.2,.6,.2,1) both; }
@keyframes bodyFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  body { animation: none !important; }
}

/* Reveal variants ----------------------------------------- */

.reveal-up   { opacity: 0; transform: translateY(28px); transition: opacity 800ms cubic-bezier(.2,.6,.2,1), transform 800ms cubic-bezier(.2,.6,.2,1); }
.reveal-fade { opacity: 0;                            transition: opacity 900ms cubic-bezier(.2,.6,.2,1); }
.reveal-zoom { opacity: 0; transform: scale(.96);     transition: opacity 900ms cubic-bezier(.2,.6,.2,1), transform 900ms cubic-bezier(.2,.6,.2,1); }
.reveal-clip { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms cubic-bezier(.7,0,.2,1); }
.reveal-up.visible, .reveal-fade.visible, .reveal-zoom.visible { opacity: 1; transform: none; }
.reveal-clip.visible { clip-path: inset(0 0 0 0); }

/* Stagger children ---------------------------------------- */
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* Word-by-word reveal for headlines ----------------------- */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 900ms cubic-bezier(.2,.7,.15,1);
  transition-delay: calc(var(--i, 0) * 80ms);
  will-change: transform;
}
.split-ready .split-word > span { transform: translateY(0); }

/* Hero scroll cue ----------------------------------------- */
.hero-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(250, 247, 242, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}
.hero-cue .line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(250,247,242,0) 0%, rgba(250,247,242,.8) 50%, rgba(250,247,242,0) 100%);
  background-size: 100% 200%;
  animation: cueLine 2.4s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes cueLine {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0 100%; }
}
@media (max-width: 720px) { .hero-cue { display: none; } }

/* Hero subtle zoom on load -------------------------------- */
.hero-bg img { animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to   { transform: scale(1);   }
}
/* Parallax + scroll zoom — JS sets --py and --hero-scale */
.hero-bg {
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--hero-scale, 1));
  transform-origin: center 40%;
}


/* Stats / proof ------------------------------------------- */
.stats {
  background: var(--bg);
  border-block: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}
.stat:last-child { border-right: 0; }
@media (max-width: 1023px) {
  .stat { border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
}
@media (max-width: 719px) {
  .stat { border-right: 0; }
}
.stat-num {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.stat-num .unit {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--wood);
  margin-left: 0.12em;
  letter-spacing: -0.02em;
  vertical-align: 0.05em;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-top: 0.2rem;
}
.stat-desc {
  font-size: 0.92rem;
  color: var(--ink-muted);
  max-width: 30ch;
  line-height: 1.55;
  margin-top: 0.5rem;
}

/* Sticky bottom CTA --------------------------------------- */
.sticky-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px) scale(.95);
  pointer-events: none;
  transition: opacity 400ms cubic-bezier(.2,.6,.2,1), transform 400ms cubic-bezier(.2,.6,.2,1);
  background: var(--ink);
  color: var(--bg);
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 28px rgba(26, 26, 26, 0.18);
}
.sticky-cta.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.sticky-cta:hover { background: var(--moss-deep); transform: translateY(-2px); }
.sticky-cta .dot {
  width: 8px; height: 8px;
  background: var(--wood);
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.sticky-cta .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wood);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(2.5); opacity: 0;  }
}
@media (max-width: 720px) {
  .sticky-cta { bottom: 1rem; right: 1rem; padding: 0.85rem 1.2rem; font-size: 0.85rem; }
  .sticky-cta .label-long { display: none; }
}

/* Sand cursor — hide system cursor when sand effect is active --- */
html.sand-cursor-active,
html.sand-cursor-active body,
html.sand-cursor-active * {
  cursor: none;
}
/* Keep system caret inside text inputs so users can type */
html.sand-cursor-active input,
html.sand-cursor-active textarea,
html.sand-cursor-active [contenteditable="true"] {
  cursor: text;
}
@media (max-width: 1024px), (hover: none) {
  html.sand-cursor-active,
  html.sand-cursor-active body,
  html.sand-cursor-active * { cursor: auto; }
}

/* Wood-grain section divider ------------------------------ */
.grain-divider {
  height: 1px;
  background-image: linear-gradient(
    to right,
    transparent 0,
    var(--line) 8%,
    var(--wood) 50%,
    var(--line) 92%,
    transparent 100%
  );
  border: 0;
  margin: 0;
}

/* Image clip reveal --------------------------------------- */
.img-clip {
  overflow: hidden;
}
.img-clip img,
.img-clip picture {
  transform: scale(1.08);
  transition: transform 1400ms cubic-bezier(.2,.7,.15,1);
}
.img-clip.visible img,
.img-clip.visible picture { transform: scale(1); }

/* Magnetic button helper (JS sets translate) -------------- */
.magnetic { transition: transform 280ms cubic-bezier(.2,.6,.2,1); will-change: transform; }
.magnetic:hover { transition-duration: 60ms; }

/* Improved gallery item polish ---------------------------- */
.gallery-item {
  position: relative;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,26,26,.18) 100%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }

/* Line cards: lift detail --------------------------------- */
.line-card .body { position: relative; }
.line-card .body::before {
  content: "";
  position: absolute;
  top: 0; left: 1.75rem;
  width: 0; height: 1px;
  background: var(--wood);
  transition: width 600ms cubic-bezier(.2,.6,.2,1);
}
.line-card:hover .body::before { width: calc(100% - 3.5rem); }

/* Header logo hover --------------------------------------- */
.logo .logo-mark { transition: transform 600ms cubic-bezier(.2,.6,.2,1); }
.logo:hover .logo-mark { transform: rotate(360deg); }

/* Animated underline for footer links --------------------- */
.footer-col a {
  display: inline-block;
  position: relative;
  padding-bottom: 1px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 360ms cubic-bezier(.2,.6,.2,1);
}
.footer-col a:hover { background-size: 100% 1px; }

/* Reduced motion overrides -------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-fade, .reveal-zoom { opacity: 1 !important; transform: none !important; }
  .reveal-clip { clip-path: none !important; }
  .split-word > span { transform: none !important; }
  .hero-bg img { animation: none !important; transform: none !important; }
  .sticky-cta .dot::after { animation: none !important; }
  .hero-cue .line { animation: none !important; }
  .hero-scroll .line { animation: none !important; }
  .cursor-dot { display: none !important; }
}

/* ===========================================================
   ONE-PAGE PIVOT — slogan banner, materials, custom callout,
   add-ons grid, testimonials carousel
   =========================================================== */

/* Slogan banner — bold statement section -------------- */
.slogan-section {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.slogan-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(184,137,92,.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(74,93,63,.18) 0%, transparent 45%);
  pointer-events: none;
}
.slogan-section .container { position: relative; }
.slogan-section .section-eyebrow { color: rgba(250,247,242,.55); justify-content: center; }
.slogan-section .section-eyebrow::before { background: rgba(250,247,242,.4); }
.slogan-headline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--bg);
  max-width: 22ch;
  margin: 0 auto 2rem;
}
.slogan-headline em {
  font-style: italic;
  color: var(--wood);
  font-weight: 400;
}
.slogan-headline .strike {
  position: relative;
  display: inline-block;
  color: rgba(250,247,242,.55);
}
.slogan-headline .strike::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%;
  top: 55%;
  height: 2px;
  background: var(--wood);
  transform: rotate(-3deg);
}
.slogan-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(250,247,242,.85);
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.55;
}

/* Materials (wood types) ------------------------------ */
.materials-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .materials-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1100px) {
  .materials-grid { grid-template-columns: repeat(3, 1fr); }
}

.material-tile {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-med), transform var(--t-med);
}
.material-tile:hover { border-color: var(--ink); transform: translateY(-3px); }

.material-tile .swatch {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.material-tile .swatch img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.material-tile:hover .swatch img { transform: scale(1.05); }
.material-tile .swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,.18) 100%);
  pointer-events: none;
}

.material-tile .body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.material-tile .name {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.material-tile .name h3 {
  font-style: italic;
  font-weight: 300;
  font-size: 1.6rem;
}
.material-tile .name .tag {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wood);
}
.material-tile p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.material-tile .specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--ink-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.material-tile .specs li::before {
  content: "·";
  color: var(--wood);
  margin-right: 0.5rem;
}
.material-tile .specs li:first-child::before { display: none; margin: 0; }

/* Bespoke / custom callout ---------------------------- */
.bespoke {
  background: var(--bg-alt);
}
.bespoke-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .bespoke-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; }
}
.bespoke .img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.bespoke .img img { width: 100%; height: 100%; object-fit: cover; }
.bespoke h2 {
  font-style: italic;
  font-weight: 300;
}
.bespoke .body p {
  color: var(--ink);
  margin-bottom: 1rem;
}
.bespoke .body .lead { font-size: clamp(1.15rem, 1.4vw, 1.35rem); margin-bottom: 1.25rem; }
.bespoke-points {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.bespoke-points li {
  padding-left: 2rem;
  position: relative;
  color: var(--ink-muted);
  font-size: 0.97rem;
}
.bespoke-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 18px; height: 1px;
  background: var(--wood);
}

/* Add-ons grid (Doplňky) ------------------------------ */
.addons-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .addons-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (min-width: 1100px) {
  .addons-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(280px, auto);
  }
}

.addon {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: border-color var(--t-med);
}
.addon:hover { border-color: var(--ink); }
.addon.with-bg {
  color: var(--bg);
  border-color: transparent;
  min-height: 360px;
}
.addon.with-bg .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.addon.with-bg .bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.addon.with-bg:hover .bg img { transform: scale(1.04); }
.addon.with-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,.05) 0%, rgba(26,26,26,.75) 100%);
  z-index: 1;
}
.addon.with-bg .content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 1.5rem 1.75rem 1.75rem;
}
.addon.with-bg h3 { color: var(--bg); }
.addon.with-bg p { color: rgba(250,247,242,.82); }

.addon .content { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.4rem; }
.addon .num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--wood);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.addon h3 {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.2;
}
.addon p { color: var(--ink-muted); font-size: 0.92rem; line-height: 1.55; }

/* Asymmetric layout for desktop */
@media (min-width: 1100px) {
  .addon:nth-child(1) { grid-column: span 4; grid-row: span 1; }
  .addon:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .addon:nth-child(3) { grid-column: span 2; grid-row: span 1; }
  .addon:nth-child(4) { grid-column: span 4; grid-row: span 1; }
  .addon:nth-child(5) { grid-column: span 3; grid-row: span 1; }
  .addon:nth-child(6) { grid-column: span 3; grid-row: span 1; }
}

/* Quality points ------------------------------------- */
.quality-list {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  margin-top: 3rem;
}
@media (min-width: 720px) { .quality-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quality-list { grid-template-columns: repeat(4, 1fr); } }

.quality-item {
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.quality-item:last-child { border-right: 1px solid var(--line); }
@media (max-width: 1099px) {
  .quality-item:nth-child(2n) { border-right: 1px solid var(--line); }
}
@media (max-width: 719px) {
  .quality-item { border-right: 1px solid var(--line); }
}
.quality-item:last-of-type,
.quality-list .quality-item:nth-last-child(1),
.quality-list .quality-item:nth-last-child(2):nth-child(odd) ~ .quality-item {
  border-bottom: 1px solid var(--line);
}
.quality-list { border-bottom: 1px solid var(--line); }
.quality-num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--wood);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.quality-item h4 {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.25;
}
.quality-item p { color: var(--ink-muted); font-size: 0.92rem; }

/* Testimonials carousel ------------------------------ */
.testimonials {
  background: var(--bg-alt);
  overflow: hidden;
}
.testimonial-viewport {
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 700ms cubic-bezier(.2,.7,.15,1);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 100%;
  padding: 0 clamp(0.5rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.7vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 32ch;
  margin: 0 auto;
  position: relative;
}
.testimonial-quote::before {
  content: "\201C";
  position: absolute;
  left: -0.5em;
  top: -0.25em;
  font-size: 2.4em;
  line-height: 1;
  color: var(--wood);
  opacity: 0.55;
}
.testimonial-author {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.testimonial-author strong {
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.16em;
}
.testimonial-stars {
  display: inline-flex;
  gap: 0.25rem;
  color: var(--wood);
  font-size: 1rem;
  letter-spacing: 0.15em;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}
.t-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  transition: background var(--t-med), color var(--t-med), border-color var(--t-med), transform var(--t-fast);
  cursor: pointer;
}
.t-arrow:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-1px); }
.t-dots {
  display: inline-flex;
  gap: 0.6rem;
}
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background var(--t-fast), transform var(--t-fast);
  cursor: pointer;
  border: none;
  padding: 0;
}
.t-dot.is-active { background: var(--ink); transform: scale(1.3); }

/* Inline poptavka in single-page ---------------------- */
.poptavka-inline {
  position: relative;
  background: var(--ink);
  color: var(--bg);
  padding-block: clamp(4.5rem, 9vw, 7rem) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.poptavka-inline::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(184,137,92,.18) 0%, transparent 42%),
    radial-gradient(circle at 82% 80%, rgba(74,93,63,.16) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.poptavka-inline > * { position: relative; z-index: 1; }

.poptavka-inline::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: clamp(60px, 12vw, 120px);
  height: 1px;
  background: var(--wood);
  z-index: 2;
}

.poptavka-header {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.poptavka-header .section-eyebrow { color: rgba(250,247,242,.55); }
.poptavka-header .section-eyebrow::before { background: rgba(250,247,242,.4); }
.poptavka-header h2 {
  color: var(--bg);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 1rem;
}
.poptavka-header .lead { color: rgba(250,247,242,.85); max-width: 56ch; }

.poptavka-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .poptavka-grid { grid-template-columns: 1fr 1.6fr; gap: 3rem; }
}
@media (min-width: 1200px) {
  .poptavka-grid { gap: 4rem; }
}

.poptavka-info-card {
  background: rgba(250,247,242,0.04);
  border: 1px solid rgba(250,247,242,0.14);
  padding: clamp(1.5rem, 3vw, 2rem);
  backdrop-filter: blur(8px);
}
.poptavka-info { display: grid; gap: 1.25rem; }
.poptavka-info .pair {
  border-top: 1px solid rgba(250,247,242,.12);
  padding-top: 1rem;
  font-size: 0.98rem;
  color: var(--bg);
}
.poptavka-info .pair:first-child { border-top: 0; padding-top: 0; }
.poptavka-info .pair .label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,247,242,.55);
  margin-bottom: 0.4rem;
  display: block;
}
.poptavka-info .pair .val { color: var(--bg); display: block; }
.poptavka-info .pair a { color: var(--bg); border-bottom: 1px solid transparent; padding-bottom: 1px; transition: border-color var(--t-fast); }
.poptavka-info .pair a:hover { border-bottom-color: var(--wood); color: var(--bg); }

/* Form on dark bg — middle-ground: clearly a form, but integrated */
.poptavka-form {
  background: rgba(250,247,242,0.04);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid rgba(250,247,242,0.14);
  border-radius: 4px;
  max-width: none;
  color: var(--bg);
  backdrop-filter: blur(8px);
}
.poptavka-form .field label {
  color: rgba(250,247,242,.7);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.poptavka-form .field input,
.poptavka-form .field textarea,
.poptavka-form .field select {
  background: rgba(250,247,242,0.06);
  border: 1px solid rgba(250,247,242,0.18);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--bg);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color 200ms ease, background 200ms ease;
}
.poptavka-form .field input::placeholder,
.poptavka-form .field textarea::placeholder {
  color: rgba(250,247,242,.4);
}
.poptavka-form .field input:focus,
.poptavka-form .field textarea:focus,
.poptavka-form .field select:focus {
  border-color: var(--wood);
  background: rgba(250,247,242,0.10);
  outline: none;
}
.poptavka-form .field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(250,247,242,.55) 50%),
                    linear-gradient(-45deg, transparent 50%, rgba(250,247,242,.55) 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-color: rgba(250,247,242,0.06);
}
.poptavka-form .field select option { background: var(--ink); color: var(--bg); }

.poptavka-form .checkbox {
  color: rgba(250,247,242,.8);
  margin-top: 0.5rem;
}
.poptavka-form .checkbox input { accent-color: var(--wood); }

/* Prominent submit CTA */
.poptavka-form .form-actions {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.poptavka-form .btn-submit {
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  padding: 1.1rem 2rem;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: background var(--t-med), color var(--t-med), transform var(--t-fast);
  letter-spacing: 0.01em;
}
.poptavka-form .btn-submit:hover {
  background: var(--wood);
  color: var(--bg);
  transform: translateY(-2px);
}
.poptavka-form .form-note {
  font-size: 0.85rem;
  color: rgba(250,247,242,.55);
}

/* About section ---------------------------------------- */
.about-section { background: var(--bg-alt); }
.about-intro {
  max-width: 720px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.about-intro h2 { margin-bottom: 1.5rem; }
.about-intro .lead {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  margin: 0 auto 1.25rem;
  max-width: 60ch;
}
.about-intro .lead:last-child { color: var(--ink-muted); }

.about-team {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .about-team { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* Team — cut-out photos blend directly into the section background (no card) */
.team-card {
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-portrait {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  position: relative;
  margin: 0 auto;
}
/* Circle behind the figure — unifies both portraits; parallax driven by JS via --parallax (-1..1) */
.team-portrait { --parallax: 0; }
.team-portrait::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  width: 78%;
  aspect-ratio: 1;
  transform: translate3d(-50%, calc(var(--parallax) * -50px), 0);
  background: var(--moss);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
  transition: background-color var(--t-med);
  will-change: transform;
}
.team-card:hover .team-portrait::before {
  background: var(--moss-deep);
}
.team-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  --lift: 0px;
  transform: translate3d(0, calc(var(--parallax) * 24px + var(--lift)), 0);
  filter: saturate(1.02) contrast(1.01) drop-shadow(0 8px 20px rgba(26,26,26,0.22));
  transition: transform 400ms cubic-bezier(.2,.7,.15,1), filter 600ms ease;
  will-change: transform;
}
.team-card:hover .team-portrait img {
  --lift: -10px;
  filter: saturate(1.08) contrast(1.02) drop-shadow(0 16px 30px rgba(26,26,26,0.3));
}
.team-card:hover .team-portrait::before {
  background: var(--moss-deep);
  transform: translate3d(-50%, calc(var(--parallax) * -50px), 0) scale(1.04);
}
.team-portrait::before {
  transition: background-color var(--t-med), transform 500ms cubic-bezier(.2,.7,.15,1);
}
/* Fallback initials text (if no img present) */
.team-portrait .initials {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--ink);
  letter-spacing: -0.03em;
}

.team-card {
  padding: 0 1rem;
  text-align: center;
}
.team-body {
  max-width: 36ch;
  margin: 1.75rem auto 0;
  position: relative;
}
/* Thin separator above name — replaces card border, keeps things grounded */
.team-body::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--ink);
  margin: 0 auto 1.25rem;
  opacity: 0.5;
}
.team-body h3 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  margin-bottom: 0.9rem;
}
.team-body p {
  color: var(--ink-muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* Pin-the-CTA on long sections ------------------------ */
.section-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  color: var(--ink);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.section-cta:hover { color: var(--moss); border-bottom-color: var(--moss); }
.section-cta .arrow { transition: transform var(--t-med); }
.section-cta:hover .arrow { transform: translateX(4px); }

/* Realizace mosaic grid (one-page) -------------------- */
.realizace-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .realizace-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .realizace-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(220px, auto);
  }
  .realizace-grid > :nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .realizace-grid > :nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .realizace-grid > :nth-child(3) { grid-column: span 2; grid-row: span 1; }
}
.realizace-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  min-height: 220px;
}
.realizace-grid figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.realizace-grid figure:hover img { transform: scale(1.04); }
.realizace-grid figure figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  color: var(--bg);
  background: linear-gradient(180deg, transparent 0%, rgba(26,26,26,.7) 100%);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--t-med), transform var(--t-med);
}
.realizace-grid figure:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   READABILITY PASS — sans-serif headings (Inter Tight) by default.
   Italic Fraunces is reserved for the testimonial quotes and the
   .serif utility class — used sparingly for editorial accent.
   =========================================================== */

h1, h2, h3, h4, h5, h6,
.material-tile h3, .material-tile .name h3,
.team-body h3, .case-item h3, .b2b-feature h3,
.about-prose h2, .contact-info .value,
.slogan-headline,
.bespoke h2, .bespoke .body h3,
.intro-block h2, .cta-block h2,
.poptavka-header h2,
.process-step h3,
.error-page h1 {
  font-family: var(--font-display) !important;
  font-style: normal !important;
  font-weight: 600;
  letter-spacing: -0.035em;
}

h1 { font-weight: 700 !important; letter-spacing: -0.04em; }
.slogan-headline { font-weight: 600 !important; }

/* Italic for emphasis inside headings (Fraunces accent) */
h1 em, h2 em, h3 em, h4 em,
.slogan-headline em {
  font-family: var(--font-serif) !important;
  font-style: italic !important;
  font-weight: 500;
}

/* Quotations keep serif italic — typographic convention */
.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
/* Stats numbers use upright sans display, not italic Fraunces */
.stat-num {
  font-family: var(--font-display) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em !important;
}
.serif { font-family: var(--font-serif); font-style: italic; }

/* ===========================================================
   IMAGE BEST PRACTICES — sjednocený přístup k fotkám.

   Principy:
   • Bez rámečků (border) — fotky stojí samy o sobě
   • Ostré rohy (2px subtle radius pro premium feel, max 2px)
   • Bez box-shadow na fotkách (editorial sites tomu vyhýbají)
   • Lehká saturace 0.95–1 (žádné agresivní filtry)
   • Hover: jemné scale (max 1.03) + plná saturace
   • Smooth transitions (700–1100ms cubic-bezier)
   • Loading: eager pro hero + above-fold, decoding async vždy
   • Aspect ratio na containeru, ne na <img>, aby nedocházelo k CLS
   • object-fit: cover s thoughtful object-position
   =========================================================== */

/* <picture> wrapper must be layout-transparent so existing <img> rules
   (flex/grid sizing, object-fit) keep working unchanged */
picture {
  display: contents;
}

/* Base — všechny fotky uvnitř content sekcí */
img {
  border-radius: 2px;
}
/* Decorative images (hero, full-bleed) keep 0px */
.hero-bg img,
.hero img:not(.team-portrait img):not(.bespoke .img img) {
  border-radius: 0;
}

/* Realizace grid — galerie */
.realizace-grid figure {
  border-radius: 2px;
  background: var(--bg-alt);
}
.realizace-grid figure img {
  filter: saturate(1.02);
  transition: transform 1100ms cubic-bezier(.2,.7,.15,1), filter 700ms ease;
}
.realizace-grid figure:hover img {
  transform: scale(1.04);
  filter: saturate(1.1);
}

/* Bespoke / Možnosti feature image */
.bespoke .img {
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-alt);
}
.bespoke .img img {
  transition: transform 1100ms cubic-bezier(.2,.7,.15,1), filter 700ms ease;
  filter: saturate(1.02);
}
.bespoke:hover .img img {
  transform: scale(1.02);
  filter: saturate(1.1);
}

/* Team portraits — cut-out photos, no radius clipping */
.team-portrait { border-radius: 0; }

/* Material tile swatches */
.material-tile .swatch { border-radius: 0; }
.material-tile .swatch img {
  filter: saturate(1.02);
  transition: transform 1100ms cubic-bezier(.2,.7,.15,1), filter 700ms ease;
}
.material-tile:hover .swatch img { filter: saturate(1.1); }

/* Line cards on home (legacy řady cards) */
.line-card .img { border-radius: 0; background: var(--bg-alt); }
.line-card .img img {
  filter: saturate(1.02);
  transition: transform 1100ms cubic-bezier(.2,.7,.15,1), filter 700ms ease;
}
.line-card:hover .img img { filter: saturate(1.1); }

/* B2B feature images */
.b2b-feature .img {
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-alt);
}
.b2b-feature .img img {
  transition: transform 1100ms cubic-bezier(.2,.7,.15,1), filter 700ms ease;
  filter: saturate(1.02);
}
.b2b-feature:hover .img img {
  transform: scale(1.02);
  filter: saturate(1.1);
}

/* Hero cards (HAY-style — currently unused but kept for fallback) */
.hero-card { border-radius: 2px; }

/* Reduced motion — disable hover scale/filter shifts */
@media (prefers-reduced-motion: reduce) {
  .realizace-grid figure img,
  .bespoke .img img,
  .material-tile .swatch img,
  .line-card .img img,
  .b2b-feature .img img,
  .team-portrait img {
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
  .team-portrait { --parallax: 0 !important; }
  .team-portrait::before { transform: translateX(-50%) !important; }
}

/* ===========================================================
   MODERN PASS — soft radii, pill buttons, warm accents
   =========================================================== */

/* Pill buttons */
.btn,
.btn-header,
.header-nav a.btn,
.nav a.btn,
.sticky-cta,
.btn-submit {
  border-radius: 999px;
}

/* Warm accent on eyebrows */
.section-eyebrow { color: var(--wood); }
.section-eyebrow::before { background: var(--wood); }

/* Soft rounding on imagery and cards */
.bespoke .img,
.realizace-grid figure,
.poptavka-info-card,
.poptavka-form {
  border-radius: clamp(14px, 1.5vw, 20px);
  overflow: hidden;
}
.poptavka-form .field input,
.poptavka-form .field textarea,
.poptavka-form .field select,
.field input,
.field textarea,
.field select {
  border-radius: 12px;
}
.poptavka-form .field textarea,
.field textarea { border-radius: 14px; }

/* Hero photo — rounded bottom edge into the page */
.hero { border-radius: 0 0 clamp(18px, 3vw, 36px) clamp(18px, 3vw, 36px); overflow: hidden; }

/* Gallery hover — gentle zoom + lift */
.realizace-grid figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1100ms cubic-bezier(.2,.7,.15,1);
}
.realizace-grid figure:hover img { transform: scale(1.035); }

/* Optional-field hint in form labels */
.field label .optional {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  opacity: 0.6;
}

/* ===========================================================
   CONTACT ASIDE (redesigned) + SANDPLAY
   =========================================================== */

.poptavka-aside { display: flex; flex-direction: column; gap: 2rem; }

.poptavka-pitch {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: rgba(250,247,242,.85);
  max-width: 38ch;
}

.poptavka-contacts { display: grid; gap: 0.6rem; }
.contact-big {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--bg);
  width: fit-content;
  border-bottom: 1px solid rgba(250,247,242,.25);
  padding-bottom: 0.15em;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.contact-big:hover { color: var(--wood); border-bottom-color: var(--wood); }

.poptavka-promises {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  padding: 0;
}
.poptavka-promises li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(250,247,242,.75);
  font-size: 0.97rem;
}
.poptavka-promises li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--wood);
}

.poptavka-social {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: rgba(250,247,242,.6);
}
.poptavka-social .label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,247,242,.45);
  margin-right: 0.3rem;
}
.poptavka-social a { color: rgba(250,247,242,.85); border-bottom: 1px solid transparent; }
.poptavka-social a:hover { color: var(--wood); border-bottom-color: var(--wood); }

.poptavka-area {
  font-size: 0.85rem;
  color: rgba(250,247,242,.45);
  margin-top: auto;
}
