@import "tailwindcss";
@import "./event-pages.css";

:root {
  --ink: #1b2020;
  --paper: #f7f4ee;
  --card: #fffdfa;
  --coral: #f15a3b;
  --mint: #b8e4d0;
  --yellow: #f3c84b;
  --line: #d9d4ca;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.manager-shell { min-height: 100vh; overflow: hidden; }
.organiser-login-page {
  min-height: 100vh; display: grid; place-items: center; padding: 30px;
  background:
    radial-gradient(circle at 14% 18%, rgba(241,90,59,.16), transparent 28%),
    radial-gradient(circle at 86% 82%, rgba(184,228,208,.72), transparent 30%),
    #f4f0e8;
}
.organiser-login-card {
  width: min(460px, 100%); padding: 44px; border: 1px solid var(--line); border-radius: 25px;
  background: rgba(255,255,255,.88); box-shadow: 0 28px 80px rgba(37,42,40,.12);
}
.organiser-login-card.loading { min-height: 220px; display: grid; place-items: center; text-align: center; color: #73756f; }
.organiser-login-card.loading p { margin: 0; }
.organiser-login-brand { display: inline-flex; margin-bottom: 42px; }
.organiser-login-card h1 { margin: 10px 0 10px; font-family: Georgia, serif; font-size: 48px; line-height: 1; font-weight: 500; letter-spacing: -.045em; }
.organiser-login-card > p { margin: 0; color: #74766f; font-size: 14px; line-height: 1.55; }
.organiser-login-card form { display: grid; gap: 16px; margin-top: 30px; }
.organiser-login-card form label > span { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.organiser-login-card form input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #c8c3b9; border-radius: 10px; background: white; font: inherit; }
.organiser-login-card form input:focus { outline: 2px solid rgba(241,90,59,.22); border-color: var(--coral); }
.organiser-login-card form .primary-button { width: 100%; justify-content: center; margin-top: 4px; }
.organiser-login-card .login-error { margin: -4px 0 0; color: #a93320; font-size: 12px; }
.organiser-login-home { display: inline-block; margin-top: 24px; color: #73756f; font-size: 11px; font-weight: 750; }
.manager-account { display: flex; align-items: center; gap: 14px; }
.manager-account > span { color: #777872; font-size: 10px; }
.manager-account > button { border: 0; background: transparent; color: #6f716b; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.manager-nav {
  width: min(1180px, calc(100% - 48px));
  height: 84px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 850; letter-spacing: -.045em; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.by-flowlab {
  padding-left: 10px; border-left: 1px solid var(--line); color: #858982;
  font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase;
}
.by-flowlab:hover { color: var(--coral); }
.brand-mark {
  position: relative; width: 34px; height: 34px; display: grid; place-items: center;
  overflow: hidden; border-radius: 12px 12px 12px 4px;
  background: linear-gradient(145deg, #ff765a 0%, var(--coral) 56%, #d93d24 100%);
  color: white; box-shadow: 0 5px 12px rgba(204, 61, 34, .2);
}
.brand-mark > span {
  position: relative; z-index: 1; margin: -1px 0 0 -2px;
  font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-style: italic; font-weight: 700;
}
.brand-mark::before {
  content: ""; position: absolute; width: 29px; height: 15px; left: -7px; bottom: -5px;
  border: 2px solid rgba(255,255,255,.62); border-radius: 50%; transform: rotate(-12deg);
}
.brand-mark i {
  position: absolute; width: 6px; height: 6px; right: 5px; top: 5px;
  border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px rgba(255,255,255,.2);
}
.primary-button {
  border: 0; border-radius: 999px; padding: 15px 25px; background: var(--ink); color: white;
  font-weight: 750; cursor: pointer; transition: transform .2s, background .2s;
}
.primary-button:hover { transform: translateY(-2px); background: #343b3a; }
.primary-button:disabled { opacity: .55; cursor: wait; }
.primary-button.compact { padding: 11px 18px; font-size: 14px; }

.manager-hero {
  width: min(1180px, calc(100% - 48px)); margin: 68px auto 80px;
  display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 68px;
}
.eyebrow { display: inline-block; font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.eyebrow.coral { color: var(--coral); }
.manager-hero h1 {
  margin: 18px 0 24px; max-width: 600px; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6vw, 86px); line-height: .92; font-weight: 500; letter-spacing: -.055em;
}
.manager-hero > div:first-child p { max-width: 470px; font-size: 18px; line-height: 1.65; color: #626560; }
.split-preview {
  position: relative; min-height: 430px; border-radius: 44% 56% 45% 55% / 58% 42% 58% 42%;
  background: var(--mint); display: flex; align-items: center; justify-content: center; padding: 50px;
}
.split-preview::before {
  content: ""; position: absolute; width: 88px; height: 88px; border-radius: 50%;
  background: var(--yellow); right: 0; top: 8px; z-index: -1;
}
.split-preview::after {
  content: "SEPARATE • SIMPLE • LIVE •"; position: absolute; right: 10px; bottom: 2px;
  width: 120px; height: 120px; border: 1px solid rgba(27,32,32,.25); border-radius: 50%;
  display: grid; place-items: center; font-size: 9px; letter-spacing: .1em; transform: rotate(12deg);
}
.phone-preview {
  width: 178px; height: 340px; padding: 25px 18px; border: 6px solid var(--ink); border-radius: 28px;
  background: #fffdfa; z-index: 2; transform: rotate(-6deg); box-shadow: 0 22px 50px rgba(38,65,56,.2);
}
.phone-dot { width: 34px; height: 5px; margin: -13px auto 22px; background: var(--ink); border-radius: 4px; }
.mini-label { font-size: 7px; font-weight: 900; letter-spacing: .13em; }
.mini-label.light { color: rgba(255,255,255,.74); }
.mini-photo { height: 132px; margin: 12px 0 18px; border-radius: 8px; background: linear-gradient(145deg, #f3c84b 0 34%, #f0886e 34% 66%, #b8e4d0 66%); }
.mini-line { height: 6px; width: 63%; background: #dad8d2; border-radius: 8px; margin: 8px 0; }
.mini-line.wide { width: 94%; }
.mini-button { margin-top: 24px; background: var(--coral); color: white; border-radius: 20px; padding: 9px 7px; text-align: center; font-size: 9px; font-weight: 800; }
.wall-preview {
  width: 370px; min-height: 270px; margin-left: -10px; padding: 25px; border-radius: 12px;
  background: var(--ink); color: white; transform: rotate(4deg); box-shadow: 0 24px 55px rgba(38,65,56,.28);
}
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 13px 0 17px; }
.preview-tile { height: 72px; border-radius: 3px; background: #f3c84b; }
.tile-2,.tile-6 { background: #9dbeac; }.tile-3 { background: #f0886e; }.tile-4 { background: #536d68; }.tile-5 { background: #d8b1a5; }
.wall-preview strong { display: block; font-family: Georgia, serif; font-size: 19px; font-weight: 400; }

.event-section { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 55px 0 95px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 34px; }
.section-heading h2, .how-it-works h2, .create-modal h2 { margin: 0; font-family: Georgia, serif; font-size: 40px; font-weight: 500; letter-spacing: -.035em; }
.section-heading p { margin: 8px 0 0; color: #74766f; }
.event-library-tools {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 0 0 24px; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.5);
}
.event-library-tabs { display: flex; gap: 4px; }
.event-library-tabs button {
  display: flex; align-items: center; gap: 9px; padding: 10px 14px; border: 0; border-radius: 10px;
  background: transparent; color: #777872; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer;
}
.event-library-tabs button b { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #e7e2da; font-size: 9px; }
.event-library-tabs button.active { background: var(--ink); color: white; }
.event-library-tabs button.active b { background: var(--coral); color: white; }
.event-search {
  width: min(360px, 100%); height: 42px; display: flex; align-items: center; gap: 9px;
  padding: 0 13px; border: 1px solid #ccc6bc; border-radius: 10px; background: white; color: #92938d;
}
.event-search input { width: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 12px; color: var(--ink); }
.event-library-empty {
  min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px dashed #bbb6ad; border-radius: 22px; text-align: center; color: #777872;
}
.event-library-empty > span { font-size: 30px; }.event-library-empty strong { margin-top: 12px; color: var(--ink); }.event-library-empty small { margin-top: 5px; }
.event-count { padding: 7px 12px; border: 1px solid var(--line); border-radius: 20px; color: #686b66; font-size: 12px; }
.notice { padding: 12px 16px; border: 1px solid #a4c9b7; border-radius: 10px; background: #e7f5ee; color: #2a5c48; font-size: 14px; }

/* Public marketing page */
.public-landing { min-height: 100vh; overflow: hidden; background: #f7f3ec; color: var(--ink); }
.public-landing-nav {
  width: min(1220px, calc(100% - 48px)); min-height: 82px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line);
}
.public-landing-nav nav, .landing-footer nav { display: flex; align-items: center; gap: 28px; color: #60645f; font-size: 13px; font-weight: 700; }
.public-landing-nav nav > a:not(.landing-nav-cta):hover, .landing-footer nav a:hover { color: var(--coral); }
.landing-nav-cta {
  display: inline-flex; align-items: center; gap: 14px; padding: 11px 16px; border-radius: 999px;
  background: var(--ink); color: white;
}
.landing-nav-cta span { font-size: 15px; }
.public-landing-hero {
  width: min(1220px, calc(100% - 48px)); min-height: 720px; margin: auto;
  display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: clamp(50px, 7vw, 96px);
  padding: 68px 0 92px;
}
.public-landing-copy h1 {
  margin: 18px 0 28px; max-width: 690px; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6.3vw, 92px); line-height: .91; font-weight: 500; letter-spacing: -.065em;
}
.public-landing-copy > p { max-width: 590px; margin: 0; color: #686d67; font-size: 18px; line-height: 1.65; }
.landing-hero-actions { display: flex; align-items: center; gap: 25px; margin: 34px 0 29px; }
.landing-primary-cta {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 30px;
  min-width: 210px; padding: 16px 20px; border-radius: 999px; background: var(--coral); color: white;
  font-size: 14px; font-weight: 800; transition: transform .2s, box-shadow .2s;
}
.landing-primary-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(213,69,41,.2); }
.landing-primary-cta span { font-size: 19px; }
.landing-text-link { padding-bottom: 5px; border-bottom: 1px solid #aaa79f; color: #444945; font-size: 13px; font-weight: 800; }
.landing-text-link span { margin-left: 8px; color: var(--coral); }
.public-landing-copy .landing-guest-note { color: #878a84; font-size: 12px; }
.landing-guest-note strong { color: #404541; }
.public-landing-art {
  position: relative; min-height: 590px; border-radius: 42% 42% 20px 20px;
  background: var(--mint); box-shadow: 0 30px 75px rgba(45,68,61,.14);
}
.public-landing-art::before {
  content: ""; position: absolute; width: 250px; height: 250px; right: -76px; top: -58px;
  border: 38px solid var(--yellow); border-radius: 50%; opacity: .92;
}
.public-landing-art::after {
  content: ""; position: absolute; width: 310px; height: 310px; left: -105px; bottom: -108px;
  border-radius: 50%; background: var(--coral);
}
.landing-phone {
  position: absolute; z-index: 3; width: 184px; height: 362px; left: 9%; top: 16%; padding: 28px 17px 20px;
  border: 6px solid var(--ink); border-radius: 29px; background: #fffdfa;
  transform: rotate(-7deg); box-shadow: 0 24px 50px rgba(31,52,47,.24);
}
.landing-phone::before { content: ""; position: absolute; width: 42px; height: 5px; left: calc(50% - 21px); top: 11px; border-radius: 5px; background: var(--ink); }
.landing-device-label { font-size: 7px; font-weight: 900; letter-spacing: .14em; }
.landing-photo-placeholder { position: relative; height: 132px; margin: 14px 0 19px; overflow: hidden; border-radius: 9px; background: #f6d362; }
.landing-photo-placeholder i:first-child { position: absolute; width: 88px; height: 88px; left: -20px; bottom: -42px; border-radius: 50%; background: var(--coral); }
.landing-photo-placeholder i:nth-child(2) { position: absolute; width: 70px; height: 90px; right: -6px; bottom: -18px; border-radius: 100% 0; background: #487168; transform: rotate(10deg); }
.landing-photo-placeholder i:last-child { position: absolute; width: 18px; height: 18px; right: 20px; top: 17px; border-radius: 50%; background: #fff8dc; }
.landing-field { display: block; height: 7px; width: 100%; margin: 10px 0; border-radius: 10px; background: #dedbd5; }
.landing-field.short { width: 68%; }
.landing-submit { display: block; margin-top: 25px; padding: 10px 7px; border-radius: 20px; background: var(--coral); color: white; text-align: center; font-size: 9px; font-weight: 850; }
.landing-screen {
  position: absolute; z-index: 2; width: 70%; min-height: 378px; right: -7%; top: 18%; padding: 30px;
  border-radius: 12px; background: var(--ink); color: white; transform: rotate(4deg);
  box-shadow: 0 28px 60px rgba(31,52,47,.28);
}
.landing-screen-top { display: flex; align-items: center; gap: 7px; color: #aeb7b4; font-size: 7px; font-weight: 850; letter-spacing: .13em; }
.landing-screen-top span { padding: 5px 6px; border-radius: 3px; background: var(--coral); color: white; }
.landing-screen-top i { width: 4px; height: 4px; border-radius: 50%; background: #6f7774; }
.landing-screen > strong { display: block; max-width: 340px; margin: 20px auto 22px; font-family: Georgia, serif; font-size: 26px; line-height: 1; font-weight: 500; text-align: center; }
.landing-screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.landing-screen-grid span { min-height: 94px; display: grid; place-items: center; padding: 12px; border-radius: 4px; color: white; font-family: Georgia, serif; font-size: 13px; line-height: 1.1; text-align: center; }
.landing-screen-grid .photo-card { background: linear-gradient(145deg, #f3c84b 0 40%, #df765e 40% 70%, #93b9a7 70%); }
.landing-screen-grid .quote-card { background: #a7675d; }
.landing-screen-grid .mint-card { background: linear-gradient(150deg, #8fb7a5 0 57%, #f3c84b 57%); }
.landing-screen-grid .yellow-card { background: #c28f3b; }
.landing-flow-dot { position: absolute; z-index: 5; border-radius: 50%; background: var(--yellow); box-shadow: 0 4px 12px rgba(81,65,27,.16); }
.dot-one { width: 13px; height: 13px; left: 39%; top: 26%; }
.dot-two { width: 8px; height: 8px; left: 45%; top: 34%; background: var(--coral); }
.dot-three { width: 5px; height: 5px; left: 50%; top: 41%; background: white; }
.landing-proof-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); color: white;
  padding: 0 max(24px, calc((100vw - 1220px) / 2));
}
.landing-proof-strip p { position: relative; min-height: 142px; margin: 0; padding: 33px 25px 25px; border-right: 1px solid #404745; }
.landing-proof-strip p:first-child { border-left: 1px solid #404745; }
.landing-proof-strip span { display: block; margin-bottom: 14px; color: var(--yellow); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.landing-proof-strip strong { display: block; font-family: Georgia, serif; font-size: 19px; font-weight: 500; }
.landing-proof-strip small { display: block; margin-top: 6px; color: #aeb5b2; font-size: 11px; }
.landing-story-section {
  width: min(1220px, calc(100% - 48px)); margin: auto; padding: 130px 0;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(70px, 10vw, 150px);
}
.landing-section-intro { position: sticky; top: 45px; align-self: start; }
.landing-section-intro h2, .landing-section-heading h2, .landing-control-copy h2, .landing-faq h2, .landing-final-cta h2 {
  margin: 17px 0 24px; font-family: Georgia, serif; font-size: clamp(46px, 5vw, 70px);
  line-height: .94; font-weight: 500; letter-spacing: -.055em;
}
.landing-section-intro > p, .landing-section-heading > p, .landing-control-copy > p, .landing-faq > div:first-child > p {
  max-width: 500px; color: #70746e; font-size: 16px; line-height: 1.7;
}
.landing-process { border-top: 1px solid var(--line); }
.landing-process article { display: grid; grid-template-columns: 55px 1fr; gap: 24px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.landing-process article > span { color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.landing-process h3 { margin: -5px 0 8px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.landing-process p { max-width: 520px; margin: 0; color: #737771; font-size: 14px; line-height: 1.6; }
.landing-event-section { padding: 120px max(24px, calc((100vw - 1220px) / 2)); background: #d9eee4; }
.landing-section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: end; margin-bottom: 58px; }
.landing-section-heading .eyebrow { color: #426b5b; }
.landing-section-heading h2 { margin-bottom: 0; }
.landing-section-heading > p { margin: 0 0 5px; color: #4e6a60; }
.landing-event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.landing-event-card {
  position: relative; min-height: 390px; overflow: hidden; border-radius: 18px;
  background: #fffdfa; box-shadow: 0 16px 35px rgba(46,85,70,.08);
}
.landing-event-image { position: relative; height: 230px; overflow: hidden; background: #d6d2c8; }
.landing-event-image::after {
  content: ""; position: absolute; inset: auto 0 0; height: 45%;
  background: linear-gradient(to top, rgba(21,29,27,.24), transparent);
}
.landing-event-image img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.landing-event-card:hover .landing-event-image img { transform: scale(1.035); }
.landing-event-number {
  position: absolute; z-index: 2; left: 16px; top: 16px; padding: 7px 9px;
  border-radius: 999px; background: rgba(255,253,250,.9); color: #3f4540;
  box-shadow: 0 4px 12px rgba(21,29,27,.08); font-size: 9px; font-weight: 900; letter-spacing: .12em;
}
.landing-event-copy { padding: 23px 24px 26px; }
.landing-event-card h3 { position: relative; z-index: 2; margin: 0 0 7px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.landing-event-card p { position: relative; z-index: 2; margin: 0; color: #777a74; font-size: 12px; line-height: 1.55; }
.landing-event-card.wedding { background: #fff8f4; }
.landing-event-card.national { background: #fff4f4; }
.landing-event-card.seminar { background: #eeebfb; }
.landing-control-section {
  width: min(1120px, calc(100% - 48px)); margin: auto; padding: 135px 0;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(70px, 9vw, 125px); align-items: center;
}
.landing-control-visual { position: relative; min-height: 480px; padding: 55px; border-radius: 24px; background: var(--ink); color: white; transform: rotate(-2deg); }
.control-label { color: var(--mint); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.control-card { display: grid; grid-template-columns: 45px 1fr; gap: 17px; margin-top: 45px; padding: 25px; border-radius: 14px; background: #fffdfa; color: var(--ink); transform: rotate(2deg); }
.control-avatar { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 10px; font-weight: 900; }
.control-card strong { display: block; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.control-card small { display: block; margin-top: 9px; color: #858680; font-size: 10px; }
.control-buttons { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10px; margin-top: 16px; }
.control-buttons span, .control-buttons strong { padding: 14px; border-radius: 10px; text-align: center; font-size: 11px; }
.control-buttons span { border: 1px solid #525957; color: #b8bfbc; }.control-buttons strong { background: var(--coral); color: white; }
.control-live-note { position: absolute; right: 40px; bottom: 35px; color: #afb7b4; font-size: 10px; }
.control-live-note i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #74c99f; box-shadow: 0 0 0 4px rgba(116,201,159,.1); }
.landing-control-copy ul { display: grid; gap: 14px; margin: 29px 0 0; padding: 0; list-style: none; color: #4f544f; font-size: 13px; font-weight: 700; }
.landing-control-copy li { display: flex; align-items: center; gap: 12px; }
.landing-control-copy li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #dcefe6; color: #357057; font-size: 10px; }
.landing-faq {
  padding: 120px max(24px, calc((100vw - 1120px) / 2)); background: #fffdfa;
  display: grid; grid-template-columns: .75fr 1.25fr; gap: 110px;
}
.landing-faq h2 { font-size: 58px; }
.landing-faq-list { border-top: 1px solid var(--line); }
.landing-faq details { border-bottom: 1px solid var(--line); }
.landing-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0; cursor: pointer; font-family: Georgia, serif; font-size: 21px; list-style: none; }
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary span { color: var(--coral); font-family: Inter, sans-serif; transition: transform .2s; }
.landing-faq details[open] summary span { transform: rotate(45deg); }
.landing-faq details p { max-width: 650px; margin: -7px 0 25px; color: #6f746e; font-size: 14px; line-height: 1.7; }
.landing-final-cta { position: relative; overflow: hidden; padding: 130px 24px 140px; background: var(--coral); color: white; text-align: center; }
.landing-final-cta .eyebrow { color: #ffd8ce; }
.landing-final-cta h2 { position: relative; z-index: 2; margin: 20px auto 22px; font-size: clamp(55px, 7vw, 88px); }
.landing-final-cta p { position: relative; z-index: 2; color: #ffe3dc; font-size: 16px; }
.landing-final-cta a { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 28px; margin-top: 25px; padding: 16px 22px; border-radius: 999px; background: var(--ink); color: white; font-size: 13px; font-weight: 800; }
.landing-final-cta a span { font-size: 18px; }
.landing-final-cta .landing-contact-line { margin: 22px 0 0; color: #ffd8ce; font-size: 12px; }
.landing-final-cta .landing-contact-line a { display: inline; margin: 0 0 0 5px; padding: 0; border-bottom: 1px solid rgba(255,255,255,.62); border-radius: 0; background: transparent; font-size: inherit; }
.landing-final-cta > i { position: absolute; display: block; border-radius: 50%; }
.cta-orb-one { width: 350px; height: 350px; left: -120px; bottom: -180px; background: #d43e24; }
.cta-orb-two { width: 280px; height: 280px; right: -100px; top: -120px; border: 36px solid var(--yellow); }
.landing-footer {
  width: min(1220px, calc(100% - 48px)); min-height: 150px; margin: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 45px;
}
.landing-footer > p { color: #797c76; font-size: 12px; }
.landing-footer > p a { display: inline-block; margin-top: 7px; color: var(--ink); font-weight: 750; }

@media (max-width: 980px) {
  .public-landing-nav nav > a:not(.landing-nav-cta) { display: none; }
  .public-landing-hero { grid-template-columns: 1fr; }
  .public-landing-copy { max-width: 720px; }
  .public-landing-art { min-height: 560px; }
  .landing-proof-strip { grid-template-columns: repeat(2, 1fr); }
  .landing-story-section, .landing-control-section, .landing-faq { grid-template-columns: 1fr; gap: 65px; }
  .landing-section-intro { position: static; }
  .landing-section-heading { grid-template-columns: 1fr; gap: 20px; }
  .landing-event-grid { grid-template-columns: repeat(2, 1fr); }
  .landing-footer { grid-template-columns: 1fr; gap: 18px; padding: 38px 0; }
  .landing-footer nav { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .public-landing-nav, .public-landing-hero, .landing-story-section, .landing-control-section, .landing-footer { width: min(100% - 32px, 1220px); }
  .public-landing-nav { min-height: 72px; }
  .public-landing-nav .brand > span:last-child { display: inline; }
  .landing-nav-cta { padding: 10px 13px; font-size: 0; }
  .landing-nav-cta span { font-size: 17px; }
  .public-landing-hero { min-height: auto; padding: 60px 0 80px; }
  .public-landing-copy h1 { font-size: clamp(53px, 16vw, 70px); }
  .public-landing-copy > p { font-size: 16px; }
  .landing-hero-actions { align-items: flex-start; flex-direction: column; }
  .landing-primary-cta { width: 100%; }
  .public-landing-art { min-height: 420px; border-radius: 110px 110px 16px 16px; }
  .landing-phone { width: 126px; height: 265px; left: 4%; top: 17%; padding: 23px 12px; border-width: 4px; border-radius: 22px; }
  .landing-photo-placeholder { height: 82px; margin: 10px 0 13px; }
  .landing-submit { margin-top: 15px; font-size: 7px; }
  .landing-screen { width: 76%; min-height: 285px; right: -12%; top: 15%; padding: 20px; }
  .landing-screen > strong { margin: 14px auto; font-size: 18px; }
  .landing-screen-grid span { min-height: 68px; font-size: 10px; }
  .landing-proof-strip { grid-template-columns: 1fr; }
  .landing-proof-strip p { min-height: 112px; border-right: 0; border-bottom: 1px solid #404745; }
  .landing-proof-strip p:first-child { border-left: 0; }
  .landing-story-section, .landing-control-section { padding: 90px 0; }
  .landing-section-intro h2, .landing-section-heading h2, .landing-control-copy h2, .landing-faq h2 { font-size: 46px; }
  .landing-event-section, .landing-faq { padding-top: 90px; padding-bottom: 90px; }
  .landing-event-grid { grid-template-columns: 1fr; }
  .landing-event-card { min-height: 350px; }
  .landing-control-visual { min-height: 420px; padding: 35px 22px; }
  .control-card { grid-template-columns: 1fr; }
  .control-buttons { grid-template-columns: 1fr; }
  .control-live-note { right: 24px; bottom: 24px; }
  .landing-faq { gap: 45px; }
  .landing-faq summary { font-size: 18px; }
  .landing-final-cta { padding: 100px 20px 110px; }
  .landing-footer nav { gap: 17px; }
}

.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.event-card { overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 14px 30px rgba(44,45,39,.055); }
.event-card.deactivated { border-color: #c9c5bd; }
.event-card.deactivated .event-art { filter: grayscale(.82); opacity: .68; }
.event-art {
  --event-accent: var(--coral); position: relative; height: 235px; overflow: hidden;
  background: color-mix(in srgb, var(--event-accent), #fff 76%);
}
.art-orb { position: absolute; border-radius: 50%; }
.orb-one { width: 260px; height: 260px; left: -80px; bottom: -115px; background: var(--event-accent); opacity: .92; }
.orb-two { width: 210px; height: 210px; right: -30px; top: -80px; border: 26px solid var(--yellow); }
.art-copy { position: absolute; inset: 0; padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.art-copy span { font-size: 9px; font-weight: 850; letter-spacing: .18em; }
.art-copy strong { max-width: 370px; margin: 9px 0; font-family: Georgia, serif; font-size: 36px; line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.art-copy small { font-size: 12px; }
.event-details { padding: 24px; }
.event-title-row { display: flex; justify-content: space-between; align-items: start; }
.event-title-row h3 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.event-name-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.event-status { padding: 4px 7px; border-radius: 999px; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.event-status.active { background: #daf1e5; color: #286247; }
.event-status.deactivated { background: #e7e5e1; color: #666660; }
.event-title-row p { margin: 6px 0 14px; color: #85867f; font-size: 12px; }
.icon-button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.icon-button:hover { background: #f0ece5; }
.event-code-row {
  display: flex; align-items: center; gap: 9px; margin-bottom: 14px; padding: 8px 10px;
  border-radius: 9px; background: #f3efe8; color: #777870; font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em;
}
.event-code-row code { overflow: hidden; color: #333a38; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; text-transform: none; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.link-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.route-button { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 10px; border-radius: 12px; padding: 13px; font-size: 13px; font-weight: 750; transition: transform .2s; }
.route-button:hover { transform: translateY(-2px); }
.route-button.contribute { background: #f1ece4; }
.route-button.display { background: var(--ink); color: white; }
.route-button.manage { grid-column: 1 / -1; background: color-mix(in srgb, var(--event-accent, #b8e4d0), white 78%); border: 1px solid color-mix(in srgb, var(--event-accent, #b8e4d0), white 52%); }
.route-button.manage .route-icon { background: var(--mint); color: #1f5b45; }
.route-button small { display: block; margin-bottom: 3px; opacity: .58; font-size: 7px; letter-spacing: .12em; }
.route-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.45); }
.route-button b { font-size: 16px; }
.copy-link-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.copy-link-row button {
  border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; background: transparent;
  color: #686a64; font-size: 11px; font-weight: 750; cursor: pointer;
}
.copy-link-row button:hover { border-color: #a8a298; background: #f5f1ea; color: var(--ink); }
.copy-link-row button:disabled { opacity: .45; cursor: not-allowed; }
.copy-link-row .deactivate-event,
.copy-link-row .activate-event { grid-column: 1 / -1; }
.copy-link-row .edit-event { border-color: #a9bfb5; color: #2c6750; }
.copy-link-row .deactivate-event { border-color: #d8aaa1; color: #9d3d2c; }
.copy-link-row .activate-event { border-color: #9fc9b5; color: #286247; }
.new-event-card {
  min-height: 230px; border: 1px dashed #aaa69c; border-radius: 22px; background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer;
}
.new-event-card:hover { background: rgba(255,255,255,.35); }
.new-event-card > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font-size: 24px; margin-bottom: 14px; }
.new-event-card strong { font-size: 16px; }.new-event-card small { margin-top: 5px; color: #84847d; }
.event-edit-overlay {
  position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px;
  background: rgba(18, 22, 21, .58); backdrop-filter: blur(6px);
}
.event-edit-modal {
  width: min(650px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 32px;
  border-radius: 22px; background: #fbf8f2; box-shadow: 0 30px 90px rgba(0,0,0,.24);
}
.event-edit-modal header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.event-edit-modal header h2 { margin: 7px 0 0; font-family: Georgia, serif; font-size: 34px; font-weight: 500; letter-spacing: -.035em; }
.event-edit-modal header > button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 22px; cursor: pointer; }
.event-edit-modal > p { margin: 13px 0 25px; color: #75766f; font-size: 13px; line-height: 1.55; }
.event-edit-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.event-edit-fields label { display: block; }.event-edit-fields label.full { grid-column: 1 / -1; }
.event-edit-fields label > span { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.event-edit-fields input:not([type="color"]), .event-edit-fields textarea, .event-edit-fields select {
  width: 100%; border: 1px solid #ccc6bc; border-radius: 10px; background: white; padding: 12px 13px; font: inherit; font-size: 13px;
}
.event-edit-fields textarea { min-height: 88px; resize: vertical; }
.event-edit-fields input[type="color"] { width: 100%; height: 45px; padding: 4px; border: 1px solid #ccc6bc; border-radius: 10px; background: white; }
.event-edit-fields small { display: block; margin-top: 7px; color: #898a84; font-size: 10px; }
.event-edit-modal footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.event-edit-modal footer > button:first-child { border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px; background: transparent; font-weight: 750; cursor: pointer; }

.how-it-works { padding: 100px max(24px, calc((100vw - 1180px)/2)); background: var(--ink); color: white; }
.how-it-works .eyebrow { color: var(--mint); }
.how-it-works h2 { max-width: 560px; margin: 18px 0 55px; font-size: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.steps article { padding-top: 25px; border-top: 1px solid #4e5554; }
.steps b { color: var(--yellow); font-size: 11px; letter-spacing: .1em; }
.steps h3 { font-family: Georgia, serif; font-size: 25px; font-weight: 500; margin: 18px 0 9px; }
.steps p { margin: 0; color: #b9bfbd; line-height: 1.6; }

.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(14,19,18,.68); backdrop-filter: blur(8px); }
.create-modal { position: relative; width: min(510px, 100%); border-radius: 24px; padding: 42px; background: var(--card); box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.modal-close { position: absolute; right: 18px; top: 16px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.create-modal h2 { margin: 10px 0 8px; }
.create-modal > p { color: #75766f; }
.create-modal form { display: grid; gap: 16px; margin-top: 28px; }
.create-modal label { display: grid; gap: 7px; font-size: 12px; font-weight: 750; }
.create-modal input:not([type=color]) { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; background: white; outline: none; }
.create-modal input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(241,90,59,.12); }
.color-field { grid-template-columns: 1fr auto; align-items: center; }
.color-field input { width: 48px; height: 34px; border: 0; padding: 0; background: none; }
.theme-picker { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; }
.theme-picker legend { margin-bottom: 8px; font-size: 12px; font-weight: 750; }
.theme-picker label { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.theme-picker input { position: absolute; opacity: 0; }
.theme-picker label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.theme-picker b { font-size: 9px; line-height: 1.2; }
.theme-swatch { height: 36px; border-radius: 6px; }
.garden-swatch { background: linear-gradient(135deg, #b8e4d0 0 50%, #f15a3b 50%); }
.national-swatch { background: linear-gradient(135deg, #ed1b2f 0 62%, #fff 62%); box-shadow: inset 0 0 0 1px #ddd; }
.halloween-swatch { background: linear-gradient(135deg, #f47b20 0 50%, #24152d 50%); }
.wedding-swatch { background: linear-gradient(135deg, #f8eee9 0 40%, #b78573 40% 68%, #d8c49d 68%); }
.celebration-swatch { background: linear-gradient(135deg, #8669d4 0 33%, #f3c84b 33% 66%, #4dc3c8 66%); }
.photo-mode-picker { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo-mode-picker legend { margin-bottom: 8px; font-size: 12px; font-weight: 750; }
.photo-mode-picker label { position: relative; min-height: 78px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.photo-mode-picker input { position: absolute; right: 9px; top: 9px; accent-color: var(--ink); }
.photo-mode-picker label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: #f7f3ec; }
.photo-mode-picker span { display: grid; gap: 5px; padding-right: 12px; }
.photo-mode-picker b { font-size: 10px; }
.photo-mode-picker small { color: #8b8c85; font-size: 8px; line-height: 1.35; }
.photo-mode-picker:disabled { opacity: .48; }
.field-help { margin: -10px 0 0; color: #786f68; font-size: 10px; line-height: 1.45; }
.submission-method-picker {
  margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.submission-method-picker legend { margin-bottom: 8px; font-size: 12px; font-weight: 750; }
.submission-method-picker label {
  position: relative; min-height: 72px; padding: 12px; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
}
.submission-method-picker input { position: absolute; right: 9px; top: 9px; accent-color: var(--ink); }
.submission-method-picker label:has(input:checked) {
  border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: #f7f3ec;
}
.submission-method-picker span { display: grid; gap: 5px; padding-right: 18px; }
.submission-method-picker b { font-size: 10px; }
.submission-method-picker small { color: #8b8c85; font-size: 8px; line-height: 1.35; }

.event-art.theme-national-day { background: #fff4f4; }
.event-art.theme-national-day .orb-one { border-radius: 50%; background: #ed1b2f; }
.event-art.theme-national-day .orb-two { border-color: #ed1b2f; background: white; }
.event-art.theme-halloween { background: #26182f; color: white; }
.event-art.theme-halloween .orb-one { background: #f47b20; border-radius: 48% 52% 46% 54%; }
.event-art.theme-halloween .orb-two { border-color: #7b4a9e; }
.event-art.theme-wedding { background: linear-gradient(145deg, #fffaf7, #f4e7e1); }
.event-art.theme-wedding .orb-one { background: #d6b0a1; border-radius: 50% 50% 8px 50%; transform: rotate(-16deg); opacity: .74; }
.event-art.theme-wedding .orb-two { width: 190px; height: 190px; border-width: 1px; border-color: #b99370; box-shadow: inset 0 0 0 12px rgba(216,196,157,.2); }
.event-art.theme-wedding .art-copy span { color: #8e6b5e; }
.event-art.theme-wedding .art-copy strong { font-style: italic; color: #4d3932; }
.event-art.theme-celebration { background: #eee9ff; }
.event-art.theme-celebration .orb-one { background: #8064cf; border-radius: 24px; transform: rotate(12deg); }
.event-art.theme-celebration .orb-two { border-color: #45bfc5; border-radius: 28px; transform: rotate(-15deg); }

@media (max-width: 900px) {
  .manager-hero { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
  .manager-hero h1 { font-size: 64px; }
  .split-preview { min-height: 390px; }
  .event-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .manager-nav, .manager-hero, .event-section { width: min(100% - 32px, 1180px); }
  .manager-nav { height: 70px; }
  .brand span:last-child { display: none; }
  .manager-hero { margin: 40px auto 58px; }
  .manager-hero h1 { font-size: 50px; }
  .manager-hero > div:first-child p { font-size: 16px; }
  .split-preview { min-height: 315px; padding: 25px; }
  .phone-preview { width: 126px; height: 250px; padding: 20px 13px; border-width: 4px; border-radius: 22px; }
  .mini-photo { height: 90px; }.mini-button { margin-top: 14px; }
  .wall-preview { width: 230px; min-height: 190px; padding: 16px; }
  .preview-tile { height: 46px; }.wall-preview strong { font-size: 13px; }
  .split-preview::after { display: none; }
  .section-heading h2 { font-size: 34px; }
  .event-count { display: none; }
  .link-pair { grid-template-columns: 1fr; }
  .copy-link-row { grid-template-columns: 1fr; }
  .event-library-tools { align-items: stretch; flex-direction: column; }
  .event-search { width: 100%; }
  .event-edit-fields { grid-template-columns: 1fr; }
  .event-edit-fields label.full { grid-column: auto; }
  .event-edit-modal { padding: 24px 20px; }
  .event-edit-modal footer { align-items: stretch; flex-direction: column-reverse; }
  .event-edit-modal footer button { justify-content: center; }
  .art-copy { padding: 25px; }.art-copy strong { font-size: 31px; }
  .how-it-works { padding-top: 75px; padding-bottom: 75px; }
  .how-it-works h2 { font-size: 38px; }
  .steps { grid-template-columns: 1fr; }
  .create-modal { padding: 34px 25px 25px; }
  .photo-mode-picker { grid-template-columns: 1fr; }
  .submission-method-picker { grid-template-columns: 1fr; }
  .photo-mode-picker label { min-height: 58px; }
}

/* Guest contribution page */
.contribution-page { --event-accent: var(--coral); min-height: 100vh; background: #f3efe6; }
.contribution-page.theme-national-day { background: linear-gradient(145deg, #fff 0 72%, #fff0f1 72%); }
.contribution-page.theme-national-day .story-shape { background: #fff; border: 2px solid #ed1b2f; border-radius: 120px 120px 12px 12px; }
.contribution-page.theme-national-day .story-sun { background: #ed1b2f; }
.contribution-page.theme-halloween { background: #1f1527; color: #fff7e9; }
.contribution-page.theme-halloween .contribution-nav { border-color: #493a51; }
.contribution-page.theme-halloween .back-link, .contribution-page.theme-halloween .contribution-story > p, .contribution-page.theme-halloween .page-purpose { color: #baadbe; }
.contribution-page.theme-halloween .story-shape { background: #f47b20; border-radius: 48% 52% 34% 66%; color: #23162b; }
.contribution-page.theme-halloween .story-sun { background: #392044; }
.contribution-page.theme-halloween .contribution-form-card { background: #fff9ef; color: var(--ink); border-color: #4d3a56; }
.contribution-page.theme-wedding { background: linear-gradient(145deg, #fffdfb, #f3e7e2); }
.contribution-page.theme-wedding .story-shape { background: #ead9d1; border-radius: 160px 160px 12px 12px; }
.contribution-page.theme-wedding .story-shape::after { content: "❦"; position: absolute; right: 45px; bottom: 22px; color: #8c685b; font-family: Georgia, serif; font-size: 42px; }
.contribution-page.theme-wedding .story-sun { width: 118px; height: 118px; border: 1px solid #b49370; background: transparent; }
.contribution-page.theme-wedding .story-leaf { background: #9eaa91; opacity: .7; }
.contribution-page.theme-wedding .contribution-form-card { border-color: #dfcdc5; box-shadow: 0 20px 60px rgba(114,82,69,.1); }
.contribution-page.theme-wedding .contribution-story h1,
.contribution-page.theme-wedding .form-intro h2,
.contribution-page.theme-wedding .success-state h2 { font-style: italic; }
.contribution-page.theme-celebration { background: linear-gradient(120deg, #f2edff, #fff7df); }
.contribution-page.theme-celebration .story-shape { background: #dcd2ff; border-radius: 24px; transform: rotate(-2deg); }
.contribution-page.theme-celebration .story-shape::after { content: "✦  ●  ✦"; position: absolute; right: 30px; bottom: 18px; color: #7d61d0; letter-spacing: .5em; }
.contribution-nav {
  width: min(1160px, calc(100% - 48px)); height: 78px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line);
}
.page-purpose { display: inline-flex; align-items: center; gap: 8px; color: #686b66; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.page-purpose i { width: 7px; height: 7px; border-radius: 50%; background: var(--event-accent); }
.contribution-layout {
  width: min(1160px, calc(100% - 48px)); margin: 58px auto 90px;
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; align-items: start;
}
.contribution-story { position: sticky; top: 35px; }
.back-link { display: inline-block; margin-bottom: 70px; color: #6c6e69; font-size: 13px; }
.contribution-story .eyebrow { color: var(--event-accent); }
.contribution-story h1 {
  margin: 18px 0 22px; max-width: 560px; font-family: Georgia, serif; font-weight: 500;
  font-size: clamp(48px, 5vw, 70px); line-height: .98; letter-spacing: -.05em;
}
.contribution-story h1 em { color: var(--event-accent); font-weight: inherit; }
.contribution-story > p { max-width: 500px; color: #6d706a; font-size: 17px; line-height: 1.65; }
.story-shape {
  position: relative; height: 200px; max-width: 430px; margin-top: 48px; padding: 45px;
  overflow: hidden; border-radius: 50% 50% 18px 18px; background: var(--mint);
}
.story-shape blockquote { position: relative; z-index: 2; max-width: 280px; margin: 0; font-family: Georgia, serif; font-size: 20px; line-height: 1.3; }
.story-sun { position: absolute; width: 100px; height: 100px; border-radius: 50%; background: var(--yellow); right: 32px; top: 22px; }
.story-leaf { position: absolute; width: 70px; height: 130px; border-radius: 100% 0; background: var(--event-accent); opacity: .82; }
.leaf-a { right: -5px; bottom: -55px; transform: rotate(-20deg); }.leaf-b { left: -35px; bottom: -70px; transform: rotate(30deg); opacity: .3; }
.contribution-form-card { min-height: 690px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); padding: 42px; box-shadow: 0 20px 55px rgba(36,39,37,.07); }
.form-intro { display: flex; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.form-number { width: 39px; height: 39px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--event-accent); color: white; font-size: 11px; font-weight: 850; }
.form-intro h2 { margin: 0; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.form-intro p { margin: 5px 0 0; color: #858780; font-size: 12px; }
.contribution-form-card form { display: grid; gap: 22px; margin-top: 28px; }
.contribution-form-card form > label:not(.consent-row) { display: grid; gap: 8px; font-size: 12px; font-weight: 800; }
.contribution-form-card input[type=text], .contribution-form-card input:not([type]), .contribution-form-card textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 14px; background: #fff; outline: none; resize: vertical;
}
.contribution-form-card input:focus, .contribution-form-card textarea:focus { border-color: var(--event-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--event-accent), transparent 84%); }
.contribution-form-card label small { justify-self: end; color: #999a94; font-weight: 500; }
.photo-field > input { position: absolute; opacity: 0; pointer-events: none; }
.photo-drop, .photo-preview {
  width: 100%; min-height: 150px; border: 1px dashed #b9b5ac; border-radius: 13px; background: #f8f5ef;
  display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer;
}
.photo-drop:hover { border-color: var(--event-accent); }
.camera-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 10px; background: var(--mint); font-size: 20px; }
.photo-drop strong { font-size: 13px; }.photo-drop small { margin-top: 5px; color: #92938d; font-size: 10px; }
.photo-preview { min-height: 210px; background-size: cover; background-position: center; }
.photo-preview span { padding: 8px 12px; border-radius: 20px; background: rgba(27,32,32,.8); color: white; font-size: 11px; }
.consent-row { display: flex; align-items: start; gap: 10px; color: #676963; font-size: 11px; line-height: 1.45; }
.consent-row input { margin-top: 2px; accent-color: var(--event-accent); }
.form-error { margin: 0; color: #a93320; font-size: 12px; }
.submit-moment {
  border: 0; border-radius: 12px; padding: 8px 9px 8px 20px; background: var(--ink); color: white;
  display: flex; align-items: center; justify-content: space-between; font-weight: 800; cursor: pointer;
}
.submit-moment b { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--event-accent); font-size: 17px; }
.submit-moment:disabled { opacity: .55; }
.privacy-note { max-width: 620px; margin: 16px auto 0; text-align: center; color: #858780; font-size: 10px; line-height: 1.55; }
.privacy-note a { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

/* Privacy notice */
.privacy-page { min-height: 100vh; background: #f7f3ec; color: var(--ink); }
.privacy-nav {
  width: min(1080px, calc(100% - 48px)); min-height: 82px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line);
}
.privacy-contact { padding: 11px 15px; border-radius: 999px; background: var(--ink); color: white; font-size: 11px; font-weight: 800; }
.privacy-shell { width: min(920px, calc(100% - 48px)); margin: auto; padding: 90px 0 110px; }
.privacy-heading { max-width: 760px; margin-bottom: 55px; }
.privacy-heading h1 {
  margin: 19px 0 24px; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 82px); line-height: .93; font-weight: 500; letter-spacing: -.06em;
}
.privacy-heading p { max-width: 650px; margin: 0; color: #696e68; font-size: 17px; line-height: 1.65; }
.privacy-heading small { display: block; margin-top: 22px; color: #92948e; font-size: 10px; }
.privacy-summary { margin-bottom: 26px; padding: 26px 28px; border-radius: 16px; background: #dcefe6; }
.privacy-summary strong { font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.privacy-summary p { margin: 8px 0 0; color: #486257; font-size: 13px; line-height: 1.65; }
.privacy-shell > section {
  display: grid; grid-template-columns: 48px 1fr; gap: 28px;
  padding: 35px 0; border-top: 1px solid var(--line);
}
.privacy-shell > section > span { padding-top: 5px; color: var(--coral); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.privacy-shell section h2 { margin: 0 0 14px; font-family: Georgia, serif; font-size: 29px; font-weight: 500; letter-spacing: -.025em; }
.privacy-shell section p, .privacy-shell section li { color: #656a64; font-size: 13px; line-height: 1.72; }
.privacy-shell section p { margin: 0; }
.privacy-shell section p + p { margin-top: 12px; }
.privacy-shell section ul { display: grid; gap: 7px; margin: 0 0 13px; padding-left: 18px; }
.privacy-shell section a { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.privacy-footer {
  margin-top: 45px; padding: 42px; border-radius: 22px; background: var(--ink); color: white;
  display: flex; align-items: center; justify-content: space-between; gap: 35px;
}
.privacy-footer h2 { max-width: 520px; margin: 12px 0 0; font-family: Georgia, serif; font-size: 35px; line-height: 1; font-weight: 500; }
.privacy-footer > a { display: inline-flex; align-items: center; gap: 18px; padding: 13px 17px; border-radius: 999px; background: var(--coral); color: white; font-size: 11px; font-weight: 800; white-space: nowrap; }
.privacy-footer > a span { font-size: 17px; }

@media (max-width: 620px) {
  .privacy-nav, .privacy-shell { width: min(100% - 32px, 920px); }
  .privacy-nav { min-height: 72px; }
  .privacy-contact { padding: 10px 12px; font-size: 0; }
  .privacy-contact::after { content: "Email ↗"; font-size: 10px; }
  .privacy-shell { padding: 65px 0 80px; }
  .privacy-heading h1 { font-size: 52px; }
  .privacy-shell > section { grid-template-columns: 1fr; gap: 10px; }
  .privacy-footer { align-items: flex-start; flex-direction: column; padding: 30px 25px; }
}
.event-unavailable { min-height: 410px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; text-align: center; }
.event-unavailable > span { padding: 6px 10px; border-radius: 999px; background: #e7e5e1; color: #666660; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.event-unavailable h2 { max-width: 390px; margin: 22px 0 10px; font-family: Georgia, serif; font-size: 36px; font-weight: 500; letter-spacing: -.035em; }
.event-unavailable p { max-width: 360px; margin: 0; color: #74766f; line-height: 1.6; }
.success-state { min-height: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.success-burst { width: 90px; height: 90px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 46% 54% 44% 56%; background: var(--mint); color: #28694f; font-size: 36px; transform: rotate(-8deg); }
.success-state h2 { max-width: 400px; margin: 14px 0; font-family: Georgia, serif; font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1.03; }
.success-state p { color: #74766f; margin: 0 0 28px; }

/* Full-screen venue wall */
.live-wall {
  --event-accent: var(--coral);
  --wall-heading: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --wall-message: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --wall-serif: var(--wall-message);
  --wall-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: 100%; height: 100vh; height: 100dvh; min-height: 100vh;
  padding: max(25px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom)) max(32px, env(safe-area-inset-left));
  overflow: hidden; overscroll-behavior: none; touch-action: manipulation;
  font-family: var(--wall-sans); text-rendering: optimizeLegibility;
  background: #18201f; color: white;
  background-image: radial-gradient(circle at 10% 15%, color-mix(in srgb, var(--event-accent), transparent 76%), transparent 22%), radial-gradient(circle at 89% 80%, rgba(184,228,208,.12), transparent 26%);
}
.live-wall.theme-national-day {
  background-color: #82111d;
  background-image: radial-gradient(circle at 12% 18%, rgba(255,255,255,.13), transparent 26%), linear-gradient(145deg, #9f1020, #480910);
}
.live-wall.theme-national-day .moment-card { border: 2px solid rgba(255,255,255,.8); border-radius: 3px; }
.live-wall.theme-national-day .wall-title small, .live-wall.theme-national-day .wall-footer small { color: #fff; }
.live-wall.theme-national-day .memory-art { filter: saturate(.8) hue-rotate(325deg); }
.live-wall.theme-halloween {
  background-color: #130d19;
  background-image: radial-gradient(circle at 18% 0%, rgba(244,123,32,.28), transparent 26%), radial-gradient(circle at 90% 80%, rgba(105,55,127,.3), transparent 30%);
}
.live-wall.theme-halloween .moment-card { border-radius: 18px 4px 18px 4px; box-shadow: inset 0 0 0 1px rgba(244,123,32,.32); }
.live-wall.theme-halloween .wall-title h1 { color: #ffb45b; text-shadow: 0 3px 0 #5d2a73; }
.live-wall.theme-halloween .wall-title small, .live-wall.theme-halloween .wall-footer small { color: #f47b20; }
.live-wall.theme-halloween .memory-art { filter: hue-rotate(250deg) saturate(1.2); }
.live-wall.theme-wedding {
  background-color: #382f2c;
  background-image: radial-gradient(circle at 12% 5%, rgba(216,196,157,.22), transparent 26%), radial-gradient(circle at 92% 86%, rgba(183,133,115,.22), transparent 30%), linear-gradient(145deg, #413733, #211c1a);
}
.live-wall.theme-wedding .moment-card { border-radius: 120px 120px 8px 8px; box-shadow: inset 0 0 0 1px rgba(255,248,241,.38); }
.live-wall.theme-wedding .moment-card:nth-child(even) { border-radius: 8px 8px 120px 120px; }
.live-wall.theme-wedding .wall-title h1 { font-style: italic; color: #fff9f4; }
.live-wall.theme-wedding .wall-title small,
.live-wall.theme-wedding .wall-footer small { color: #d8c49d; }
.live-wall.theme-wedding .memory-art { filter: saturate(.55) sepia(.18); }
.live-wall.theme-wedding .moment-copy { padding-left: 23px; padding-right: 23px; }
.live-wall.theme-celebration {
  background-color: #32275a;
  background-image: radial-gradient(circle at 8% 10%, rgba(243,200,75,.3), transparent 25%), radial-gradient(circle at 90% 80%, rgba(77,195,200,.25), transparent 30%);
}
.live-wall.theme-celebration .moment-card { border-radius: 18px; transform: rotate(-.35deg); }
.live-wall.theme-celebration .moment-card:nth-child(even) { transform: rotate(.35deg); }
.live-wall.theme-celebration .wall-title small, .live-wall.theme-celebration .wall-footer small { color: #77e0de; }
.wall-header { min-height: 132px; display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: start; }
.wall-brand { display: flex; align-items: center; gap: 8px; color: #b9c0bd; font-size: 10px; letter-spacing: .14em; }
.wall-event-logo { width: auto; height: 34px; max-width: 110px; object-fit: contain; margin-right: 3px; }
.wall-brand span { padding: 5px 7px; border-radius: 3px; background: var(--event-accent); color: white; font-weight: 900; }
.wall-brand i { width: 4px; height: 4px; border-radius: 50%; background: #6e7774; }
.wall-brand a { margin-left: 2px; color: rgba(255,255,255,.48); font-size: 7px; font-weight: 850; letter-spacing: .1em; }
.wall-brand a:hover { color: white; }
.wall-title { text-align: center; }
.wall-title small { color: var(--yellow); font-size: 8px; font-weight: 850; letter-spacing: .24em; }
.wall-title h1 {
  max-width: 1050px; margin: 7px auto 5px; font-family: var(--wall-heading);
  font-size: clamp(36px, 4.2vw, 68px); line-height: .9; font-weight: 600;
  letter-spacing: -.052em; text-wrap: balance; font-kerning: normal;
}
.wall-title p { margin: 0; color: #aab2af; font-size: 11px; letter-spacing: .05em; }
.wall-actions { justify-self: end; display: flex; align-items: center; gap: 15px; }
.live-status { justify-self: end; display: flex; align-items: center; gap: 8px; color: #9ba4a1; font-size: 10px; transition: color .3s; }
.live-status i { width: 7px; height: 7px; border-radius: 50%; background: #6bd29e; box-shadow: 0 0 0 5px rgba(107,210,158,.11); }
.live-status.updated { color: #fff; }.live-status.updated i { background: var(--yellow); }
.fullscreen-button {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 6px 10px 6px 7px; background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82); font-size: 9px; font-weight: 800; letter-spacing: .04em;
  cursor: pointer; backdrop-filter: blur(10px);
}
.fullscreen-button span {
  width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.12); color: white; font-size: 13px;
}
.fullscreen-button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.mosaic {
  height: calc(100vh - 230px); height: calc(100dvh - 230px); min-height: 420px; display: grid; gap: 10px;
  grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(7, 1fr);
}
.wall-empty {
  height: calc(100vh - 230px); height: calc(100dvh - 230px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 1px dashed rgba(255,255,255,.28);
  border-radius: 18px;
  text-align: center;
  background: rgba(255,255,255,.035);
}
.wall-empty > span {
  color: var(--event-accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .22em;
}
.wall-empty h2 {
  max-width: 680px;
  margin: 18px 0 10px;
  font-family: var(--wall-serif);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.045em;
}
.wall-empty p {
  max-width: 520px;
  margin: 0;
  color: #aeb6b3;
  font-size: 14px;
  line-height: 1.6;
}
.moment-card {
  position: relative; overflow: hidden; container-type: inline-size; isolation: isolate;
  border-radius: var(--card-radius, 8px); background: #2c3836; animation: reveal .7s both;
  box-shadow: 0 14px 35px rgba(0,0,0,.16);
}
.moment-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.moment-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) contrast(1.03); transform: scale(1.015);
}
.moment-1 { grid-column: 1 / 4; grid-row: 1 / 4; }.moment-2 { grid-column: 4 / 7; grid-row: 1 / 3; }
.moment-3 { grid-column: 7 / 10; grid-row: 1 / 4; }.moment-4 { grid-column: 10 / 13; grid-row: 1 / 3; }
.moment-5 { grid-column: 1 / 3; grid-row: 4 / 8; }.moment-6 { grid-column: 3 / 6; grid-row: 3 / 8; }
.moment-7 { grid-column: 6 / 9; grid-row: 4 / 8; }.moment-8 { grid-column: 9 / 13; grid-row: 3 / 8; }

/* Rebalance the wall so small collections still fill the screen. */
.mosaic.count-1 .moment-card { grid-column: 1 / 13; grid-row: 1 / 8; }
.mosaic.count-2 .moment-1 { grid-column: 1 / 7; grid-row: 1 / 8; }
.mosaic.count-2 .moment-2 { grid-column: 7 / 13; grid-row: 1 / 8; }
.mosaic.count-3 .moment-1 { grid-column: 1 / 8; grid-row: 1 / 8; }
.mosaic.count-3 .moment-2 { grid-column: 8 / 13; grid-row: 1 / 4; }
.mosaic.count-3 .moment-3 { grid-column: 8 / 13; grid-row: 4 / 8; }
.mosaic.count-4 .moment-1 { grid-column: 1 / 7; grid-row: 1 / 4; }
.mosaic.count-4 .moment-2 { grid-column: 7 / 13; grid-row: 1 / 4; }
.mosaic.count-4 .moment-3 { grid-column: 1 / 7; grid-row: 4 / 8; }
.mosaic.count-4 .moment-4 { grid-column: 7 / 13; grid-row: 4 / 8; }
.mosaic.count-5 .moment-1 { grid-column: 1 / 7; grid-row: 1 / 8; }
.mosaic.count-5 .moment-2 { grid-column: 7 / 10; grid-row: 1 / 4; }
.mosaic.count-5 .moment-3 { grid-column: 10 / 13; grid-row: 1 / 4; }
.mosaic.count-5 .moment-4 { grid-column: 7 / 10; grid-row: 4 / 8; }
.mosaic.count-5 .moment-5 { grid-column: 10 / 13; grid-row: 4 / 8; }
.mosaic.count-6 .moment-1 { grid-column: 1 / 5; grid-row: 1 / 4; }
.mosaic.count-6 .moment-2 { grid-column: 5 / 9; grid-row: 1 / 4; }
.mosaic.count-6 .moment-3 { grid-column: 9 / 13; grid-row: 1 / 4; }
.mosaic.count-6 .moment-4 { grid-column: 1 / 5; grid-row: 4 / 8; }
.mosaic.count-6 .moment-5 { grid-column: 5 / 9; grid-row: 4 / 8; }
.mosaic.count-6 .moment-6 { grid-column: 9 / 13; grid-row: 4 / 8; }
.mosaic.count-7 .moment-1 { grid-column: 1 / 7; grid-row: 1 / 5; }
.mosaic.count-7 .moment-2 { grid-column: 7 / 10; grid-row: 1 / 3; }
.mosaic.count-7 .moment-3 { grid-column: 10 / 13; grid-row: 1 / 3; }
.mosaic.count-7 .moment-4 { grid-column: 7 / 10; grid-row: 3 / 5; }
.mosaic.count-7 .moment-5 { grid-column: 10 / 13; grid-row: 3 / 5; }
.mosaic.count-7 .moment-6 { grid-column: 1 / 7; grid-row: 5 / 8; }
.mosaic.count-7 .moment-7 { grid-column: 7 / 13; grid-row: 5 / 8; }

.memory-art { position: absolute; inset: 0; overflow: hidden; background: #e9b54f; }
.moment-card:nth-child(4n + 1) .memory-art { background: var(--card-one, #bc7969); }
.moment-card:nth-child(4n + 2) .memory-art { background: var(--card-two, #a95e72); }
.moment-card:nth-child(4n + 3) .memory-art { background: var(--card-three, #c28c58); }
.moment-card:nth-child(4n + 4) .memory-art { background: var(--card-four, #4e7169); }
.memory-art span, .memory-art i, .memory-art b { position: absolute; display: block; }
.memory-art span { width: 70%; aspect-ratio: 1; border-radius: 50%; left: -22%; bottom: -24%; background: #d96d50; }
.memory-art i { width: 55%; aspect-ratio: 1; border-radius: 50%; right: -18%; top: -15%; background: #a6d3c0; }
.memory-art b { width: 18%; height: 50%; right: 18%; bottom: -12%; border-radius: 100% 0; background: #364f4b; transform: rotate(28deg); }
.memory-2 { background: #708e88; }.memory-2 span { background: #efcf67; }.memory-2 i { background: #d9907c; }
.memory-3 { background: #df8b73; }.memory-3 span { background: #f0c74f; }.memory-3 i { background: #47635e; }
.memory-4 { background: #a8cfbe; }.memory-4 span { background: #ea6849; }.memory-4 i { background: #f2d675; }
.memory-5 { background: #49625d; }.memory-5 span { background: #c69787; }.memory-5 i { background: #e1bd4c; }
.memory-6 { background: #efc74f; }.memory-6 span { background: #9fcbb8; }.memory-6 i { background: #e7775b; }
.memory-7 { background: #c69080; }.memory-7 span { background: #3f5b56; }.memory-7 i { background: #f1cc59; }
.memory-8 { background: #70918a; }.memory-8 span { background: #e66c4f; }.memory-8 i { background: #eed26b; }
.moment-copy {
  position: absolute; inset: auto 0 0; z-index: 2; padding: 55px 20px 19px;
  background: linear-gradient(transparent, rgba(8,13,12,.92));
}
.moment-copy small {
  display: block; margin-bottom: 8px; color: color-mix(in srgb, var(--event-accent), white 42%);
  font-size: 7px; font-weight: 900; letter-spacing: .16em;
}
.moment-copy blockquote {
  overflow-wrap: anywhere; margin: 0 0 8px; font-family: var(--wall-message);
  font-size: clamp(13px, 5cqw, 22px); line-height: 1.12; font-weight: 600;
  letter-spacing: -.025em; font-kerning: normal;
}
.moment-copy > span { color: #d7ddda; font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.text-only .memory-art { opacity: .88; }
.text-only .memory-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(12,19,18,.18), rgba(10,15,14,.67));
}
.text-only .moment-copy {
  inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 8cqw, 70px); background: transparent;
}
.text-only .moment-copy small { margin-bottom: auto; color: rgba(255,255,255,.72); }
.text-only .moment-copy > span { margin-top: clamp(12px, 3cqw, 28px); color: rgba(255,255,255,.86); }
.text-only.copy-short blockquote { font-size: clamp(28px, 11cqw, 74px); line-height: .98; letter-spacing: -.045em; }
.text-only.copy-medium blockquote { font-size: clamp(23px, 7.5cqw, 52px); line-height: 1.03; letter-spacing: -.035em; }
.text-only.copy-long blockquote { font-size: clamp(17px, 5.2cqw, 34px); line-height: 1.08; letter-spacing: -.025em; }
.mosaic.count-1 .text-only.copy-short blockquote { max-width: 1100px; font-size: clamp(56px, 7vw, 118px); }
.mosaic.count-1 .text-only.copy-medium blockquote { max-width: 1180px; font-size: clamp(42px, 5.4vw, 88px); }
.mosaic.count-1 .text-only.copy-long blockquote { max-width: 1200px; font-size: clamp(30px, 3.8vw, 58px); }
.mosaic.layout-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.mosaic.layout-grid .moment-card {
  grid-column: auto !important;
  grid-row: auto !important;
}
.mosaic.layout-spotlight .moment-card {
  grid-column: 1 / 13 !important;
  grid-row: 1 / 8 !important;
}
.mosaic.motif-none .memory-art span,
.mosaic.motif-none .memory-art i,
.mosaic.motif-none .memory-art b { display: none; }
.mosaic.motif-leaves .memory-art span,
.mosaic.motif-leaves .memory-art i,
.mosaic.motif-leaves .memory-art b { border-radius: 100% 0; transform: rotate(28deg); }
.mosaic.motif-confetti .memory-art span,
.mosaic.motif-confetti .memory-art i,
.mosaic.motif-confetti .memory-art b { border-radius: 18px; transform: rotate(18deg); }
.wall-empty h2 { font-family: var(--wall-heading); }
.wall-footer { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.wall-footer > p { margin: 0; font-family: var(--wall-message); font-size: 19px; font-weight: 600; color: #d9dddb; }
.wall-footer > div { display: flex; align-items: center; gap: 10px; }
.qr-placeholder { width: 37px; height: 37px; display: grid; place-items: center; background: white; color: var(--ink); font-size: 18px; }
.wall-footer small { display: block; color: var(--yellow); font-size: 7px; font-weight: 850; letter-spacing: .12em; }
.wall-footer > div span:last-child { font-size: 10px; color: #b5bcb9; }
@keyframes reveal { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }

@media (max-height: 700px) and (orientation: landscape) {
  .live-wall {
    padding-top: max(18px, env(safe-area-inset-top));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .wall-header { min-height: 104px; }
  .wall-title h1 { font-size: clamp(32px, 4vw, 54px); }
  .mosaic, .wall-empty {
    height: calc(100vh - 178px); height: calc(100dvh - 178px); min-height: 300px;
  }
  .wall-footer { height: 58px; }
}

@media (max-width: 720px) {
  .wall-header { grid-template-columns: auto 1fr; min-height: 128px; }
  .wall-title { grid-column: 1 / -1; grid-row: 2; }
  .wall-actions { grid-column: 2; grid-row: 1; }
  .live-status { display: none; }
  .fullscreen-button { font-size: 0; padding-right: 7px; }
  .mosaic, .wall-empty {
    height: calc(100vh - 206px); height: calc(100dvh - 206px);
  }
  .wall-footer > p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .moment-card { animation: none; }
}

@media (max-width: 820px) {
  .contribution-layout { grid-template-columns: 1fr; gap: 35px; }
  .contribution-story { position: static; }
  .back-link { margin-bottom: 40px; }
  .story-shape { display: none; }
  .contribution-story h1 { font-size: 52px; }
}
@media (max-width: 560px) {
  .contribution-nav, .contribution-layout { width: calc(100% - 30px); }
  .page-purpose { font-size: 8px; }
  .contribution-layout { margin-top: 34px; }
  .contribution-story h1 { font-size: 43px; }
  .contribution-form-card { padding: 26px 20px; }
}

/* Submission moderation */
.moderation-page { --event-accent: var(--coral); min-height: 100vh; background: #f5f2eb; }
.moderation-auth-shell { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 48px 20px 80px; }
.moderation-auth-card {
  width: min(460px, 100%); padding: 44px; border: 1px solid var(--line); border-radius: 24px;
  background: rgba(255, 255, 255, .82); box-shadow: 0 24px 70px rgba(24, 28, 27, .1);
  text-align: center;
}
.moderation-auth-card .auth-lock {
  width: 56px; height: 56px; margin: 0 auto 24px; display: grid; place-items: center;
  border-radius: 50%; background: var(--event-accent); color: white; font-size: 11px;
}
.moderation-auth-card h1 { margin: 10px 0 12px; font-family: Georgia, serif; font-size: 36px; line-height: 1.05; font-weight: 500; letter-spacing: -.035em; }
.moderation-auth-card > p { margin: 0 0 28px; color: #72746e; font-size: 14px; line-height: 1.55; }
.moderation-auth-card label { display: block; text-align: left; }
.moderation-auth-card label span { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.moderation-auth-card input {
  width: 100%; height: 50px; padding: 0 15px; border: 1px solid #c8c3b9; border-radius: 10px;
  background: white; color: #1b2020; caret-color: #1b2020; -webkit-text-fill-color: #1b2020;
  font: inherit; opacity: 1;
}
.moderation-auth-card input:focus { outline: 2px solid color-mix(in srgb, var(--event-accent) 45%, transparent); border-color: var(--event-accent); }
.moderation-auth-card .primary-button { width: 100%; margin-top: 16px; justify-content: center; }
.moderation-auth-card > a { display: inline-block; margin-top: 22px; color: #6d706a; font-size: 12px; font-weight: 700; }
.moderation-auth-card .auth-error { margin: 10px 0 0; color: #b3261e; text-align: left; font-size: 12px; }
.moderation-nav {
  width: min(1180px, calc(100% - 48px)); height: 78px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line);
}
.moderation-nav-links { display: flex; align-items: center; gap: 24px; font-size: 12px; font-weight: 750; }
.moderation-nav-links > a:first-child { color: #74766f; }
.wall-link { display: inline-flex; align-items: center; gap: 12px; padding: 9px 10px 9px 16px; border-radius: 999px; background: var(--ink); color: white; }
.wall-link span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--event-accent); }
.moderation-shell { width: min(1180px, calc(100% - 48px)); margin: 55px auto 100px; }
.moderation-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; }
.moderation-heading .back-link { margin-bottom: 42px; }
.moderation-heading .eyebrow { display: block; color: var(--event-accent); }
.moderation-heading h1 { margin: 10px 0 8px; font-family: Georgia, serif; font-size: 52px; line-height: 1; font-weight: 500; letter-spacing: -.045em; }
.moderation-heading > div > p { margin: 0; color: #72746e; font-size: 14px; }
.wall-summary {
  min-width: 305px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px;
  padding: 18px; border-radius: 15px; background: var(--ink); color: white;
}
.summary-dot { width: 10px; height: 10px; border-radius: 50%; background: #6bd29e; box-shadow: 0 0 0 6px rgba(107,210,158,.1); }
.wall-summary small { display: block; color: #9da5a2; font-size: 7px; letter-spacing: .13em; }
.wall-summary strong { display: block; margin-top: 3px; font-size: 13px; }
.wall-summary a { color: var(--yellow); font-size: 11px; font-weight: 800; }
.moderation-tabs { display: flex; gap: 6px; margin: 48px 0 28px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.moderation-tabs button {
  border: 0; border-radius: 999px; padding: 10px 14px; background: transparent; display: flex; align-items: center;
  gap: 9px; color: #777872; text-transform: capitalize; font-size: 12px; font-weight: 800; cursor: pointer;
}
.moderation-tabs button b { min-width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #e3ded5; font-size: 9px; }
.moderation-tabs button.active { background: var(--ink); color: white; }
.moderation-tabs button.active b { background: var(--event-accent); color: white; }
.moderation-empty { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #bdb8ae; border-radius: 20px; text-align: center; }
.moderation-empty > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: #33654f; font-size: 22px; }
.moderation-empty h2 { margin: 18px 0 7px; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.moderation-empty p { margin: 0; color: #85867f; font-size: 13px; }
.submission-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.submission-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--card); box-shadow: 0 12px 25px rgba(42,43,39,.045); }
.submission-card > img, .submission-no-photo { width: 100%; height: 210px; object-fit: cover; }
.submission-no-photo { display: grid; place-items: center; background: linear-gradient(145deg, color-mix(in srgb, var(--event-accent), white 62%), var(--mint)); }
.submission-no-photo span { font-family: Georgia, serif; font-size: 82px; line-height: 1; color: rgba(255,255,255,.72); }
.submission-body { padding: 20px; }
.status-chip { display: inline-block; padding: 5px 8px; border-radius: 999px; text-transform: uppercase; font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.status-chip.pending { background: #fff0c6; color: #745d17; }
.status-chip.approved { background: #daf1e5; color: #286247; }
.status-chip.hidden { background: #e7e5e1; color: #666660; }
.submission-body blockquote { min-height: 72px; margin: 15px 0 8px; font-family: Georgia, serif; font-size: 18px; line-height: 1.3; }
.submission-body > p { margin: 0; font-size: 11px; font-weight: 800; }
.submission-body > small { display: block; margin-top: 5px; color: #999a94; font-size: 9px; }
.submission-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #ece8e1; }
.submission-actions button { border-radius: 9px; padding: 10px 13px; font-size: 11px; font-weight: 800; cursor: pointer; }
.approve-button { border: 0; background: var(--ink); color: white; }
.hide-button { border: 1px solid var(--line); background: transparent; color: #777872; }
.moderation-page.theme-halloween { background: #1f1527; color: #fff8e8; }
.moderation-page.theme-halloween .moderation-nav { border-color: #493a51; }
.moderation-page.theme-halloween .moderation-heading > div > p,
.moderation-page.theme-halloween .moderation-nav-links > a:first-child,
.moderation-page.theme-halloween .back-link { color: #baadbe; }
.moderation-page.theme-halloween .moderation-tabs { border-color: #493a51; }
.moderation-page.theme-wedding { background: linear-gradient(145deg, #fffdfb, #f3e7e2); }
.moderation-page.theme-national-day { background: linear-gradient(145deg, #fff, #fff1f2); }
.moderation-page.theme-celebration { background: linear-gradient(145deg, #f3efff, #fff9e8); }
@media (max-width: 900px) {
  .moderation-heading { grid-template-columns: 1fr; }
  .wall-summary { width: 100%; }
  .submission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .moderation-nav, .moderation-shell { width: calc(100% - 30px); }
  .moderation-nav-links > a:first-child { display: none; }
  .moderation-heading h1 { font-size: 42px; }
  .submission-grid { grid-template-columns: 1fr; }
  .moderation-tabs { overflow-x: auto; }
}
@media (max-aspect-ratio: 4/3) {
  .live-wall { padding: 25px; }
  .wall-header { min-height: 120px; }
  .mosaic { height: calc(100vh - 210px); height: calc(100dvh - 210px); min-height: 400px; }
}
