/* ============================================================
   janatusilova.cz: „Teplé světlo" design system
   cream paper · terracotta · burnt umber · deep blue accents
   ============================================================ */

:root {
  --paper: #f7f1e6;
  --paper-2: #efe4d0;
  --card: #fffdf7;
  --ink: #2c1b10;
  --ink-soft: #63503e;
  --terra: #c2481f;
  --terra-bright: #ce4d29;
  --terra-deep: #8f3418;
  --blue: #1d3e8f;
  --blue-deep: #142d6b;
  --footer-bg: #241610;
  --footer-ink: #f0e6d6;
  --line: rgba(44, 27, 16, 0.16);
  --shadow: 0 24px 60px -24px rgba(44, 27, 16, 0.28);
  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --radius-sm: 12px;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-weight: 480;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 em, h2 em, h3 em, .logo em, .footer-logo em {
  font-style: italic;
  font-weight: 430;
}

p { margin: 0 0 1em; }

a { color: var(--terra-deep); text-underline-offset: 3px; }
a:hover { color: var(--terra); }

::selection { background: var(--terra); color: var(--paper); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container { max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container-wide { max-width: 1400px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-tint { background: var(--paper-2); }

/* ---------- typography helpers ---------- */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 0.9rem;
}

.section-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  letter-spacing: -0.01em;
}
.section-title em { color: var(--terra); }

.page-title {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  letter-spacing: -0.015em;
  color: var(--blue);
}
.page-title em { color: var(--terra); display: inline-block; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 58ch;
}

.arrow-link {
  font-weight: 600;
  color: var(--terra-deep);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}
.arrow-link::after {
  content: "→";
  display: inline-block;
  margin-left: 0.45em;
  transition: transform 0.3s var(--ease-out);
}
.arrow-link:hover::after { transform: translateX(6px); }
.arrow-link-back::after { content: none; }
.arrow-link-back::before {
  content: "←";
  display: inline-block;
  margin-right: 0.45em;
  transition: transform 0.3s var(--ease-out);
}
.arrow-link-back:hover::before { transform: translateX(-6px); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.8em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 0.95em 2.1em; }

.btn-primary {
  background: var(--terra);
  color: #fff8ef;
}
.btn-primary:hover {
  background: var(--terra-deep);
  color: #fff8ef;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(194, 72, 31, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

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

.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(247, 241, 230, 0.5);
}
.btn-ghost-light:hover { border-color: var(--paper); color: #fff; transform: translateY(-2px); }

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
}
/* The blur lives on a ::before, not the header itself: a filter/backdrop-filter
   on .site-header would make it a containing block for its position:fixed
   descendants (the mobile nav overlay), trapping it inside the header's own
   height instead of the viewport once scrolled. Pseudo-elements aren't real
   ancestors, so this sidesteps that entirely. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled::before {
  background: rgba(247, 241, 230, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  /* Sit above .site-header::before (the scrolled backdrop layer). Without this
     the positioned ::before paints over the logo/nav/CTA once it gets a
     background on scroll. position:relative (not transform/filter) keeps the
     fixed mobile nav overlay escaping to the viewport as intended. */
  position: relative;
  z-index: 1;
}

.logo {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: 1.5rem;
  font-weight: 520;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo em { color: var(--blue); }
.logo:hover { color: var(--ink); }
.logo:hover em { color: var(--terra); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.35rem;
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.site-nav a:not(.btn):hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  z-index: 120;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
    z-index: 110;
  }
  .site-nav ul { flex-direction: column; align-items: center; gap: 1.4rem; }
  .site-nav a:not(.btn) {
    font-family: var(--font-serif);
    font-variation-settings: "SOFT" 0, "WONK" 1;
    font-size: 2rem;
    font-weight: 470;
  }
  body.nav-open .site-nav { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
}

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

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  width: 55vw;
  height: 55vw;
  max-width: 780px;
  max-height: 780px;
  border: 1.5px solid rgba(194, 72, 31, 0.25);
  border-radius: 50%;
  top: -18%;
  left: -12%;
  pointer-events: none;
}
.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 2rem 3rem;
}

.hero-title {
  font-size: clamp(3.4rem, 8.6vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
}
.hero-title-b {
  color: var(--blue);
  margin-left: 0.55em;
}

.hero-claim {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-style: italic;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  color: var(--ink-soft);
  max-width: 34ch;
  line-height: 1.45;
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-media { position: relative; }

.hero-slider {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: min(80vh, 800px);
  margin-inline: auto;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-slider-deco {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid rgba(247, 241, 230, 0.55);
  margin: 14px;
  z-index: 3;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
}
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-slide picture, .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide img {
  transform: scale(1.08);
  transition: transform 7s linear;
}
.hero-slide.is-active img { transform: scale(1); }

.hero-slider-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.3rem;
  max-width: 460px;
  margin-inline: auto;
}
.slider-arrow {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.slider-arrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.hero-meta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.9rem;
  margin: 0;
  min-width: 0;
}
.hero-counter {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.hero-counter b {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--terra);
  letter-spacing: 0;
}
.hero-counter i { font-style: normal; opacity: 0.5; margin-inline: 0.15em; }
.hero-cat {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.hero-cat em { color: var(--blue); }
.hero-cat:hover { color: var(--terra-deep); }
.hero-cat:hover em { color: var(--terra); }

.hero-progress {
  max-width: 460px;
  margin: 0.9rem auto 0;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.hero-progress span {
  display: block;
  height: 100%;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-progress span.run {
  animation: hero-progress var(--hero-interval, 5.2s) linear forwards;
}
.hero-media.is-paused .hero-progress span { animation-play-state: paused; }
@keyframes hero-progress { to { transform: scaleX(1); } }

/* rotating orbit badge */
.hero-orbit {
  position: absolute;
  top: -2.6rem;
  right: max(-1.8rem, calc(50% - 330px));
  width: clamp(104px, 10vw, 148px);
  height: auto;
  z-index: 5;
  pointer-events: none;
  animation: hero-orbit-spin 30s linear infinite, hero-fade 1s var(--ease-out) 1.15s both;
}

/* satellite: next-photo preview polaroid */
.hero-sat {
  position: absolute;
  left: max(-2.6rem, calc(50% - 330px));
  bottom: 16%;
  width: clamp(120px, 11.5vw, 172px);
  padding: 0;
  border: 6px solid var(--card);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 6;
  transform: rotate(-5deg) translate(calc(var(--px, 0) * 18px), calc(var(--py, 0) * 14px));
  transition: transform 0.5s var(--ease-out), box-shadow 0.3s;
}
.hero-sat:hover {
  transform: rotate(-2.5deg) scale(1.05) translate(calc(var(--px, 0) * 18px), calc(var(--py, 0) * 14px));
  box-shadow: 0 30px 60px -20px rgba(44, 27, 16, 0.4);
}
.hero-sat img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.35s;
}
.hero-sat.is-swapping img { opacity: 0; }
.hero-sat {
  opacity: 0;
  animation: hero-sat-in 0.9s var(--ease-out) 0.95s forwards;
}
@keyframes hero-sat-in { to { opacity: 1; } }
.hero-orbit-text {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-style: italic;
  font-size: 14.5px;
  letter-spacing: 2.4px;
  fill: var(--terra-deep);
}
.hero-orbit-star { font-size: 17px; fill: var(--terra); }
@keyframes hero-orbit-spin { to { transform: rotate(360deg); } }

/* depth: glow + grain */
.hero-glow {
  position: absolute;
  inset: -8% -14%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(206, 77, 41, 0.16), transparent 72%);
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* entrance choreography (load-based, not scroll) */
.hero-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-line-inner {
  display: inline-block;
  transform: translateY(112%);
  animation: hero-line-up 1s var(--ease-out) 0.12s forwards;
}
.hl-2 .hero-line-inner { animation-delay: 0.26s; }
@keyframes hero-line-up { to { transform: translateY(0); } }

.hero-anim {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-fade 0.9s var(--ease-out) forwards;
}
.ha-1 { animation-delay: 0.05s; }
.ha-2 { animation-delay: 0.55s; }
.ha-3 { animation-delay: 0.72s; }
@keyframes hero-fade { to { opacity: 1; transform: translateY(0); } }

.hero-anim-media {
  opacity: 0;
  transform: translateY(26px) scale(0.965);
  animation: hero-media-in 1.15s var(--ease-out) 0.3s forwards;
}
@keyframes hero-media-in { to { opacity: 1; transform: translateY(0) scale(1); } }

.hero-underline {
  position: absolute;
  left: 0.05em;
  bottom: -0.06em;
  width: 96%;
  height: 0.22em;
  color: var(--terra);
  overflow: visible;
}
.hero-underline path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: hero-draw 0.85s var(--ease-out) 1.05s forwards;
}
@keyframes hero-draw { to { stroke-dashoffset: 0; } }
.hero-title-b { position: relative; display: inline-block; padding-bottom: 0.1em; }

/* mouse parallax (JS sets --px/--py; pointer:fine only) */
.hero-media {
  transform: translate(calc(var(--px, 0) * 9px), calc(var(--py, 0) * 7px));
  transition: transform 0.5s var(--ease-out);
}
.hero-copy {
  transform: translate(calc(var(--px, 0) * -4px), calc(var(--py, 0) * -3px));
  transition: transform 0.5s var(--ease-out);
}

html.no-js .hero-line-inner, html.no-js .hero-anim, html.no-js .hero-anim-media,
html.no-js .hero-orbit { opacity: 1; transform: none; animation: none; }
html.no-js .hero-sat { opacity: 1; animation: none; }
html.no-js .hero-underline path { stroke-dashoffset: 0; }

.hero-scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
}
.hero-scroll span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--terra);
  animation: scroll-hint 1.8s infinite var(--ease-out);
}
@keyframes scroll-hint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 1.5rem); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-title-b { margin-left: 0.3em; }
  .hero-slider { max-height: none; max-width: 480px; }
  .hero-scroll { display: none; }
  .hero::before { display: none; }
  .hero-orbit {
    left: auto;
    bottom: auto;
    top: -1.4rem;
    right: max(-0.6rem, calc(50% - 250px));
    width: 96px;
  }
  .hero-sat {
    width: 104px;
    left: max(-0.4rem, calc(50% - 252px));
    bottom: 10%;
    border-width: 4px;
  }
  .hero-media, .hero-copy { transform: none; }
}

/* ---------- marquee ---------- */

.marquee {
  background: var(--terra);
  color: var(--paper);
  transform: rotate(-1.4deg) scale(1.02);
  padding-block: 0.85rem;
  overflow: hidden;
  margin-block: 1rem;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-seq {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-seq em {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-style: italic;
  font-size: 1.5rem;
  padding-inline: 1.4rem;
  white-space: nowrap;
}
.marquee-seq i { font-style: normal; font-size: 1rem; opacity: 0.85; }
@keyframes marquee {
  to { transform: translateX(-12.5%); }
}

/* ---------- section head ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.8rem);
}
.section-head .section-title { margin-bottom: 0; }

/* ---------- category cards (home) — immersive hover-reveal ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 3vw, 2.8rem);            /* equal vertical + horizontal gap */
  align-items: start;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);   /* reserve room for the offset column */
}
/* magazine rhythm: the second column is nudged down for an editorial stagger.
   Uses `translate` (not margin) so it doesn't inflate the grid row track —
   this keeps the card-to-card vertical gap equal to the column gap. */
.cat-grid .cat-card:nth-child(2n) { translate: 0 clamp(2.5rem, 6vw, 5rem); }

.cat-card {
  display: block;
  text-decoration: none;
  color: #fff6ea;
  transition: transform 0.5s var(--ease-out);
}
.cat-card:hover { transform: translateY(-6px); }

.cat-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.5s var(--ease-out);
}
.cat-card:hover .cat-card-media { box-shadow: 0 34px 74px -26px rgba(44, 27, 16, 0.46); }
.cat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.cat-card:hover .cat-card-media img { transform: scale(1.05); }

/* permanent top+bottom gradient keeps the number and default name legible
   over any photo (light skies included) */
.cat-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(26, 15, 8, 0.74) 0%, rgba(26, 15, 8, 0.14) 42%, transparent 62%),
    linear-gradient(to bottom, rgba(26, 15, 8, 0.42) 0%, transparent 26%);
}

/* warm terracotta wash that fades in on hover / focus */
.cat-card-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to top, rgba(101, 32, 14, 0.9) 0%, rgba(74, 28, 14, 0.66) 48%, rgba(45, 22, 13, 0.34) 100%);
  transition: opacity 0.55s var(--ease-out);
}
.cat-card:hover .cat-card-scrim,
.cat-card:focus-visible .cat-card-scrim { opacity: 1; }

.cat-card-num {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  z-index: 3;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: #f7f1e6;
  opacity: 0.94;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.cat-card-cap {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.4rem;
  z-index: 3;
}
.cat-card-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  line-height: 1.14;
  margin: 0;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.42);
}
.cat-card-name em { font-style: italic; color: #f3c9a6; font-size: 0.72em; }
.cat-card-desc {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.96rem;
  line-height: 1.5;
  color: rgba(255, 246, 234, 0.94);
  max-width: 34ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  transition: max-height 0.55s var(--ease-out), opacity 0.4s var(--ease-out), margin-top 0.5s var(--ease-out);
}
.cat-card:hover .cat-card-desc,
.cat-card:focus-visible .cat-card-desc {
  max-height: 9rem;
  opacity: 1;
  margin-top: 0.6rem;
}

/* touch devices have no hover — reveal the full caption permanently */
@media (hover: none) {
  .cat-card-scrim { opacity: 0.6; }
  .cat-card-desc { max-height: 9rem; opacity: 1; margin-top: 0.6rem; }
}

@media (max-width: 700px) {
  .cat-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 2.6rem; padding-bottom: 0; }
  .cat-grid .cat-card:nth-child(2n) { translate: 0; }
  /* narrow screens: show the full caption regardless of pointer type */
  .cat-card-scrim { opacity: 0.6; }
  .cat-card-desc { max-height: 9rem; opacity: 1; margin-top: 0.6rem; }
}

/* ---------- steps — connected editorial timeline ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(1.5rem, 4vw, 2.75rem);
}
.step:not(:last-child) { margin-bottom: clamp(1.1rem, 3vw, 2rem); }

.step-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
/* thread linking this step's number down to the next one — sits in the gap
   between items, not through the glyph, so it reads as a path rather than
   clutter over the numeral */
.step:not(:last-child) .step-rail::after {
  content: "";
  position: absolute;
  top: 3.5rem;
  bottom: calc(-1 * clamp(1.1rem, 3vw, 2rem));
  left: 50%;
  width: 1.5px;
  background: var(--line);
  transform: translateX(-50%);
}

.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--terra);
}
/* belt-and-suspenders: if a browser doesn't support text-stroke, the numeral
   would otherwise render fully transparent (invisible) — fall back to a
   solid fill instead */
@supports not (-webkit-text-stroke: 1px black) {
  .step-num { color: var(--terra); }
}

.step-body { padding-top: 0.4rem; }
.step-title { font-size: 1.35rem; margin: 0 0 0.4em; }
.step-text { color: var(--ink-soft); margin: 0; }

/* ---------- about teaser & about page ---------- */

.about-teaser-grid, .about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.arch-frame {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 3 / 4;
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser-media { position: relative; padding: 1.2rem; }
.about-teaser-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--blue);
  opacity: 0.5;
  border-radius: 999px 999px var(--radius) var(--radius);
  transform: translate(-14px, 14px);
  pointer-events: none;
}

.about-grid { align-items: start; }
.about-media { position: relative; }
.arch-frame-tall { aspect-ratio: 3 / 4; }
.about-media-2 {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: 52%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 5px solid var(--paper);
}
.about-copy-rich p { font-size: 1.06rem; margin: 0 0 1em; }
.about-copy-rich p:first-of-type { font-size: 1.18rem; }
.about-copy-rich h2 { font-size: 1.5rem; margin: 1.2em 0 0.4em; color: var(--blue); }
.about-copy-rich h3 { font-size: 1.2rem; margin: 1.1em 0 0.3em; }
.about-copy-rich ul, .about-copy-rich ol { margin: 0 0 1em; padding-left: 1.3em; color: var(--ink-soft); }
.about-copy-rich blockquote { border-left: 3px solid var(--terra); margin: 0 0 1em; padding-left: 1em; font-style: italic; color: var(--ink-soft); }
.facts-grid {
  list-style: none;
  padding: 0;
  margin: 2.2rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.fact {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
}
.fact-label {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--terra-deep);
  margin: 0 0 0.2em;
}
.fact-detail { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.about-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

@media (max-width: 900px) {
  .about-teaser-grid, .about-grid { grid-template-columns: 1fr; }
  .about-teaser-media { max-width: 420px; }
  .about-media { max-width: 460px; margin-bottom: 2.5rem; }
  .facts-grid { grid-template-columns: 1fr; }
}

/* ---------- testimonials ---------- */

.testi-section .section-head { align-items: flex-end; }
.testi-lead {
  max-width: 32ch;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 0;
  text-align: right;
}

.testi-carousel {
  display: grid;
  grid-template-columns: minmax(220px, 36%) 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}

.testi-carousel-media {
  position: relative;
  aspect-ratio: 3 / 4;
  perspective: 1200px;
}
.testi-carousel-pic {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.7s var(--ease-out), opacity 0.5s var(--ease-out);
}
.testi-carousel-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.testi-carousel-pic.is-active { opacity: 1; pointer-events: auto; z-index: 3; transform: translate(0, 0) scale(1) rotateY(0deg); }
.testi-carousel-pic.is-prev { opacity: 0.9; z-index: 2; transform: translate(-16%, -5%) scale(0.84) rotateY(14deg); }
.testi-carousel-pic.is-next { opacity: 0.9; z-index: 2; transform: translate(16%, -5%) scale(0.84) rotateY(-14deg); }

.testi-carousel-content {
  min-width: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.testi-carousel-content.is-leaving { opacity: 0; transform: translateY(-10px); }

.testi-mark {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--terra);
  opacity: 0.32;
  margin-bottom: -0.6rem;
  pointer-events: none;
  user-select: none;
}
.testi-carousel-name {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink);
  margin: 0 0 0.9rem;
}
.testi-carousel-quote {
  margin: 0 0 2.2rem;
  padding: 0;
  border: 0;
  max-width: 52ch;
}
.testi-carousel-quote p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.65;
}
.tc-word {
  display: inline-block;
  filter: blur(10px);
  opacity: 0;
  transform: translateY(5px);
  transition: filter 0.22s ease-in-out, opacity 0.22s ease-in-out, transform 0.22s ease-in-out;
}
.testi-carousel-quote.is-in .tc-word { filter: blur(0); opacity: 1; transform: translateY(0); }

.testi-carousel-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.testi-carousel-counter {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.testi-carousel-counter b { font-size: 1rem; color: var(--ink); }
.testi-carousel-counter i { font-style: normal; opacity: 0.5; }

@media (max-width: 860px) {
  .testi-section .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .testi-lead { text-align: left; max-width: 44ch; }
  .testi-carousel { grid-template-columns: 1fr; gap: 2.4rem; }
  .testi-carousel-media { width: min(300px, 100%); margin-inline: auto; }
}

/* ---------- blog cards ---------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.6rem);
}
.post-card { text-decoration: none; color: var(--ink); display: block; }
.post-card-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow);
}
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--crop-zoom, 1));
  transition: transform 0.8s var(--ease-out);
}
.post-card:hover .post-card-media img { transform: scale(calc(var(--crop-zoom, 1) * 1.05)); }
.post-card-date {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
}
.post-card-title {
  font-size: 1.35rem;
  margin: 0.35em 0 0.4em;
  transition: color 0.25s;
}
.post-card:hover .post-card-title { color: var(--terra-deep); }
.post-card-perex {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 0.6em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 860px) {
  .post-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--blue);
  color: var(--paper);
  padding-block: clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: clip;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1.5px solid rgba(247, 241, 230, 0.22);
  right: -140px;
  top: -200px;
}
.cta-band-inner { text-align: center; }
.cta-band-title {
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  color: var(--paper);
  margin-bottom: 0.3em;
}
.cta-band-text {
  color: rgba(247, 241, 230, 0.75);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.cta-band-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ---------- cookie consent (bottom-left card) ---------- */

.cookie-bar {
  position: fixed;
  left: clamp(1rem, 3vw, 2rem);
  bottom: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-bottom));
  z-index: 115;
  width: min(360px, calc(100vw - 2rem));
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px -18px rgba(44, 27, 16, 0.5);
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.cookie-bar.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-bar-inner { display: grid; gap: 1rem; }
.cookie-bar-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.cookie-bar-more { font-weight: 550; white-space: nowrap; }
.cookie-bar-actions { display: flex; gap: 0.6rem; }
.cookie-bar-actions .btn { flex: 1; text-align: center; padding: 0.6em 1em; }
.cookie-bar .btn-ghost { border-color: var(--line); }
body.nav-open .cookie-bar { display: none; } /* don't sit over the open mobile menu */
@media (prefers-reduced-motion: reduce) {
  .cookie-bar { transition: opacity 0.2s linear; transform: none; }
  .cookie-bar.is-visible { transform: none; }
}

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

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding-block: clamp(3rem, 6vw, 5rem) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
}
.footer-logo em { color: #e89a6f; }
.footer-tagline { font-style: italic; font-family: var(--font-serif); opacity: 0.75; margin: 0 0 0.3rem; }
.footer-loc { font-size: 0.9rem; opacity: 0.6; margin: 0 0 1.3rem; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 230, 214, 0.28);
  color: var(--footer-ink);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.footer-social-link svg { width: 18px; height: 18px; }
.footer-social-link:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff8ef;
  transform: translateY(-2px);
}
.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e89a6f;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a {
  color: var(--footer-ink);
  text-decoration: none;
  opacity: 0.85;
}
.footer-col a:hover { opacity: 1; color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  border-top: 1px solid rgba(240, 230, 214, 0.14);
  padding-top: 1.4rem;
  font-size: 0.85rem;
  opacity: 0.65;
}
.footer-bottom p { margin: 0; }
.footer-credit-link { color: inherit; text-decoration: none; }
.footer-credit-link:hover { color: #fff; text-decoration: underline; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- page hero (subpages) ---------- */

.page-hero {
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(1.5rem, 4vw, 3rem);
}
.page-lead { margin-top: 0.4rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55em;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--terra-deep); text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 550; }

/* ---------- gallery ---------- */

.gallery-bar { margin-bottom: 2rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  min-height: 44px;
  padding: 0.55em 1.3em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  font-weight: 570;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-count { opacity: 0.55; font-weight: 450; margin-left: 0.3em; }

.masonry {
  columns: 3 300px;
  column-gap: 1.4rem;
}
.ph-item {
  margin: 0 0 1.4rem;
  break-inside: avoid;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.ph-item.is-hidden { display: none; }
.ph-link { display: block; height: 100%; }
.ph-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), opacity 0.5s;
}
.ph-item:hover img { transform: scale(1.04); }

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(26, 16, 10, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(247, 241, 230, 0.4);
  background: rgba(36, 22, 16, 0.5);
  color: var(--footer-ink);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  z-index: 2;
}
.lightbox-btn:hover { background: rgba(194, 72, 31, 0.85); border-color: transparent; }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute;
  bottom: 1.3rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(240, 230, 214, 0.75);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
@media (max-width: 700px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 3.6rem; transform: none; }
  .lightbox-prev { left: 24%; }
  .lightbox-next { right: 24%; }
}

/* ---------- category pager ---------- */

.cat-pager { padding-top: 0; }
.cat-pager-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}
.cat-pager-link {
  text-decoration: none;
  color: var(--ink);
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
  display: grid;
  gap: 0.3rem;
}
.cat-pager-link:hover { border-color: var(--terra); transform: translateY(-3px); background: var(--card); }
.cat-pager-link.next { text-align: right; }
.cat-pager-name {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: 1.6rem;
}

/* ---------- portfolio index rows ---------- */

.portfolio-rows .container { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.pf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.pf-row:nth-child(even) .pf-row-media { order: 2; }
.pf-row-media {
  aspect-ratio: 4 / 5;
  max-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pf-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.pf-row:hover .pf-row-media img { transform: scale(1.05); }
.pf-row-num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--terra);
  font-size: 1.05rem;
}
.pf-row-name { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0.25em 0 0.3em; }
.pf-row-name em { color: var(--blue); font-size: 0.7em; }
.pf-row-short { color: var(--ink-soft); max-width: 44ch; }
.pf-row-count {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

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

/* ---------- pricing ---------- */

.pricing-section .container { max-width: 1140px; }

/* photo-led category band */
.price-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.8rem, 4vw, 3.6rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
}
.price-band:nth-of-type(even) .price-band-photo { order: 2; }
.price-band-photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.price-band-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.price-band-body { min-width: 0; }
.price-band-head {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.3rem, 3vw, 2rem);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.price-band-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 0.9;
  color: var(--terra);
}
.price-band-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0; }
.price-band-head .arrow-link { margin-left: auto; }
.price-band .price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.3rem;
}
.price-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.is-featured {
  border-color: var(--terra);
  padding-top: 2.4rem;
}
.price-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  height: 32px;
  background: linear-gradient(155deg, var(--terra) 0%, var(--terra-deep) 100%);
  color: #fff8ef;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0 1.2em;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow:
    0 0 0 4px var(--card),
    0 8px 18px -6px rgba(143, 52, 24, 0.55);
}
.price-badge-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #ffd6a3;
}
.price-name { font-size: 1.45rem; margin-bottom: 0.1em; }
.price-amount {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--blue);
  margin: 0 0 1rem;
}
.price-features {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}
.price-features li { padding-left: 1.5em; position: relative; }
.price-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--terra);
  font-size: 0.8em;
  top: 0.28em;
}

/* bespoke wedding block */
.price-wedding {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: clamp(1rem, 3vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.price-wedding-media { position: relative; min-height: 340px; }
.price-wedding-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.price-wedding-body {
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--ink) 100%);
  color: var(--paper);
  padding: clamp(2rem, 4.5vw, 3.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-wedding-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.55em;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, 0.7);
  margin: 0 0 0.7rem;
}
.price-wedding-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.7rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--terra-bright);
}
.price-wedding-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin: 0 0 0.15em;
  color: #fff;
}
.price-wedding-price {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: rgba(247, 241, 230, 0.86);
  margin: 0 0 1.4rem;
}
.price-wedding-features {
  list-style: none;
  margin: 0 0 1.9rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  color: rgba(247, 241, 230, 0.9);
  font-size: 0.98rem;
}
.price-wedding-features li { padding-left: 1.6em; position: relative; }
.price-wedding-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--terra-bright);
  font-size: 0.82em;
}
.price-wedding-cta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.arrow-link-light { color: rgba(247, 241, 230, 0.82); }
.arrow-link-light:hover { color: #fff; }

.price-notes {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  max-width: 900px;
}
.price-notes-title { font-size: 1.4rem; }
.price-notes ul { margin: 0; padding-left: 1.2em; color: var(--ink-soft); display: grid; gap: 0.45rem; }

/* ---------- FAQ (accordion) ---------- */
.faq-block { max-width: 820px; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.faq-title { margin-bottom: 1.4rem; }
.faq-list { display: grid; gap: 0.7rem; }
.faq-item { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.faq-q {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.4rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--terra);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); line-height: 1.7; }
.faq-a p { margin: 0; }

@media (max-width: 860px) {
  .price-band { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: clamp(3rem, 10vw, 4rem); }
  .price-band:nth-of-type(even) .price-band-photo { order: 0; }
  .price-band-photo { aspect-ratio: 3 / 2; }
}
@media (max-width: 760px) {
  .price-wedding { grid-template-columns: 1fr; }
  .price-wedding-media { min-height: 0; aspect-ratio: 3 / 2; }
}

/* ---------- blog post ---------- */

.post { padding-bottom: clamp(4rem, 9vw, 7.5rem); }
.post-container { max-width: 820px; }
.post-title { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-top: 0.3em; }
.post-cover {
  margin: 0 0 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--crop-zoom, 1)); }
.post-body {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #3c2c1e;
}
.post-body h2 {
  font-size: 1.7rem;
  margin: 1.6em 0 0.5em;
  color: var(--blue);
}
.post-body a { font-weight: 550; }
.post-body strong { color: var(--ink); }
.post-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
}
.post-next {
  display: grid;
  gap: 0.3rem;
  text-decoration: none;
}
.post-next-title {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: 1.45rem;
  color: var(--ink);
}
.post-next:hover .post-next-title { color: var(--terra-deep); }

/* ---------- cards & forms ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-email {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--blue);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.8rem;
  word-break: break-word;
}
.contact-email:hover { color: var(--terra); }
.contact-links { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.6rem; }
.contact-meta { margin: 0; display: grid; gap: 1rem; }
.contact-meta dt {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
}
.contact-meta dd { margin: 0.15rem 0 0; color: var(--ink-soft); }

.form-title { font-size: 1.6rem; margin-bottom: 1.2rem; }
.form-row { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-row label { font-size: 0.9rem; font-weight: 600; }
.form-row label span { color: var(--terra); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8em 1em;
  min-height: 48px;
  width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 62, 143, 0.15);
}
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b3261e; }
.form-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 550; margin: 0.8rem 0 0; }
.form-status.is-ok { color: #2c6e49; }
.form-status.is-err { color: #b3261e; }
.form-submit { width: 100%; }

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

/* ---------- booking ---------- */

.booking-section .container { display: grid; gap: 2rem; max-width: 900px; }
.booking-event-head {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  margin-bottom: 1.6rem;
}
.booking-date-badge {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  background: var(--terra);
  color: #fff6ea;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
}
.bd-day { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 550; }
.bd-month { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.booking-event-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.15em; }
.booking-event-meta { color: var(--ink-soft); margin-bottom: 0.6em; }
.booking-event-meta strong { color: var(--blue); }
.booking-event-desc { color: var(--ink-soft); margin: 0; }

.booking-avail {
  display: inline-block;
  margin: 0.4rem 0 0;
  padding: 0.3em 0.95em;
  border-radius: 999px;
  border: 1.5px solid rgba(194, 72, 31, 0.4);
  color: var(--terra-deep);
  font-size: 0.85rem;
  font-weight: 600;
}
.booking-avail.is-soldout {
  border-color: var(--line);
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}
.booking-soldout-note {
  border-top: 1px dashed var(--line);
  padding-top: 1.2rem;
  color: var(--ink-soft);
}
.booking-soldout-note p { margin: 0; }

.booking-success {
  text-align: center;
  padding: 2.2rem 1.5rem 1.6rem;
  border-top: 1px dashed var(--line);
}
.booking-success svg {
  width: 52px;
  height: 52px;
  color: #2c6e49;
  margin-bottom: 0.7rem;
}
.booking-success h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5em;
}
.booking-success p { color: var(--ink-soft); margin-bottom: 0.7em; }
.booking-success p strong { color: var(--ink); }
.booking-success-note {
  font-size: 0.92rem;
  max-width: 46ch;
  margin-inline: auto;
}

.slot-fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.7rem; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 46px;
  padding: 0.5em 1.1em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}
.slot:not(.is-taken) span:hover { border-color: var(--terra); transform: translateY(-2px); }
.slot input:checked + span { background: var(--terra); border-color: var(--terra); color: #fff6ea; }
.slot input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.slot.is-taken span {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.booking-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.2rem;
}
.booking-fields .form-row-full { grid-column: 1 / -1; }
.booking-note { text-align: center; color: var(--ink-soft); }
.booking-empty { text-align: center; padding-block: 3rem; }
.booking-empty h2 { font-size: 1.8rem; }
.booking-empty .hero-actions { justify-content: center; margin-top: 1.5rem; }

@media (max-width: 640px) {
  .booking-fields { grid-template-columns: 1fr; }
  .booking-event-head { flex-direction: column; }
}

/* ---------- 404 ---------- */

.err-hero { min-height: 60vh; display: flex; align-items: center; }

/* ---------- reveal animations ---------- */

.reveal, .reveal-img {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-img { clip-path: inset(8% 6% 8% 6% round var(--radius)); transform: translateY(18px) scale(0.98); transition-property: opacity, transform, clip-path; transition-duration: 1s; }
.reveal.is-visible, .reveal-img.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-img.is-visible {
  clip-path: inset(0 0 0 0 round 0px);
}

html.no-js .reveal, html.no-js .reveal-img { opacity: 1; transform: none; clip-path: none; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .hero-slide img { transform: none; }
  .marquee-track { animation: none; }
}
