:root {
  --bg: #f6f6f4;
  --bg-2: #f0efec;
  --surface: #ffffff;
  --ink: #0f1a2e;
  --ink-2: #2a3548;
  --muted: #667085;
  --faint: #98a2b3;
  --line: #e8e6e3;
  --line-2: #dedcd8;
  --accent: #3f5bd9;
  --accent-2: #354fc4;
  --accent-soft: #eef2ff;
  --green: #0f9f6e;
  --green-2: #0b7f57;
  --green-soft: #ecfdf5;
  --orange: #d8890b;
  --orange-soft: #fff8eb;
  --red: #d92d20;
  --red-soft: #fef3f2;
  --navy: #0f1a2e;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 26, 46, 0.04), 0 10px 28px rgba(15, 26, 46, 0.05);
  --shadow-lg: 0 16px 48px rgba(15, 26, 46, 0.12);
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 15px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

button, input { font-family: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }

.app {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Topbar */
.topbar {
  height: 58px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 22px;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 40;
  flex: none;
}
.topbar-right { flex: none; }
.nav { min-width: 0; }
.brand { display: flex; flex-direction: column; min-width: 168px; line-height: 1.15; }
.brand-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.nav { display: flex; gap: 4px; flex: 1; }
.nav-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 8px;
}
.nav-link:hover { background: var(--bg); color: var(--ink); }
.nav-link.is-active { background: var(--accent-soft); color: var(--accent); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.role-switch {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 3px;
}
.role-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
}
.role-switch button.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15,26,46,.06);
}
.icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  position: relative;
}
.icon-btn .dot {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  border: 1.5px solid #fff;
}
.user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 6px;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  background: #dbe4ff;
  color: var(--accent);
}
.user-meta { display: flex; flex-direction: column; line-height: 1.2; }
.user-meta b { font-size: 12.5px; font-weight: 600; }
.user-meta span { font-size: 11px; color: var(--muted); }

/* Layout */
main { flex: 1; }
.view { display: none; padding: 28px 32px 48px; }
.view.is-on { display: block; }
.view-wide { padding: 0; height: calc(100vh - 58px); overflow: hidden; }
.wrap { max-width: 1180px; margin: 0 auto; }
.wrap-lg { max-width: 1280px; margin: 0 auto; }

.page-kicker {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.page-title { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.page-sub { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* Pills & buttons */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 550;
  border: 1px solid transparent;
}
.pill-wait { background: var(--orange-soft); color: #b45309; }
.pill-ok { background: var(--green-soft); color: var(--green-2); }
.pill-info { background: var(--accent-soft); color: var(--accent); }
.pill-warn { background: var(--red-soft); color: var(--red); }
.pill i {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 550;
  transition: .15s ease;
}
.btn-lg { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--bg); }
.btn-ghost { background: transparent; color: var(--accent); padding: 0 8px; }
.btn-approve { background: var(--green); color: #fff; }
.btn-approve:hover { background: var(--green-2); }
.btn-soft { background: var(--accent-soft); color: var(--accent); }
.btn:disabled { opacity: .5; cursor: default; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.grid-2 { display: grid; grid-template-columns: 1.55fr 0.9fr; gap: 20px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* Timeline */
.timeline-card { padding: 18px 20px 16px; margin-bottom: 18px; }
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-top: 6px;
}
.t-step {
  flex: 1;
  min-width: 92px;
  text-align: center;
  position: relative;
}
.t-step::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line-2);
}
.t-step:first-child::before { left: 50%; }
.t-step:last-child::before { right: 50%; }
.t-dot {
  width: 26px;
  height: 26px;
  margin: 0 auto 8px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: var(--green-soft);
  color: var(--green);
  border: 2px solid #bbf7d0;
}
.t-step.is-todo .t-dot {
  background: #fff;
  color: var(--faint);
  border-color: var(--line-2);
}
.t-step.is-current { min-width: 118px; }
.t-step.is-current .t-dot {
  width: 32px;
  height: 32px;
  margin-top: -3px;
  background: var(--orange-soft);
  color: var(--orange);
  border: 3px solid #fbbf24;
  box-shadow: 0 0 0 6px rgba(216, 137, 11, 0.12);
}
.t-label { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.t-step.is-current .t-label {
  color: var(--ink);
  font-weight: 650;
  font-size: 12.5px;
}

/* Action card */
.need-card { padding: 22px 24px; }
.need-card h2 { font-size: 20px; letter-spacing: -0.03em; margin-bottom: 8px; }
.need-card > p { color: var(--ink-2); line-height: 1.55; margin-bottom: 18px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.metric {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 12px 11px;
}
.metric span { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.metric b { font-size: 20px; letter-spacing: -0.03em; font-weight: 600; }
.metric.alert b { color: var(--orange); }
.next { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.next h3 { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.steps { display: grid; gap: 8px; }
.step {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink-2);
  font-size: 13.5px;
}
.num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 650;
  flex: none;
}

/* AI side card */
.ai-card { padding: 18px 18px 16px; }
.ai-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.spark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.ai-head h3 { font-size: 14.5px; font-weight: 600; }
.ai-head p { font-size: 12px; color: var(--muted); margin-top: 1px; }
.ai-card .body { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.suggest {
  margin-top: 14px;
  padding: 12px;
  background: var(--bg);
  border-radius: 10px;
}
.suggest-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.suggest p { font-size: 13.5px; line-height: 1.55; }

/* Project cards */
.project-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.project-hero {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: inherit;
}
.project-hero img { height: 210px; width: 100%; object-fit: cover; }
.project-hero .pad { padding: 18px 20px 20px; }
.project-hero h3 { font-size: 20px; letter-spacing: -0.03em; margin: 8px 0 6px; }
.project-hero p { color: var(--muted); font-size: 13.5px; }
.side-list { display: grid; gap: 12px; }
.mini-project {
  display: flex;
  gap: 12px;
  padding: 12px;
  text-align: left;
  width: 100%;
  color: inherit;
}
.thumb {
  width: 64px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-2);
  flex: none;
}
.mini-project h4 { font-size: 14px; margin-bottom: 4px; }
.mini-project p { font-size: 12.5px; color: var(--muted); }

/* Review */
.review-shell {
  display: grid;
  grid-template-columns: 1fr 380px;
  height: 100%;
}
.review-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #eceae6;
}
.review-bar {
  height: 58px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  gap: 12px;
}
.review-bar h1 { font-size: 15px; font-weight: 600; }
.review-bar .sub { font-size: 12.5px; color: var(--muted); }
.bar-actions { display: flex; gap: 8px; align-items: center; }
.canvas {
  flex: 1;
  overflow: auto;
  padding: 28px 32px 40px;
}
.canvas-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}

.site-frame {
  width: min(980px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  transform-origin: top center;
}

/* Villa website mock */
.site { background: #f7f3ee; color: #231c16; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(247, 243, 238, 0.92);
  position: relative;
}
.site-logo {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.site-links { display: flex; gap: 18px; font-size: 12.5px; color: #5b5148; }
.site.is-nav .site-links .extra { display: none; }
.site-book {
  border: 1px solid #231c16;
  background: transparent;
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.hero {
  position: relative;
  margin: 0 28px 28px;
  height: 390px;
  overflow: hidden;
  transition: height .4s ease, margin .4s ease;
}
.site.is-hero .hero {
  margin: 0;
  height: 460px;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .5s ease;
}
.site.is-hero .hero img { transform: scale(1.12); }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 20, 14, 0.55) 0%, rgba(28,20,14,.18) 55%, rgba(28,20,14,.08) 100%);
}
.hero-copy {
  position: absolute;
  left: 48px;
  right: 40px;
  bottom: 42px;
  max-width: 520px;
  color: #fff;
  transition: left .4s ease, bottom .4s ease, max-width .4s ease;
}
.site.is-hero .hero-copy {
  left: 36px;
  bottom: 36px;
  max-width: 480px;
}
.hero-copy h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.hero-copy p {
  font-size: 14px;
  line-height: 1.5;
  opacity: .92;
  margin-bottom: 18px;
  max-width: 420px;
}
.site.is-hero .hero-copy p { margin-bottom: 12px; }
.cta-hero {
  height: 40px;
  padding: 0 16px;
  border: 0;
  background: #2f6fed;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: background .25s ease, color .25s ease;
}
.site.is-cta .cta-hero {
  background: #d9cfc3;
  color: #231c16;
}

.villas { padding: 8px 28px 28px; }
.villas h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 14px;
}
.villa-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.villa-card img { height: 124px; width: 100%; object-fit: cover; }
.villa-card figcaption { padding: 8px 2px 0; font-size: 12.5px; }
.villa-card span { display: block; color: #7a7168; font-size: 11.5px; margin-top: 2px; }

.quotes {
  margin: 0 28px 28px;
  padding: 20px 22px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.quotes q { font-family: var(--serif); font-size: 18px; font-style: normal; display: block; margin-bottom: 8px; }
.quotes span { font-size: 12px; color: #7a7168; }

.site-foot {
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #7a7168;
  border-top: 1px solid #e7e0d6;
}

/* Pins */
.pin {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  border: 2px solid #fff;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(63,91,217,.35);
  z-index: 3;
  display: grid;
  place-items: center;
}
.pin span { transform: rotate(45deg); }
.pin.is-on { background: var(--ink); }
.pin-1 { top: 46%; right: 18%; }
.pin-2 { bottom: 58px; left: 210px; }
.site.is-hero .pin-2 { bottom: 48px; left: 196px; }
.pin-3 { top: 18px; left: 46%; }

/* Sidebar */
.sidebar {
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.side-block {
  padding: 16px 16px 8px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.side-block h3 { font-size: 13px; font-weight: 650; margin-bottom: 12px; }
.comment {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 11px 12px;
  margin-bottom: 8px;
  color: inherit;
}
.comment:hover { border-color: #c7d2fe; }
.comment.is-on {
  border-color: var(--accent);
  background: #f8f9ff;
}
.comment-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.tag {
  font-size: 11px;
  font-weight: 650;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 7px;
  border-radius: 999px;
}
.comment p { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.who { font-size: 11.5px; color: var(--muted); }

.assist { padding: 16px; flex: none; background: #fbfbfd; }
.assist-title { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.assist-title h3 { font-size: 14.5px; }
.assist-title p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.understand, .changes { margin-bottom: 14px; }
.lbl {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.understand p, .changes li { font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.changes { list-style: none; padding: 0; margin: 0 0 14px; }
.changes li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.changes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.eta { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.assist-actions { display: flex; gap: 8px; }

/* Designer */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { padding: 14px 16px; }
.stat span { font-size: 12px; color: var(--muted); display: block; margin-bottom: 4px; }
.stat b { font-size: 24px; letter-spacing: -0.04em; }
.change-list { padding: 6px 0; }
.change {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.change:last-child { border-bottom: 0; }
.check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-size: 11px; flex: none;
}
.warn {
  padding: 16px 18px;
  border: 1px solid #f2c8c5;
  background: var(--red-soft);
  border-radius: 12px;
  margin-top: 16px;
}
.warn h3 { font-size: 14.5px; margin-bottom: 12px; color: var(--red); }
.conflict { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.quote-box {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #f0d7d4;
}
.quote-box span { font-size: 11.5px; color: var(--muted); display: block; margin-bottom: 4px; }
.quote-box p { font-size: 13.5px; }
.ai-note {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Activity / settings / health / story */
.feed { padding: 4px 0; }
.feed-item {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.feed-item:last-child { border-bottom: 0; }
.dot-sm { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: var(--accent); }
.feed-item p { font-size: 14px; }
.feed-item span, .time { font-size: 12px; color: var(--muted); }

.set-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.set-row:last-child { border-bottom: 0; }
.set-row b { font-size: 14px; display: block; }
.set-row p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.toggle {
  width: 36px; height: 22px; background: var(--accent); border-radius: 99px; position: relative;
}
.toggle::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px; background: #fff; border-radius: 50%;
  top: 3px; right: 3px;
}

.health-hero { padding: 22px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.health-hero h2 { font-size: 22px; margin: 6px 0 8px; }
.big-ok { font-size: 15px; color: var(--green-2); font-weight: 600; }
.issue { padding: 18px 20px; }
.issue h3 { margin-bottom: 12px; }

.story {
  max-width: 820px;
  margin: 48px auto 0;
  text-align: left;
}
.story-lines {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.18;
  margin-bottom: 28px;
}
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 28px; }
.story-card { padding: 18px; }
.story-card h3 { font-size: 14px; margin-bottom: 8px; }
.story-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.points { display: grid; gap: 10px; }
.point { padding: 16px 18px; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.point b { display: block; margin-bottom: 4px; }
.point p { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }

/* Modals */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 46, 0.42);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 24px;
  overflow: auto;
}
.overlay.is-on { display: flex; }
.modal {
  background: #fff;
  border-radius: 16px;
  width: min(560px, 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal-lg { width: min(1080px, 100%); max-height: 92vh; overflow: auto; }
.modal-h { padding: 18px 20px 0; display: flex; justify-content: space-between; align-items: flex-start; }
.modal-h h2 { font-size: 18px; }
.modal-h p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.close {
  border: 0; background: var(--bg); width: 30px; height: 30px; border-radius: 8px; color: var(--ink-2);
}
.modal-b { padding: 16px 20px 20px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.facts div { background: var(--bg); border-radius: 10px; padding: 12px; }
.facts span { font-size: 12px; color: var(--muted); display: block; }
.facts b { font-size: 15px; }
.mail {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fafafa;
  font-size: 13.5px;
  line-height: 1.6;
}
.mail .subj { font-weight: 600; margin-bottom: 10px; }
.mail-cta {
  display: inline-block;
  margin-top: 10px;
  background: var(--accent);
  color: #fff;
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 12.5px;
}
.modal-f { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.split-col h4 {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.mini-site {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7f3ee;
  height: 430px;
}
.mini-hero { height: 250px; position: relative; overflow: hidden; }
.mini-hero img { width: 100%; height: 100%; object-fit: cover; }
.mini-hero .copy {
  position: absolute; left: 22px; bottom: 22px; right: 20px; color: #fff;
}
.mini-hero .copy b {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 6px;
}
.mini-hero .copy span { font-size: 11px; opacity: .9; display: block; margin-bottom: 10px; }
.mini-cta {
  display: inline-block;
  background: #2f6fed;
  color: #fff;
  font-size: 11px;
  padding: 7px 10px;
}
.after .mini-hero { height: 290px; }
.after .mini-hero img { transform: scale(1.14); transform-origin: center; }
.after .copy { left: 16px; bottom: 16px; max-width: 70%; }
.after .copy span { margin-bottom: 6px; }
.after .mini-cta { background: #d9cfc3; color: #231c16; }
.diff {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 0;
}
.chip {
  font-size: 12px;
  background: var(--green-soft);
  color: var(--green-2);
  padding: 4px 8px;
  border-radius: 999px;
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 100;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.success {
  text-align: center;
  padding: 28px 20px 8px;
}
.success .mark {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; margin: 0 auto 12px; font-size: 22px;
}

.hidden { display: none !important; }

@media (max-width: 1100px) {
  .grid-2, .review-shell, .project-grid, .split, .story-grid { grid-template-columns: 1fr; }
  .review-shell { height: auto; }
  .view-wide { height: auto; overflow: visible; }
  .stats, .metrics, .conflict { grid-template-columns: 1fr 1fr; }
}
