/*
Theme Name:  La'Glamica Child
Theme URI:   https://laglamica.com
Description: La'Glamica brand child theme — built on Hello Elementor. Do not change Theme Name or Text Domain.
Author:      La'Glamica
Template:    hello-elementor
Version:     1.0.5
Text Domain: laglamica-child
*/

/* ============================================================
   La'Glamica — Design System v2.0
   Visual identity: BURGUNDY + WARM GOLD + CREAM
   Typography: DM Serif Display (headlines) + Inter (body)
   ============================================================ */

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* -------- Tokens -------- */
:root {
  --cream:          #FFF8F8;
  --cream-2:        #FCF7EA;
  --cream-3:        #EEDFC2;
  --paper:          #FFFCF7;
  --ink:            #000000;
  --ink-2:          #634B36;
  --ink-3:          #9A8067;
  --line:           #E8D6BC;
  --line-soft:      #F0E5D2;
  --burgundy:       #692219;
  --burgundy-2:     #521B1B;
  --burgundy-deep:  #3E0B06;
  --burgundy-soft:  #8A3528;
  --gold:           #B58E33;
  --gold-2:         #8E6F28;
  --gold-soft:      #D4B362;
  --gold-bg:        #ECDDB0;
  --pink:           #C9968D;
  --pink-soft:      #E8C9C2;
  --pink-bg:        #E1D9D6;
  --serif: "DM Serif Display", "Playfair Display", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --container: 1240px;
  --read:      660px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
}

/* -------- Base -------- */
body { font-family: var(--sans); color: var(--ink); background: var(--cream); font-size: 16px; line-height: 1.6; font-weight: 400; }
::selection { background: var(--gold-soft); color: var(--burgundy); }

/* -------- Typography utilities -------- */
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); }
.eyebrow-pink { color: var(--pink); }
.eyebrow-gold { color: var(--gold-2); }
.eyebrow-dark { color: var(--ink-2); }

.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; line-height: 1.05; color: var(--burgundy); text-wrap: balance; }
.display em { font-style: italic; color: var(--burgundy-soft); }
h1.display { font-size: clamp(40px, 6vw, 80px); }
h2.display { font-size: clamp(30px, 4vw, 52px); line-height: 1.08; }
h3.display { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.18; }

.lede { font-family: var(--sans); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; font-weight: 400; }
.meta { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

/* -------- Layout -------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-tight { padding: clamp(48px, 6vw, 88px) 0; }
.section-bg-alt  { background: var(--cream-2); }
.section-bg-dark { background: var(--burgundy); color: var(--cream); }
.section-bg-pink { background: var(--pink-bg); }
.section-bg-gold { background: var(--gold-bg); }

/* -------- Buttons -------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; border-radius: 999px; transition: all 0.18s ease; white-space: nowrap; border: 1px solid transparent; }
.btn-primary { background: var(--burgundy); color: var(--cream); }
.btn-primary:hover { background: var(--burgundy-2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--burgundy); border-color: var(--burgundy); }
.btn-outline:hover { background: var(--burgundy); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--burgundy); }
.btn-gold:hover { background: var(--gold-2); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--burgundy); }
.btn-ghost:hover { color: var(--gold-2); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 18px 32px; font-size: 15px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--burgundy); border-bottom: 1px solid var(--burgundy); padding-bottom: 2px; transition: gap 0.18s ease, color 0.18s ease; }
.link-arrow:hover { gap: 12px; color: var(--gold-2); border-bottom-color: var(--gold-2); }
.link-quiet { color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: color 0.18s ease; }
.link-quiet:hover { color: var(--burgundy); border-bottom-color: var(--burgundy); }

/* -------- Navigation -------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--burgundy); border-bottom: 1px solid rgba(212, 179, 98, 0.18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 32px; max-width: var(--container); margin: 0 auto; }

.brand-mark { font-family: var(--serif); font-size: 26px; font-style: italic; letter-spacing: -0.005em; color: var(--cream); display: inline-flex; align-items: center; }
.brand-mark img { display: block; height: 38px; width: auto; }

/* wp_nav_menu() outputs <ul class="nav-links menu"> */
.nav-links, ul.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links li a, .nav-links .nav-link { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.92); letter-spacing: 0.01em; transition: color 0.16s; position: relative; padding: 4px 0; }
.nav-links li a:hover, .nav-links .nav-link:hover { color: var(--gold-soft); }
.nav-links .current-menu-item > a { color: var(--gold-soft); }
.nav-links .current-menu-item > a::after { content: ""; position: absolute; bottom: -2px; left: 0; right: 0; height: 1px; background: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-signin { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.6); transition: color 0.16s; }
.nav-signin:hover { color: var(--cream); }
.nav .btn-primary { background: #FFFBFB; color: var(--burgundy-2); border: 1.5px solid var(--gold); }
.nav .btn-primary:hover { background: var(--gold); color: var(--burgundy-2); border-color: var(--gold); transform: translateY(-1px); }

/* -------- Hamburger -------- */
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; cursor: pointer; background: none; border: none; padding: 4px; border-radius: var(--r-sm); transition: background 0.16s; }
.nav-hamburger:hover { background: rgba(255,255,255,0.08); }
.nav-hamburger span { display: block; height: 1.5px; background: rgba(255,255,255,0.9); border-radius: 2px; transition: transform 0.22s ease, opacity 0.22s ease; transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* -------- Mobile nav overlay -------- */
.nav-mobile { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--burgundy); z-index: 49; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transform: translateY(-12px); transition: opacity 0.24s ease, transform 0.24s ease; pointer-events: none; }
.nav-mobile.open { opacity: 1; transform: translateY(0); pointer-events: all; }
.nav-mobile ul, .nav-mobile .menu { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 48px; padding: 0; }
.nav-mobile ul a, .nav-mobile .menu a { font-family: var(--serif); font-size: clamp(32px, 7vw, 48px); color: var(--cream); letter-spacing: -0.01em; display: block; padding: 8px 0; transition: color 0.16s; font-style: italic; }
.nav-mobile ul a:hover, .nav-mobile .menu a:hover { color: var(--gold-soft); }
.nav-mobile-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.nav-mobile-cta .nav-signin { font-size: 15px; color: rgba(255,255,255,0.6); }
.nav-mobile .btn-primary { background: #FFFFFF; color: var(--burgundy-2); border: 1.5px solid var(--gold); }
.nav-mobile .btn-primary:hover { background: var(--gold); color: var(--burgundy-2); border-color: var(--gold); transform: translateY(-1px); }

/* -------- Footer -------- */
.footer { background: var(--burgundy-deep); color: var(--cream); padding: 80px 0 36px; margin-top: 80px; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(248,241,227,0.14); }

.footer-brand .brand-mark { color: var(--gold-soft); font-size: 32px; display: block; margin-bottom: 16px; }
.footer-brand .brand-mark img { height: 52px; width: auto; filter: brightness(1.05); }
.footer-tagline { font-family: var(--sans); font-size: 13px; color: rgba(248,241,227,0.6); letter-spacing: 0.02em; max-width: 260px; }

.footer-col h4 { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; }
.footer-col a { font-size: 14px; color: rgba(248,241,227,0.85); transition: color 0.16s; }
.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; font-size: 12px; color: rgba(248,241,227,0.55); letter-spacing: 0.04em; }

/* -------- Helpers -------- */
.text-center { text-align: center; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.mt-xl { margin-top: 72px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }
.mb-xl { margin-bottom: 72px; }

.section-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 900px; margin-left: auto; margin-right: auto; }
.section-head .eyebrow { display: block; margin-bottom: 16px; }
.section-head h2 { max-width: 22ch; }
.section-head.text-center { text-align: center; }
.section-head.text-center h2 { margin-left: auto; margin-right: auto; }
.text-center .lede { margin-left: auto; margin-right: auto; }

/* -------- Content components (used in Elementor HTML widgets) -------- */
.hero { padding: clamp(80px, 11vw, 160px) 0 clamp(64px, 8vw, 120px); }
.hero-pre { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero-pre-line { width: 32px; height: 1px; background: var(--gold); }
.hero-cta { margin-top: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.hero-cta-meta { margin-top: 22px; font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; }

.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.pillar { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.pillar:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -16px rgba(82,27,27,0.22); border-color: var(--gold); }
.pillar-num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--gold-2); }
.pillar-title { font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--burgundy); }
.pillar-body { font-size: 14.5px; line-height: 1.6; color: var(--ink); flex-grow: 1; }
.pillar-link { margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--burgundy); display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--burgundy); padding-bottom: 2px; align-self: flex-start; transition: gap 0.18s ease, color 0.18s ease; }
.pillar-link:hover { gap: 10px; color: var(--gold-2); border-bottom-color: var(--gold-2); }

.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.quote { padding: 28px 0; border-top: 1px solid var(--line); }
.quote-text { font-family: var(--serif); font-size: 24px; line-height: 1.32; color: var(--burgundy); margin-bottom: 14px; }
.quote-attrib { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }

.pullquote { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 38px); line-height: 1.22; color: var(--burgundy); text-align: center; margin: 56px auto; max-width: 620px; padding: 28px 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }

.founding-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--gold); border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); background: var(--gold-bg); }
.founding-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); }
.founding-card { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 28px 32px; border-radius: var(--r-md); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.founding-card p { font-size: 14.5px; color: var(--ink); flex: 1; min-width: 260px; }
.founding-card strong { color: var(--burgundy); font-weight: 500; }

.pricing-card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--r-lg); padding: 48px; max-width: 560px; margin: 0 auto; text-align: center; }
.pricing-eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; }
.pricing-name { font-family: var(--serif); font-size: 30px; color: var(--burgundy); margin-bottom: 24px; }
.pricing-amount { font-family: var(--serif); font-size: 96px; line-height: 1; letter-spacing: -0.015em; color: var(--burgundy); }
.pricing-per { font-family: var(--sans); font-size: 16px; color: var(--ink-2); }
.pricing-meta { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); margin-top: 10px; margin-bottom: 32px; }
.pricing-list { list-style: none; text-align: left; margin: 32px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.pricing-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.pricing-list li::before { content: ""; display: block; width: 14px; height: 14px; flex-shrink: 0; margin-top: 4px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M2 7L6 11L12 3' stroke='%23521B1B' stroke-width='1.4' stroke-linecap='round'/></svg>"); }
.pricing-foot { font-size: 12px; color: var(--ink-3); margin-top: 20px; letter-spacing: 0.04em; }

.img-ph { width: 100%; background: linear-gradient(135deg, #7A3030 0%, #521B1B 50%, #2E0E0E 100%); position: relative; border-radius: var(--r-md); overflow: hidden; }
.img-ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,255,255,0.04) 12px, rgba(255,255,255,0.04) 24px); }
.img-ph-label { position: absolute; bottom: 16px; left: 16px; font-family: var(--mono); font-size: 10px; color: rgba(248,241,227,0.72); letter-spacing: 0.1em; text-transform: uppercase; }
.img-ph.pink { background: linear-gradient(135deg, #E5C5B0 0%, #C9968D 50%, #8A4A3F 100%); }
.img-ph.gold { background: linear-gradient(135deg, #E5C97D 0%, #C9A84C 50%, #8E7128 100%); }
.img-ph.deep { background: linear-gradient(135deg, #521B1B 0%, #2E0E0E 100%); }

.mag-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; transition: transform 0.2s ease; }
.mag-card:hover { transform: translateY(-2px); }
.mag-card:hover .mag-card-title { color: var(--gold-2); }
.mag-card-img { aspect-ratio: 4/3; border-radius: var(--r-md); }
.mag-card-meta { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.mag-card-meta-cat { font-weight: 700; color: var(--gold-2); }
.mag-card-title { font-family: var(--serif); font-size: 26px; line-height: 1.18; color: var(--burgundy); transition: color 0.18s; }
.mag-card-lede { font-size: 14.5px; color: var(--ink); line-height: 1.55; }

.mag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.mag-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-bottom: 64px; border-bottom: 1px solid var(--line); margin-bottom: 64px; }
.mag-featured .mag-card-title { font-size: clamp(32px, 3.8vw, 48px); }

.mag-lock { border: 1px dashed var(--gold); border-radius: var(--r-md); padding: 32px; display: flex; flex-direction: column; gap: 14px; background: var(--gold-bg); position: relative; }
.mag-lock-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--burgundy); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }

.faq-list { display: flex; flex-direction: column; margin-left: auto; margin-right: auto; }
.faq-item { border-top: 1px solid var(--line); padding: 26px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { font-family: var(--serif); font-size: 22px; color: var(--burgundy); line-height: 1.25; margin-bottom: 10px; }
.faq-a { font-size: 14.5px; color: var(--ink); line-height: 1.65; max-width: 70ch; }

.month-list { display: flex; flex-direction: column; }
.month-item { display: grid; grid-template-columns: 100px 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); align-items: start; }
.month-item:last-child { border-bottom: 1px solid var(--line); }
.month-num { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gold-2); padding-top: 6px; }
.month-num-big { display: block; font-style: normal; font-size: 48px; color: var(--burgundy); line-height: 1; margin-bottom: 4px; }
.month-title { font-family: var(--serif); font-size: 28px; line-height: 1.18; color: var(--burgundy); margin-bottom: 8px; }
.month-body { font-size: 14.5px; color: var(--ink); line-height: 1.6; max-width: 60ch; }

.belief { padding: 32px 0; border-top: 1px solid var(--line); max-width: 72ch; }
.belief:last-child { border-bottom: 1px solid var(--line); }
.belief p { font-size: 17px; line-height: 1.55; color: var(--ink); }
.belief p strong { color: var(--burgundy); font-weight: 400; font-family: var(--serif); font-size: 26px; display: block; margin-bottom: 10px; line-height: 1.2; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; transition: border-color 0.16s, box-shadow 0.16s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(201,168,76,0.18); }
.field textarea { min-height: 140px; resize: vertical; }

.article-body { max-width: var(--read); margin: 0 auto; font-family: "Inter", sans-serif; font-size: 18px; line-height: 1.72; color: var(--ink); }
.article-body p { margin-bottom: 24px; }
.article-body h2 { font-family: var(--serif); font-size: 32px; line-height: 1.18; color: var(--burgundy); margin: 56px 0 18px; font-weight: 400; }
.article-body h3 { font-family: var(--serif); font-size: 24px; color: var(--burgundy); margin: 40px 0 14px; font-weight: 400; }
.article-body em { font-style: italic; }
.article-body strong { font-weight: 600; color: var(--burgundy); }

.compare-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: baseline; }
.compare-row:last-child { border-bottom: 1px solid var(--line); }
.compare-row strong { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--burgundy); }
.compare-row span { font-size: 14px; color: var(--burgundy-soft); font-style: normal; white-space: nowrap; font-family: var(--sans); font-weight: 600; letter-spacing: 0.01em; background: var(--gold-bg); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }

.paywall { background: var(--burgundy-deep); color: var(--cream); border-radius: var(--r-lg); padding: 64px 48px; text-align: center; margin: 64px auto; max-width: 720px; border-top: 4px solid var(--gold); }
.paywall h3 { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 48px); line-height: 1.15; margin-bottom: 18px; color: var(--cream); }
.paywall p { color: rgba(248,241,227,0.72); font-size: 15px; max-width: 50ch; margin: 0 auto 32px; line-height: 1.55; }
.paywall .btn-primary { background: var(--gold); color: var(--burgundy); }
.paywall .btn-primary:hover { background: var(--gold-soft); color: var(--burgundy); }
.paywall-stats { display: flex; justify-content: center; gap: 32px; margin-top: 28px; font-size: 11px; color: rgba(248,241,227,0.55); letter-spacing: 0.1em; flex-wrap: wrap; text-transform: uppercase; font-weight: 600; }
.paywall-stats span { display: flex; align-items: center; gap: 8px; }
.paywall-stats span::before { content: "·"; color: var(--gold); }
.paywall-stats span:first-child::before { display: none; }

/* -------- Scroll reveal + UI utilities -------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

#read-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--gold); z-index: 100; width: 0%; transition: width 0.1s linear; }

#back-top { position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px; border-radius: 50%; background: var(--burgundy); color: var(--cream); border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity 0.22s ease, transform 0.22s ease, background 0.16s; font-size: 18px; z-index: 40; font-family: var(--sans); }
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { background: var(--gold); color: var(--burgundy); }

/* -------- WordPress admin bar compatibility -------- */
/* When logged in as admin, WP adds .admin-bar to <body> and shifts <html> by 32px.
   Our sticky nav must also shift down so it doesn't overlap the admin bar.
   This is admin-only — regular visitors never see the admin bar. */
.admin-bar .nav { top: 32px; }
.admin-bar .nav-mobile { top: 32px; }
@media screen and (max-width: 600px) {
  /* On narrow screens WP admin bar is 46px tall */
  .admin-bar .nav { top: 46px; }
  .admin-bar .nav-mobile { top: 46px; }
}

/* -------- Responsive -------- */
@media (max-width: 900px) {
  .three-col, .two-col, .quote-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Hide desktop nav links — !important overrides Elementor/Hello Elementor specificity */
  .nav .nav-links,
  .nav ul.nav-links,
  .nav-inner .nav-links,
  .nav-inner ul.nav-links { display: none !important; }

  /* Hide Sign In text from the header bar on mobile — it's in the mobile overlay */
  .nav-inner .nav-right .nav-signin { display: none !important; }

  .nav-right { gap: 14px; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }
  .nav-right .btn { display: none; }

  /* Ensure logo has room and doesn't get squeezed */
  .nav-inner { gap: 0; }
  .brand-mark { flex: 1 1 auto; min-width: 0; }

  .month-item { grid-template-columns: 1fr; gap: 8px; }
  .month-num { padding-top: 0; }
  .pricing-card { padding: 32px 24px; }
  .pricing-amount { font-size: 72px; }
  .mag-grid { grid-template-columns: 1fr; }
  .mag-featured { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* Elementor nav-menu widget override — hide its desktop menu on mobile too */
  .nav .elementor-nav-menu,
  .nav .elementor-nav-menu--main,
  .nav .e-n-menu { display: none !important; }
}

@media (max-width: 600px) {
  .container { padding: 0 22px; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-inner { padding: 14px 22px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  #back-top { bottom: 20px; right: 20px; }
}

/* Hello Elementor overrides — reset minimal parent styles */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--container); }
body .elementor-page { background: var(--cream); }
