/* ============================================================
   The Weds by Irina · Fotograf nuntă Cluj-Napoca
   Palette sampled from the live photo set: cool porcelain and greige
   grounds, neutral noir, bronze/sand metals, crimson from the red-salon
   bridal shoot. Bodoni Moda (didone display) + Jost (geometric sans).
   Motion: phase-shifting canvas (the day turning into night),
   masked image reveals, split-line type, quiet parallax, grain.
   ============================================================ */

:root {
  /* Palette sampled from the current photo set: cool porcelain whites,
     neutral blacks, and the crimson of the red-salon bridal shoot. */
  --porcelain:  #F1EFEC;
  --greige:     #E3DFDA;
  --pearl:      #DFDEE2;
  --noir:       #121110;
  --ink:        #16130F;
  --bronze:     #9A8B79;
  --sand:       #C9B79C;
  --crimson:    #5C0A10;
  --muted:      #6A6259;
  --hairline:   rgba(22, 19, 15, .16);
  --hairline-l: rgba(241, 239, 236, .22);

  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans:  "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 34em;

  --ease-out:   cubic-bezier(.16, 1, .3, 1);
  --ease-quint: cubic-bezier(.22, 1, .36, 1);
  --ease-mask:  cubic-bezier(.77, 0, .175, 1);

  --canvas: var(--porcelain);
  --fg:     var(--ink);
  --accent: var(--crimson);
  --line:   var(--hairline);
}

html[data-phase="parchment"] { --canvas: var(--greige); }
html[data-phase="golden"]    { --canvas: var(--pearl); }
html[data-phase="night"] {
  --canvas: var(--noir);
  --fg:     var(--porcelain);
  --muted:  var(--sand);
  --accent: var(--sand);
  --line:   var(--hairline-l);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: .012em;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 1.1s ease, color 1.1s ease;
}

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

a { color: inherit; }

::selection { background: var(--bronze); color: var(--noir); }

/* ---------- film grain ---------- */

.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 90;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .05;
  mix-blend-mode: soft-light;
}

@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grain-shift .8s steps(8) infinite; }
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(1%, -1.5%); }
  75%  { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

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

h1, h2, h3, .display,
.display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.04;
  letter-spacing: -.005em;
  margin: 0;
  text-wrap: balance;
}

h1 em, h2 em, h3 em, .display em,
.display-xl em, .display-lg em, .display-md em, .display-sm em, .accent-i {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  transition: color 1.1s ease;
}

.hero h1 em, .hero .display-xl em, .hero .eyebrow,
.site-foot .display-md em { color: var(--sand); }

.display-xl { font-size: clamp(2.75rem, 8.5vw, 7.5rem); }
.display-lg { font-size: clamp(2.25rem, 5.5vw, 4.5rem); }
.display-md { font-size: clamp(1.75rem, 3.6vw, 3rem); }
.display-sm { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.18; }

.eyebrow {
  font-family: var(--sans);
  font-size: .6875rem;
  font-weight: 500;
  font-feature-settings: "case" 1;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 1.1s ease;
  margin: 0 0 1.4rem;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  max-width: var(--measure);
}

.body-copy { max-width: var(--measure); }
.body-copy p { margin: 0 0 1.2em; }

.time-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--bronze);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}

.time-mark::after {
  content: "";
  flex: 0 1 7rem;
  height: 1px;
  background: currentColor;
  opacity: .5;
}

/* big ghosted hour numeral: structure = the day's chronology */
.act { position: relative; }

.act-hour {
  position: absolute;
  top: clamp(1rem, 4vw, 3rem);
  right: var(--pad);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(5rem, 14vw, 13rem);
  line-height: 1;
  color: var(--fg);
  opacity: .07;
  pointer-events: none;
  user-select: none;
  transition: color 1.1s ease;
}

/* split-line reveals */
.line { display: block; overflow: clip; }
.line-inner { display: block; }

@media (prefers-reduced-motion: no-preference) {
  html.js [data-split]:not(.is-split) { opacity: 0; }
  .is-split .line-inner {
    transform: translateY(112%);
    transition: transform 1.05s var(--ease-quint) calc(var(--i, 0) * 110ms);
  }
  .is-ready .is-split .line-inner,
  .in .line-inner,
  .is-split.in .line-inner { transform: none; }
}

/* ---------- structure ---------- */

.section { padding: clamp(4.5rem, 10vw, 8.5rem) var(--pad); }

.section--flush { padding-top: 0; }

.wrap { max-width: 82rem; margin: 0 auto; }

/* static tinted sections for subpages (no phase machinery) */
.on-dark { background: var(--noir); color: var(--porcelain); --muted: var(--sand); --accent: var(--sand); --line: var(--hairline-l); }
.on-parchment { background: var(--greige); }

/* homepage: phase sections stay transparent, the body canvas carries color */
section[data-phase] { background: transparent; }

.rule { border: 0; height: 1px; background: var(--line); margin: 0; transition: background-color 1.1s ease; }

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

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad);
  transition: background .45s var(--ease-out), color .45s var(--ease-out), box-shadow .45s;
  color: var(--porcelain);
}

.site-head.is-solid {
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--fg);
  box-shadow: 0 1px 0 var(--line);
}

.site-head.head-dark { color: var(--porcelain); }
.site-head.head-light { color: var(--ink); }
.site-head.is-solid.head-dark, .site-head.is-solid.head-light { color: var(--fg); }

.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}

.lang-toggle {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: inherit;
  background: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: .32rem .66rem;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
  margin-left: 1.1rem;
}
@media (max-width: 1152px) { .lang-toggle { margin-right: .6rem; } }
.lang-toggle:hover { background: currentColor; }
.site-head.is-solid .lang-toggle:hover, .head-light .lang-toggle:hover { color: var(--canvas); }
.site-head:not(.is-solid).head-dark .lang-toggle:hover { color: var(--ink); }

.brand em { font-style: italic; }

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

.site-nav a {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .35rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .35s var(--ease-out);
}

.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }

.nav-cta {
  border: 1px solid currentColor;
  padding: .55rem 1.1rem !important;
  transition: background .3s, color .3s;
}

.nav-cta::after { display: none; }

.site-head.is-solid .nav-cta:hover, .head-light .nav-cta:hover { background: var(--fg); color: var(--canvas); border-color: var(--fg); }
.site-head:not(.is-solid).head-dark .nav-cta:hover { background: var(--porcelain); color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: .4rem;
}

.nav-toggle .bars { display: block; width: 26px; }
.nav-toggle .bars span {
  display: block; height: 1.5px; background: currentColor; margin: 6px 0;
  transition: transform .3s var(--ease-out), opacity .3s;
}

@media (max-width: 1152px) {
  .nav-toggle { display: block; position: relative; z-index: 75; }
  .site-nav {
    position: fixed; inset: 0; z-index: 70;
    flex-direction: column; justify-content: center; gap: 1.2rem;
    background: var(--porcelain); color: var(--ink);
    opacity: 0; pointer-events: none;
    transition: opacity .35s var(--ease-out);
  }
  .site-nav a { font-family: var(--serif); font-size: 1.7rem; text-transform: none; letter-spacing: 0; }
  .nav-cta { border: 1px solid var(--ink); margin-top: 1rem; }
  body.menu-open .site-nav { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-head { color: var(--ink); }
  body.menu-open .nav-toggle .bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.menu-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle .bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--porcelain);
  overflow: hidden;
}

.hero picture { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero .img-frame { position: absolute; inset: 0; }

.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }

.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(18, 11, 6, .78) 0%, rgba(18, 11, 6, .18) 45%, rgba(18, 11, 6, .28) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 82rem;
  margin: 0 auto;
  padding: 8rem var(--pad) clamp(3rem, 7vh, 5.5rem);
}

.hero .display-xl { max-width: 11em; }

.hero-sub {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.hero-h1 {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0;
  max-width: 30em;
  line-height: 1.8;
}

.hero-scroll {
  position: absolute;
  right: var(--pad);
  bottom: 2.6rem;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--porcelain);
  opacity: .85;
  writing-mode: vertical-rl;
  text-decoration: none;
}

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

.hero--page { min-height: 72svh; }

/* hero entrance: image settles, sub-line fades up (no curtain over the LCP) */
@media (prefers-reduced-motion: no-preference) {
  .hero img { transform: scale(1.06); transition: transform 2.2s var(--ease-out); }
  .is-ready .hero img { transform: scale(1); }
  .hero-sub, .hero-scroll { opacity: 0; transform: translateY(14px); transition: opacity .9s ease .55s, transform .9s var(--ease-quint) .55s; }
  .is-ready .hero-sub, .is-ready .hero-scroll { opacity: 1; transform: none; }
  .is-ready .hero-scroll { opacity: .85; }
}

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

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor;
  padding: 1rem 2.1rem;
  cursor: pointer;
  background: transparent;
  color: inherit;
  transition: background .3s, color .3s, border-color .3s;
}

.btn:hover { background: var(--fg); color: var(--canvas); border-color: var(--fg); }
.on-dark .btn:hover, .hero .btn:hover { background: var(--porcelain); color: var(--noir); border-color: var(--porcelain); }

.btn--solid { background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.btn--solid:hover { background: var(--crimson); border-color: var(--crimson); color: var(--porcelain); }

.text-link {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid var(--bronze);
  padding-bottom: .15rem;
  transition: border-color .3s, color .3s;
}

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

/* ---------- image frames: masked reveal + hover ---------- */

.img-frame { display: block; overflow: hidden; position: relative; }
.img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 22%;
}

a.img-frame img, .story-card .img-frame img { transition: transform 1.4s var(--ease-out); }
a.img-frame:hover img, .story-card:hover .img-frame img { transform: scale(1.025); }

/* wipe-in: frame un-clips upward while the photo settles from 1.14 */
@media (prefers-reduced-motion: no-preference) {
  .frame-rv {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.15s var(--ease-mask) calc(var(--i, 0) * 90ms);
  }
  .frame-rv img {
    transform: scale(1.14);
    transition: transform 1.6s var(--ease-quint) calc(var(--i, 0) * 90ms);
  }
  .frame-rv.in { clip-path: inset(0 0 0 0); }
  .frame-rv.in img { transform: scale(1); }
  a.frame-rv.in:hover img { transform: scale(1.025); }
}

.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-21 { aspect-ratio: 2 / 1; }

/* quiet parallax inside frames (progressive enhancement) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .plx img { height: 116%; }
    .plx.in img, .plx img {
      animation: plx linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    /* parallax owns transform; skip the scale-settle on these frames */
    .frame-rv.plx img { transition: none; }
  }
}

@keyframes plx {
  from { transform: translateY(-6.5%); }
  to   { transform: translateY(6.5%); }
}

/* full-bleed image break */
.bleed { padding: 0; }
.bleed .img-frame { max-height: 92svh; }
.bleed img { width: 100%; max-height: none; object-fit: cover; }
.bleed .ratio-21 { aspect-ratio: auto; height: clamp(24rem, 88svh, 56rem); }

/* offset utilities: editorial stagger inside pairs */
.drop-1 { margin-top: clamp(2rem, 6vw, 5rem); }
.drop-2 { margin-top: clamp(4rem, 10vw, 9rem); }
.lift-1 { margin-top: calc(-1 * clamp(2rem, 6vw, 5rem)); }

/* ---------- editorial layouts ---------- */

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2.25rem);
  align-items: start;
}

.pair-copy { align-self: center; }

.figure { margin: 0; }

.figure figcaption, .caption {
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--muted);
  margin-top: .7rem;
  transition: color 1.1s ease;
}

.act-gallery { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ---------- cards (real weddings) ---------- */

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.story-card { text-decoration: none; display: block; }

.story-card .img-frame { margin-bottom: 1.1rem; }

.story-card h3, .story-card .card-title { font-size: clamp(1.3rem, 2vw, 1.7rem); }

.story-meta {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: .55rem 0 0;
  transition: color 1.1s ease;
}

/* ---------- gallery index (portfolio: cover + name only) ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.2vw, 3.25rem) clamp(1rem, 2.2vw, 2rem);
}

.gallery-card { text-decoration: none; display: block; }

.gallery-card .img-frame { margin-bottom: 1rem; }

.gallery-name {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 400;
  letter-spacing: .005em;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: .25rem;
}

.gallery-name::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: .5;
  transition: right .5s var(--ease-out);
}

.gallery-card:hover .gallery-name::after { right: 0; }

@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- dense photo grid (inside a gallery: many small thumbs) ---------- */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.6rem, 1.4vw, 1.4rem);
  align-items: start;
}
.photo-grid .img-frame { margin: 0; aspect-ratio: auto; }
.photo-grid .img-frame img { height: auto; }
@media (max-width: 1000px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .photo-grid { grid-template-columns: repeat(2, 1fr); } }

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

.quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
}

.quote-by {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.2rem;
}

/* ---------- marquee (gap-correct group pattern) ---------- */

.marquee {
  --gap: 3.2rem;
  --duration: 34s;
  display: flex;
  gap: var(--gap);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--gap);
  min-width: 100%;
  justify-content: space-around;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  color: var(--muted);
  animation: marquee var(--duration) linear infinite;
}

.marquee-group .sep { color: var(--bronze); font-style: normal; }

.marquee:hover .marquee-group { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-group { animation: none; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee { flex-wrap: wrap; mask-image: none; -webkit-mask-image: none; }
}

/* ---------- investment ---------- */

.collection {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}

.collection-photo { grid-column: 1 / 4; }
.collection-photo .img-frame { margin: 0; }
.collection-name { grid-column: 4 / 7; align-self: center; }
.collection-body { grid-column: 7 / 11; align-self: center; }
.collection-price { grid-column: 11 / 13; text-align: right; align-self: center; }

.collection-name h2, .collection-name h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }

.collection-name .story-meta { margin-top: .8rem; }

.price {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 400;
  font-variant-numeric: lining-nums;
}

.price small {
  display: block;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .4rem;
}

.includes { list-style: none; margin: 0; padding: 0; max-width: 30em; }
.includes li { padding: .5rem 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.includes li:last-child { border-bottom: 0; }

/* ---------- FAQ ---------- */

.faq { max-width: 46rem; }

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

.faq summary {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  padding: 1.3rem 2.5rem 1.3rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute; right: .25rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.2rem;
  color: var(--bronze);
  transition: transform .3s var(--ease-out);
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq .faq-a { padding: 0 0 1.4rem; max-width: 40em; opacity: .85; }

/* ---------- forms ---------- */

.form-invite { max-width: 44rem; }

.field { margin-bottom: 2rem; }

.field label {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}

.field input, .field select, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--fg);
  padding: .5rem 0 .7rem;
  border-radius: 0;
  transition: border-color .3s;
}

.field textarea { resize: vertical; min-height: 6.5rem; font-size: 1.1rem; line-height: 1.6; }

.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--crimson);
  box-shadow: 0 1px 0 var(--crimson);
  outline: none;
}

.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }

.form-note { font-size: .85rem; color: var(--muted); max-width: 34em; }

/* ---------- editorial finish: drop cap, caption grammar, credits, folio ---------- */

.dropcap::first-letter {
  font-family: var(--serif);
  font-size: 3.1em;
  font-weight: 380;
  float: left;
  line-height: .82;
  padding: .04em .12em 0 0;
  color: var(--accent);
}

.figcap {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-top: .7rem;
}

.figcap .cap-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: .92rem;
  color: var(--fg);
  opacity: .8;
}

.figcap .cap-credit {
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.credits {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.4rem;
  max-width: 60rem;
}

.credits .credit-role {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .3rem;
}

.credits .credit-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 0;
}

.folio {
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 1.1s ease;
}

/* ---------- journal ---------- */

.article-body { max-width: 42rem; font-size: 1.1rem; }

.article-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 2.6rem 0 1rem;
}

.article-body p { margin: 0 0 1.3em; }

.article-body blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--accent);
  border-left: 1px solid var(--bronze);
  margin: 2rem 0;
  padding-left: 1.6rem;
}

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

.site-foot {
  background: var(--noir);
  color: var(--porcelain);
  padding: clamp(4rem, 8vw, 6.5rem) var(--pad) 2.5rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
  max-width: 82rem;
  margin: 0 auto;
}

.foot-brand { grid-column: 1 / 6; }
.foot-nav   { grid-column: 7 / 9; }
.foot-soc   { grid-column: 9 / 11; }
.foot-nap   { grid-column: 11 / 13; }

.foot-brand .display-md { max-width: 8em; }

.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: .55rem 0; }

.site-foot a { text-decoration: none; opacity: .85; transition: opacity .25s, color .25s; }
.site-foot a:hover { opacity: 1; color: var(--sand); }

.foot-label {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 1.1rem;
}

.foot-legal {
  max-width: 82rem;
  margin: 3.5rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline-l);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .78rem;
  opacity: .82;
}

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

.lightbox {
  border: 0;
  padding: 0;
  background: rgba(14, 9, 5, .96);
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
}

.lightbox::backdrop { background: rgba(14, 9, 5, .9); }

.lightbox figure {
  margin: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }

@media (prefers-reduced-motion: no-preference) {
  .lightbox img { opacity: 0; transform: scale(.985); transition: opacity .45s ease, transform .6s var(--ease-out); }
  .lightbox img.lb-in { opacity: 1; transform: none; }
}

.lb-btn {
  position: fixed;
  background: none; border: 0; cursor: pointer;
  color: var(--porcelain); opacity: .8;
  font-family: var(--sans); font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 1rem;
  z-index: 5;
}

.lb-btn:hover { opacity: 1; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }

.lb-count {
  position: fixed;
  left: 50%; bottom: 1.1rem;
  transform: translateX(-50%);
  margin: 0;
  color: var(--porcelain);
  opacity: .7;
  font-family: var(--serif);
  font-style: italic;
  font-size: .9rem;
  z-index: 5;
}

/* ---------- cursor follower ---------- */

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--bronze);
  pointer-events: none;
  z-index: 1000;
  will-change: transform;
  display: none;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background-color .35s;
}

.cursor-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: .85rem;
  color: var(--noir);
  opacity: 0;
  transition: opacity .25s;
}

.cursor[data-state="vezi"], .cursor[data-state="deschide"] {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  background: color-mix(in srgb, var(--porcelain) 92%, transparent);
}

.cursor[data-state="vezi"] .cursor-label,
.cursor[data-state="deschide"] .cursor-label { opacity: 1; }

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor { display: block; }
}

/* ---------- cross-document view transitions ---------- */

@view-transition { navigation: auto; }

::view-transition-old(root) { animation: 240ms cubic-bezier(.4, 0, .2, 1) both vt-out; }
::view-transition-new(root) { animation: 420ms var(--ease-out) both vt-in; }

@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(10px); } }

::view-transition-group(story-hero) {
  animation-duration: .55s;
  animation-timing-function: var(--ease-quint);
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ---------- reveal on scroll (copy blocks) ---------- */

.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out) calc(var(--i, 0) * 90ms), transform 1s var(--ease-quint) calc(var(--i, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .img-frame img { transition: none; }
  .grain { display: none; }
}

/* ---------- responsive collapses ---------- */

@media (max-width: 860px) {
  .grid-12 > *, .story-grid > * { grid-column: 1 / -1 !important; }
  .drop-1, .drop-2 { margin-top: 0; }
  .lift-1 { margin-top: 0; }
  .act-hour { font-size: clamp(4rem, 18vw, 7rem); opacity: .06; }
  .collection { grid-template-columns: 1fr; gap: 1.2rem; padding: 2.2rem 0; }
  .collection-photo, .collection-name, .collection-body, .collection-price { grid-column: 1 / -1; text-align: left; align-self: start; }
  .collection-photo { max-width: 60%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-nav, .foot-soc, .foot-nap { grid-column: auto; }
  .hero .display-xl { font-size: clamp(2.6rem, 11vw, 4.5rem); }
}

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

/* accessibility */
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--porcelain);
  padding: .8rem 1.2rem; text-decoration: none;
}
.skip-link:focus { left: 0; }

.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;
}
