/* ============================================================
   NWOS proposal landing — magnoliacpa.nwos.com/
   Compact 3-card layout. No long scroll.
   ============================================================ */

:root {
  --ink:        #14181F;
  --ink-soft:   #2E353F;
  --gray:       #6B7280;
  --gray-soft:  #9CA3AF;
  --line:       #E5E7EB;
  --paper:      #FAFAF7;
  --paper-2:    #F3F2EB;
  --white:      #FFFFFF;
  --accent:     #1F4E5F;          /* deep teal, professional */
  --accent-deep:#143844;
  --accent-soft:#D6E4E9;
  --nwos-violet:#7C5CD2;           /* nod to NWOS logo */
  --shadow-sm:  0 1px 2px rgba(20,24,31,.05);
  --shadow:     0 14px 30px -14px rgba(20,24,31,.18), 0 2px 6px -2px rgba(20,24,31,.05);
  --shadow-hover: 0 28px 56px -22px rgba(20,24,31,.28), 0 4px 12px -4px rgba(20,24,31,.08);
  --container:  1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16.5px; line-height: 1.6;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 .8em; text-wrap: pretty; }
ul, ol { margin: 0; padding-left: 1.2em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', sans-serif;
  font-weight: 600; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 1px; }

/* ---------- Top bar (NWOS brand) ---------- */
.top-bar {
  background: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top-bar img { height: 34px; width: auto; display: block; }
.top-bar .small {
  color: rgba(255,255,255,.55);
  font-size: 13px; letter-spacing: .04em;
}

/* ---------- Intro ---------- */
.intro {
  padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}
.intro .eyebrow { margin-bottom: 14px; }
.intro h1 { max-width: 22ch; margin-bottom: 14px; }
.intro p { color: var(--gray); max-width: 64ch; font-size: 1.05rem; }
.intro .meta {
  margin-top: 20px; color: var(--gray-soft); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 6px 22px;
}
.intro .meta strong { color: var(--ink); font-weight: 600; }

/* ---------- 3-card grid ---------- */
.deliverables-section { padding: clamp(36px, 5vw, 56px) 0 clamp(48px, 8vw, 80px); }
.deliverables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.deliverable {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.deliverable:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: rgba(31,78,95,.25);
}
.deliverable .tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 4px 11px; border-radius: 999px;
  font-family: 'Fraunces', sans-serif; font-weight: 600;
  font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 14px;
  align-self: flex-start;
}
.deliverable .tag.service,
.deliverable .tag.workspace {
  background: rgba(124,92,210,.13);
  color: #4F3597;
}
.deliverable h3 { font-size: 1.55rem; margin-bottom: 10px; }
.deliverable .desc { color: var(--gray); margin-bottom: 18px; font-size: .98rem; }
.deliverable ul.features { padding: 0; list-style: none; margin-bottom: 20px; }
.deliverable ul.features li {
  position: relative; padding-left: 24px;
  color: var(--ink-soft); font-size: .94rem;
  margin-bottom: 8px;
  line-height: 1.5;
}
.deliverable ul.features li:last-child { margin-bottom: 0; }
.deliverable ul.features li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 12px;
  background: var(--accent);
  clip-path: polygon(0 50%, 35% 100%, 100% 15%, 90% 0, 35% 75%, 10% 40%);
}
.deliverable .tag.service ~ ul.features li::before,
.deliverable .tag.workspace ~ ul.features li::before { background: var(--nwos-violet); }

.deliverable .price-card {
  margin-top: auto;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.deliverable .price-card .price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.deliverable .price-card .price-row.sub {
  padding-top: 8px; border-top: 1px solid var(--line);
}
.deliverable .price-card .label {
  font-family: 'Fraunces', sans-serif;
  font-size: 12px; letter-spacing: .04em;
  color: var(--gray);
  font-weight: 600;
}
.deliverable .price-card .price-row.sub .label { color: var(--gray-soft); font-weight: 500; }
.deliverable .price-card .amount {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1;
}
.deliverable .price-card .price-row.sub .amount { font-size: 1.15rem; color: var(--ink-soft); }
.deliverable .price-card .amount.placeholder { color: var(--gray-soft); font-style: italic; font-size: .98rem; font-weight: 500; }

.deliverable .actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 18px 0;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: 'Fraunces', sans-serif; font-weight: 600; font-size: 14px;
  line-height: 1;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: var(--white); }
.btn.primary:hover { background: var(--accent-deep); color: var(--white); }
.btn.secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.site-footer .container {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  color: var(--gray); font-size: 13.5px;
}
.site-footer a { color: var(--gray); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .deliverables { grid-template-columns: 1fr; gap: 18px; }
  .deliverable { padding: 26px; }
}

/* ============ Dramatic dark hero ============ */
.hero-dramatic {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(27,58,92,1) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(15,23,42,1) 0%, transparent 60%),
    linear-gradient(180deg, #0A1226 0%, #050918 100%);
  color: #E8EDF5;
  isolation: isolate;
  border-radius: 0;
}
.hero-dramatic .top-bar {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative; z-index: 3;
}
.hero-dramatic .top-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-dramatic .top-bar img { height: 34px; width: auto; }
.hero-dramatic .top-bar .small {
  color: rgba(255,255,255,.55);
  font-size: 13px; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 8px;
}

.hero-inner {
  position: relative; z-index: 3;
  padding: clamp(60px, 10vw, 120px) 28px clamp(60px, 9vw, 110px) !important;
  max-width: var(--container);
  margin: 0 auto;
}

/* Animated gradient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  top: -10%; left: -8%;
  width: 540px; height: 540px;
  background: radial-gradient(circle, #2D5FAA 0%, transparent 70%);
  animation: blobFloat1 22s ease-in-out infinite;
}
.hero-blob-2 {
  top: 15%; right: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, #7C5CD2 0%, transparent 70%);
  animation: blobFloat2 18s ease-in-out infinite;
  opacity: .42;
}
.hero-blob-3 {
  bottom: -15%; left: 30%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, #C8A24B 0%, transparent 70%);
  animation: blobFloat3 26s ease-in-out infinite;
  opacity: .22;
}
@keyframes blobFloat1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(80px, 60px) scale(1.08); } }
@keyframes blobFloat2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-100px, 40px) scale(.92); } }
@keyframes blobFloat3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px, -80px) scale(1.05); } }

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(180deg, transparent 0%, var(--paper) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Status pulse */
.dot-pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #6FD195;
  box-shadow: 0 0 0 0 rgba(111,209,149,.7);
  animation: dotPulse 2.2s ease-out infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(111,209,149,.7); }
  70% { box-shadow: 0 0 0 10px rgba(111,209,149,0); }
  100% { box-shadow: 0 0 0 0 rgba(111,209,149,0); }
}

/* Hero typography */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 500; font-size: 12.5px;
  letter-spacing: .08em;
  color: #A5B4D0;
  margin-bottom: 22px;
  padding: 6px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: heroFadeUp .6s .1s ease-out both;
}
.hero-dramatic h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 24px;
  text-wrap: balance;
  max-width: 18ch;
  animation: heroFadeUp .7s .2s ease-out both;
}
.grad-text {
  background: linear-gradient(120deg, #93C5FD 0%, #B19BEA 45%, #E8C97F 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  background-size: 200% 200%;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-dramatic .lead {
  font-size: 1.18rem;
  color: rgba(232,237,245,.72);
  margin-bottom: 32px;
  max-width: 56ch;
  animation: heroFadeUp .7s .35s ease-out both;
}
.hero-cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 48px;
  animation: heroFadeUp .7s .5s ease-out both;
}

/* Glowing primary button */
.btn.primary.glow {
  background: linear-gradient(135deg, #2D5FAA 0%, #1B3A5C 100%);
  color: #FFFFFF;
  box-shadow:
    0 0 0 1px rgba(125,167,219,.4) inset,
    0 8px 22px -6px rgba(45,95,170,.55),
    0 0 30px -10px rgba(125,167,219,.7);
  position: relative;
}
.btn.primary.glow:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3873C8 0%, #234876 100%);
  color: #FFFFFF;
  box-shadow:
    0 0 0 1px rgba(155,191,232,.5) inset,
    0 14px 30px -6px rgba(45,95,170,.65),
    0 0 50px -8px rgba(155,191,232,.85);
}
.btn.primary.glow .arrow { display: inline-block; transition: transform .25s ease; }
.btn.primary.glow:hover .arrow { transform: translateY(3px); }

.btn.ghost-dark {
  background: rgba(255,255,255,.05);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn.ghost-dark:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.32);
  color: var(--white);
}

/* Hero stats (4-up) */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 28px;
  max-width: 720px;
  animation: heroFadeUp .7s .65s ease-out both;
}
.hero-stats .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stats .num {
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #FFFFFF 0%, #B7C9E5 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: 'Inter', sans-serif;
}
.hero-stats .num-label {
  font-size: 12.5px;
  color: rgba(232,237,245,.55);
  letter-spacing: .02em;
}

.hero-meta {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  display: inline-flex; flex-wrap: wrap; gap: 6px 14px;
  animation: heroFadeUp .7s .8s ease-out both;
}
.hero-meta .sep { opacity: .4; }
.hero-meta strong { color: rgba(255,255,255,.9); }

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

@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-dramatic h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blob, .grad-text, .dot-pulse,
  .hero-eyebrow, .hero-dramatic h1, .hero-dramatic .lead,
  .hero-cta-row, .hero-stats, .hero-meta { animation: none; }
}

/* ============ Card polish: tilt + glow on hover ============ */
.deliverable {
  position: relative;
  overflow: hidden;
}
.deliverable::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(45,95,170,.10), transparent 40%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 0;
}
.deliverable:hover::before { opacity: 1; }
.deliverable > * { position: relative; z-index: 1; }

/* ============ Old .intro section retired ============ */
/* The .intro styles are no longer used; the dramatic hero replaces them. */
