/* ==========================================================================
   ZemlisFoto — redesign 2026
   Light editorial theme · Fraunces + Inter
   ========================================================================== */

:root {
  --bg: #eee9cc;               /* Parchment — primary canvas + card surface */
  --bg-soft: #cecab1;          /* Aged Linen — secondary surface */
  --card: #eee9cc;             /* Parchment card, defined by ink hairline + shadow */
  --text: #111111;             /* Ink Black — primary text + rules */
  --muted: #6f6552;            /* warm muted text (derived for light surfaces) */
  --accent: #C8833A;           /* Caramel — warm amber accent */
  --accent-soft: rgba(200, 131, 58, 0.14);
  --border: rgba(17, 17, 17, 0.14);   /* Ink Black hairline */
  --espresso: #1e1915;         /* Midnight Espresso — dark sections + nav */
  --tobacco: #C8833A;          /* legacy alias — now caramel accent */
  --gold-light: #d8b784;       /* light warm accent for dark surfaces */
  --glass: rgba(30, 25, 21, 0.8);     /* espresso glass for scrolled nav */
  --shadow: rgba(30, 25, 21, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

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

body::after {
  /* subtle film grain */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

::selection { background: var(--accent); color: #fff; }

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* ------------------------------------------------------------------ type */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.kicker::before,
.kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

/* all section headings are centered site-wide */
.section-head { margin-bottom: clamp(26px, 4.5vw, 46px); text-align: center; }

.section-head h2 {
  font-size: clamp(34px, 5.4vw, 60px);
}

.section-head .lead {
  max-width: 620px;
  margin-top: 18px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
}

.section-head .kicker { justify-content: center; }

/* tightened vertical rhythm — sections sit ~35% closer than before */
section { padding: clamp(46px, 7vw, 92px) 0; }

/* gentle lift so parchment cards read as panels on the parchment canvas */
.service-card,
.process-card,
.value-card,
.price-card,
.review-card,
.contact-card {
  box-shadow: 0 12px 34px rgba(30, 25, 21, 0.07);
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s;
}

.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(200, 131, 58, 0.28);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------------------------------------------------------------- header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* scrolled = dark espresso bar → light text */
.site-header.scrolled .brand { color: #eee9cc; }
.site-header.scrolled .brand span { color: var(--gold-light); }
.site-header.scrolled .main-nav a { color: rgba(238, 233, 204, 0.82); }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active { color: #eee9cc; }
.site-header.scrolled .nav-toggle span { background: #eee9cc; }
.site-header.scrolled .header-cta {
  background: #eee9cc;
  color: var(--espresso);
  border-color: transparent;
}
.site-header.scrolled .header-cta:hover {
  background: var(--gold-light);
  color: var(--espresso);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand span { color: var(--accent); }

.main-nav ul {
  display: flex;
  gap: 34px;
}

.main-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.main-nav a:hover,
.main-nav a.active { color: var(--text); }

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta { padding: 11px 22px; font-size: 14px; }

/* header sitting over the dark hero (top of homepage, before scroll) */
.site-header.over-hero .brand { color: #fff; }
.site-header.over-hero .brand span { color: var(--gold-light); }
.site-header.over-hero .main-nav a { color: rgba(255, 255, 255, 0.82); }
.site-header.over-hero .main-nav a:hover,
.site-header.over-hero .main-nav a.active { color: #fff; }
.site-header.over-hero .nav-toggle span { background: #fff; }
.site-header.over-hero .header-cta {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.site-header.over-hero .header-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  box-shadow: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  width: 40px;
  height: 40px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s, top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

body.nav-open .nav-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(30, 25, 21, 0.97);
    backdrop-filter: blur(18px);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .main-nav a {
    font-family: var(--font-display);
    font-size: clamp(28px, 7vw, 40px);
    color: #eee9cc;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    display: inline-block;
  }

  .main-nav a:hover,
  .main-nav a.active { color: var(--gold-light); }

  body.nav-open .main-nav { opacity: 1; visibility: visible; }
  body.nav-open .main-nav a { opacity: 1; transform: none; }
  body.nav-open .main-nav li:nth-child(1) a { transition-delay: 0.08s; }
  body.nav-open .main-nav li:nth-child(2) a { transition-delay: 0.14s; }
  body.nav-open .main-nav li:nth-child(3) a { transition-delay: 0.2s; }
  body.nav-open .main-nav li:nth-child(4) a { transition-delay: 0.26s; }
  body.nav-open .main-nav li:nth-child(5) a { transition-delay: 0.32s; }
  body.nav-open .main-nav li:nth-child(6) a { transition-delay: 0.38s; }
  body.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------------------ hero */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;             /* text at the bottom, subject clearly visible above */
  justify-content: center;
  text-align: left;
  padding: calc(var(--header-h) + 24px) 0 clamp(40px, 7vh, 70px);
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--espresso);        /* safety net behind the photo — never shows a light gap */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: kenburns 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenburns {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.16) translateY(-2%); }
}

/* dark scrim: light through the middle so Adam stays visible, strong at the
   bottom where the text sits (and a touch at the top for the fixed header) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(30, 25, 21, 0.42) 0%,
      rgba(30, 25, 21, 0.10) 26%,
      rgba(30, 25, 21, 0.10) 46%,
      rgba(30, 25, 21, 0.86) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;           /* left-aligned text column */
}

.hero-inner > * { max-width: min(600px, 100%); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 131, 58, 0.5); }
  50% { box-shadow: 0 0 0 9px rgba(200, 131, 58, 0); }
}

.hero h1 {
  font-size: clamp(38px, 6.2vw, 78px);
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line > span {
  display: block;
  transform: translateY(110%);
  animation: riseUp 0.6s var(--ease) forwards;
}

.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }

@keyframes riseUp {
  to { transform: translateY(0); }
}

.hero-text {
  max-width: 500px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 1.7vw, 18px);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-start; }

/* phones: centre the bottom-anchored text over the (fully visible) subject */
@media (max-width: 720px) {
  .hero { text-align: center; }
  .hero-inner { align-items: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  /* static hero image on phones — no ambient zoom / transforms that glitch
     against the mobile address-bar resize */
  .hero-bg img { animation: none; transform: none; will-change: auto; }
}

/* ghost button tuned for the dark hero */
.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}
.btn-ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-inner > .hero-eyebrow,
.hero-inner > .hero-text,
.hero-inner > .hero-actions {
  opacity: 0;
  animation: fadeRise 0.45s var(--ease) forwards;
}
.hero-inner > .hero-eyebrow { animation-delay: 0.05s; }
.hero-inner > .hero-text { animation-delay: 0.2s; }
.hero-inner > .hero-actions { animation-delay: 0.3s; }

@keyframes fadeRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  animation: fadeRise 0.45s var(--ease) 0.6s forwards;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--gold-light), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 640px) {
  .hero-scroll { display: none; }
}

/* --------------------------------------- hero intro (O mně, below hero) */

/* compact — sits right under the hero, no big empty band */
.hero-intro { text-align: center; padding-block: clamp(6px, 1.2vw, 14px); }
.hero-intro .container { max-width: 760px; }
.hero-intro .kicker { justify-content: center; }

.hero-intro-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.42;
  color: var(--text);
  margin-bottom: 18px;
}

.hero-intro-lead strong { color: var(--accent); font-weight: inherit; }

/* ------------------------------------------ coverflow gallery (sticky)
   One photo large in the centre, the others flanking it; scrolling slides
   the whole row so the next photo moves into the centre and grows. No fade. */

.coverflow {
  position: relative;
  height: 560vh;                 /* scroll room: JS maps this travel to 7 photos */
  background: var(--bg);
}

.cf-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;       /* content to the top — no empty band above it */
  gap: clamp(16px, 2.6vh, 30px);
  padding: calc(var(--header-h) + 4px) 0 20px;
  overflow: hidden;
  text-align: center;
}

.cf-head { max-width: 720px; padding-inline: 20px; }
.cf-head h2 { font-size: clamp(26px, 4.4vw, 50px); }

.cf-stage {
  position: relative;
  width: 100%;
  height: min(60vh, 660px);
  flex: none;
}

.cf-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(210px, 25vw, 340px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(31, 27, 22, 0.26);
  /* JS sets --x (px) and --s (scale); base keeps it centred */
  transform: translate(-50%, -50%) translateX(var(--x, 0px)) scale(var(--s, 1));
  will-change: transform;
}

.cf-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cf-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2.4vh, 22px);
  padding-inline: 20px;
}

.feature-meta {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.feature-count,
.feature-label { color: var(--accent); font-style: normal; }

.feature-progress {
  width: min(86vw, 400px);
  height: 2px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}
.feature-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}

@media (max-width: 640px) {
  .cf-stage { height: 44vh; }
  .cf-item { width: clamp(180px, 56vw, 260px); }
}

/* ---------------------------------------------------------- reveal (JS) */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
  transition-delay: var(--d, 0s);
}

[data-reveal="left"] { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="zoom"] { transform: scale(0.96); }

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* studio reveal for gallery photos: mask wipe + scale settle
   (animatable custom props so reveal-scale and hover-scale never collide) */
@property --rs { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --sc { syntax: "<number>"; inherits: false; initial-value: 1; }

/* scroll progress bar (injected by JS) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 300;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .work-card[data-reveal] .ph { clip-path: none; }
  .work-card img { --py: 0px; inset: 0; height: 100%; }
}

/* ----------------------------------------------------------- about strip */

/* was a flat Aged-Linen panel — now neutral canvas separated by a hairline
   rule so sections read as distinct without a solid colour block */
.about-strip { background: var(--bg); border-block: 1px solid var(--border); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about-grid .quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 38px);
  font-style: italic;
  line-height: 1.35;
}

.about-grid .quote strong { color: var(--accent); font-weight: inherit; }

.about-body { color: var(--muted); display: grid; gap: 16px; font-size: 16px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ work grid */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  cursor: pointer;
  background: var(--bg-soft);
}

/* .ph is the mask layer — clipping lives here (NOT on the observed card,
   otherwise a fully-clipped card reports 0 intersection and never reveals) */
.work-card .ph {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  /* placeholder fill: shows the neutral panel until a real photo is dropped
     into public/portfolio/ — a missing background-image degrades to this
     colour with no broken-image icon */
  background-color: var(--bg-soft);
  background-size: cover;
  background-position: center;
}

/* subtle "view" hint centred over the photo — appears only on hover */
.work-card::before {
  content: "Zobrazit";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%) translateY(8px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.work-card:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.work-card img {
  position: absolute;
  inset: -12% 0 auto 0;          /* taller than frame → room for scroll parallax */
  width: 100%;
  height: 124%;
  object-fit: cover;
  filter: grayscale(12%);
  /* --py: scroll parallax (set live by JS) · --rs: reveal settle · --sc: hover zoom */
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--rs)) scale(var(--sc));
  transition: --rs 0.5s var(--ease), --sc 0.6s var(--ease), filter 0.4s var(--ease);
  will-change: transform;
}

.work-card:hover img { --sc: 1.05; filter: grayscale(0%); }

/* portfolio reveal on load/scroll: soft fade + rise + gentle zoom-out settle
   (replaces the old clip-path wipe) */
.work-card[data-reveal] {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.4s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--d, 0s);
}
.work-card[data-reveal] img { --rs: 1.06; }

.work-card[data-reveal].revealed { opacity: 1; transform: none; }
.work-card[data-reveal].revealed img { --rs: 1; transition-delay: var(--d, 0s); }

/* hover one photo → dim the rest of the gallery */
@media (hover: hover) {
  .work-grid:hover .work-card:not(:hover) img { filter: grayscale(35%) brightness(0.6); }
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 12, 0.75), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s;
}

.work-card:hover::after { opacity: 1; }

.work-card .tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.work-card .tag::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}

.work-card:hover .tag { opacity: 1; transform: none; }

.section-foot { text-align: center; margin-top: clamp(24px, 3.5vw, 40px); }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .work-card { aspect-ratio: 3 / 4; }
}

/* --------------------------------------------------------------- filters */

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover { color: var(--text); border-color: var(--accent); }

.filter-btn.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.work-card.hide { display: none; }

.work-card.appear {
  animation: cardIn 0.38s var(--ease);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------- services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 131, 58, 0.4);
  box-shadow: 0 24px 55px rgba(31, 27, 22, 0.16);
}

.service-card .thumb {
  aspect-ratio: 3 / 4;               /* portrait — matches the tall service photos */
  overflow: hidden;
}

/* portrait service photo is a full-body shot — bias the crop to the top so
   the face stays in frame */
.service-card .thumb img[src*="portret.jpg"],
.service-row .media img[src*="portret.jpg"] {
  object-position: center top;
}

.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.45s var(--ease);
}

.service-card:hover .thumb img { transform: scale(1.08); }

/* hover one service photo → dim the others */
@media (hover: hover) {
  .services-grid:hover .service-card:not(:hover) .thumb img { filter: brightness(0.6) saturate(0.85); }
}

.service-card .body { padding: 24px 22px 28px; }

.service-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--muted);
}

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

/* service rows (sluzby.html) */

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(24px, 3.2vw, 40px);
}

.service-row + .service-row { border-top: 1px solid var(--border); }

.service-row:nth-child(even) .media { order: 2; }

.service-row .media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;               /* portrait — matches the tall service photos */
}

.service-row .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.service-row:hover .media img { transform: scale(1.05); }

.service-row .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 18px;
  display: block;
  margin-bottom: 12px;
}

.service-row .copy { text-align: center; }

.service-row h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }

.service-row .desc { color: var(--muted); margin-bottom: 22px; margin-inline: auto; max-width: 460px; }

.service-row .points { display: inline-grid; gap: 10px; text-align: left; }

.service-row .points li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  color: var(--text);
}

.service-row .points li::before {
  content: "✦";
  color: var(--accent);
  font-size: 11px;
}

@media (max-width: 820px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .media { order: 0; }
}

/* --------------------------------------------------------------- process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
  counter-reset: step;
}

.process-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}

.process-card:hover { transform: translateY(-6px); border-color: rgba(200, 131, 58, 0.4); }

.process-card::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 40px;
  color: var(--accent);
  opacity: 0.85;
  display: block;
  margin-bottom: 18px;
}

.process-card h3 { font-size: 21px; margin-bottom: 10px; }
.process-card p { font-size: 14.5px; color: var(--muted); }

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

/* ---------------------------------------------------------------- ceník */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}

.price-card:hover { border-color: rgba(200, 131, 58, 0.35); transform: translateY(-4px); }

.price-card > h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 8px;
  text-align: center;
}

.price-card > .sub {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 26px;
  text-align: center;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding-block: 18px;
}

.price-row + .price-row { border-top: 1px solid var(--border); }

.price-row .label { font-weight: 600; font-size: 16px; }

.price-row .note {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.price-row .price {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.pricing-note {
  margin-top: clamp(28px, 4vw, 40px);
  padding: 22px 28px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(200, 131, 58, 0.25);
  color: var(--text);
  font-size: 15px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.pricing-note::before { content: "ℹ"; color: var(--accent); font-weight: 700; }

@media (max-width: 820px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ faq */

.faq { max-width: 760px; margin-inline: auto; }

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  transition: color 0.3s;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}

.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }

.faq .answer {
  padding: 0 4px 26px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 640px;
}

/* ------------------------------------------------------------- recenze */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}

.review-card:hover { transform: translateY(-6px); border-color: rgba(200, 131, 58, 0.35); }

.review-card .stars { color: var(--accent); letter-spacing: 4px; font-size: 14px; }

.review-card blockquote {
  font-size: 15.5px;
  color: var(--text);
  opacity: 0.88;
  flex: 1;
}

.review-card cite {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 17px;
}

.review-card cite::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
}

@media (max-width: 720px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- kontakt */

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(31, 27, 22, 0.12);
  height: clamp(300px, 42vw, 480px);
  background: var(--bg-soft);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.45) contrast(1.03);
  transition: filter 0.5s var(--ease);
}

.map-wrap:hover iframe { filter: grayscale(0) contrast(1); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  max-width: 1000px;
  margin-inline: auto;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 44px);
  text-align: center;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}

.contact-card:hover { transform: translateY(-6px); border-color: rgba(200, 131, 58, 0.4); }

.contact-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.contact-card h3 { font-size: 22px; margin-bottom: 8px; }

.contact-card a.value {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
  word-break: break-all;
}

.contact-card a.value:hover { color: var(--accent); }

.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(36px, 5vw, 52px);
}

.socials a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: all 0.35s var(--ease);
}

.socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-4px) scale(1.05);
}

/* -------------------------------------------------- contact form (Formspree) */

.contact-form {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: grid; gap: 8px; text-align: left; }

.field > span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.field > span em { font-style: normal; font-weight: 400; opacity: 0.7; }

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 0.55; }

/* off-screen anti-spam honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-status { margin: 0; font-size: 14px; font-weight: 500; }
.form-status.ok { color: #3c7a4e; }
.form-status.err { color: #b23b3b; }

.contact-form.is-sending button { opacity: 0.65; pointer-events: none; }

/* GDPR consent checkbox */
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
}

.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent span { font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* .contact-form sets display:grid, which would otherwise beat the [hidden]
   attribute — make hidden actually hide the form so the thank-you card can
   replace it in place */
.contact-form[hidden] { display: none; }
.form-success[hidden] { display: none; }

/* thank-you card shown after a successful send */
.form-success {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 56px);
  box-shadow: 0 12px 34px rgba(30, 25, 21, 0.07);
  animation: fadeRise 0.45s var(--ease) both;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 30px;
  font-weight: 700;
}

.form-success h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 460px; margin-inline: auto; }
.form-success a { color: var(--accent); font-weight: 600; }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------- CTA banner */

/* was a solid Tobacco band — now a neutral canvas section that uses the
   caramel only as an accent (heading highlight, glow, button) */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  border-block: 1px solid var(--border);
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(200, 131, 58, 0.1), transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(32px, 5vw, 58px);
  max-width: 800px;
  margin: 0 auto 20px;
  position: relative;
}

.cta-banner h2 em { font-style: italic; color: var(--accent); }

.cta-banner p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  position: relative;
}

/* prominent caramel CTA on the neutral band */
.cta-banner .btn-primary {
  background: var(--accent);
  color: #241606;
  border-color: var(--accent);
}
.cta-banner .btn-primary:hover {
  background: var(--gold-light);
  color: #241606;
  box-shadow: 0 14px 34px rgba(200, 131, 58, 0.32);
}
.cta-banner .btn-ghost {
  border-color: var(--border);
  color: var(--text);
}
.cta-banner .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

/* ------------------------------------------------------------ page hero */

.page-hero {
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(34px, 4.5vw, 58px);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(200, 131, 58, 0.07), transparent 65%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  margin-bottom: 18px;
}

.page-hero h1 em { font-style: italic; color: var(--accent); }

.page-hero .lead {
  max-width: 640px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
}

.breadcrumb {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  display: inline-flex;
  gap: 10px;
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--accent); }

/* --------------------------------------------------------------- o mně */

.bio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.bio-media { position: sticky; top: calc(var(--header-h) + 30px); }

.bio-media .frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 70px rgba(31, 27, 22, 0.2);
}

.bio-media .frame img { width: 100%; height: 100%; object-fit: cover; }

.bio-media::after { display: none; }

.bio-body { display: grid; gap: 18px; color: var(--muted); font-size: 16.5px; }

.bio-body h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--text);
  margin-top: 18px;
  text-align: center;
}

.bio-body .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--text);
  border-left: 2px solid var(--accent);
  padding-left: 22px;
  margin-block: 10px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}

.value-card:hover { transform: translateY(-6px); border-color: rgba(200, 131, 58, 0.4); }

.value-card .glyph { color: var(--accent); font-size: 22px; margin-bottom: 16px; }
.value-card h3 { font-size: 21px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--muted); }

@media (max-width: 860px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-media { position: static; max-width: 440px; }
  .values-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30, 25, 21, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(31, 27, 22, 0.3);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease);
}

.lightbox.open img { transform: scale(1); }

.lightbox .lb-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cecab1;
}

.lightbox button {
  position: absolute;
  background: rgba(238, 233, 204, 0.12);
  border: 1px solid rgba(238, 233, 204, 0.25);
  color: #eee9cc;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: all 0.3s;
}

.lightbox button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--espresso);        /* Midnight Espresso dark section */
  color: #eee9cc;
  padding: clamp(34px, 4.5vw, 56px) 0 28px;
}

.site-footer .brand { color: #eee9cc; }
.site-footer .brand span { color: var(--gold-light); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  margin-bottom: clamp(40px, 6vw, 60px);
}

.footer-grid .brand { font-size: 26px; display: inline-block; margin-bottom: 14px; }

.footer-grid .tagline { color: #cecab1; font-size: 15px; max-width: 320px; }

.footer-grid h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.footer-grid ul { display: grid; gap: 10px; }

.footer-grid ul a {
  color: #eee9cc;
  opacity: 0.72;
  font-size: 15px;
  transition: opacity 0.3s, color 0.3s;
}

.footer-grid ul a:hover { opacity: 1; color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(238, 233, 204, 0.14);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #cecab1;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ================================================================ MOBILE
   Tighter vertical rhythm and denser layout so the phone view flows
   compactly and reads well on small screens. */
@media (max-width: 640px) {
  .container { width: min(1200px, calc(100% - 34px)); }   /* 17px side gutters */

  /* smaller gaps between sections */
  section { padding: 34px 0; }
  .section-head { margin-bottom: 20px; }
  .section-head .lead { margin-top: 12px; }
  .section-foot { margin-top: 20px; }

  .page-hero { padding: calc(var(--header-h) + 22px) 0 24px; }
  .page-hero .lead { margin-top: 12px; }

  /* hero: a touch more breathing room from the fixed header, tighter bottom */
  .hero { padding: calc(var(--header-h) + 24px) 0 64px; }
  .hero h1 { margin-bottom: 20px; }
  .hero-text { margin-bottom: 26px; }

  .hero-intro-lead { font-size: clamp(19px, 5.4vw, 24px); }

  /* shorter sticky coverflow so the phone doesn't scroll for ages */
  .coverflow { height: 320vh; }
  .cf-sticky { gap: 12px; padding-top: calc(var(--header-h) + 6px); }

  .about-grid { gap: 26px; }
  .service-row { padding-block: 18px; gap: 20px; }

  .services-grid,
  .reviews-grid,
  .process-grid,
  .values-grid { gap: 12px; }

  .cta-banner h2 { font-size: clamp(26px, 8vw, 40px); }
  .cta-banner p { margin-bottom: 24px; }

  .site-footer { padding: 30px 0 24px; }
  .footer-grid { gap: 22px; margin-bottom: 24px; }

  /* comfortable tap targets */
  .btn { padding: 14px 26px; }
}

/* very small phones — trim the largest display type a little further */
@media (max-width: 400px) {
  .hero h1 { font-size: clamp(40px, 13vw, 48px); }
  .section-head h2 { font-size: clamp(28px, 9vw, 38px); }
}
