/* =========================================================
   FLONEX — Gold & amber luxury beauty site
   Warm, personal, WhatsApp-first. Light + dark themes.
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Jost:wght@300;400;500;600&family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ---------- Theme tokens ---------- */
:root {
  /* gold ramp — shared across themes */
  --gold-1: #F6D470;   /* bright top of logo */
  --gold-2: #E7A93C;   /* amber */
  --gold-3: #C9821F;   /* deep amber */
  --gold-grad: linear-gradient(135deg, #F6D470 0%, #E7A93C 48%, #C9821F 100%);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --shadow-sm: 0 2px 10px rgba(120, 80, 10, .06);
  --shadow-md: 0 18px 50px -18px rgba(120, 80, 10, .28);
  --shadow-gold: 0 14px 40px -12px rgba(201, 130, 31, .45);
}

/* light (default fallback) */
:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #FBF6EC;
  --bg-2: #F4ECDC;
  --surface: #FFFFFF;
  --surface-2: #FCF7EE;
  --text: #2C2317;
  --text-soft: #5E5240;
  --muted: #9A8B73;
  --border: #ECE0CC;
  --border-strong: #E0CFB1;
  --hero-glow: radial-gradient(60% 60% at 70% 25%, rgba(246, 212, 112, .55), transparent 70%);
  --wordmark-filter: saturate(1.15) brightness(.82) contrast(1.05);
  --card-grad: linear-gradient(160deg, #FFFFFF 0%, #FCF6EA 100%);
}

/* dark */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #15110C;
  --bg-2: #1C160F;
  --surface: #211A12;
  --surface-2: #2A2118;
  --text: #F3EADB;
  --text-soft: #CDBEA3;
  --muted: #998A70;
  --border: #352A1D;
  --border-strong: #46371F;
  --hero-glow: radial-gradient(60% 60% at 70% 25%, rgba(231, 169, 60, .30), transparent 70%);
  --wordmark-filter: none;
  --card-grad: linear-gradient(160deg, #251D14 0%, #1D170F 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #15110C;
    --bg-2: #1C160F;
    --surface: #211A12;
    --surface-2: #2A2118;
    --text: #F3EADB;
    --text-soft: #CDBEA3;
    --muted: #998A70;
    --border: #352A1D;
    --border-strong: #46371F;
    --hero-glow: radial-gradient(60% 60% at 70% 25%, rgba(231, 169, 60, .30), transparent 70%);
    --wordmark-filter: none;
    --card-grad: linear-gradient(160deg, #251D14 0%, #1D170F 100%);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Jost', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
html[lang="ar"] body {
  font-family: 'Noto Sans Arabic', 'Jost', system-ui, sans-serif;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Typography ---------- */
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.05; }
html[lang="ar"] .serif,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .eyebrow,
html[lang="ar"] .about-copy .lead,
html[lang="ar"] .hero-badge .big,
html[lang="ar"] .about-stats .stat .n,
html[lang="ar"] .why-card .num,
html[lang="ar"] .mobile-menu a,
html[lang="ar"] .tw-title {
  font-family: 'Noto Naskh Arabic', 'Noto Sans Arabic', serif;
}
.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--gold-3);
  letter-spacing: .01em;
}
[data-theme="dark"] .eyebrow,
:root:not([data-theme]) .eyebrow { color: var(--gold-1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .eyebrow { color: var(--gold-1); } }

.text-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-3);
}
html[lang="ar"] .section-label {
  letter-spacing: .08em;
}
[data-theme="dark"] .section-label,
:root:not([data-theme]) .section-label { color: var(--gold-2); }
@media (prefers-color-scheme: dark){ :root:not([data-theme]) .section-label{ color: var(--gold-2);} }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.section-pad { padding: clamp(64px, 9vw, 130px) 0; }

.head { max-width: 640px; margin-bottom: 56px; }
.head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 14px 0 0; }
.head p { color: var(--text-soft); margin-top: 16px; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--r-pill);
  font-weight: 500; font-size: .98rem; letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold {
  background: var(--gold-grad); color: #2A1B05;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -12px rgba(201,130,31,.6); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--gold-2); color: var(--gold-3); }
[data-theme="dark"] .btn-ghost:hover { color: var(--gold-1); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 86px; transition: height .4s var(--ease);
}
.nav.scrolled .nav-inner { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img.mark { width: 30px; height: auto; }
.brand img.word { height: 30px; width: auto; filter: var(--wordmark-filter); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: .94rem; font-weight: 400; color: var(--text-soft);
  position: relative; transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--gold-grad); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
html[dir="rtl"] .nav-links a::after { left: auto; right: 0; }

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  min-width: 54px; height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text-soft); font-size: .9rem; font-weight: 500;
  transition: transform .35s var(--ease), color .3s, border-color .3s, background .3s;
}
.lang-switch:hover {
  color: var(--gold-3); border-color: var(--gold-2);
  transform: translateY(-2px);
}
[data-theme="dark"] .lang-switch:hover { color: var(--gold-1); }

/* theme toggle */
.theme-toggle {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text-soft); transition: transform .4s var(--ease), color .3s, border-color .3s;
}
.theme-toggle:hover { color: var(--gold-3); border-color: var(--gold-2); transform: rotate(15deg); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .sun { display: none; }
  :root:not([data-theme]) .theme-toggle .moon { display: block; }
}

.nav .btn { padding: 11px 22px; font-size: .92rem; }

/* hamburger */
.hamburger { display: none; width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1px solid var(--border-strong); background: var(--surface);
  flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.hamburger span { width: 18px; height: 1.8px; background: var(--text); transition: .3s var(--ease); }
.hamburger.open span:nth-child(1){ transform: translateY(6.8px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; }
.hamburger.open span:nth-child(3){ transform: translateY(-6.8px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--text);
  padding: 8px 0; opacity: 0; transform: translateY(14px); transition: .5s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(1){ transition-delay: .08s; }
.mobile-menu.open a:nth-child(2){ transition-delay: .14s; }
.mobile-menu.open a:nth-child(3){ transition-delay: .20s; }
.mobile-menu.open a:nth-child(4){ transition-delay: .26s; }
.mobile-menu.open a:nth-child(5){ transition-delay: .32s; }
.mobile-menu.open a:nth-child(6){ transition-delay: .38s; }
.mobile-menu .btn { margin-top: 22px; opacity: 0; transition: .5s var(--ease) .4s; }
.mobile-menu.open .btn { opacity: 1; }

/* ---------- Hero ---------- */
.hero { padding-top: 132px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; background: var(--hero-glow);
  pointer-events: none; z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.hero-copy { padding: 30px 0 70px; }
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.6rem); margin: 16px 0 0; letter-spacing: -.01em;
}
.hero h1 .line2 { font-style: italic; font-weight: 500; }
.hero-sub {
  margin-top: 24px; max-width: 460px; color: var(--text-soft); font-size: 1.12rem;
}
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .item { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: .95rem; }
.hero-meta .item svg { width: 18px; height: 18px; color: var(--gold-3); flex: none; }
[data-theme="dark"] .hero-meta .item svg { color: var(--gold-2); }

/* hero visual */
.hero-visual { position: relative; aspect-ratio: 4 / 5; max-width: 460px; justify-self: end; width: 100%; }
.hero-photo {
  position: absolute; inset: 0; border-radius: 240px 240px var(--r-lg) var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--surface) 14px 28px);
  display: grid; place-items: center;
}
.hero-photo .ph-label {
  font-family: ui-monospace, 'SF Mono', monospace; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); text-align: center; padding: 16px;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 22%; }
.hero-ring {
  position: absolute; inset: -10%; border-radius: 48% 48% 44% 44%;
  background: var(--gold-grad); z-index: -1; opacity: .5; filter: blur(34px);
  transition: opacity .4s var(--ease), filter .4s var(--ease), inset .4s var(--ease);
}
.hero-badge {
  position: absolute; left: -34px; bottom: 54px; z-index: 3;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
}
html[dir="rtl"] .hero-badge { left: auto; right: -34px; }
.hero-badge .big { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 600; line-height: 1; }
.hero-badge .lbl { font-size: .78rem; color: var(--muted); line-height: 1.3; max-width: 90px; }
.hero-logo-float {
  position: absolute; right: -28px; top: -28px; width: 96px; z-index: 3;
  filter: drop-shadow(0 12px 24px rgba(201,130,31,.4));
  animation: float 7s ease-in-out infinite;
}
html[dir="rtl"] .hero-logo-float { right: auto; left: -28px; }
@keyframes float { 0%,100%{ transform: translateY(0) rotate(0); } 50%{ transform: translateY(-14px) rotate(-3deg); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.about-photo {
  position: relative; aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--surface) 14px 28px);
  display: grid; place-items: center;
}
.about-photo .ph-label { font-family: ui-monospace, monospace; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); text-align:center; padding: 16px; }
.about-photo img { width:100%; height:100%; object-fit: cover; object-position: 50% 16%; }
.about-copy h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 14px 0 0; }
.about-copy .lead {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--text); margin-top: 22px; line-height: 1.35;
}
.about-copy p { color: var(--text-soft); margin-top: 18px; font-size: 1.06rem; }
.about-sign { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.about-sign img { height: 40px; filter: var(--wordmark-filter); }
.about-sign span { font-size: .9rem; color: var(--muted); }
.about-stats { display: flex; gap: 38px; margin-top: 34px; flex-wrap: wrap; }
.about-stats .stat .n { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 600; line-height: 1; }
.about-stats .stat .t { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* ---------- Services ---------- */
.services { background: var(--bg-2); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-card {
  background: var(--card-grad); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 34px 32px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.svc-card .cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.svc-icon {
  width: 50px; height: 50px; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: color-mix(in srgb, var(--gold-2) 16%, transparent);
  color: var(--gold-3);
}
[data-theme="dark"] .svc-icon { color: var(--gold-1); }
.svc-icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 1.7rem; }
.svc-list { display: flex; flex-direction: column; }
.svc-list li {
  list-style: none; display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-top: 1px solid var(--border); color: var(--text-soft); font-size: 1.02rem;
}
.svc-list li:first-child { border-top: none; }
.svc-list li .dot {
  width: 7px; height: 7px; flex: none; transform: rotate(45deg);
  background: var(--gold-grad); border-radius: 1px;
}
.svc-list li:hover { color: var(--text); }

/* ---------- Why choose me ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--card-grad); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 40px 34px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card .num {
  font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600;
  color: var(--gold-3); letter-spacing: .2em;
}
[data-theme="dark"] .why-card .num { color: var(--gold-2); }
.why-ico {
  width: 58px; height: 58px; border-radius: 16px; margin: 18px 0 22px;
  display: grid; place-items: center; background: var(--gold-grad); color: #2A1B05;
  box-shadow: var(--shadow-gold);
}
.why-ico svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.7rem; }
.why-card p { color: var(--text-soft); margin-top: 12px; font-size: 1.02rem; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--card-grad); border: 1px solid var(--border-strong); border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 76px); box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.contact-card::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px;
  background: var(--gold-grad); opacity: .14; border-radius: 50%; filter: blur(20px); pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.contact-card h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.contact-card .lead { color: var(--text-soft); margin-top: 16px; font-size: 1.1rem; max-width: 420px; }
.contact-cta { display: flex; flex-direction: column; gap: 14px; }
.contact-line {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s;
}
.contact-line:hover { transform: translateX(6px); border-color: var(--gold-2); }
html[dir="rtl"] .contact-line:hover { transform: translateX(-6px); }
.contact-line .ci {
  width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--gold-2) 16%, transparent); color: var(--gold-3);
}
[data-theme="dark"] .contact-line .ci { color: var(--gold-1); }
.contact-line .ci svg { width: 22px; height: 22px; }
.contact-line .k { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.contact-line .v { font-size: 1.08rem; color: var(--text); font-weight: 500; }
.contact-line.primary { background: var(--gold-grad); border-color: transparent; }
.contact-line.primary .ci { background: rgba(42,27,5,.15); color: #2A1B05; }
.contact-line.primary .k { color: rgba(42,27,5,.65); }
.contact-line.primary .v { color: #2A1B05; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .brand img.word { height: 34px; }
.footer .tag { color: var(--muted); font-size: .92rem; max-width: 280px; }
.footer .copy { color: var(--muted); font-size: .85rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-soft); font-size: .92rem; transition: color .25s; }
.footer-links a:hover { color: var(--gold-3); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
/* failsafe: if transitions are throttled (background tab / capture), never stay hidden */
.force-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav .btn-gold.desktop { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { justify-self: center; margin-bottom: 40px; max-width: 380px; }
  .hero-copy { padding-bottom: 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { max-width: 380px; aspect-ratio: 4/3; }
  .svc-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero-badge { left: 0; padding: 12px 16px; }
  html[dir="rtl"] .hero-badge { left: auto; right: 0; }
  .hero-logo-float { width: 70px; right: -10px; }
  html[dir="rtl"] .hero-logo-float { right: auto; left: -10px; }
  .hero-meta { gap: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  html[dir="rtl"] .footer-inner { align-items: flex-end; }
}

/* =========================================================
   TWEAKABLE OPTIONS — hero frame, floating logo, palette
   ========================================================= */

/* --- Hero frame treatments --- */
.hero-visual.hv-glow .hero-ring { inset: -10%; border-radius: 48% 48% 44% 44%; filter: blur(34px); opacity: .5; }
.hero-visual.hv-outline .hero-ring,
.hero-visual.hv-shadow  .hero-ring,
.hero-visual.hv-inset   .hero-ring { opacity: 0; filter: blur(0); }

.hero-visual.hv-outline::after {
  content: ''; position: absolute; inset: -16px; pointer-events: none;
  border: 1.5px solid color-mix(in srgb, var(--gold-2) 58%, transparent);
  border-radius: 256px 256px 44px 44px;
}
.hero-visual.hv-outline .hero-photo { border: 1.5px solid color-mix(in srgb, var(--gold-2) 62%, transparent); }

.hero-visual.hv-shadow .hero-photo {
  border: 1px solid var(--border);
  box-shadow: 0 46px 92px -34px rgba(120,80,10,.55), 0 14px 34px -16px rgba(0,0,0,.32);
}

.hero-visual.hv-inset .hero-photo::after {
  content: ''; position: absolute; inset: 13px; z-index: 2; pointer-events: none;
  border: 1.5px solid rgba(248,224,160,.85);
  border-radius: 232px 232px 16px 16px;
}

/* --- Floating logo treatments --- */
.hero-visual.lf-off .hero-logo-float { display: none; }
.hero-visual.lf-static .hero-logo-float { animation: none; width: 72px; right: -12px; top: -16px; opacity: .96; }
.hero-visual.lf-float .hero-logo-float { animation: float 7s ease-in-out infinite; width: 96px; right: -28px; top: -28px; }
html[dir="rtl"] .hero-visual.lf-static .hero-logo-float { right: auto; left: -12px; }
html[dir="rtl"] .hero-visual.lf-float .hero-logo-float { right: auto; left: -28px; }

/* --- Rose-gold colour combination --- */
[data-palette="rose"] {
  --gold-1: #F6D2BD; --gold-2: #D98E78; --gold-3: #B26A55;
  --gold-grad: linear-gradient(135deg, #F7D6C1 0%, #D98E78 48%, #B26A55 100%);
  --shadow-gold: 0 14px 40px -12px rgba(178, 106, 85, .45);
}
[data-palette="rose"][data-theme="light"] {
  --bg: #FBF1EB; --bg-2: #F4E3DA; --surface: #FFFFFF; --surface-2: #FCF1EB;
  --text: #2E211B; --text-soft: #64504A; --muted: #A78D83; --border: #EEDCD2; --border-strong: #E4CABB;
  --card-grad: linear-gradient(160deg, #FFFFFF 0%, #FCF0E9 100%);
  --hero-glow: radial-gradient(60% 60% at 70% 25%, rgba(246, 210, 189, .6), transparent 70%);
}
[data-palette="rose"][data-theme="dark"] {
  --bg: #171110; --bg-2: #1F1613; --surface: #251A16; --surface-2: #2D211A;
  --text: #F5E8DF; --text-soft: #D4BEB2; --muted: #A0897E; --border: #392A23; --border-strong: #4C3629;
  --card-grad: linear-gradient(160deg, #281C16 0%, #201611 100%);
  --hero-glow: radial-gradient(60% 60% at 70% 25%, rgba(217, 142, 120, .3), transparent 70%);
}
/* keep rose accents legible on light surfaces */
[data-palette="rose"][data-theme="light"] .eyebrow,
[data-palette="rose"][data-theme="light"] .section-label { color: var(--gold-3); }

/* =========================================================
   TWEAKS PANEL
   ========================================================= */
.tweaks {
  position: fixed; top: 84px; right: 20px; z-index: 200; width: 250px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--border-strong); border-radius: 20px;
  box-shadow: var(--shadow-md); overflow: hidden;
  font-family: 'Jost', system-ui, sans-serif;
}
.tweaks[hidden] { display: none; }
.tw-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid var(--border);
}
.tw-title { font-family: 'Cormorant Garamond', serif; font-size: 1.32rem; font-weight: 600; }
.tw-close {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  color: var(--muted); border: 1px solid var(--border); font-size: .72rem; transition: .2s;
}
.tw-close:hover { color: var(--text); border-color: var(--gold-2); }
.tw-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.tw-sec {
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  margin-top: 10px;
}
.tw-sec:first-child { margin-top: 0; }
.tw-seg { display: grid; gap: 6px; }
.tw-seg.cols2 { grid-template-columns: 1fr 1fr; }
.tw-seg.cols3 { grid-template-columns: 1fr 1fr 1fr; }
.tw-seg button {
  padding: 9px 6px; border-radius: 10px; border: 1px solid var(--border);
  font-family: inherit; font-size: .82rem; color: var(--text-soft); background: var(--surface-2);
  transition: .2s; cursor: pointer;
}
.tw-seg button:hover { border-color: var(--gold-2); color: var(--text); }
.tw-seg button[aria-checked="true"] {
  background: var(--gold-grad); color: #2A1B05; border-color: transparent; font-weight: 500;
}
.tw-swatches { display: flex; flex-direction: column; gap: 6px; }
.tw-swatches .sw {
  display: flex; align-items: center; gap: 11px; padding: 8px 11px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface-2);
  font-family: inherit; font-size: .85rem; color: var(--text-soft); transition: .2s; cursor: pointer;
}
.tw-swatches .sw span {
  width: 34px; height: 18px; border-radius: 5px; flex: none;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.tw-swatches .sw:hover { border-color: var(--gold-2); color: var(--text); }
.tw-swatches .sw[aria-checked="true"] {
  border-color: var(--gold-2); color: var(--text); font-weight: 500;
  background: color-mix(in srgb, var(--gold-2) 12%, var(--surface-2));
}
@media (max-width: 560px) {
  .tweaks { top: auto; bottom: 14px; right: 12px; left: 12px; width: auto; max-height: 70vh; overflow: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual.lf-float .hero-logo-float { animation: none; }
}
