/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .hidden {
    display: none;
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
}
@font-face {
  font-family: Amiri;
  src: url('/work/noura-saeed/assets/amiri.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: RoyalSerif;
  src: url('/work/noura-saeed/assets/serif.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: RoyalArabic;
  src: url('/work/noura-saeed/assets/calligraphy.ttf') format('truetype');
  font-display: swap;
}
:root {
  --background: #f6f0e5;
  --foreground: #66533c;
  --primary: #8c6d40;
  --primary-foreground: #fffaf1;
  --input: #c9b894;
  --ring: #a3824e;
  --accent: #ece1cd;
  --accent-foreground: #594329;
  --radius: .7rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f6f0e5;
  color: #66533c;
  font: 18px/1.9 Amiri,Georgia,serif;
}
button,input {
  font: inherit;
}
button,a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline: 2px solid #9d7b47;
  outline-offset: 5px;
}
main:focus {
  outline: none;
}
.royal-app {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.linen {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 50% 23%,#fffdf6 0%,#f5eddf 62%,#e9dbc4 100%);
}
.linen:after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: repeating-linear-gradient(0deg,#ac937e0d 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#ae927414 0 1px,transparent 1px 4px);
}
.sparkles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 3s;
}
.phase-opening .sparkles,.phase-open .sparkles {
  opacity: 1;
}
.sparkles i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b99a56;
  box-shadow: 0 0 8px 2px #dfc58533;
  animation: sparkle-drift 10s ease-in-out infinite;
}
@keyframes sparkle-drift {
  0%,100% {
    transform: translate3d(0,0,0);
    opacity: .1;
  }
  50% {
    transform: translate3d(16px,-45px,0);
    opacity: .7;
  }
}
.curtain-cover {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}
.curtain {
  position: absolute;
  top: 0;
  width: 50.6%;
  height: 100%;
  overflow: hidden;
  will-change: transform;
  transition: transform 3.6s cubic-bezier(.45,.02,.17,1),opacity 1.2s ease 2.4s;
  background: #e8dcc3;
}
.curtain img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform: scale(1.055);
}
.curtain-left {
  left: 0;
  transform-origin: left center;
  box-shadow: 8px 0 30px #5a452633;
}
.curtain-right {
  right: 0;
  transform-origin: right center;
  box-shadow: -8px 0 30px #5a452633;
}
.curtain-right img {
  transform: scale(-1.055,1.055);
}
.phase-opening .curtain-left,.phase-open .curtain-left {
  transform: translate3d(-94%,0,0) scaleX(.4);
  opacity: 0;
}
.phase-opening .curtain-right,.phase-open .curtain-right {
  transform: translate3d(94%,0,0) scaleX(.4);
  opacity: 0;
}
.curtain-top {
  position: absolute;
  inset: 0 0 auto;
  height: 8vh;
  pointer-events: none;
  background: linear-gradient(#65533922,transparent);
  opacity: .6;
  transition: opacity 1s;
}
.phase-open .curtain-cover {
  visibility: hidden;
}
.phase-opening .curtain-top {
  opacity: 0;
}
.entry-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 35px;
  transition: opacity .5s,transform .8s;
  pointer-events: none;
}
.entry-kicker {
  font-family: RoyalArabic,Amiri,serif;
  font-size: 22px;
  color: #7f6949;
  text-shadow: 0 1px 1px #fff8;
}
.reveal-seal {
  pointer-events: auto;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  white-space: normal;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px;
  color: #655030;
  border: 1px solid #ad8d545e;
  background: radial-gradient(circle at 35% 25%,#fff7dc,#e4ce9e 58%,#c8a66d);
  box-shadow: 0 0 0 5px #f9e8c13b,0 0 0 6px #d3b77a55,0 8px 35px #614c3428,inset 0 2px 3px #fff9;
  animation: seal-glow 4s ease-in-out infinite;
}
.reveal-seal:hover {
  background: radial-gradient(circle at 35% 25%,#fff9e6,#ead4a5 58%,#cfb17d);
}
.reveal-seal>span {
  font-size: 25px;
  font-family: RoyalArabic,Amiri,serif;
}
.reveal-seal small {
  font: 11px/1.5 RoyalSerif,Georgia,serif;
  letter-spacing: .12em;
}
.entry-date {
  font: 16px RoyalSerif,Georgia,serif;
  letter-spacing: .2em;
  color: #836a45;
}
.phase-opening .entry-center,.phase-open .entry-center {
  opacity: 0;
  transform: translateY(-8px);
}
.phase-opening .reveal-seal {
  pointer-events: none;
  animation: none;
}
@keyframes seal-glow {
  50% {
    box-shadow: 0 0 0 5px #f9e8c15c,0 0 0 6px #d3b77a66,0 8px 38px #614c3428,0 0 40px #fff1bc66,inset 0 2px 3px #fff9;
  }
}
.curtain-frame {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
}
.tied {
  position: absolute;
  top: 0;
  height: 100%;
  width: clamp(170px,27vw,430px);
  object-fit: fill;
  opacity: 0;
  transition: opacity 1.8s ease 1.65s,transform 2.4s cubic-bezier(.2,.65,.2,1) 1.2s;
}
.tied-left {
  left: -3%;
  transform: translateX(-15%);
}
.tied-right {
  right: -3%;
  transform: translateX(15%) scaleX(-1);
}
.phase-opening .tied,.phase-open .tied {
  opacity: 1;
}
.phase-opening .tied-left,.phase-open .tied-left {
  transform: translateX(0);
}
.phase-opening .tied-right,.phase-open .tied-right {
  transform: translateX(0) scaleX(-1);
}
.invitation-scene {
  position: relative;
  min-height: 1080px;
  padding: 90px 18px 310px;
  display: flex;
  justify-content: center;
}
.scene-rule {
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 9%;
  right: 9%;
  border: 1px solid #b79b6126;
  border-radius: 46% 46% 0 0;
  pointer-events: none;
}
.invitation-copy {
  position: relative;
  z-index: 3;
  width: min(100%,620px);
  text-align: center;
}
.bismillah {
  font-family: RoyalArabic,Amiri,serif;
  font-size: 29px;
  margin: 0 0 35px;
  color: #7f6847;
}
.praise {
  font-size: 19px;
  margin: 0 0 16px;
  color: #897757;
}
.invitation-line {
  font-size: 22px;
  margin: 0;
  color: #685337;
}
.names {
  width: min(100%,480px);
  margin: 4px auto -16px;
  line-height: 0;
}
.name-monogram {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 1px 1px #60441d15);
}
.name-stroke {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  fill-opacity: 0;
}
.phase-opening .name-stroke,.phase-open .name-stroke {
  animation: write-name 3.4s cubic-bezier(.25,.1,.25,1) 3.6s forwards,fill-name 1.8s ease 5.4s forwards;
}
.name-stroke:nth-of-type(2n) {
  animation-delay: 3.8s,5.7s;
}
.staged {
  opacity: 0;
  transform: translateY(12px);
}
.phase-opening .staged,.phase-open .staged {
  animation: arrive 1.7s ease forwards;
}
.phase-opening .bismillah,.phase-open .bismillah {
  animation-delay: 2.1s;
}
.phase-opening .praise,.phase-open .praise {
  animation-delay: 2.6s;
}
.phase-opening .invitation-line,.phase-open .invitation-line {
  animation-delay: 3s;
}
.phase-opening .event-details,.phase-open .event-details {
  animation-delay: 5.4s;
}
.phase-opening .rsvp-cue,.phase-open .rsvp-cue {
  animation-delay: 6.2s;
}
.fine-line {
  display: block;
  width: 44px;
  height: 1px;
  background: #b99a61;
  margin: 10px auto 22px;
}
.occasion {
  font: 12px RoyalSerif,Georgia,serif;
  letter-spacing: .22em;
  color: #937a54;
  margin: 0 0 10px;
}
.event-date {
  font: 31px/1.3 RoyalSerif,Georgia,serif;
  letter-spacing: .04em;
  color: #745b37;
  margin: 0;
}
.event-date span {
  font-size: 18px;
  letter-spacing: .15em;
  margin: 0 10px;
}
.venue {
  font-size: 23px;
  margin: 14px 0 0;
}
.welcome {
  font-size: 17px;
  color: #937d5a;
  margin: 5px 0 0;
}
.rsvp-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  margin: 28px 0 0;
  min-width: 100px;
  padding: 6px;
}
.rsvp-cue svg {
  animation: cue 3s ease-in-out infinite;
  color: #aa8c57;
}
.stage-art {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(100%,1150px);
  aspect-ratio: 3/2;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}
.stage-art>img {
  display: block;
  width: 100%;
  height: auto;
}
.candle-flames {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease 3.8s;
}
.phase-opening .candle-flames,.phase-open .candle-flames {
  opacity: 1;
}
.flame {
  position: absolute;
  display: block;
  width: 1.2%;
  height: 3.9%;
  transform-origin: 50% 100%;
  border-radius: 70% 30% 55% 45%;
  background: radial-gradient(ellipse at 50% 75%,#ffffef 0%,#fff5bc 34%,#f4bd58 65%,#d3903444 85%,transparent 100%);
  box-shadow: 0 0 13px 3px #ffd97955;
  animation: flicker 1.4s ease-in-out infinite alternate;
}
.flame-1 {
  left: 5.52%;
  top: 26.96%;
}
.flame-2 {
  left: 12.42%;
  top: 16.80%;
  animation-delay: -.8s;
}
.flame-3 {
  left: 19.13%;
  top: 34.19%;
  animation-delay: -.35s;
}
.jewel-glint {
  position: absolute;
  width: 16px;
  height: 16px;
  background: radial-gradient(#fff 0%,#fff9 12%,transparent 65%);
  opacity: 0;
  transform: rotate(45deg);
}
.jewel-glint:before,.jewel-glint:after {
  content: '';
  position: absolute;
  left: 48%;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent,#fff,transparent);
}
.jewel-glint:after {
  transform: rotate(90deg);
}
.glint-1 {
  left: 84.7%;
  top: 70%;
}
.glint-2 {
  left: 89%;
  top: 62%;
  animation-delay: 1.8s !important;
}
.glint-3 {
  left: 94.5%;
  top: 73%;
  animation-delay: 3.4s !important;
}
.phase-open .jewel-glint {
  animation: jewel-shine 5.5s ease-in-out infinite;
}
.rsvp-section {
  position: relative;
  z-index: 9;
  max-width: 520px;
  margin: 0 auto;
  padding: 55px 20px 35px;
  text-align: center;
  scroll-margin-top: 20px;
}
.section-number {
  font: 12px/1.6 RoyalSerif,Georgia,serif;
  letter-spacing: .2em;
  color: #9c8054;
}
.rsvp-section h2 {
  font: 36px/1.6 RoyalArabic,Amiri,serif;
  color: #715733;
  margin: 15px 0 6px;
}
.rsvp-intro {
  font-size: 17px;
  color: #8b785a;
  margin: 0 0 25px;
}
.rsvp-card {
  padding: 32px;
  border: 1px solid #fffaf2;
  border-radius: 24px;
  background: linear-gradient(130deg,#ffffff99,#fffbf16b);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 55px #725c3210,inset 0 1px 0 #fff8;
  text-align: right;
}
.rsvp-card form>label {
  font-size: 17px;
  display: block;
  margin: 0 0 8px;
}
.rsvp-card input {
  height: 52px;
  background: #fff9;
  border: 1px solid #b49b6a50;
  border-radius: 9px;
  padding: 8px 15px;
  color: #5c482e;
  font-size: 18px;
  box-shadow: none;
  width: 100%;
}
.rsvp-card input::placeholder {
  color: #a3947e;
}
.rsvp-card fieldset {
  border: 0;
  margin: 24px 0;
  padding: 0;
}
.rsvp-card legend {
  font-size: 17px;
  margin-bottom: 10px;
}
.attendance-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}
.attendance-options>label {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid #c8b49055;
  border-radius: 9px;
  cursor: pointer;
  background: #fff3;
  transition: background .2s,border-color .2s;
  font-size: 17px;
}
.attendance-options>label.selected {
  background: #e9dbc552;
  border-color: #a98a525c;
}
.attendance-options button {
  width: 18px;
  height: 18px;
  border-color: #b19565;
  color: #977444;
}
.submit-rsvp {
  height: 52px;
  width: 100%;
  border: 1px solid #9c7e4a;
  border-radius: 9px;
  background: #97794a;
  color: #fffaf1;
  font-size: 18px;
  box-shadow: 0 5px 13px #76572118;
  transition: background .2s,transform .2s;
}
.submit-rsvp:hover {
  background: #80633b;
}
.submit-rsvp:active {
  transform: scale(.98);
}
.form-error {
  font-size: 16px;
  color: #934f3d;
  margin: 10px 0;
}
.confirmation {
  text-align: center;
  padding: 15px 0;
}
.confirmation-icon {
  display: inline-grid;
  place-items: center;
  border: 1px solid #b89b69;
  color: #8e7144;
  border-radius: 50%;
  width: 55px;
  height: 55px;
}
.confirmation h3 {
  font-size: 28px;
  font-weight: 400;
  margin: 15px 0 8px;
}
.confirmation p {
  font-size: 18px;
  overflow-wrap: anywhere;
}
.saved-note {
  font-size: 14px;
  color: #8a7b60;
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s,transform 1.2s;
}
.scroll-reveal.in-view {
  opacity: 1;
  transform: none;
}
footer {
  padding-top: 45px;
}
footer a {
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  color: #947d58;
}
footer span {
  font-size: 14px;
}
footer strong {
  font: 19px/1.4 RoyalSerif,Georgia,serif;
  letter-spacing: .24em;
}
.audio-toggle {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 40;
  border: 1px solid #b59a6570;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #8c7045;
  background: #fff8;
  backdrop-filter: blur(12px);
  box-shadow: 0 5px 20px #634b2710;
}
.audio-toggle:hover {
  background: #fff;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes arrive {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes write-name {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fill-name {
  to {
    fill-opacity: 1;
    stroke-opacity: .25;
  }
}
@keyframes cue {
  50% {
    transform: translateY(5px);
  }
}
@keyframes flicker {
  0% {
    transform: scale(.91,1.04) rotate(-4deg);
    opacity: .8;
  }
  45% {
    transform: scale(1.05,.95) rotate(3deg);
    opacity: 1;
  }
  100% {
    transform: scale(.94,1.09) rotate(-1deg);
    opacity: .85;
  }
}
@keyframes jewel-shine {
  0%,60%,100% {
    opacity: 0;
    transform: scale(.4) rotate(45deg);
  }
  75% {
    opacity: 1;
    transform: scale(1.3) rotate(45deg);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width:1500px) {
  .invitation-scene {
    min-height: 1150px;
  }
  .stage-art {
    width: 1250px;
  }
}
@media (max-width:700px) {
  .tied {
    width: 31vw;
    min-width: 105px;
    max-width: 190px;
  }
  .tied-left {
    left: -6%;
  }
  .tied-right {
    right: -6%;
  }
  .invitation-scene {
    min-height: 930px;
    padding: 85px 28px 220px;
  }
  .invitation-copy {
    max-width: 410px;
  }
  .scene-rule {
    inset: 28px 7% 10px;
  }
  .bismillah {
    font-size: 24px;
    margin-bottom: 28px;
  }
  .praise {
    font-size: 16px;
    margin-bottom: 14px;
  }
  .invitation-line {
    font-size: 19px;
  }
  .names {
    width: 100%;
    margin: 15px auto 0;
  }
  .event-date {
    font-size: 29px;
  }
  .venue {
    font-size: 21px;
  }
  .fine-line {
    margin: 12px auto 20px;
  }
  .occasion {
    font-size: 11px;
  }
  .rsvp-cue {
    margin-top: 20px;
  }
  .stage-art {
    width: 100%;
  }
  .rsvp-section {
    padding: 35px 22px;
    max-width: 440px;
  }
  .rsvp-card {
    padding: 23px;
  }
  .rsvp-section h2 {
    font-size: 31px;
  }
  .rsvp-intro {
    font-size: 16px;
  }
  .audio-toggle {
    right: 14px;
    bottom: 15px;
  }
  .jewel-glint {
    width: 10px;
    height: 10px;
  }
  .entry-kicker {
    font-size: 20px;
  }
  .reveal-seal {
    width: 138px;
    height: 138px;
  }
  .rsvp-section {
    z-index: 9;
  }
}
@media (max-width:370px) {
  .invitation-scene {
    padding-inline: 23px;
    min-height: 870px;
  }
  .praise {
    font-size: 15px;
  }
  .bismillah {
    font-size: 22px;
  }
  .rsvp-card {
    padding: 20px;
  }
  .attendance-options>label {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    animation: none !important;
    transition-duration: .2s !important;
    transition-delay: 0s !important;
  }
  .phase-opening .staged,.phase-open .staged {
    opacity: 1;
    transform: none;
  }
  .phase-opening .name-stroke,.phase-open .name-stroke {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}
.names {
  width: min(100%,420px);
  margin: 22px auto 16px;
}
.name-monogram {
  filter: none;
}
@media (max-width:700px) {
  .names {
    width: min(100%,350px);
    margin: 18px auto 14px;
  }
}
body {
  background: #f7f3eb;
}
.linen {
  background: radial-gradient(ellipse at 48% 25%,#fffdf8 0%,#f8f3e9 58%,#efe6d7 100%);
}
.linen:after {
  opacity: .065;
  background-image: repeating-linear-gradient(0deg,#ae96700b 0 1px,transparent 1px 4px),repeating-linear-gradient(90deg,#ae96700b 0 1px,transparent 1px 5px);
}
.scene-rule {
  display: none;
}
.stage-art {
  -webkit-mask-image: linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),linear-gradient(to bottom,#000 0%,#000 83%,transparent 100%);
  mask-image: linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),linear-gradient(to bottom,#000 0%,#000 83%,transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.sparkles i {
  background: #baa06c;
  box-shadow: 0 0 7px #dfc58528;
}
.rsvp-section {
  margin-top: -10px;
}
.event-time {
  font-size: 23px;
  margin: 15px 0 0;
  color: #7c6545;
}
.event-time span {
  font-size: 18px;
}
.house-section {
  position: relative;
  z-index: 9;
  max-width: 540px;
  padding: 8px 24px 32px;
  margin: 0 auto;
  text-align: center;
}
.french-house {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
}
.house-section footer {
  padding-top: 8px;
}
@media (max-width:700px) {
  .house-section {
    max-width: 390px;
    padding: 8px 22px 30px;
  }
  .french-house {
    max-height: 245px;
  }
}
.entry-center {
  gap: 0;
}
.reveal-seal {
  width: 172px;
  height: 62px;
  border-radius: 7px;
  padding: 10px 24px;
  background: linear-gradient(135deg,#fffdf4e8,#f2e7d2e8);
  border: 1px solid #b9a079a6;
  color: #79603f;
  box-shadow: 0 5px 22px #59432a18,inset 0 0 0 4px #fff8,inset 0 0 0 5px #b89b6530;
  animation: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .3s,box-shadow .3s,transform .3s;
}
.reveal-seal>span {
  font-family: Amiri,Georgia,serif;
  font-size: 23px;
  font-weight: 400;
}
.reveal-seal:hover {
  background: linear-gradient(135deg,#fffdf7,#f6ead4);
  box-shadow: 0 7px 25px #59432a20,inset 0 0 0 4px #fff8,inset 0 0 0 5px #b89b6538;
  transform: translateY(-1px);
}
.reveal-seal:active {
  transform: translateY(0);
}
@media (max-width:700px) {
  .reveal-seal {
    width: 160px;
    height: 58px;
  }
  .reveal-seal>span {
    font-size: 22px;
  }
}
@media (max-width:700px) {
  .curtain-cover {
    height: 100dvh;
  }
  .curtain img {
    object-fit: cover;
    object-position: center center;
  }
  .curtain-frame {
    height: 100svh;
    z-index: 1;
    overflow: hidden;
  }
  .tied {
    width: clamp(82px,25vw,110px);
    min-width: 0;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    -webkit-mask-image: linear-gradient(to right,#000 45%,transparent 100%);
    mask-image: linear-gradient(to right,#000 45%,transparent 100%);
  }
  .tied-left {
    left: -18px;
  }
  .tied-right {
    right: -18px;
  }
  .invitation-scene {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(48px + env(safe-area-inset-top,0px)) 0 0;
  }
  .invitation-copy {
    width: 80%;
    max-width: 350px;
  }
  .bismillah {
    font-size: clamp(21px,5.7vw,25px);
    line-height: 1.85;
    margin: 0 0 22px;
  }
  .praise {
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 12px;
  }
  .invitation-line {
    font-size: 18px;
    line-height: 1.9;
    margin: 0;
  }
  .names {
    width: min(100%,280px);
    margin: 14px auto 16px;
  }
  .fine-line {
    width: 34px;
    margin: 0 auto 17px;
  }
  .occasion {
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 10px;
    letter-spacing: .18em;
  }
  .event-date {
    font-size: 29px;
    line-height: 1.4;
    white-space: nowrap;
  }
  .event-date span {
    font-size: 17px;
    margin: 0 6px;
    letter-spacing: .1em;
  }
  .event-time {
    font-size: 22px;
    line-height: 1.7;
    margin: 10px 0 0;
  }
  .event-time span {
    font-size: 17px;
  }
  .welcome {
    font-size: 17px;
    line-height: 1.8;
    margin: 9px 0 0;
  }
  .stage-art {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    flex: none;
    margin: 12px 0 0;
    aspect-ratio: 3/2;
  }
  .stage-art>img {
    width: 100%;
    height: auto;
  }
  .house-section {
    width: 100%;
    max-width: 360px;
    padding: 0 26px calc(28px + env(safe-area-inset-bottom,0px));
    margin: -8px auto 0;
  }
  .french-house {
    max-height: none;
    width: 100%;
    height: auto;
  }
  .house-section footer {
    padding-top: 4px;
  }
  .audio-toggle {
    right: max(12px,env(safe-area-inset-right,0px));
    bottom: max(12px,env(safe-area-inset-bottom,0px));
    width: 44px;
    height: 44px;
  }
  .reveal-seal {
    width: 154px;
    height: 56px;
  }
  .reveal-seal>span {
    font-size: 22px;
  }
}
@media (max-width:350px) {
  .invitation-copy {
    width: 82%;
  }
  .bismillah {
    font-size: 21px;
  }
  .names {
    width: 245px;
    max-width: 100%;
  }
  .event-date {
    font-size: 27px;
  }
  .tied {
    width: 80px;
  }
  .tied-left {
    left: -20px;
  }
  .tied-right {
    right: -20px;
  }
}
@media (max-height:500px) and (orientation:landscape) {
  .curtain img {
    object-fit: cover;
  }
  .tied {
    object-fit: cover;
    object-position: left top;
    width: 100px;
  }
  .invitation-scene {
    padding-top: 35px;
  }
  .reveal-seal {
    height: 52px;
    width: 150px;
  }
}
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 15px;
  margin: 4px auto 20px;
  border-bottom: 1px solid #b99c6945;
  color: #836744;
  font-size: 16px;
  line-height: 1.7;
  transition: color .2s,border-color .2s;
}
.map-link:hover {
  color: #614727;
  border-color: #947343;
}
.map-link svg {
  flex-shrink: 0;
}
.reveal-seal {
  width: 220px;
  height: auto;
  aspect-ratio: 3/2;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
  transition: transform .4s ease;
}
.reveal-seal>img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 5px #654c3122);
}
.reveal-seal:hover {
  background: transparent;
  box-shadow: none;
  transform: scale(1.035);
}
.reveal-seal:active {
  transform: scale(.99);
}
.reveal-seal:focus-visible {
  outline: 1px solid #8d734b;
  outline-offset: 7px;
  border-radius: 18px;
}
.phase-opening .reveal-seal {
  transform: scale(1.04);
}
@media (max-width:700px) {
  .reveal-seal {
    width: 190px;
    height: auto;
    max-width: 52vw;
  }
}
@media (max-height:500px) and (orientation:landscape) {
  .reveal-seal {
    width: 175px;
    height: auto;
  }
}
.ambient-light {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 3s ease 1.4s;
}
.phase-opening .ambient-light,.phase-open .ambient-light {
  opacity: 1;
}
.ambient-light i {
  position: absolute;
  display: block;
  width: 70vw;
  height: 100vh;
  top: -25%;
  left: -35%;
  background: radial-gradient(ellipse,#fff7db66,transparent 68%);
  transform: rotate(-25deg);
  animation: light-drift 18s ease-in-out infinite alternate;
}
.ambient-light i+ i {
  left: auto;
  right: -40%;
  top: 0;
  background: radial-gradient(ellipse,#dac29824,transparent 66%);
  animation-delay: -9s;
}
.fine-line {
  position: relative;
  width: 84px;
  background: linear-gradient(to right,transparent,#b99a6177 25%,#b99a6177 75%,transparent);
}
.fine-line:after {
  content: '';
  position: absolute;
  left: calc(50% - 3px);
  top: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid #b99a6188;
  background: #faf5ec;
  transform: rotate(45deg);
}
.flame:after {
  content: '';
  position: absolute;
  width: 700%;
  height: 330%;
  left: -300%;
  top: -65%;
  background: radial-gradient(ellipse,#f7cf6740,transparent 68%);
  pointer-events: none;
}
.jewelry-light {
  position: absolute;
  left: 79%;
  top: 59%;
  width: 18%;
  height: 24%;
  overflow: hidden;
  clip-path: polygon(27% 0,63% 0,68% 30%,100% 53%,100% 96%,0 96%,0 36%);
  opacity: 0;
}
.phase-open .jewelry-light {
  opacity: 1;
}
.jewelry-light:after {
  content: '';
  position: absolute;
  inset: -30%;
  background: linear-gradient(110deg,transparent 42%,#fff9 50%,transparent 58%);
  transform: translateX(-130%);
  animation: jewelry-sweep 8s ease-in-out 3s infinite;
}
.map-link {
  letter-spacing: .01em;
}
.house-section footer strong {
  color: #896b47;
}
.phase-opening .entry-center {
  transition: opacity 1.2s ease .25s,transform 1.4s ease;
  transform: translateY(-5px) scale(1.04);
}
@keyframes light-drift {
  to {
    transform: translate3d(8%,8%,0) rotate(-18deg);
  }
}
@keyframes jewelry-sweep {
  0%,65% {
    transform: translateX(-130%);
  }
  90%,100% {
    transform: translateX(130%);
  }
}
@media (prefers-reduced-motion:reduce) {
  .ambient-light i,.jewelry-light:after {
    animation: none !important;
  }
  .phase-opening .entry-center {
    transition: none;
    transform: none;
  }
}
.hero-closing {
  font-size: 20px;
  line-height: 1.9;
  color: #8d7553;
  margin: 24px auto 0;
}
.phase-opening .hero-closing,.phase-open .hero-closing {
  animation-delay: 5.5s;
}
.evening-section {
  position: relative;
  z-index: 9;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  padding: 75px 28px 0;
}
.evening-section>.fine-line {
  margin: 0 auto 32px;
}
.evening-kicker {
  font-size: 15px;
  color: #a08457;
  margin: 0 0 12px;
}
.evening-section h2 {
  font-family: Amiri,serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 15px;
  color: #725b3e;
}
.evening-message {
  font-size: 19px;
  line-height: 2;
  color: #8b785e;
  margin: 0 auto 35px;
}
.calendar-detail {
  width: min(100%,310px);
  margin: 0 auto;
  padding: 28px 0 25px;
  border-top: 1px solid #b79b6c40;
  border-bottom: 1px solid #b79b6c40;
}
.calendar-day {
  font-size: 17px;
  color: #8a7351;
}
.calendar-date {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  margin: 10px 0 8px;
}
.calendar-date strong {
  font: 76px/1 RoyalSerif,Georgia,serif;
  font-weight: 400;
  color: #886a45;
}
.date-month {
  font-size: 21px;
}
.date-year {
  font: 22px/1.4 RoyalSerif,Georgia,serif;
  letter-spacing: .04em;
}
.calendar-time {
  display: block;
  margin-top: 18px;
  font-size: 19px;
  color: #826947;
}
.calendar-time b {
  font-weight: 400;
  margin: 0 5px;
  font-family: RoyalSerif,Georgia,serif;
  font-size: 23px;
}
.section-thread {
  display: block;
  width: 1px;
  height: 65px;
  background: linear-gradient(#b9a07870,transparent);
  margin: 38px auto 0;
}
.house-section {
  padding-top: 45px;
  margin-top: 0;
}
.house-section footer {
  padding-top: 25px;
}
@media (max-width:700px) {
  .hero-closing {
    font-size: 17px;
    line-height: 1.9;
    margin: 22px auto 8px;
    max-width: 270px;
  }
  .evening-section {
    padding: 58px 28px 0;
  }
  .evening-section h2 {
    font-size: 29px;
  }
  .evening-message {
    font-size: 18px;
    margin-bottom: 28px;
  }
  .calendar-detail {
    max-width: 270px;
    padding: 24px 0;
  }
  .calendar-date {
    gap: 18px;
  }
  .calendar-date strong {
    font-size: 67px;
  }
  .evening-section>.fine-line {
    margin-bottom: 26px;
  }
  .section-thread {
    height: 60px;
    margin-top: 32px;
  }
  .house-section {
    padding-top: 35px;
    margin-top: 0;
  }
  .house-section footer {
    padding-top: 22px;
  }
}
.names {
  width: min(100%,400px);
  margin: 8px auto 4px;
}
.ink-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.phase-opening .ink-upper,.phase-open .ink-upper {
  animation: write-name 2.5s cubic-bezier(.2,.05,.2,1) 3.3s forwards;
}
.phase-opening .ink-lower,.phase-open .ink-lower {
  animation: write-name 2.3s cubic-bezier(.2,.05,.2,1) 4.5s forwards;
}
@media (max-width:700px) {
  .names {
    width: min(100%,310px);
    margin: 6px auto 0;
  }
}
@media (prefers-reduced-motion:reduce) {
  .phase-opening .ink-path,.phase-open .ink-path {
    stroke-dashoffset: 0;
    animation: none !important;
  }
}
@media (max-width:700px) {
  .curtain img {
    object-fit: fill;
  }
  .curtain-frame {
    z-index: 8;
    height: 100%;
  }
  .tied {
    width: 31vw;
    min-width: 105px;
    max-width: 190px;
    height: 100%;
    object-fit: fill;
    object-position: center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .tied-left {
    left: -6%;
  }
  .tied-right {
    right: -6%;
  }
}
@media (max-height:500px) and (orientation:landscape) {
  .curtain img {
    object-fit: fill;
  }
  .tied {
    object-fit: fill;
    object-position: center;
  }
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-outline-style: solid;
    }
  }
}

.sample-family{font-family:Amiri,serif;font-size:clamp(20px,5.5vw,30px);line-height:1.6;margin:4px 0;color:#6e5b41}.sample-family-label{font-family:Amiri,serif;font-size:16px;margin:3px 0}.invitation-copy .names{margin:16px auto;max-width:90%;line-height:1.5}
