/* ===== TALVERA LLC — Global Styles ===== */
:root {
  --primary: #2A1520;
  --accent: #C2543F;
  --accent-dark: #A34330;
  --secondary: #3D2130;
  --highlight: #A8B89A;
  --highlight-dark: #6F7E62;
  --light-bg: #F7F3EE;
  --white: #FFFFFF;
  --text-dark: #1A0D14;
  --text-muted: #75606B;

  --font-head: "Bodoni Moda", serif;
  --font-body: "Figtree", sans-serif;
  --font-mono: "Azeret Mono", monospace;

  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 5rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 6px;
  --radius-sm: 3px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container-wide { max-width: 1320px; }
.container-narrow { max-width: 900px; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  color: var(--highlight-dark);
}
.on-dark .eyebrow, .hero .eyebrow { color: var(--highlight); }

.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 6.5rem 0; } }

/* ===== Woven diamond glyph ===== */
.diamond {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--highlight);
  transform: rotate(45deg);
  flex: none;
}
.diamond-lg {
  width: 46px; height: 46px;
  background: var(--accent);
  transform: rotate(45deg);
  position: relative;
}
.diamond-spin { animation: diaSpin 5s infinite ease-in-out; }
@keyframes diaSpin {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(90deg); }
  100% { transform: rotate(0deg); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-weight: 600;
  font-size: 0.86rem; letter-spacing: 0.5px;
  padding: 0.85rem 1.5rem; border-radius: var(--radius-sm);
  cursor: pointer; border: 2px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  min-height: 44px;
}
.btn-primary { background: var(--accent); color: var(--light-bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(194,84,63,0.38); background: var(--accent-dark); }
.btn-sage { background: var(--highlight); color: var(--primary); }
.btn-sage:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(168,184,154,0.38); }
.btn-outline-sage { background: transparent; border-color: var(--highlight); color: var(--highlight); }
.btn-outline-sage:hover { transform: translateY(-2px); background: rgba(168,184,154,0.12); box-shadow: 0 6px 22px rgba(168,184,154,0.2); }
.btn-dark { background: var(--primary); color: var(--highlight); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(42,21,32,0.32); }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 1.1rem 0; background: transparent;
  border-bottom: 2px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
}
.navbar.scrolled { background: var(--primary); border-bottom-color: var(--highlight); padding: 0.75rem 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand .logo {
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  letter-spacing: 3px; color: var(--light-bg);
}
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { font-family: var(--font-body); font-weight: 600; color: var(--light-bg); font-size: 0.95rem; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px;
  background: var(--highlight); transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: none; }
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 6px; z-index: 110;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--light-bg); transition: 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; background: var(--primary); z-index: 105;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.6rem; transform: translateY(-100%); transition: transform 0.4s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-head); font-size: 1.8rem; color: var(--light-bg);
  opacity: 0; transform: translateY(-16px);
}
.mobile-menu.open a { animation: menuIn 0.5s var(--ease) forwards; }
.mobile-menu.open a:nth-child(1) { animation-delay: 0.08s; }
.mobile-menu.open a:nth-child(2) { animation-delay: 0.16s; }
.mobile-menu.open a:nth-child(3) { animation-delay: 0.24s; }
.mobile-menu.open a:nth-child(4) { animation-delay: 0.32s; }
.mobile-menu.open a:nth-child(5) { animation-delay: 0.40s; }
.mobile-menu.open .btn { animation: menuIn 0.5s var(--ease) 0.48s forwards; opacity: 0; }
.mobile-menu a:hover { color: var(--highlight); text-decoration: underline; text-decoration-color: var(--highlight); }
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1024px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* ===== Weave textures ===== */
.weave-bg {
  background-image:
    repeating-linear-gradient(0deg, rgba(247,243,238,0.04) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(247,243,238,0.04) 0 1px, transparent 1px 22px);
}

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100dvh; background: var(--primary);
  display: flex; align-items: center; overflow: hidden;
  padding: 8rem 0 4rem;
}
.hero .glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero .glow-wine { width: 60vw; height: 60vw; background: var(--secondary); opacity: 0.85; top: 30%; left: -10%; }
.hero .glow-clay { width: 40vw; height: 40vw; background: var(--accent); opacity: 0.07; bottom: -10%; right: -5%; animation: pulseA 8s infinite ease-in-out; }
.hero .glow-sage { width: 30vw; height: 30vw; background: var(--highlight); opacity: 0.04; top: -8%; right: 8%; animation: pulseB 12s infinite ease-in-out; }
@keyframes pulseA { 0%,100% { opacity: 0.07; } 50% { opacity: 0.14; } }
@keyframes pulseB { 0%,100% { opacity: 0.04; } 50% { opacity: 0.09; } }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 56% 44%; } }
.hero h1 {
  color: var(--light-bg); font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 1.2rem 0 1.4rem;
}
.hero p.lead { color: rgba(247,243,238,0.82); font-size: 1.08rem; max-width: 34rem; margin-bottom: 2rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero card + weave grid */
.hero-card {
  background: var(--secondary); border: 1px solid var(--highlight); border-radius: var(--radius);
  padding: 1.8rem; position: relative;
}
.hero-card .prog-label { font-family: var(--font-mono); color: var(--highlight); font-size: 0.82rem; margin-bottom: 1rem; }
.weave-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.weave-grid .cell {
  aspect-ratio: 1; border-radius: 4px; background: rgba(247,243,238,0.08);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.62rem; color: var(--primary);
  opacity: 0; transform: scale(0.6);
}
.weave-grid.run .cell { animation: cellIn 0.4s var(--ease) forwards; }
.weave-grid.run .cell.filled { background: var(--accent); }
.weave-grid.run .cell.final { background: var(--highlight); }
.weave-grid.run .cell.final.done { animation: cellIn 0.4s var(--ease) forwards, finalGlow 2s 1.6s infinite ease-in-out; }
@keyframes cellIn { to { opacity: 1; transform: scale(1); } }
@keyframes finalGlow { 0%,100% { box-shadow: 0 0 0 rgba(168,184,154,0); } 50% { box-shadow: 0 0 16px rgba(168,184,154,0.8); } }
.hero-badge {
  display: inline-block; margin-top: 1.4rem; background: var(--highlight); color: var(--primary);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.8rem; padding: 0.5rem 0.9rem; border-radius: var(--radius-sm);
}
.hero-diamond { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 3; }

/* ===== Metrics strip ===== */
.metrics { background: var(--secondary); padding: 3rem 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .metrics-grid { grid-template-columns: repeat(4, 1fr); } }
.metric { text-align: center; position: relative; }
@media (min-width: 768px) { .metric:not(:last-child)::after { content: ''; position: absolute; right: -1rem; top: 10%; height: 80%; width: 1px; background: rgba(168,184,154,0.4); } }
.metric .num { font-family: var(--font-mono); font-weight: 600; font-size: 2.4rem; color: var(--accent); }
.metric .label { color: var(--light-bg); font-size: 0.9rem; margin-top: 0.3rem; }

/* ===== Section headers ===== */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0.8rem 0 0.6rem; }
.on-dark .sec-head h2 { color: var(--light-bg); }
.sec-head p { color: var(--text-muted); }
.on-dark .sec-head p { color: rgba(247,243,238,0.75); }

/* ===== Services preview cards ===== */
.svc-preview { background: var(--light-bg); }
.svc-preview h2 { color: var(--primary); }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.8rem;
  border-top: 3px solid var(--accent); position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.svc-card::before {
  content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 0; background: var(--accent);
  transition: height 0.4s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(194,84,63,0.18); }
.svc-card:hover::before { height: 100%; }
.svc-card .ic { font-size: 1.8rem; color: var(--highlight-dark); margin-bottom: 1rem; }
.svc-card h3 { color: var(--primary); font-size: 1.4rem; margin-bottom: 0.6rem; }
.svc-card p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 1rem; }
.svc-card .more { font-family: var(--font-mono); color: var(--accent); font-size: 0.82rem; font-weight: 600; }

/* ===== Process ===== */
.process { background: var(--primary); }
.process h2 { color: var(--light-bg); }
.steps { display: grid; grid-template-columns: 1fr; gap: 2.5rem; position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.step { position: relative; }
@media (min-width: 900px) {
  .step:not(:last-child)::after {
    content: ''; position: absolute; top: 18px; left: 55%; width: 90%; height: 2px;
    border-top: 2px dashed var(--highlight); opacity: 0.5;
  }
}
.step .snum {
  font-family: var(--font-mono); font-weight: 600; font-size: 1.1rem; color: var(--accent);
  width: 40px; height: 40px; border: 2px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
  background: var(--primary); position: relative; z-index: 2;
}
.step.in-view .snum { animation: pulseNum 0.6s var(--ease); }
@keyframes pulseNum { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
.step h3 { color: var(--light-bg); font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: rgba(247,243,238,0.7); font-size: 0.93rem; }

/* ===== Testimonials ===== */
.testimonials { background: var(--light-bg); }
.testimonials h2 { color: var(--primary); }
.tcard {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  border-top: 3px solid var(--highlight);
}
.tcard .stars { color: var(--accent); margin-bottom: 1rem; font-size: 0.9rem; }
.tcard blockquote { font-style: italic; color: var(--text-dark); margin-bottom: 1.2rem; font-size: 1.02rem; }
.tcard .cname { font-family: var(--font-head); font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.tcard .ctype { font-family: var(--font-mono); color: var(--accent); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 1px; margin-top: 0.2rem; }

/* ===== Differentiators ===== */
.diff { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .diff { grid-template-columns: 1fr 1fr; } }
.diff-left { background: var(--secondary); color: var(--light-bg); padding: 4rem 2rem; display: flex; flex-direction: column; justify-content: center; }
.diff-left h2 { color: var(--light-bg); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1.2rem; }
.diff-left p { color: rgba(247,243,238,0.8); margin-bottom: 1.8rem; }
.diff-right { background: var(--white); padding: 4rem 2rem; display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; }
.diff-item { display: flex; gap: 1rem; align-items: flex-start; }
.diff-item i { color: var(--accent); font-size: 1.3rem; margin-top: 0.15rem; }
.diff-item span { color: var(--text-dark); font-weight: 600; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  text-align: center; padding: 5rem 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--highlight), transparent);
  background-size: 50% 100%; animation: shimmer 3s linear infinite;
}
@keyframes shimmer { 0% { background-position: -100% 0; } 100% { background-position: 200% 0; } }
.cta-banner h2 { color: var(--light-bg); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.cta-banner p { color: rgba(247,243,238,0.8); margin-bottom: 2rem; }
.cta-clay { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }

/* ===== Footer ===== */
.footer { background: var(--primary); border-top: 2px solid var(--highlight); padding: 4rem 0 2rem; color: var(--light-bg); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer h4 { font-family: var(--font-mono); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--highlight); margin-bottom: 1.2rem; }
.footer .logo { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: 3px; }
.footer .tag { font-family: var(--font-mono); color: var(--accent); font-size: 0.8rem; margin: 0.6rem 0 1rem; }
.footer p, .footer li { color: rgba(247,243,238,0.72); font-size: 0.92rem; margin-bottom: 0.6rem; }
.footer a:hover { color: var(--highlight); }
.footer .socials { display: flex; gap: 1rem; margin-top: 1rem; }
.footer .socials a { width: 38px; height: 38px; border: 1px solid rgba(168,184,154,0.4); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; transition: 0.3s var(--ease); }
.footer .socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(168,184,154,0.2); margin-top: 3rem; padding-top: 1.5rem; text-align: center; font-family: var(--font-mono); font-size: 0.76rem; color: rgba(247,243,238,0.55); }

/* ===== Page hero (interior) ===== */
.page-hero { background: var(--primary); padding: 10rem 0 5rem; position: relative; overflow: hidden; }
.page-hero .breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; color: var(--highlight); margin-bottom: 1rem; }
.page-hero h1 { color: var(--light-bg); font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 20ch; }
.page-hero p { color: rgba(247,243,238,0.78); margin-top: 1.2rem; max-width: 46rem; }

/* ===== Alternating service sections ===== */
.alt-sec { padding: 4rem 0; }
.alt-sec:nth-child(even) { background: var(--light-bg); }
.alt-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .alt-grid { grid-template-columns: 1fr 1fr; } }
.alt-grid.rev .alt-media { order: -1; }
@media (max-width: 899px) { .alt-grid.rev .alt-media { order: 0; } }
.alt-media { min-height: 400px; border-radius: var(--radius); }
.grad-1 { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.grad-2 { background: linear-gradient(135deg, var(--highlight-dark), var(--secondary)); }
.grad-3 { background: linear-gradient(135deg, var(--accent), var(--primary)); }
.grad-4 { background: linear-gradient(135deg, var(--secondary), var(--highlight-dark)); }
.grad-5 { background: linear-gradient(135deg, var(--accent-dark), var(--secondary)); }
.grad-6 { background: linear-gradient(135deg, var(--primary), var(--highlight-dark)); }
.alt-text h2 { color: var(--primary); font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0.6rem 0 1rem; }
.alt-text p { color: var(--text-muted); margin-bottom: 1.2rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.6rem; color: var(--text-dark); }
.check-list i { color: var(--accent); margin-top: 0.25rem; }
.alt-text .btn { margin-top: 1rem; }

/* ===== Pricing ===== */
.pricing { background: var(--light-bg); }
.pricing h2 { color: var(--primary); }
.price-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: center; } }
.price-card {
  background: var(--white); border-radius: var(--radius); padding: 2.5rem 2rem;
  border: 1px solid rgba(117,96,107,0.15); position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.price-card:hover { transform: scale(1.03); box-shadow: 0 18px 40px rgba(42,21,32,0.12); }
.price-card.featured { border: 2px solid var(--accent); }
.price-card.featured:hover { box-shadow: 0 18px 46px rgba(194,84,63,0.3); }
.price-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--highlight); color: var(--primary); font-family: var(--font-mono);
  font-weight: 600; font-size: 0.72rem; padding: 0.35rem 0.9rem; border-radius: var(--radius-sm);
}
.price-card .pname { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--primary); }
.price-card .amount { font-family: var(--font-mono); font-weight: 600; font-size: 2.2rem; color: var(--accent); margin: 0.6rem 0 1.4rem; }
.price-card .amount span { font-size: 0.9rem; color: var(--text-muted); }
.price-card ul { margin-bottom: 1.8rem; }
.price-card li { color: var(--text-muted); font-size: 0.94rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(117,96,107,0.1); }
.price-card .btn { width: 100%; justify-content: center; }

/* ===== About ===== */
.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.story-media { min-height: 420px; border-radius: var(--radius); background: linear-gradient(135deg, var(--primary), var(--accent)); }
.two-col h2 { color: var(--primary); font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1.2rem; }
.two-col p { color: var(--text-muted); margin-bottom: 1rem; }

.founder {
  background: var(--secondary); border-radius: var(--radius); border-left: 4px solid var(--accent);
  padding: 3rem 2rem; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
}
@media (min-width: 768px) { .founder { grid-template-columns: 200px 1fr; } }
.avatar {
  width: 160px; height: 160px; border-radius: 50%; margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--light-bg);
}
.founder h3 { color: var(--light-bg); font-size: 1.6rem; margin-bottom: 0.4rem; }
.founder .role { font-family: var(--font-mono); color: var(--highlight); font-size: 0.82rem; letter-spacing: 1px; margin-bottom: 1rem; }
.founder p { color: rgba(247,243,238,0.82); margin-bottom: 1rem; }
.founder a { color: var(--highlight); font-size: 1.4rem; }
.founder a:hover { color: var(--accent); }

.values { background: var(--light-bg); }
.values h2 { color: var(--primary); }
.value-card { background: var(--white); border-radius: var(--radius); padding: 2rem; border-top: 3px solid var(--accent); }
.value-card i { color: var(--accent); font-size: 1.8rem; margin-bottom: 1rem; }
.value-card h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--text-muted); font-size: 0.95rem; }

.team { background: var(--secondary); }
.team h2 { color: var(--light-bg); }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: center; }
.team-card .avatar { width: 120px; height: 120px; font-size: 2rem; margin-bottom: 1rem; }
.team-card h3 { color: var(--light-bg); font-size: 1.2rem; }
.team-card .role { font-family: var(--font-mono); color: var(--highlight); font-size: 0.76rem; margin: 0.3rem 0 0.6rem; }
.team-card a { color: var(--accent); font-size: 1.2rem; }
.team-card a:hover { color: var(--highlight); }

.austin { background: var(--secondary); }
.austin h2 { color: var(--light-bg); font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1.2rem; }
.austin p { color: rgba(247,243,238,0.8); margin-bottom: 1.5rem; }
.addr-block { border-left: 4px solid var(--accent); padding-left: 1.2rem; }
.addr-block p { color: var(--light-bg); margin-bottom: 0.6rem; }
.addr-block i { color: var(--highlight); margin-right: 0.6rem; }

/* ===== Case studies ===== */
.overview-strip { background: var(--secondary); padding: 3rem 0; }
.overview-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; text-align: center; }
@media (min-width: 768px) { .overview-grid { grid-template-columns: repeat(3, 1fr); } }
.overview-grid .num { font-family: var(--font-mono); font-weight: 600; font-size: 2rem; color: var(--accent); }
.overview-grid .label { color: var(--light-bg); font-size: 0.9rem; }
.cs-block { padding: 4rem 0; }
.cs-block.light { background: var(--light-bg); }
.cs-block.dark { background: var(--primary); }
.cs-tag { font-family: var(--font-mono); color: var(--highlight-dark); text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.78rem; }
.cs-block.dark .cs-tag { color: var(--highlight); }
.cs-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0.6rem 0 1.5rem; color: var(--primary); }
.cs-block.dark h2 { color: var(--light-bg); }
.cs-body { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .cs-body { grid-template-columns: 1fr 1fr; } }
.cs-body h4 { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 0.5rem; }
.cs-body p { color: var(--text-muted); }
.cs-block.dark .cs-body p { color: rgba(247,243,238,0.78); }
.cs-stats { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .cs-stats { grid-template-columns: repeat(3, 1fr); } }
.cs-stat { background: var(--accent); color: var(--light-bg); border-radius: 4px; padding: 1.2rem; text-align: center; font-family: var(--font-mono); font-weight: 600; font-size: 0.92rem; }

/* ===== Contact ===== */
.contact-body { background: var(--light-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark); margin-bottom: 0.5rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid rgba(117,96,107,0.3);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem; background: var(--white); color: var(--text-dark);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; }
.contact-details .detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-details .detail i { color: var(--accent); font-size: 1.2rem; margin-top: 0.2rem; width: 22px; text-align: center; }
.contact-details .detail p { color: var(--text-dark); }
.contact-details .socials { display: flex; gap: 1rem; margin-top: 1rem; }
.contact-details .socials a { width: 40px; height: 40px; border: 1px solid rgba(117,96,107,0.25); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--primary); transition: 0.3s var(--ease); }
.contact-details .socials a:hover { color: var(--highlight-dark); border-color: var(--highlight-dark); }

.map-block {
  min-height: 300px; border-radius: var(--radius); margin-top: 3rem;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2rem; position: relative; overflow: hidden;
}
.map-block .diamond-lg { background: var(--highlight); }
.map-block .maplabel { font-family: var(--font-mono); color: var(--light-bg); font-size: 0.85rem; text-align: center; padding: 0 1rem; position: relative; z-index: 2; }

.audit { background: var(--primary); }
.audit h2 { color: var(--light-bg); font-size: clamp(1.8rem, 3.5vw, 2.4rem); text-align: center; max-width: 26ch; margin: 0 auto 1rem; }
.audit .sub { color: rgba(247,243,238,0.78); text-align: center; max-width: 44rem; margin: 0 auto 2.5rem; }
.audit-form { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 800px; margin: 0 auto; }
@media (min-width: 768px) { .audit-form { grid-template-columns: 1fr 1fr 1fr auto; } }
.audit-form input { padding: 0.85rem 1rem; border-radius: var(--radius-sm); border: 1px solid rgba(168,184,154,0.3); background: var(--secondary); color: var(--light-bg); font-family: var(--font-body); }
.audit-form input::placeholder { color: rgba(247,243,238,0.5); }
.audit-form input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 2.5rem; }
.trust-badges span { font-family: var(--font-mono); color: var(--highlight); font-size: 0.82rem; display: flex; align-items: center; gap: 0.5rem; }

.form-msg { padding: 1rem; border-radius: var(--radius-sm); background: var(--highlight); color: var(--primary); font-family: var(--font-mono); font-size: 0.88rem; margin-top: 1rem; display: none; }
.form-msg.show { display: block; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.15s; }
.reveal.d2 { transition-delay: 0.3s; }
.reveal.d3 { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
