/* Shriftlar: Google Fonts (SIL OFL 1.1), mahalliy */
/* cormorant cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-italic-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cormorant cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-italic-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cormorant latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-italic-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* cormorant latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-italic-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cormorant cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-italic-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cormorant cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-italic-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cormorant latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-italic-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* cormorant latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-italic-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cormorant cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-normal-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cormorant cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cormorant latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* cormorant latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/cormorant-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cormorant cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-normal-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cormorant cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cormorant latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* cormorant latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cormorant-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cormorant cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/cormorant-normal-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cormorant cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/cormorant-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cormorant latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/cormorant-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* cormorant latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/cormorant-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* manrope cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* manrope cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* manrope latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* manrope latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* manrope cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* manrope cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* manrope latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* manrope latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* manrope cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* manrope cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* manrope latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* manrope latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* amiri arabic */
@font-face {
  font-family: 'Amiri';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/amiri-normal-400-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* amiriquran arabic */
@font-face {
  font-family: 'Amiri Quran';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/amiriquran-normal-400-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* greatvibes cyrillic-ext */
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/greatvibes-normal-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* greatvibes cyrillic */
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/greatvibes-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greatvibes latin-ext */
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/greatvibes-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* greatvibes latin */
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/greatvibes-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ================================================================
   Islommuhammadsodiq — nikoh to‘yiga taklifnoma
   Ikki atmosfera: erkaklar (tun → tong, zumrad va oltin)
                   ayollar (marvarid, atirgul, bog‘)
   Animatsiyalar faqat transform/opacity orqali; grafika vektor.
   ================================================================ */

:root {
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ar: 'Amiri', 'Amiri Quran', 'Traditional Arabic', serif;
  --quran: 'Amiri Quran', 'Amiri', serif;
  --script: 'Great Vibes', 'Cormorant Garamond', cursive;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dawn: 0;
  --safe-b: env(safe-area-inset-bottom, 0px);

  /* Kirish (umumiy) */
  --bg: #081a16; --bg2: #0d241f;
  --ink: #f4ecdb; --ink2: #d3cab6; --mute: #93a79d;
  --gold: #d9b25f; --gold-hi: #f6dfa2; --gold-lo: #a37a35;
  --line: rgba(217, 178, 95, .3);
  --card: rgba(8, 28, 23, .62);
  --card-bd: rgba(217, 178, 95, .26);
  --accent: var(--gold);
  --bar: rgba(7, 22, 18, .86);
  --name-a: #f6e2a8; --name-b: #d4a955; --name-c: #a7782f;
  color-scheme: dark;
}

html[data-guest="women"] {
  --bg: #fbf6f2; --bg2: #f6ebe7;
  --ink: #3b2529; --ink2: #5d4146; --mute: #9b8085;
  --gold: #a47840; --gold-hi: #c69c5e; --gold-lo: #7d5a2a;
  --rose: #c97f8b; --rose-lo: #a85f6c; --sage: #8fa58f;
  --line: rgba(180, 138, 79, .32);
  --card: rgba(255, 255, 255, .66);
  --card-bd: rgba(201, 127, 139, .28);
  --accent: var(--rose);
  --bar: rgba(251, 246, 242, .9);
  --name-a: #c98a7a; --name-b: #b06f7c; --name-c: #b48a4f;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  font: 400 16px/1.65 var(--sans); color: var(--ink); background: transparent;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
body.locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ol, ul, blockquote { margin: 0; }
em { font-style: italic; }
.saw { font-family: var(--ar); font-style: normal; font-weight: 400; color: var(--gold); font-size: 1.05em; line-height: 1; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--gold); color: #1a1408; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------------- Fon qatlamlari ---------------- */
.backdrop { position: fixed; inset: 0; height: 100lvh; z-index: -1; pointer-events: none; overflow: hidden; contain: strict; }
.backdrop > * { position: absolute; }
.bd-base { inset: 0; background: radial-gradient(120% 70% at 50% 0%, #0f2c25 0%, #081a16 55%, #050f0c 100%); }
.bd-dawn, .bd-sun, .bd-blob { opacity: 0; }
html[data-guest="men"] .bd-dawn {
  inset: 0; opacity: calc(var(--dawn) * .95);
  background: linear-gradient(180deg, rgba(16, 32, 46, 0) 0%, rgba(44, 48, 74, .55) 38%, rgba(122, 72, 84, .62) 68%, rgba(226, 146, 86, .7) 100%);
}
html[data-guest="men"] .bd-sun {
  left: 50%; bottom: 0; width: 160vmax; height: 160vmax; border-radius: 50%; opacity: calc(.15 + var(--dawn) * .85);
  background: radial-gradient(circle, rgba(255, 210, 128, .65) 0%, rgba(255, 176, 96, .28) 18%, rgba(255, 150, 90, 0) 42%);
  transform: translate3d(-50%, calc(62% + (1 - var(--dawn)) * 22%), 0);
  will-change: transform, opacity;
}
html[data-guest="women"] .bd-base { background: linear-gradient(180deg, #fdfaf6 0%, #faf1ec 55%, #f6e9e4 100%); }
html[data-guest="women"] .bd-blob { opacity: 1; width: 90vmax; height: 90vmax; border-radius: 50%; will-change: transform; }
.bd-blob.b1 { left: -40vmax; top: -30vmax; background: radial-gradient(circle, rgba(239, 196, 200, .55), rgba(239, 196, 200, 0) 62%); animation: drift1 26s ease-in-out infinite alternate; }
.bd-blob.b2 { right: -45vmax; top: 20vh; background: radial-gradient(circle, rgba(246, 220, 196, .6), rgba(246, 220, 196, 0) 62%); animation: drift2 32s ease-in-out infinite alternate; }
.bd-blob.b3 { left: -20vmax; bottom: -55vmax; background: radial-gradient(circle, rgba(196, 214, 190, .45), rgba(196, 214, 190, 0) 62%); animation: drift1 38s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(12vmax, 8vmax, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(-10vmax, 12vmax, 0) scale(.94); } }
.bd-pattern {
  inset: -10%; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23d9b25f' stroke-width='1'%3E%3Crect x='24' y='24' width='48' height='48'/%3E%3Crect x='24' y='24' width='48' height='48' transform='rotate(45 48 48)'/%3E%3Cpath d='M0 0l24 24M96 0L72 24M0 96l24-24M96 96L72 72M48 0v14M48 96V82M0 48h14M96 48H82'/%3E%3Ccircle cx='48' cy='48' r='12'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px 96px;
}
html[data-guest="women"] .bd-pattern { opacity: .06; }
#particles { inset: 0; width: 100%; height: 100%; }

/* ---------------- Kirish: eshik ---------------- */
.gate {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; overflow: auto;
  padding: max(24px, env(safe-area-inset-top)) 18px max(24px, var(--safe-b));
  background: radial-gradient(110% 80% at 50% 30%, #12352d 0%, #0a211b 50%, #040e0b 100%);
  transition: opacity 1s var(--ease) .15s, visibility 0s linear 1.2s;
}
.gate-pattern {
  position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23d9b25f' stroke-width='1'%3E%3Crect x='24' y='24' width='48' height='48'/%3E%3Crect x='24' y='24' width='48' height='48' transform='rotate(45 48 48)'/%3E%3Cpath d='M0 0l24 24M96 0L72 24M0 96l24-24M96 96L72 72M48 0v14M48 96V82M0 48h14M96 48H82'/%3E%3Ccircle cx='48' cy='48' r='12'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
}
.gate-inner { position: relative; width: min(100%, 440px); text-align: center; color: #f4ecdb; transition: transform 1.3s var(--ease-io), opacity .9s var(--ease); }
.bismillah { font-family: var(--ar); line-height: 1.9; }
.gate-bism { font-size: clamp(24px, 6.6vw, 32px); color: var(--gold-hi); margin-bottom: 10px; animation: rise 1.4s var(--ease) both; }
.portal {
  position: relative; width: min(46vw, 210px, 27svh); aspect-ratio: 260 / 380; margin: 0 auto 20px;
  animation: rise 1.4s var(--ease) .15s both;
}
.portal-light, .portal-doors { position: absolute; inset: 0; -webkit-clip-path: url(#clip-arch); clip-path: url(#clip-arch); }
.portal-light {
  background: radial-gradient(70% 55% at 50% 62%, #fff6dc 0%, #f4cf86 30%, #b9873d 62%, #3b2a12 100%);
  opacity: .9;
}
.gate[data-open="women"] .portal-light { background: radial-gradient(70% 55% at 50% 62%, #fffaf6 0%, #f7d6d4 32%, #d79aa3 62%, #5a2f36 100%); }
.door {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background-color: #0e2d26;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .28)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23d9b25f' stroke-opacity='.55' stroke-width='.8'%3E%3Crect x='10' y='10' width='20' height='20'/%3E%3Crect x='10' y='10' width='20' height='20' transform='rotate(45 20 20)'/%3E%3Cpath d='M0 0l10 10M40 0L30 10M0 40l10-10M40 40L30 30'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 26px 26px;
  box-shadow: inset 0 0 0 1px rgba(217, 178, 95, .55), inset 0 0 0 6px rgba(7, 26, 21, .9), inset 0 0 0 7px rgba(217, 178, 95, .4);
  transition: transform 1.5s var(--ease-io);
  backface-visibility: hidden;
}
.door-l { left: 0; transform-origin: 0 50%; }
.door-r { right: 0; transform-origin: 100% 50%; }
.knob { position: absolute; top: 58%; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3c9, #c99a45 60%, #6b4b1c); box-shadow: 0 0 0 3px rgba(217, 178, 95, .25); }
.door-l .knob { right: 8px; } .door-r .knob { left: 8px; }
.portal-frame { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 6px); overflow: visible; }
.portal-frame path { fill: none; stroke: var(--gold); stroke-width: 1.6; filter: drop-shadow(0 0 6px rgba(217, 178, 95, .45)); }
.gate-kicker { font: 600 10.5px/1.4 var(--sans); letter-spacing: .32em; color: var(--gold); margin-bottom: 8px; animation: rise 1.2s var(--ease) .3s both; }
.gate-title { font: 400 clamp(30px, 8.6vw, 44px)/1.08 var(--serif); animation: rise 1.2s var(--ease) .4s both; }
.gate-title em { color: var(--gold-hi); }
.gate-hint { margin: 10px 0 18px; color: #b9c4bc; font-size: 14px; animation: rise 1.2s var(--ease) .5s both; }
.choices { display: grid; gap: 12px; animation: rise 1.2s var(--ease) .6s both; }
.choice {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left;
  border-radius: 18px; border: 1px solid rgba(217, 178, 95, .38);
  background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.choice:hover, .choice:focus-visible { transform: translateY(-2px); border-color: var(--gold-hi); background: linear-gradient(135deg, rgba(217, 178, 95, .16), rgba(255, 255, 255, .03)); }
.choice:active { transform: scale(.985); }
.choice.preselected { border-color: var(--gold-hi); box-shadow: 0 0 0 4px rgba(217, 178, 95, .14); }
.choice-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(217, 178, 95, .12); border: 1px solid rgba(217, 178, 95, .35); }
.choice-ico svg { width: 24px; height: 24px; fill: var(--gold-hi); }
.choice[data-pick="women"] .choice-ico svg { width: 30px; height: 30px; }
.choice-txt { flex: 1; display: grid; gap: 2px; }
.choice-txt b { font: 500 21px/1.15 var(--serif); color: #f8f0dd; }
.choice-txt small { font-size: 12.5px; color: #aebbb2; letter-spacing: .01em; }
.choice-arr { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.6; flex: none; transition: transform .35s var(--ease); }
.choice:hover .choice-arr { transform: translateX(4px); }
.gate-sign { margin-top: 18px; font: italic 400 17px/1.4 var(--serif); color: #c9bfa8; animation: rise 1.2s var(--ease) .75s both; }

.gate.opening .gate-bism, .gate.opening .gate-kicker, .gate.opening .gate-title, .gate.opening .gate-hint,
.gate.opening .choices, .gate.opening .gate-sign { transition: opacity .5s var(--ease), transform .7s var(--ease); opacity: 0; transform: translateY(14px); animation: none; }
.gate.opening .door-l { transform: perspective(700px) rotateY(-108deg); }
.gate.opening .door-r { transform: perspective(700px) rotateY(108deg); }
.gate.opening .portal-light { animation: glow 1.6s var(--ease) forwards; }
.gate.zoom .gate-inner { transform: translateY(-6%) scale(2.6); opacity: 0; }
.gate.zoom { opacity: 0; visibility: hidden; }
@keyframes glow { to { filter: brightness(1.5); } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } }

/* ---------------- Yuqori panel ---------------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  padding: max(10px, env(safe-area-inset-top)) 16px 10px; pointer-events: none;
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.topbar > * { pointer-events: auto; }
.topbar.solid { background: var(--bar); box-shadow: 0 1px 0 var(--line); }
.mono { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); text-decoration: none; font: italic 500 20px/1 var(--serif); color: var(--gold); }
.switch { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; font-weight: 500; letter-spacing: .02em; }
.switch svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 1.8; }

/* ---------------- Umumiy tipografiya ---------------- */
main > section { position: relative; padding: clamp(56px, 9vh, 96px) 22px; text-align: center; }
.kicker { font: 600 10.5px/1.5 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
h2 { font: 400 clamp(36px, 9vw, 64px)/1.06 var(--serif); letter-spacing: -.005em; }
h2 em { color: var(--accent); }
html[data-guest="men"] h2 em { color: var(--gold-hi); }
.orn { width: min(240px, 64vw); height: 24px; margin: 26px auto; color: var(--gold); }
.src {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 12px; letter-spacing: .03em; color: var(--ink2); text-decoration: none;
  transition: border-color .3s, color .3s;
}
.src::after { content: "↗"; color: var(--gold); }
.src:hover { border-color: var(--gold); color: var(--ink); }
.shimmer {
  background: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold) 22%, var(--gold-hi) 38%, var(--gold) 54%, var(--gold-lo) 76%, var(--gold) 100%);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.shimmer.in { animation: shimmer 7s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -160% 0; } }

/* ---------------- Paydo bo‘lish (scroll) ---------------- */
[data-r] { opacity: 0; transition: opacity 1s var(--ease), transform 1.2s var(--ease), clip-path 1.6s var(--ease-io), -webkit-clip-path 1.6s var(--ease-io); transition-delay: calc(var(--d, 0) * 110ms); }
[data-r="up"] { transform: translate3d(0, 30px, 0); }
[data-r="scale"] { transform: scale(.94); }
[data-r="name"] { -webkit-clip-path: inset(-30% 100% -30% -8%); clip-path: inset(-30% 100% -30% -8%); opacity: 1; }
[data-r="ar"] { -webkit-clip-path: inset(-30% -8% -30% 100%); clip-path: inset(-30% -8% -30% 100%); opacity: 1; }
[data-r="draw"] { transform: scaleX(0); }
[data-r="spin"] { transform: rotate(-120deg) scale(.5); }
[data-r].in { opacity: 1; transform: none; }
[data-r="name"].in, [data-r="ar"].in { -webkit-clip-path: inset(-30% -8% -30% -8%); clip-path: inset(-30% -8% -30% -8%); }

/* Scroll bilan yonadigan matn */
.scrub .w { opacity: .16; transition: opacity .45s var(--ease), color .45s; }
.scrub .w.on { opacity: 1; }
html[data-guest="men"] .scrub .w.on { color: #fbf3e2; }

/* ---------------- HERO ---------------- */
.hero { min-height: 100svh; display: grid; place-items: center; padding: 96px 20px 34svh !important; overflow: hidden; }
.hero-men, .hero-women { position: absolute; inset: 0; pointer-events: none; display: none; }
html[data-guest="men"] .hero-men, html[data-guest="women"] .hero-women { display: block; }
.moon { position: absolute; top: 13svh; right: 9vw; width: clamp(54px, 13vw, 116px); fill: url(#g-gold); filter: drop-shadow(0 0 22px rgba(246, 223, 162, .55)); transform: rotate(-18deg); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(-14deg) translate3d(0, -8px, 0); } }
.lantern { position: absolute; top: 0; transform-origin: 50% 0; animation: swing 6s ease-in-out infinite; color: var(--gold); will-change: transform; }
.lantern svg { height: 100%; width: auto; overflow: visible; }
.lantern.l1 { left: 7vw; height: clamp(120px, 24svh, 260px); }
.lantern.l2 { left: 23vw; height: clamp(80px, 15svh, 170px); animation-duration: 7.4s; animation-delay: -2s; }
.lantern.l3 { right: 30vw; height: clamp(70px, 11svh, 140px); animation-duration: 8.2s; animation-delay: -4s; opacity: .8; }
@keyframes swing { 0%, 100% { transform: rotate(-3.5deg); } 50% { transform: rotate(3.5deg); } }
.lantern-glow { animation: flick 3.2s ease-in-out infinite; }
@keyframes flick { 50% { opacity: .65; } }
.skyline-wrap { position: absolute; left: 0; right: 0; bottom: -2px; height: 36svh; will-change: transform; }
.skyline-wrap::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 120%; background: radial-gradient(60% 70% at 50% 100%, rgba(232, 178, 98, .34), rgba(120, 140, 110, .12) 45%, transparent 72%); }
.skyline { position: relative; }
.skyline { width: 100%; height: 100%; }
.sk-far { fill: #0c2620; }
.sk-main { fill: #030c0a; }
.sk-win { fill: #f4c56c; opacity: .9; filter: drop-shadow(0 0 5px rgba(244, 197, 108, .8)); }

.hero-arch { position: absolute; left: 50%; top: 70px; bottom: 18px; width: min(94vw, 780px); height: calc(100% - 88px); transform: translateX(-50%); overflow: visible; -webkit-clip-path: inset(100% -2% -2% -2%); clip-path: inset(100% -2% -2% -2%); transition: clip-path 2.8s var(--ease-io) .2s, -webkit-clip-path 2.8s var(--ease-io) .2s; }
.hero-arch path { fill: none; stroke: var(--gold); }
.hero-arch .a1 { stroke-width: 1.4; }
.hero-arch .a2 { stroke-width: .8; stroke-opacity: .55; }
body.live .hero-arch { -webkit-clip-path: inset(-2% -2% -2% -2%); clip-path: inset(-2% -2% -2% -2%); }
.hero-rose { position: absolute; left: 50%; top: 40px; width: clamp(60px, 15vw, 92px); transform: translateX(-50%) rotate(-50deg) scale(.2); opacity: 0; transition: transform 2.4s var(--ease) 1.2s, opacity 1.2s 1.2s; filter: drop-shadow(0 6px 14px rgba(169, 95, 108, .25)); }
body.live .hero-rose { transform: translateX(-50%) rotate(0) scale(1); opacity: 1; }
.sprig { position: absolute; bottom: 0; width: clamp(130px, 34vw, 250px); height: auto; aspect-ratio: 200 / 220; overflow: visible; opacity: 0; transition: opacity 1.4s 1s; }
.sprig .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease-io) 1s; }
body.live .sprig { opacity: 1; } body.live .sprig .draw path { stroke-dashoffset: 0; }
.s-l { left: -6px; } .s-r { right: -6px; transform: scaleX(-1); }

.hero-content { position: relative; width: min(100%, 680px); min-width: 0; z-index: 1; }
.nw { white-space: nowrap; }
.hero-bism { font-size: clamp(26px, 7vw, 40px); margin-bottom: 18px; }
.hero-pre, .hero-post { font: italic 400 clamp(24px, 6.4vw, 38px)/1.2 var(--serif); color: var(--ink2); }
.hero-name { margin: 10px 0 0; font: 500 44px/1.1 var(--serif); letter-spacing: .12em; text-indent: .12em; white-space: nowrap; }
#groom {
  display: inline-block; padding: 0 .22em;
  background: linear-gradient(120deg, var(--name-a), var(--name-b) 45%, var(--name-c) 75%, var(--name-a));
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 18px rgba(217, 178, 95, .22));
}
html[data-guest="women"] #groom { filter: drop-shadow(0 2px 14px rgba(176, 111, 124, .2)); }
.hero-title { margin: 2px 0 0; font: 400 clamp(31px, 8.4vw, 64px)/1.35 var(--script); color: var(--accent); }
html[data-guest="men"] .hero-title { color: var(--gold-hi); }
.hero-verse { margin: 0 auto; max-width: 30em; font: italic 400 clamp(20px, 5.2vw, 27px)/1.5 var(--serif); color: var(--ink2); }
.hero-when { display: grid; justify-items: center; gap: 2px; margin: 26px auto 0; padding: 14px 26px; max-width: 420px; border-block: 1px solid var(--line); }
.hero-when span { font: 600 12.5px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink2); }
.hero-when b { font: 500 clamp(30px, 8vw, 44px)/1.15 var(--serif); letter-spacing: .08em; color: var(--gold); }
.hero-event { margin-top: 14px; font: italic 400 21px/1.3 var(--serif); color: var(--accent); }
.hero-sign { margin-top: 22px; display: grid; gap: 0; }
.hero-sign small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.hero-sign span { font: 400 clamp(28px, 7.4vw, 40px)/1.3 var(--script); color: var(--gold); }
html[data-guest="men"] .hero-event { color: var(--gold-hi); }
.scroll-cue { position: absolute; left: 50%; bottom: calc(18px + var(--safe-b)); transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; text-decoration: none; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink2); z-index: 2; }
html[data-guest="men"] .scroll-cue { color: #e8dcc0; }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------------- Taklif xati ---------------- */
.invite { padding-top: clamp(70px, 10vh, 110px) !important; }
.letter {
  position: relative; max-width: 660px; margin: 0 auto; padding: clamp(46px, 9vw, 72px) clamp(22px, 6vw, 60px);
  border-radius: 220px 220px 28px 28px / 150px 150px 28px 28px;
  background: var(--card); border: 1px solid var(--card-bd);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .55), inset 0 0 0 8px rgba(255, 255, 255, .015), inset 0 0 0 9px var(--line);
}
html[data-guest="women"] .letter { box-shadow: 0 30px 70px -40px rgba(160, 100, 110, .45), inset 0 0 0 8px rgba(255, 255, 255, .5), inset 0 0 0 9px var(--line); }
.letter-star { width: 46px; height: 46px; margin: 0 auto 18px; color: var(--gold); }
.invite-title { font-size: clamp(26px, 6.6vw, 38px); line-height: 1.2; font-style: italic; margin-bottom: 22px; }
.invite-body p { font: 400 clamp(19px, 4.8vw, 23px)/1.6 var(--serif); color: var(--ink); margin: 0 auto 16px; max-width: 34em; }
.invite-body p:last-child { font-style: italic; color: var(--accent); }
.invite-body strong { font-weight: 600; color: var(--gold); }
html[data-guest="men"] .invite-body strong { color: var(--gold-hi); }
html[data-guest="men"] .invite-body p:last-child { color: var(--gold-hi); }
.invite-sign { margin-top: 26px; display: grid; gap: 2px; }
.invite-sign small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.invite-sign span { font: 400 clamp(28px, 7.4vw, 40px)/1.3 var(--script); color: var(--gold); }

/* ---------------- Oyat ---------------- */
.ayah { max-width: 900px; margin: 0 auto; }
.ayah-star { position: absolute; left: 50%; top: 40px; width: min(80vw, 520px); height: auto; aspect-ratio: 1; margin-left: min(-40vw, -260px); color: var(--gold); opacity: .07; pointer-events: none; }
.ayah-ar { font: 400 clamp(26px, 6.6vw, 44px)/2.15 var(--quran); margin: 6px auto 24px; max-width: 18em; }
.ayah-uz { font: italic 400 clamp(22px, 5.6vw, 32px)/1.5 var(--serif); max-width: 26em; margin: 0 auto; }

/* ---------------- Hadislar ---------------- */
.hadiths { padding-bottom: 20px !important; }
.hadiths-head { max-width: 680px; margin: 0 auto; }
.hd { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(64px, 11vh, 110px) 0 clamp(16px, 3vh, 30px); }
.hd-num { position: absolute; left: 50%; top: clamp(30px, 6vh, 60px); transform: translateX(-50%); font: 400 clamp(120px, 34vw, 240px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; z-index: -1; will-change: transform; }
.hd-theme { font: italic 400 clamp(32px, 8.4vw, 54px)/1.1 var(--serif); margin-bottom: 26px; }
html[data-guest="women"] .hd-theme { color: var(--rose-lo); }
.hd-ar { font: 400 clamp(25px, 6.4vw, 38px)/2.05 var(--ar); margin: 0 auto 22px; max-width: 20em; }
.hd-uz { font: 400 clamp(22px, 5.6vw, 31px)/1.5 var(--serif); max-width: 24em; margin: 0 auto; }
.hd-uz::before, .hd-uz::after { color: var(--gold); font-size: 1.1em; }
.hd-uz::before { content: "«"; } .hd-uz::after { content: "»"; }
.hd-meta { margin-top: 18px; display: grid; justify-items: center; gap: 2px; }
.hd-meta span { font-size: 13px; color: var(--mute); letter-spacing: .02em; }
.hd-meta .src { margin-top: 10px; }
.hd-sep { width: 22px; height: 22px; margin: 34px auto 0; fill: var(--gold); opacity: .8; }

/* ---------------- Rivoyat ---------------- */
.story { max-width: 820px; margin: 0 auto; }
.story h2 { margin-bottom: clamp(24px, 4vh, 40px); }
.story-track { position: relative; text-align: left; max-width: 640px; margin: 0 auto; padding-left: 38px; }
.story-line { position: absolute; left: 9px; top: 8px; bottom: 8px; width: 1px; background: var(--line); overflow: hidden; }
.story-line i, .tl-line i { position: absolute; inset: 0; background: linear-gradient(var(--gold-hi), var(--gold)); transform: scaleY(var(--fill, 0)); transform-origin: top; will-change: transform; }
.story-beats { list-style: none; padding: 0; display: grid; gap: clamp(30px, 6vh, 52px); }
.story-beats li { position: relative; font: 400 clamp(19px, 4.8vw, 23px)/1.6 var(--serif); }
.story-beats li::before { content: ""; position: absolute; left: -34px; top: .55em; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--gold); background: var(--bg); transition: background .6s, box-shadow .6s, transform .6s var(--ease); }
.story-beats li.in::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(217, 178, 95, .16); transform: scale(1.15); }
.story-quote { margin: clamp(50px, 9vh, 90px) auto 0; max-width: 700px; padding: clamp(36px, 7vw, 56px) clamp(20px, 5vw, 46px); border-radius: 28px; background: var(--card); border: 1px solid var(--card-bd); position: relative; }
.story-quote::before { content: "❝"; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--card-bd); color: var(--gold); font-size: 26px; line-height: 1; }
.sq-ar { font: 400 clamp(23px, 5.8vw, 34px)/2 var(--ar); margin-bottom: 18px; }
.sq-uz { font: italic 500 clamp(22px, 5.6vw, 30px)/1.5 var(--serif); }
.story-ending { margin: 34px auto 0; max-width: 34em; font: 400 clamp(18px, 4.6vw, 21px)/1.6 var(--serif); color: var(--ink2); }

/* ---------------- Dastur ---------------- */
.program h2 { margin-bottom: 34px; }
.program-note { max-width: 32em; margin: 30px auto 0; font: italic 400 clamp(18px, 4.6vw, 21px)/1.55 var(--serif); color: var(--ink2); }
.timeline { position: relative; max-width: 560px; margin: 0 auto; text-align: left; padding-left: 46px; }
.tl-line { position: absolute; left: 13px; top: 12px; bottom: 12px; width: 1px; background: var(--line); overflow: hidden; }
.timeline ol { list-style: none; padding: 0; display: grid; gap: clamp(26px, 5vh, 40px); }
.timeline li { position: relative; }
.tl-dot { position: absolute; left: -46px; top: 0; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--gold); font: 500 12px/1 var(--sans); color: var(--gold); transition: background .5s, color .5s; }
.timeline li.in .tl-dot { background: var(--gold); color: var(--bg); }
.tl-time { display: block; font: 600 12px/1.4 var(--sans); letter-spacing: .2em; color: var(--gold); margin-bottom: 2px; }
.timeline h3 { font: 500 clamp(24px, 6vw, 30px)/1.2 var(--serif); }
.timeline p { color: var(--ink2); font-size: 15px; margin-top: 4px; }

/* ---------------- Sanoq ---------------- */
.count-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin: 0 auto; }
.count-grid div { padding: 18px 4px 14px; border-radius: 18px; border: 1px solid var(--card-bd); background: var(--card); }
.count-grid b { display: block; font: 400 clamp(36px, 10vw, 60px)/1 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.count-grid span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink2); }
.count-msg { margin-top: 18px; font: italic 400 19px/1.4 var(--serif); color: var(--ink2); }

/* ---------------- Manzil ---------------- */
.venue-name { font: 400 clamp(64px, 18vw, 120px)/1.2 var(--script); color: var(--gold); }
.venue-addr { font: 400 clamp(19px, 4.8vw, 22px)/1.5 var(--serif); color: var(--ink2); }
.venue-when { margin-top: 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
html[data-guest="men"] .venue-when { color: var(--gold-hi); }
.venue-landmark { margin-top: 4px; font: italic 500 clamp(18px, 4.6vw, 21px)/1.5 var(--serif); color: var(--ink); }
.route-card { max-width: 560px; margin: 26px auto 0; padding: 22px 18px; display: grid; gap: 10px; border-radius: 24px; border: 1px solid var(--card-bd); background: var(--card); }
.route-lead { margin-bottom: 6px; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.route-lead b { color: var(--ink); }
.btn.big { justify-content: center; width: 100%; padding: 17px 20px; font-size: 16px; font-weight: 600; }
.btn.big svg { width: 20px; height: 20px; }
.route-coords { margin-top: 4px; font-size: 12.5px; color: var(--mute); letter-spacing: .02em; }
.route-coords span { font-variant-numeric: tabular-nums; color: var(--ink2); user-select: all; }
.hero-where { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 12px 10px 16px; border-radius: 999px; border: 1px solid var(--card-bd); background: var(--card); text-decoration: none; font-size: 14px; color: var(--ink); }
.hero-where svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; flex: none; }
.hero-where b { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #20170a; }
html[data-guest="women"] .hero-where b { background: linear-gradient(135deg, #dba1a9, var(--rose)); color: #fff; }
.where { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-size: 12.5px; font-weight: 500; }
.where svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 1.8; }
.map { position: relative; max-width: 860px; height: clamp(320px, 56svh, 520px); margin: 22px auto 16px; border-radius: 26px; overflow: hidden; border: 1px solid var(--card-bd); background: var(--card); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .5); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--mute); font-size: 14px; }
.map-ph svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 1px solid var(--card-bd);
  background: var(--card); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.btn:hover { transform: translateY(-2px); border-color: var(--gold); }
.btn.primary { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: #20170a; border-color: transparent; }
html[data-guest="women"] .btn.primary { background: linear-gradient(135deg, #dba1a9, var(--rose) 55%, var(--rose-lo)); color: #fff; }

/* ---------------- Duo ---------------- */
.dua { max-width: 860px; margin: 0 auto; }
.dua-ar { font: 400 clamp(30px, 7.6vw, 52px)/2 var(--ar); }
.dua-tr { margin: 8px 0 18px; font: italic 400 16px/1.5 var(--serif); color: var(--mute); letter-spacing: .02em; }
.dua-uz { font: italic 400 clamp(23px, 6vw, 34px)/1.45 var(--serif); max-width: 22em; margin: 0 auto; }

/* ---------------- Yakun ---------------- */
.closing { padding-bottom: clamp(70px, 10vh, 110px) !important; }
.closing-star { width: 56px; height: 56px; margin: 0 auto 22px; color: var(--gold); }
.closing h2 { display: grid; gap: 0; }
.closing h2 span { font-size: clamp(36px, 9.4vw, 66px); }
.closing h2 em { font: 400 clamp(58px, 16vw, 116px)/1.3 var(--script); color: var(--gold); font-style: normal; }
#closing-text { max-width: 30em; margin: 16px auto 0; font: 400 clamp(19px, 4.8vw, 22px)/1.6 var(--serif); color: var(--ink2); }
.closing-sign { margin: 28px 0 30px; display: grid; gap: 2px; }
.closing-sign small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.closing-sign span { font: 400 clamp(30px, 8vw, 44px)/1.3 var(--script); color: var(--accent); }
html[data-guest="men"] .closing-sign span { color: var(--gold-hi); }

/* ---------------- Musiqa kartasi ---------------- */
.music-card { padding-top: 40px !important; padding-bottom: 60px !important; }
.music-title { font: italic 400 clamp(24px, 6vw, 32px)/1.2 var(--serif); margin-bottom: 18px; }
.yt-frame { position: relative; width: min(100%, 520px); min-height: 200px; aspect-ratio: 16 / 9; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--card-bd); background: #000; }
.yt-frame iframe, #yt-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.music-note { margin-top: 12px; font-size: 13px; color: var(--mute); }
.music-note a { color: var(--gold); }
/* Ayollar: nashid videosi sahifa oxirida katta, chetdan-chetgacha (YouTube sifatni pleyer o‘lchami va ekran zichligiga qarab tanlaydi) */
html[data-guest="women"] .music-card { padding-left: 0 !important; padding-right: 0 !important; padding-bottom: 30px !important; }
html[data-guest="women"] .music-card .music-title { padding: 0 22px; }
html[data-guest="women"] .yt-frame { width: 100%; max-width: 1200px; border-radius: 0; border-left: 0; border-right: 0; box-shadow: 0 30px 80px -40px rgba(160, 100, 110, .55); }
@media (min-width: 700px) { html[data-guest="women"] .music-card { padding-left: 22px !important; padding-right: 22px !important; } html[data-guest="women"] .yt-frame { border-radius: 22px; border: 1px solid var(--card-bd); } }

/* ---------------- Footer ---------------- */
.foot { text-align: center; padding: 30px 20px calc(110px + var(--safe-b)); color: var(--mute); font-size: 13px; letter-spacing: .08em; }
.foot .orn { margin: 0 auto 14px; }
.foot-small { margin-top: 4px; font: italic 400 16px/1.4 var(--serif); letter-spacing: 0; }

/* ---------------- Musiqa tugmasi ---------------- */
.sound {
  position: fixed; right: 16px; bottom: calc(16px + var(--safe-b)); z-index: 40; display: flex; align-items: center; gap: 0;
  height: 54px; padding: 0 7px; border-radius: 999px; border: 1px solid var(--card-bd); background: var(--bar);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55); transition: transform .4s var(--ease), padding .4s var(--ease);
}
.sound-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-hi), var(--gold)); }
html[data-guest="women"] .sound-ico { background: linear-gradient(135deg, #e3aeb5, var(--rose)); }
.sound-ico svg { width: 16px; height: 16px; fill: #1e1609; }
html[data-guest="women"] .sound-ico svg { fill: #fff; }
.eq { display: none; align-items: flex-end; gap: 3px; height: 18px; margin: 0 8px 0 10px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--gold); transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.4s; } .eq i:nth-child(3) { animation-delay: -.2s; } .eq i:nth-child(4) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.sound.playing .eq { display: flex; }
.sound-hint { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 13.5px; font-weight: 500; transition: max-width .5s var(--ease), margin .5s var(--ease); }
.sound.nudge .sound-hint { max-width: 180px; margin: 0 10px 0 10px; }
.sound.nudge { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(217, 178, 95, .18), 0 14px 34px -14px rgba(0, 0, 0, .55); } }

/* ---------------- Dialog & toast ---------------- */
dialog { width: min(92vw, 440px); padding: 34px 22px 22px; border-radius: 26px; border: 1px solid rgba(217, 178, 95, .35); background: #0b211c; color: #f4ecdb; text-align: center; }
dialog::backdrop { background: rgba(2, 8, 6, .6); }
dialog h2 { font-size: 32px; margin-bottom: 20px; }
.dlg-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(217, 178, 95, .3); background: transparent; display: grid; place-items: center; }
.dlg-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
dialog .choices { animation: none; }
.toast { position: fixed; left: 50%; bottom: calc(86px + var(--safe-b)); z-index: 70; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 14px; background: #10231e; color: #f4ecdb; font-size: 14px; border: 1px solid rgba(217, 178, 95, .35); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript { position: fixed; inset: auto 16px 16px; z-index: 99; padding: 16px; border-radius: 14px; background: #fff; color: #222; }

/* ---------------- Katta ekran ---------------- */
@media (max-width: 640px) {
  .lantern.l1 { left: 3vw; height: 17svh; }
  .lantern.l2 { left: 17vw; height: 11svh; }
  .lantern.l3 { display: none; }
  .hero { padding-top: 118px !important; }
  .moon { top: 10svh; right: 7vw; }
}
@media (min-width: 900px) {
  .hero { padding-bottom: 30svh !important; }
  .lantern.l3 { right: 20vw; }
  .story-track { padding-left: 50px; }
  .story-beats li::before { left: -46px; }
  .story-line { left: 10px; }
}
@media (max-width: 380px) {
  .count-grid { gap: 6px; }
}
@media (max-height: 640px) {
  .portal { width: min(40vw, 150px, 24svh); }
  .gate-title { font-size: 28px; }
}

/* ---------------- Harakatni kamaytirish ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  [data-r] { opacity: 1 !important; transform: none !important; -webkit-clip-path: none !important; clip-path: none !important; }
  .scrub .w { opacity: 1 !important; }
}

/* ---------------- Tillar ---------------- */
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto 14px; }
.langs button { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(217, 178, 95, .32); background: rgba(255, 255, 255, .04); color: #d8cfbb; font: 500 12.5px/1 var(--sans); transition: background .3s, color .3s, border-color .3s; }
.langs button:hover { border-color: var(--gold-hi); }
.langs button[aria-pressed="true"] { background: var(--gold); border-color: transparent; color: #1d1608; }
dialog .langs { margin: 0 auto 20px; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; padding: 8px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; font-weight: 600; }
.lang-btn svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 1.8; }
@media (max-width: 420px) { .where span { display: none; } .where { padding: 8px 10px; } }
/* Qo‘shtirnoq har tilda o‘ziniki */
html[lang="en"] .hd-uz::before, html[lang^="zh"] .hd-uz::before { content: "“"; }
html[lang="en"] .hd-uz::after, html[lang^="zh"] .hd-uz::after { content: "”"; }
/* Xitoy tili: lotin harflari va raqamlar o‘z shriftida, ierogliflar tizim shriftida (veb-shrift o‘nlab MB bo‘lardi) */
html[lang^="zh"] {
  --serif: 'Cormorant Garamond', 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --script: 'Great Vibes', 'Kaiti SC', 'STKaiti', 'KaiTi', 'Noto Serif SC', serif;
  --sans: 'Manrope', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}
html[lang^="zh"] body * { font-style: normal !important; }
html[lang^="zh"] .hero-name { letter-spacing: .2em; text-indent: .2em; }
