/* ==========================================================================
   whosachinarora.com · main stylesheet
   Tokens → base → layout → components → pages → utilities
   ========================================================================== */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin.woff2") format("woff2");
	font-weight: 300 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #0d1320;
	--ink-2: #151d2e;
	--ink-3: #24314b;
	--paper: #faf8f4;
	--paper-2: #f3efe6;
	--white: #ffffff;
	--line: #e5dfd2;
	--line-dark: rgba(255, 255, 255, 0.12);
	--text: #1a2030;
	--muted: #5b6271;
	--muted-dark: #a7aebd;
	--gold: #a97c2f;
	--gold-2: #d6b471;
	--gold-soft: #f2e7d0;

	--serif: "Fraunces", "Iowan Old Style", Georgia, serif;
	--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--radius: 14px;
	--radius-lg: 24px;
	--shadow: 0 1px 2px rgba(13, 19, 32, 0.04), 0 12px 32px -12px rgba(13, 19, 32, 0.14);
	--shadow-lg: 0 2px 4px rgba(13, 19, 32, 0.04), 0 30px 60px -20px rgba(13, 19, 32, 0.28);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.5em; color: var(--ink); font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.25; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
em, .em { font-style: italic; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--white); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }
.section--tint { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #d9dde6; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark .lead, .section--dark .muted { color: var(--muted-dark); }
.section--line { border-top: 1px solid var(--line); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.section-head h2 { margin: 0; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr 0.85fr; } .split--wide-right { grid-template-columns: 0.85fr 1.15fr; } }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow__num { font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--gold-2); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.7; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.section--dark .gold { color: var(--gold-2); }
.display-em { font-style: italic; color: var(--gold); font-weight: 300; padding-right: .08em; }
.section--dark .display-em { color: var(--gold-2); }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
	font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
	transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--ink-3); color: var(--white); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold-2); color: var(--ink); }
.btn--gold:hover { background: #e3c487; color: var(--ink); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.section--dark .btn--ghost, .btn--ghost-light { border-color: var(--line-dark); color: var(--white); }
.section--dark .btn--ghost:hover, .btn--ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color 0.25s, color 0.25s; }
.link-arrow:hover { border-color: var(--gold); }
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.section--dark .link-arrow { color: var(--white); border-color: var(--line-dark); }
.section--dark .link-arrow:hover { color: var(--gold-2); border-color: var(--gold-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(250, 248, 244, 0.94); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); letter-spacing: -0.01em; }
.brand__name span { font-style: italic; color: var(--gold); font-weight: 300; }
.brand__tag { margin-top: 5px; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand:hover .brand__name { color: var(--ink); }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; color: var(--text); text-decoration: none; transition: background 0.2s, color 0.2s; }
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a, .nav .current_page_parent > a { background: var(--paper-2); color: var(--ink); }
.header-cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink); }
@media (min-width: 1100px) {
	.nav { display: flex; justify-content: center; flex: 1 1 auto; min-width: 0; overflow: hidden; }
	.nav ul { flex: none; }
	.header-cta { display: inline-flex; flex: none; }
	.nav-toggle { display: none; }
	/* Menu too long for one line: switch to the menu button instead of wrapping (set by main.js). */
	.nav-overflow .nav { visibility: hidden; position: absolute; pointer-events: none; }
	.nav-overflow .nav-toggle { display: inline-flex; }
	.nav-overflow .header-cta { margin-left: auto; }
	.nav-overflow .site-header__inner > .nav-toggle { margin-left: -12px; }
}
.brand, .header-cta { flex: none; }
.brand__name, .brand__tag, .nav a, .header-cta { white-space: nowrap; }
.nav .menu-cta { display: none; } /* "Book" items duplicate the header button; they still show in the mobile menu. */

.mobile-nav { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--white); padding: 20px var(--gutter) 40px; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; }
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; height: calc(var(--header-h) - 20px); }
.mobile-nav .brand__name { color: var(--white); }
.mobile-nav .brand__tag { color: var(--muted-dark); }
.mobile-nav .nav-toggle { border-color: var(--line-dark); color: var(--white); }
.mobile-nav ul { list-style: none; padding: 0; margin: 32px 0; }
.mobile-nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav li a { display: block; padding: 16px 0; font-family: var(--serif); font-size: 1.7rem; text-decoration: none; color: var(--white); }
.mobile-nav li a:hover { color: var(--gold-2); }
.mobile-nav__foot { margin-top: auto; display: grid; gap: 12px; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; transform: translate(30%, -35%); background: radial-gradient(closest-side, rgba(214, 180, 113, 0.22), transparent 70%); pointer-events: none; }
.hero__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero h1 { margin: 22px 0 24px; }
.hero .lead { margin-bottom: 36px; }
.hero__note { margin-top: 22px; font-size: 0.88rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero__note .icon { color: var(--gold); }

.portrait { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.portrait__frame { position: relative; border-radius: 240px 240px var(--radius-lg) var(--radius-lg); overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait__ring { position: absolute; inset: -14px; border: 1px solid var(--gold-2); border-radius: 254px 254px 32px 32px; opacity: 0.55; pointer-events: none; }
.badge-card { position: absolute; left: -8px; bottom: 28px; display: flex; gap: 14px; align-items: center; background: var(--white); padding: 14px 18px 14px 14px; border-radius: 16px; box-shadow: var(--shadow-lg); max-width: 290px; }
.badge-card__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; }
.badge-card strong { display: block; font-size: 0.92rem; color: var(--ink); line-height: 1.3; }
.badge-card span { font-size: 0.78rem; color: var(--muted); }
@media (min-width: 1000px) { .badge-card { left: -56px; } }

/* Credentials row */
.creds { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 88px); }
.cred { padding: 24px 20px 4px 0; }
.cred + .cred { padding-left: 20px; border-left: 1px solid var(--line); }
.cred:nth-child(3) { border-left: 0; padding-left: 0; }
@media (min-width: 900px) { .creds { grid-template-columns: repeat(4, 1fr); } .cred:nth-child(3) { border-left: 1px solid var(--line); padding-left: 20px; } }
.cred__value { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--ink); line-height: 1; font-weight: 400; }
.cred__label { margin-top: 10px; font-size: 0.86rem; color: var(--muted); line-height: 1.45; max-width: 220px; }
.section--dark .creds { border-color: var(--line-dark); }
.section--dark .cred + .cred { border-color: var(--line-dark); }
.section--dark .cred__value { color: var(--white); }
.section--dark .cred__label { color: var(--muted-dark); }

/* Page hero (inner pages) */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -10%; top: -40%; width: 640px; height: 640px; background: radial-gradient(closest-side, rgba(214, 180, 113, 0.18), transparent 70%); pointer-events: none; }
.page-hero h1 { margin: 20px 0 22px; max-width: 920px; }
.page-hero .lead { max-width: 700px; }
.page-hero--dark { background: var(--ink); color: #d9dde6; border-color: var(--ink); }
.page-hero--dark h1 { color: var(--white); }
.page-hero--dark .lead { color: var(--muted-dark); }
.page-hero--dark .eyebrow { color: var(--gold-2); }
.page-hero--dark .crumbs, .page-hero--dark .crumbs a { color: var(--muted-dark); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; font-size: 0.82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- Logo strip ---------- */
.logos { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.logos__inner { display: flex; align-items: center; gap: 32px; }
.logos__label { flex: none; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; max-width: 110px; line-height: 1.4; }
.logos__track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__list { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 38s linear infinite; list-style: none; margin: 0; padding: 0; }
.logos__list img { height: 58px; width: auto; filter: grayscale(1); opacity: 0.72; transition: filter 0.3s, opacity 0.3s; }
.logos__list li:hover img { filter: none; opacity: 1; }
.logos:hover .logos__list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .logos__label { display: none; } }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); color: var(--gold); margin-bottom: 28px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }
.card__num { position: absolute; top: 28px; right: 30px; font-family: var(--serif); color: var(--line); font-size: 1.6rem; }
.card--dark { background: var(--ink-2); border-color: var(--line-dark); color: #cfd4de; }
.card--dark h3 { color: var(--white); }
.card--dark p { color: var(--muted-dark); }
.card--dark .card__icon { background: rgba(214, 180, 113, 0.12); color: var(--gold-2); }
.card--feature { background: var(--ink); color: #cfd4de; border-color: var(--ink); }
.card--feature h3 { color: var(--white); }
.card--feature p { color: var(--muted-dark); }
.card--feature .card__icon { background: rgba(214, 180, 113, 0.14); color: var(--gold-2); }
.card--feature .link-arrow { color: var(--white); border-color: var(--line-dark); }

/* Services: 5 cards → 2 + 3 layout on desktop */
.services { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(6, 1fr); } .services > :nth-child(-n+2) { grid-column: span 3; } .services > :nth-child(n+3) { grid-column: span 2; } }

/* ---------- Quote ---------- */
.quote { position: relative; margin: 0; padding: clamp(32px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--ink); color: var(--white); overflow: hidden; }
.quote::after { content: "“"; position: absolute; right: 18px; top: -40px; font-family: var(--serif); font-size: 15rem; line-height: 1; color: rgba(214, 180, 113, 0.14); }
.quote p { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.3; margin: 0 0 18px; position: relative; font-weight: 300; }
.quote cite { font-style: normal; font-size: 0.85rem; color: var(--gold-2); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.quote--light { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.quote--light p { color: var(--ink); }
.quote--light cite { color: var(--gold); }

.pull { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; font-weight: 300; color: var(--ink); border-left: 2px solid var(--gold-2); padding-left: 28px; margin: 40px 0; }

/* Image framing */
.frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.stack { position: relative; }
.stack__back { width: 78%; }
.stack__front { position: absolute; width: 52%; right: 0; bottom: -10%; border: 6px solid var(--paper); }
.stack-wrap { padding-bottom: 12%; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { flex: none; margin-top: 3px; color: var(--gold); }
.section--dark .checks .icon { color: var(--gold-2); }

/* ---------- Formats (institutions) ---------- */
.formats { border-top: 1px solid var(--line); }
.format { display: grid; gap: 16px 48px; padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .format { grid-template-columns: 90px 1fr 1.2fr; } }
.format__num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; font-weight: 300; }
.format h3 { margin-bottom: 6px; }
.format__for { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.format__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); font-size: 0.8rem; font-weight: 500; color: var(--ink); }
.section--dark .chip { background: rgba(255, 255, 255, 0.07); color: #e3e6ec; }
.format__text p { color: var(--muted); }
.format__best { font-size: 0.86rem; color: var(--ink); }
.format__best b { color: var(--gold); font-weight: 600; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; padding: 28px 24px; border-top: 1px solid var(--line-dark); position: relative; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--gold-2); margin-bottom: 18px; font-weight: 300; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted-dark); font-size: 0.95rem; margin: 0; }
.section:not(.section--dark) .step { border-color: var(--line); }
.section:not(.section--dark) .step::before { color: var(--gold); }
.section:not(.section--dark) .step p { color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; } .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; } .gallery figure:nth-child(4), .gallery figure:nth-child(5), .gallery figure:nth-child(6) { grid-column: span 2; } }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); aspect-ratio: 1; }
@media (min-width: 900px) { .gallery figure { aspect-ratio: auto; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(13, 19, 32, 0.85)); color: var(--white); font-size: 0.82rem; font-weight: 500; line-height: 1.4; }

/* ---------- Video ---------- */
.video { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.video--9x16 { aspect-ratio: 9 / 16; }
.video__link { position: absolute; inset: 0; display: block; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video img { transition: transform 0.6s var(--ease), opacity 0.3s; opacity: 0.88; }
.video:hover img { transform: scale(1.04); opacity: 1; }
.video__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(250, 248, 244, 0.95); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); transition: transform 0.3s var(--ease), background 0.3s; }
.video__play .icon { margin-left: 3px; }
.video:hover .video__play { transform: scale(1.08); background: var(--gold-2); }
.videos { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .videos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .videos--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- RECIPE ---------- */
.recipe { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .recipe { grid-template-columns: repeat(3, 1fr); } }
.recipe__item { background: var(--ink); padding: 26px 24px; }
.recipe__letter { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--gold-2); font-weight: 300; }
.recipe__word { display: block; margin: 12px 0 4px; font-weight: 600; color: var(--white); }
.recipe__item p { margin: 0; color: var(--muted-dark); font-size: 0.92rem; }

/* ---------- Course modules ---------- */
.modules { display: grid; gap: 16px; }
.module { display: grid; gap: 16px 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
@media (min-width: 900px) { .module { grid-template-columns: 160px 1fr 1.1fr; } }
.module__days { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.module__num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--ink); font-weight: 300; margin-top: 6px; }
.module h3 { margin-bottom: 8px; }
.module p { color: var(--muted); margin: 0; }
.lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lessons a { display: flex; gap: 14px; align-items: baseline; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 0.95rem; transition: background 0.2s; }
.lessons a:hover { background: var(--paper-2); color: var(--ink); }
.lessons__day { flex: none; font-size: 0.75rem; font-weight: 600; color: var(--gold); min-width: 52px; letter-spacing: 0.04em; }

/* ---------- Mastery ---------- */
.weeks { display: grid; gap: 16px; }
@media (min-width: 900px) { .weeks { grid-template-columns: repeat(2, 1fr); } }
.week { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.week__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.week__no { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.week__part { font-size: 0.75rem; color: var(--muted); }
.week h3 { margin-bottom: 6px; }
.week__goal { color: var(--muted); font-size: 0.98rem; }
.week ul { margin: 0 0 20px; padding-left: 18px; font-size: 0.95rem; }
.week ul li { margin-bottom: 6px; }
.week__task { margin-top: auto; display: grid; gap: 10px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 0.9rem; }
.week__task b { display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.week__task p { margin: 0; color: var(--muted); }

.price-card { background: var(--ink); color: #d6dae3; border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 180, 113, 0.25), transparent); }
.price-card h3 { color: var(--white); }
.price { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.4rem); color: var(--white); line-height: 1; margin: 18px 0 6px; font-weight: 300; }
.price small { font-family: var(--sans); font-size: 0.95rem; color: var(--muted-dark); margin-left: 8px; }
.price-card .checks { margin: 28px 0; }
.price-card .fine { font-size: 0.84rem; color: var(--muted-dark); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-grid .price-card { display: flex; flex-direction: column; }
.price-grid .price-card .checks { flex: 1; align-content: start; }
.price-card--light { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.price-card--light::before { background: radial-gradient(closest-side, rgba(169, 124, 47, 0.12), transparent); }
.price-card--light .price, .price-card--light h3 { color: var(--ink); }
.price-card--light .price small, .price-card--light .fine { color: var(--muted); }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform 0.3s var(--ease), background-color 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--paper-2); }
.faq details p { color: var(--muted); padding: 0 56px 24px 0; margin: 0; }

/* ---------- Posts ---------- */
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); text-decoration: none; height: 100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.post-card__media { aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__media--text { aspect-ratio: 16 / 7; display: flex; align-items: flex-end; padding: 22px; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); }
.post-card__media--text span { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-2); font-style: italic; font-weight: 300; }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 10px; display: flex; gap: 10px; }
.post-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.post-card p { font-size: 0.95rem; color: var(--muted); margin: 0; }

.post-list { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-list--featured > :first-child { grid-column: 1 / -1; }
@media (min-width: 1000px) {
	.post-list--featured > :first-child .post-card { flex-direction: row; }
	.post-list--featured > :first-child .post-card__media { flex: 1.2; aspect-ratio: auto; min-height: 360px; }
	.post-list--featured > :first-child .post-card__body { flex: 1; padding: 44px; justify-content: center; }
	.post-list--featured > :first-child h3 { font-size: 2rem; }
}

.pagination { margin-top: 56px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 0.92rem; }
.pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Single post */
.article-head { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); }
.article-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; font-size: 0.88rem; color: var(--muted); margin-top: 26px; }
.author-chip { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; text-decoration: none; }
.author-chip img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.article-cover { margin-bottom: clamp(40px, 5vw, 64px); }
.article-cover img { width: 100%; border-radius: var(--radius-lg); }

.prose { max-width: 740px; margin: 0 auto; font-size: 1.08rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--gold); text-decoration: underline; }
.prose a:hover { color: var(--ink); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--gold-2); font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; color: var(--ink); font-weight: 300; }
.prose blockquote p { margin: 0; }
.prose img, .prose figure { border-radius: var(--radius); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; text-align: center; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.prose code { font-size: 0.9em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--ink); color: #e6e9ef; padding: 20px 22px; border-radius: var(--radius); overflow-x: auto; font-size: 0.9rem; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose .wp-block-embed, .prose iframe { max-width: 100%; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose .wp-block-button__link { background: var(--ink); color: var(--white); border-radius: 999px; padding: 14px 24px; text-decoration: none; }
.prose details { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; background: var(--white); }
.prose details summary { cursor: pointer; font-weight: 600; }

.author-box { display: grid; gap: 24px; align-items: center; margin: 72px auto 0; max-width: 740px; padding: 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
@media (min-width: 640px) { .author-box { grid-template-columns: 96px 1fr; } }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.author-box h3 { font-size: 1.3rem; margin-bottom: 6px; }
.author-box p { color: var(--muted); font-size: 0.96rem; margin-bottom: 12px; }

/* ---------- Press ---------- */
.press-list { border-top: 1px solid var(--line); }
.press-item { display: grid; gap: 10px 48px; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding 0.3s var(--ease); }
@media (min-width: 900px) { .press-item { grid-template-columns: 240px 1fr auto; align-items: center; } }
.press-item:hover { padding-left: 12px; color: inherit; }
.press-item__outlet { font-weight: 600; color: var(--ink); }
.press-item__date { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.press-item h3 { margin-bottom: 6px; }
.press-item p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.press-item__go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.press-item:hover .press-item__go { background: var(--ink); color: var(--white); border-color: var(--ink); }
.outlets { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; justify-content: center; font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); }
.outlets a { text-decoration: none; }
.outlets a:hover { color: var(--ink); }

/* ---------- Timeline (story) ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl { position: relative; padding: 0 0 40px 44px; }
.tl::before { content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); }
.tl:last-child { padding-bottom: 0; }
.tl:last-child::before { background: var(--gold); }
.tl__label { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.tl h3 { margin: 6px 0 8px; }
.tl p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #d6dae3; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px); display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band::before { content: ""; position: absolute; left: -10%; bottom: -60%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 180, 113, 0.2), transparent); }
.cta-band h2 { color: var(--white); margin-bottom: 14px; position: relative; }
.cta-band p { color: var(--muted-dark); margin: 0; position: relative; max-width: 560px; }
.cta-band .btn-row { position: relative; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235b6271' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214, 180, 113, 0.22); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 6px; }
.form__foot small { color: var(--muted); }
.notice { padding: 16px 20px; border-radius: 12px; font-size: 0.95rem; margin-bottom: 20px; }
.notice--ok { background: #e9f4ec; color: #1f5a33; border: 1px solid #c8e3d1; }
.notice--err { background: #fbecec; color: #8a2424; border: 1px solid #f0cccc; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }

.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-list a { display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-dark); transition: border-color 0.2s, background 0.2s; }
.contact-list a:hover { border-color: var(--gold-2); color: var(--white); background: rgba(255, 255, 255, 0.03); }
.contact-list .icon-wrap { width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgba(214, 180, 113, 0.12); color: var(--gold-2); display: grid; place-items: center; }
.contact-list small { display: block; color: var(--muted-dark); font-size: 0.78rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: clamp(64px, 8vw, 96px) 0 32px; font-size: 0.94rem; }
.site-footer a { text-decoration: none; color: #d6dae3; }
.site-footer a:hover { color: var(--gold-2); }
.footer-top { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer .brand__name { color: var(--white); font-size: 1.8rem; }
.site-footer .brand__tag { color: var(--muted-dark); }
.footer-about { margin: 22px 0 26px; max-width: 360px; line-height: 1.7; }
.footer-col h2 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; margin: 0 0 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.socials a:hover { border-color: var(--gold-2); color: var(--gold-2); background: rgba(214, 180, 113, 0.08); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 0.82rem; }
.footer-bottom ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }

/* Floating WhatsApp (mobile) */
.float-cta { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.float-cta:hover { color: var(--white); background: #198049; }
@media (min-width: 1100px) { .float-cta { display: none; } }

/* ---------- 404 / search ---------- */
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.search-form button { min-height: 52px; }

/* ---------- Reveal on scroll (only with JS) ---------- */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal.is-pending { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: clamp(40px, 5vw, 64px); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

@media print {
	.site-header, .site-footer, .float-cta, .cta-band, .mobile-nav { display: none !important; }
	body { background: #fff; }
}

/* Dark hero buttons */
.page-hero--dark .btn--ghost { border-color: var(--line-dark); color: var(--white); }
.page-hero--dark .btn--ghost:hover { border-color: var(--white); color: var(--white); }
.page-hero--dark .creds { border-color: var(--line-dark); }
.page-hero--dark .cred + .cred { border-color: var(--line-dark); }
.page-hero--dark .cred__value { color: var(--white); }
.page-hero--dark .cred__label { color: var(--muted-dark); }

/* Wide tables in guides scroll sideways on phones instead of stretching the page. */
.prose .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .wp-block-table table { min-width: 520px; }
.card .eyebrow::before { display: none; }
.prose .video { margin: 2em 0; }
.prose .wp-block-embed .video { margin: 0; }

/* ---------- 100 Days of AI eBook ---------- */
.announce { background: var(--ink); color: #d6dae3; font-size: 0.86rem; }
.announce a { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding: 6px 0; color: inherit; text-decoration: none; text-align: center; flex-wrap: wrap; }
.announce b { color: var(--white); font-weight: 600; }
.announce__tag { background: var(--gold-2); color: var(--ink); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.announce__cta { color: var(--gold-2); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.announce a:hover .announce__cta { color: var(--white); }
.announce__short { display: none; }
@media (max-width: 640px) { .announce a { flex-wrap: nowrap; gap: 10px; font-size: 0.82rem; } .announce__long { display: none; } .announce__short { display: inline; } }

.btn__meta { font-weight: 400; opacity: 0.7; font-size: 0.85em; }
.btn--whatsapp { background: #1f9d55; color: var(--white); }
.btn--whatsapp:hover { background: #18834a; color: var(--white); }

.ebook-hero__grid, .ebook-band__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) {
	.ebook-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
	.ebook-band__grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
}
.ebook-covers { position: relative; display: block; width: min(100%, 500px); aspect-ratio: 1.08 / 1; margin: 0 auto; }
.ebook-covers > * { position: absolute; display: block; width: 54%; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); transition: transform 0.5s var(--ease); }
.ebook-covers img { display: block; width: 100%; height: auto; }
.ebook-covers__back { right: 0; top: 0; transform: rotate(5deg); }
.ebook-covers__front { left: 0; bottom: 0; transform: rotate(-4deg); }
.ebook-covers:hover .ebook-covers__back { transform: rotate(7deg) translateX(8px); }
.ebook-covers:hover .ebook-covers__front { transform: rotate(-6deg) translateX(-8px); }
.ebook-covers--small { width: min(100%, 440px); }
.ebook-band__more { margin: 22px 0 0; font-size: 0.92rem; }
.ebook-band__more a { color: var(--gold-2); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; }
.ebook-band__more a:hover { color: var(--white); }

.ebook-editions { display: grid; gap: 24px; }
@media (min-width: 900px) { .ebook-editions { grid-template-columns: 1fr 1fr; } }
.ebook-edition { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.ebook-edition__cover { display: block; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-lg); }
.ebook-edition__cover img { display: block; width: 100%; height: auto; }
.ebook-edition h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 10px 0 4px; }
.ebook-edition__tag { color: var(--gold); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
.ebook-edition .fine { font-size: 0.84rem; color: var(--muted); }
.ebook-edition .btn-row { margin-top: 18px; }
.ebook-edition .eyebrow::before { display: none; }
@media (max-width: 560px) { .ebook-edition { grid-template-columns: 1fr; } .ebook-edition__cover { width: 150px; } }

.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 48px; counter-reset: none; }
@media (min-width: 900px) { .chapters { grid-template-columns: 1fr 1fr; } }
.chapters li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.chapters__no { font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--gold); font-weight: 300; }
.chapters h3 { font-size: 1.15rem; margin: 2px 0 4px; }
.chapters p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.qr-card { margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-align: center; box-shadow: var(--shadow); width: fit-content; }
.qr-card img { display: block; width: 240px; height: 240px; }
.qr-card figcaption { margin-top: 12px; font-size: 0.82rem; color: var(--muted); }

.ebook-formats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ebook-edition__online { margin: 14px 0 0; font-size: 0.86rem; color: var(--muted); }
.ebook-edition__online a { color: var(--gold); }
.btn.show-narrow { display: none; }
@media (max-width: 768px) { .btn.show-wide { display: none; } .btn.show-narrow { display: inline-flex; } }

/* ---------- Free book: offer line and sign-up ---------- */
.book-offer { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 22px 0 0; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid rgba(214, 180, 113, 0.4); background: rgba(214, 180, 113, 0.08); font-size: 0.9rem; color: inherit; }
.book-offer__tag { background: var(--gold-2); color: var(--ink); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.book-offer .book-offer__when-sale, .book-offer.is-sale .book-offer__when-soon { display: none; }
.book-offer.is-sale .book-offer__when-sale { display: inline; }

.book-gate__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .book-gate__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.book-gate__card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); }
.book-gate__card .form { gap: 14px; }
.book-gate__hint { margin: -4px 0 0; color: var(--muted); font-size: 0.84rem; }
.book-gate__msg { margin: 0; color: #8a2424; font-size: 0.9rem; font-weight: 500; }
.book-gate__msg:empty { display: none; }
.book-gate__consent { margin: 2px 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.book-gate__consent a { color: var(--muted); }
.book-gate__book { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.book-gate__book:first-child { padding-top: 0; }
.book-gate__book img { border-radius: 4px; box-shadow: var(--shadow); }
.book-gate__card h3 { color: var(--ink); }
.book-gate__card .btn--ghost { color: var(--ink); border-color: var(--line); }
.book-gate__card .btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.book-gate__card .field label { color: var(--ink); }
.book-gate__book h3 { font-size: 1.25rem; margin: 0 0 10px; }
.book-gate__book h3 .muted { font-family: var(--sans); font-size: 0.8rem; font-weight: 500; margin-left: 6px; }
.book-gate__book .btn-row { gap: 8px; }
.book-gate__downloads > .fine { margin: 16px 0 0; color: var(--muted); }
.book-gate__downloads > .fine a { color: var(--gold); }
/* States */
.book-gate .book-gate__when-unlocked, .book-gate .book-gate__when-soon, .book-gate .book-gate__when-form, .book-gate .book-gate__form, .book-gate .book-gate__soon, .book-gate .book-gate__downloads { display: none; }
.book-gate[data-state="form"] .book-gate__when-form, .book-gate[data-state="form"] .book-gate__form { display: block; }
.book-gate[data-state="form"] .book-gate__form { display: grid; }
.book-gate[data-state="soon"] .book-gate__when-soon, .book-gate[data-state="soon"] .book-gate__soon { display: block; }
.book-gate__badge { display: inline-block; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: .82rem; font-weight: 600; }
.book-gate__restore { margin-top: 6px; font-size: .9rem; }
.book-gate__restore summary { cursor: pointer; color: var(--muted); }
.book-gate__restore[open] summary { margin-bottom: 12px; }
.book-gate__restore .field { margin-bottom: 12px; }
.book-gate.is-busy .book-gate__card { opacity: .6; pointer-events: none; }
.book-gate[data-state="unlocked"] .book-gate__when-form, .book-gate[data-state="unlocked"] .book-gate__form { display: none; }
.book-gate[data-state="unlocked"] .book-gate__when-unlocked { display: block; }
.book-gate[data-state="unlocked"] .book-gate__downloads { display: block; }
.book-gate[data-state="waitlist"] .book-gate__when-form { display: none; }
.book-gate[data-state="waitlist"] h2.book-gate__when-waitlist, .book-gate[data-state="waitlist"] p.book-gate__when-waitlist { display: block; }
.book-gate[data-state="waitlist"] span.book-gate__when-waitlist { display: inline; }
.book-gate button span.book-gate__when-form { display: inline-flex; align-items: center; gap: 10px; }
.book-gate[data-state="waitlist"] button span.book-gate__when-form { display: none; }
.book-gate.is-busy button[type="submit"] { opacity: 0.6; pointer-events: none; }
.book-gate.is-flash .book-gate__card { animation: wsa-flash 1.2s var(--ease); }
@keyframes wsa-flash { 0% { box-shadow: 0 0 0 0 rgba(214, 180, 113, 0.7); } 100% { box-shadow: 0 0 0 18px rgba(214, 180, 113, 0); } }

/* ---------- Certificate verification ---------- */
.cert-verify { max-width: 720px; }
.cert-form { display: flex; gap: 12px; align-items: flex-end; }
.cert-form .field { flex: 1; margin: 0; }
.cert-form .btn { min-height: 52px; }
.cert-result { margin-top: 28px; padding: 28px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); }
.cert-result--ok { border-color: #9cc9a6; box-shadow: 0 0 0 4px rgba(46, 125, 72, .08); }
.cert-result--no { border-color: #e3b4a8; background: #fdf6f4; }
.cert-result__badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 700; font-size: 1.15rem; }
.cert-result--ok .cert-result__badge { color: #2e7d48; }
.cert-result--no .cert-result__badge { color: #b4442c; }
.cert-result__lead { color: var(--muted); margin: 0 0 18px; }
.cert-result__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 0 0 20px; }
.cert-result__facts dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cert-result__facts dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.cert-result__img { display: block; margin-bottom: 16px; }
.cert-result__img img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 600px) { .cert-form { flex-direction: column; align-items: stretch; } .cert-result { padding: 20px; } .cert-result__facts { grid-template-columns: 1fr; } }

/* ---------- Company details ---------- */
.footer-legal { white-space: nowrap; margin-left: 6px; opacity: .8; }
.company-box { margin-top: 32px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line-dark); font-size: .9rem; color: var(--muted-dark); }
.company-box p { margin: 0 0 4px; }
.company-box p:last-child { margin-bottom: 0; }
.company-box__label { font-size: .75rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.company-box__name { color: var(--white); font-weight: 600; }

/* ---------- Amazon links ---------- */
.ebook-amazon-line { margin: 16px 0 0; font-size: .95rem; color: var(--muted-dark); }
.ebook-amazon-line a { color: var(--gold-2); font-weight: 600; }
.ebook-amazon-cover { display: block; width: min(100%, 300px); margin: 0 auto; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(-3deg); }
.ebook-amazon-cover img { display: block; width: 100%; height: auto; }

/* ---------- Event networking (/networking/) ---------- */
.net-hero .lead { max-width: 640px; }
.net-code { max-width: 520px; }
.net-card-form { max-width: 680px; margin: 0 auto; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.net-card-form h2 { font-size: 1.6rem; margin: 0 0 18px; }
.net-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.net-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-weight: 600; cursor: pointer; }
.net-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.net-msg { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 12px; margin: 0 0 18px; }
.net-msg--ok { background: #eef7f0; color: #2e7d48; }
.net-msg--err { background: #fdf3f0; color: #b4442c; }
.net-guests__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.net-guests__head h2 { margin: 0; font-size: 1.8rem; }
.net-count { color: var(--muted); font-weight: 400; font-size: 1.1rem; }
.net-search { margin: 0; flex: 0 1 360px; }
.net-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.net-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); scroll-margin-top: 100px; }
.net-card--me { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 180, 113, .25); }
.net-card__top { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.net-card__avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ink); color: #e3c487; font-weight: 700; letter-spacing: .03em; }
.net-card h3 { font-size: 1.12rem; margin: 0; line-height: 1.3; }
.net-card__you { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; background: var(--gold); color: var(--white); border-radius: 99px; padding: 2px 8px; vertical-align: middle; }
.net-card__role { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.net-card__line { margin: 8px 0 0; font-size: .95rem; }
.net-card__line b { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.net-card__in { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; font-size: .92rem; }
.net-empty { color: var(--muted); }
.net-refresh { margin-top: 24px; }
@media (max-width: 640px) {
	.net-card-form { padding: 20px 16px; }
	.net-two { grid-template-columns: 1fr; }
	.net-list { grid-template-columns: 1fr; }
	.net-search { flex-basis: 100%; }
	.net-code { flex-direction: column; align-items: stretch; }
}
.net-scan__btn { cursor: pointer; gap: 8px; }
.net-scan.is-busy .net-scan__btn { opacity: .7; pointer-events: none; }
.net-scan__hint { margin: 10px 0 0; }
.net-scan .net-msg { margin: 14px 0 0; }
.net-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 22px 0; text-transform: uppercase; letter-spacing: .08em; }
.net-or::before, .net-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.net-private { padding: 12px 14px; border-radius: 12px; background: var(--paper-2, #f4efe4); margin: 0 0 16px; }
.net-private__x { background: none; border: 0; padding: 0; color: #b4442c; text-decoration: underline; cursor: pointer; font: inherit; }
