/* =============================================================
   StartupThing — shared styles
   Luxury editorial look: Cormorant Garamond + Inter, gold accents,
   dark/light theming driven by [data-theme] on <html>.
   ============================================================= */

:root, :root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #0a0a0c;
	--bg-soft: #101013;
	--ink: #ece8e1;
	--muted: #9a958c;
	--faint: #5b574f;
	--foot: #5b574f;
	--gold-1: #d9b877;
	--gold-2: #b8893f;
	--surface: rgba(255, 255, 255, 0.025);
	--surface-2: rgba(255, 255, 255, 0.04);
	--border: rgba(217, 184, 119, 0.16);
	--border-soft: rgba(255, 255, 255, 0.07);
	--hover: rgba(217, 184, 119, 0.08);
	--glow: rgba(201, 162, 75, 0.14);
	--vignette: rgba(0, 0, 0, 0.7);
	--grain-opacity: 0.05;
	--grain-blend: overlay;
	--panel-bg: rgba(18, 17, 15, 0.82);
	--panel-border: rgba(217, 184, 119, 0.22);
	--panel-hover: rgba(217, 184, 119, 0.10);
	--fab-bg: rgba(18, 17, 15, 0.6);
	--shadow: rgba(0, 0, 0, 0.4);
	--nav-bg: rgba(10, 10, 12, 0.6);
}

:root[data-theme="light"] {
	color-scheme: light;
	--bg: #f4efe6;
	--bg-soft: #fbf8f2;
	--ink: #2a251e;
	--muted: #6f685c;
	--faint: #b0a690;
	--foot: #a99f8c;
	--gold-1: #a9792f;
	--gold-2: #8a5f23;
	--surface: rgba(120, 90, 40, 0.035);
	--surface-2: rgba(255, 255, 255, 0.6);
	--border: rgba(138, 95, 35, 0.18);
	--border-soft: rgba(80, 60, 25, 0.10);
	--hover: rgba(138, 95, 35, 0.07);
	--glow: rgba(184, 137, 63, 0.20);
	--vignette: rgba(120, 96, 48, 0.10);
	--grain-opacity: 0.035;
	--grain-blend: multiply;
	--panel-bg: rgba(255, 253, 248, 0.92);
	--panel-border: rgba(138, 95, 35, 0.22);
	--panel-hover: rgba(138, 95, 35, 0.08);
	--fab-bg: rgba(255, 252, 246, 0.78);
	--shadow: rgba(80, 60, 25, 0.18);
	--nav-bg: rgba(244, 239, 230, 0.7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: var(--bg);
	color: var(--ink);
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- background decoration ---- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-glow {
	position: absolute; inset: 0;
	background:
		radial-gradient(60% 45% at 50% 0%, var(--glow) 0%, rgba(201, 162, 75, 0) 60%),
		radial-gradient(120% 90% at 50% 120%, rgba(15, 15, 18, 0) 45%, var(--vignette) 100%);
}
.bg-grain {
	position: absolute; inset: 0; opacity: var(--grain-opacity); mix-blend-mode: var(--grain-blend);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- layout primitives ---- */
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-soft), transparent); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase;
	color: var(--gold-1); font-weight: 400; margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2)); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, var(--gold-2), transparent); }

h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: 0.01em; }
.accent {
	background: linear-gradient(100deg, var(--gold-1), var(--gold-2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.05; margin: 0 0 18px; }
.section-lead { color: var(--muted); max-width: 560px; font-size: 1.05rem; margin: 0; }
.center-block { text-align: center; }
.center-block .section-lead { margin: 0 auto; }

/* ---- buttons ---- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 26px; border-radius: 999px;
	font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400;
	cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
	border: 1px solid var(--gold-2);
}
.btn-primary { background: linear-gradient(100deg, var(--gold-1), var(--gold-2)); color: #1a140a; border-color: transparent; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px var(--gold-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--gold-1); color: var(--gold-1); transform: translateY(-2px); }

/* ---- nav ---- */
.nav {
	position: sticky; top: 0; z-index: 30;
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	background: var(--nav-bg);
	border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-weight: 600; letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
	font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
	transition: color .2s ease; position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold-1); transition: width .25s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

/* ---- hero ---- */
.hero { text-align: center; padding: 120px 0 100px; }
.hero h1 { font-size: clamp(3rem, 9vw, 6.4rem); line-height: 1.0; margin: 0 0 24px; }
.hero .lead { color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 600px; margin: 0 auto 18px; }
.hero .rule { width: 56px; height: 1px; margin: 26px auto 30px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ---- feature grid ---- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: 16px;
	padding: 30px 28px;
	transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border); background: var(--surface-2); }
.card .ic {
	width: 44px; height: 44px; border-radius: 12px;
	display: grid; place-items: center; margin-bottom: 20px;
	color: var(--gold-1); border: 1px solid var(--border);
}
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.5rem; margin: 0 0 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* ---- audiences ---- */
.aud-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin: 0; padding: 0; list-style: none; }
.aud-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.aud-list .mk { color: var(--gold-1); font-family: "Cormorant Garamond", serif; font-size: 1.1rem; line-height: 1.4; }
.aud-list strong { font-weight: 500; color: var(--ink); }
.aud-list span { color: var(--muted); font-size: 0.92rem; }

/* ---- city chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
	padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border);
	color: var(--muted); font-size: 0.85rem; letter-spacing: 0.04em;
	transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.chip:hover { color: var(--gold-1); border-color: var(--gold-1); transform: translateY(-2px); }
.chip .soon { color: var(--faint); font-size: 0.7rem; margin-left: 6px; }

/* ---- stories / originals ---- */
.story {
	display: flex; flex-direction: column; gap: 14px;
	padding: 30px; border-radius: 16px; border: 1px solid var(--border-soft);
	background: var(--surface); transition: transform .25s ease, border-color .25s ease;
}
.story:hover { transform: translateY(-4px); border-color: var(--border); }
.story .tag { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-1); }
.story h3 { font-size: 1.6rem; margin: 0; }
.story p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.story .meta { color: var(--faint); font-size: 0.78rem; letter-spacing: 0.08em; margin-top: auto; }

/* ---- stat band ---- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat .n { font-family: "Cormorant Garamond", serif; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--gold-1); line-height: 1; }
.stat .l { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 8px; }

/* ---- CTA ---- */
.cta { text-align: center; border-radius: 24px; padding: 70px 30px; border: 1px solid var(--border); background: var(--surface); }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 16px; }
.cta p { color: var(--muted); max-width: 480px; margin: 0 auto 30px; }

/* ---- footer ---- */
.foot { padding: 60px 0 80px; border-top: 1px solid var(--border-soft); }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .brand { margin-bottom: 12px; display: inline-block; }
.foot .tag { color: var(--muted); max-width: 300px; font-size: 0.92rem; }
.foot-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.foot-col h4 { font-family: "Inter", sans-serif; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; font-weight: 500; }
.foot-col a { display: block; color: var(--muted); font-size: 0.9rem; padding: 5px 0; transition: color .2s ease; }
.foot-col a:hover { color: var(--gold-1); }
.foot-base { margin-top: 50px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 0.78rem; letter-spacing: 0.06em; }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- theme switcher ---- */
.theme-switch { position: fixed; right: 22px; bottom: 22px; z-index: 40; }
.theme-fab {
	width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
	background: var(--fab-bg); border: 1px solid var(--panel-border); color: var(--gold-1); cursor: pointer;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	box-shadow: 0 8px 30px var(--shadow);
	transition: transform .25s ease, border-color .25s ease;
}
.theme-fab:hover { transform: translateY(-2px); border-color: var(--gold-1); }
.theme-fab svg { width: 20px; height: 20px; display: block; }
.theme-menu {
	position: absolute; right: 0; bottom: calc(100% + 12px); min-width: 174px;
	background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 14px; padding: 7px;
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 18px 44px var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.98); transform-origin: bottom right;
	transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.theme-switch.open .theme-menu { opacity: 1; visibility: visible; transform: none; }
.theme-menu .label { display: block; font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 7px; }
.theme-opt {
	width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px;
	background: transparent; border: 0; border-radius: 9px; color: var(--ink); cursor: pointer;
	font-family: inherit; font-size: 0.82rem; font-weight: 300; letter-spacing: 0.04em; text-align: left;
	transition: background .18s ease, color .18s ease;
}
.theme-opt:hover { background: var(--panel-hover); }
.theme-opt svg { width: 17px; height: 17px; opacity: 0.75; flex: none; }
.theme-opt .tick { margin-left: auto; opacity: 0; color: var(--gold-1); }
.theme-opt[aria-checked="true"] { color: var(--gold-1); }
.theme-opt[aria-checked="true"] svg { opacity: 1; }
.theme-opt[aria-checked="true"] .tick { opacity: 1; }

/* ---- responsive ---- */
@media (max-width: 860px) {
	.grid-3, .grid-2, .aud-list, .stats { grid-template-columns: 1fr; }
	.nav-links { display: none; }
	.section { padding: 80px 0; }
	.foot-grid { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
}
