/* =====================================================================
   Design layer: display type, depth, motion. Loaded after site.css.
   ===================================================================== */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-normal-600.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-italic-500.woff2) format("woff2"); }

:root {
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lg: 0 30px 60px -20px rgba(38, 34, 29, 0.35);
}
body { background: var(--ivory) radial-gradient(1200px 500px at 100% 0, rgba(201, 167, 102, 0.09), transparent 60%) no-repeat; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1; }
h3 { font-size: 1.55rem; line-height: 1.15; }
.brand { font-size: 1.3rem; }
.price-card__price .amount { font-size: 3.4rem; }

/* Gold italic accent words */
.accent {
  font-style: italic; font-weight: 500; color: var(--gold-deep);
  background: linear-gradient(100deg, #7a5a28 0%, #b8924c 35%, #8a6a36 55%, #c4a05a 80%, #7a5a28 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 9s linear infinite;
}
.section--stage .accent, .band--dark .accent { background-image: linear-gradient(100deg, #e9d4a0 0%, #c9a766 40%, #f6e8c3 60%, #c9a766 100%); }
@keyframes shimmer { to { background-position: 220% center; } }

/* Ornament divider */
.ornament { display: flex; align-items: center; gap: 12px; color: var(--gold); margin: 0.2em 0 1.3em; }
.ornament i { height: 1px; width: 72px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.section--first { background: radial-gradient(640px 260px at 92% 0, rgba(201, 167, 102, 0.2), transparent 70%); }

/* Header */
.site-header { transition: background-color 0.35s, box-shadow 0.35s; }
.site-header.is-scrolled { background: rgba(31, 27, 23, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.site-header__inner { transition: min-height 0.35s; }
.site-header.is-scrolled .site-header__inner { min-height: 56px; }
.nav__link { position: relative; }
.nav__link::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { box-shadow: none; }

/* Buttons: sheen */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform 0.3s var(--ease), box-shadow 0.3s, background-color 0.2s, color 0.2s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%); transform: translateX(-130%); transition: transform 0.8s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(38, 34, 29, 0.45); }
.btn:hover::after { transform: translateX(130%); }
.btn-gold { background: linear-gradient(135deg, #e0c58b, #c9a766 55%, #b58d49); }

/* ---------- Hero ---------- */
.hero { position: relative; background:
  radial-gradient(760px 480px at 78% 28%, rgba(201, 167, 102, 0.3), transparent 70%),
  radial-gradient(520px 320px at 8% 100%, rgba(138, 106, 54, 0.12), transparent 70%), var(--ivory); padding: clamp(36px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero__grid { position: relative; z-index: 1; }
.hero__text > * { animation: rise 1s var(--ease) both; }
.hero__text > :nth-child(1) { animation-delay: 0.05s; }
.hero__text > :nth-child(2) { animation-delay: 0.15s; }
.hero__text > :nth-child(3) { animation-delay: 0.3s; }
.hero__text > :nth-child(4) { animation-delay: 0.42s; }
.hero__text > :nth-child(5) { animation-delay: 0.52s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.hero .eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold-deep); }
.hero__visual { min-height: 540px; max-width: 420px; --px: 0; --py: 0; }
.hero__wreath { position: absolute; left: 50%; top: 50%; width: 135%; max-width: none; transform: translate(-50%, -50%); color: var(--gold); opacity: 0.55; animation: fade 1.4s var(--ease) 0.3s both; }
.hero__wreath .hero__leaves { fill: rgba(201, 167, 102, 0.28); transform-origin: 200px 200px; animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone { background: linear-gradient(145deg, #2c2722, #0d0b09); box-shadow: 0 2px 0 rgba(255, 255, 255, 0.12) inset, var(--shadow-lg); transition: transform 0.6s var(--ease), box-shadow 0.6s; }
.phone--lg { max-width: 250px; margin-right: 10px; rotate: 2deg; transform: translate3d(calc(var(--px) * 14px), calc(var(--py) * 14px), 0); animation: floaty 7s ease-in-out 1.5s infinite, fade 1.2s var(--ease) 0.3s both; }
.phone--back { max-width: 205px; top: 70px; rotate: -6deg; transform: translate3d(calc(var(--px) * -18px), calc(var(--py) * -10px), 0); animation: floaty 8s ease-in-out 0.5s infinite reverse, fade 1.2s var(--ease) 0.5s both; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.spark { position: absolute; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); animation: twinkle 3.6s ease-in-out infinite; }
.spark--1 { left: 6%; top: 12%; }
.spark--2 { right: 2%; top: 38%; animation-delay: 1.2s; width: 6px; height: 6px; }
.spark--3 { left: 14%; bottom: 8%; animation-delay: 2.2s; width: 5px; height: 5px; }
@keyframes twinkle { 0%, 100% { opacity: 0.15; scale: 0.6; } 50% { opacity: 1; scale: 1.25; } }

/* ---------- Feature strip (marquee) ---------- */
.strip { background: var(--char); color: var(--gold); overflow: hidden; border-block: 1px solid rgba(201, 167, 102, 0.35); }
.strip__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip ul { display: flex; list-style: none; margin: 0; padding: 0; }
.strip li { padding: 16px 0; margin-right: 44px; font: 600 1.15rem/1 var(--serif); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.strip li::after { content: "\2726"; font-size: 0.8em; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stage (designs showcase) ---------- */
.section--stage { background: radial-gradient(760px 380px at 50% -5%, rgba(201, 167, 102, 0.3), transparent 70%), linear-gradient(180deg, #1f1b17, #2b251d); color: var(--char-soft); }
.section--stage h2, .section--stage h3 { color: var(--ivory); }
.section--stage .section__head p, .section--stage .design-card p, .section--stage .note { color: var(--char-soft); }
.section--stage .tag, .section--stage .link-arrow, .section--stage .note a { color: #e0c58b; }
.section--stage .design-card { background: rgba(255, 255, 255, 0.04); border-color: rgba(201, 167, 102, 0.25); }
.section--stage .design-card:hover { border-color: rgba(224, 197, 139, 0.7); }
.section--stage .btn-ghost { color: var(--ivory); border-color: rgba(255, 255, 255, 0.45); }
.section--stage .btn-ghost:hover { background: var(--ivory); color: var(--char); }
.design-card { transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s; }
.design-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.5); }
.design-card:hover .phone { transform: translateY(-4px) rotate(-1.5deg) scale(1.03); }
.design-card:nth-child(2) { margin-top: 28px; }
.design-feature:hover .phone { transform: rotate(-2deg) scale(1.03); }

/* ---------- Cards: lift + spotlight ---------- */
.feature, .price-card, .service-card, .related-links a, .blog-card { transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.3s; }
.feature:hover, .price-card:hover, .service-card:hover, .related-links a:hover, .blog-card:hover {
  transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 24px 40px -22px rgba(38, 34, 29, 0.35);
  background-image: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 167, 102, 0.18), transparent 70%);
}
.feature { padding: 28px 24px; }
.feature__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--char); color: var(--gold); margin-bottom: 16px; transition: transform 0.6s var(--ease); }
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.1); }
.feature h3 { margin-bottom: 0.3em; }

/* Pricing */
.price-card { padding: 34px 28px 28px; }
.price-card--featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, linear-gradient(135deg, #ecd8a8, #a98446 50%, #ecd8a8) border-box;
  box-shadow: var(--shadow-lg);
}
.price-card--featured:hover { background-image: linear-gradient(var(--paper), var(--paper)), linear-gradient(135deg, #ecd8a8, #a98446 50%, #ecd8a8); }
@media (min-width: 861px) {
  .price-card--featured { translate: 0 -14px; }
  .price-card--featured:hover { translate: 0 -6px; }
}
.price-card__badge { background: linear-gradient(135deg, #e0c58b, #c9a766); box-shadow: 0 6px 14px -6px rgba(138, 106, 54, 0.7); }

/* Steps: drawing connector */
.steps li { position: relative; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 46px; bottom: -1.3em; width: 2px; background: linear-gradient(var(--gold), rgba(201, 167, 102, 0.1)); }
.rv-on .steps li:not(:last-child)::before { transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease) 0.25s; }
.rv-on .steps li.in::before { transform: scaleY(1); }
.steps__num { background: linear-gradient(145deg, #2c2722, #1f1b17); box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5px var(--gold); font-size: 1.35rem; }
.section--tint .steps__num { box-shadow: 0 0 0 4px var(--tint), 0 0 0 5px var(--gold); }

.section--tint { background: linear-gradient(180deg, var(--tint), #f6efe3); }
.faq-item:hover { background: rgba(201, 167, 102, 0.08); }
.faq-item summary { transition: color 0.2s, padding 0.3s var(--ease); }
.faq-item summary:hover { color: var(--gold-deep); padding-left: 8px; }
.faq-item[open] > p { animation: rise 0.5s var(--ease); }

/* ---------- Final CTA band + opening envelope ---------- */
.band--dark { position: relative; overflow: hidden; background: radial-gradient(700px 340px at 50% 0, rgba(201, 167, 102, 0.28), transparent 70%), linear-gradient(180deg, #1f1b17, #14110e); }
.band--dark::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(201, 167, 102, 0.04) 0 1px, transparent 1px 18px); pointer-events: none; }
.band__inner { position: relative; }
.envelope { position: relative; width: 170px; height: 112px; margin: 40px auto 34px; perspective: 700px; }
.envelope > div { position: absolute; }
.envelope__back { inset: 0; background: #a9854a; border-radius: 4px; z-index: 1; }
.envelope__card { left: 12px; right: 12px; top: 6px; height: 96px; background: #fffdf9; border-radius: 3px; z-index: 2; display: grid; place-items: center; color: var(--gold-deep); font-size: 1.6rem; transition: transform 1s var(--ease) 0.55s; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.envelope__front { inset: 0; z-index: 3; background: linear-gradient(160deg, #d4b57a, #bd9a5c); clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); border-radius: 4px; }
.envelope__flap { left: 0; right: 0; top: 0; height: 62%; z-index: 4; transform-origin: top center; background: linear-gradient(180deg, #e6cf9e, #cdaa68); clip-path: polygon(0 0, 100% 0, 50% 100%); transition: transform 0.9s var(--ease) 0.1s, z-index 0s 0.5s; }
.envelope__seal { left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; z-index: 5; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f0dba6, #a98446); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35); transition: opacity 0.4s, scale 0.4s; }
.envelope.is-open .envelope__flap { transform: rotateX(180deg); z-index: 0; }
.envelope.is-open .envelope__card { transform: translateY(-62px); }
.envelope.is-open .envelope__seal { opacity: 0; scale: 0.4; }

/* ---------- Reveal on scroll (enabled by js/main.js) ---------- */
.rv-on .rv { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.rv-on .rv.in { opacity: 1; transform: none; }

/* ---------- Blog ---------- */
.blog-card { display: grid; gap: 22px; grid-template-columns: 1fr; padding: 26px; }
.blog-card--img { grid-template-columns: 220px 1fr; align-items: center; }
.blog-card__img { border-radius: 8px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.blog-card h2 { font-size: 1.8rem; margin-top: 0; }
.blog-card p { color: var(--ink-soft); }
.blog-post-body { font-size: 1.12rem; line-height: 1.8; }
.blog-post-body > p:first-of-type { font-size: 1.3rem; line-height: 1.6; color: var(--ink-soft); }
.breadcrumbs { margin-bottom: 26px; }
.blog-post-body h2 { margin-top: 1.8em; }
.blog-post-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font: italic 500 1.5rem/1.35 var(--serif); color: var(--ink); }
.blog-post-body a { font-weight: 600; }
.blog-cta { margin-top: 40px; padding: 32px 24px; border-radius: 12px; background: var(--char); color: var(--char-soft); text-align: center; }
.blog-cta h2 { color: var(--ivory); margin-top: 0; font-size: 2rem; }
.blog-cta .btn-row { justify-content: center; }
.blog-empty { text-align: center; padding: 44px 20px; border: 1px dashed var(--gold); border-radius: 12px; background: var(--paper); }

@media (max-width: 860px) {
  .hero__visual { min-height: 480px; max-width: 340px; }
  .design-card:nth-child(2) { margin-top: 0; }
  .blog-card--img { grid-template-columns: 1fr; }
  .strip li { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 6px 16px; }
  .strip ul[aria-hidden] { display: none; }
  .strip ul { flex-wrap: wrap; justify-content: center; }
  .strip li { margin-right: 24px; gap: 24px; padding: 8px 0; }
  .accent { animation: none; }
}

/* Buttons keep their own text color inside dark sections (beats ".band--dark a") */
.band--dark a.btn-gold, .blog-cta a.btn-gold { color: #14110e; }
.band--dark a.btn-gold:hover { color: #000; }
.band--dark a.btn-light, .blog-cta a.btn-light { color: #fff; }
.band--dark a.btn-light:hover, .blog-cta a.btn-light:hover { color: var(--char); }

/* Language sample tiles */
.lang-samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 1.4em; }
.lang-samples p { margin: 0; padding: 18px 12px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; font: 600 1.35rem/1.3 var(--serif); color: var(--gold-deep); }
.lang-samples p[lang="ar"] { font-family: var(--sans); font-size: 1.3rem; }
@media (max-width: 600px) { .lang-samples { grid-template-columns: 1fr; } }

/* What to prepare */
.prep-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 22px; padding-top: 14px; align-items: start; }
.prep-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 34px 26px 24px; }
.prep-card__num { position: absolute; top: -17px; left: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--char); color: var(--gold); font: 600 1.15rem/36px var(--serif); text-align: center; box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5px var(--gold); }
.prep-card h3 { margin-top: 0; }
.prep-card ul { list-style: none; padding: 0; margin: 0.4em 0 0; }
.prep-card li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.prep-card li:last-child { border-bottom: 0; }
.prep-card li strong { color: var(--ink); }
.prep-card p { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 860px) { .prep-grid { grid-template-columns: 1fr; } }

/* Landing intro */
.tagline { font: italic 500 clamp(1.6rem, 3.4vw, 2.3rem)/1.2 var(--serif); color: var(--gold-deep); margin: 0 0 0.8em; }
.intro-copy p { font-size: 1.08rem; }
.intro-copy .lead { font-size: 1.22rem; color: var(--ink); }
.section--tight { padding-top: 12px; }
.pull-line { margin-top: 1.4em; padding: 18px 0 0; border-top: 1px solid var(--gold); text-align: center; font: italic 500 1.7rem/1.3 var(--serif); color: var(--gold-deep); }
