/* ==========================================================================
   Empire of Ink Kraków · Clean iOS Minimalism Design System
   Calm grotesque typography, WCAG AA contrast (>= 4.5:1), liquid-glass cards
   ========================================================================== */

:root {
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --bg-subtle: #ededf2;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --surface-glass-strong: rgba(255, 255, 255, 0.94);

  --line: rgba(29, 29, 31, 0.09);
  --line-strong: rgba(29, 29, 31, 0.2);

  /* Text tokens verified for >= 4.5:1 contrast on #fbfbfd and #f5f5f7 */
  --text: #1d1d1f;           /* 16.5:1 */
  --text-secondary: #424245; /* 9.7:1 */
  --text-muted: #59595e;     /* 6.65:1 on #fbfbfd, 6.27:1 on #f5f5f7 */

  --accent: #1d1d1f;
  --accent-hover: #333336;
  --focus-ring: #0066cc;

  /* Gift-card accents (legacy token names used in gift.html) */
  --bone-mute: #8e8e93;
  --gold-soft: #d8c7a3;

  --success: #1e7e34;
  --success-dot: #28cd41;
  --success-bg: #f2fbf5;
  --success-border: rgba(30, 126, 52, 0.26);

  --danger: #c92a2a;         /* 5.68:1 on light surfaces */
  --danger-bg: #fff5f5;
  --danger-border: rgba(201, 42, 42, 0.28);

  --shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-soft: 0 16px 44px -16px rgba(0, 0, 0, 0.08), 0 2px 10px -2px rgba(0, 0, 0, 0.04);
  --shadow-glass: 0 20px 52px -20px rgba(29, 29, 31, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);

  --f-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1320px;
  --header-h: 68px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
}

@view-transition {
  navigation: auto;
}

/* ---------- Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

em {
  font-style: normal;
}

::selection {
  background: var(--text);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

/* ---------- Accessibility: Skip Link & Honeypot ---------- */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.7rem 1.15rem;
  border-radius: 980px;
  background: var(--text);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography (Calm iOS Grotesque, No Serif, No Italics) ---------- */
.display {
  font-family: var(--f-sans);
  font-weight: 600;
  font-style: normal;
  line-height: 1.07;
  letter-spacing: -0.034em;
}

.display em,
.intro__text em {
  font-style: normal;
  color: var(--text-muted);
}

.h1 {
  font-size: clamp(2.35rem, 5vw, 4.35rem);
}

.h2 {
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  line-height: 1.1;
}

.h3 {
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  line-height: 1.22;
  letter-spacing: -0.022em;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.7;
}

.lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 44ch;
  line-height: 1.58;
  letter-spacing: -0.01em;
}

.muted {
  color: var(--text-muted);
}

.num {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(4.2rem, 9vw, 7.5rem) 0;
  position: relative;
}

.section--tight {
  padding: clamp(3rem, 6vw, 4.8rem) 0;
}

.section--alt {
  background: var(--bg-alt);
}

/* ---------- Scroll Progress ---------- */
.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: var(--text);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  z-index: 820;
  pointer-events: none;
}

/* ---------- Header (iOS Frosted Navigation Bar) ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 800;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.45s var(--ease), background 0.3s;
}

.header.is-scrolled {
  background: rgba(251, 251, 253, 0.9);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding-inline: var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  min-width: 0;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand__name {
  display: block;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand__sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  margin-top: 0.15rem;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.nav a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher (SEO links PL / EN) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem;
  border-radius: 980px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 600;
}

.lang-switch a {
  padding: 0.26rem 0.62rem;
  border-radius: 980px;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.lang-switch a:hover {
  color: var(--text);
}

.lang-switch a[aria-current="true"],
.lang-switch a.is-active {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  position: relative;
}

.burger:hover {
  background: var(--bg-alt);
}

.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.burger span:nth-child(1) {
  top: 17px;
}

.burger span:nth-child(2) {
  top: 24px;
}

.burger span:nth-child(3) {
  display: none;
}

.is-menu .burger span:nth-child(1) {
  top: 20.5px;
  transform: rotate(45deg);
}

.is-menu .burger span:nth-child(2) {
  top: 20.5px;
  transform: rotate(-45deg);
}

/* Mobile Drawer */
.menu {
  position: fixed;
  inset: 0;
  z-index: 790;
  background: rgba(251, 251, 253, 0.97);
  backdrop-filter: saturate(180%) blur(26px);
  -webkit-backdrop-filter: saturate(180%) blur(26px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0s 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 2rem) var(--pad) 2.2rem;
  overflow-y: auto;
}

.is-menu .menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s var(--ease);
}

.menu__nav {
  display: grid;
  gap: 0.4rem;
}

.menu__nav a {
  display: block;
  font-size: clamp(1.65rem, 6vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  padding: 0.45rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}

.menu__nav a[aria-current="page"],
.menu__nav a:hover {
  color: var(--text);
}

.menu__meta {
  margin-top: 2rem;
  display: grid;
  gap: 0.55rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.menu__meta > div {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.menu__meta > div a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.menu__meta > div a[aria-current="page"],
.menu__meta > div a:hover {
  color: var(--text);
}

.menu .lang-switch--mobile {
  width: fit-content;
  margin-bottom: 0.8rem;
}

@media (max-width: 1080px) {
  .nav,
  .header__cta .btn--ghost {
    display: none;
  }
  .burger {
    display: inline-block;
  }
}

@media (max-width: 560px) {
  .header__cta > .lang-switch {
    display: none;
  }
  .header__cta .btn--solid {
    padding: 0.56rem 0.95rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 520px) {
  .header__inner {
    padding-inline: 1.15rem;
    gap: 0.75rem;
  }
  .header__cta {
    display: none;
  }
  .brand__sub {
    font-size: 0.64rem;
  }
}

/* ---------- Buttons & Links (Clean iOS Pill Controls) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 980px;
  border: 1px solid var(--line-strong);
  background: var(--surface-glass-strong);
  color: var(--text);
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover {
  background: var(--bg-subtle);
  border-color: rgba(29, 29, 31, 0.32);
}

.btn:active {
  transform: scale(0.985);
}

.btn--solid {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn--solid:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
}

.btn--ghost {
  padding: 0.58rem 1.05rem;
  font-size: 0.84rem;
  background: var(--bg-alt);
  border-color: var(--line);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.65;
}

.link-arrow {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.25rem;
  transition: border-color 0.25s, gap 0.25s var(--ease);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
}

.link-arrow:hover {
  border-color: var(--text);
  gap: 0.7rem;
}

/* ---------- Subtle Reveal Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.img-reveal {
  overflow: hidden;
  position: relative;
}

.img-reveal img {
  transform: scale(1.03);
  transition: transform 0.9s var(--ease);
}

.img-reveal.is-in img {
  transform: scale(1);
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(2.5rem, 5vw, 4.2rem)) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__content {
  display: grid;
  gap: 1.35rem;
  justify-items: start;
}

.hero__title {
  max-width: 17ch;
}

.hero__title .indent {
  display: block;
  padding-left: clamp(0rem, 4.5vw, 4rem);
}

.hero__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: var(--bg-alt);
}

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

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.hero__meta div {
  display: grid;
  gap: 0.25rem;
}

.hero__meta strong {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
}

.hero__meta span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }
  .hero__content {
    order: -1;
  }
  .hero__media {
    aspect-ratio: 16 / 10;
  }
  .hero__meta {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__title .indent {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .hero__meta {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* ---------- Studio Intro ---------- */
.intro {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.intro__text {
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.025em;
  color: var(--text);
}

.intro__img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--bg-alt);
}

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

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

/* ---------- Styles List (Hover Preview) ---------- */
.styles {
  border-top: 1px solid var(--line);
}

.style-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.55rem 0.5rem;
  border-bottom: 1px solid var(--line);
  border-radius: 10px;
  transition: background 0.25s var(--ease), padding-inline 0.25s var(--ease);
}

.style-row:hover {
  background: var(--bg-alt);
  padding-inline: 1rem;
}

.style-row__n {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.style-row__t {
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--text);
}

.style-row__d {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 32ch;
  text-align: right;
}

.float-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  aspect-ratio: 3 / 4;
  pointer-events: none;
  z-index: 700;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease);
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 5px;
  background: var(--surface-glass-strong);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-glass);
}

.float-img.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.float-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}

@media (max-width: 760px) {
  .style-row {
    grid-template-columns: 2.5rem 1fr;
  }
  .style-row__d,
  .float-img {
    display: none;
  }
}

/* ---------- Section Head & Carousel ---------- */
.s-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
  flex-wrap: wrap;
}

.s-head .h2 {
  margin-top: 0.65rem;
}

.carousel-controls {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: inline-grid;
  place-items: center;
  color: var(--text);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.icon-btn:hover {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.h-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 23vw);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding: 0 var(--pad) 1rem;
  scrollbar-width: none;
  cursor: grab;
}

.h-scroll::-webkit-scrollbar {
  display: none;
}

.h-scroll.is-drag {
  cursor: grabbing;
  scroll-snap-type: none;
}

.artist-card {
  scroll-snap-align: start;
  display: grid;
  gap: 0.85rem;
}

.artist-card__img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.artist-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.artist-card:hover .artist-card__img img {
  transform: scale(1.04);
}

.artist-card__initial {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-xs);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text);
}

.artist-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.artist-card__name {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.artist-card__style {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile: show two artist cards side by side with a gap. */
@media (max-width: 560px) {
  .h-scroll {
    grid-auto-columns: calc((100vw - (var(--pad) * 2) - 0.9rem) / 2);
    gap: 0.9rem;
  }

  .artist-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .artist-card__name {
    font-size: 1rem;
  }

  .artist-card__style {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .artist-card__initial {
    width: 26px;
    height: 26px;
    top: 0.55rem;
    left: 0.55rem;
    font-size: 0.68rem;
  }
}

/* ---------- Process Steps (iOS Cards) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.step__n {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--line);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

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

/* ---------- Feature Split ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.feature--rev .feature__media {
  order: 2;
}

.feature__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--bg-alt);
}

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

.feature__body {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

@media (max-width: 860px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .feature--rev .feature__media {
    order: 0;
  }
}

/* ---------- Rating & Reviews ---------- */
.rating {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
}

.rating__score {
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stars {
  display: flex;
  gap: 4px;
  color: var(--text);
}

.stars svg {
  width: 16px;
  height: 16px;
}

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

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.4rem;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.cta .lead {
  text-align: center;
}

/* ---------- Footer (Clean, Without Giant Decorative Title) ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: clamp(3.5rem, 7vw, 5.2rem) 0 2.2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
}

.footer__lead {
  margin-top: 1.15rem;
  max-width: 34ch;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.footer__col {
  min-width: 0;
}

.footer h3 {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.footer a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal-links {
  display: inline-flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer__legal-links a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal-links a:hover {
  color: var(--text);
}

@media (max-width: 860px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__top > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__top > :first-child {
    grid-column: auto;
  }
}

/* ==========================================================================
   Sub-pages
   ========================================================================== */
.page-hero {
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(2.2rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: end;
}

.page-hero .h1 {
  margin-top: 0.85rem;
}

.page-hero__index {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 800px) {
  .page-hero__grid {
    grid-template-columns: 1fr;
  }
}

.page-head {
  padding: calc(var(--header-h) + clamp(2.6rem, 6vw, 4.6rem)) 0 clamp(2rem, 4vw, 3.2rem);
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.page-head .lead {
  max-width: 62ch;
}

/* ---------- Artists Page ---------- */
.artist {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.artist:nth-child(even) .artist__media {
  order: 2;
}

.artist__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--bg-alt);
}

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

.artist__body {
  display: grid;
  gap: 1.2rem;
  align-content: center;
}

.artist__name {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.tags {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  border-radius: 980px;
  color: var(--text-secondary);
}

.artist__samples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.artist__samples a {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

.artist__samples img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.artist__samples a:hover img {
  transform: scale(1.06);
}

.artist__facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.artist__facts strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.artist__facts span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .artist {
    grid-template-columns: 1fr;
  }
  .artist:nth-child(even) .artist__media {
    order: 0;
  }
}

/* ---------- Gallery & Keyboard-Accessible Lightbox ---------- */
.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.filter {
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 980px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-alt);
  transition: all 0.22s var(--ease);
}

.filter:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.filter.is-active {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);
}

.filter__count {
  font-size: 0.76rem;
  opacity: 0.75;
  margin-left: 0.35rem;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.g-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  background: var(--bg-alt);
  cursor: zoom-in;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease);
}

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

@media (max-width: 560px) {
  .masonry {
    gap: 0.85rem;
  }
}

.g-item:hover img,
.g-item:focus-visible img {
  transform: scale(1.03);
}

.g-item figcaption {
  display: none;
}

.g-item figcaption b {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.g-item__artist {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.g-item.is-hidden {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 960;
  background: rgba(251, 251, 253, 0.92);
  backdrop-filter: saturate(180%) blur(26px);
  -webkit-backdrop-filter: saturate(180%) blur(26px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0s 0.3s;
  padding: 4.5rem 1.25rem;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s var(--ease);
}

.lightbox img {
  max-height: 80vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
}

.lightbox__cap {
  position: absolute;
  left: var(--pad);
  bottom: 1.8rem;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text);
}

.lightbox__btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  background: var(--surface-glass-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

.lightbox__btn:hover {
  background: var(--text);
  color: #ffffff;
}

.lightbox__btn svg {
  width: 18px;
  height: 18px;
}

.lightbox__close {
  top: 1.25rem;
  right: var(--pad);
}

.lightbox__prev {
  left: var(--pad);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 720px) {
  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 1.25rem;
    transform: none;
  }
  .lightbox__prev {
    left: auto;
    right: calc(var(--pad) + 58px);
  }
  .lightbox__cap {
    bottom: 2rem;
    max-width: 55vw;
    font-size: 0.88rem;
  }
}

/* ---------- Services, Price List & Estimator ---------- */
.two-col {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(2rem, 5vw, 5rem);
}

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

.price-list {
  border-top: 1px solid var(--line);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.price-row h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.price-row p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.price-row .price {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--text);
}

.price-row .price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-right: 0.35rem;
}

.estimator {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.estimator > * {
  min-width: 0;
}

.estimator__out {
  display: grid;
  align-content: center;
  gap: 0.65rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-xs);
}

.estimator__value {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.field-group {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

.field-group > label,
.field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(29, 29, 31, 0.16);
  outline: none;
}

.range:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 6px;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  cursor: grab;
  border: 2px solid var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--text);
  cursor: grab;
}

.range-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;
  padding: 0.52rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 980px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.chip input:checked + span {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

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

/* ---------- Aftercare & FAQ ---------- */
.care {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.care > div {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.care h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.care p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

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

.faq {
  border-top: 1px solid var(--line);
}

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

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

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

.faq summary i {
  width: 16px;
  height: 16px;
  position: relative;
  flex: none;
}

.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease);
}

.faq summary i::after {
  transform: rotate(90deg);
}

.faq details[open] summary i::after {
  transform: rotate(0);
}

.faq__body {
  overflow: hidden;
  height: 0;
  transition: height 0.4s var(--ease);
}

.faq__body p {
  padding-bottom: 1.4rem;
  color: var(--text-secondary);
  max-width: 64ch;
  font-size: 0.95rem;
}

/* ---------- Gift Card 3D Stage ---------- */
.gift-stage {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.gift-card-wrap {
  perspective: 1200px;
  display: grid;
  justify-items: center;
  gap: 1rem;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.gift-card {
  aspect-ratio: 1.586;
  width: min(500px, 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, #2c2c2e 0%, #1c1c1e 55%, #111113 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f5f5f7;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.gift-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 48%, transparent 62%);
  transform: translateX(var(--shine, -40%));
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}

.gift-card__top {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.gift-card__top svg {
  width: 44px;
  height: 44px;
  color: #ffffff;
}

.gift-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.gift-card__sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.2rem;
  letter-spacing: 0.06em;
}

.gift-card__amount {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
}

.gift-card__note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34ch;
  min-height: 1.3em;
}

.gift-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.76);
}

.gift-card__to {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 0.15rem;
}

.gift-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 940px) {
  .gift-stage {
    grid-template-columns: 1fr;
  }
  .gift-card-wrap {
    position: static;
  }
}

/* ---------- Clean iOS Forms, Error & Success States ---------- */
.form-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.form {
  display: grid;
  gap: 1.15rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.38rem;
  align-content: start;
}

.field label {
  order: -1;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(29, 29, 31, 0.16);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 0.96rem;
  padding: 0.76rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'><path d='M4 6l4 4 4-4' stroke='%23424245' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
}

.field textarea {
  resize: vertical;
  min-height: 118px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.08);
}

.field__err {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--danger);
  min-height: 1.05em;
}

.field.is-error input,
.field.is-error textarea,
.field.is-error select {
  border-color: var(--danger);
  background-color: #fffafa;
}

.check-wrap {
  display: grid;
  gap: 0.3rem;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  cursor: pointer;
}

.check a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check input {
  accent-color: var(--text);
  width: 17px;
  height: 17px;
  margin-top: 0.18rem;
  flex-shrink: 0;
}

.form__error {
  display: none;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--text);
  gap: 0.75rem;
}

.form__error.is-visible {
  display: grid;
}

.form__error-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--danger);
}

.form__error p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.form__error-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.form__status {
  display: none;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--success-border);
  background: var(--success-bg);
  text-align: left;
}

.form.is-sent > :not(.form__status) {
  display: none;
}

.form.is-sent .form__status {
  display: grid;
  gap: 0.65rem;
}

.prefill-banner {
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.prefill-banner button {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.prefill-banner button:hover {
  color: var(--text);
}

.hidden {
  display: none !important;
}

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

/* ---------- Contact & Apple-Style Map Card ---------- */
.contact {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.info-list {
  display: grid;
  gap: 1.75rem;
}

.info-list dt {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.info-list dd {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.info-list dd a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hours {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 0.35rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.open-now {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 980px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.open-now::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.open-now.is-open::before {
  background: var(--success-dot);
  box-shadow: 0 0 0 4px rgba(40, 205, 65, 0.18);
}

.map-card {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.map-card__head {
  padding: 1.15rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.map-card__frame {
  aspect-ratio: 21 / 8;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.map-card__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.85) contrast(1.03);
}

.map-card__bar {
  padding: 1.15rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.map-card__title {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text);
}

.map-card__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.map-card__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.map {
  aspect-ratio: 21 / 8;
  background: var(--bg-alt);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.85) contrast(1.03);
}

@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .map,
  .map-card__frame {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Legal / RODO Prose (privacy.html) ---------- */
.prose {
  max-width: 78ch;
  display: grid;
  gap: 1.75rem;
}

.prose section {
  display: grid;
  gap: 0.7rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.prose section:last-child {
  border-bottom: 0;
}

.prose h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

.prose ul {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.prose a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-placeholder {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  background: #fff8db;
  border: 1px solid rgba(180, 130, 0, 0.35);
  color: #5c4400;
  font-size: 0.88em;
  font-weight: 600;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100svh - 160px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 4rem) var(--pad) 4rem;
}

.notfound__code {
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

/* ---------- No-JS Fallback ---------- */
@media (scripting: none) {
  .reveal,
  .img-reveal img {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .img-reveal img {
    opacity: 1;
    transform: none;
  }
  @view-transition {
    navigation: none;
  }
}
