:root {
  --coral: #ff5a4f;
  --coral-deep: #e03d34;
  --sun: #ffd166;
  --teal: #06d6a0;
  --teal-deep: #059e76;
  --sky: #118ab2;
  --navy: #073b4c;
  --ink: #16120e;
  --cream: #f6eee3;
  --peach: #ffd8c2;
  --raspberry: #c44569;
  --paper: #fffaf3;
  --muted: #5e564c;
  --line: #eadfd4;
  --shadow: 0 18px 50px rgba(7, 59, 76, 0.18);
  --radius: 18px;
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --font-display-old: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 18px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); }
a:hover { color: var(--coral-deep); }
button, input, textarea, select { font: inherit; }

.wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}
.wrap-wide { width: min(1320px, calc(100% - 28px)); margin: 0 auto; }

/* Wordmark */
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.wordmark img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center;
  background: #000;
  border-radius: 12px;
}
.wordmark .name span { color: inherit; }
.wordmark-foot { display: block; }
.wordmark-foot img.logo-full {
  width: min(260px, 100%);
  height: auto;
  background: #000;
  border-radius: 16px;
}
.wordmark .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
  line-height: 1;
}
.wordmark .name span { color: inherit; }
.wordmark .llc {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 238, 227, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7, 59, 76, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.nav-toggle {
  display: none;
  background: var(--navy);
  color: var(--cream);
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 16px;
}
.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}
.site-nav a:hover, .site-nav a.active { color: var(--coral-deep); }
.site-nav a.btn { color: white; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--coral);
  color: white !important;
  text-decoration: none;
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--navy);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); color: white !important; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--navy); }
.btn-navy { background: var(--navy); box-shadow: 0 5px 0 #041e27; }
.btn-teal { background: var(--teal-deep); box-shadow: 0 5px 0 var(--navy); }
.btn-sun { background: var(--sun); color: var(--navy) !important; box-shadow: 0 5px 0 var(--navy); }
.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  box-shadow: none;
  border: 2px solid var(--navy);
}
.btn-ghost.light { color: var(--cream) !important; border-color: var(--cream); }

.kicker {
  display: inline-block;
  background: var(--sun);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.kicker.dark { background: var(--navy); color: var(--sun); }
.kicker.rasp { background: var(--raspberry); color: white; }

/* ===== HERO (photography-first, not a 2-col landing) ===== */
.hero-bleed {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
  background: #1a0e0c;
}
.hero-bleed .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(1.05);
  transform: scale(1.04);
}
.hero-bleed .veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,59,76,0.78) 0%, rgba(7,59,76,0.35) 48%, rgba(28,12,10,0.25) 100%),
    linear-gradient(180deg, rgba(7,59,76,0.15) 0%, rgba(7,59,76,0.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: end;
  padding: 88px 0 56px;
}
.hero-bleed h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.2vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
  max-width: 14ch;
}
.hero-bleed h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--sun);
}
.hero-bleed .lede {
  font-size: 1.12rem;
  max-width: 38ch;
  margin: 0 0 24px;
  color: rgba(255,248,240,0.9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.photo-stack {
  position: relative;
  height: 420px;
  margin-bottom: 12px;
}
.photo-stack figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 4px solid #fff8f0;
  box-shadow: var(--shadow);
  background: #222;
}
.photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.photo-stack figure:hover img { transform: scale(1.06); }
.photo-stack .p1 {
  width: 68%;
  height: 78%;
  right: 4%;
  top: 0;
  rotate: 3.5deg;
  z-index: 2;
  border-radius: 6px 28px 6px 28px;
}
.photo-stack .p2 {
  width: 46%;
  height: 52%;
  left: 0;
  bottom: 8%;
  rotate: -7deg;
  z-index: 3;
  border-radius: 22px 6px 22px 6px;
}
.photo-stack .p3 {
  width: 38%;
  height: 40%;
  right: 8%;
  bottom: -6%;
  rotate: 6deg;
  z-index: 4;
  border-radius: 50% 8px 50% 8px;
}
.photo-stack figcaption {
  position: absolute;
  left: 10px;
  bottom: 8px;
  background: var(--navy);
  color: var(--sun);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
}

/* Marquee */
.marquee {
  background: var(--sun);
  color: var(--navy);
  overflow: hidden;
  border-top: 3px solid var(--navy);
  border-bottom: 3px solid var(--navy);
  padding: 12px 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee span { padding: 0 18px; white-space: nowrap; font-size: 0.95rem; }
.marquee span::before { content: "●"; color: var(--coral); margin-right: 18px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 72px 0; }
.section h2, .display {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--navy);
}
.section .sub, .lede-body {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 54ch;
  font-size: 1.08rem;
}
.pull {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 16px;
}
.band-navy { background: var(--navy); color: var(--cream); }
.band-navy h2, .band-navy .display, .band-navy .pull { color: var(--cream); }
.band-navy .sub { color: rgba(255,248,240,0.78); }
.band-sun { background: var(--sun); color: var(--navy); }
.band-peach { background: var(--peach); }
.band-coral {
  background: var(--coral);
  color: white;
}
.band-coral h2, .band-coral .display { color: white; }
.band-brick {
  position: relative;
  color: var(--cream);
  overflow: hidden;
}
.band-brick .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) saturate(0.9);
}
.band-brick .wrap { position: relative; z-index: 1; }
.band-brick h2, .band-brick .pull { color: var(--cream); }

/* Story split */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.overlap-pair {
  position: relative;
  min-height: 420px;
}
.overlap-pair img {
  object-fit: cover;
  box-shadow: var(--shadow);
}
.overlap-pair .big {
  width: 78%;
  height: 360px;
  border-radius: 8px 40px 8px 40px;
  border: 5px solid var(--paper);
}
.overlap-pair .small {
  position: absolute;
  width: 48%;
  height: 220px;
  right: 0;
  bottom: 0;
  border-radius: 80px 8px 80px 8px;
  border: 5px solid var(--sun);
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  background: var(--paper);
  border-radius: 4px 24px;
  overflow: hidden;
  border: 2px solid var(--navy);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease;
}
.step:hover { transform: translateY(-6px); }
.step .shot {
  height: 150px;
  overflow: hidden;
}
.step .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.step:hover .shot img { transform: scale(1.08); }
.step .body { padding: 16px 16px 20px; }
.step .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--coral);
  margin: 0 0 6px;
}
.step h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Cards (used on services too) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
  border: 2px solid var(--navy);
}
.card h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.card p { margin: 0; color: var(--muted); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.include-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.include-grid ul { margin: 0; padding-left: 1.15rem; }
.include-grid li { margin-bottom: 8px; }
.yes-list { border-top: 6px solid var(--teal); }
.no-list { border-top: 6px solid var(--coral); }

/* Work teaser */
.teaser {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 14px;
  align-items: stretch;
}
.teaser a {
  position: relative;
  display: block;
  overflow: hidden;
  color: white;
  text-decoration: none;
  min-height: 280px;
}
.teaser a:first-child { min-height: 420px; grid-row: span 2; }
.teaser img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.teaser a:hover img { transform: scale(1.07); }
.teaser .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(7,59,76,0.85));
  z-index: 1;
}
.teaser h3 {
  font-family: var(--font-display);
  margin: 6px 0 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: white;
}
.teaser-col {
  display: grid;
  gap: 14px;
}

/* SAMPLE badge */
.sample-badge {
  display: inline-block;
  background: var(--raspberry);
  color: white;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

/* Mini live-site samples */
.sample-block { margin: 0 0 64px; }
.mini-site {
  border: 3px solid var(--navy);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 14px 14px 0 var(--navy);
}
.mini-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ece7df;
  padding: 10px 14px;
  border-bottom: 2px solid var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.mini-chrome .dots { display: flex; gap: 6px; }
.mini-chrome .dots i {
  width: 10px; height: 10px; border-radius: 50%; display: block;
  background: #d0c8bc;
}
.mini-chrome .dots i:nth-child(1) { background: #ff5a4f; }
.mini-chrome .dots i:nth-child(2) { background: #ffd166; }
.mini-chrome .dots i:nth-child(3) { background: #06d6a0; }
.mini-chrome .url {
  flex: 1;
  background: white;
  border-radius: 999px;
  padding: 4px 12px;
  border: 1px solid #ddd;
}
.mini-hero {
  position: relative;
  min-height: 320px;
  color: white;
  display: grid;
  align-items: end;
}
.mini-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-hero .mh-copy {
  position: relative;
  z-index: 1;
  padding: 28px 28px 32px;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
}
.mini-hero h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  margin: 8px 0 6px;
  color: white;
}
.mini-hero p { margin: 0; max-width: 46ch; }
.mini-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  gap: 0;
}
.mini-body > div { padding: 22px 24px; }
.mini-body h4 {
  font-family: var(--font-display);
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}
.mini-body ul { margin: 0; padding-left: 1.1rem; }
.mini-body li { margin-bottom: 6px; }
.palette {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.palette i {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.15);
  display: block;
}
.case-note {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 22px;
  align-items: start;
}
.case-note h3 {
  font-family: var(--font-display);
  margin: 8px 0 8px;
  color: var(--navy);
  letter-spacing: -0.03em;
}

/* theme chips for mini sites */
.theme-cuts .mini-hero { min-height: 360px; }
.theme-cuts .svc { background: #073b4c; color: #fff8f0; }
.theme-cuts .hrs { background: #ffd166; color: #073b4c; }
.theme-cuts .cta-col { background: #fff8f0; }
.theme-roast .svc { background: #4a2c2a; color: #f6eee3; }
.theme-roast .hrs { background: #e8c39e; color: #4a2c2a; }
.theme-roast .cta-col { background: #faf4ea; }
.theme-shine .svc { background: #04313d; color: #e8fffa; }
.theme-shine .hrs { background: #06d6a0; color: #04313d; }
.theme-shine .cta-col { background: #f3fffb; }

.mini-cta {
  display: inline-flex;
  background: var(--navy);
  color: white !important;
  font-weight: 800;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  margin-top: 8px;
}
.theme-cuts .mini-cta { background: #ffd166; color: #073b4c !important; }
.theme-roast .mini-cta { background: #c44569; color: white !important; }
.theme-shine .mini-cta { background: #04313d; color: #06d6a0 !important; }

/* Pricing */
.price-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}
.price-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--navy);
  letter-spacing: -0.05em;
  margin: 0;
  line-height: 1;
}
.rules { padding-left: 1.2rem; }
.rules li { margin-bottom: 10px; }
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Forms */
form.intake label {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  margin: 12px 0 6px;
  color: var(--navy);
}
form.intake input,
form.intake textarea {
  width: 100%;
  border: 2px solid var(--navy);
  border-radius: 12px;
  padding: 11px 12px;
  background: white;
}
form.intake textarea { min-height: 110px; resize: vertical; }
form.intake .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
form.intake .hint {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 8px;
}
form.intake .actions { margin-top: 16px; margin-bottom: 4px; }
form.intake .actions + .hint { margin-top: 18px; }
.flash {
  background: #ffe3a3;
  border: 2px solid var(--navy);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  margin-bottom: 12px;
}
.intake-shell {
  background: var(--paper);
  border: 3px solid var(--navy);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 10px 10px 0 var(--navy);
}
.intake-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 14px;
  padding: 4px 16px;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  padding: 12px 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.faq details p { margin: 0 0 14px; color: var(--muted); }

/* Trust / pills */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  font-weight: 800;
}
.pill {
  position: relative;
  background: white;
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--navy);
  cursor: help;
}
.pill-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px);
  width: min(260px, 70vw);
  padding: 10px 12px;
  background: #073b4c;
  color: #fff8f0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(7, 59, 76, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 8;
  text-wrap: pretty;
}
.pill-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #073b4c;
}
.pill:hover .pill-tip,
.pill:focus .pill-tip,
.pill:focus-visible .pill-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #d7ecec;
  padding: 42px 0 22px;
  font-size: 0.95rem;
}
.site-footer a { color: var(--sun); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}
.site-footer .phone { font-size: 0.85rem; opacity: 0.85; }
.tiny-staff {
  font-size: 0.75rem;
  opacity: 0.55;
  color: #9bb8bf !important;
  text-decoration: none;
}
.tiny-staff:hover { opacity: 1; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 14px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Inner page heroes */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: grid;
  align-items: end;
  color: var(--cream);
  background: var(--navy);
}
.page-hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.05);
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 72px 0 40px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 0 10px;
  max-width: 16ch;
  color: var(--cream);
}
.page-hero p { max-width: 48ch; margin: 0; color: rgba(255,248,240,0.88); }
.page-hero a { color: var(--sun); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}

/* Thanks */
.thanks-box {
  max-width: 640px;
  margin: 48px auto;
  background: white;
  border: 4px solid var(--navy);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 10px 10px 0 var(--teal);
  text-align: center;
}
.thanks-box h1 {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.03em;
}
.thanks-next {
  text-align: left;
  margin: 28px 0 8px;
  padding: 18px 20px;
  background: var(--cream);
  border-radius: 16px;
}
.thanks-next h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}
.thanks-next ol {
  margin: 0;
  padding-left: 1.2em;
}
.thanks-next li { margin: 0 0 10px; }
.thanks-next li:last-child { margin-bottom: 0; }
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 22px 0 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* Admin (do not break CRM chrome) */
body.admin { background: #f7ebe4; }
.admin-bar {
  background: #0f766e;
  color: #fff8f0;
  padding: 10px 0;
}
.admin-bar .header-inner {
  padding: 0;
  min-height: 40px;
}
.admin-bar a { color: #ffd8c2; text-decoration: none; font-weight: 800; }
.admin-bar a:hover { color: #fff; }
.crm-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #fff8f0;
}
.crm-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #ffd8c2;
  flex-shrink: 0;
}
.admin-bar a.crm-brand { color: #fff8f0; }
.admin-bar a.crm-brand:hover { color: #ffd8c2; }

.crm-ribbon {
  display: flex;
  height: 96px;
  overflow: hidden;
  gap: 0;
  padding: 6px 8px 8px;
  background: #0f766e;
  border-bottom: 4px solid #ffd8c2;
}
.crm-ribbon img {
  position: relative;
  flex: 1 0 12%;
  min-width: 92px;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #fff8f0;
  margin-left: -8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
  transform: rotate(-1.2deg);
}
.crm-ribbon img:first-child { margin-left: 0; }
.crm-ribbon img:nth-child(even) {
  transform: rotate(1.6deg);
  z-index: 1;
}
.crm-ribbon img:nth-child(3n) { transform: rotate(-0.6deg); }

.crm-kicker {
  margin: 0 0 6px;
  color: #0f766e;
  font-weight: 800;
  font-size: 0.95rem;
}
.crm-hello {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 4px;
}
.crm-hello h2 { margin-bottom: 0; }
.crm-hello .sub { margin-top: 6px; }
.crm-hello-stack {
  position: relative;
  width: 168px;
  height: 76px;
  flex-shrink: 0;
}
.crm-hello-stack img {
  position: absolute;
  width: 74px;
  height: 74px;
  object-fit: cover;
  max-width: none;
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(15,118,110,0.22);
}
.crm-hello-stack img:nth-child(1) { left: 0; top: 4px; rotate: -8deg; z-index: 1; }
.crm-hello-stack img:nth-child(2) { left: 46px; top: 0; rotate: 5deg; z-index: 2; }
.crm-hello-stack img:nth-child(3) { left: 94px; top: 6px; rotate: -3deg; z-index: 3; }

.crm-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.crm-page-head h2 { margin: 0; }
.crm-chip {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.crm-chip img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  max-width: none;
  border-radius: 10px;
  border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(15,118,110,0.18);
  rotate: -4deg;
}
.crm-chip img:nth-child(2) { rotate: 4deg; }
.crm-chip img:nth-child(3) { rotate: -2deg; }

body.admin .panel,
body.admin .profile .panel { border-color: #0f766e; }
body.admin .search-bar input,
body.admin .list-tools select,
body.admin .search-live,
body.admin .profile textarea,
body.admin .profile select { border-color: #0f766e; }
body.admin table.leads tr.group-row th { background: #0f766e; }
body.admin .notes-panel h3,
body.admin .task-builder-title,
body.admin .overview-day-label { color: #0f766e; }

.login-box {
  max-width: 420px;
  margin: 48px auto;
  background: white;
  border: 4px solid #0f766e;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 8px 8px 0 #ffd8c2;
}
.login-box h1 {
  font-family: var(--font-serif);
  margin-top: 0;
  color: #0f766e;
}
body.admin.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background: #1a3c38;
  position: relative;
}
.login-scene {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  z-index: 0;
}
.login-scene img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.login-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(15,118,110,0.78) 0%, rgba(26,12,10,0.42) 52%, rgba(255,216,194,0.28) 100%);
}
body.admin.admin-login .login-box {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(420px, 100%);
}
.login-brand.crm-brand {
  margin: 0 0 12px;
  color: #0f766e;
}
.login-brand img {
  width: 40px;
  height: 40px;
  background: #ffd8c2;
}

@media (max-width: 860px) {
  .crm-ribbon { height: 88px; }
  .crm-hello-stack,
  .crm-chip { display: none; }
}
.search-bar {
  display: flex;
  gap: 8px;
  margin: 18px 0 22px;
}
.search-bar input {
  flex: 1;
  border: 2px solid var(--navy);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}
.list-scroll {
  max-height: min(560px, 65vh);
  overflow: auto;
}
table.leads {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 3px solid var(--navy);
  border-radius: 16px;
  overflow: hidden;
}
table.leads th, table.leads td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
body.admin table.leads { border-color: #0f766e; }
body.admin table.leads th { background: #ffd8c2; color: #1a3c38; }
body.admin table.leads tr:hover td { background: #fff1e8; }
table.leads tr:hover td { background: #fff6ea; }
table.leads a { font-weight: 800; color: var(--navy); }
.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.task-card .badge {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge.new { background: #d9f5ff; color: #0a5a78; }
.badge.quoted { background: var(--sun); color: var(--navy); }
.badge.in_process { background: #d7e8ff; color: #1a4a8a; }
.badge.need_info { background: #ffd8c2; color: #8a3b12; }
.badge.awaiting_approval { background: #ffd166; color: #073b4c; }
.badge.invoice_pending { background: #ff5a4f; color: #fff; }
.badge.closed_out { background: #c8f5e4; color: #0b6b4f; }
.badge.denied,
.badge.denied_customer,
.badge.denied_us { background: #ffd4d0; color: #8a1f18; }
.badge.yes { background: #c8f5e4; color: #0b6b4f; }
.badge.no { background: #ffd4d0; color: #8a1f18; }
.profile {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}
.profile .panel {
  background: white;
  border: 3px solid var(--navy);
  border-radius: 16px;
  padding: 20px;
}
.profile dt { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.profile dd { margin: 0 0 14px; font-size: 1.05rem; }
.profile textarea, .profile select {
  width: 100%;
  font: inherit;
  border: 2px solid var(--navy);
  border-radius: 10px;
  padding: 10px;
}
.error { color: var(--coral-deep); font-weight: 800; }


/* Notes thread (admin CRM chrome only; logic lives in templates/app.py) */
.notes-panel { grid-column: 1 / -1; }
.notes-panel h3 {
  font-family: var(--font-serif);
  margin: 0 0 6px;
  color: var(--navy);
}
.thread-hint { color: var(--muted); font-size: 0.9rem; margin: 0 0 12px; }
.notes-thread { list-style: none; padding: 0; margin: 0 0 18px; }
.note-msg {
  border-left: 4px solid var(--sun);
  padding: 10px 12px;
  margin-bottom: 10px;
  background: #fff8f0;
  border-radius: 0 10px 10px 0;
}
.note-msg .when {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
}
.note-msg .body { margin: 4px 0 0; white-space: pre-wrap; }
.note-empty { color: var(--muted); list-style: none; padding: 8px 0; }
.add-note textarea { min-height: 96px; }
.flash.error { background: #ffd4d0; color: #8a1f18; }


@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .photo-stack img, .teaser img, .step .shot img { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 960px) {
  .hero-inner, .story-grid, .process, .cards, .price-hero,
  .intake-layout, .contact-grid, .include-grid, .split-2,
  .mini-body, .case-note, .foot-grid, .profile, form.intake .row, .teaser {
    grid-template-columns: 1fr;
  }
  .teaser a:first-child { min-height: 280px; grid-row: auto; }
  .photo-stack { height: 300px; margin-top: 12px; }
  .overlap-pair { min-height: 340px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 3px solid var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
  }
  .site-nav.open { display: flex; }
  .site-header { position: relative; }
  .site-nav a { padding: 8px 0; }
  table.leads { display: block; overflow-x: auto; }
  .hero-bleed h1 { max-width: none; }
  .mini-site { box-shadow: 6px 6px 0 var(--navy); }
  .hero-bleed { min-height: 0; }
  .hero-inner { padding: 48px 0 36px; }
}

/* Customer header login (top-right of public nav) */
.site-nav a.header-login {
  margin-left: 6px;
  padding: 8px 14px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.88rem;
}
.site-nav a.header-login:hover,
.site-nav a.header-login.active {
  background: var(--navy);
  color: var(--cream);
}

.auth-wrap { max-width: 560px; margin: 0 auto; }
.auth-title {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.account-wrap { max-width: 860px; }
.account-grid {
  display: grid;
  gap: 18px;
}
.account-wrap .panel,
.account-grid .panel {
  background: white;
  border: 3px solid var(--navy);
  border-radius: 16px;
  padding: 20px;
}
.account-wrap h2 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 8px;
}
.status-plain { font-size: 1.15rem; margin: 0 0 12px; }
.account-meta dt {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.account-meta dd { margin: 0 0 10px; }

.note-msg .who {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 8px;
  color: var(--navy);
}
.note-msg.author-customer {
  border-left-color: var(--teal);
  background: #eefbf6;
}
.note-msg.author-staff { border-left-color: var(--sun); }

.thread-tabs {
  display: flex;
  gap: 4px;
  margin: -20px -20px 18px;
  padding: 8px 12px 0;
  border-bottom: 3px solid #0f766e;
  background: #ffe4d6;
  border-radius: 13px 13px 0 0;
}
.thread-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 12px;
  font-weight: 800;
  color: #1a3c38;
  text-decoration: none;
  border: 3px solid transparent;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  margin-bottom: -3px;
}
.thread-tab:hover { color: #c44569; }
.thread-tab.active {
  background: white;
  border-color: #0f766e;
  border-bottom: 3px solid white;
  color: #0f766e;
}
.tab-badge,
.list-unread {
  display: inline-flex;
  min-width: 1.25em;
  height: 1.25em;
  padding: 0 6px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--coral);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}
.list-unread {
  margin-left: 8px;
  vertical-align: middle;
}
.list-unread-tasks { background: var(--teal-deep); }

.pref-field {
  border: 2px solid var(--navy);
  border-radius: 12px;
  padding: 12px 14px 8px;
  margin: 0 0 14px;
  background: #fff8f0;
}
.pref-field legend {
  font-weight: 800;
  color: var(--navy);
  padding: 0 6px;
}
.pref-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 6px 0 8px;
}
.pref-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
}
.pref-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #d9f5ff;
  color: #0a5a78;
}
.pref-pill.pref-phone { background: var(--sun); color: var(--navy); }

.task-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.task-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #fff8f0;
  border: 3px solid var(--navy);
  border-radius: 14px;
}
.task-final-form { margin: 0; }
.task-final-hint {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.task-builder {
  margin: 0 0 22px;
  padding: 16px 16px 8px;
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 14px;
}
.task-builder-title {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 12px;
  font-size: 1.15rem;
}
.task-builder-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .task-builder-row { grid-template-columns: 1fr; }
}
.task-quick-label {
  display: block;
  font-weight: 800;
  margin: 0 0 8px;
}
.task-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.task-quick button {
  font-size: 0.9rem;
  padding: 8px 12px;
}
.task-quick button.active {
  background: var(--teal);
  color: var(--navy);
}
.task-list { list-style: none; padding: 0; margin: 0 0 18px; }
.task-list-wrap,
.thread-scroll {
  max-height: min(420px, 50vh);
  overflow: auto;
  border: 3px solid var(--navy);
  border-radius: 14px;
  padding: 8px;
  margin: 0 0 18px;
  background: #fff;
}
.thread-scroll .notes-thread { margin: 0; }
.admin .thread-scroll .note-msg {
  padding: 7px 10px;
  margin-bottom: 6px;
  border-radius: 0 8px 8px 0;
}
.admin .thread-scroll .note-msg .body { margin: 2px 0 0; font-size: 0.95rem; }
.admin .thread-scroll .unsend-btn { margin-top: 4px; }
.admin .overview-item {
  border-width: 2px;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
}
.admin .overview-item .body { margin: 4px 0 0; font-size: 0.92rem; }
.admin .overview-day { margin: 0 0 12px; }
.admin .overview-day:last-child { margin-bottom: 0; }
.admin .overview-day-label { font-size: 0.95rem; margin: 0 0 6px; }
.task-list-wrap .task-list { margin: 0; }
.task-card {
  position: relative;
  border: 2px solid var(--navy);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 8px;
  background: #fff8f0;
}
.task-card.open { border-color: var(--coral); padding-right: 36px; }
.task-card:last-child { margin-bottom: 0; }
.admin .task-head { margin-bottom: 2px; gap: 6px; }
.admin .task-head strong { font-size: 0.98rem; }
.admin .task-body { margin: 0 0 4px; font-size: 0.92rem; }
.admin .task-card .hint { margin: 0; font-size: 0.82rem; }
.admin .task-done-form { margin: 0 0 0 auto; }
.admin .task-done-form .btn {
  padding: 4px 10px;
  font-size: 0.8rem;
  min-width: 0;
}
.task-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  margin: 0;
}
.task-delete button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}
.task-delete button:hover { background: #ffd4d0; color: #8a1f18; }
.task-card.done { opacity: 0.82; background: #f3efe8; }
.task-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.task-kind {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.task-body { margin: 0 0 8px; }
.cred-dl { margin: 8px 0 0; }
.cred-dl dt {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.cred-dl dd { margin: 0 0 8px; }
.cred-dl code {
  font-size: 0.95rem;
  background: white;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.btn-approve {
  background: var(--teal);
  border-color: var(--navy);
  font-size: 1.15rem;
  padding: 14px 28px;
  min-width: 180px;
}
.done-heading {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 18px 0 8px;
  font-size: 1.1rem;
}
.tasks-panel { grid-column: 1 / -1; }

.passkey-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.passkey-block .btn { margin-bottom: 8px; }

.approve-confirm {
  margin-top: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 14px;
  text-align: left;
}
.approve-close-line {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 10px;
}
.approve-confirm p { margin: 0 0 8px; }
.approve-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
.approve-confirm-actions form { margin: 0; }
.approve-page { text-align: left; }
.approve-page h1 { text-align: left; }
.price-num + p strong { color: var(--navy); }

table.leads tr.row-invoice-pending td {
  background: #ff5a4f;
  color: #fff;
  font-weight: 800;
}
table.leads tr.row-invoice-pending:hover td { background: #e03d34; }
table.leads tr.row-invoice-pending a { color: #fff; }
table.leads tr.row-invoice-pending .badge.invoice_pending {
  background: #fff;
  color: #c1121f;
}
.invoice-pending-banner {
  background: #ff5a4f;
  color: #fff;
  border: 3px solid var(--navy);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 800;
  margin: 0 0 16px;
}

.faq-page h2 { margin-top: 28px; }
.faq-page h2:first-child { margin-top: 0; }
.faq-more { margin-top: 28px; }

.search-live-wrap { position: relative; flex: 1; min-width: 0; }
.search-bar-live { align-items: flex-start; }
.search-live {
  position: absolute;
  left: 0; right: 0; top: 100%;
  z-index: 20;
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 14px;
  margin-top: 6px;
  box-shadow: 0 12px 30px rgba(7,59,76,0.16);
  max-height: 360px;
  overflow: auto;
}
.search-hit {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.search-hit:last-child { border-bottom: 0; }
.search-hit:hover { background: #fff6ea; }
.search-hit-top { display: block; font-size: 0.95rem; }
.search-hit-top strong { color: var(--navy); }
.search-hit-src {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-hit-quote {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2px;
}
.search-fuzzy {
  margin-left: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #8a3b12;
  background: #ffd8c2;
  border-radius: 999px;
  padding: 1px 8px;
}
.search-empty { margin: 0; padding: 12px 14px; color: var(--muted); }
.list-tools { margin: 0 0 16px; }
.list-tools label { font-weight: 800; font-size: 0.9rem; }
.list-tools select {
  margin-left: 8px;
  border: 2px solid var(--navy);
  border-radius: 10px;
  padding: 6px 10px;
  font: inherit;
}
table.leads th a { color: var(--navy); text-decoration: none; }
table.leads th a:hover { text-decoration: underline; }
table.leads tr.group-row th {
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
}
table.leads tr.match-row td {
  background: #f7fbff;
  color: var(--muted);
  font-size: 0.88rem;
  padding-top: 0;
  border-bottom: 1px solid var(--line);
}
.match-src {
  font-weight: 800;
  color: var(--navy);
  margin-right: 8px;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.unsend-btn {
  margin-top: 8px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--coral-deep);
  cursor: pointer;
  text-decoration: underline;
}
.unsend-btn:hover { color: #8a1f18; }
.note-msg.unsent {
  opacity: 0.55;
  background: #f3efe8;
  border-left-color: #c4b8aa;
}
.unsent-flag {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.chat-locked {
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
}
.closeout-banner {
  background: #073b4c;
  color: #fff;
  border: 3px solid var(--navy);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 800;
  margin: 0 0 16px;
}
.closeout-banner.locked { background: #5e564c; }

.overview-day { margin: 0 0 18px; }
.overview-day-label {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.overview-list { list-style: none; padding: 0; margin: 0; }
.overview-item {
  border: 3px solid var(--navy);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: #fff8f0;
}
.overview-item .overview-kind {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}
.overview-item .when { color: var(--muted); font-size: 0.9rem; }
.overview-item .body { margin: 6px 0 0; }
.overview-item.kind-status { background: #fff; }
.overview-item.kind-task_sent { border-color: var(--teal-deep); }
.overview-item.kind-task_done { opacity: 0.88; }
.overview-item.kind-note { background: #fff8f0; }
.overview-item.kind-profile { border-color: var(--coral); background: #fff5f4; }
.overview-item.unread {
  box-shadow: inset 4px 0 0 var(--coral);
  border-color: var(--coral);
}
.charge-edit { border: 2px solid #eadfd6; border-radius: 14px; padding: 14px 16px; margin: 0 0 6px; background: #fff; }
.charge-edit textarea { width: 100%; min-height: 4.5rem; }
.charge-when { max-width: 12rem; }
.charge-del { margin: 0 0 18px; }
.plan-pick { margin: 0 0 12px; }


.denied-banner {
  background: #5e564c;
  color: #fff;
  border: 3px solid var(--navy);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 800;
  margin: 0 0 16px;
}
table.leads tr.row-denied td {
  background: #ece8e2;
  color: #5e564c;
}
table.leads tr.row-denied:hover td { background: #e0dbd3; }
table.leads tr.row-denied a { color: #5e564c; }

.overview-item.kind-task_deleted { opacity: 0.78; background: #f3efe8; }

.acct-pill {
  display: inline-block;
  margin-left: 8px;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  vertical-align: middle;
}
.acct-pill.yes { background: #d1fae5; color: #065f46; }
.acct-pill.no { background: #f3f4f6; color: #4b5563; }
.admin dd .acct-pill { margin-left: 0; }
.admin dd .hint { font-weight: 600; color: #6b5b4f; }

.invite-form { display: inline-block; margin: 8px 0 0; }
.invite-form .btn { font-size: 0.85rem; padding: 6px 12px; }

.site-url-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.site-url-form input { min-width: 180px; flex: 1; }
.plan-options { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.price-extra-h { margin: 28px 0 8px; font-size: 1.05rem; }
.charge-edit { border: 2px solid #eadfd6; border-radius: 14px; padding: 14px 16px; margin: 0 0 6px; background: #fff; }
.charge-edit textarea { width: 100%; min-height: 4.5rem; }
.charge-when { max-width: 12rem; }
.charge-del { margin: 0 0 18px; }
.charge-del { margin: 0; }

.pricing-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.plans-panel { border: 2px solid #0f766e; border-radius: 14px; padding: 14px 16px; margin: 0 0 22px; background: #f4fffb; }
.plan-edit { border: 2px solid #eadfd6; border-radius: 14px; padding: 14px 16px; margin: 0 0 6px; background: #fff; }
.plan-row-actions { display: flex; gap: 8px; margin: 0 0 16px; }
.charge-row {
  display: flex; gap: 12px; justify-content: space-between; align-items: flex-start;
  border: 2px solid #eadfd6; border-radius: 14px; padding: 12px 14px; margin: 0 0 10px; background: #fff;
}
.charge-row-main { flex: 1; min-width: 0; }
.charge-row-main strong { display: block; margin: 2px 0; }
.charge-row-main .body { margin: 6px 0 0; font-size: 0.92rem; }
.charge-kind {
  display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em;
  background: #ecfdf5; color: #0f766e; border-radius: 999px; padding: 2px 8px;
}
.charge-amt { font-weight: 800; margin-right: 8px; }
.charge-row-actions { display: flex; gap: 8px; flex-shrink: 0; }
.charge-row-actions form { margin: 0; }

.account-subnav { display: flex; gap: 16px; font-weight: 800; margin: 0 0 18px; }
.account-subnav span { color: var(--navy); }
.sub-dl { display: grid; grid-template-columns: 8rem 1fr; gap: 6px 14px; margin: 0 0 18px; }
.sub-dl dt { color: var(--muted); font-weight: 700; }
.sub-dl dd { margin: 0; }
.sub-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.sub-plan-form { margin: 0 0 16px; }
