:root {
  --bg: #0A2338;
  --bg-deep: #05162A;
  --text: rgba(255, 255, 255, 0.94);
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.42);
  --accent: #2A9A60;
  --accent-warm: #E8C27A;
  --accent-hover: #228852;
  --card-bg: rgba(255, 255, 255, 0.985);
  --card-text: #0A2338;
  --card-muted: #56677A;
  --card-faint: #93A2B0;
  --card-border: rgba(10, 35, 56, 0.08);
  --input-border: #D6DDE4;
  --input-bg: #FDFDFB;
  --grid-gap: 80px;
  --max-width: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(42, 154, 96, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(232, 194, 122, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 90%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  font-feature-settings: "kern" 1, "liga" 1, "onum" 1;
  text-rendering: optimizeLegibility;
}

/* Film-grain texture for depth */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.14 0 0 0 0 0.22 0 0 0 0.6 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

.bg-accent {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 50% at 20% 0%, rgba(42, 154, 96, 0.14), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(232, 194, 122, 0.05), transparent 45%);
  z-index: 0;
}

/* Abstract city skyline — sits at the very bottom of the viewport */
.skyline {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  pointer-events: none;
  color: rgba(4, 12, 22, 0.6);
  opacity: 0.9;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%, #000 100%);
}

.skyline svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Corner monogram */
.brand-mark {
  position: fixed;
  top: 32px;
  left: 32px;
  width: 44px;
  height: 44px;
  opacity: 0.85;
  z-index: 3;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

main {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 40px 72px;
}

.grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: var(--grid-gap);
  align-items: start;
}

/* ===== Intro column ===== */

.intro {
  padding-top: 4px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 28px;
  padding: 8px 16px 8px 14px;
  border: 1px solid rgba(42, 154, 96, 0.35);
  border-radius: 999px;
  background: rgba(42, 154, 96, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(42, 154, 96, 0.18);
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(42, 154, 96, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(42, 154, 96, 0.06); }
}

h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(44px, 4.8vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin: 0 0 24px;
  color: #FFFFFF;
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1;
}

h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.012em;
  display: inline-block;
  background: linear-gradient(180deg, var(--accent) 0%, #3BB075 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 150px;
  margin: 0 0 32px;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-warm) 35%, var(--accent-warm) 65%, transparent);
}

.ornament-mark {
  font-size: 11px;
  color: var(--accent-warm);
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(-0.5px);
}

.lede {
  font-size: 18px;
  color: #FFFFFF;
  line-height: 1.55;
  margin-bottom: 18px;
}

.body-copy p {
  margin: 0 0 16px;
  color: var(--text);
}

.body-copy p em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

/* ===== Stats strip ===== */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 40px 0 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stat:first-child {
  padding-left: 0;
  border-left: none;
}

.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  font-feature-settings: "lnum" 1, "tnum" 1;
  background: linear-gradient(180deg, #FFFFFF 0%, #DDE6EF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-dash {
  color: var(--accent-warm);
  font-weight: 400;
  margin: 0 3px;
  -webkit-text-fill-color: var(--accent-warm);
}

.stat-label {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Byline block ===== */

.byline {
  margin-top: 36px;
  padding-top: 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.byline p {
  margin: 0 0 10px;
  font-style: italic;
}

.byline p:last-child {
  margin-bottom: 0;
}

.byline strong {
  color: var(--text);
  font-weight: 600;
  font-style: normal;
}

/* ===== Form card ===== */

.card {
  position: sticky;
  top: 48px;
  background: var(--card-bg);
  color: var(--card-text);
  padding: 44px 40px 36px;
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 1px rgba(42, 154, 96, 0.08),
    0 40px 100px -20px rgba(0, 0, 0, 0.6),
    0 12px 28px -8px rgba(0, 0, 0, 0.3),
    0 -8px 40px -12px rgba(42, 154, 96, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(42, 154, 96, 0.035), transparent 35%);
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent-warm) 30%, var(--accent) 70%, transparent);
  opacity: 0.5;
  border-radius: 2px;
}

.card-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 14px;
  padding: 4px 10px;
  background: rgba(42, 154, 96, 0.1);
  border-radius: 4px;
}

.card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--card-text);
}

.card-sub {
  color: var(--card-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 28px;
}

/* Floating-label fields */
form .field {
  position: relative;
  margin-bottom: 14px;
}

form .field.float input {
  width: 100%;
  height: 58px;
  font-family: inherit;
  font-size: 16px;
  padding: 22px 16px 8px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  border-radius: 8px;
  color: var(--card-text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

form .field.float label {
  position: absolute;
  top: 19px;
  left: 16px;
  font-size: 15px;
  font-weight: 400;
  color: var(--card-faint);
  pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease, letter-spacing 0.15s ease;
  background: transparent;
  padding: 0;
  letter-spacing: 0;
}

form .field.float input:focus,
form .field.float input:not(:placeholder-shown) {
  outline: none;
  border-color: var(--accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(42, 154, 96, 0.12);
}

form .field.float input:focus + label,
form .field.float input:not(:placeholder-shown) + label {
  top: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  width: 100%;
  padding: 16px 26px;
  background: linear-gradient(180deg, var(--accent) 0%, #248852 100%);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.18s ease, filter 0.18s ease;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 20px -4px rgba(42, 154, 96, 0.45),
    0 2px 6px rgba(42, 154, 96, 0.2);
}

button[type="submit"]:hover {
  filter: brightness(1.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 12px 28px -4px rgba(42, 154, 96, 0.55),
    0 2px 6px rgba(42, 154, 96, 0.25);
}

button[type="submit"]:active {
  transform: translateY(1px);
}

button[type="submit"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: none;
}

button[type="submit"] svg {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

button[type="submit"]:hover svg {
  transform: translateX(3px);
}

.card-fine {
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.005em;
  color: var(--card-faint);
  margin: 14px 0 0;
  text-align: center;
}

.hidden {
  display: none;
}

#thank-you {
  padding: 16px 0 8px;
}

#thank-you h2 {
  margin-bottom: 12px;
  color: var(--card-text);
}

#thank-you p {
  color: var(--card-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===== Footer ===== */

.site-footer {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.site-footer-inner {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}

.site-footer .dot {
  color: var(--accent);
  opacity: 0.7;
}

/* ===== Entrance animation ===== */

.reveal {
  animation: rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal .kicker { animation: rise 0.6s 0.05s cubic-bezier(0.22, 1, 0.36, 1) both; }
.reveal h1 { animation: rise 0.7s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both; }
.reveal .ornament { animation: fadein 0.6s 0.35s ease both; }
.reveal .body-copy { animation: rise 0.65s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.reveal .stats { animation: rise 0.65s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both; }
.reveal .byline { animation: rise 0.65s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
.reveal .card { animation: rise 0.7s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both; }
.reveal .site-footer { animation: fadein 0.6s 0.55s ease both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal * { animation: none !important; }
  .kicker-dot { animation: none !important; }
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  main { padding: 96px 32px 56px; }
  .grid { gap: 56px; }
}

@media (max-width: 860px) {
  main { padding: 84px 28px 56px; }
  .grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .card {
    position: static;
    padding: 36px 28px 30px;
  }
  .brand-mark {
    top: 24px;
    left: 24px;
    width: 36px;
    height: 36px;
  }
  h1 { margin-bottom: 20px; }
  .stats { grid-template-columns: 1fr; }
  .stat {
    padding: 14px 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat:first-child {
    padding-top: 4px;
    border-top: none;
  }
  .stats {
    padding: 8px 0 14px;
  }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  main { padding: 72px 20px 40px; }
  .kicker { font-size: 10px; letter-spacing: 0.18em; }
  .card h2 { font-size: 24px; }
  .stat-num { font-size: 28px; }
  .site-footer-inner { font-size: 10.5px; letter-spacing: 0.08em; }
}
