/* ─── Newlife United · Design System ─────────────────────────────── */
:root {
  --ink:   #0E0F0D;
  --ink-2: #1A1B18;
  --ink-3: #0a0b09;
  --paper:   #ECE8DF;
  --paper-2: #E3DED2;
  --paper-3: #F4F1EA;
  --stone:   #9A958B;
  --stone-2: #6F6B62;
  --rule:    rgba(14,15,13,0.14);
  --accent:  #C99A2C;
  --forest:  #C99A2C;
  --font-display: 'Fraunces','Playfair Display',Georgia,serif;
  --font-sans:    'Space Grotesk','Inter',system-ui,sans-serif;
  --font-body:    'Inter',system-ui,sans-serif;
  --font-mono:    'JetBrains Mono',ui-monospace,monospace;
  --nav-h: 73px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography helpers ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: inline-block; flex-shrink: 0;
}
.eyebrow.dark { color: var(--stone-2); }
.eyebrow.dark .dot { background: var(--forest); }

.serif { font-family: var(--font-display); font-style: italic; font-weight: 300; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 500; font-size: 14px; letter-spacing: -0.01em;
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  text-decoration: none; transition: transform .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: var(--ink-2); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: rgba(255,255,255,0.08); }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.light:hover { background: var(--paper-2); }
.btn.accent-bg { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn.accent-bg:hover { opacity: 0.9; }
.btn.sm { padding: 9px 14px; font-size: 12px; gap: 7px; }
.btn.full { width: 100%; justify-content: space-between; }

/* ── Arrow icon ─────────────────────────────────────────────────── */
.arrow-icon { display: inline-block; flex-shrink: 0; }

/* ── Nav ────────────────────────────────────────────────────────── */
#site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,15,13,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px; gap: 24px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 500; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--paper); text-decoration: none; position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .2s;
}
.nav-links a:hover { color: rgba(255,255,255,0.7); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--accent);
}
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-service-time { font-size: 12px; font-family: var(--font-mono); color: rgba(255,255,255,0.5); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-chevron { display: inline-block; transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
  background: #0E0F0D; border: 1px solid rgba(255,255,255,0.12);
  min-width: 420px; padding: 10px; display: grid; gap: 2px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, visibility .2s;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-dropdown-item {
  display: grid; gap: 2px; padding: 14px 16px; text-decoration: none;
  color: var(--paper); transition: background .15s;
}
.nav-dropdown-item:hover { background: rgba(255,255,255,0.06); }
.nav-dropdown-item.active { background: rgba(255,255,255,0.04); color: var(--accent); }
.nav-dropdown-item-label { font-size: 14px; font-weight: 500; }
.nav-dropdown-item-desc { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 400; }

/* Mobile nav toggle */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 6px;
  background: transparent; border: none; color: var(--paper);
}
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-mobile {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0;
  background: var(--ink); z-index: 99; overflow-y: auto;
  padding: 32px 24px; flex-direction: column; gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--paper); text-decoration: none; font-size: 20px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-mobile a.active { color: var(--accent); }
.nav-mobile-sub { padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.nav-mobile-sub a { font-size: 16px; color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.05); }

/* ── Footer ─────────────────────────────────────────────────────── */
#site-footer {
  background: var(--ink); color: var(--paper);
  padding: 96px 40px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner { max-width: 1360px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-logo img { height: 48px; width: auto; }
.footer-tagline {
  margin-top: 28px;
  font-family: var(--font-display); font-style: italic;
  font-size: 38px; line-height: 1.1; font-weight: 300; letter-spacing: -0.02em;
  max-width: 380px; color: var(--paper);
}
.footer-address {
  margin-top: 20px; font-size: 13px;
  color: rgba(255,255,255,0.55); line-height: 1.8;
}
.footer-socials { margin-top: 28px; display: flex; gap: 10px; }
.footer-social {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--paper); text-decoration: none; font-family: var(--font-mono);
  font-size: 11px; transition: border-color .2s, color .2s;
}
.footer-social:hover { border-color: var(--accent); color: var(--accent); }
.footer-col-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 14px; }
.footer-col ul a { color: var(--paper); text-decoration: none; transition: color .2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,0.45); letter-spacing: 0.07em; text-transform: uppercase;
  flex-wrap: wrap; gap: 12px;
}

/* ── Sections ───────────────────────────────────────────────────── */
.section { padding: 120px 40px; }
.section.dark { background: var(--ink-3); }
.section.light { background: var(--paper); color: var(--ink); }
.section.bordered { border-bottom: 1px solid rgba(255,255,255,0.1); }
.section.light.bordered { border-bottom-color: rgba(14,15,13,0.1); }
.container { max-width: 1360px; margin: 0 auto; }
.container-md { max-width: 1100px; margin: 0 auto; }

/* Page hero */
.page-hero {
  position: relative; min-height: 520px; padding: 100px 40px 80px;
  overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: flex-end;
}
.page-hero-bg {
  position: absolute; inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,13,0.5) 0%, rgba(14,15,13,0.85) 70%, var(--ink) 100%);
}
.page-hero-grain {
  position: absolute; inset: 0; opacity: 0.25; pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; max-width: 1360px; margin: 0 auto; width: 100%; }
.page-hero-kicker { margin-bottom: 28px; }
.page-hero h1 {
  font-family: var(--font-sans); font-weight: 500; margin: 0 0 28px;
  font-size: clamp(64px, 10vw, 180px); letter-spacing: -0.05em; line-height: 0.87;
}
.page-hero-lede {
  font-size: 19px; line-height: 1.55; color: rgba(255,255,255,0.78); max-width: 720px; margin: 0;
}

/* CTA strip */
.cta-strip {
  position: relative; padding: 160px 40px; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08); text-align: center;
}
.cta-strip-bg { position: absolute; inset: 0; }
.cta-strip-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cta-strip-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,13,0.7) 0%, rgba(14,15,13,0.95) 100%);
}
.cta-strip-content { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.cta-strip h2 {
  font-family: var(--font-sans); font-weight: 500; margin: 28px 0;
  font-size: clamp(56px, 8vw, 140px); letter-spacing: -0.045em; line-height: 0.92;
}
.cta-strip-lede {
  font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.78);
  max-width: 600px; margin: 0 auto 36px;
}
.cta-strip-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── Marquee / ticker ───────────────────────────────────────────── */
.ticker-rail {
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0; overflow: hidden; background: var(--ink-3);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 40s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item-accent { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em; color: var(--accent); }
.ticker-item-main { font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--paper); }
.ticker-item-muted { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em; color: rgba(255,255,255,0.45); }

/* ── Live dot ───────────────────────────────────────────────────── */
@keyframes livepulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #D14040; display: inline-block;
  animation: livepulse 1.6s ease-in-out infinite; vertical-align: middle;
}

/* ── Grid card borders ──────────────────────────────────────────── */
.grid-ruled {
  display: grid; gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}
.grid-ruled.light-ruled { background: rgba(14,15,13,0.12); border-color: rgba(14,15,13,0.12); }
.grid-ruled .cell { background: var(--ink); }
.grid-ruled.light-bg .cell { background: var(--paper); }
.grid-ruled.dark-bg .cell { background: var(--ink-3); }

/* ── Image / photo patterns ─────────────────────────────────────── */
.photo-cover {
  position: relative; overflow: hidden; background: #121311;
}
.photo-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.photo-cover .photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.82));
}

/* ── FAQ accordion ──────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.faq-btn {
  width: 100%; padding: 26px 0; background: transparent; border: none;
  color: var(--paper); font-size: 21px; font-weight: 500; letter-spacing: -0.015em;
  text-align: left; display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.faq-icon { font-family: var(--font-mono); font-size: 28px; color: var(--accent); font-weight: 300; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-body { display: none; padding-bottom: 24px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.78); max-width: 800px; }
.faq-item.open .faq-body { display: block; }

/* ── Form inputs ────────────────────────────────────────────────── */
.input-field {
  padding: 17px 20px; background: transparent;
  border: 1px solid rgba(255,255,255,0.2); color: var(--paper);
  font-family: inherit; font-size: 15px; width: 100%;
  transition: border-color .2s;
}
.input-field:focus { outline: none; border-color: rgba(255,255,255,0.5); }
.input-field::placeholder { color: rgba(255,255,255,0.35); }
.input-field.underline {
  border: none; border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-left: 0; padding-right: 0; border-radius: 0;
}
.input-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.55); display: block; margin-bottom: 7px;
}
.input-group { display: grid; gap: 7px; }
select.input-field option { background: #0E0F0D; }
.form-success {
  border: 1px solid var(--accent); padding: 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.form-success-headline {
  font-family: var(--font-display); font-style: italic;
  font-weight: 300; font-size: 56px; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--accent);
}
.form-success p {
  margin-top: 18px; font-size: 16px; color: rgba(255,255,255,0.78); line-height: 1.6;
}

/* ── Link underline hover ───────────────────────────────────────── */
.link-hover {
  position: relative; text-decoration: none; color: inherit;
}
.link-hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.link-hover:hover::after { transform: scaleX(1); }

/* ── Give flow toggles ──────────────────────────────────────────── */
.pill-group { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 9px 16px; background: transparent; color: var(--paper);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.pill.active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.amount-pill {
  padding: 14px; background: transparent; color: var(--paper);
  border: 1px solid rgba(255,255,255,0.25);
  font-family: inherit; font-size: 16px; font-weight: 500;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.amount-pill.active { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.freq-group { display: flex; gap: 8px; }
.freq-btn {
  flex: 1; padding: 12px; background: transparent; color: var(--paper);
  border: 1px solid rgba(255,255,255,0.25);
  font-family: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: background .15s, color .15s;
}
.freq-btn.active { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ── Countdown ──────────────────────────────────────────────────── */
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 24px; }
.countdown-cell { background: rgba(255,255,255,0.08); padding: 12px; text-align: center; }
.countdown-num { font-family: var(--font-sans); font-size: 28px; font-weight: 500; color: var(--paper); }
.countdown-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ── Group filter ───────────────────────────────────────────────── */
.group-filter-row { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.group-row {
  display: grid; gap: 24px; padding: 24px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: center; transition: background .15s;
}
.group-row:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.group-row:hover { background: rgba(255,255,255,0.03); }
.group-row.hidden { display: none; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-service-time { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 18px 24px; }
  .section { padding: 72px 24px; }
  .page-hero { padding: 72px 24px 56px; min-height: auto; }
  .page-hero h1 { font-size: clamp(48px, 12vw, 100px); }
  .cta-strip { padding: 100px 24px; }
  .cta-strip h2 { font-size: clamp(48px, 10vw, 100px); }
  #site-footer { padding: 72px 24px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline { font-size: 28px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
