@import url('https://fonts.googleapis.com/css2?family=Lemonada:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --forest: #30492b;
  --leaf: #496b3a;
  --olive: #718250;
  --amber: #e8b86d;
  --paper: #f7f2e7;
  --ink: #303a2b;
  --muted: #7b7e68;
  --heading: 'Lemonada', 'Noto Sans Arabic', serif;
  --body: 'Noto Sans Arabic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.hero {
  min-height: min(920px, 100svh);
  min-height: max(760px, 100svh);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 116px 24px 126px;
  background: #71895d;
}
.hero-image, .hero-shade, .sun-halo { position: absolute; inset: 0; pointer-events: none; }
.hero-image {
  z-index: -3;
  background-image: url('/manus-storage/async-images/8UNd4SqTvkBMtoXpLvmaLW/image-1.webp');
  background-size: cover;
  background-position: center 55%;
  transform: scale(1.035);
  animation: landscape-arrive 1.7s cubic-bezier(.16,.75,.24,1) both;
}
.hero-shade {
  z-index: -2;
  background: linear-gradient(180deg, rgba(28,47,35,.22) 0%, rgba(32,50,35,.05) 24%, rgba(28,47,35,.12) 64%, rgba(25,49,33,.65) 100%), linear-gradient(90deg, rgba(31,46,34,.15), transparent 24%, transparent 76%, rgba(31,46,34,.18));
}
.sun-halo { z-index: -1; inset: 5% 13% auto auto; width: clamp(110px, 17vw, 205px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,236,183,.55), rgba(255,222,153,.16) 55%, transparent 72%); filter: blur(1px); animation: sun-breathe 8s ease-in-out infinite alternate; }
.tree-breeze { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.tree-sway { position: absolute; top: -2px; width: clamp(140px, 25vw, 320px); height: auto; max-height: 44%; opacity: .96; filter: drop-shadow(0 2px 7px rgba(24,43,28,.2)); }
.tree-sway--left { left: -2%; transform-origin: 0 0; animation: tree-sway-left 2.8s ease-in-out infinite alternate; }
.tree-sway--right { right: -2%; transform-origin: 50% 0; animation: tree-sway-right 3.1s ease-in-out infinite alternate; }
.tree-leaves { transform-box: fill-box; transform-origin: 50% 82%; animation: leaf-breeze 1.9s ease-in-out infinite alternate; }
.hero-topline { position: absolute; inset: 28px 38px auto; display: flex; align-items: center; justify-content: space-between; color: #fff9e9; z-index: 3; text-shadow: 0 2px 12px rgba(23,43,31,.35); }
.wordmark { display: inline-flex; gap: 9px; align-items: center; text-decoration: none; font-family: var(--heading); font-size: 15px; font-weight: 600; }
.wordmark-icon { font-size: 28px; line-height: 1; color: var(--amber); transform: rotate(-20deg); }
.top-note { font-size: 12px; letter-spacing: .02em; }
.tiny-star { color: #f4cc87; margin-inline-end: 6px; }
.hero-topline { z-index: 4; }
.invitation-card { z-index: 3; }

.invitation-card {
  position: relative;
  width: min(100%, 580px);
  text-align: center;
  padding: clamp(31px, 5vw, 53px) clamp(25px, 6.3vw, 66px) 45px;
  color: #fff9e9;
  border: 1px solid rgba(255,247,225,.49);
  border-radius: 5px 44px 5px 44px;
  background: linear-gradient(145deg, rgba(43,65,45,.88), rgba(48,65,44,.79));
  box-shadow: 0 25px 75px rgba(23,39,26,.23), inset 0 0 0 7px rgba(255,248,230,.055);
  backdrop-filter: blur(9px);
  animation: card-arrive .95s .15s cubic-bezier(.2,.7,.2,1) both;
}
.invitation-card::before, .invitation-card::after { content: ''; position: absolute; width: 38px; height: 38px; border-color: rgba(232,184,109,.75); border-style: solid; pointer-events: none; }
.invitation-card::before { inset: 12px auto auto 12px; border-width: 1px 0 0 1px; border-radius: 8px 0 0; }
.invitation-card::after { inset: auto 12px 12px auto; border-width: 0 1px 1px 0; border-radius: 0 0 8px; }
.card-ornament { color: #edc985; font-size: 16px; letter-spacing: .2em; margin-bottom: 14px; opacity: .94; }
.eyebrow { margin: 0 0 10px; color: #e8d8b8; font-size: 13px; font-weight: 500; }
h1, h2, p { text-wrap: pretty; }
.invitation-card h1 { margin: 0; font-family: var(--heading); font-size: clamp(36px, 8vw, 60px); line-height: 1.16; font-weight: 600; letter-spacing: -.04em; }
.invitation-card h1.annual-title { font-family: var(--body); font-size: clamp(22px, 4vw, 34px); line-height: 1.45; font-weight: 700; letter-spacing: 0; white-space: nowrap; color: #cfe9b1; }
.invitation-card h1 .title-family { display: inline; font-size: 1.12em; font-weight: 800; color: #b9df93; text-shadow: 0 5px 24px rgba(185,223,147,.16); }
.event-label { display: inline-flex; align-items: center; gap: 9px; margin: 10px auto 0; padding: 7px 15px; border: 1px solid rgba(240,200,130,.48); border-radius: 40px; color: #f3d9a7; font-size: 12px; }
.event-dot { width: 6px; height: 6px; border-radius: 50%; background: #e8b86d; box-shadow: 0 0 0 4px rgba(232,184,109,.15); }
.invitation-copy { margin: 24px auto 0; max-width: 415px; font-size: 15px; line-height: 2.05; color: rgba(255,249,233,.93); font-weight: 400; }
.invite-line { display: block; opacity: 0; transform: translateY(7px); animation: invite-line-in .7s ease-out forwards; }
.invite-line:nth-child(1) { animation-delay: 0s; }
.invite-line:nth-child(2) { animation-delay: 2s; }
.invite-line:nth-child(3) { animation-delay: 4s; }
.invite-line:nth-child(4) { animation-delay: 6s; }
.invite-line:nth-child(5) { animation-delay: 8s; }
.invite-line:nth-child(6) { animation-delay: 10s; }
.invite-line:nth-child(7) { animation-delay: 12s; }
.card-divider { display: flex; align-items: center; justify-content: center; gap: 12px; width: min(210px, 70%); margin: 23px auto 13px; color: #efca89; }
.card-divider span:not(.divider-leaf) { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(238,204,143,.65)); }
.card-divider span:first-child { transform: rotate(180deg); }
.divider-leaf { font-size: 18px; }
.card-closing { margin: 0; color: #f1d7a9; font-family: var(--heading); font-size: 14px; line-height: 1.8; }
.birdsong-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; margin: 13px auto 0; padding: 8px 15px; border: 1px solid rgba(207,233,177,.48); border-radius: 999px; background: rgba(255,249,233,.08); color: #e3efcf; font: 500 12px var(--body); cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.birdsong-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.birdsong-toggle:hover { transform: translateY(-1px); background: rgba(255,249,233,.15); }
.birdsong-toggle.is-playing { border-color: #cfe9b1; color: #d8efb4; background: rgba(186,219,143,.12); }
.birdsong-toggle:focus-visible { outline: 3px solid #d9aa5e; outline-offset: 4px; }
.scroll-cue { position: absolute; left: 50%; bottom: -68px; width: 36px; height: 36px; transform: translateX(-50%); display: grid; place-items: center; border: 1px solid rgba(255,249,233,.65); border-radius: 50%; color: #fff9e9; text-decoration: none; backdrop-filter: blur(5px); animation: cue-bob 2.5s ease-in-out infinite; }
.scroll-cue span { display: block; width: 8px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translate(-1px,-1px); }

.birds { position: absolute; z-index: 1; top: 7.5%; inset-inline: 0; height: 90px; pointer-events: none; overflow: hidden; }
.bird { position: absolute; width: 52px; height: 36px; overflow: visible; opacity: .98; filter: drop-shadow(0 2px 3px rgba(255,239,205,.55)); animation: bird-glide var(--bird-speed, 10s) linear infinite, bird-bob 2.2s ease-in-out infinite; }
.bird-body, .bird-wing { fill: #304731; }
.bird-wing { transform-box: view-box; transform-origin: 42px 27px; }
.bird-wing--left { animation: wing-beat-left .34s ease-in-out infinite alternate; }
.bird-wing--right { animation: wing-beat-right .34s ease-in-out infinite alternate; animation-delay: -.1s; }
.bird--one { top: 3px; left: -9%; --bird-speed: 10s; animation-delay: -4.7s, -.7s; }
.bird--two { top: 22px; left: -18%; width: 44px; height: 31px; --bird-speed: 8.8s; animation-delay: -2.8s, -1.2s; }
.bird--three { top: 12px; left: -28%; width: 36px; height: 25px; --bird-speed: 11s; animation-delay: -7s, -.4s; }
.bird--four { top: 40px; left: -38%; width: 40px; height: 28px; --bird-speed: 9s; animation-delay: -3.8s, -2s; }
.details { position: relative; background: var(--paper); padding: 78px 24px 38px; overflow: hidden; }
.details::before { content: ''; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(73,107,58,.09); border-radius: 50%; left: -185px; top: -145px; box-shadow: 0 0 0 27px rgba(73,107,58,.025), 0 0 0 54px rgba(73,107,58,.022); }
.details-inner { width: min(100%, 930px); margin-inline: auto; position: relative; }
.details-intro { text-align: center; margin-bottom: 33px; }
.section-kicker { color: var(--leaf); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.details-intro h2 { margin: 9px 0 7px; font-family: var(--heading); color: var(--forest); font-size: clamp(25px,4vw,32px); font-weight: 600; }
.details-intro p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.farm-friends { display: grid; justify-items: center; width: min(250px, 72vw); margin: -11px auto 16px; animation: farm-friends-float 3.6s ease-in-out infinite alternate; }
.farm-friends img { display: block; width: 100%; height: 160px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(67,83,49,.14)); }
.detail-list { display: flex; justify-content: center; gap: 14px; }
.detail-item { display: flex; align-items: center; gap: 12px; position: relative; width: min(100%, 270px); min-height: 87px; padding: 15px 17px; border: 1px solid rgba(73,107,58,.12); border-radius: 3px 22px 3px 22px; background: rgba(255,253,247,.69); box-shadow: 0 8px 25px rgba(57,74,49,.045); transition: transform .25s ease, box-shadow .25s ease; }
.detail-item:hover { transform: translateY(-3px); box-shadow: 0 12px 29px rgba(57,74,49,.09); }
.detail-icon { display: grid; place-items: center; width: 41px; height: 41px; flex: 0 0 auto; border-radius: 50%; background: #e9eddf; color: var(--leaf); }
.detail-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.detail-item small { display: block; margin-bottom: 3px; color: #8c8d76; font-size: 11px; }
.detail-item strong { display: block; color: #34462e; font-size: 14px; font-weight: 600; }
.detail-spark { align-self: flex-start; margin-inline-start: auto; color: #c6a05c; font-size: 12px; }
.share-note { display: flex; gap: 12px; justify-content: center; align-items: center; text-align: right; margin: 31px auto 20px; color: #687350; }
.note-branch { font-family: Georgia, serif; color: #88946b; font-size: 37px; transform: rotate(-24deg); }
.share-note p { margin: 0; font-family: var(--heading); font-size: 12px; line-height: 1.9; }
.share-button { display: flex; gap: 12px; align-items: center; justify-content: center; min-width: 211px; margin: 0 auto; padding: 14px 22px; border: 0; border-radius: 3px 19px 3px 19px; background: var(--leaf); color: #fff9e9; font: 600 14px var(--body); box-shadow: 0 8px 20px rgba(73,107,58,.19); cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.share-button:hover { transform: translateY(-2px); background: #3f5e33; box-shadow: 0 12px 24px rgba(73,107,58,.25); }
.share-button:active { transform: translateY(0); }
.share-button:focus-visible, a:focus-visible { outline: 3px solid #d9aa5e; outline-offset: 4px; }
.share-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button-arrow { margin-inline-start: 8px; color: #f2cd8b; transition: transform .2s ease; }
.share-button:hover .button-arrow { transform: translateX(-4px); }
.share-status { min-height: 22px; margin: 9px auto 0; color: var(--leaf); text-align: center; font-size: 12px; }
.footer-line { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 17px; color: #93947d; font-size: 11px; }
.footer-line span:nth-child(2) { color: #c6a05c; font-size: 10px; }

@keyframes bird-glide { 0% { translate: 0 0; } 24% { translate: calc(24vw + 40px) -9px; } 52% { translate: calc(52vw + 88px) 5px; } 78% { translate: calc(78vw + 130px) -8px; } 100% { translate: calc(100vw + 185px) 1px; } }
@keyframes bird-bob { 0%,100% { rotate: -2deg; } 50% { rotate: 2deg; } }
@keyframes wing-beat-left { from { transform: rotate(14deg) scaleY(.5); } to { transform: rotate(-13deg) scaleY(1.25); } }
@keyframes wing-beat-right { from { transform: rotate(-14deg) scaleY(.5); } to { transform: rotate(13deg) scaleY(1.25); } }
@keyframes tree-sway-left { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes tree-sway-right { from { transform: scaleX(-1) rotate(6deg); } to { transform: scaleX(-1) rotate(-6deg); } }
@keyframes leaf-breeze { from { rotate: -3deg; } to { rotate: 3deg; } }
@keyframes invite-line-in { to { opacity: 1; transform: translateY(0); } }
@keyframes farm-friends-float { from { transform: translateY(1px) rotate(-.8deg); } to { transform: translateY(-5px) rotate(.8deg); } }
@keyframes sun-breathe { from { opacity: .62; scale: .94; } to { opacity: .98; scale: 1.05; } }
@keyframes card-arrive { from { opacity: 0; transform: translateY(20px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes landscape-arrive { from { opacity: .6; transform: scale(1.08); } to { opacity: 1; transform: scale(1.035); } }
@keyframes cue-bob { 0%,100% { translate: 0 0; } 50% { translate: 0 5px; } }
@keyframes flower-sway { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }

@media (min-width: 1200px) { .hero { min-height: 880px; } }
@media (max-width: 720px) {
  .hero-image { background-image: url('/manus-storage/async-images/cqWiCITuloVgsSnZdE6KgL/image-1.webp'); background-position: center center; }
  .hero { min-height: max(790px, 100svh); padding: 118px 17px 143px; align-items: center; }
  .tree-sway { width: clamp(140px, 38vw, 205px); max-height: 36%; opacity: .9; }
  .hero-topline { inset: 21px 19px auto; }
  .wordmark { font-size: 13px; }
  .wordmark-icon { font-size: 25px; }
  .top-note { font-size: 10px; }
  .invitation-card { max-width: 480px; padding: 34px 25px 42px; border-radius: 4px 33px 4px 33px; }
  .invitation-card h1.annual-title { font-size: clamp(19px, 6.2vw, 24px); line-height: 1.45; }
  .invitation-copy { margin-top: 19px; font-size: 14px; line-height: 2; }
  .card-closing { font-size: 12px; }
  .birds { top: 7.5%; }
  .bird { width: 45px; height: 32px; }
  .bird--two { width: 38px; height: 27px; }
  .bird--three { width: 31px; height: 23px; }
  .bird--four { width: 35px; height: 25px; }
  .detail-list { flex-direction: column; align-items: center; gap: 10px; }
  .detail-item { width: min(100%, 390px); min-height: 73px; }
  .details { padding: 62px 20px 31px; }
  .details-intro { margin-bottom: 25px; }
  .farm-friends { width: min(210px, 68vw); margin-top: -8px; }
  .farm-friends img { height: 135px; }
  .share-note { margin-top: 25px; }
}
@media (max-width: 370px) {
  .hero { min-height: 810px; padding-inline: 12px; }
  .invitation-card { padding-inline: 18px; }
  .invitation-copy { font-size: 13px; }
  .top-note { max-width: 125px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .tree-sway { animation: none !important; }
  .tree-leaves { animation: none !important; }
  .bird { animation: none !important; }
  .bird-wing { animation: none !important; transform: scaleY(.75); }
  .invite-line { animation: none !important; opacity: 1; transform: none; }
  .farm-friends { animation: none !important; }
  .bird--one { left: 8%; }
  .bird--two { left: 27%; }
  .bird--three { left: 54%; }
  .bird--four { left: 76%; }
}
