/* ExactAD — Static marketing site */

:root {
  --color-bg: #ffffff;
  --color-surface: #f5f5f5;
  --color-surface-elevated: #f0f0f0;
  --color-text: #1a1a1a;
  --color-text-muted: #4b5563;
  --color-accent: #d97706;
  --color-accent-hover: #b45309;
  --color-go-green: #9AC910;
  --color-border: #e5e7eb;
  --font-heading: "Segoe UI Semibold", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-body: "Segoe UI Semibold", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --container: min(1120px, 100% - 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  padding: 0.25rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--color-text);
}

.logo:hover {
  opacity: 0.9;
}

.logo-img {
  display: block;
  height: 8rem;
  width: auto;
  max-width: 560px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-surface-elevated);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(217, 119, 6, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(229, 231, 235, 0.8), transparent),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(229, 231, 235, 0.6), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.hero-brand {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-accent);
}

.hero-brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* index.html — hero background + GO-Green CTA */
.home-page main,
.home-page .section,
.home-page .site-footer {
  position: relative;
  z-index: 2;
}

.home-page .site-footer {
  background: #ffffff;
}

.home-page .section {
  background: transparent;
}

.home-page .cta-section {
  background: #ffffff;
}

/* index.html + index-video.html — hero band matches mobile height on all viewports */
.home-page.index-video-page {
  --mobile-video-window: calc(100dvh - var(--site-header-height, 0px));
}

.home-page .why-section {
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.home-page .why-section .container {
  max-width: 64rem;
  background: #000000;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
}

.home-page .why-section .section-title,
.home-page .why-section .why-item,
.home-page .why-section .why-bullet {
  color: #ffffff;
}

.hero--home-video {
  height: calc(100vh - var(--site-header-height, 0px));
  min-height: 24rem;
  padding: 0;
  display: flex;
  align-items: center;
}

.hero--home-video .hero-video-wrap {
  position: fixed;
  top: var(--site-header-height, 0px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.hero--home-video .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

/* index-video.html — <video> fills hero; top-aligned crop; taller mobile window */
.index-video-page .hero--home-video .hero-video {
  background: #000000;
  object-position: center top;
}

.hero--home-video .hero-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  pointer-events: none;
}

.hero--home-video .hero-inner {
  position: relative;
  z-index: 2;
}

.hero--home-video .hero-brand-text {
  color: var(--color-accent);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero--home-video .hero-tagline {
  color: var(--color-go-green);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero--home-video .hero-desc {
  color: rgba(255, 255, 255, 0.88);
}

.hero--home-video .hero-cta-orange,
.feature-card .hero-cta-orange {
  display: inline-block;
  line-height: 0;
  border-radius: var(--radius);
  transition: transform 0.2s, opacity 0.2s;
}

.feature-card .hero-cta-orange {
  margin-top: 0.5rem;
}

.hero--home-video .hero-cta-orange:hover,
.feature-card .hero-cta-orange:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.hero--home-video .hero-cta-orange img {
  display: block;
  height: auto;
  width: auto;
  max-width: min(100%, 20rem);
  max-height: 5rem;
  object-fit: contain;
}

.feature-card .hero-cta-orange img {
  display: block;
  height: auto;
  width: auto;
  max-width: min(100%, 18rem);
  max-height: 4.25rem;
  object-fit: contain;
}

.cta-inner .hero-cta-orange {
  display: inline-block;
  line-height: 0;
  border-radius: var(--radius);
  transition: transform 0.2s, opacity 0.2s;
}

.cta-inner .hero-cta-orange:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.cta-inner .hero-cta-orange img {
  display: block;
  height: auto;
  width: auto;
  max-width: min(100%, 20rem);
  max-height: 5rem;
  object-fit: contain;
}

.cta-inner .hero-cta-orange .cta-go-mobile {
  display: none;
}

.hero-video-wrap.hero-video-wrap--static {
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(217, 119, 6, 0.15), transparent),
    linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
}

.home-page .landing-gallery {
  position: relative;
  z-index: 2;
  margin-top: -6rem;
}

@media (min-width: 769px) {
  .hero.hero--home-video {
    height: 0;
    min-height: 0;
  }

  .home-page.index-video-page .hero.hero--home-video {
    height: var(--mobile-video-window);
    min-height: 0;
    padding: 0;
  }

  /* Full viewport width; height from aspect ratio — crop top/bottom via overflow:hidden */
  .hero--home-video .hero-video-wrap {
    background: #ffffff;
  }

  .home-page.index-video-page .hero--home-video .hero-video-wrap {
    bottom: auto;
    height: var(--mobile-video-window);
  }

  .hero--home-video .hero-video {
    inset: auto;
    left: 0;
    right: 0;
    top: 50%;
    width: 100%;
    height: auto;
    transform: translateY(-50%);
  }

  .home-page .landing-gallery {
    margin-top: 0;
  }

  .home-page.index-video-page .landing-gallery {
    margin-top: -5rem;
    padding-top: 0;
  }

  .home-page.index-video-page .landing-gallery .container {
    margin-top: -4rem;
  }

  .home-page .cta-section .cta-inner {
    max-width: 42rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  }

  /* Desktop home heroes: keep full media height visible (no vertical crop) */
  .index-video-page .hero--home-video .hero-video {
    inset: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: contain;
    object-position: center top;
    background: #ffffff;
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 2.5rem;
  text-align: center;
  color: var(--color-text);
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(217, 119, 6, 0.35);
  transform: translateY(-2px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.feature-sub {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.feature-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.feature-card li {
  margin-bottom: 0.4rem;
}

.feature-link {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Why section */
.why-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--color-text);
}

.why-bullet {
  color: var(--color-accent);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* CTA */
.cta-section {
  padding: 5rem 0;
}

.cta-inner {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.cta-desc {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}

.footer-cta {
  margin: 0.5rem 0 0.85rem;
}

.site-footer .footer-get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  background: var(--color-go-green);
  color: #111827;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.26), 0 3px 10px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
}

.site-footer .footer-get-started:hover {
  color: #111827;
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.32), 0 5px 14px rgba(15, 23, 42, 0.2);
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.8;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .home-page {
    --mobile-video-window: min(calc(100vw * 3 / 4), calc(100dvh - var(--site-header-height, 0px)));
  }

  .home-page main {
    background: transparent;
  }

  .home-page .why-section {
    background: transparent;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-inner.nav-open .nav {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: var(--color-surface-elevated);
    border-bottom: 1px solid var(--color-border);
  }

  .nav a {
    padding: 0.75rem;
    width: 100%;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  /* Home hero: keep fixed full-screen background on mobile */
  .hero.hero--home-video {
    height: var(--mobile-video-window);
    min-height: 0;
    padding: 0;
  }

  .hero--home-video .hero-video-wrap {
    position: fixed;
    top: var(--site-header-height, 0px);
    right: 0;
    left: 0;
    bottom: auto;
    height: var(--mobile-video-window);
    z-index: 1;
  }

  .hero--home-video .hero-video {
    object-fit: cover;
    object-position: center center;
  }

  .hero--home-video .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 42rem;
  }

  .hero--home-video .hero-title {
    align-items: flex-end;
  }

  .hero--home-video .hero-inner,
  .hero--home-video .hero-tagline,
  .hero--home-video .hero-desc {
    text-align: right;
  }

  .hero--home-video .hero-actions {
    justify-content: flex-end;
  }

  .home-page #campaigns.section {
    padding-top: 1.5rem;
  }

  .home-page #campaigns .feature-card:first-child {
    margin-top: -2rem;
  }

  .home-page .landing-gallery {
    padding-top: 0;
    margin-top: -5rem;
  }

  .home-page .landing-gallery .container {
    margin-top: -4rem;
  }

  .section {
    padding: 3rem 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 8rem;
  }

  .cta-inner .hero-cta-orange .cta-go-desktop {
    display: none;
  }

  .cta-inner .hero-cta-orange .cta-go-mobile {
    display: block;
  }

  .index-home .site-footer {
    padding: 0.5rem 0;
  }

  .index-home .footer-brand {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.1;
  }

  .index-home .footer-copy,
  .index-home .footer-legal {
    margin: 0.15rem 0 0;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .index-home .footer-cta {
    margin: 0.35rem 0 0.5rem;
  }

  .index-home .site-footer .footer-get-started {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* Contact page */
.contact-page .contact-hero {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.contact-wrap {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 0.75rem;
  text-align: center;
}

.contact-intro {
  color: var(--color-text-muted);
  text-align: center;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.contact-back {
  text-align: center;
  margin: -1rem 0 0;
  font-size: 0.95rem;
}

.kid-explainer {
  max-width: 42rem;
  text-align: left;
}

.kid-explainer .contact-title {
  text-align: center;
}

.kid-explainer .kid-lead {
  text-align: center;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  line-height: 1.6;
  font-size: 1.05rem;
}

.kid-explainer h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 2rem 0 0.65rem;
}

.kid-explainer h2:first-of-type {
  margin-top: 0;
}

.kid-explainer p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--color-text);
}

.kid-explainer ul {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  color: var(--color-text);
}

.kid-explainer li {
  margin-bottom: 0.55rem;
  line-height: 1.55;
}

.kid-explainer .contact-back {
  margin-top: 2.5rem;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.contact-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group:last-of-type {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.8;
}

.form-input:hover,
.form-textarea:hover {
  border-color: #d1d5db;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-submit {
  width: 100%;
}

.site-footer .footer-copy a {
  color: var(--color-accent);
  font-weight: 600;
}

.site-footer .footer-copy a:hover {
  color: var(--color-accent-hover);
}

/* image-focus.html — hero shows full image height (no viewport crop / fixed layer) */
.image-focus-page .hero.hero--home-video {
  height: auto;
  min-height: 0;
  padding: 0;
  display: block;
}

.image-focus-page .hero--home-video .hero-video-wrap {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  height: auto;
  overflow: visible;
  z-index: 1;
  background: #000000;
}

.image-focus-page .hero--home-video .image-focus-hero-link {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.image-focus-page .image-focus-demo-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.4rem 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: #ffffff;
  background: #000000;
  opacity: 1;
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
  line-height: 1;
}

.image-focus-page .hero--home-video .image-focus-hero-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.image-focus-page .hero--home-video .hero-video {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
}

.image-focus-page .hero--home-video .hero-video-scrim {
  display: none;
}

/* Example webpage modal (iframe preview) */
.ea-example-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right))
    max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.ea-example-modal.ea-example-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ea-example-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.ea-example-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  height: min(90vh, 880px);
  max-height: 90vh;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.ea-example-modal__toolbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.ea-example-modal__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.ea-example-modal__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 500;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.ea-example-modal__close:hover {
  color: var(--color-text);
  background: var(--color-surface-elevated);
  border-color: var(--color-border);
}

.ea-example-modal__close:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.ea-example-modal__frame {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  background: var(--color-bg);
}

body.ea-example-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .ea-example-modal__dialog {
    height: min(92vh, 900px);
    max-height: 92vh;
  }
}

/* websites.html — full-height hero image between header and footer */
body.websites-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body.websites-page .site-header,
body.websites-page .site-footer {
  flex-shrink: 0;
}

body.websites-page main.websites-main {
  flex: 1 1 auto;
  min-height: min(70vh, 900px);
  background-color: #1a1a1a;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 100%;
  overflow: hidden;
}
