/* Shanti Enterprises — premium aluminium fenestration */

/* ---------- Themes ----------
   Every colour on the site comes from these tokens. Each [data-theme] block
   is one colour option; main.js lists them in the preview picker. */
:root,
[data-theme="bronze"] {          /* Graphite & Bronze */
  --bg: #f7f6f3; --bg-alt: #efece6; --surface: #ffffff;
  --ink: #121417; --text: #2a2d32; --muted: #636973; --line: #e3dfd8;
  --accent: #a8834c; --accent-strong: #8a6a37; --accent-soft: #e3cfa9; --on-accent: #ffffff;
  --dark: #121417; --dark-2: #1c1f24; --dark-3: #0d0f11; --on-dark: #c4c9cf; --on-dark-muted: #8a9099; --dark-line: rgba(255,255,255,.1);
  --footer: #0b0c0e; --header-bg: rgba(247,246,243,.82);
  --ph1: #e9e3d8; --ph2: #d6cdbf;
}
[data-theme="midnight"] {        /* Midnight & Champagne (dark) */
  --bg: #0c0e12; --bg-alt: #12151a; --surface: #161a20;
  --ink: #f4f2ee; --text: #d3d6db; --muted: #9097a1; --line: #262b33;
  --accent: #d4af6e; --accent-strong: #e2c48e; --accent-soft: #ecd9b4; --on-accent: #17130b;
  --dark: #07080b; --dark-2: #12151a; --dark-3: #0a0c0f; --on-dark: #c7ccd2; --on-dark-muted: #8a919b; --dark-line: rgba(255,255,255,.08);
  --footer: #050607; --header-bg: rgba(12,14,18,.78);
  --ph1: #1b2028; --ph2: #12161c;
}
[data-theme="arctic"] {          /* Arctic Blue */
  --bg: #f6f8fb; --bg-alt: #edf1f7; --surface: #ffffff;
  --ink: #0d1726; --text: #273244; --muted: #5d6879; --line: #dde3ec;
  --accent: #2f62f5; --accent-strong: #1f49c7; --accent-soft: #a9c1ff; --on-accent: #ffffff;
  --dark: #0d1726; --dark-2: #16233a; --dark-3: #0a1220; --on-dark: #c3cede; --on-dark-muted: #8494ab; --dark-line: rgba(255,255,255,.1);
  --footer: #08101c; --header-bg: rgba(246,248,251,.82);
  --ph1: #e3e9f2; --ph2: #cdd7e5;
}
[data-theme="sage"] {            /* Forest & Sage */
  --bg: #f5f5f0; --bg-alt: #ebece4; --surface: #ffffff;
  --ink: #16241f; --text: #2b3732; --muted: #5f6b65; --line: #dfe2d8;
  --accent: #3f7a5e; --accent-strong: #2e5c46; --accent-soft: #b9d8c5; --on-accent: #ffffff;
  --dark: #16241f; --dark-2: #1f3029; --dark-3: #101b17; --on-dark: #c5d0ca; --on-dark-muted: #8a9a92; --dark-line: rgba(255,255,255,.1);
  --footer: #0c1512; --header-bg: rgba(245,245,240,.82);
  --ph1: #e4e7dc; --ph2: #cfd5c6;
}
[data-theme="terracotta"] {      /* Sand & Terracotta */
  --bg: #faf6f1; --bg-alt: #f2ebe2; --surface: #ffffff;
  --ink: #1f1714; --text: #3a2f2a; --muted: #6f625a; --line: #e8ddd1;
  --accent: #c4572f; --accent-strong: #a3431f; --accent-soft: #f1b99f; --on-accent: #ffffff;
  --dark: #1f1714; --dark-2: #2b211d; --dark-3: #16100d; --on-dark: #d6cbc4; --on-dark-muted: #9b8c83; --dark-line: rgba(255,255,255,.1);
  --footer: #120c0a; --header-bg: rgba(250,246,241,.82);
  --ph1: #efe4d8; --ph2: #e0cfbd;
}

:root {
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --radius: 14px;
  --radius-lg: 24px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -12px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); letter-spacing: -.04em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
h1 em, h2 em { font-style: normal; color: var(--accent-strong); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.accent-fill { fill: var(--accent); }
.accent-stroke { stroke: var(--accent); }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-strong); margin-bottom: 1.1em;
  display: flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dark .eyebrow { color: var(--accent-soft); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; margin-bottom: 28px;
  font-size: .82rem; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px;
  font: 600 .95rem/1 var(--sans);
  text-decoration: none;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px -10px var(--accent); }
.btn-accent:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.light { border-color: var(--dark-line); color: #fff; background: transparent; }
.btn-ghost.light:hover { border-color: #fff; }
.btn-on-accent { background: var(--on-accent); color: var(--accent-strong); }
.btn-on-accent:hover { opacity: .92; }
.btn.full { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.brand-text small { font-size: .62rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand.light { color: #fff; }
.brand.light small { color: var(--on-dark-muted); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--text); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--accent-strong); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 64px 0 104px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 em { display: block; }
.h1-kicker { display: block; margin-bottom: 18px; font: 600 clamp(.95rem, 1.4vw, 1.1rem)/1.4 var(--sans); letter-spacing: 0; color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 44px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 540px; }
.hero-facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.hero-facts strong { font-family: var(--display); font-weight: 600; font-size: 1.9rem; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.hero-facts span { font-size: .8rem; line-height: 1.3; color: var(--muted); font-weight: 500; }

.hero-visual { position: relative; }
.hero-photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 50%;
  border-radius: var(--radius-lg); box-shadow: 0 40px 70px -30px rgba(0,0,0,.45);
}
.hero-tag {
  position: absolute; left: -28px; bottom: 56px;
  background: var(--surface); padding: 16px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px;
}
.hero-tag span { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--accent-strong); }
.hero-tag strong { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.hero-tag small { font-size: .72rem; color: var(--muted); }

/* Marquee */
.marquee { background: var(--dark); color: var(--on-dark); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--display); font-size: 1.4rem; font-weight: 500; letter-spacing: -.02em; padding: 0 34px; white-space: nowrap; position: relative; }
.marquee span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; border-radius: 50%; transform: translateY(-50%); background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Statement */
.statement { padding: 128px 0; background: var(--bg-alt); }
.statement-grid { max-width: 980px; }
.statement h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
.statement p:last-child { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

/* Sections */
.section { padding: 112px 0; }
.section.tint { background: var(--bg-alt); }
.section.dark { background: var(--dark); color: var(--on-dark); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p:last-child:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.section-head.row > p { max-width: 380px; margin: 0; }
.note { display: block; font-size: .85rem; font-style: normal; color: var(--accent-strong); margin-top: .4em; }

/* Systems */
.systems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.system {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.system:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.system-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s; }
.system:hover .system-photo { transform: scale(1.04); }
.system-body { position: relative; padding: 26px 28px 30px; background: var(--surface); }
.system p { color: var(--muted); font-size: .97rem; }
.system ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.system li { font-size: .8rem; font-weight: 600; color: var(--text); padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-copy p { font-size: 1.05rem; }
.profile-art { width: 100%; max-width: 440px; margin: 0 auto; }
.profile-art .old-frame { stroke: var(--on-dark-muted); opacity: .7; }
.profile-art .screws { fill: var(--on-dark-muted); }
.profile-art text { font: 500 14px var(--sans); }
.profile-art .old-label { fill: var(--on-dark-muted); }
.profile-art .new-label { fill: var(--accent-soft); }
.ticks { list-style: none; padding: 0; margin: 28px 0 36px; }
.ticks li { padding: 13px 0 13px 34px; border-top: 1px solid var(--dark-line); position: relative; color: #eef0f2; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 25%, transparent); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 21px; width: 8px; height: 4px; border-left: 2px solid var(--accent-soft); border-bottom: 2px solid var(--accent-soft); transform: rotate(-45deg); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { padding: 30px; border-radius: var(--radius-lg); background: var(--bg-alt); }
.pillar .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 22px; font: 600 .9rem var(--display); color: var(--on-accent); background: var(--accent); }
.pillar p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Warranty */
.warranty-wrap { padding: 0 0 24px; }
.warranty {
  background: var(--accent); color: var(--on-accent);
  border-radius: var(--radius-lg); padding: 48px 56px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center;
  background-image: radial-gradient(circle at 0% 0%, rgba(255,255,255,.18), transparent 50%);
}
.warranty h2 { color: inherit; margin-bottom: .35em; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.warranty p { margin: 0; max-width: 38em; opacity: .9; }
.warranty-seal { width: 128px; }
.warranty-seal .seal-num { font: 600 56px var(--display); letter-spacing: -2px; fill: currentColor; }
.warranty-seal .seal-label { font: 600 9px var(--sans); letter-spacing: 2px; fill: currentColor; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.steps li span {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px;
  border-radius: 50%; border: 1px solid var(--accent);
  font: 600 1.05rem var(--display); color: var(--accent-strong);
}
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq .section-head { margin: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 56px 20px 22px; font: 600 1.05rem/1.4 var(--display); color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font: 500 1.2rem/1 var(--sans); color: var(--accent-strong); background: var(--bg-alt); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

/* Projects */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.city { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.city:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.city.big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.city img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.city:hover img { transform: scale(1.04); }
.city.big img { flex: 1; min-height: 320px; aspect-ratio: auto; }
.city.wide { grid-column: span 2; }
.city.wide img { aspect-ratio: 16 / 7; }
.city-cta {
  grid-column: span 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 32px; background: var(--dark); border-color: var(--dark);
}
.city-cta h3 { color: #fff; font-size: 1.7rem; margin: 6px 0 8px; }
.city-cta p { color: var(--on-dark); margin: 0 0 22px; max-width: 30em; }
.city-cta .region { color: var(--accent-soft); }
.city-cta:hover { transform: none; }
.city-body { padding: 16px 20px 20px; }
.city-body h3 { margin: 4px 0 2px; }
.city.big .city-body h3 { font-size: 2rem; }
.city-body p { margin: 0; font-size: .88rem; color: var(--muted); }
.region { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card h2, .post-card h3 { font-size: 1.2rem; line-height: 1.25; margin: 8px 0 10px; }
.post-card p { color: var(--muted); font-size: .93rem; margin: 0 0 18px; }
.post-more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--accent-strong); }
.post-meta { font-size: .8rem; font-weight: 500; color: var(--muted); }

.avatar {
  flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font: 600 1rem var(--display); letter-spacing: .02em; color: var(--on-accent); background: var(--accent);
}
.byline { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.byline p { margin: 0; }
.byline-name { font-weight: 600; color: var(--ink); }
.byline-name a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--accent); }
.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 24px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.author-box .avatar { width: 64px; height: 64px; font-size: 1.25rem; }
.author-box h2 { margin: 0 0 8px; font-size: 1.35rem; }
.author-box p { font-size: .97rem; color: var(--muted); }
.author-label { margin: 0 0 4px !important; font-size: .75rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong) !important; }
.author-box a { font-weight: 600; font-size: .92rem; }

.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-strong); }
.blog-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }

.post-head { max-width: 860px; padding-top: 56px; padding-bottom: 32px; }
.post-head h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.035em; }
.post-hero { width: 100%; max-width: 1100px; margin: 0 auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 96px; font-size: 1.07rem; }
.prose > p:first-child { font-size: 1.2rem; color: var(--ink); }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 1.8em 0 .5em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent-strong); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 600 .8rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg-alt); }
.prose tr:last-child td { border-bottom: 0; }
/* Product (system) pages */
.post-head .lead { font-size: 1.18rem; color: var(--muted); max-width: 680px; margin: 18px 0 0; }
.head-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.prose .faq-list { margin-top: 1em; }
.prose .faq-item p { font-size: 1rem; }
.prose .faq-item summary { font-size: 1.02rem; }
.prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose ol li { margin-bottom: .6em; }
.system-more { display: inline-block; margin-top: 18px; font-weight: 600; font-size: .9rem; color: var(--accent-strong); text-decoration: none; }
.system-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-cta { margin-top: 56px; padding: 32px; border-radius: var(--radius-lg); background: var(--bg-alt); }
.post-cta h2 { margin-top: 0; }
.post-cta p { color: var(--muted); }
.post-cta .btn { margin: 6px 8px 0 0; }
.prose .post-cta a.btn { text-decoration: none; }
.prose .post-cta .btn-accent { color: var(--on-accent); }

/* Placeholder image blocks */
.ph {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--ph1), var(--ph2));
  position: relative;
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: auto 0 12px 0; text-align: center;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); opacity: .7;
}
.ph.tall { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }

/* Founder */
.founder-photo { position: relative; }
.founder-badge {
  position: absolute; right: -24px; bottom: 40px;
  background: var(--dark); color: #fff; padding: 20px 24px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow);
}
.founder-badge strong { font-family: var(--display); font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--accent-soft); }
.founder-badge span { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; line-height: 1.35; }
blockquote { margin: 32px 0 0; padding: 24px 28px; border-radius: var(--radius-lg); background: var(--bg-alt); font-family: var(--display); font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.45; color: var(--ink); }
blockquote cite { display: block; margin-top: 14px; font-family: var(--sans); font-style: normal; font-size: .85rem; font-weight: 600; color: var(--muted); }

/* Contact */
.contact { align-items: start; }
.contact-list { margin: 36px 0 28px; display: grid; gap: 22px; }
.contact-list dt { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 4px; }
.contact-list dd { margin: 0; color: #fff; font-size: 1.05rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--dark-line); }

.map { margin: 0 0 20px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--dark-line); aspect-ratio: 16 / 10; background: var(--dark-2); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

.quote-form { background: var(--dark-2); padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--dark-line); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: #eef0f2; margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--on-dark-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  font: inherit; font-size: 1rem; color: #fff;
  background: var(--dark-3); border: 1px solid var(--dark-line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--on-dark-muted) 50%), linear-gradient(135deg, var(--on-dark-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.field .invalid { border-color: #e0715f; }
.form-note { font-size: .8rem; color: var(--on-dark-muted); margin: 14px 0 0; text-align: center; }

/* Footer */
.site-footer { background: var(--footer); color: var(--on-dark-muted); padding: 80px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-grid > div:first-child p { margin-top: 20px; max-width: 26em; }
.site-footer h4 { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer a:not(.brand) { display: block; text-decoration: none; padding: 4px 0; transition: color .2s; }
.site-footer a:not(.brand):hover { color: var(--accent-soft); }
.footer-base { display: flex; justify-content: space-between; padding: 24px; border-top: 1px solid var(--dark-line); font-size: .82rem; }

.credits { padding-bottom: 28px; font-size: .78rem; }
.credits summary { cursor: pointer; width: max-content; padding: 4px 0; }
.credits summary:hover { color: var(--accent-soft); }
.credits p { margin: 10px 0 8px; }
.credits ul { margin: 0; padding-left: 18px; columns: 2; column-gap: 40px; }
.credits li { margin-bottom: 4px; break-inside: avoid; }
.site-footer .credits a { display: inline; padding: 0; text-decoration: underline; text-underline-offset: 2px; }

/* WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.2); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* Mobile action bar */
.mobile-bar { display: none; }

/* Theme picker (preview only) */
.theme-picker { position: fixed; left: 22px; bottom: 22px; z-index: 45; font-family: var(--sans); }
.theme-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 12px;
  font: 600 .88rem var(--sans); color: var(--ink); cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.theme-swatch-mini { width: 24px; height: 24px; border-radius: 50%; background: conic-gradient(#a8834c 0 20%, #d4af6e 0 40%, #2f62f5 0 60%, #3f7a5e 0 80%, #c4572f 0); }
.theme-panel {
  position: absolute; left: 0; bottom: 60px; width: 290px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.35); padding: 18px;
}
.theme-title { font: 600 .95rem var(--display); color: var(--ink); margin: 0 0 12px; }
.theme-list { display: grid; gap: 6px; }
.theme-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; text-align: left;
  font: 500 .9rem var(--sans); color: var(--text); cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: 12px;
}
.theme-opt:hover { background: var(--bg-alt); }
.theme-opt[aria-pressed="true"] { border-color: var(--accent); background: var(--bg-alt); }
.theme-opt .sw { display: flex; flex-shrink: 0; }
.theme-opt .sw i { width: 20px; height: 32px; }
.theme-opt .sw i:first-child { border-radius: 8px 0 0 8px; }
.theme-opt .sw i:last-child { border-radius: 0 8px 8px 0; }
.theme-opt small { display: block; font-size: .74rem; color: var(--muted); }
.theme-hint { font-size: .74rem; color: var(--muted); margin: 12px 0 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .systems, .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cities { grid-template-columns: repeat(2, 1fr); }
  .warranty { grid-template-columns: auto 1fr; padding: 40px; }
  .warranty .btn { grid-column: 1 / -1; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founder-photo { max-width: 460px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 20px 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .nav a:not(.btn) { padding: 16px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; min-height: 52px; }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .section-head.row { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Phones get a thumb-friendly bottom bar instead of the floating WhatsApp button */
  .wa-float { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--header-bg); border-top: 1px solid var(--line);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 6px; height: 50px;
    border-radius: 14px; text-decoration: none; font-size: .9rem; font-weight: 600;
    color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  }
  .mobile-bar svg { width: 18px; height: 18px; }
  .mobile-bar a.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
  .theme-picker { left: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero { padding: 28px 0 64px; }
  .hero::before { width: 120vw; height: 120vw; right: -50%; top: -10%; }
  .pill { margin-bottom: 20px; font-size: .76rem; }
  .lede { font-size: 1.05rem; }
  .hero-cta { flex-direction: column; margin: 28px 0 32px; }
  .hero-cta .btn { width: 100%; }
  .hero-facts { gap: 8px; }
  .hero-facts li { padding: 14px 12px; }
  .hero-facts strong { font-size: 1.5rem; }
  .hero-facts span { font-size: .72rem; }
  .hero-visual { max-width: none; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-tag { left: -6px; bottom: 28px; padding: 12px 14px; }
  .hero-tag strong { font-size: 1rem; }
  .marquee span { font-size: 1.15rem; padding: 0 24px; }
  .section, .statement { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .systems, .pillars, .steps, .post-grid { grid-template-columns: 1fr; gap: 12px; }
  .post-head { padding-top: 32px; }
  .post-hero { aspect-ratio: 16 / 10; }
  .prose { padding-top: 32px; padding-bottom: 64px; font-size: 1.02rem; }
  .post-cta { padding: 24px 20px; }
  .author-box { flex-direction: column; padding: 22px 20px; }
  .post-cta .btn { width: 100%; margin: 8px 0 0; }
  .pillar, .steps li { padding: 24px; }
  .system-body { padding: 22px 22px 26px; }
  .cities { grid-template-columns: 1fr 1fr; gap: 10px; }
  .city { border-radius: var(--radius); }
  .city.big { grid-column: 1 / -1; grid-row: auto; }
  .city.big img { min-height: 200px; }
  .city.wide, .city-cta { grid-column: 1 / -1; }
  .city-cta { padding: 24px; }
  .city-cta .btn { width: 100%; }
  .credits ul { columns: 1; }
  .city-body { padding: 12px 14px 14px; }
  .city-body h3 { font-size: 1.05rem; }
  .city.big .city-body h3 { font-size: 1.5rem; }
  .warranty { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; }
  .warranty-seal { width: 92px; }
  .warranty .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 24px 18px; }
  .map { aspect-ratio: 4 / 3; }
  .contact .btn-ghost.light { width: 100%; }
  .founder-badge { right: 12px; bottom: 16px; padding: 14px 16px; }
  .founder-badge strong { font-size: 2rem; }
  blockquote { font-size: 1.12rem; padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-base { flex-direction: column; gap: 6px; padding: 20px 16px; }
  .theme-panel { position: fixed; left: 12px; right: 12px; bottom: calc(146px + env(safe-area-inset-bottom)); width: auto; }
}
