/* salonsecrets.com.au - design system v1 (Fraunces + Manrope, rosewood / champagne on ivory) */
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-var.woff2') format('woff2-variations'), url('/assets/fonts/fraunces-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-var.woff2') format('woff2-variations'), url('/assets/fonts/manrope-var.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --canvas: #fcf8f4; --paper: #ffffff; --sand: #f3ebe3; --blush: #f7e6e0;
  --ink: #1c1518; --ink-2: #4d4044; --muted: #7f6f74; --line: rgba(28, 21, 24, .11);
  --primary: #8f3a4b; --primary-2: #6e2938; --gold: #c9a24f; --gold-2: #e2c27a; --gold-soft: #f6ecd4;
  --radius: 18px; --radius-s: 12px;
  --shadow: 0 14px 38px -16px rgba(28, 21, 24, .3); --shadow-s: 0 6px 18px -10px rgba(28, 21, 24, .22);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px; --wrap-n: 760px; --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }   /* in-page smooth scrolling is done in app.js so cross-page #hash landings stay instant */
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; font-weight: 450; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-2); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 560; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--ink); font-variation-settings: 'opsz' 120; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-n { max-width: var(--wrap-n); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-2); color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; line-height: 1; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--body); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(201, 162, 79, .8); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2024; color: #fff; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.sec .btn-ghost, .quiz .btn-ghost { color: var(--ink); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn.busy { opacity: .6; pointer-events: none; }
.btn .flash { font-size: .85rem; opacity: .85; }
.ibtn { background: transparent; border: 0; color: inherit; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; transition: background .2s; }
.ibtn svg { width: 22px; height: 22px; }
.ibtn:hover { background: rgba(255, 255, 255, .1); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); text-decoration: none; font-size: .98rem; }
.more svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.more:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .1s linear; }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(28, 21, 24, .92); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.hdr.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.logo .mark { width: 38px; height: 38px; color: #2a1f24; flex: none; }
.ftr .logo .mark { color: #2a1f24; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; line-height: 1; font-variation-settings: 'opsz' 60; }
.wordmark em { font-style: italic; font-weight: 400; color: var(--gold-2); margin-left: 3px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 9px 13px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .09); }
.hdr-act { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 50%; }
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { display: none; }
.menu ul { list-style: none; margin: 0; padding: 12px var(--gutter) 28px; }
.menu a { display: block; padding: 14px 4px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.6rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.menu-open .menu { display: block; position: fixed; inset: 72px 0 0; background: rgba(28, 21, 24, .98); overflow: auto; z-index: 49; }
.menu-open { overflow: hidden; }
.search-ov { position: fixed; inset: 0; z-index: 70; background: rgba(28, 21, 24, .72); backdrop-filter: blur(6px); padding-top: 8vh; }
.search-ov[hidden] { display: none; }
.search-form { display: flex; align-items: center; gap: 10px; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 8px 10px 8px 18px; box-shadow: var(--shadow); }
.search-form > svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search-form input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 1.15rem; padding: 10px 0; min-width: 0; color: var(--ink); outline: none; }
.search-form .ibtn { color: var(--ink); }
.search-form input::-webkit-search-cancel-button, .search-form input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.hits-n { margin: 0 0 10px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.search-form .ibtn:hover { background: var(--sand); }
.search-hits { margin-top: 14px; }
.search-hits-page { margin-top: 0; }
.hits { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hits a { display: grid; grid-template-columns: 84px 1fr; gap: 4px 14px; align-items: start; background: var(--paper); color: var(--ink); text-decoration: none; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.hits a:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); }
.hit-k { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); font-weight: 800; padding-top: 4px; }
.hit-t { font-weight: 700; }
.hit-d { grid-column: 2; font-size: .9rem; color: var(--muted); }
.search-page { max-width: 640px; margin-top: 10px; }
.search-page .btn { flex: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .55; filter: saturate(.85); transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28, 21, 24, .96) 0%, rgba(28, 21, 24, .78) 42%, rgba(28, 21, 24, .35) 100%); }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(28, 21, 24, .9)); }
.hero-in { position: relative; z-index: 1; padding: 90px var(--gutter) 70px; max-width: var(--wrap); width: 100%; }
.hero h1 { color: #fff; max-width: 13ch; font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 520; font-variation-settings: 'opsz' 144; }
.hero h1::after { content: ''; display: block; width: 72px; height: 3px; background: var(--gold); margin-top: 22px; border-radius: 2px; }
.hero .lead { color: rgba(255, 255, 255, .8); max-width: 54ch; margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.hero-chips a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .86rem; font-weight: 600; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; transition: background .2s, border-color .2s; }
.hero-chips a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero-a { opacity: 0; transform: translateY(16px); animation: rise .8s var(--ease) forwards; }
.hero-a:nth-child(2) { animation-delay: .1s; } .hero-a:nth-child(3) { animation-delay: .2s; } .hero-a:nth-child(4) { animation-delay: .3s; } .hero-a:nth-child(5) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.anim-done .hero-a { opacity: 1; transform: none; animation: none; }
@media (prefers-reduced-motion: reduce) { .hero-a { animation: none; opacity: 1; transform: none; } .hero-bg img { animation: none; transform: none; } }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin: 0 0 14px; }
.eyebrow-light { color: var(--gold-2); }

.stats-band { background: var(--ink); color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 8px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .08); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--display); font-size: 2rem; font-weight: 500; color: var(--gold-2); line-height: 1; }
.stat span { font-size: .82rem; color: rgba(255, 255, 255, .62); font-weight: 600; letter-spacing: .02em; }

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-tight { padding: clamp(32px, 5vw, 56px) 0; }
.sec-sand { background: var(--sand); }
.sec-dark { background: var(--ink); color: #fff; }
.sec-dark h2 { color: #fff; }
.sec-dark .lead { color: rgba(255, 255, 255, .75); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 4vw, 44px); }
.sec-head h2 { margin-bottom: .35em; }
.sec-head .lead { margin: 0; }
.sec-head > .more { flex: none; margin-bottom: 8px; }

/* ---------- guide cards ---------- */
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.gcard { display: flex; flex-direction: column; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px; text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; min-height: 218px; }
.gcard::after { content: ''; position: absolute; inset: auto -40px -40px auto; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, var(--blush), transparent 70%); opacity: 0; transition: opacity .3s; }
.gcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.gcard:hover::after { opacity: 1; }
.gicon { width: 46px; height: 46px; border-radius: 13px; background: var(--gold-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.gicon svg { width: 24px; height: 24px; }
.gcard-t { font-family: var(--display); font-size: 1.32rem; font-weight: 600; margin-top: 4px; }
.gcard-b { font-size: .93rem; color: var(--ink-2); line-height: 1.5; flex: 1; }
.gcard-l { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--primary); }
.gcard-l svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.gcard:hover .gcard-l svg { transform: translateX(4px); }
.gstrip { display: flex; gap: 14px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.gstrip .gcard { flex: 0 0 240px; scroll-snap-align: start; min-height: 0; }
.gstrip::-webkit-scrollbar { height: 6px; }
.gstrip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* ---------- quiz ---------- */
.quiz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.quiz-intro { position: sticky; top: 96px; }
.quiz-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.quiz-form legend { font-family: var(--display); font-size: 1.2rem; font-weight: 500; margin-bottom: 10px; color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .86); font-weight: 600; font-size: .92rem; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.pills label:hover span { border-color: rgba(255, 255, 255, .6); }
.pills input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.pills input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.quiz-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.quiz .btn-ghost { color: #fff; }
.quiz-result { margin-top: 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 20px; }
.quiz-result[hidden] { display: none; }
.qr-h { font-family: var(--display); font-size: 1.25rem; margin: 0 0 12px; color: var(--gold-2); }
.qr-list { display: grid; gap: 8px; }
.qr-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: var(--paper); color: var(--ink); text-decoration: none; padding: 12px 14px; border-radius: 12px; transition: transform .2s var(--ease); }
.qr-item:hover { transform: translateX(4px); }
.qr-n { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; margin-top: 2px; }
.qr-b { display: block; font-size: .88rem; color: var(--ink-2); margin-top: 2px; }
.quiz-result .muted { color: rgba(255, 255, 255, .7); margin: 0; }

/* ---------- post cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.pcard { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--sand); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pmeta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); display: inline-block; }
.pcard-t { font-size: 1.28rem; margin: 2px 0 0; line-height: 1.22; }
.pcard-t a { color: var(--ink); text-decoration: none; }
.pcard-t a:hover { color: var(--primary); }
.pcard-x { font-size: .95rem; color: var(--ink-2); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .more { font-size: .9rem; margin-top: 6px; }
.pfeat { margin-bottom: 22px; }
.pcard-big { flex-direction: row; }
.pcard-big .pcard-img { flex: 0 0 56%; aspect-ratio: auto; min-height: 320px; }
.pcard-big .pcard-body { padding: 36px; justify-content: center; }
.pcard-big .pcard-t { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.pcard-big .pcard-x { -webkit-line-clamp: 4; font-size: 1.02rem; }

/* ---------- brands ---------- */
.brands { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.08rem; font-weight: 500; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); border-color: var(--gold); color: var(--primary); }

/* ---------- FAQ ---------- */
.faq-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-teaser .btn { margin-top: 8px; }
.faq-list { display: grid; gap: 10px; }
details.faq, .faq-block details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: box-shadow .2s; }
details.faq[open], .faq-block details[open] { box-shadow: var(--shadow-s); border-color: transparent; }
details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; font-family: var(--display); font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-family: var(--body); font-weight: 700; font-size: 1.15rem; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 18px; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-block { margin-top: 48px; }
.faq-block h2 { margin-bottom: 18px; }
.faq-block details + details { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--primary-2), var(--primary) 60%, #a4525f); color: #fff; padding: clamp(48px, 7vw, 84px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -200px; background: radial-gradient(circle, rgba(226, 194, 122, .35), transparent 70%); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; }
.cta-in h2 { color: #fff; max-width: 18ch; }
.cta-in .lead { color: rgba(255, 255, 255, .82); margin: 0; }
.cta-in .btn { flex: none; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .78); padding: clamp(48px, 6vw, 72px) 0 28px; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr .8fr; gap: 36px; }
.ftr-brand p { font-size: .95rem; margin: 16px 0 20px; max-width: 40ch; }
.ftr-h { font-family: var(--display); color: #fff; font-size: 1.1rem; margin: 0 0 12px; }
.ftr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ftr-list a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .93rem; }
.ftr-list a:hover { color: var(--gold-2); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; font-size: .84rem; color: rgba(255, 255, 255, .55); }
.ftr-bottom p { margin: 0; }
.ftr-bottom a { color: rgba(255, 255, 255, .7); margin-left: 16px; text-decoration: none; }
.ftr-bottom a:hover { color: var(--gold-2); }

/* ---------- breadcrumb + page heroes ---------- */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; margin-bottom: 20px; color: inherit; }
.crumb a { color: inherit; opacity: .75; text-decoration: none; }
.crumb a:hover { opacity: 1; text-decoration: underline; }
.crumb .sep { opacity: .4; }
.crumb span[aria-current] { opacity: .9; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-hero { background: var(--sand); padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.p-hero h1 { max-width: 20ch; }
.p-hero-sm { padding-bottom: clamp(28px, 4vw, 44px); }
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.jump a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.jump a:hover { background: var(--gold-soft); color: var(--primary); }
.g-hero { background: var(--ink); color: #fff; padding: clamp(44px, 6vw, 80px) 0 clamp(44px, 6vw, 72px); position: relative; overflow: hidden; }
.g-hero::before { content: ''; position: absolute; right: -10%; top: -40%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 58, 75, .5), transparent 65%); }
.g-hero .wrap { position: relative; }
.g-hero h1 { color: #fff; max-width: 16ch; }
.g-hero .lead { color: rgba(255, 255, 255, .78); max-width: 64ch; }

/* ---------- guide layout ---------- */
.g-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(24px, 4vw, 40px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 24px 22px; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.step:hover { box-shadow: var(--shadow-s); transform: translateX(3px); }
.step-n { font-family: var(--display); font-size: 2rem; font-weight: 300; color: var(--gold); line-height: 1; padding-top: 2px; font-variation-settings: 'opsz' 144; }
.step h2 { font-size: 1.3rem; margin-bottom: .35em; }
.step p { margin: 0; color: var(--ink-2); }
.note { margin-top: 28px; background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; }
.note-h { font-family: var(--display); font-size: 1.15rem; font-weight: 600; margin: 0 0 6px; }
.note p:last-child { margin: 0; color: var(--ink-2); }
.g-side { position: sticky; top: 92px; display: grid; gap: 16px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-card p:last-child { margin-bottom: 0; }
.side-cta { background: var(--ink); color: rgba(255, 255, 255, .8); border-color: transparent; }
.side-cta .side-h { color: #fff; }
.side-cta .btn { margin-top: 10px; }
.side-h { font-family: var(--display); font-size: 1.12rem; font-weight: 600; margin: 0 0 10px; color: var(--ink); }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.side-list a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 10px; transition: background .2s; }
.side-list a:hover { background: var(--sand); color: var(--primary); }
.gicon-s { width: 32px; height: 32px; border-radius: 9px; background: var(--gold-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.gicon-s svg { width: 18px; height: 18px; }
.side-img img { border-radius: var(--radius); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.ticks svg { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: 2px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.gal-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 1; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-item:hover img { transform: scale(1.04); }
.gallery .gal-item:nth-child(n+4) { display: none; }

/* ---------- post ---------- */
.post-hd { background: var(--sand); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.post-hd h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 22ch; }
.post-hero { margin: 0 auto; max-width: var(--wrap); padding: 0 var(--gutter); transform: translateY(-20px); }
.post-hero img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/9; object-fit: cover; }
.post-grid { display: grid; grid-template-columns: 260px minmax(0, var(--wrap-n)); gap: clamp(28px, 5vw, 72px); justify-content: center; padding-top: 16px; padding-bottom: clamp(24px, 4vw, 40px); align-items: start; }
.toc { position: sticky; top: 92px; }
.toc-list { list-style: none; margin: 0 0 18px; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 2px; max-height: 60vh; overflow: auto; }
.toc-list a { display: block; font-size: .88rem; color: var(--ink-2); text-decoration: none; padding: 5px 0; line-height: 1.35; transition: color .2s; }
.toc-list a:hover, .toc-list a.cur { color: var(--primary); font-weight: 700; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share-url { width: 100%; font: inherit; font-size: .85rem; padding: 8px 10px; border: 1.5px solid var(--gold); border-radius: 10px; background: var(--paper); color: var(--ink); }
.share-url[hidden] { display: none; }
.toc-box summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.toc-box summary::-webkit-details-marker { display: none; }
.toc-box summary::after { content: '+'; font-family: var(--body); font-weight: 700; color: var(--primary); display: none; }
.toc-box[open] summary::after { content: '\2212'; }
.side-concern { margin-top: 18px; }
.side-concern .btn { margin: 4px 10px 8px 0; }
.prose { font-size: 1.07rem; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin: 1.8em 0 .55em; scroll-margin-top: 92px; }
.prose h3 { font-size: 1.28rem; margin: 1.5em 0 .45em; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--gold); font-weight: 700; }
.prose b, .prose strong { font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-family: var(--display); font-size: 1.2rem; color: var(--ink-2); }
.prose a { font-weight: 600; }
.prose img { border-radius: var(--radius-s); }
.fig { margin: 1.8em 0; }
.fig img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-s); }
.takeaways { background: var(--gold-soft); border-radius: var(--radius); padding: 22px 26px; margin: 1.6em 0 2em; border: 1px solid rgba(201, 162, 79, .35); }
.tk-h { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0 0 8px; color: var(--primary-2); }
.takeaways ul { margin: 0; padding-left: 1.2em; }
.takeaways li { margin: .3em 0; }
.table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: var(--radius-s); -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: .95rem; }
.prose th, .prose td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--sand); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.prose tr:last-child td { border-bottom: 0; }
.prose .faq-block { margin-top: 2.4em; }
.prose details summary { font-size: 1.05rem; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal p { font-size: 1rem; }

/* ---------- ask page ---------- */
.ask-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.ask-side { display: grid; gap: 18px; position: sticky; top: 92px; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-s); }
.form[hidden] { display: none; }
.f-row { margin-bottom: 18px; }
.f-row label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; }
.f-row label span { color: var(--primary); }
.f-row input, .f-row textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--canvas); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 79, .22); background: #fff; }
.f-row textarea { resize: vertical; min-height: 140px; }
.f-row small { display: block; color: var(--muted); font-size: .84rem; margin-top: 6px; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.f-act { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.f-note { margin: 0; font-size: .85rem; color: var(--muted); }
.f-msg { margin-top: 14px; font-weight: 600; min-height: 1.4em; }
.f-msg.err { color: #a32d2d; }
.f-success { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); text-align: center; box-shadow: var(--shadow-s); }
.f-success[hidden] { display: none; }
.ok-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ok-icon svg { width: 30px; height: 30px; }

/* ---------- glossary ---------- */
.gl-group { margin-bottom: 36px; }
.gl-group h2 { font-size: 2.2rem; color: var(--gold); margin-bottom: 12px; scroll-margin-top: 92px; }
.gl-group dl { margin: 0; display: grid; gap: 10px; }
.gl-item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; scroll-margin-top: 92px; }
.gl-item dt { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin-bottom: 4px; }
.gl-item dd { margin: 0; color: var(--ink-2); font-size: .98rem; }
.gl-item:target { border-color: var(--gold); box-shadow: var(--shadow-s); }

.side-reading { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.side-reading a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.35; display: block; padding: 6px 0; border-bottom: 1px solid var(--line); }
.side-reading li:last-child a { border-bottom: 0; }
.side-reading a:hover { color: var(--primary); }
.print-row { margin: 18px 0 0; }
.print-row .btn-ghost { color: var(--ink-2); }
.gl-used { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.gl-used a { font-weight: 600; }
.faq-h { font-size: 1.5rem; margin: 0 0 14px; }
.faq-list + .faq-h { margin-top: 40px; }
.step p a { font-weight: 600; text-decoration-style: dotted; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .ggrid .rv:nth-child(2) { transition-delay: .05s; } .js .ggrid .rv:nth-child(3) { transition-delay: .1s; } .js .ggrid .rv:nth-child(4) { transition-delay: .15s; } .js .ggrid .rv:nth-child(5) { transition-delay: .2s; }
.js .pgrid .rv:nth-child(2) { transition-delay: .07s; } .js .pgrid .rv:nth-child(3) { transition-delay: .14s; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }
.img-failed { background: var(--sand); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hdr-act .btn { display: none; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; background: var(--paper); }
  .toc-list { max-height: none; margin-top: 10px; }
  .toc-box summary::after { display: inline; }
  .side-concern { display: none; }
  .toc .share { margin-top: 12px; }
  .post-grid .prose { max-width: var(--wrap-n); }
  .g-layout, .ask-grid { grid-template-columns: minmax(0, 1fr); }
  .g-side, .ask-side { position: static; }
  .quiz, .brands, .faq-teaser { grid-template-columns: minmax(0, 1fr); }
  .quiz-intro { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hdr-in { height: 64px; gap: 12px; }
  .menu-open .menu { inset: 64px 0 0; }
  .hero { min-height: 0; }
  .hero-in { padding: 64px 0 52px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid rgba(255, 255, 255, .08); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pcard-big { flex-direction: column; }
  .pcard-big .pcard-img { min-height: 0; aspect-ratio: 16/9; }
  .pcard-big .pcard-body { padding: 22px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .ftr-grid { grid-template-columns: 1fr; gap: 28px; }
  .step { grid-template-columns: 1fr; gap: 6px; padding: 20px; }
  .step-n { font-size: 1.4rem; }
  .post-hero { transform: translateY(-12px); }
  .search-form input { font-size: 1rem; }
  .hits a { grid-template-columns: 1fr; }
  .hit-d { grid-column: 1; }
  .f-act { flex-direction: column; align-items: flex-start; }
  .f-act .btn { width: 100%; justify-content: center; }
  .gallery .gal-item:nth-child(n+3) { display: none; }
}
@media print {
  .hdr, .ftr, .cta-band, .g-side, .share, .progress, .search-ov, .menu { display: none !important; }
  body { background: #fff; }
}
