:root {
  --cream-0: #fffaf2;
  --cream-1: #fbf0df;
  --cream-2: #f4e2c9;
  --cream-3: #e8d0ad;
  --gold-1: #b88a48;
  --gold-2: #d7b56e;
  --sage: #8a9277;
  --sage-dark: #515943;
  --ink: #3e3024;
  --muted: #7b6a5a;
  --white-glass: rgba(255, 250, 241, .72);
  --shadow: 0 30px 90px rgba(94, 66, 32, .17);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.98), transparent 24rem),
    radial-gradient(circle at 87% 14%, rgba(221,190,131,.42), transparent 30rem),
    linear-gradient(135deg, var(--cream-0), var(--cream-1) 54%, #f7e8d5);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  z-index: 0;
  background-image:
    linear-gradient(rgba(117, 84, 43, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 84, 43, .16) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

button, input, select, textarea, a { font: inherit; }
a { color: inherit; }

#pearlCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 30;
  background: rgba(255,255,255,.25);
}
.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-1), #fff1b8, var(--sage));
  box-shadow: 0 0 24px rgba(215,181,110,.8);
}

.sound-pill {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 40;
  transform: translateY(-120%);
  opacity: 0;
  transition: .8s cubic-bezier(.2,.8,.2,1);
}
body.entered .sound-pill { transform: translateY(0); opacity: 1; }
.icon-btn {
  border: 1px solid rgba(184, 138, 72, .35);
  background: rgba(255, 250, 242, .72);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  padding: 10px 14px 10px 10px;
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(62,48,36,.08);
}

.photo-orbit {
  overflow: hidden;
}

.photo-orbit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 2;
}

.disc-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-block;
  background: radial-gradient(circle, #f9e9c6 0 15%, #443528 16% 21%, #d7b56e 22% 23%, #2f261f 24% 64%, #f2d690 65% 70%, #2f261f 71%);
}
body.music-on .disc-mini { animation: spin 2.2s linear infinite; }

.gate-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(125deg, #fff7ec, #f2dcc0 60%, #fff6e9);
  transition: opacity .9s ease, visibility .9s ease;
}
body.entered .gate-screen { opacity: 0; visibility: hidden; pointer-events: none; }
.gate-glow {
  position: absolute;
  width: min(78vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.92), rgba(215,181,110,.25), transparent 66%);
  filter: blur(4px);
  animation: pulseGlow 5s ease-in-out infinite;
}
.gate-shell {
  position: relative;
  z-index: 5;
  width: min(91vw, 560px);
  padding: clamp(34px, 7vw, 66px) clamp(22px, 6vw, 58px);
  border-radius: 44px;
  border: 1px solid rgba(184,138,72,.28);
  background: linear-gradient(145deg, rgba(255,250,242,.88), rgba(255,244,225,.62));
  backdrop-filter: blur(22px);
  text-align: center;
  box-shadow: var(--shadow);
  animation: shellFloat 4.7s ease-in-out infinite;
}
.gate-shell::before,
.gate-shell::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(184,138,72,.22);
  border-radius: 34px;
  pointer-events: none;
}
.gate-shell::after { inset: 26px; border-style: dashed; opacity: .55; }
.monogram-orbit {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  color: #7d5a25;
  font-size: 50px;
  background: radial-gradient(circle, #fff9ed, #ecd3a9);
  box-shadow: inset 0 0 0 1px rgba(184,138,72,.42), 0 20px 50px rgba(184,138,72,.18);
}
.monogram-orbit i,
.monogram-orbit b {
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 1px solid rgba(184,138,72,.36);
  animation: orbit 8s linear infinite;
}
.monogram-orbit b { inset: -21px; animation-duration: 12s; animation-direction: reverse; border-style: dashed; }
.eyebrow {
  margin: 0 0 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: clamp(.72rem, 1.5vw, .82rem);
  color: var(--gold-1);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
}
h1, h2, h3, p { margin-top: 0; }
.gate-shell h1, .names {
  font-size: clamp(3.8rem, 15vw, 8.8rem);
  line-height: .82;
  margin: 0 0 18px;
  font-weight: 500;
  letter-spacing: -.05em;
}
.gate-shell h1 em, .names span { color: var(--gold-1); font-style: italic; }
.gate-copy, .hero-poem, .gallery-copy p, .strip-card p, .detail-panel p, .time-row p {
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.75;
}
.silk {
  position: absolute;
  top: -8%;
  bottom: -8%;
  width: 54%;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(255,255,255,.2), rgba(255,246,230,.7), rgba(226,198,154,.72)),
    repeating-linear-gradient(110deg, rgba(255,255,255,.28) 0 18px, transparent 18px 42px);
  filter: drop-shadow(0 30px 60px rgba(92,59,26,.12));
  transform-origin: center;
}
.silk-left { left: -10%; clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%); }
.silk-right { right: -10%; clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
body.entered .silk-left { animation: curtainLeft 1.1s cubic-bezier(.65,0,.15,1) both; }
body.entered .silk-right { animation: curtainRight 1.1s cubic-bezier(.65,0,.15,1) both; }

.primary-cta, .ghost-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  min-height: 50px;
  padding: 13px 22px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: Inter, system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.primary-cta {
  color: #fff9ed;
  background: linear-gradient(135deg, #8f662e, #d0a24d 52%, #8b5d22);
  box-shadow: 0 18px 42px rgba(139,93,34,.24);
  overflow: hidden;
}
.primary-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.48), transparent 64%);
  transform: translateX(-120%);
}
.primary-cta:hover::before { animation: shimmer .8s ease; }
.primary-cta:hover, .ghost-cta:hover { transform: translateY(-3px); }
.ghost-cta {
  color: var(--ink);
  border: 1px solid rgba(184,138,72,.33);
  background: rgba(255,250,242,.56);
  backdrop-filter: blur(15px);
}

main {
  position: relative;
  z-index: 2;
}
.section {
  min-height: auto;
  padding: clamp(76px, 12vw, 148px) clamp(18px, 6vw, 80px);
}
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}
.hero-bg-ornament {
  position: absolute;
  inset: 7% auto auto 50%;
  width: min(86vw, 860px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px solid rgba(184,138,72,.18);
  border-radius: 50% 50% 45% 45%;
  opacity: .75;
  pointer-events: none;
}
.hero-bg-ornament::before,
.hero-bg-ornament::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: inherit;
  border-radius: inherit;
}
.hero-bg-ornament::after { inset: 54px; border-style: dashed; opacity: .6; }
.hero-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-poem { max-width: 570px; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.names .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(44px) rotate(8deg);
  filter: blur(8px);
  animation: letterIn .72s cubic-bezier(.2,.78,.2,1) forwards;
}
.atelier-card {
  min-height: min(72vh, 650px);
  border-radius: 48% 48% 34px 34px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255,255,255,.98), transparent 26rem),
    linear-gradient(165deg, rgba(255,250,242,.82), rgba(238,218,187,.62));
  border: 1px solid rgba(184,138,72,.28);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(28px, 6vw, 70px);
  position: relative;
  transform-style: preserve-3d;
  overflow: hidden;
}
.atelier-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(184,138,72,.24);
  border-radius: 48% 48% 26px 26px;
  pointer-events: none;
}
.arch-line {
  position: absolute;
  inset: 32px 32px auto;
  height: 46%;
  border: 1px solid rgba(184,138,72,.28);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.crest { width: min(46vw, 260px); max-width: 100%; filter: drop-shadow(0 20px 30px rgba(118,82,38,.13)); animation: crestFloat 5s ease-in-out infinite; }
.card-label { font-family: Inter, system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-1); font-weight: 800; margin: 24px 0 8px; }
.atelier-card h3 { font-size: clamp(2.1rem, 5vw, 4.7rem); margin: 0; font-weight: 500; }
.atelier-card p:not(.card-label) { font-family: Inter, system-ui, sans-serif; color: var(--sage-dark); margin: 12px 0 4px; }
.tiny-note { font-family: Inter, system-ui, sans-serif; color: var(--muted); }
.floating-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(215,181,110,.55);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.18), 0 18px 60px rgba(184,138,72,.12);
  animation: ringDrift 8s ease-in-out infinite;
}
.ring-one { width: 86px; height: 86px; left: 13%; top: 18%; }
.ring-two { width: 130px; height: 130px; right: -38px; bottom: 18%; animation-delay: -3s; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  font-family: Inter, system-ui, sans-serif;
  color: var(--muted);
  font-size: .75rem;
  display: grid;
  place-items: center;
  gap: 8px;
}
.scroll-cue span { width: 1px; height: 48px; background: linear-gradient(var(--gold-1), transparent); animation: cueDrop 1.7s ease-in-out infinite; }

.concept-strip {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.strip-card, .detail-panel, .timeline-card, .countdown, .gallery-copy {
  border: 1px solid rgba(184,138,72,.23);
  background: var(--white-glass);
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 60px rgba(62,48,36,.08);
}
.strip-card {
  border-radius: 28px;
  padding: 30px;
  min-height: 230px;
}
.strip-card span { color: var(--gold-1); font-family: Inter, system-ui, sans-serif; font-weight: 900; }
.strip-card h3 { font-size: 2rem; margin: 48px 0 12px; }

.section-heading { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-heading h2, .timeline-card h2, .gallery-copy h2 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: .93;
  font-weight: 500;
  letter-spacing: -.045em;
  margin: 0;
}
.detail-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.detail-panel {
  border-radius: 32px;
  padding: 32px;
  min-height: 260px;
  transform-style: preserve-3d;
}
.detail-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff9ef;
  background: linear-gradient(135deg, #9a6b2e, #d7b56e);
  box-shadow: 0 15px 34px rgba(184,138,72,.2);
}
.detail-panel h3 { font-size: 2.2rem; margin: 48px 0 12px; }
.detail-panel a { color: var(--gold-1); font-family: Inter, system-ui, sans-serif; font-weight: 800; }

.timeline-section { padding-top: 40px; }
.timeline-card {
  width: min(1050px, 100%);
  margin: 0 auto;
  border-radius: 38px;
  padding: clamp(28px, 6vw, 64px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.timeline-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,181,110,.24), transparent 70%);
  right: -100px;
  top: -70px;
}
.timeline { position: relative; z-index: 2; }
.time-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(184,138,72,.17);
}
.time-row span { color: var(--gold-1); font-size: 1.6rem; }
.time-row p { margin: 0; }
.timeline-card .ghost-cta { justify-self: start; }

.countdown-section { padding-top: 50px; }
.countdown {
  width: min(900px, 100%);
  margin: 0 auto;
  border-radius: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.countdown div {
  padding: clamp(18px, 4vw, 34px);
  text-align: center;
  border-right: 1px solid rgba(184,138,72,.16);
}
.countdown div:last-child { border-right: 0; }
.countdown strong { display: block; font-size: clamp(2.8rem, 8vw, 5.5rem); font-weight: 500; line-height: .9; }
.countdown span { font-family: Inter, system-ui, sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; }

.gallery-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: clamp(32px, 7vw, 90px);
  width: min(1180px, 100%);
  margin: 0 auto;
}
.gallery-copy { border-radius: 34px; padding: clamp(28px, 5vw, 48px); }
.gallery-stack { min-height: 560px; position: relative; perspective: 1200px; }
.gallery-frame {
  position: absolute;
  width: min(62vw, 350px);
  border-radius: 28px;
  padding: 12px;
  background: rgba(255,250,242,.82);
  border: 1px solid rgba(184,138,72,.24);
  box-shadow: var(--shadow);
  transition: transform .5s ease;
}
.gallery-frame img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}
.frame-a { left: 4%; top: 38px; transform: rotate(-7deg); animation: frameFloat 6s ease-in-out infinite; }
.frame-b { right: 8%; top: 148px; transform: rotate(6deg); animation: frameFloat 6.8s ease-in-out infinite reverse; }
.frame-c { left: 24%; bottom: 18px; transform: rotate(-1deg); animation: frameFloat 7.3s ease-in-out infinite; }
.gallery-stack:hover .frame-a { transform: translateY(-12px) rotate(-10deg); }
.gallery-stack:hover .frame-b { transform: translateY(12px) rotate(9deg); }
.gallery-stack:hover .frame-c { transform: translateY(-4px) rotate(2deg); }

.modal {
  border: 1px solid rgba(184,138,72,.28);
  border-radius: 34px;
  max-width: 480px;
  width: calc(100% - 32px);
  padding: 42px;
  background: linear-gradient(145deg, rgba(255,250,242,.94), rgba(246,230,205,.94));
  box-shadow: var(--shadow);
  color: var(--ink);
}
.modal::backdrop { background: rgba(58,42,27,.35); backdrop-filter: blur(9px); }
.modal h2 { font-size: 3rem; margin-bottom: 20px; }
.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
  color: var(--muted);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  transform: translate(-50%, 120px);
  opacity: 0;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,250,242,.9);
  border: 1px solid rgba(184,138,72,.28);
  box-shadow: 0 18px 50px rgba(62,48,36,.14);
  font-family: Inter, system-ui, sans-serif;
  transition: .35s ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.reveal {
  opacity: 0;
  transform: translateY(44px) scale(.98);
  filter: blur(7px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1), filter .9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseGlow { 50% { transform: scale(1.08); opacity: .8; } }
@keyframes shellFloat { 50% { transform: translateY(-12px); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes curtainLeft { to { transform: translateX(-90%) rotate(-4deg); opacity: 0; } }
@keyframes curtainRight { to { transform: translateX(90%) rotate(4deg); opacity: 0; } }
@keyframes shimmer { to { transform: translateX(120%); } }
@keyframes letterIn { to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); } }
@keyframes crestFloat { 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes ringDrift { 50% { transform: translateY(-22px) translateX(14px) rotate(16deg); } }
@keyframes cueDrop { 0% { transform: scaleY(.25); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(.25); opacity: .4; } }
@keyframes frameFloat { 50% { margin-top: -12px; } }

@media (max-width: 900px) {
  .hero-grid, .timeline-card, .gallery-section { grid-template-columns: 1fr; }
  .atelier-card { min-height: 560px; }
  .concept-strip, .detail-grid { grid-template-columns: 1fr; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .countdown div:nth-child(2) { border-right: 0; }
  .countdown div:nth-child(-n+2) { border-bottom: 1px solid rgba(184,138,72,.16); }
  .gallery-stack { min-height: 500px; }
}
@media (max-width: 560px) {
  .section { padding-inline: 16px; }
  .hero { padding-top: 96px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a, .primary-cta, .ghost-cta { width: 100%; }
  .names { font-size: clamp(4.4rem, 19vw, 6rem); }
  .gate-shell h1 { font-size: clamp(4rem, 19vw, 6rem); }
  .gallery-frame { width: 72vw; }
  .frame-a { left: 0; }
  .frame-b { right: 0; }
  .frame-c { left: 10%; }
  .sound-pill { top: 14px; right: 14px; }
}

/* v2 upgrades: flower background, embedded map card, refined icons */
.flower-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.flower-petal {
  position: absolute;
  left: var(--x);
  top: -12vh;
  width: var(--size);
  height: var(--size);
  color: rgba(182, 132, 76, .36);
  filter: drop-shadow(0 12px 18px rgba(154, 104, 50, .10));
  opacity: .72;
  animation: flowerFall var(--duration) linear infinite;
  animation-delay: var(--delay);
  transform-origin: center;
}
.flower-petal:nth-child(3n) { color: rgba(138, 146, 119, .28); }
.flower-petal:nth-child(4n) { color: rgba(215, 181, 110, .38); }
.flower-petal svg { display: block; width: 100%; height: 100%; }

.detail-icon,
.map-icon {
  position: relative;
  overflow: hidden;
}
.detail-icon::after,
.map-icon::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45), transparent 70%);
  transform: translateX(-120%) rotate(10deg);
  animation: iconSheen 4.6s ease-in-out infinite;
}
.detail-icon svg,
.map-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  z-index: 1;
  position: relative;
}
.detail-panel:hover .detail-icon {
  transform: translateY(-4px) scale(1.05) rotate(-3deg);
}
.detail-icon {
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
}

.map-section { padding-top: 32px; }
.map-card {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: clamp(18px, 4vw, 34px);
  align-items: stretch;
  padding: clamp(16px, 3vw, 24px);
  border-radius: 44px;
  border: 1px solid rgba(184,138,72,.24);
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.82), transparent 16rem),
    linear-gradient(145deg, rgba(255,250,242,.86), rgba(241,220,190,.58));
  backdrop-filter: blur(24px);
  box-shadow: 0 28px 90px rgba(94,66,32,.14);
  position: relative;
  overflow: hidden;
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(184,138,72,.16);
  border-radius: 34px;
  pointer-events: none;
}
.map-copy {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 450px;
}
.map-copy h3 {
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: .9;
  font-weight: 500;
  letter-spacing: -.04em;
  margin: 0 0 18px;
}
.map-copy p:not(.eyebrow) {
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.8;
  margin-bottom: 28px;
}
.map-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff9ef;
  background: linear-gradient(135deg, #8f662e, #d7b56e 58%, #947044);
  box-shadow: 0 18px 42px rgba(184,138,72,.22);
  margin-bottom: 26px;
}
.map-frame {
  position: relative;
  z-index: 2;
  min-height: 450px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(184,138,72,.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.48), 0 20px 60px rgba(62,48,36,.10);
  background: #f5ead9;
}
.map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 10px rgba(255,250,242,.34);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  display: block;
  border: 0;
  filter: sepia(.08) saturate(.92) contrast(.98);
}

@keyframes flowerFall {
  0% { transform: translate3d(0, -12vh, 0) rotate(0deg) scale(.72); opacity: 0; }
  10% { opacity: .72; }
  55% { transform: translate3d(calc(var(--drift) * .6), 56vh, 0) rotate(calc(var(--spin) * 190deg)) scale(1); }
  100% { transform: translate3d(var(--drift), 112vh, 0) rotate(calc(var(--spin) * 420deg)) scale(.86); opacity: 0; }
}
@keyframes iconSheen {
  0%, 55% { transform: translateX(-120%) rotate(10deg); }
  75%, 100% { transform: translateX(120%) rotate(10deg); }
}

@media (max-width: 900px) {
  .map-card { grid-template-columns: 1fr; }
  .map-copy { min-height: auto; }
  .map-frame,
  .map-frame iframe { min-height: 390px; }
}
@media (max-width: 560px) {
  .map-card { border-radius: 30px; padding: 12px; }
  .map-copy { padding: 22px; }
  .map-frame,
  .map-frame iframe { min-height: 330px; border-radius: 24px; }
  .flower-petal { opacity: .45; }
}

.strip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.strip-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-1);
  background: rgba(255,250,242,.72);
  border: 1px solid rgba(184,138,72,.24);
  box-shadow: 0 14px 32px rgba(94,66,32,.08);
}
.strip-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.strip-card h3 { margin-top: 42px; }

/* v3 mobile-first update: stacked names and cleaner phone layout */
.stacked-title,
.stacked-names,
.modal-names {
  display: grid;
  justify-items: center;
  gap: .02em;
  text-align: center;
}
.stacked-title span,
.stacked-names .name-line,
.modal-names span {
  color: var(--ink) !important;
  font-style: normal !important;
  display: block;
}
.stacked-title em,
.stacked-names .amp-line,
.modal-names em {
  color: var(--gold-1) !important;
  font-style: italic !important;
  display: block;
  font-size: .48em;
  line-height: .78;
  letter-spacing: -.03em;
  margin: -.02em 0 .02em;
}
.stacked-names .letter {
  display: inline-block;
}
.hero-copy {
  text-align: left;
}
.hero-copy .stacked-names {
  justify-items: start;
}
.detail-panel {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.detail-panel:hover {
  border-color: rgba(184,138,72,.42);
  box-shadow: 0 28px 80px rgba(94,66,32,.13);
}
.map-card {
  scroll-margin-top: 28px;
}
.map-frame iframe {
  background: #f5ead9;
}

@media (max-width: 760px) {
  body::before {
    background-size: 46px 46px;
    opacity: .11;
  }
  .sound-pill {
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    transform: scale(.94);
  }
  .section {
    padding: 62px 14px;
  }
  .gate-shell {
    width: min(92vw, 430px);
    padding: 30px 18px;
    border-radius: 34px;
  }
  .gate-shell::before { inset: 10px; border-radius: 26px; }
  .gate-shell::after { inset: 18px; border-radius: 22px; }
  .monogram-orbit {
    width: 82px;
    height: 82px;
    font-size: 38px;
    margin-bottom: 14px;
  }
  .gate-shell h1,
  .names {
    font-size: clamp(4.2rem, 21vw, 6.9rem);
    line-height: .72;
    letter-spacing: -.055em;
  }
  .gate-copy,
  .hero-poem,
  .map-copy p:not(.eyebrow),
  .gallery-copy p,
  .strip-card p,
  .detail-panel p,
  .time-row p {
    font-size: .95rem;
    line-height: 1.65;
  }
  .hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 76px;
  }
  .hero-grid {
    gap: 28px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .stacked-names {
    justify-items: center;
  }
  .hero-actions {
    justify-content: center;
    gap: 10px;
  }
  .atelier-card {
    min-height: 440px;
    width: min(100%, 430px);
    margin: 0 auto;
    border-radius: 44% 44% 28px 28px;
    padding: 30px 20px;
  }
  .atelier-card::before { inset: 10px; border-radius: 44% 44% 22px 22px; }
  .crest { width: min(58vw, 210px); }
  .atelier-card h3 {
    font-size: clamp(2.25rem, 12vw, 3.55rem);
  }
  .concept-strip {
    width: calc(100% - 28px);
    gap: 12px;
  }
  .strip-card,
  .detail-panel,
  .gallery-copy,
  .timeline-card {
    border-radius: 24px;
    padding: 22px;
  }
  .strip-card {
    min-height: 190px;
  }
  .strip-card h3,
  .detail-panel h3 {
    font-size: 1.85rem;
    margin-top: 34px;
  }
  .detail-grid {
    gap: 12px;
  }
  .detail-panel {
    min-height: 210px;
  }
  .detail-icon,
  .map-icon {
    width: 52px;
    height: 52px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-heading h2,
  .timeline-card h2,
  .gallery-copy h2,
  .map-copy h3 {
    font-size: clamp(2.35rem, 12vw, 4rem);
    line-height: .93;
  }
  .map-card {
    grid-template-columns: 1fr;
    border-radius: 26px;
    padding: 10px;
    gap: 10px;
  }
  .map-card::before {
    inset: 9px;
    border-radius: 21px;
  }
  .map-copy {
    min-height: auto;
    padding: 22px 18px 18px;
    text-align: center;
    align-items: center;
  }
  .map-frame,
  .map-frame iframe {
    min-height: min(72vh, 420px);
    border-radius: 20px;
  }
  .timeline-card {
    gap: 24px;
  }
  .time-row {
    grid-template-columns: 74px 1fr;
    gap: 12px;
    padding: 18px 0;
  }
  .time-row span {
    font-size: 1.35rem;
  }
  .countdown {
    border-radius: 24px;
  }
  .countdown strong {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }
  .countdown span {
    font-size: .64rem;
  }
  .gallery-section {
    gap: 24px;
  }
  .gallery-stack {
    min-height: 430px;
  }
  .gallery-frame {
    width: min(78vw, 295px);
    border-radius: 22px;
    padding: 9px;
  }
  .modal {
    padding: 34px 22px 26px;
    border-radius: 26px;
  }
  .modal h2 {
    font-size: 3.2rem;
    line-height: .78;
  }
}

@media (max-width: 390px) {
  .gate-shell h1,
  .names {
    font-size: clamp(3.75rem, 20vw, 5.8rem);
  }
  .primary-cta,
  .ghost-cta {
    min-height: 48px;
    padding: 12px 16px;
    font-size: .82rem;
  }
  .atelier-card {
    min-height: 405px;
  }
  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }
}



/* Minimal RSVP / WhatsApp wishes section */
.rsvp-section {
  padding-top: clamp(40px, 7vw, 90px);
}

.rsvp-card {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: clamp(22px, 5vw, 58px);
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(184, 138, 72, .26);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.9), transparent 18rem),
    linear-gradient(145deg, rgba(255,250,242,.88), rgba(246,230,205,.72));
  box-shadow: var(--shadow);
}

.rsvp-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(184,138,72,.17);
  border-radius: calc(var(--radius-xl) - 12px);
  pointer-events: none;
}

.rsvp-ornament {
  position: absolute;
  right: -80px;
  top: -90px;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(184,138,72,.25);
  opacity: .8;
  animation: orbit 18s linear infinite;
}

.rsvp-copy,
.rsvp-form {
  position: relative;
  z-index: 2;
}

.rsvp-copy h2 {
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: .88;
  letter-spacing: -.045em;
  margin-bottom: 18px;
}

.rsvp-copy p:not(.eyebrow) {
  max-width: 440px;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.8;
}

.rsvp-form {
  display: grid;
  gap: 16px;
}

.rsvp-form label {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: .02em;
}

.rsvp-form input,
.rsvp-form textarea {
  width: 100%;
  border: 1px solid rgba(184, 138, 72, .28);
  border-radius: 22px;
  background: rgba(255, 250, 242, .82);
  color: var(--ink);
  outline: none;
  padding: 16px 18px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 18px 45px rgba(62,48,36,.06);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.rsvp-form textarea {
  resize: vertical;
  min-height: 144px;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
  color: rgba(123, 106, 90, .68);
}

.rsvp-form input:focus,
.rsvp-form textarea:focus {
  border-color: rgba(184,138,72,.6);
  box-shadow: 0 0 0 5px rgba(215,181,110,.16), inset 0 1px 0 rgba(255,255,255,.9);
  transform: translateY(-1px);
}

.rsvp-submit {
  width: fit-content;
  margin-top: 6px;
}


/* Final client polish: romantic cards, no hero CTAs, centered details, two-photo gallery */
.hero-actions {
  display: none !important;
}

.concept-strip .strip-card h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.05;
  margin-top: 38px;
}

.concept-strip .strip-card p {
  font-size: 1rem;
  max-width: 95%;
}

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

.detail-panel {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(30px, 5vw, 52px);
}

.detail-panel .detail-icon {
  margin: 0 auto 22px;
}

.detail-panel h3 {
  margin: 0 0 12px;
  font-size: clamp(2.25rem, 6vw, 3rem);
}

.detail-panel p {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
}

.gallery-copy p {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  line-height: 1.75;
}

.two-photo-stack {
  min-height: 560px;
  max-width: 760px;
  margin-inline: auto;
}

.two-photo-stack .gallery-frame {
  width: min(45vw, 360px);
  min-height: 470px;
  transform-origin: center;
}

.two-photo-stack .gallery-frame img {
  min-height: 440px;
}

.two-photo-stack .frame-a {
  left: 7%;
  top: 58px;
  z-index: 2;
  transform: rotate(-6deg);
  animation: frameFloat 6s ease-in-out infinite;
}

.two-photo-stack .frame-b {
  right: 7%;
  top: 116px;
  z-index: 1;
  transform: rotate(7deg);
  animation: frameFloat 6.8s ease-in-out infinite reverse;
}

.two-photo-stack:hover .frame-a {
  transform: translateY(-12px) rotate(-9deg);
}

.two-photo-stack:hover .frame-b {
  transform: translateY(12px) rotate(10deg);
}

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

  .two-photo-stack {
    min-height: 520px;
  }

  .two-photo-stack .gallery-frame {
    width: min(72vw, 330px);
    min-height: 410px;
  }

  .two-photo-stack .gallery-frame img {
    min-height: 380px;
  }

  .two-photo-stack .frame-a {
    left: 3%;
    top: 38px;
  }

  .two-photo-stack .frame-b {
    right: 3%;
    top: 122px;
  }
}

@media (max-width: 560px) {
  .concept-strip .strip-card {
    min-height: auto;
    padding: 26px;
  }

  .concept-strip .strip-card h3 {
    margin-top: 30px;
  }

  .detail-panel {
    min-height: 220px;
  }

  .two-photo-stack {
    min-height: 490px;
  }

  .two-photo-stack .gallery-frame {
    width: 72vw;
    min-height: 380px;
    padding: 10px;
  }

  .two-photo-stack .gallery-frame img {
    min-height: 356px;
  }

  .two-photo-stack .frame-a {
    left: -1%;
    top: 34px;
    transform: rotate(-5deg);
  }

  .two-photo-stack .frame-b {
    right: -1%;
    top: 112px;
    transform: rotate(6deg);
  }
}


@media (max-width: 900px) {
  .rsvp-card {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    gap: 20px;
    padding: 28px 20px;
    border-radius: 28px;
  }

  .rsvp-card::before {
    inset: 10px;
    border-radius: 22px;
  }

  .rsvp-copy {
    text-align: center;
  }

  .rsvp-copy p:not(.eyebrow) {
    margin-inline: auto;
  }

  .rsvp-submit {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .rsvp-form input,
  .rsvp-form textarea {
    border-radius: 18px;
    padding: 14px 15px;
  }
}

/* ==========================================================
   v4 Phone Responsiveness Patch
   Fixes mobile width, spacing, oversized cards, and off-screen gallery.
   ========================================================== */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body,
  main,
  .section,
  .hero,
  .gallery-section,
  .concept-strip,
  .map-section,
  .rsvp-section {
    overflow-x: clip;
  }
}

img,
svg,
iframe {
  max-width: 100%;
}

@media (hover: none) and (pointer: coarse) {
  .tilt-card {
    transform: none !important;
  }
}

@media (max-width: 640px) {
  :root {
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
  }

  body {
    min-width: 0;
  }

  body::before {
    background-size: 42px 42px;
    opacity: .08;
  }

  .scroll-progress {
    height: 3px;
  }

  .sound-pill {
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    max-width: calc(100vw - 20px);
    transform: scale(.88) translateY(-120%);
    transform-origin: top right;
  }

  body.entered .sound-pill {
    transform: scale(.88) translateY(0);
  }

  .icon-btn {
    min-height: 42px;
    padding: 8px 12px 8px 8px;
    gap: 8px;
  }

  .disc-mini {
    width: 24px;
    height: 24px;
  }

  .section {
    width: 100%;
    max-width: 100vw;
    padding: 54px 18px;
  }

  .hero {
    min-height: auto;
    padding: 86px 18px 58px;
    display: block;
  }

  .hero-grid {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .stacked-names {
    justify-items: center;
  }

  .eyebrow {
    font-size: .68rem;
    letter-spacing: .18em;
    margin-bottom: 10px;
  }

  .gate-shell h1,
  .names {
    font-size: clamp(3.9rem, 20vw, 5.7rem);
    line-height: .76;
  }

  .hero-poem,
  .gate-copy,
  .strip-card p,
  .detail-panel p,
  .map-copy p:not(.eyebrow),
  .timeline-card p,
  .gallery-copy p,
  .rsvp-copy p:not(.eyebrow) {
    font-size: .94rem;
    line-height: 1.68;
  }

  .atelier-card {
    width: 100%;
    max-width: 390px;
    min-height: auto;
    aspect-ratio: 1 / 1.12;
    padding: 26px 18px;
    border-radius: 42% 42% 26px 26px;
  }

  .atelier-card h3 {
    font-size: clamp(2.25rem, 11.8vw, 3.35rem);
    line-height: .98;
  }

  .atelier-card p:not(.card-label),
  .tiny-note {
    font-size: .94rem;
  }

  .crest {
    width: min(58vw, 190px);
  }

  .scroll-cue {
    position: static;
    transform: none;
    margin-top: 18px;
  }

  .scroll-cue span {
    height: 30px;
  }

  .concept-strip {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding-inline: 18px;
  }

  .strip-card {
    width: 100%;
    min-height: auto;
    padding: 24px;
    border-radius: 24px;
  }

  .strip-icon {
    width: 44px;
    height: 44px;
  }

  .strip-card h3,
  .concept-strip .strip-card h3 {
    font-size: clamp(1.45rem, 7vw, 1.82rem);
    line-height: 1.08;
    margin: 30px 0 10px;
  }

  .section-heading {
    max-width: 420px;
    margin: 0 auto 24px;
    text-align: center;
  }

  .section-heading h2,
  .timeline-card h2,
  .gallery-copy h2,
  .rsvp-copy h2 {
    font-size: clamp(2.45rem, 12.5vw, 3.75rem);
    line-height: .93;
    letter-spacing: -.045em;
  }

  .detail-grid {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail-panel {
    width: 100%;
    min-height: 190px;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .detail-panel .detail-icon,
  .detail-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
  }

  .detail-panel h3 {
    font-size: clamp(2.05rem, 10vw, 2.65rem);
    margin-bottom: 10px;
  }

  .map-section {
    padding-top: 34px;
  }

  .map-card {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 26px;
  }

  .map-card::before {
    inset: 8px;
    border-radius: 20px;
  }

  .map-copy {
    width: 100%;
    min-height: auto;
    padding: 24px 18px 18px;
    text-align: center;
    align-items: center;
  }

  .map-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }

  .map-copy h3 {
    font-size: clamp(2.75rem, 14vw, 4rem);
    line-height: .92;
  }

  .map-copy .primary-cta {
    width: 100%;
    max-width: 300px;
  }

  .map-frame,
  .map-frame iframe {
    width: 100%;
    min-height: 320px;
    border-radius: 20px;
  }

  .timeline-card {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    grid-template-columns: 1fr;
    padding: 26px 22px;
    gap: 22px;
    border-radius: 24px;
  }

  .time-row {
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .time-row span {
    font-size: 1.22rem;
  }

  .timeline-card .ghost-cta,
  .primary-cta,
  .ghost-cta {
    width: 100%;
  }

  .countdown-section {
    padding-top: 38px;
  }

  .countdown {
    width: 100%;
    max-width: 420px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 24px;
  }

  .countdown div {
    padding: 18px 8px;
  }

  .countdown strong {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .countdown span {
    font-size: .6rem;
    letter-spacing: .12em;
  }

  .gallery-section {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-inline: 18px;
  }

  .gallery-copy {
    width: 100%;
    padding: 24px;
    border-radius: 24px;
    text-align: center;
  }

  .two-photo-stack,
  .gallery-stack {
    width: 100%;
    max-width: 390px;
    min-height: 410px;
    margin-inline: auto;
    overflow: visible;
  }

  .two-photo-stack .gallery-frame,
  .gallery-frame {
    width: min(64vw, 242px);
    min-height: 322px;
    padding: 9px;
    border-radius: 22px;
  }

  .two-photo-stack .gallery-frame img,
  .gallery-frame img {
    min-height: 300px;
    border-radius: 16px;
  }

  .two-photo-stack .frame-a,
  .frame-a {
    left: 0;
    top: 20px;
    transform: rotate(-5deg);
  }

  .two-photo-stack .frame-b,
  .frame-b {
    right: 0;
    top: 86px;
    transform: rotate(5deg);
  }

  .rsvp-section {
    padding-top: 44px;
  }

  .rsvp-card {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 20px;
    border-radius: 26px;
  }

  .rsvp-card::before {
    inset: 9px;
    border-radius: 20px;
  }

  .rsvp-copy {
    text-align: center;
  }

  .rsvp-copy p:not(.eyebrow) {
    margin-inline: auto;
  }

  .rsvp-form {
    gap: 14px;
  }

  .rsvp-form label {
    font-size: .88rem;
  }

  .rsvp-form input,
  .rsvp-form textarea {
    border-radius: 18px;
    padding: 14px 15px;
    font-size: .95rem;
  }

  .rsvp-form textarea {
    min-height: 128px;
  }

  .rsvp-submit {
    width: 100%;
  }

  .modal {
    width: calc(100vw - 28px);
    padding: 32px 20px 24px;
    border-radius: 24px;
  }
}

@media (max-width: 390px) {
  .section,
  .hero,
  .gallery-section,
  .concept-strip {
    padding-left: 14px;
    padding-right: 14px;
  }

  .gate-shell h1,
  .names {
    font-size: clamp(3.55rem, 19vw, 5.1rem);
  }

  .atelier-card {
    max-width: 350px;
  }

  .two-photo-stack .gallery-frame,
  .gallery-frame {
    width: min(64vw, 226px);
    min-height: 300px;
  }

  .two-photo-stack .gallery-frame img,
  .gallery-frame img {
    min-height: 278px;
  }
}
