/* =========================================================
   57 Meadowbank Road — Showcase Stylesheet
   Pilarski Real Estate Group
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --c-ink:        #14181c;
  --c-ink-soft:   #2a2f36;
  --c-graphite:   #4a4f57;
  --c-mute:       #7a7f87;
  --c-line:       #e6e2db;
  --c-paper:      #f7f4ee;
  --c-cream:      #fbf9f5;
  --c-gold:       #b08d4a;
  --c-gold-soft:  #d4b87b;
  --c-white:      #ffffff;

  --shadow-sm: 0 2px 8px rgba(20,24,28,0.06);
  --shadow-md: 0 8px 30px rgba(20,24,28,0.10);
  --shadow-lg: 0 24px 60px rgba(20,24,28,0.18);

  --f-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --f-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;

  --radius-sm: 2px;
  --radius-md: 4px;

  --maxw: 1400px;
  --gutter: clamp(20px, 4vw, 64px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; margin: 0; }

/* ---------- Utilities ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 500;
}
.divider {
  width: 56px; height: 1px;
  background: var(--c-gold);
  margin: 18px auto;
}
.divider.left { margin-left: 0; margin-right: 0; }

/* JP-mark ornament — gold line · circle mark · gold line */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px auto 4px;
}
.ornament.left { justify-content: flex-start; margin-left: 0; }
.ornament .line {
  width: 50px;
  height: 1px;
  background: var(--c-gold);
}
.ornament .mark {
  width: 22px; height: 22px;
  display: block;
  opacity: .85;
}
/* On dark sections, flip the mark to white-ish */
.video   .ornament .mark,
.contact .ornament .mark,
.stats   .ornament .mark {
  filter: brightness(0) invert(1);
  opacity: .7;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(20,24,28,0.55), rgba(20,24,28,0));
  transition: background .3s var(--ease), padding .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251,249,245,0.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  padding-top: 12px; padding-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.site-header .logo-mark {
  display: flex; align-items: center; gap: 14px;
  color: var(--c-white);
}
.site-header.is-scrolled .logo-mark { color: var(--c-ink); }

/* Circle JP mark — auto-color flips with header state */
.logo-mark .mark-img {
  height: 38px; width: 38px;
  display: block;
  filter: brightness(0) invert(1);   /* white over dark hero */
  transition: filter .25s var(--ease);
}
.site-header.is-scrolled .logo-mark .mark-img { filter: none; }

/* White horizontal wordmark — invert to dark when scrolled onto cream */
.logo-mark .wordmark-img {
  height: 22px; width: auto;
  display: block;
  opacity: .95;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}
.site-header.is-scrolled .logo-mark .wordmark-img {
  filter: invert(1);
  opacity: 1;
}
@media (max-width: 540px) {
  .logo-mark .wordmark-img { display: none; } /* keep just the mark on tiny screens */
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-white);
  opacity: .92;
}
.site-header.is-scrolled .nav a { color: var(--c-ink); }
.nav a:hover { color: var(--c-gold); opacity: 1; }
.nav-cta {
  border: 1px solid currentColor;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-cta:hover { background: var(--c-gold); color: var(--c-white) !important; border-color: var(--c-gold); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; color: inherit;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  color: var(--c-white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../images/hero.jpg") center/cover no-repeat,
              linear-gradient(120deg, #2c2622, #14181c);
  z-index: 0;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) forwards;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,24,28,0.30) 0%, rgba(20,24,28,0) 35%, rgba(20,24,28,0.65) 100%);
  z-index: 1;
}
@keyframes heroDrift {
  to { transform: scale(1.0); }
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) clamp(40px, 8vh, 96px);
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero .eyebrow { color: var(--c-gold-soft); }
.hero h1 {
  font-size: clamp(46px, 7vw, 96px);
  margin: 14px 0 12px;
  font-weight: 400;
}
.hero .neighbourhood {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--c-cream);
  opacity: .92;
  margin: 0 0 28px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 56px);
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 22px;
  max-width: 880px;
}
.hero-meta div {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-meta .label {
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--c-gold-soft);
}
.hero-meta .value {
  font-family: var(--f-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 3;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), rgba(255,255,255,0));
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .25; transform: scaleY(.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Section base ---------- */
section { padding: clamp(80px, 10vw, 140px) 0; }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}
.section-head h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  margin-top: 14px;
}
.section-head p {
  color: var(--c-graphite);
  margin-top: 16px;
  font-size: 17px;
}

/* ---------- Welcome / Intro ---------- */
.welcome {
  background: var(--c-paper);
  position: relative;
}
.welcome-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.welcome-art {
  aspect-ratio: 4 / 5;
  background: url("../images/exterior-front.jpg") center/cover no-repeat,
              linear-gradient(120deg, #d8cfb9, #b09a72);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.welcome-art::after {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid rgba(255,255,255,.5);
  pointer-events: none;
}
.welcome-copy h2 {
  font-size: clamp(34px, 4.2vw, 54px);
  margin-bottom: 18px;
  font-weight: 400;
}
.welcome-copy p {
  color: var(--c-graphite);
  margin: 0 0 18px;
  font-size: 17px;
}
.welcome-copy p:first-of-type::first-letter {
  font-family: var(--f-serif);
  font-size: 4.4em;
  float: left;
  line-height: .85;
  margin: 6px 12px 0 0;
  color: var(--c-gold);
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: clamp(48px, 6vw, 72px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(20px, 3vw, 48px);
  text-align: center;
}
.stats-grid > div {
  border-right: 1px solid rgba(255,255,255,.08);
  padding: 8px 6px;
}
.stats-grid > div:last-child { border-right: 0; }
.stat-num {
  font-family: var(--f-serif);
  font-size: clamp(30px, 3.4vw, 44px);
  color: var(--c-gold-soft);
  display: block;
}
.stat-label {
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  display: block;
}

/* ---------- Gallery ---------- */
.gallery { background: var(--c-cream); }
.gallery-grid {
  columns: 3 320px;
  column-gap: 12px;
}
.gallery-item {
  break-inside: avoid;
  margin: 0 0 12px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--c-line);
}
.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform .9s var(--ease), filter .5s var(--ease);
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,24,28,.45), transparent 50%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item .caption {
  position: absolute; left: 16px; bottom: 14px; right: 16px;
  z-index: 2;
  color: var(--c-white);
  font-family: var(--f-serif); font-style: italic;
  font-size: 15px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery-item:hover .caption { opacity: 1; transform: translateY(0); }

/* ---------- Video ---------- */
.video {
  background: var(--c-ink);
  color: var(--c-cream);
  text-align: center;
}
.video .section-head h2 { color: var(--c-cream); }
.video .section-head p { color: rgba(255,255,255,.7); }
.video-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000 url("../images/hero.jpg") center/cover no-repeat;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.video-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,24,28,.55), rgba(20,24,28,.25));
}
.video-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.95);
  color: var(--c-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 0 rgba(255,255,255,.3);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .6s var(--ease);
}
.video-play:hover {
  background: var(--c-gold);
  color: var(--c-white);
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 0 0 18px rgba(176,141,74,.18);
}
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-caption {
  margin-top: 24px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.video-caption a { color: var(--c-gold-soft); border-bottom: 1px solid rgba(212,184,123,.4); padding-bottom: 2px; }
.video-caption a:hover { color: var(--c-white); }

/* ---------- Features ---------- */
.features { background: var(--c-paper); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.feature-card {
  background: var(--c-white);
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--c-line);
  position: relative;
}
.feature-card h3 {
  font-size: 26px;
  margin-bottom: 8px;
}
.feature-card .feature-eyebrow {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 10px;
  display: block;
}
.feature-card ul {
  list-style: none; padding: 0; margin: 18px 0 0;
  columns: 2 200px; column-gap: 28px;
}
.feature-card li {
  break-inside: avoid;
  padding: 6px 0 6px 18px;
  position: relative;
  font-size: 14.5px;
  color: var(--c-graphite);
  border-bottom: 1px solid var(--c-line);
}
.feature-card li:last-child { border-bottom: 0; }
.feature-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 1px;
  background: var(--c-gold);
}

/* ---------- Highlight quote ---------- */
.quote {
  background: var(--c-cream);
  text-align: center;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.quote blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.4;
  color: var(--c-ink-soft);
  font-weight: 400;
}
.quote blockquote::before, .quote blockquote::after {
  content: "";
  display: block;
  width: 40px; height: 1px;
  background: var(--c-gold);
  margin: 28px auto;
}

/* ---------- Floor Plans ---------- */
.floorplans { background: var(--c-cream); }
.floorplans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.floorplan {
  display: block;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: clamp(20px, 2.4vw, 32px);
  position: relative;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.floorplan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.floorplan img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  background: var(--c-paper);
}
.floorplan .fp-label {
  margin-top: 18px;
  display: block;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--c-ink);
}
.floorplan .fp-meta {
  display: block;
  margin-top: 4px;
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--c-gold);
}
.floorplan::after {
  content: "View";
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(20,24,28,.75);
  color: var(--c-white);
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.floorplan:hover::after { opacity: 1; }
.floorplan-cta-row {
  text-align: center;
}
.floorplan-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 36px;
  border: 1px solid var(--c-ink);
  color: var(--c-ink);
  background: transparent;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.floorplan-cta:hover {
  background: var(--c-ink);
  color: var(--c-cream);
}
.floorplan-cta svg { width: 14px; height: 14px; }

@media (max-width: 880px) {
  .floorplans-grid { grid-template-columns: 1fr; }
}

/* ---------- Location ---------- */
.location { background: var(--c-paper); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.location-copy h2 { font-size: clamp(34px, 4.2vw, 54px); margin-bottom: 16px; }
.location-copy p { color: var(--c-graphite); font-size: 17px; }
.location-map {
  aspect-ratio: 4 / 3;
  background: var(--c-line);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-line);
}
.location-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(.95); }

/* ---------- Contact / Realtor ---------- */
.contact {
  background:
    linear-gradient(rgba(20,24,28,.78), rgba(20,24,28,.78)),
    url("../images/hero.jpg") center/cover no-repeat fixed;
  color: var(--c-cream);
  text-align: center;
}
.contact .section-head h2 { color: var(--c-cream); }
.contact .section-head p { color: rgba(255,255,255,.78); }
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.16);
  padding: clamp(36px, 5vw, 60px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}
.contact-wordmark {
  height: 30px;
  width: auto;
  display: block;
  margin: 0 auto 28px;
  opacity: .92;
}
.contact-name {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 6px;
}
.contact-role {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--c-gold-soft);
  margin-bottom: 28px;
  display: block;
}
.contact-list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid;
  gap: 8px;
  text-align: left;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 15px;
}
.contact-list .lbl {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-gold-soft); align-self: center;
}
.contact-list a:hover { color: var(--c-gold-soft); }
.contact-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--c-gold);
  color: var(--c-white);
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.contact-cta:hover { background: var(--c-gold-soft); transform: translateY(-1px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,.65);
  padding: 56px var(--gutter) 28px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-mark {
  width: 28px; height: 28px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .55;
}
.footer-wordmark {
  height: 36px; width: auto;
  display: block;
  opacity: .92;
}
.footer-tagline {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin: 6px 0 0;
}
.footer-fine {
  font-size: 11px; letter-spacing: .12em; line-height: 1.7;
  max-width: 720px; margin: 18px auto 0;
  color: rgba(255,255,255,.45);
}
.footer-bar {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15,17,20,.95);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 32px;
}
.lightbox.is-open { display: flex; animation: fadeIn .3s var(--ease); }
.lightbox img {
  max-width: min(96vw, 1600px);
  max-height: 88vh;
  width: auto; height: auto;
  box-shadow: var(--shadow-lg);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--c-white);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.18); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
  position: absolute; bottom: 22px; left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,.78);
  font-family: var(--f-serif); font-style: italic;
  font-size: 15px;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobile nav ---------- */
@media (max-width: 880px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
         flex-direction: column; gap: 0;
         background: var(--c-cream); padding: 18px var(--gutter); box-shadow: var(--shadow-md); }
  .nav a { color: var(--c-ink) !important; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
  .nav.is-open { display: flex; }
  .nav-cta { border-color: var(--c-ink); margin-top: 8px; text-align: center; }
  .nav-toggle { display: inline-flex; }
  .site-header { background: linear-gradient(to bottom, rgba(20,24,28,.6), rgba(20,24,28,0)); }
}

/* ---------- Responsive layouts ---------- */
@media (max-width: 980px) {
  .welcome-grid, .location-grid { grid-template-columns: 1fr; }
  .welcome-art { aspect-ratio: 4 / 3; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid > div:nth-child(3) { border-right: 0; }
  .stats-grid > div:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; }
}
@media (max-width: 640px) {
  .hero-meta { gap: 16px 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 18px; }
  .feature-card ul { columns: 1; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .contact-list .lbl { font-size: 9px; }
}

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