/* ── SCOGNA.COM SHARED STYLES ── */
:root {
  --teal:       #00B4B4;
  --teal-dark:  #008080;
  --teal-dim:   rgba(0,180,180,0.08);
  --ink:        #0E1117;
  --ink-mid:    #2C2F3A;
  --ink-muted:  #6B7280;
  --paper:      #F9FAFB;
  --white:      #FFFFFF;
  --rule:       #E5E7EB;
  --display:    'Cormorant Garamond', Georgia, serif;
  --body:       'Inter', system-ui, sans-serif;
  --max-w:      1040px;
  --read-w:     680px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* LAYOUT */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.wrap--narrow {
  max-width: var(--read-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding-block: 1rem;
}
.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.nav-logo span { color: var(--teal); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-dark); }

/* TYPOGRAPHY */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.display-xl {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--ink);
}
.display-lg {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}
.display-md {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
em.teal { font-style: italic; color: var(--teal); }
.body-lg { font-size: 1.05rem; color: var(--ink-mid); line-height: 1.8; }
.body-md { font-size: 0.95rem; color: var(--ink-mid); line-height: 1.8; }
.body-sm { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.7; }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--teal-dark); }

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--teal-dark);
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.9; }

.btn-ghost {
  display: inline-block;
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--teal); border-color: var(--teal); }

.text-link {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.875rem;
}
.text-link:hover { text-decoration: underline; }

/* SECTIONS */
.section { padding-block: 5rem; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); }
.section--teal { background: var(--teal); }

/* PAGE HERO (inner pages) */
.page-hero {
  padding-block: 4rem 3rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.page-hero .eyebrow { margin-bottom: 0.75rem; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.25rem;
  max-width: 720px;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--ink-mid);
  line-height: 1.8;
  max-width: 560px;
}

/* TRUST BAR */
.trust-bar {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  padding-block: 1.25rem;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.trust-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* TWO COL GRID */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col--reverse .col-image { order: 2; }
.two-col--reverse .col-content { order: 1; }

/* IMAGE BLOCKS */
.img-block {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.img-block img { width: 100%; height: 100%; object-fit: cover; }
.img-block--square { aspect-ratio: 1; }
.img-block--tall { aspect-ratio: 3/4; }

/* CARD GRID */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* CARDS */
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.75rem;
}
.card--teal-border { border-left: 3px solid var(--teal); }
.card--featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.card--dark {
  background: #1a2234;
  border-color: #1e293b;
}

.card-num {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--teal);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.card-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.card--dark .card-title { color: var(--white); }
.card-body {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.65;
}
.card--dark .card-body { color: #64748b; }

/* QUOTE CARDS */
.quote-card {
  background: var(--white);
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 1.75rem;
}
.quote-text {
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.quote-cite {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.quote-cite strong { color: var(--teal-dark); }

/* CTA BAND */
.cta-band {
  padding-block: 5rem;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 1rem;
}
.cta-band p {
  font-size: 0.95rem;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.cta-band--teal h2 { color: var(--white); }
.cta-band--teal p { color: rgba(255,255,255,0.8); }
.cta-band--ink h2 { color: var(--white); }
.cta-band--ink p { color: #94a3b8; }
.cta-note {
  font-size: 0.78rem;
  margin-top: 0.75rem;
}
.cta-band--teal .cta-note { color: rgba(255,255,255,0.55); }
.cta-band--ink .cta-note { color: #334155; }

/* FOOTER */
footer {
  background: var(--ink);
  color: #64748b;
  padding-block: 3rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}
.footer-logo span { color: var(--teal); }
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.footer-links a { color: #64748b; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }
.footer-copy {
  font-size: 0.75rem;
  color: #334155;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col--reverse .col-image { order: -1; }
  .two-col--reverse .col-content { order: 1; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .trust-inner { gap: 1rem; }
  .footer-inner { flex-direction: column; }
  .section { padding-block: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
