/* DOZED — custom display font for menu, CTAs, footer */
@font-face {
  font-family: 'Dozed';
  src: url('Dozed-Regular.ttf') format('truetype'),
       url('Dozed-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dozed';
  src: url('Dozed-Italic.ttf') format('truetype'),
       url('Dozed-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg-primary: #F2EBDD;
  --bg-secondary: #ECE3D2;
  --bg-tertiary: #E2D8C4;
  --bg-deep: #14110D;
  --text-primary: #1A1611;
  --text-secondary: #2D2820;
  --text-tertiary: #8A8275;
  --accent-honey: #C99536;
  --accent-honey-soft: rgba(201, 149, 54, 0.55);
  --line: rgba(26,22,17,0.10);
  --line-strong: rgba(26,22,17,0.20);
  --line-faint: rgba(26,22,17,0.05);
}

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-feature-settings: "ss01" on, "ss02" on, "kern" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* PAPER TEXTURE */
.paper-bg { position: relative; }
.paper-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.07 0 0 0 0 0.06 0 0 0 0 0.04 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 1;
  opacity: 0.85;
}
.paper-bg > * { position: relative; z-index: 2; }

/* TYPOGRAPHY */
.display-xl { font-size: clamp(60px, 9.5vw, 156px); letter-spacing: -0.04em; line-height: 0.92; font-weight: 300; }
.display-l { font-size: clamp(40px, 6vw, 96px); letter-spacing: -0.034em; line-height: 0.96; font-weight: 300; }
.display-m { font-size: clamp(28px, 3.4vw, 56px); letter-spacing: -0.026em; line-height: 1.04; font-weight: 300; }
.h2 { font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.022em; line-height: 1.1; font-weight: 400; }
.h3 { font-size: clamp(20px, 1.5vw, 24px); letter-spacing: -0.012em; line-height: 1.3; font-weight: 500; }
.body-l { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.55; font-weight: 400; letter-spacing: -0.005em; }
.body { font-size: 16px; line-height: 1.65; font-weight: 400; letter-spacing: -0.003em; }
.caption { font-size: 11px; letter-spacing: 0.18em; line-height: 1.4; font-weight: 500; text-transform: uppercase; }
.caption-italic { font-size: 14px; line-height: 1.5; font-weight: 400; color: var(--text-secondary); }
.micro { font-size: 10px; letter-spacing: 0.22em; line-height: 1.4; font-weight: 500; text-transform: uppercase; color: var(--text-tertiary); }
.italic-accent { font-style: italic; font-weight: 300; }

/* IMAGE TREATMENT */
.craft-img {
  filter: sepia(0.28) saturate(0.78) contrast(1.08) brightness(0.96);
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* PRICE STRIP · orientacyjne widełki w sekcji wyceny */
.price-strip {
  margin-top: 40px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.price-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  flex: 1;
  min-width: 0;
}
.price-strip__qty {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.price-strip__amount {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  white-space: nowrap;
}
.price-strip__unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-tertiary);
  letter-spacing: 0;
  margin-left: 2px;
}
.price-strip__sep {
  width: 1px;
  background: rgba(45, 40, 32, 0.12);
  align-self: stretch;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .price-strip {
    flex-direction: column;
    gap: 0;
  }
  .price-strip__sep {
    width: 64px;
    height: 1px;
    align-self: center;
    margin: 0 auto;
  }
  .price-strip__item {
    padding: 14px 12px;
  }
  .price-strip__amount { font-size: 20px; }
}

/* LOOKBOOK · email-gated lead magnet section */
.lookbook-section {
  padding: 60px 0;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(45, 40, 32, 0.06);
  border-bottom: 1px solid rgba(45, 40, 32, 0.06);
}
.lookbook-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 64px;
  background: var(--bg-primary);
  border: 1px solid rgba(45, 40, 32, 0.06);
  position: relative;
}
.lookbook-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 64px; height: 1px;
  background: var(--accent-honey);
  opacity: 0.7;
}
.lookbook-card__form {
  display: flex;
  flex-direction: column;
}
.lookbook-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.lookbook-field__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-tertiary);
}
.lookbook-field input {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(45, 40, 32, 0.18);
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.4s ease;
}
.lookbook-field input::placeholder {
  color: var(--text-tertiary);
  opacity: 0.7;
}
.lookbook-field input:focus {
  border-bottom-color: var(--accent-honey);
}
.lookbook-submit {
  align-self: flex-start;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .lookbook-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 32px;
  }
}
@media (max-width: 600px) {
  .lookbook-section { padding: 40px 0; }
  .lookbook-card { padding: 32px 24px; }
}

/* TRUST STRIP — text-only wordmark of client names, between ATF and parallax banner */
.trust-strip {
  width: 100%;
  padding: 22px 0;
  background: var(--bg-tertiary);
  border-top: 1px solid rgba(45, 40, 32, 0.06);
  border-bottom: 1px solid rgba(45, 40, 32, 0.06);
  position: relative;
  z-index: 1;
}
.trust-strip__row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-strip__label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.trust-strip__sep {
  width: 28px;
  height: 1px;
  background: var(--accent-honey);
  opacity: 0.5;
  flex-shrink: 0;
}
.trust-strip__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-strip__list li {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  white-space: nowrap;
  position: relative;
  transition: color 0.6s cubic-bezier(0.22,1,0.36,1);
}
.trust-strip__list li:hover {
  color: var(--text-primary);
}
.trust-strip__list li + li::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-honey);
  opacity: 0.5;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .trust-strip { padding: 18px 0; }
  .trust-strip__row { gap: 16px; }
  .trust-strip__sep { display: none; }
  .trust-strip__list { gap: 18px; }
  .trust-strip__list li { font-size: 12px; }
  .trust-strip__list li + li::before { left: -11px; }
}

/* PARALLAX BANNER — directly under ATF */
.parallax-banner-section {
  width: 100%;
  background: var(--bg-tertiary);
  position: relative;
  z-index: 1;
}
.parallax-banner {
  width: 100%;
  height: 62vh;
  min-height: 480px;
  max-height: 820px;
  overflow: hidden;
  position: relative;
  will-change: transform;
}
.parallax-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  transform: translate3d(0, 0, 0) scale(1.28);
  will-change: transform;
  filter: sepia(0.12) saturate(0.92) contrast(1.04) brightness(0.98);
}
@media (max-width: 768px) {
  .parallax-banner {
    height: 52vh;
    min-height: 360px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .parallax-banner__img {
    transform: translate3d(0, 0, 0) scale(1.05) !important;
  }
}

/* SCROLL REVEAL */
.word-line { display: block; overflow: hidden; padding: 0.05em 0; }
.word-line > span {
  display: inline-block;
  transform: translateY(110%);
  filter: blur(10px);
  transition: transform 1.6s cubic-bezier(0.22,1,0.36,1), filter 1.6s cubic-bezier(0.22,1,0.36,1);
  transition-delay: var(--d, 0ms);
}
.word-line.is-revealed > span { transform: translateY(0); filter: blur(0); }

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.4s cubic-bezier(0.22,1,0.36,1), transform 1.4s cubic-bezier(0.22,1,0.36,1);
  transition-delay: var(--d, 0ms);
}
.fade-up.is-revealed { opacity: 1; transform: translateY(0); }

.img-reveal { overflow: hidden; position: relative; }
.img-reveal img {
  transform: scale(1.15);
  filter: sepia(0.28) saturate(0.78) contrast(1.08) brightness(0.96) blur(6px);
  opacity: 0;
  transition:
    transform 1.8s cubic-bezier(0.16,1,0.3,1),
    filter 1.8s cubic-bezier(0.16,1,0.3,1),
    opacity 1.8s cubic-bezier(0.16,1,0.3,1);
}
.img-reveal.is-revealed img {
  transform: scale(1);
  filter: sepia(0.28) saturate(0.78) contrast(1.08) brightness(0.96) blur(0);
  opacity: 1;
}

/* LINKS */
.link-honey { position: relative; display: inline-block; color: inherit; text-decoration: none; }
.link-honey::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--accent-honey);
  transition: width 0.7s cubic-bezier(0.22,1,0.36,1);
}
.link-honey:hover::after { width: 100%; }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 22px 36px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-family: 'Dozed', 'DM Sans', system-ui, sans-serif;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400;
  border: none; cursor: pointer;
  transition: background 0.6s cubic-bezier(0.22,1,0.36,1), color 0.6s cubic-bezier(0.22,1,0.36,1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent-honey);
  transform: translateY(101%);
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
  z-index: 0;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { color: var(--bg-deep); }
.btn-primary .arrow { display: inline-block; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.btn-primary:hover .arrow { transform: translateX(6px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Dozed', 'DM Sans', system-ui, sans-serif;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  transition: color 0.4s;
}
.btn-ghost .arrow { transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.btn-ghost:hover .arrow { transform: translateX(6px); }

/* CARD HOVER */
.card-shift {
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), box-shadow 0.9s cubic-bezier(0.22,1,0.36,1);
}
.card-shift:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px -32px rgba(26,22,17,0.20);
}

/* MARQUEE */
.marquee-wrap { width: 100%; overflow: hidden; position: relative; }
.marquee-track {
  display: inline-flex; gap: 5rem;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  align-items: center;
  padding-right: 5rem;
}
.marquee-wrap:hover .marquee-track { animation-duration: 32s; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  font-size: clamp(54px, 8vw, 132px);
  font-weight: 300;
  letter-spacing: -0.025em;
  -webkit-text-stroke: 1.2px var(--text-primary);
  color: transparent;
  transition: color 0.8s ease;
  font-style: italic;
}
.marquee-wrap:hover .marquee-item { color: rgba(201, 149, 54, 0.14); }
.marquee-dot {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent-honey);
  opacity: 0.5;
  transition: opacity 0.7s, transform 0.7s;
  flex-shrink: 0;
}
.marquee-wrap:hover .marquee-dot { opacity: 1; transform: scale(1.3); }

/* ACCORDION */
details { border-bottom: 1px solid var(--line); padding: 36px 0; transition: padding 0.4s; }
details[open] { padding: 44px 0; }
details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
details summary::-webkit-details-marker { display: none; }
.acc-num { flex-shrink: 0; width: 40px; }
.acc-icon {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.65,0,0.35,1);
  margin-top: 4px;
}
.acc-icon::before, .acc-icon::after {
  content: ''; position: absolute;
  background: var(--text-primary);
  border-radius: 1px;
}
.acc-icon::before { width: 100%; height: 1px; top: 50%; left: 0; transform: translateY(-50%); }
.acc-icon::after { width: 1px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); transition: transform 0.5s cubic-bezier(0.65,0,0.35,1); }
details[open] .acc-icon { transform: rotate(45deg); }
.acc-content { padding-top: 24px; padding-left: 72px; max-width: 760px; }

/* PROCESS STEPS — vertical (legacy / used on case detail page) */
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: padding 0.4s;
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step:hover { padding-left: 16px; }
.process-num {
  font-size: clamp(22px, 1.6vw, 28px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
  font-style: italic;
}

/* PROCESS GRID — horizontal compact grid for homepage */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1440px) { .process-grid { grid-template-columns: repeat(6, 1fr); } }

.process-grid .process-step {
  display: block;
  grid-template-columns: none;
  gap: 0;
  padding: 32px 28px 40px;
  border: none;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s cubic-bezier(0.22,1,0.36,1);
}
.process-grid .process-step:hover {
  padding: 32px 28px 40px;
  background: rgba(201, 149, 54, 0.06);
}
.process-grid .process-step:last-child { border-bottom: 1px solid var(--line); }
.process-grid .process-num {
  display: block;
  font-size: clamp(32px, 2.4vw, 42px);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--accent-honey);
  line-height: 1;
  letter-spacing: -0.02em;
}
.process-grid .process-step .h3 {
  font-size: 17px;
  margin-bottom: 10px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.process-grid .process-step .body {
  font-size: 13px;
  line-height: 1.5;
  max-width: none !important;
}

/* LOGO GRID */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 768px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .logo-grid { grid-template-columns: repeat(6, 1fr); } }
.logo-cell {
  display: flex; align-items: center; justify-content: center;
  height: 110px;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 17px;
  color: var(--text-secondary);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 0.5s, background 0.5s;
}
.logo-cell:hover { color: var(--text-primary); background: rgba(201, 149, 54, 0.04); }

/* STAMP */
.stamp {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 130px; height: 130px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-secondary);
  transform: rotate(-9deg);
  position: relative;
  line-height: 1.6;
}
.stamp::after {
  content: ''; position: absolute;
  inset: 6px;
  border: 1px dashed var(--line);
  border-radius: 50%;
}
.stamp .stamp-honey {
  color: var(--accent-honey);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 11px;
  font-weight: 400;
}

/* =============================================================
   NAV COMPONENT — self-contained, design-system aligned
   3-column CSS Grid: [logo] [centered menu] [right rail · lang + CTA]
   Mobile: 2-column [logo] [hamburger toggle]
   Independent of Tailwind utilities. Uses BEM-ish naming.
   ============================================================= */

.nav-blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition:
    transform 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    background 0.45s ease,
    box-shadow 0.45s ease,
    backdrop-filter 0.45s ease,
    -webkit-backdrop-filter 0.45s ease;
  will-change: transform, background;
}

.nav-blur__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 24px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .nav-blur__inner {
    padding: 22px 56px;
    gap: 64px;
  }
}

/* Logo */
.nav-blur__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.nav-blur__logo:hover { opacity: 0.78; }
.nav-blur__logo img {
  height: 40px;
  width: auto;
  display: block;
  filter: invert(1) sepia(0.15) saturate(0.6) brightness(0.18) hue-rotate(-8deg);
}
@media (min-width: 768px) {
  .nav-blur__logo img { height: 64px; }
}
@media (min-width: 1024px) {
  .nav-blur__logo img { height: 76px; }
}

/* Center menu */
.nav-blur__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: center;
}
@media (min-width: 1024px) {
  .nav-blur__menu { gap: 44px; }
}

.nav-blur__link {
  font-family: 'Dozed', 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.4s cubic-bezier(0.22,1,0.36,1);
  white-space: nowrap;
}
.nav-blur__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent-honey);
  transition: width 0.7s cubic-bezier(0.22,1,0.36,1);
}
.nav-blur__link:hover::after,
.nav-blur__link[aria-current="page"]::after {
  width: 100%;
}
@media (min-width: 1024px) {
  .nav-blur__link { font-size: 15px; letter-spacing: 0.07em; }
}

/* Right rail */
.nav-blur__rail {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: end;
}

/* Lang switcher */
.nav-blur__lang {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Dozed', 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-blur__lang a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.4s;
  position: relative;
}
.nav-blur__lang a:hover { color: var(--text-primary); }
.nav-blur__lang a[aria-current="page"] { color: var(--text-primary); }
.nav-blur__lang a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--accent-honey);
}
.nav-blur__lang-dot {
  width: 3px;
  height: 3px;
  background: var(--text-tertiary);
  opacity: 0.4;
  border-radius: 50%;
  display: inline-block;
}

/* CTA */
.nav-blur__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Dozed', 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.4s;
}
.nav-blur__cta::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent-honey);
  transition: width 0.7s cubic-bezier(0.22,1,0.36,1);
}
.nav-blur__cta:hover::after { width: 100%; }
.nav-blur__arrow {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.nav-blur__cta:hover .nav-blur__arrow { transform: translateX(6px); }

/* Mobile hamburger — hidden on desktop, shown on mobile */
.nav-blur__toggle {
  display: none;
  width: 32px;
  height: 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  align-items: stretch;
  position: relative;
  z-index: 9999;
  justify-self: end;
}
.nav-blur__toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.5s cubic-bezier(0.65,0,0.35,1), opacity 0.3s;
  transform-origin: center;
}
.nav-blur__toggle.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.nav-blur__toggle.is-open span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile breakpoint — 2-column grid, hide menu + rail, show toggle */
@media (max-width: 767px) {
  .nav-blur__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
  }
  .nav-blur__menu,
  .nav-blur__rail {
    display: none;
  }
  .nav-blur__toggle {
    display: flex;
  }
}

/* Scroll states — applied via JS */
.nav-blur.nav-scrolled {
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  background: rgba(242, 235, 221, 0.78);
  box-shadow:
    0 8px 24px -8px rgba(26, 22, 17, 0.06),
    0 28px 56px -28px rgba(26, 22, 17, 0.14);
}
.nav-blur.nav-hidden {
  transform: translateY(-100%);
}

/* Soft fade-out below nav when scrolled */
.nav-blur::after {
  content: '';
  position: absolute;
  bottom: -48px;
  left: 0; right: 0;
  height: 48px;
  background: linear-gradient(180deg,
    rgba(242, 235, 221, 0.65) 0%,
    rgba(242, 235, 221, 0.32) 35%,
    rgba(242, 235, 221, 0.08) 70%,
    transparent 100%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.nav-blur.nav-scrolled::after { opacity: 1; }

/* HERO CTA group — explicit fallback layout without Tailwind */
.hero-text-col > div.fade-up {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 640px) {
  .hero-text-col > div.fade-up {
    flex-direction: row;
    align-items: center;
  }
}
/* (Old nav scroll/blur duplicates removed — handled by new component above) */

/* =============================================================
   CONTACT PAGE — channel cards + studio meta + form layout
   ============================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px; } }

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--bg-primary);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.6s cubic-bezier(0.22,1,0.36,1),
    border-color 0.6s cubic-bezier(0.22,1,0.36,1),
    background 0.6s cubic-bezier(0.22,1,0.36,1);
  min-height: 180px;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 1px;
  background: var(--accent-honey);
  transition: width 0.7s cubic-bezier(0.22,1,0.36,1);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 149, 54, 0.4);
  background: #FBF8F0;
}
.contact-card:hover::before { width: 100%; }
.contact-card__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.contact-card__value {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.contact-card__hint {
  font-size: 13px;
  font-style: italic;
  color: var(--text-tertiary);
  margin-top: auto;
}
.contact-card__arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-size: 18px;
  color: var(--accent-honey);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.contact-card:hover .contact-card__arrow {
  transform: translate(4px, -4px);
}

/* Studio meta — definition list */
.studio-meta {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.studio-meta__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.studio-meta__row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 640px) {
  .studio-meta__row { grid-template-columns: 200px 1fr; gap: 32px; align-items: baseline; }
}
.studio-meta__row dt {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-tertiary);
}
.studio-meta__row dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
}

/* Contact form — reuses quote-form styles */
.contact-form {
  max-width: 920px;
  margin: 0 auto;
}

/* CONTAINER */
.container-page { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container-page { padding: 0 56px; } }

/* SECTION */
.section { padding: 120px 0; }
@media (min-width: 768px) { .section { padding: 200px 0; } }
.section-mid { padding: 96px 0; }
@media (min-width: 768px) { .section-mid { padding: 152px 0; } }
.section-tight { padding: 64px 0; }
@media (min-width: 768px) { .section-tight { padding: 104px 0; } }

/* PAGE PROGRESS INDICATOR */
.page-progress {
  position: fixed;
  top: 76px;
  right: 0;
  width: 2px;
  height: calc(100vh - 76px);
  z-index: 60;
  pointer-events: none;
}
.page-progress-bar {
  width: 100%;
  height: 100%;
  background: var(--accent-honey);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.1s linear;
  opacity: 0.6;
}

/* CAROUSEL — studio archive horizontal scroll */
.carousel-wrap {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding-bottom: 24px;
  scroll-behavior: smooth;
}
.carousel-wrap.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.carousel-wrap::-webkit-scrollbar { height: 0; display: none; }
.carousel-wrap { scrollbar-width: none; -ms-overflow-style: none; }

.carousel-track {
  display: flex;
  gap: 16px;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .carousel-track { gap: 24px; padding: 0 56px; }
}

.carousel-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 78vw;
  max-width: 320px;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  margin: 0;
  background: var(--bg-tertiary);
  user-select: none;
}
@media (min-width: 768px) {
  .carousel-card { width: 380px; max-width: 380px; }
}
@media (min-width: 1024px) {
  .carousel-card { width: 440px; max-width: 440px; }
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  filter: sepia(0.06) saturate(0.92) contrast(1.02);
}
.carousel-card:hover img {
  transform: scale(1.03);
  filter: sepia(0) saturate(1) contrast(1);
}

.carousel-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.carousel-counter {
  font-size: 13px;
  font-style: italic;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  font-family: 'Dozed', 'DM Sans', system-ui, sans-serif;
}
.carousel-progress-track {
  width: 100%;
  height: 1px;
  background: var(--line);
  position: relative;
  margin-top: 24px;
}
.carousel-progress-bar {
  position: absolute;
  left: 0; top: 0;
  height: 1px;
  background: var(--accent-honey);
  width: 4%;
  transition: width 0.2s ease;
}

/* HIDE NATIVE SCROLLBAR — Lenis handles smooth scroll, page-progress is sole indicator */
::-webkit-scrollbar { width: 0; height: 0; background: transparent; }
html { scrollbar-width: none; -ms-overflow-style: none; }
body { scrollbar-width: none; -ms-overflow-style: none; }

/* PAGE TRANSITION CURTAIN — slides UP on link click, slides UP off top on new page load */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--bg-secondary);
  transform: translateY(100%); /* default: below viewport, hidden */
  pointer-events: none;
  will-change: transform;
}
/* Honey hairline at TOP — leading edge of the upward sweep */
.page-curtain::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 1px;
  background: var(--accent-honey);
  opacity: 0.6;
}
/* Body has 'curtain-cover' class on initial HTML load — curtain covers viewport, no flicker */
body.curtain-cover .page-curtain {
  transform: translateY(0);
}
/* After page loaded — transition enabled, curtain slides UP off TOP of viewport */
body.curtain-ready .page-curtain {
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
body.curtain-exit .page-curtain {
  transform: translateY(-100%);
}
/* On link click — curtain slides UP FROM BOTTOM to cover (outgoing animation) */
body.curtain-leaving .page-curtain {
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .page-curtain { display: none !important; }
}

/* CORNER MARKS — editorial decorative */
.corner-mark {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--accent-honey);
  z-index: 3;
  pointer-events: none;
  opacity: 0.7;
}
.corner-tl {
  top: 28px;
  left: 28px;
  border-top: 1px solid var(--accent-honey);
  border-left: 1px solid var(--accent-honey);
}
.corner-br {
  bottom: 28px;
  right: 28px;
  border-bottom: 1px solid var(--accent-honey);
  border-right: 1px solid var(--accent-honey);
}
@media (min-width: 768px) {
  .corner-tl { top: 40px; left: 40px; width: 32px; height: 32px; }
  .corner-br { bottom: 40px; right: 40px; width: 32px; height: 32px; }
}

/* SECTION MARKER */
.section-marker { display: flex; align-items: center; gap: 20px; margin-bottom: 48px; }
.section-marker .marker-line { width: 56px; height: 1px; background: var(--accent-honey); flex-shrink: 0; }
.section-marker .marker-roman { font-style: italic; font-weight: 400; font-size: 15px; color: var(--accent-honey); }
.section-marker .marker-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--text-tertiary); }

/* QUOTE FORM — editorial minimal */
.quote-form {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
@media (min-width: 768px) {
  .form-row { grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 36px; }
}
.form-field { position: relative; }
.form-field-full { margin-bottom: 36px; }
.form-field label {
  display: block;
  font-family: 'Dozed', 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  transition: color 0.4s;
}
.form-field .required { color: var(--accent-honey); margin-left: 2px; }
.form-field .hint {
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  color: var(--text-tertiary);
  font-size: 11px;
  margin-left: 8px;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.4s, padding-left 0.4s cubic-bezier(0.22,1,0.36,1);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  letter-spacing: -0.003em;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--accent-honey);
  padding-left: 4px;
}
.form-field input:focus ~ label,
.form-field select:focus ~ label,
.form-field textarea:focus ~ label,
.form-field:focus-within label {
  color: var(--accent-honey);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-tertiary);
  opacity: 0.55;
  font-style: italic;
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  padding: 12px 0;
  line-height: 1.55;
  font-size: 16px;
}
.form-field select {
  cursor: pointer;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238A8275' d='M6 9L2 5h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.form-field input[type="file"] {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  padding: 16px 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--line-strong);
  width: 100%;
}
.form-field input[type="file"]::file-selector-button {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: 'Dozed', 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
  margin-right: 16px;
  border-radius: 0;
}
.form-field input[type="file"]::file-selector-button:hover {
  background: var(--accent-honey);
  border-color: var(--accent-honey);
  color: var(--bg-deep);
}

.form-privacy {
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-tertiary);
  margin-top: 32px;
  margin-bottom: 28px;
  max-width: 640px;
}
.form-privacy a { color: var(--text-secondary); }
.form-privacy a:hover { color: var(--accent-honey); }

.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-submit { margin-top: 8px; }

.form-status {
  font-size: 13px;
  font-style: italic;
  color: var(--text-tertiary);
  padding-left: 8px;
}
.form-status.is-error { color: #B53A2C; }
.form-status.is-success { color: var(--accent-honey); }

/* Success replacement state */
.form-success-state {
  display: none;
  text-align: center;
  padding: 56px 24px;
  border: 1px solid var(--accent-honey);
  background: rgba(201, 149, 54, 0.05);
}
.form-success-state.is-visible { display: block; }
.form-success-state .micro {
  color: var(--accent-honey);
  margin-bottom: 16px;
}

/* Honeypot — hide from real users */
.form-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* HONEY ELEMENTS */
.dot-honey { display: inline-block; width: 4px; height: 4px; background: var(--accent-honey); border-radius: 50%; vertical-align: middle; margin: 0 6px; }
.honey-line { width: 80px; height: 1px; background: var(--accent-honey); display: inline-block; }

/* LOGO */
.logo-img {
  display: block;
  width: auto;
  transition: opacity 0.3s ease;
}
.logo-img:hover { opacity: 0.78; }

/* Nav — light bg, invert white logo to warm near-black */
.logo-nav {
  height: 48px;
  filter: invert(1) sepia(0.15) saturate(0.6) brightness(0.18) hue-rotate(-8deg);
}
@media (min-width: 768px) {
  .logo-nav { height: 76px; }
}

/* MOBILE NAV TOGGLE (hamburger) */
.mobile-nav-toggle {
  width: 32px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 9999;
}
.mobile-nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text-primary);
  transition: transform 0.5s cubic-bezier(0.65,0,0.35,1), opacity 0.3s;
  transform-origin: center;
}
.mobile-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle.is-open span:nth-child(2) {
  transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE NAV OVERLAY */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: var(--bg-primary);
  transform: translateY(-100%);
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.mobile-nav-overlay.is-open {
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px 24px 40px;
}
.mobile-nav-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-inner ul a {
  display: block;
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s, padding-left 0.4s cubic-bezier(0.22,1,0.36,1);
}
.mobile-nav-inner ul a:hover,
.mobile-nav-inner ul a:focus {
  color: var(--accent-honey);
  padding-left: 12px;
}
.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-top: 40px;
}
.mobile-nav-footer .lang-switcher {
  font-size: 13px;
  letter-spacing: 0.22em;
}
.mobile-nav-footer .btn-primary {
  width: 100%;
  justify-content: center;
}
body.mobile-nav-open {
  overflow: hidden;
}
@media (min-width: 768px) {
  .mobile-nav-toggle { display: none; }
  .mobile-nav-overlay { display: none !important; }
}

/* Footer — dark bg, white logo as-is */
.logo-footer {
  height: 160px;
  opacity: 0.95;
}
@media (min-width: 768px) {
  .logo-footer { height: 220px; }
}
@media (min-width: 1024px) {
  .logo-footer { height: 260px; }
}

/* LANGUAGE SWITCHER — minimal editorial */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.lang-switcher a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.4s cubic-bezier(0.22,1,0.36,1);
  position: relative;
}
.lang-switcher a:hover { color: var(--text-primary); }
.lang-switcher a[aria-current="page"] {
  color: var(--text-primary);
}
.lang-switcher a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--accent-honey);
}
.lang-sep {
  width: 2px; height: 2px;
  background: var(--text-tertiary);
  border-radius: 50%;
  opacity: 0.4;
  display: inline-block;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 24px; padding-top: 120px; padding-bottom: 80px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: 0 56px; padding-top: 140px; padding-bottom: 100px; min-height: 100vh; }
}

/* HERO BACKGROUND — diagonal split: ABOVE = almost white warm, BELOW = bone */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    /* Honey warm spot upper-right */
    radial-gradient(ellipse 80% 60% at 75% 25%, rgba(201, 149, 54, 0.08), transparent 60%),
    /* Charcoal soft spot lower-left */
    radial-gradient(ellipse 70% 50% at 15% 85%, rgba(45, 40, 32, 0.05), transparent 60%),
    /* Diagonal split — ABOVE almost white, BELOW bone (warm) */
    linear-gradient(118deg,
      #FBF8F0 0%,
      #FBF8F0 46%,
      var(--bg-tertiary) 62%,
      var(--bg-tertiary) 100%);
}

/* HERO IMAGE (legacy, kept for fallback if user reverts) */
.hero-image { position: absolute; inset: 0; z-index: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(242,235,221,0.28) 0%, rgba(242,235,221,0.85) 60%, rgba(242,235,221,0.96) 100%);
}

/* ============================================
   LEVITATING PINS — ATF interactive hero element
   ============================================ */

.hero-pins {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.hero-pin-wrap {
  position: absolute;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hero-pin {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 12px 28px rgba(20, 17, 13, 0.18))
          drop-shadow(0 4px 12px rgba(20, 17, 13, 0.12));
  will-change: transform;
}

.hero-pin svg,
.hero-pin img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Float keyframe animations — three variants with different timings */
@keyframes pin-float-a {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}
@keyframes pin-float-b {
  0%, 100% { transform: translateY(-3px) rotate(2deg); }
  50% { transform: translateY(6px) rotate(-1deg); }
}
@keyframes pin-float-c {
  0%, 100% { transform: translateY(2px) rotate(0.8deg); }
  50% { transform: translateY(-7px) rotate(-2deg); }
}

.pin-float-a { animation: pin-float-a 6s ease-in-out infinite; }
.pin-float-b { animation: pin-float-b 7.5s ease-in-out infinite; }
.pin-float-c { animation: pin-float-c 5.5s ease-in-out infinite; }

/* Position presets — composition: text on left, main pin cluster on right */
/* 5 pins on right side, 1 small accent on left */

.pin-pos-1 { /* small left accent — far edge, doesn't compete with text */
  top: 32%;
  left: 3%;
  width: 56px; height: 56px;
}
.pin-pos-2 { /* main hero pin — large, upper right */
  top: 14%;
  right: 16%;
  width: 124px; height: 124px;
}
.pin-pos-3 { /* hexagonal — right edge accent */
  top: 32%;
  right: 4%;
  width: 92px; height: 92px;
}
.pin-pos-4 { /* mid-right prominent — anchor of the composition */
  top: 54%;
  right: 22%;
  width: 108px; height: 108px;
}
.pin-pos-5 { /* shield — lower right */
  bottom: 24%;
  right: 8%;
  width: 84px; height: 84px;
}
.pin-pos-6 { /* small ruthenium accent — mid composition */
  top: 64%;
  right: 38%;
  width: 64px; height: 64px;
}

/* Tablet — pin-pos-1 moved above headline as accent */
@media (max-width: 1023px) and (min-width: 768px) {
  .pin-pos-1 { top: 9%; left: 5%; width: 68px; height: 68px; }
  .pin-pos-2 { top: 12%; right: 8%; width: 96px; height: 96px; }
  .pin-pos-3 { top: 30%; right: 2%; width: 72px; height: 72px; }
  .pin-pos-4 { top: 56%; right: 14%; width: 84px; height: 84px; }
  .pin-pos-5 { bottom: 22%; right: 4%; width: 64px; height: 64px; }
  .pin-pos-6 { top: 62%; right: 28%; width: 50px; height: 50px; }
}

/* Mobile — 3 pins visible at viewport edges (peeking off-screen), avoid text overlap */
@media (max-width: 767px) {
  /* hide the 3 SVG fallback pins; keep PNG photo pins for cleaner mobile signature */
  .pin-pos-1, .pin-pos-3, .pin-pos-6 { display: none !important; }

  /* pin-pos-2 — top-right edge, peeks off the right */
  .pin-pos-2 {
    display: block !important;
    top: 6%;
    right: -28px;
    left: auto;
    width: 86px; height: 86px;
  }
  /* pin-pos-4 — mid-right, deeper peek off the right edge */
  .pin-pos-4 {
    display: block !important;
    top: 42%;
    right: -46px;
    left: auto;
    width: 78px; height: 78px;
  }
  /* pin-pos-5 — bottom center, hangs off the lower edge */
  .pin-pos-5 {
    display: block !important;
    bottom: -28px;
    right: 38%;
    left: auto;
    top: auto;
    width: 82px; height: 82px;
  }
}

/* Pin-pos-1 (left red round) — hidden globally; was overlapping headline text on every viewport */
.pin-pos-1 { display: none !important; }

/* Top-left corner mark — globally hidden as visual clutter near logo */
.corner-tl { display: none !important; }

/* HERO TEXT COLUMN — constrained left layout */
.hero-text-col {
  max-width: 560px;
  position: relative;
  z-index: 5; /* above pins for legibility */
}
@media (min-width: 1024px) {
  .hero-text-col { max-width: 600px; }
}
@media (min-width: 1440px) {
  .hero-text-col { max-width: 680px; }
}

/* Reduced motion — kill all float animations */
@media (prefers-reduced-motion: reduce) {
  .pin-float-a, .pin-float-b, .pin-float-c { animation: none; }
}

/* Hero content needs to sit ABOVE the pins */
.hero-content { z-index: 2; }
.hero-meta { z-index: 3; }
.hero-stamp { z-index: 3; }
.corner-mark { z-index: 4; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1480px; margin: 0 auto; }
.hero-meta {
  position: absolute;
  top: 40px; left: 0;
  display: flex; gap: 32px; z-index: 3;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: var(--text-secondary);
}
@media (min-width: 768px) { .hero-meta { top: 60px; } }
.hero-stamp { position: absolute; top: 40px; right: 0; z-index: 3; }
@media (min-width: 768px) { .hero-stamp { top: 60px; right: 0; } }

/* LIFESTYLE GRID */
.lifestyle-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
}
@media (min-width: 768px) { .lifestyle-grid { gap: 20px; grid-auto-rows: 220px; } }
.lg-1 { grid-column: span 7; grid-row: span 2; }
.lg-2 { grid-column: span 5; grid-row: span 1; }
.lg-3 { grid-column: span 5; grid-row: span 1; }
.lg-4 { grid-column: span 4; grid-row: span 2; }
.lg-5 { grid-column: span 4; grid-row: span 1; }
.lg-6 { grid-column: span 4; grid-row: span 1; }
@media (max-width: 767px) {
  .lifestyle-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .lg-1, .lg-2, .lg-3, .lg-4, .lg-5, .lg-6 { grid-column: span 1; grid-row: span 1; }
}

/* PRODUCTS */
.products-grid { display: grid; grid-template-columns: 1fr; gap: 80px 64px; }
@media (min-width: 768px) { .products-grid { grid-template-columns: 1fr 1fr; } }
.product-art { background: var(--bg-secondary); }

/* CASE CARD */
.case-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 80px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
@media (min-width: 768px) {
  .case-card { grid-template-columns: 1.6fr 1fr; gap: 80px; padding: 140px 0; align-items: end; }
}
.case-card:last-child { border-bottom: 1px solid var(--line); }
.case-card.flipped > .case-img { grid-column: 1; }
@media (min-width: 768px) {
  .case-card.flipped > .case-img { grid-column: 2; }
  .case-card.flipped > .case-content { grid-column: 1; grid-row: 1; }
}
.case-num {
  position: absolute;
  top: 80px; right: 0;
  font-size: 90px;
  font-weight: 300; font-style: italic;
  color: var(--accent-honey);
  opacity: 0.18;
  letter-spacing: -0.04em;
  line-height: 1;
}
@media (max-width: 767px) { .case-num { font-size: 60px; top: 40px; } }
.case-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 40px;
}
.case-meta dt {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: var(--text-tertiary); margin-bottom: 6px;
}
.case-meta dd { font-size: 15px; line-height: 1.4; font-style: italic; font-weight: 400; }

/* DECORATIVE */
.editorial-rule {
  display: flex; align-items: center; gap: 20px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 500;
}
.editorial-rule::before, .editorial-rule::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

/* NO SCROLLBAR */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* SMOOTH SCROLL */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* FOOTER */
.footer-deep {
  background: var(--bg-deep);
  color: var(--bg-primary);
  font-family: 'Dozed', 'DM Sans', system-ui, sans-serif;
}
.footer-deep .craft-img {
  filter: sepia(0.3) saturate(0.6) contrast(1.15) brightness(0.78);
}

/* NAV MENU + LANG SWITCHER — Dozed for editorial brand consistency */
.nav-blur a.caption {
  font-family: 'Dozed', 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.nav-blur .lang-switcher,
.nav-blur .lang-switcher a {
  font-family: 'Dozed', 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.10em;
}
@media (min-width: 1024px) {
  .nav-blur a.caption { font-size: 15px; letter-spacing: 0.07em; }
}

/* MOBILE NAV — Dozed for menu items */
.mobile-nav-overlay,
.mobile-nav-overlay a,
.mobile-nav-inner ul a {
  font-family: 'Dozed', 'DM Sans', system-ui, sans-serif;
}

/* ============================== */
/* ARCHIVE PAGE — Realizacje grid */
/* ============================== */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 48px 32px;
}
@media (min-width: 640px) { .archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .archive-grid { grid-template-columns: repeat(3, 1fr); gap: 80px 40px; } }

.archive-card { display: block; text-decoration: none; color: inherit; }
.archive-card .archive-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}
.archive-card .archive-img-wrap img {
  transition: transform 1.4s cubic-bezier(0.22,1,0.36,1);
}
.archive-card:hover .archive-img-wrap img { transform: scale(1.04); }
.archive-card .archive-num {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  background: rgba(20,17,13,0.5);
  padding: 6px 10px;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.archive-card .archive-title {
  font-size: clamp(22px, 1.6vw, 28px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin-bottom: 8px;
  transition: color 0.4s;
}
.archive-card:hover .archive-title { color: var(--accent-honey); }
.archive-card .archive-meta {
  font-size: 13px;
  color: var(--text-tertiary);
  font-style: italic;
  letter-spacing: -0.005em;
}

/* FILTER CHIPS */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
}
.filter-chip:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}
.filter-chip.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}
.filter-chip .count {
  font-size: 10px;
  opacity: 0.7;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}

/* ============================== */
/* CASE DETAIL PAGE */
/* ============================== */
.case-detail-hero {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  padding: 0 24px;
  padding-bottom: 80px;
  padding-top: 120px;
}
@media (min-width: 768px) {
  .case-detail-hero { padding: 0 56px; padding-bottom: 120px; padding-top: 140px; }
}
.case-detail-hero-img { position: absolute; inset: 0; z-index: 0; }
.case-detail-hero-img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.28) saturate(0.78) contrast(1.08) brightness(0.84); }
.case-detail-hero-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,13,0.4) 0%, rgba(20,17,13,0.1) 30%, rgba(20,17,13,0.7) 100%);
}
.case-detail-hero-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  color: var(--bg-primary);
}
.case-detail-hero-content .micro,
.case-detail-hero-content .caption-italic {
  color: rgba(242, 235, 221, 0.78);
}

.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(242, 235, 221, 0.7);
}
.breadcrumb a { color: inherit; text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent-honey); }
.breadcrumb .sep {
  width: 18px; height: 1px;
  background: rgba(242, 235, 221, 0.4);
  display: inline-block;
}

.case-detail-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  .case-detail-meta { grid-template-columns: repeat(4, 1fr); }
}
.case-detail-meta dt {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: var(--text-tertiary); margin-bottom: 8px;
}
.case-detail-meta dd {
  font-size: 16px; line-height: 1.4; font-style: italic; font-weight: 400;
}

.gallery-figure { position: relative; }
.gallery-figure figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-tertiary);
  font-style: italic;
  line-height: 1.5;
}

.gallery-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .gallery-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.pull-quote {
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-primary);
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 32px 0;
}
.pull-quote::before {
  content: '“';
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  font-size: 80px;
  color: var(--accent-honey);
  line-height: 1;
  font-family: Georgia, serif;
}

.divider-honey {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-honey-soft), transparent);
}


/* ========== CHAR COUNTER (textarea min length indicator) ========== */
.char-counter {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 6px;
  text-align: right;
  transition: color 0.2s ease;
}
.char-counter.is-short {
  color: #a0522d;
}
.char-counter.is-ok {
  color: #4a6b3a;
}
.char-counter.is-ok::before {
  content: '✓ ';
  margin-right: 2px;
}


/* ========== CUSTOM FILE UPLOADER (add-remove-per-file UX) ========== */
.file-uploader {
  margin-top: 4px;
}
.file-uploader__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.file-uploader__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.3);
  color: rgba(0,0,0,0.75);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.file-uploader__trigger:hover {
  border-color: rgba(0,0,0,0.65);
  color: rgba(0,0,0,0.95);
  background: rgba(0,0,0,0.02);
}
.file-uploader__trigger:focus-visible {
  outline: 2px solid rgba(0,0,0,0.6);
  outline-offset: 2px;
}
.file-uploader__icon {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 300;
}

.file-uploader__list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.file-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 14px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 0.85rem;
  animation: chipIn 0.18s ease-out;
}
@keyframes chipIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}
.file-chip__name {
  flex: 1;
  color: rgba(0,0,0,0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.file-chip__size {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  color: rgba(0,0,0,0.5);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.file-chip__remove {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: rgba(0,0,0,0.4);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}
.file-chip__remove:hover {
  background: rgba(160, 40, 40, 0.08);
  color: rgba(160, 40, 40, 0.9);
}
.file-chip__remove:focus-visible {
  outline: 2px solid rgba(0,0,0,0.5);
  outline-offset: 1px;
}

.file-list__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px 0;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
}
.file-list__summary .is-over {
  color: #a0522d;
  font-weight: 500;
}
