:root {
  --paper: #f7f2e9;
  --cream: #efe9df;
  --ink: #2b2018;
  --muted: #776a5d;
  --wine: #6e1023;
  --gold: #a8844b;
  --line: #ddd5ca;
  --serif: 'Cairo', sans-serif;
  --sans: 'Tajawal', sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.8 var(--sans);
  text-align: right;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
}
h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.55;
}
h3 {
  font-size: 23px;
  line-height: 1.6;
}
p {
  color: var(--muted);
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
.wrap {
  width: min(1180px, calc(100% - 88px));
  margin-inline: auto;
}
.section-space {
  padding-block: 100px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--wine);
  margin-bottom: 20px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 14px 25px;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: white;
  border-radius: 5px;
  font-weight: 700;
  font-size: 16px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #46101e;
  transform: translateY(-2px);
}
.button.small {
  padding: 10px 18px;
  font-size: 14px;
}
.button.light {
  background: var(--paper);
  color: var(--wine);
  border-color: var(--paper);
}
.text-link {
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  display: inline-flex;
  gap: 20px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 19px max(32px, calc((100vw - 1280px) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.brand > span {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  color: var(--wine);
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 4px;
}
.site-header nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.site-header nav a:hover {
  color: var(--wine);
}
.menu-toggle {
  border: 1px solid var(--line);
  padding: 7px 12px;
  background: transparent;
  border-radius: 4px;
  font-size: 14px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 34px;
  padding-block: 80px 66px;
  min-height: 700px;
}
.hero h1 {
  font-size: clamp(53px, 6.4vw, 82px);
  line-height: 1.42;
  letter-spacing: normal;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--wine);
}
.ornament {
  color: var(--gold);
  font-size: 24px;
  vertical-align: middle;
  margin-left: 8px;
}
.lead {
  font-size: 19px;
  max-width: 485px;
  line-height: 1.95;
}
.actions {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 32px;
}
.hero-note {
  font-size: 12px;
  margin-top: 24px;
}
.hero-note span {
  font-size: 8px;
  color: var(--gold);
  margin-left: 7px;
}
.invitation-stage {
  height: 540px;
  position: relative;
  isolation: isolate;
  max-width: 550px;
  width: 100%;
  margin: auto;
}
.stage-orbit {
  position: absolute;
  inset: 4% 0 7%;
  border: 1px solid #dacfc0;
  border-radius: 50% 50% 5% 5%;
  z-index: -1;
  background: radial-gradient(ellipse at center, #e6d9c755, transparent 65%);
}
.sample-invite {
  position: absolute;
  width: 46%;
  aspect-ratio: 768/1376;
  border: 6px solid #fffdf8;
  box-shadow: 0 18px 36px #432e231c;
}
.sample-invite > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sample-front {
  right: 5%;
  top: 5%;
  transform: rotate(7deg);
  z-index: 2;
}
.sample-back {
  left: 5%;
  top: 12%;
  transform: rotate(-9deg);
}

.stage-label {
  position: absolute;
  bottom: 10%;
  left: 5%;
  z-index: 3;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 11px 20px;
  font: 19px var(--serif);
  transform: rotate(-4deg);
}
.sample-caption {
  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
  font-size: 11px;
}
.occasion-ribbon {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  background: var(--wine);
  color: #f5e9d8;
  padding: 24px;
  font-size: 16px;
}
.occasion-ribbon b {
  color: #caa769;
  font-weight: 400;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}
.story-copy p + p {
  margin-top: 17px;
}
.story-copy .text-link {
  margin-top: 26px;
}
.collection {
  background: #eee9e0;
  border-block: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 35px;
}
.section-heading > p {
  font-size: 16px;
  margin-bottom: 10px;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filters button {
  border: 1px solid #d3c9bb;
  border-radius: 30px;
  color: var(--muted);
  background: transparent;
  padding: 7px 19px;
  font-size: 14px;
}
.filters button[aria-pressed='true'] {
  color: white;
  background: var(--wine);
  border-color: var(--wine);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 26px;
}
.template-art {
  height: 345px;
  position: relative;
  overflow: hidden;
  background: #e4ddd1;
  padding: 22px;
  display: flex;
  justify-content: center;
}
.template-art img {
  width: auto;
  height: 100%;
  object-fit: contain;
  box-shadow: 0 8px 18px #432e2317;
  transition: transform 0.4s;
}
.template:hover img {
  transform: translateY(-3px) rotate(-1deg);
}

.template-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}
.template-title h3 {
  font-size: 19px;
  font-weight: 700;
}
.template-title > span {
  color: #968879;
  font-size: 13px;
}
.template > p {
  font-size: 14px;
}
.collection-note {
  border-top: 1px solid #d5cabc;
  margin-top: 42px;
  padding-top: 22px;
  display: flex;
  gap: 32px;
  align-items: baseline;
}
.collection-note > span {
  font-weight: 700;
  white-space: nowrap;
}
.collection-note > p {
  font-size: 15px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-block: 50px 65px;
}
.steps article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.step-number {
  font-family: var(--serif);
  font-size: 29px;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}
.steps p {
  font-size: 16px;
  margin-top: 12px;
}
.feature-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  background: var(--wine);
  padding: 55px 60px;
  border-radius: 6px;
  color: #fff8ed;
  align-items: center;
}
.feature-panel .eyebrow {
  color: #dcc296;
}
.feature-panel h3 {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.6;
}
.feature-panel p:not(.eyebrow) {
  color: #e6d1d4;
  font-size: 16px;
  margin-block: 18px 27px;
}
.organizer-preview {
  background: #fcfaf6;
  border: 1px solid #e7ddcf;
  border-radius: 10px;
  color: var(--ink);
  padding: 26px;
  transform: rotate(-2deg);
  box-shadow: 0 16px 24px #31091422;
}
.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-weight: 700;
}
.preview-header small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.guest-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 14px;
  border-top: 1px solid #e8e1d8;
  font-size: 16px;
}
.avatar {
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #ede6dc;
  color: #856c48;
}
.guest-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.guest-state {
  font-size: 10px;
  margin-right: auto;
  color: #5c715e;
  background: #edf1e9;
  padding: 3px 8px;
  border-radius: 3px;
}
.feature-panel .organizer-preview > p {
  font-size: 10px;
  color: var(--muted);
  margin: 14px 0 0;
}
.availability {
  font-size: 13px;
  line-height: 1.9;
  border-right: 2px solid var(--gold);
  padding-right: 15px;
  margin-top: 25px;
  max-width: 870px;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 90px;
  border-top: 1px solid var(--line);
  padding-top: 80px;
}
.faq > div > p:last-child {
  font-size: 16px;
  margin-top: 20px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 18px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: '+';
  font: 24px var(--sans);
  color: var(--gold);
}
.faq details[open] summary:after {
  content: '−';
}
.faq details p {
  padding-bottom: 24px;
  font-size: 16px;
}
.faq details a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-section {
  background: #e9e1d5;
  padding-block: 75px;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.contact-inner p:last-child {
  font-size: 16px;
  margin-top: 18px;
}
.contact-links a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 20px;
  padding-block: 19px;
  border-bottom: 1px solid #cfc1af;
}
.contact-links small {
  font-size: 13px;
  color: var(--muted);
}
.contact-links span {
  grid-row: 2;
  font-size: 23px;
  text-align: right;
  width: fit-content;
}
.contact-links b {
  grid-column: 2;
  grid-row: 1/3;
  font-size: 26px;
  font-weight: 400;
  color: var(--wine);
  align-self: center;
}
.site-footer {
  padding-block: 54px 25px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 35px;
}
.footer-top > div > p {
  font-size: 14px;
  margin-top: 16px;
}
.company-details {
  max-width: 440px;
}
.footer-top .company-details p {
  font-size: 13px;
  margin: 2px 0;
  text-align: right;
}
.company-details small {
  font-size: 11px;
  color: var(--muted);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.skip-link {
  position: fixed;
  top: -100px;
  right: 20px;
  background: var(--wine);
  color: white;
  padding: 14px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
@media (min-width: 901px) {
  .menu-toggle {
    display: none;
  }
  .site-header nav[hidden] {
    display: flex !important;
  }
}
@media (max-width: 1100px) {
  .site-header nav {
    gap: 16px;
  }
  .hero {
    gap: 10px;
  }
  .invitation-stage {
    height: 480px;
  }
  .actions {
    gap: 18px;
  }
  .feature-panel {
    gap: 35px;
    padding: 40px;
  }
  .gallery {
    gap: 26px 20px;
  }
  .story {
    gap: 60px;
  }
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 44px);
  }
  .site-header {
    flex-wrap: wrap;
    padding: 15px 22px;
    gap: 15px;
  }
  .site-header nav {
    order: 4;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .site-header > .button {
    margin-right: auto;
  }
  .hero {
    padding-block: 55px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 54px;
  }
  .lead {
    font-size: 17px;
  }
  .actions {
    flex-wrap: wrap;
  }
  .invitation-stage {
    height: 390px;
  }

  .stage-label {
    font-size: 16px;
    bottom: 12%;
    padding: 9px 13px;
  }
  .section-space {
    padding-block: 70px;
  }
  .story,
  .faq {
    gap: 35px;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-heading {
    align-items: start;
  }
  .steps {
    gap: 24px;
  }
  .steps h3 {
    font-size: 20px;
  }
  .feature-panel {
    gap: 25px;
    padding: 30px;
  }
  .feature-panel h3 {
    font-size: 30px;
  }
  .organizer-preview {
    padding: 18px;
  }
  .contact-inner {
    gap: 30px;
  }
  .occasion-ribbon {
    gap: 15px;
    font-size: 14px;
  }
  .collection-note {
    display: block;
  }
  .collection-note p {
    margin-top: 8px;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 17px;
  }
  .site-header > .button {
    display: none;
  }
  .brand > span {
    font-size: 29px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .menu-toggle {
    margin-right: auto;
  }
  .site-header > .button {
    margin-right: 0;
  }
  .site-header nav {
    align-items: center;
    gap: 12px 25px;
    font-size: 14px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 37px;
    gap: 20px;
  }
  .hero h1 {
    font-size: 58px;
    line-height: 1.4;
  }
  .hero .eyebrow {
    margin-bottom: 14px;
  }
  .hero-copy {
    max-width: 450px;
  }
  .lead {
    font-size: 17px;
  }
  .hero h1 {
    margin-bottom: 18px;
  }
  .actions {
    margin-top: 24px;
    gap: 22px;
  }
  .hero-note {
    margin-top: 20px;
  }
  .invitation-stage {
    height: 450px;
    max-width: 400px;
    margin-top: 15px;
  }
  .sample-invite {
    width: 47%;
  }
  .sample-front {
    right: 4%;
    top: 5%;
  }
  .sample-back {
    left: 3%;
    top: 12%;
  }

  .stage-label {
    bottom: 13%;
    font-size: 18px;
  }
  .occasion-ribbon {
    padding: 22px;
    gap: 10px 15px;
    font-size: 13px;
  }
  .story,
  .faq,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section-space {
    padding-block: 56px;
  }
  .section-heading {
    display: block;
    margin-bottom: 25px;
  }
  .section-heading > p {
    margin-top: 18px;
  }
  .filters {
    gap: 7px;
    margin-bottom: 22px;
  }
  .filters button {
    font-size: 12px;
    padding: 6px 12px;
  }
  .gallery {
    gap: 25px 15px;
  }
  .template-art {
    padding: 12px;
    height: 270px;
  }

  .template-title h3 {
    font-size: 17px;
  }
  .template-title > span {
    font-size: 11px;
  }
  .template > p {
    font-size: 12px;
    line-height: 1.8;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-block: 30px 36px;
  }
  .steps article {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0 16px;
  }
  .step-number {
    grid-row: 1/3;
  }
  .steps p {
    grid-column: 2;
    margin-top: 4px;
  }
  .feature-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 28px 22px;
  }
  .organizer-preview {
    transform: none;
  }
  .faq summary {
    font-size: 16px;
  }
  .faq details p {
    font-size: 15px;
  }
  .contact-section {
    padding-block: 50px;
  }
  .contact-links span {
    font-size: 22px;
  }
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
  .footer-bottom nav {
    gap: 14px;
  }
  .company-details {
    max-width: 100%;
  }
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 50px;
  }
  .invitation-stage {
    height: 390px;
  }
  .template-art {
    height: 235px;
  }

  .stage-label {
    font-size: 16px;
  }
  .brand small {
    font-size: 9px;
  }
  .site-header {
    gap: 8px;
  }
  .menu-toggle {
    font-size: 12px;
    padding: 6px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Match the application wordmark and preserve clear Arabic line height. */
.brand > span {
  font-weight: 900;
  line-height: 1.5;
}
.hero h1 {
  font-size: clamp(42px, 4.8vw, 66px);
  line-height: 1.6;
  font-weight: 700;
}
@media (max-width: 620px) {
  .hero h1 {
    font-size: 42px;
  }
  .site-header nav {
    line-height: 2;
  }
  .sample-invite {
    border-width: 3px;
  }
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  text-decoration: none;
}
.social-links a:hover {
  background: var(--wine);
  color: var(--cream);
}
.contact-socials {
  margin-top: 26px;
}
.footer-socials {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
@media (max-width: 620px) {
  .social-links {
    gap: 8px;
  }
  .social-links a {
    font-size: 12px;
    padding: 7px 11px;
  }
}
