/* ==========================================================================
   INTRODO.PL - Heritage Editorial
   ========================================================================== */
:root {
  --parchment: #f5f0e8;
  --cream: #faf6ef;
  --hero-cream: #f3ede4;
  --ink: #1c1410;
  --leather: #4a3728;
  --bronze: #64422e;
  --gold-foil: #c5a059;
  --gold-light: #d4b06a;
  --gold-deep: #9a7b3c;
  --stone: #7a6b5c;
  --border: #ddd4c8;
  --white: #ffffff;
  --success: #2d6a4f;
  --error: #9b2c2c;

  --font-serif: "Fraunces", "Georgia", serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-ui: "DM Sans", system-ui, -apple-system, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.35rem;
  --fs-xl: clamp(2rem, 4vw, 2.75rem);
  --fs-2xl: clamp(2.5rem, 6vw, 4.5rem);
  --fs-hero: clamp(3rem, 8vw, 5.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 5rem;
  --space-9: 7rem;

  --progress-h: 3px;
  --header-h: 80px;
  --header-stack: calc(var(--header-h) + var(--progress-h));
  --container: 1180px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 8px 32px rgba(26, 22, 20, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 22, 20, 0.12);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.35s var(--ease);

  --leather-base: #3a2e26;
  --leather-photo: url("img/leather-texture-hd.jpg");
  --leather-grain: url("img/leather-grain.svg");

  --nav-muted: #b5a89a;
  --nav-muted-hover: #948475;
  --nav-active: #c5a059;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-stack) + 1rem);
  background: var(--hero-cream);
  scrollbar-gutter: stable;
}

html.is-loading,
body.is-loading {
  overflow: hidden;
}

body.is-loading {
  position: fixed;
  width: 100%;
  inset: 0 auto auto 0;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 1000;
  padding: var(--space-2) var(--space-4);
  background: var(--leather);
  color: var(--cream);
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-4); }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--progress-h);
  z-index: 110;
  background: rgba(74, 55, 40, 0.08);
}

.scroll-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-foil), var(--gold-light));
  transform-origin: left center;
  transition: width 0.08s linear;
}

/* Page loader - circular progress */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  pointer-events: all;
}

.page-loader__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hero-cream);
  opacity: 1;
  transition: opacity 0.92s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.page-loader.is-exiting .loader-ring {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-loader.is-done {
  pointer-events: none;
}

.page-loader.is-done .page-loader__veil {
  opacity: 0;
}

.page-loader.is-fully-hidden {
  visibility: hidden;
  z-index: -1;
}

.page-loader.is-fully-hidden .page-loader__veil,
.page-loader.is-fully-hidden .loader-ring {
  display: none;
}

.loader-ring {
  position: relative;
  z-index: 1;
  width: clamp(112px, 28vw, 136px);
  height: clamp(112px, 28vw, 136px);
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.loader-ring__svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.loader-ring__track,
.loader-ring__progress {
  fill: none;
  stroke-width: 2.5;
}

.loader-ring__track {
  stroke: rgba(74, 55, 40, 0.12);
}

.loader-ring__progress {
  stroke: var(--leather);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.12s linear;
}

.loader-ring__logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 0.45s var(--ease),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.loader-ring__logo.is-visible {
  opacity: 1;
  transform: scale(1);
}

.loader-ring__logo img {
  width: clamp(52px, 14vw, 68px);
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(28, 20, 16, 0.12));
}

/* Section rail - vertical dash navigation */
.section-rail {
  position: fixed;
  right: clamp(0.55rem, 1.4vw, 1.1rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-app-ready .section-rail {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.menu-open .section-rail {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.section-rail__list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}

.section-rail__link {
  display: block;
  padding: 0.35rem 0.15rem;
  line-height: 0;
}

.section-rail__mark {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: rgba(74, 55, 40, 0.3);
  transition:
    width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-rail__link:hover .section-rail__mark,
.section-rail__link:focus-visible .section-rail__mark {
  width: 20px;
  background: rgba(74, 55, 40, 0.42);
}

.section-rail__link.is-active .section-rail__mark {
  width: 28px;
  height: 2px;
  background: var(--gold-foil);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.35);
}

.section-rail__link:focus-visible {
  outline: 2px solid rgba(197, 160, 89, 0.45);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 105;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--leather);
  box-shadow: 0 6px 24px rgba(28, 20, 16, 0.1);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease),
    transform 0.35s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--leather);
  border-color: var(--leather);
  color: var(--cream);
  box-shadow: 0 8px 28px rgba(28, 20, 16, 0.18);
}

.scroll-top:focus-visible {
  outline: 2px solid var(--gold-foil);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: fixed;
  top: var(--progress-h);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(28, 20, 16, 0.04);
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  background-color: var(--leather-base);
  background-image:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, transparent 40%, rgba(0, 0, 0, 0.2) 100%),
    radial-gradient(ellipse 95% 110% at 50% -35%, rgba(197, 160, 89, 0.09) 0%, transparent 54%),
    var(--leather-grain),
    var(--leather-photo);
  background-size:
    100% 100%,
    100% 100%,
    100px 100px,
    cover;
  background-repeat: no-repeat, no-repeat, repeat, no-repeat;
  background-position: center, center, center, center;
  border-color: rgba(197, 160, 89, 0.2);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.site-header:not(.is-scrolled) .brand-name {
  color: #6e5d4e;
}

.site-header:not(.is-scrolled) .brand-sub,
.site-header:not(.is-scrolled) .header-hours-days {
  color: #a89888;
}

.site-header:not(.is-scrolled) .header-hours-time {
  color: #7d6c5c;
}

.site-header:not(.is-scrolled) .header-hours {
  border-left-color: rgba(180, 168, 152, 0.5);
}


.site-header.is-scrolled .brand-name,
.site-header.is-scrolled .brand-sub,
.site-header.is-scrolled .header-hours-days,
.site-header.is-scrolled .header-hours-time {
  color: var(--cream);
}

.site-header.is-scrolled .brand-sub,
.site-header.is-scrolled .header-hours-days {
  color: rgba(250, 246, 239, 0.72);
}

.site-header.is-scrolled .header-hours {
  border-left-color: rgba(250, 246, 239, 0.2);
}

.site-header.is-scrolled .nav-toggle-icon { color: var(--cream); }

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  gap: 0;
}

.header-start {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  min-width: 0;
  flex: 0 1 auto;
}

.header-hours {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0;
  margin-left: clamp(0.75rem, 2vw, 1.25rem);
  padding-left: clamp(0.75rem, 2vw, 1.25rem);
  border-left: 1px solid var(--border);
  line-height: 1.25;
  flex-shrink: 0;
}

.header-hours-days {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-hours-time {
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

.brand:hover .brand-logo { transform: scale(1.04); }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-name {
  font-family: var(--font-ui);
  font-size: clamp(0.62rem, 1.8vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color var(--transition);
  max-width: 11rem;
  line-height: 1.35;
}

.brand-sub {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list .nav-link {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nav-muted);
  position: relative;
  padding: var(--space-1) 0;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform 0.15s var(--ease);
}

.nav-list .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-foil);
  transition: width var(--transition);
}

.nav-list .nav-link:hover::after,
.nav-list .nav-link.is-active::after { width: 100%; }

/* Mobile menu overlay + blur */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(250, 246, 239, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

body.menu-open .nav-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.menu-open #main {
  filter: none;
}

body.menu-open .site-header:not(.is-scrolled) {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(28, 20, 16, 0.04);
}

body.menu-open .site-header:not(.is-scrolled) .brand-name {
  color: #6e5d4e;
}

body.menu-open .site-header:not(.is-scrolled) .brand-sub,
body.menu-open .site-header:not(.is-scrolled) .header-hours-days {
  color: #a89888;
}

body.menu-open .site-header:not(.is-scrolled) .header-hours-time {
  color: #7d6c5c;
}

body.menu-open .nav-toggle-icon {
  color: var(--leather);
}

body.menu-open .site-header.is-scrolled .nav-toggle-icon {
  color: var(--cream);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--nav-muted-hover);
}

.nav-toggle-svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
}

.nav-toggle-close-path {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close-path {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.82rem 1.65rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.2s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold-foil); outline-offset: 3px; }

.btn-gold {
  background: var(--gold-foil);
  color: var(--white);
  border-color: var(--gold-foil);
}

.btn-gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--white);
}

.btn-outline {
  background: var(--cream);
  color: var(--leather);
  border-color: var(--leather);
}

.btn-outline:hover {
  background: var(--leather);
  border-color: var(--leather);
  color: var(--cream);
}

.btn-full { width: 100%; }

.text-link {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-foil);
  transition: color var(--transition);
}

.text-link:hover { color: var(--gold-light); }

/* Hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  background-color: var(--hero-cream);
  box-sizing: border-box;
  isolation: isolate;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--hero-cream);
  z-index: 4;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-color: var(--hero-cream);
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/hero-stillife-desktop.png");
  background-size: auto 100%;
  background-position: left center;
  background-repeat: no-repeat;
  filter: none;
  opacity: 1;
  transform-origin: left center;
  transform: translate3d(var(--hero-parallax-x, 0), var(--hero-parallax-y, 0), 0);
  will-change: transform;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 46%,
    rgba(0, 0, 0, 0.82) 58%,
    rgba(0, 0, 0, 0.45) 68%,
    rgba(0, 0, 0, 0.12) 78%,
    transparent 88%
  );
  mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 46%,
    rgba(0, 0, 0, 0.82) 58%,
    rgba(0, 0, 0, 0.45) 68%,
    rgba(0, 0, 0, 0.12) 78%,
    transparent 88%
  );
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      transparent 0%,
      transparent 44%,
      rgba(243, 237, 228, 0.45) 54%,
      rgba(243, 237, 228, 0.88) 62%,
      var(--hero-cream) 70%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      transparent 72%,
      rgba(243, 237, 228, 0.4) 88%,
      var(--hero-cream) 96%
    );
  pointer-events: none;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 0%,
    transparent 48%,
    rgba(243, 237, 228, 0.28) 58%,
    var(--hero-cream) 72%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 540px);
  align-items: center;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding: calc(var(--header-h) + var(--space-4)) 0 var(--space-8);
  box-sizing: border-box;
}

.hero-content {
  grid-column: 2;
  text-align: left;
  color: var(--ink);
  padding-left: var(--space-5);
  padding-right: clamp(2rem, 5.5vw, 4.5rem);
  border-left: 1px solid rgba(184, 134, 11, 0.22);
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.hero-brand-name {
  font-family: var(--font-ui);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
}

/* Animated brand mark — INTRODO.PL */
.brand-mark {
  display: inline-block;
  background-image: linear-gradient(
    105deg,
    var(--leather) 0%,
    var(--bronze) 18%,
    var(--gold-deep) 38%,
    var(--gold-foil) 52%,
    var(--gold-light) 66%,
    var(--gold-deep) 82%,
    var(--leather) 100%
  );
  background-size: 240% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: brand-mark-shine 9s ease-in-out infinite;
}

.site-footer .brand-mark {
  background-image: linear-gradient(
    105deg,
    #b8a48c 0%,
    #9a7b3c 22%,
    #c5a059 42%,
    #e8d4a8 56%,
    #c5a059 72%,
    #b8a48c 100%
  );
}

@keyframes brand-mark-shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-foil);
  margin: 0;
  line-height: 1.5;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 0.95;
  margin: 0;
  letter-spacing: 0.01em;
}

.hero-name-line {
  display: block;
  font-size: clamp(2.6rem, 5.2vw, 4rem);
  color: var(--leather);
}

/* Brand lines stay final; wave only on title + lead */
#hero-wave-root:not(.hero-wave-complete) .hero-brand-name,
#hero-wave-root:not(.hero-wave-complete) .hero-eyebrow {
  opacity: 1;
}

#hero-wave-root:not(.hero-wave-complete) .hero-name-line {
  color: rgba(74, 55, 40, 0.2);
}

#hero-wave-root:not(.hero-wave-complete) .hero-lead.hero-wave-text {
  color: rgba(122, 107, 92, 0.17);
}

.hero-name-line + .hero-name-line {
  margin-top: 0.06em;
}

.hero-rule {
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(to right, var(--gold-foil), rgba(184, 134, 11, 0.15));
  margin: var(--space-5) 0 var(--space-4);
}

.hero-lead {
  font-size: var(--fs-md);
  line-height: 1.85;
  color: var(--stone);
  margin: 0 0 var(--space-6);
  max-width: 28em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
  justify-content: flex-start;
}

.hero .btn-outline {
  background: rgba(250, 246, 239, 0.65);
  color: var(--leather);
  border-color: var(--leather);
}

.hero .btn-outline:hover {
  background: var(--leather);
  color: var(--cream);
  border-color: var(--leather);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  z-index: 2;
  transition: color var(--transition);
}

.hero-scroll:hover { color: var(--gold-foil); }

.hero-scroll svg { animation: bounce 2s ease infinite; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Sections */
.section {
  padding: var(--space-9) 0;
  position: relative;
}

.section-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-foil);
  margin: 0 0 var(--space-3);
}

.section-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-7); }

.section-header h2,
.about-copy h2,
.contact-info h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.15;
  color: var(--leather);
  margin: 0 0 var(--space-4);
}

.section-intro {
  color: var(--stone);
  margin: 0;
  font-size: var(--fs-md);
}

/* About */
.section-about {
  background: var(--hero-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.img-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, #5c4a3a 0%, #3d2b1f 50%, #2a1f18 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.img-placeholder-label,
.img-placeholder-file {
  position: relative;
  display: block;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  color: rgba(250, 247, 242, 0.7);
  letter-spacing: 0.05em;
}

.img-placeholder-file {
  margin-top: var(--space-2);
  color: rgba(212, 168, 75, 0.85);
  font-size: 0.65rem;
}

.about-figure {
  position: relative;
  margin: 0;
  padding: var(--space-4) var(--space-3);
  background: transparent;
}

.about-figure::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 8%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(28, 20, 16, 0.1) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.about-figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: min(420px, 52vh);
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: none;
}

.about-copy p { margin: 0 0 var(--space-4); color: var(--ink); }

.about-sign {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  color: var(--leather);
  margin: var(--space-5) 0 !important;
}

.about-sign em { font-style: italic; color: var(--gold-foil); }

/* Services */
.section-services { background: var(--parchment); overflow: hidden; }

.services-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background:
    radial-gradient(circle at 20% 80%, var(--gold-foil) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--leather) 0%, transparent 50%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-foil);
}

.service-icon {
  display: block;
  font-size: 0.6rem;
  color: var(--gold-foil);
  margin-bottom: var(--space-3);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--leather);
  margin: 0 0 var(--space-2);
}

.service-card p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--stone);
  line-height: 1.65;
}

/* Contact */
.section-contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.contact-grid > * {
  min-width: 0;
  max-width: 100%;
}

.contact-info,
.contact-form-wrap {
  overflow-wrap: anywhere;
}

.contact-list {
  list-style: none;
  margin: var(--space-6) 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}

.contact-label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-1);
}

.contact-list a,
.contact-address-link {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  color: var(--leather);
  transition: color var(--transition);
}

.contact-list a:hover,
.contact-address-link:hover { color: var(--gold-foil); }

.contact-address-link {
  display: inline-block;
  text-decoration: none;
}

.contact-address-link address {
  transition: color var(--transition);
}

.contact-map {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: var(--space-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  isolation: isolate;
}

.contact-map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 260px;
  border: 0;
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.contact-form {
  display: grid;
  gap: var(--space-5);
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-row {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}

.form-row label {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--leather);
}

.optional {
  font-weight: 400;
  color: var(--stone);
}

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-foil);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

.form-row textarea { resize: vertical; min-height: 120px; }

.form-captcha {
  display: flex;
  justify-content: center;
  padding: var(--space-3);
  background: var(--parchment);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.cf-turnstile-host {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.cf-turnstile-host > div,
.cf-turnstile-host iframe {
  max-width: 100% !important;
}

.form-captcha:not(:has(iframe)) {
  padding: 0;
  border: 0;
  background: transparent;
}

.form-status {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  margin: 0;
  min-height: 1.25em;
}

.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }

.form-note {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  color: var(--stone);
  margin: 0;
  text-align: center;
}

#form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Footer */
.site-footer {
  position: relative;
  background-color: var(--leather-base);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 28%, rgba(0, 0, 0, 0.26) 100%),
    radial-gradient(ellipse 80% 90% at 50% 0%, rgba(197, 160, 89, 0.07) 0%, transparent 58%),
    var(--leather-grain),
    var(--leather-photo);
  background-size:
    100% 100%,
    100% 100%,
    100px 100px,
    cover;
  background-repeat: no-repeat, no-repeat, repeat, no-repeat;
  background-position: center, center, center, center;
  color: rgba(250, 247, 242, 0.75);
  padding: var(--space-7) 0 var(--space-5);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.site-footer .footer-inner {
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  gap: var(--space-5);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.footer-brand img { filter: brightness(1.2); }

.footer-brand strong {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-brand span {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
}

.footer-legal {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.footer-legal p { margin: 0; }

.footer-copy {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  color: var(--stone);
  margin: var(--space-4) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero text wave — subtle start, reading wave on load */
#hero-wave-root.hero-wave-ready .hero-wave-word {
  display: inline;
  white-space: normal;
}

#hero-wave-root.hero-wave-ready .hero-wave-title .hero-wave-word {
  color: rgba(74, 55, 40, 0.2);
  transform: translateY(3px);
}

#hero-wave-root.hero-wave-ready .hero-wave-text .hero-wave-word {
  color: rgba(122, 107, 92, 0.17);
  transform: translateY(2px);
}

#hero-wave-root.hero-wave-active .hero-wave-title .hero-wave-word {
  animation: hero-wave-title 1.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--hero-wave-i, 0) * 129ms);
}

#hero-wave-root.hero-wave-active .hero-wave-text .hero-wave-word {
  animation: hero-wave-body 1.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--hero-wave-i, 0) * 129ms);
}

#hero-wave-root.hero-wave-complete .hero-wave-title .hero-wave-word {
  color: var(--leather);
  transform: none;
  animation: none;
}

#hero-wave-root.hero-wave-complete .hero-wave-text .hero-wave-word {
  color: var(--stone);
  transform: none;
  animation: none;
}

@keyframes hero-wave-title {
  0% {
    color: rgba(74, 55, 40, 0.2);
    transform: translateY(3px);
  }
  45% {
    color: var(--gold-foil);
    transform: translateY(0);
  }
  100% {
    color: var(--leather);
    transform: translateY(0);
  }
}

@keyframes hero-wave-body {
  0% {
    color: rgba(122, 107, 92, 0.17);
    transform: translateY(2px);
  }
  45% {
    color: var(--ink);
    transform: translateY(0);
  }
  100% {
    color: var(--stone);
    transform: translateY(0);
  }
}

/* Read-along (scroll highlight) */
.read-along-block h2 .read-along-word,
.read-along-block .about-sign .read-along-word {
  color: rgba(74, 55, 40, calc(0.18 + 0.82 * var(--read-fill, 0)));
}

.read-along-block p .read-along-word,
.read-along-block .text-link .read-along-word {
  color: rgba(28, 20, 16, calc(0.2 + 0.8 * var(--read-fill, 0)));
}

.read-along-block .text-link .read-along-word {
  color: rgba(197, 160, 89, calc(0.25 + 0.75 * var(--read-fill, 0)));
}

.read-along-block .about-sign em .read-along-word {
  color: rgba(197, 160, 89, calc(0.22 + 0.78 * var(--read-fill, 0)));
}

.read-along-word {
  transition: color 0.12s linear;
}

/* Process timeline */
.section-process { background: var(--cream); }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step 0;
}

.timeline-runner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-foil);
  box-shadow: 0 0 0 4px var(--cream), 0 0 14px rgba(197, 160, 89, 0.45);
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  will-change: left;
  margin: 0;
}

.timeline--runner .timeline-step .dot { opacity: 0; }

.timeline-step {
  position: relative;
  display: flex;
  flex-direction: column;
}

.timeline-track {
  position: relative;
  order: 1;
  height: 1.375rem;
  margin-bottom: var(--space-3);
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
  transform: translateY(-50%);
}

.timeline-step::before {
  counter-increment: step 1;
  content: "0" counter(step);
  order: 2;
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  color: var(--gold-foil);
  display: block;
  margin: 0 0 var(--space-3);
}

.timeline-step .dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 11px;
  height: 11px;
  margin-top: 0;
  border-radius: 50%;
  background: var(--gold-foil);
  box-shadow: 0 0 0 4px var(--cream);
  transform: translateY(-50%);
}

.timeline-step h3 {
  order: 3;
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--leather);
  margin: 0 0 var(--space-2);
}

.timeline-step p {
  order: 4;
  font-size: var(--fs-sm);
  color: var(--stone);
  margin: 0;
  line-height: 1.65;
}

/* Custom cursor */
html.has-custom-cursor body,
html.has-custom-cursor body * {
  cursor: none !important;
}

html.has-custom-cursor.custom-cursor-text body input,
html.has-custom-cursor.custom-cursor-text body textarea {
  cursor: text !important;
}

html.has-custom-cursor.custom-cursor-text .custom-cursor-dot,
html.has-custom-cursor.custom-cursor-text .custom-cursor-ring,
html.has-custom-cursor.custom-cursor-text .custom-cursor-glow {
  opacity: 0 !important;
}

.custom-cursor-dot,
.custom-cursor-ring,
.custom-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  z-index: 100001;
  opacity: 0;
  background: var(--gold-light);
  box-shadow: 0 0 0 1px rgba(28, 20, 16, 0.1), 0 0 12px rgba(197, 160, 89, 0.55);
  transition: opacity 0.22s, width 0.28s, height 0.28s, margin 0.28s, background 0.25s, box-shadow 0.25s;
}

.custom-cursor-dot.is-visible { opacity: 1; }

.custom-cursor-dot.is-hover {
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  background: var(--leather);
  box-shadow: 0 0 0 1px var(--gold-foil), 0 0 16px rgba(197, 160, 89, 0.7);
}

.custom-cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  z-index: 100000;
  opacity: 0;
  border: 1px solid rgba(197, 160, 89, 0.55);
  background: rgba(197, 160, 89, 0.04);
  transition: opacity 0.22s, width 0.34s, height 0.34s, margin 0.34s, border-color 0.28s, background 0.28s;
}

.custom-cursor-ring.is-visible { opacity: 1; }

.custom-cursor-ring.is-hover {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-color: var(--gold-light);
  background: rgba(197, 160, 89, 0.1);
  box-shadow: 0 0 24px rgba(197, 160, 89, 0.2);
}

.custom-cursor-glow {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  z-index: 9998;
  opacity: 0;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.18) 0%, rgba(197, 160, 89, 0.06) 42%, transparent 72%);
  transition: opacity 0.35s;
}

.custom-cursor-glow.is-active { opacity: 1; }

/* Service card hover art */
.service-card::before {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 62%;
  height: 72%;
  opacity: 0;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transform: scale(0.92);
  pointer-events: none;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.11;
  transform: scale(1);
}

.service-card > * { position: relative; z-index: 1; }

.service-card[data-service="okolicznosciowe"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M24 28h72v64H24z' stroke='%23c5a059' stroke-width='2'/%3E%3Cpath d='M36 44h48M36 56h40M36 68h32' stroke='%234a3728' stroke-width='1.5' opacity='.5'/%3E%3Cpath d='M60 20l8 8H52z' fill='%23c5a059' opacity='.6'/%3E%3C/svg%3E");
}

.service-card[data-service="legitymacje"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Crect x='28' y='22' width='64' height='76' rx='4' stroke='%23c5a059' stroke-width='2'/%3E%3Ccircle cx='60' cy='52' r='14' stroke='%234a3728' stroke-width='1.5' opacity='.45'/%3E%3Cpath d='M40 78h40' stroke='%234a3728' stroke-width='1.5' opacity='.4'/%3E%3C/svg%3E");
}

.service-card[data-service="etui"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M30 36h60v48H30z' stroke='%23c5a059' stroke-width='2'/%3E%3Ccircle cx='60' cy='60' r='10' stroke='%234a3728' stroke-width='1.5' opacity='.5'/%3E%3Cpath d='M30 36l30-12 30 12' stroke='%23c5a059' stroke-width='1.5' opacity='.6'/%3E%3C/svg%3E");
}

.service-card[data-service="pudelka"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M24 48l36-16 36 16v44H24z' stroke='%23c5a059' stroke-width='2'/%3E%3Cpath d='M60 32v60M24 48l36 16 36-16' stroke='%234a3728' stroke-width='1.5' opacity='.4'/%3E%3C/svg%3E");
}

.service-card[data-service="menu"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M34 24h20v72H34zM66 24h20v72H66z' stroke='%23c5a059' stroke-width='2'/%3E%3Cpath d='M38 36h12M70 36h12M38 48h12M70 48h12' stroke='%234a3728' stroke-width='1.2' opacity='.45'/%3E%3C/svg%3E");
}

.service-card[data-service="oprawy"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M28 30h18v60H28zM46 26h18v64H46zM64 30h18v60H64z' stroke='%23c5a059' stroke-width='2'/%3E%3Cpath d='M32 40h10M50 36h10M68 40h10' stroke='%234a3728' stroke-width='1.2' opacity='.4'/%3E%3C/svg%3E");
}

.service-card[data-service="teczki"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M26 38h68v52H26z' stroke='%23c5a059' stroke-width='2'/%3E%3Cpath d='M26 38c8-10 16-10 24 0s16 10 24 0 16-10 24 0' stroke='%234a3728' stroke-width='1.5' opacity='.45'/%3E%3C/svg%3E");
}

.service-card[data-service="nadruki"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Crect x='30' y='34' width='60' height='52' rx='3' stroke='%23c5a059' stroke-width='2'/%3E%3Cpath d='M42 58h36' stroke='%234a3728' stroke-width='3' opacity='.35'/%3E%3Cpath d='M48 46h24M48 70h20' stroke='%234a3728' stroke-width='1.2' opacity='.35'/%3E%3C/svg%3E");
}

.service-card[data-service="zlocenie"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M60 20l14 24H46z' fill='%23c5a059' opacity='.35'/%3E%3Cpath d='M36 52h48v40H36z' stroke='%23c5a059' stroke-width='2'/%3E%3Cpath d='M44 64h32' stroke='%23d4b06a' stroke-width='2'/%3E%3C/svg%3E");
}

.service-card[data-service="ksiazki"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M38 28c0 48 0 48 0 64h44c0-16 0-16 0-64H38z' stroke='%23c5a059' stroke-width='2'/%3E%3Cpath d='M52 40h16M52 52h20M52 64h14' stroke='%234a3728' stroke-width='1.2' opacity='.4'/%3E%3C/svg%3E");
}

.service-card[data-service="futeraly"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cellipse cx='60' cy='68' rx='34' ry='22' stroke='%23c5a059' stroke-width='2'/%3E%3Cpath d='M26 68h68' stroke='%234a3728' stroke-width='1.5' opacity='.4'/%3E%3Cpath d='M60 46v44' stroke='%23c5a059' stroke-width='1.5' opacity='.5'/%3E%3C/svg%3E");
}

.service-card[data-service="inne"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M34 78l16-40 20 28 16-36' stroke='%23c5a059' stroke-width='2'/%3E%3Ccircle cx='42' cy='84' r='6' stroke='%234a3728' stroke-width='1.5' opacity='.4'/%3E%3Cpath d='M28 92h64' stroke='%234a3728' stroke-width='1.5' opacity='.35'/%3E%3C/svg%3E");
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.94) translateY(16px);
}

.js-ready .reveal.is-visible,
.js-ready .reveal-stagger.is-visible > .reveal,
.js-ready .reveal-stagger.is-visible > .timeline-step,
.js-ready .reveal-stagger.is-visible > .service-card {
  opacity: 1;
  transform: none;
}

.reveal-stagger > .reveal,
.reveal-stagger > .timeline-step,
.reveal-stagger > .service-card {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 75ms);
}

.reveal-stagger > .reveal:nth-child(1),
.reveal-stagger > .timeline-step:nth-child(1),
.reveal-stagger > .service-card:nth-child(1) { --reveal-i: 0; }
.reveal-stagger > .reveal:nth-child(2),
.reveal-stagger > .timeline-step:nth-child(2),
.reveal-stagger > .service-card:nth-child(2) { --reveal-i: 1; }
.reveal-stagger > .reveal:nth-child(3),
.reveal-stagger > .timeline-step:nth-child(3),
.reveal-stagger > .service-card:nth-child(3) { --reveal-i: 2; }
.reveal-stagger > .reveal:nth-child(4),
.reveal-stagger > .timeline-step:nth-child(4),
.reveal-stagger > .service-card:nth-child(4) { --reveal-i: 3; }
.reveal-stagger > .service-card:nth-child(5) { --reveal-i: 4; }
.reveal-stagger > .service-card:nth-child(6) { --reveal-i: 5; }
.reveal-stagger > .service-card:nth-child(7) { --reveal-i: 6; }
.reveal-stagger > .service-card:nth-child(8) { --reveal-i: 7; }
.reveal-stagger > .service-card:nth-child(9) { --reveal-i: 8; }
.reveal-stagger > .service-card:nth-child(10) { --reveal-i: 9; }
.reveal-stagger > .service-card:nth-child(11) { --reveal-i: 10; }
.reveal-stagger > .service-card:nth-child(12) { --reveal-i: 11; }

/* Services — progressive reveal on scroll */
.services-grid .service-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-ready .services-grid .service-card.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

.nav-hours { display: none; }

@media (max-width: 1100px) and (min-width: 901px) {
  .header-hours { display: none; }
}

@media (max-width: 900px) {
  .section-rail { display: none; }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    align-items: center;
    gap: var(--space-2);
  }

  .header-start {
    grid-column: 1;
    min-width: 0;
    gap: var(--space-2);
  }

  .brand-text {
    min-width: 0;
  }

  .brand-name {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    line-height: 1.15;
    max-width: none;
  }

  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    line-height: 1.15;
  }

  .header-hours {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    margin: 0;
    padding-left: var(--space-2);
    border-left: 1px solid var(--border);
    flex-shrink: 0;
  }

  .nav-toggle {
    grid-column: 3;
    margin-left: 0;
  }

  .header-hours-days,
  .header-hours-time {
    font-family: var(--font-ui);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.2;
    white-space: nowrap;
  }

  .site-header:not(.is-scrolled) .header-hours-days {
    color: #a89888;
  }

  .site-header:not(.is-scrolled) .header-hours-time {
    color: #7d6c5c;
  }

  .site-header.is-scrolled .header-hours-days {
    color: rgba(250, 246, 239, 0.72);
  }

  .site-header.is-scrolled .header-hours-time {
    color: var(--cream);
  }

  .site-header.is-scrolled .header-hours {
    border-left-color: rgba(250, 246, 239, 0.22);
  }

  .site-header.is-scrolled ~ .site-nav .nav-list .nav-link,
  .site-header:not(.is-scrolled) ~ .site-nav .nav-list .nav-link {
    color: var(--leather);
  }

  .site-header.is-scrolled ~ .site-nav .nav-list .nav-link:hover,
  .site-header:not(.is-scrolled) ~ .site-nav .nav-list .nav-link:hover {
    color: var(--bronze);
  }

  .site-header.is-scrolled ~ .site-nav .nav-list .nav-link.is-active,
  .site-header:not(.is-scrolled) ~ .site-nav .nav-list .nav-link.is-active {
    color: var(--gold-foil);
  }

  .nav-hours {
    display: none !important;
  }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .about-visual { order: -1; }

  .section-contact {
    overflow-x: clip;
  }

  .section-contact .container {
    width: min(var(--container), 100% - 1.5rem);
  }

  .contact-form-wrap {
    padding: var(--space-5);
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(28px);
  }

  .js-ready .reveal-left.is-visible,
  .js-ready .reveal-right.is-visible {
    transform: none;
  }

  .hero-scroll { display: none; }

  .nav-toggle {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--white);
  }

  .site-header.is-scrolled .nav-toggle {
    border-color: rgba(250, 246, 239, 0.22);
    background: rgba(255, 255, 255, 0.06);
  }

  body.menu-open .site-header:not(.is-scrolled) .nav-toggle {
    border-color: var(--border);
    background: var(--white);
  }

  .site-nav {
    --nav-drawer-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: fixed;
    top: var(--header-stack);
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    display: grid;
    grid-template-rows: 0fr;
    padding: 0;
    gap: 0;
    background: var(--cream);
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: none;
    transition:
      grid-template-rows 0.58s var(--nav-drawer-ease),
      border-color 0.45s var(--nav-drawer-ease),
      box-shadow 0.5s var(--nav-drawer-ease);
    z-index: 110;
    overflow: hidden;
  }

  .site-nav.is-open {
    grid-template-rows: 1fr;
    border-top-color: var(--border);
    border-bottom-color: var(--border);
    box-shadow: 0 16px 42px rgba(28, 20, 16, 0.09);
    pointer-events: auto;
  }

  .site-nav-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  .site-nav .nav-item,
  .site-nav .nav-cta {
    opacity: 0;
    transform: translateY(-12px);
    transition:
      opacity 0.44s var(--nav-drawer-ease),
      transform 0.44s var(--nav-drawer-ease);
  }

  .site-nav.is-open .nav-item:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.08s; }
  .site-nav.is-open .nav-item:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.12s; }
  .site-nav.is-open .nav-item:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
  .site-nav.is-open .nav-item:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.2s; }
  .site-nav.is-open .nav-item:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.24s; }

  .site-nav.is-open .nav-cta {
    opacity: 1;
    transform: none;
    transition-delay: 0.3s;
  }

  .site-nav:not(.is-open) .nav-item,
  .site-nav:not(.is-open) .nav-cta {
    transition-delay: 0s;
  }

  .site-nav .nav-list {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .site-nav .nav-item {
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(74, 55, 40, 0.12);
  }

  .site-nav .nav-list .nav-link {
    display: block;
    width: 100%;
    padding: 1.2rem 1.5rem;
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--leather);
    background: transparent;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    position: relative;
    transition: color var(--transition), background 0.2s var(--ease);
  }

  .site-nav .nav-list .nav-link::after {
    display: none;
  }

  .site-nav .nav-list .nav-link.is-active {
    color: var(--gold-foil);
    background: rgba(197, 160, 89, 0.1);
  }

  .site-nav .nav-list .nav-link.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gold-foil);
  }

  .site-nav .nav-list .nav-link:active,
  .site-nav .nav-list .nav-link.is-pressed {
    background: rgba(197, 160, 89, 0.16);
  }

  .site-nav .nav-cta {
    display: inline-flex;
    flex-shrink: 0;
    width: calc(100% - 2rem);
    margin: var(--space-4) 1rem var(--space-5);
    min-height: 3.5rem;
    font-size: var(--fs-sm);
    border-radius: 2px;
  }
}

@media (min-width: 901px) {
  .site-header:not(.is-scrolled) ~ .site-nav .nav-list .nav-link {
    color: var(--nav-muted);
  }

  .site-header:not(.is-scrolled) ~ .site-nav .nav-list .nav-link:hover {
    color: var(--nav-muted-hover);
  }

  .site-header:not(.is-scrolled) ~ .site-nav .nav-list .nav-link.is-active {
    color: var(--nav-active);
  }

  .site-header.is-scrolled ~ .site-nav .nav-list .nav-link {
    color: rgba(250, 246, 239, 0.78);
  }

  .site-header.is-scrolled ~ .site-nav .nav-list .nav-link:hover {
    color: var(--cream);
  }

  .site-header.is-scrolled ~ .site-nav .nav-list .nav-link.is-active {
    color: var(--gold-light);
  }

  .site-nav {
    position: fixed;
    top: var(--progress-h);
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, var(--container));
    height: var(--header-h);
    padding: 0 var(--space-5);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-6);
    z-index: 101;
    pointer-events: none;
    overflow: visible;
    grid-template-rows: none;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .site-nav-panel {
    display: contents;
  }

  .site-nav .nav-hours,
  .site-nav .nav-item,
  .site-nav .nav-cta {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-nav .nav-list,
  .site-nav .nav-cta {
    pointer-events: auto;
  }

  .nav-list { gap: var(--space-4); }

  .nav-list .nav-link {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 900px) {
  .hero-media::before {
    inset: 0;
    background-image: url("img/hero-mobile.webp");
    background-size: cover;
    background-position: center top;
    opacity: 1;
    filter: sepia(0.04) saturate(0.9) brightness(1.02) contrast(0.98);
    transform-origin: center top;
    transform: translate3d(var(--hero-parallax-x, 0), var(--hero-parallax-y, 0), 0);
    -webkit-mask-image:
      linear-gradient(
        to bottom,
        #000 0%,
        #000 28%,
        rgba(0, 0, 0, 0.92) 36%,
        rgba(0, 0, 0, 0.55) 46%,
        rgba(0, 0, 0, 0.18) 54%,
        transparent 62%
      );
    mask-image:
      linear-gradient(
        to bottom,
        #000 0%,
        #000 28%,
        rgba(0, 0, 0, 0.92) 36%,
        rgba(0, 0, 0, 0.55) 46%,
        rgba(0, 0, 0, 0.18) 54%,
        transparent 62%
      );
  }

  .hero-media::after {
    background:
      linear-gradient(
        to bottom,
        rgba(243, 237, 228, 0.12) 0%,
        rgba(243, 237, 228, 0.42) 30%,
        rgba(243, 237, 228, 0.86) 42%,
        rgba(243, 237, 228, 0.98) 50%,
        var(--hero-cream) 58%
      );
  }

  .hero-media-overlay {
    background:
      linear-gradient(
        to bottom,
        transparent 0%,
        rgba(243, 237, 228, 0.35) 32%,
        rgba(243, 237, 228, 0.88) 44%,
        var(--hero-cream) 54%
      );
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-content: end;
    padding-top: calc(var(--header-stack) + var(--space-5));
    padding-bottom: var(--space-6);
    height: 100%;
    max-height: 100%;
  }

  .hero-content {
    grid-column: 1;
    position: relative;
    z-index: 3;
    width: 100%;
    padding: var(--space-7) var(--space-4) var(--space-5);
    border-left: none;
    text-align: center;
    max-width: none;
    margin: 0;
    background: linear-gradient(
      to top,
      var(--hero-cream) 0%,
      var(--hero-cream) 52%,
      rgba(243, 237, 228, 0.98) 68%,
      rgba(243, 237, 228, 0.82) 82%,
      transparent 100%
    );
  }

  .hero-brand-name.brand-mark {
    text-shadow: none;
  }

  .hero-eyebrow {
    color: var(--gold-deep);
    font-weight: 600;
  }

  #hero-wave-root:not(.hero-wave-complete) .hero-name-line {
    color: rgba(28, 20, 16, 0.18);
    text-shadow: none;
  }

  #hero-wave-root:not(.hero-wave-complete) .hero-lead.hero-wave-text {
    color: rgba(28, 20, 16, 0.14);
    opacity: 1;
    text-shadow: none;
  }

  .hero-name-line {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  }

  .hero-lead {
    opacity: 0.9;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.45);
  }

  #hero-wave-root.hero-wave-ready .hero-wave-title .hero-wave-word {
    color: rgba(28, 20, 16, 0.18);
  }

  #hero-wave-root.hero-wave-ready .hero-wave-text .hero-wave-word {
    color: rgba(28, 20, 16, 0.14);
  }

  #hero-wave-root.hero-wave-complete .hero-wave-title .hero-wave-word {
    color: var(--ink);
  }

  #hero-wave-root.hero-wave-complete .hero-wave-text .hero-wave-word {
    color: rgba(28, 20, 16, 0.9);
  }

  .hero .btn-outline {
    background: var(--white);
    border-color: var(--leather);
    color: var(--ink);
  }

  @keyframes hero-wave-title {
    0% {
      color: rgba(28, 20, 16, 0.18);
      transform: translateY(3px);
    }
    45% {
      color: var(--gold-foil);
      transform: translateY(0);
    }
    100% {
      color: var(--ink);
      transform: translateY(0);
    }
  }

  @keyframes hero-wave-body {
    0% {
      color: rgba(28, 20, 16, 0.14);
      transform: translateY(2px);
    }
    45% {
      color: var(--leather);
      transform: translateY(0);
    }
    100% {
      color: rgba(28, 20, 16, 0.9);
      transform: translateY(0);
    }
  }

  .hero-brand {
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
  }
  .hero-rule { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}

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

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: var(--space-8) 0; }

  .form-row input,
  .form-row textarea {
    font-size: 1rem;
  }

  .form-captcha {
    padding: var(--space-2);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-loader { display: none !important; }
  .section-rail { transition: none; }
  .services-grid .service-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .scroll-top { transition: none; }
  .reveal,
  .reveal-stagger > .reveal,
  .reveal-stagger > .timeline-step,
  .reveal-stagger > .service-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-media::before {
    transform: none !important;
    transform-origin: left center;
  }
  .hero-scroll svg { animation: none; }
  .btn:hover, .service-card:hover { transform: none; }
  body.menu-open #main { filter: none; }
  .nav-overlay { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-nav { transition: none !important; }
  .site-nav .nav-hours,
  .site-nav .nav-item,
  .site-nav .nav-cta {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .brand-mark { animation: none !important; background-position: 50% 50% !important; }
  .hero-wave-word { animation: none !important; color: inherit !important; transform: none !important; }
  .read-along-word { color: inherit !important; }
  .timeline-runner { display: none !important; }
  .timeline--runner .timeline-step .dot { opacity: 1 !important; }
  .custom-cursor-dot, .custom-cursor-ring, .custom-cursor-glow { display: none !important; }
  html.has-custom-cursor body, html.has-custom-cursor body * { cursor: auto !important; }
}
