/* Genus Home Designs — site styles */
:root {
  --green-900: #0e2616;
  --green-800: #143620;
  --green-700: #1c4a2b;
  --gold-500: #c9a53a;
  --gold-300: #e6cf7e;
  --paper: #f4f5ef;
  --paper-2: #e9ebe1;
  --ink: #17221a;
  --ink-soft: #4a574d;
  --line: #d3d7c8;
  --white: #ffffff;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
  color: var(--green-900);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; max-width: 65ch; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 100; }

.eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  border-radius: 4px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--gold-500); color: var(--green-900); }
.btn-gold:hover { background: var(--gold-300); color: var(--green-900); }
.btn-line { border-color: var(--gold-300); color: var(--white); }
.btn-line:hover { background: rgba(255,255,255,.08); color: var(--white); }
.btn-green { background: var(--green-700); color: var(--white); }
.btn-green:hover { background: var(--green-900); color: var(--white); }

/* License / hours strip */
.strip { background: var(--green-900); color: var(--gold-300); font-size: 0.85rem; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 8px; }
.strip a { color: var(--gold-300); text-decoration: none; font-weight: 600; }
.strip span { white-space: nowrap; }

/* Header */
.site-header { background: var(--green-800); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-bottom: 3px solid var(--gold-500); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 74px; height: auto; }
.brand-name { font-family: var(--display); color: var(--gold-300); font-size: 1.15rem; line-height: 1.1; font-weight: 700; letter-spacing: .04em; }
.brand-name small { display: block; font-size: .72rem; letter-spacing: .2em; color: var(--white); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-300); }
.nav .btn { padding: 10px 18px; }
.menu-toggle { display: none; background: none; border: 2px solid var(--gold-300); color: var(--gold-300); border-radius: 4px; padding: 8px 12px; font: 700 .9rem var(--body); cursor: pointer; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--green-800); border-bottom: 3px solid var(--gold-500); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(230,207,126,.2); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  .brand-name { display: none; }
  .brand img { width: 60px; }
}

/* Hero */
.hero { background: var(--green-900); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 520px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(40px, 6vw, 80px) var(--gutter); max-width: 640px; margin-left: auto; }
.hero-copy h1 { color: var(--white); }
.hero-copy h1 em { font-style: normal; color: var(--gold-300); }
.hero-copy p { color: #d9e0d6; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 20px; bottom: 20px; background: rgba(14,38,22,.88); border: 1px solid var(--gold-500); color: var(--gold-300); padding: 10px 14px; border-radius: 4px; font-size: .85rem; font-weight: 600; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { margin: 0; max-width: none; }
  .hero-media { aspect-ratio: 4 / 3; }
}

.page-hero { background: var(--green-900); color: var(--white); padding-block: clamp(48px, 7vw, 88px); }
.page-hero h1 { color: var(--white); margin-top: 10px; }
.page-hero p { color: #d9e0d6; margin-top: 16px; font-size: 1.1rem; }

/* Sections */
section.block { padding-block: clamp(56px, 8vw, 96px); }
.block-alt { background: var(--paper-2); }
.section-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.section-head p { color: var(--ink-soft); }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.service img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.service-body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.service-body p { color: var(--ink-soft); }
.also { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.also strong { font-weight: 700; margin-right: 4px; }
.tag { border: 1px solid var(--green-700); color: var(--green-700); border-radius: 999px; padding: 4px 14px; font-size: .9rem; font-weight: 600; }
@media (max-width: 700px) { .services { grid-template-columns: 1fr; } }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--gold-500); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: "Step " counter(step); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); }
.steps p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: 6px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .copy { display: grid; gap: 16px; }
.split .copy p { color: var(--ink-soft); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--gold-500); border-bottom: 3px solid var(--gold-500); transform: rotate(-45deg); }

/* CTA band */
.cta-band { background: var(--green-800); color: var(--white); padding-block: clamp(44px, 6vw, 72px); border-top: 3px solid var(--gold-500); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d9e0d6; margin-top: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--green-900); color: var(--white); border-radius: 6px; padding: 28px; display: grid; gap: 22px; }
.info-card h2, .info-card h3 { color: var(--gold-300); }
.info-row { display: grid; gap: 2px; }
.info-row .label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500); }
.info-row a, .info-row span, .info-row address { color: var(--white); font-style: normal; font-size: 1.05rem; }
.info-row a { text-decoration: underline; text-decoration-color: rgba(230,207,126,.5); }
.hours { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.hours td { padding: 4px 0; color: var(--white); }
.hours td:last-child { text-align: right; }
.hours tr.closed td { color: #a9b5ab; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid #b9bfae; border-radius: 4px; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold-300); border-color: var(--green-700); }
.form-note { font-size: .88rem; color: var(--ink-soft); }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: #9b2c1f; }
.hp { position: absolute; left: -9999px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--green-900); }
.faq details p { margin-top: 10px; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--green-900); color: #cfd8cd; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 36px; }
.footer-grid h3 { color: var(--gold-300); font-size: 1rem; margin-bottom: 12px; }
.footer-grid a { color: #cfd8cd; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid address { font-style: normal; }
.footer-brand img { width: 120px; margin-bottom: 12px; }
.legal { border-top: 1px solid rgba(230,207,126,.2); padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .85rem; color: #a9b5ab; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.notfound { text-align: center; padding-block: 96px; display: grid; gap: 18px; justify-items: center; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature { border-top: 3px solid var(--gold-500); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.feature p { color: var(--ink-soft); }
.more { margin-top: 28px; }

/* ===== Entrance / discount screen ===== */
body.intro-open { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: radial-gradient(120% 90% at 30% 40%, #1c4a2b 0%, #0e2616 55%, #081a0e 100%);
  color: var(--white);
  overflow-y: auto;
  padding: calc(24px + env(safe-area-inset-top, 0px)) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center;
  transition: opacity .6s ease, transform .6s ease;
}
.intro.leaving { opacity: 0; transform: scale(1.03); pointer-events: none; }
.intro-glow {
  position: absolute; left: 30%; top: 45%; width: 70vmin; height: 70vmin; translate: -50% -50%;
  background: radial-gradient(circle, rgba(230,207,126,.35) 0%, rgba(201,165,58,.12) 35%, transparent 70%);
  filter: blur(10px); pointer-events: none;
  animation: glow-pulse 5s ease-in-out 1.2s infinite;
}
.intro-inner { position: relative; width: 100%; max-width: 1040px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.intro-logo { position: relative; justify-self: center; width: min(400px, 80vw); aspect-ratio: 665 / 625; }
.intro-logo picture, .intro-logo img { width: 100%; height: 100%; }
.intro-logo img { filter: drop-shadow(0 18px 40px rgba(0,0,0,.55)); animation: logo-in 1.3s cubic-bezier(.2,.9,.25,1.15) both, logo-float 6s ease-in-out 1.6s infinite; }
.intro-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,250,220,.85) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0;
  -webkit-mask: url("../img/Genus_Home_Designs_Logo.webp") center / contain no-repeat;
          mask: url("../img/Genus_Home_Designs_Logo.webp") center / contain no-repeat;
  mix-blend-mode: screen;
  animation: shine 1.4s ease-in-out 1.1s both, shine 1.4s ease-in-out 7s infinite;
}
.intro-ring {
  position: absolute; left: 50%; top: 50%; width: 60%; aspect-ratio: 1; translate: -50% -50%;
  border: 2px solid var(--gold-300); border-radius: 50%; opacity: 0; pointer-events: none;
  animation: ring 1.6s ease-out .75s both;
}
.intro-ring.r2 { animation-delay: 1s; border-color: var(--gold-500); }

.intro-panel { display: grid; gap: 14px; animation: rise .8s ease-out 1.25s both; }
.intro-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); }
.intro-panel h2 { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.2rem); }
.intro-panel h2 span { color: var(--gold-300); display: inline-block; animation: pop .6s cubic-bezier(.2,.9,.3,1.4) 1.8s both; }
.intro-sub { color: #d9e0d6; font-size: 1.08rem; }
.intro-form, .intro-done { display: grid; gap: 14px; margin-top: 6px; }
.intro-form .field label { color: var(--gold-300); }
.intro-form .field input { background: rgba(255,255,255,.96); border-color: transparent; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: #d9e0d6; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold-500); flex: none; }
.intro-form .btn { justify-self: start; padding: 15px 28px; font-size: 1.05rem; }
.intro .form-status.err { color: #ffb4a6; }
.intro-done h3 { color: var(--gold-300); font-size: 1.6rem; }
.intro-done p { color: #d9e0d6; }
.intro-done .btn { justify-self: start; }
.intro-skip { justify-self: start; background: none; border: 0; padding: 4px 0; color: #cfd8cd; font: 600 .95rem var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.intro-skip:hover { color: var(--white); }
.intro-terms { font-size: .78rem; color: #93a296; max-width: 52ch; }

@keyframes logo-in {
  0%   { opacity: 0; transform: scale(.35) rotate(-10deg); filter: blur(14px) drop-shadow(0 0 0 rgba(0,0,0,0)); }
  60%  { opacity: 1; transform: scale(1.07) rotate(1.5deg); filter: blur(0) drop-shadow(0 18px 40px rgba(0,0,0,.55)); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: blur(0) drop-shadow(0 18px 40px rgba(0,0,0,.55)); }
}
@keyframes logo-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes ring { 0% { opacity: .9; scale: .6; } 100% { opacity: 0; scale: 2.1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes glow-pulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

@media (max-width: 820px) {
  .intro { place-items: start center; }
  .intro-inner { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .intro-logo { width: min(210px, 56vw); }
  .intro-glow { left: 50%; top: 22%; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-logo img, .intro-shine, .intro-ring, .intro-panel, .intro-panel h2 span, .intro-glow { animation: none !important; }
  .intro-ring { display: none; }
}

.intro-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 420px) { .intro-form .form-row { grid-template-columns: 1fr; } }
.intro-form .form-row-addr { grid-template-columns: 2fr 1fr; }
@media (max-width: 420px) { .intro-form .form-row-addr { grid-template-columns: 1fr; } }

.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: #c0392b; outline: 2px solid #c0392b; outline-offset: 0; }
.consent input.is-invalid { outline: 2px solid #ffb4a6; outline-offset: 2px; }
