/* =========================================================
   Island Preferred, Inc. — Design System
   Palette extracted from official lighthouse logo.
   ========================================================= */

@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@500,700,800,900&f[]=satoshi@400,500,700,900&display=swap');

:root {
  --navy: #1B3A5F;
  --navy-deep: #0F2438;
  --navy-darker: #0A1A2E;
  --gold: #E0AB3A;
  --gold-deep: #C49325;
  --gold-soft: #F5D78A;
  --red: #B8362F;
  --red-deep: #8F2920;
  --cream: #F5EDDC;
  --cream-soft: #FAF6EB;
  --cream-deep: #ECE0C4;
  --white: #FAFAF7;
  --pure-white: #FFFFFF;
  --slate: #6B7A8C;
  --slate-deep: #4A5867;
  --border: #E5DEC9;
  --border-strong: #D6CBAE;

  --shadow-sm: 0 1px 2px rgba(15, 36, 56, 0.04), 0 1px 3px rgba(15, 36, 56, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 36, 56, 0.06), 0 2px 4px rgba(15, 36, 56, 0.04);
  --shadow-lg: 0 20px 40px -15px rgba(15, 36, 56, 0.18), 0 8px 16px -8px rgba(15, 36, 56, 0.08);
  --shadow-xl: 0 32px 64px -20px rgba(15, 36, 56, 0.25);
  --shadow-gold: 0 12px 30px -10px rgba(224, 171, 58, 0.35);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1280px;
  --container-narrow: 980px;

  --font-display: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy-deep);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: var(--navy); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold-deep); }

button { font: inherit; cursor: pointer; border: none; background: none; }

ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--navy-deep); }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 12px 18px;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 1000;
  transform: translateY(calc(-100% - 24px));
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); color: var(--white); }

/* =========================================================
   Typography
   ========================================================= */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -0.02em; }
h4 { font-size: 1.2rem; letter-spacing: -0.015em; }

p { max-width: 65ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--gold-deep);
}

.lead {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--slate-deep);
  max-width: 60ch;
}

.muted { color: var(--slate); }

/* =========================================================
   Layout
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.container-narrow { max-width: var(--container-narrow); }

section { padding: clamp(64px, 9vw, 128px) 0; }

.section-header {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--navy-darker);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: var(--gold-deep);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--cream);
  color: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(250, 250, 247, 0.3);
}
.btn-outline-light:hover {
  background: rgba(250, 250, 247, 0.08);
  color: var(--white);
  border-color: var(--gold);
}

.btn-sm { padding: 11px 20px; font-size: 0.9rem; }
.btn-lg { padding: 19px 34px; font-size: 1.05rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy-deep);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease), color 0.2s var(--ease);
}
.text-link:hover { gap: 12px; color: var(--gold-deep); }

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(250, 250, 247, 0.96);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand:hover { color: var(--navy-deep); }
.brand-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-deep);
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover { background: var(--cream); color: var(--navy-deep); }
.nav-links a.active { color: var(--gold-deep); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 2px;
  opacity: 0.6;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--navy-deep);
}
.nav-dropdown-menu a small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--slate);
  margin-top: 2px;
}
.nav-dropdown-menu a:hover { background: var(--cream); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}
.nav-phone:hover { color: var(--gold-deep); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--navy-deep);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-sm { padding: 9px 16px; font-size: 0.85rem; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 24px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0.4s;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  padding: 16px 18px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-deep);
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--border);
}
.mobile-menu nav a:hover { background: var(--cream); }
.mobile-menu .mobile-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu .mobile-cta .btn { width: 100%; }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 128px);
  background: linear-gradient(180deg, var(--cream-soft) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -180px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 171, 58, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(27, 58, 95, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: var(--pure-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-deep);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-pill-badge {
  padding: 4px 10px;
  background: var(--navy-deep);
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.8rem);
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--navy);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 12px;
  background: var(--gold);
  z-index: -1;
  opacity: 0.45;
  border-radius: 4px;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  color: var(--slate-deep);
  max-width: 56ch;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 480px;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.hero-meta-label {
  font-size: 0.82rem;
  color: var(--slate);
  font-weight: 500;
}

/* Hero visual: lighthouse SVG composition with cards */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}
.hero-visual-card {
  position: absolute;
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-visual-card.card-top {
  top: 8%;
  left: -8%;
  animation: floatY 6s ease-in-out infinite;
}
.hero-visual-card.card-bottom {
  bottom: 6%;
  right: -6%;
  animation: floatY 7s ease-in-out infinite reverse;
}
.hero-visual-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--navy-deep);
}
.hero-visual-icon.gold { background: var(--gold); }
.hero-visual-card-text { display: flex; flex-direction: column; gap: 2px; }
.hero-visual-card-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}
.hero-visual-card-label {
  font-size: 0.78rem;
  color: var(--slate);
}

.hero-visual-frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  box-shadow: var(--shadow-xl);
}
.hero-visual-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(224, 171, 58, 0.28) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 215, 138, 0.18) 0%, transparent 50%);
  z-index: 1;
}
.hero-visual-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; aspect-ratio: 1 / 0.95; }
  .hero-visual-card.card-top { left: -4%; }
  .hero-visual-card.card-bottom { right: -2%; }
}

/* =========================================================
   Trust Strip
   ========================================================= */

.trust-strip {
  background: var(--navy-deep);
  color: var(--white);
  padding: 36px 0;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(224, 171, 58, 0.18);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-text { display: flex; flex-direction: column; }
.trust-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.trust-label {
  font-size: 0.82rem;
  color: rgba(250, 250, 247, 0.7);
}

@media (max-width: 800px) {
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

/* =========================================================
   Bento — Appraisal Use Cases
   ========================================================= */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
.bento-tile {
  position: relative;
  background: var(--pure-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.bento-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.bento-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.bento-tile-icon svg { width: 24px; height: 24px; }
.bento-tile:hover .bento-tile-icon { background: var(--gold); color: var(--navy-deep); }
.bento-tile h3 { font-size: 1.25rem; }
.bento-tile p { color: var(--slate-deep); font-size: 0.95rem; line-height: 1.55; max-width: none; }
.bento-tile-cta {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.bento-tile-cta::after {
  content: '→';
  transition: transform 0.25s var(--ease);
}
.bento-tile:hover .bento-tile-cta::after { transform: translateX(4px); }

.bento-tile.span-2 { grid-column: span 2; }
.bento-tile.span-3 { grid-column: span 3; }
.bento-tile.span-4 { grid-column: span 4; }
.bento-tile.row-2 { grid-row: span 2; }

.bento-tile.feature {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  border-color: var(--navy-deep);
}
.bento-tile.feature h3,
.bento-tile.feature .bento-tile-cta { color: var(--white); }
.bento-tile.feature p { color: rgba(250, 250, 247, 0.75); }
.bento-tile.feature .bento-tile-icon { background: rgba(224, 171, 58, 0.2); color: var(--gold); }
.bento-tile.feature::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(224, 171, 58, 0.22) 0%, transparent 60%);
}
.bento-tile.feature:hover { border-color: var(--gold); }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento-tile.span-3 { grid-column: span 4; }
  .bento-tile.span-4 { grid-column: span 4; }
  .bento-tile.span-2 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-tile.span-2,
  .bento-tile.span-3,
  .bento-tile.span-4 { grid-column: span 1; }
}

/* =========================================================
   Solutions Hub (different visual to differentiate)
   ========================================================= */

.solutions-section { background: var(--cream-soft); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--pure-white);
}
.solution-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
}
.solution-card:nth-child(3n) { border-right: none; }
.solution-card:nth-last-child(-n+3) { border-bottom: none; }
.solution-card:hover {
  background: var(--cream-soft);
  color: inherit;
}
.solution-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.solution-card-icon svg { width: 22px; height: 22px; }
.solution-card h4 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
}
.solution-card p {
  font-size: 0.92rem;
  color: var(--slate-deep);
  line-height: 1.55;
  margin: 0;
  max-width: none;
}
.solution-card-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--navy-deep);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.solution-card:hover .solution-card-arrow {
  background: var(--gold);
  transform: rotate(-45deg) translate(2px, -2px);
}

@media (max-width: 900px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .solution-card:nth-child(2n) { border-right: none; }
  .solution-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .solution-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { border-right: none !important; }
  .solution-card { border-bottom: 1px solid var(--border) !important; }
  .solution-card:last-child { border-bottom: none !important; }
}

/* =========================================================
   Founder Section
   ========================================================= */

.founder { background: var(--white); }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.founder-photo-wrap {
  position: relative;
  max-width: 460px;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.founder-photo-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.founder-photo-badge-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.founder-photo-badge-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.founder-quote {
  position: relative;
  padding: 24px 0 24px 28px;
  border-left: 3px solid var(--gold);
  margin: 28px 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--navy-deep);
  font-style: italic;
}
.founder-quote-attr {
  display: block;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--slate);
  font-weight: 500;
}

.founder-creds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 36px;
}
.founder-cred {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-deep);
}
.founder-cred svg { width: 18px; height: 18px; color: var(--gold-deep); flex-shrink: 0; }

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo-wrap { max-width: 380px; margin: 0 auto; }
}

/* =========================================================
   Blog Teaser
   ========================================================= */

.blog-teaser-section { background: var(--cream-soft); }
.blog-teaser-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.blog-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-image {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  position: relative;
}
.blog-card.featured .blog-card-image { aspect-ratio: 4 / 3; }
.blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 36, 56, 0.5));
}
.blog-card-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--slate);
  font-weight: 500;
}
.blog-card-tag {
  padding: 4px 10px;
  background: var(--cream);
  color: var(--navy-deep);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.blog-card h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  color: var(--navy-deep);
}
.blog-card.featured h3 { font-size: 1.6rem; }
.blog-card p {
  font-size: 0.92rem;
  color: var(--slate-deep);
  line-height: 1.55;
  max-width: none;
}
.blog-card a { color: inherit; }
.blog-card-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-deep);
}

@media (max-width: 900px) {
  .blog-teaser-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Final CTA
   ========================================================= */

.final-cta {
  position: relative;
  background: var(--navy-darker);
  color: var(--white);
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(224, 171, 58, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse at bottom left, rgba(27, 58, 95, 0.6) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: rgba(250, 250, 247, 0.78); }
.final-cta-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: rgba(250, 250, 247, 0.04);
  border: 1px solid rgba(250, 250, 247, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.final-cta-side-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.final-cta-phone {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
}
.final-cta-phone:hover { color: var(--gold); }
.final-cta-side-meta {
  font-size: 0.88rem;
  color: rgba(250, 250, 247, 0.7);
}

@media (max-width: 800px) {
  .final-cta-inner { grid-template-columns: 1fr; }
}

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

.site-footer {
  background: var(--navy-deep);
  color: rgba(250, 250, 247, 0.75);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-bottom: 18px;
}
.footer-brand h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 36ch;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(250, 250, 247, 0.06);
  border: 1px solid rgba(250, 250, 247, 0.1);
  color: rgba(250, 250, 247, 0.8);
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.footer-socials a:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.footer-socials svg { width: 16px; height: 16px; }

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  color: rgba(250, 250, 247, 0.75);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--gold); }

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  margin-bottom: 12px;
  line-height: 1.45;
}
.footer-contact-line svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(250, 250, 247, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   ideaaiincome credit (mandatory)
   ========================================================= */

.iai-credit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 20px;
  background: var(--navy-darker);
  color: rgba(250, 250, 247, 0.85);
  border: 1px solid rgba(250, 250, 247, 0.12);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.iai-credit-btn:hover {
  background: rgba(224, 171, 58, 0.1);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}
.iai-credit-highlight {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: -0.005em;
}

/* =========================================================
   Page Hero (interior pages)
   ========================================================= */

.page-hero {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px);
  background: linear-gradient(180deg, var(--cream-soft) 0%, var(--white) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 171, 58, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 28px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.breadcrumbs a { color: var(--slate); }
.breadcrumbs a:hover { color: var(--navy-deep); }
.breadcrumbs span[aria-current] { color: var(--navy-deep); font-weight: 600; }
.breadcrumbs::after {}
.breadcrumbs-sep { color: var(--border-strong); }

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
  z-index: 1;
}
.page-hero h1 { margin-bottom: 22px; }
.page-hero-sub { font-size: 1.15rem; color: var(--slate-deep); max-width: 60ch; margin-bottom: 32px; }

.page-hero-side {
  background: var(--pure-white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.page-hero-side h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.page-hero-side ul { display: flex; flex-direction: column; gap: 10px; }
.page-hero-side ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--navy-deep);
}
.page-hero-side ul li::before {
  content: '✓';
  color: var(--gold-deep);
  font-weight: 800;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .page-hero-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Service zigzag (alternating rows)
   ========================================================= */

.zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  margin-bottom: clamp(64px, 8vw, 96px);
}
.zigzag-row:last-child { margin-bottom: 0; }
.zigzag-row.reverse .zigzag-text { order: 2; }
.zigzag-row.reverse .zigzag-visual { order: 1; }

.zigzag-text h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 18px; }
.zigzag-text > p { color: var(--slate-deep); margin-bottom: 24px; font-size: 1.02rem; }

.zigzag-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.zigzag-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--navy-deep);
  font-weight: 500;
}
.zigzag-list li svg {
  width: 20px;
  height: 20px;
  color: var(--gold-deep);
  flex-shrink: 0;
  margin-top: 2px;
}

.zigzag-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
}
.zigzag-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(224, 171, 58, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 215, 138, 0.12) 0%, transparent 50%);
}
.zigzag-visual-num {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  color: rgba(224, 171, 58, 0.18);
  letter-spacing: -0.05em;
  line-height: 1;
}
.zigzag-visual-icon {
  position: absolute;
  z-index: 2;
  width: clamp(80px, 12vw, 140px);
  height: clamp(80px, 12vw, 140px);
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 24px;
  display: grid;
  place-items: center;
  box-shadow: 0 24px 48px -16px rgba(224, 171, 58, 0.5);
}
.zigzag-visual-icon svg { width: 50%; height: 50%; }

@media (max-width: 800px) {
  .zigzag-row, .zigzag-row.reverse { grid-template-columns: 1fr; }
  .zigzag-row.reverse .zigzag-text { order: 1; }
  .zigzag-row.reverse .zigzag-visual { order: 2; }
}

/* =========================================================
   Process Steps
   ========================================================= */

.process-section { background: var(--cream-soft); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.process-step {
  background: var(--pure-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.process-step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
}
.process-step h4 { font-size: 1.15rem; }
.process-step p { font-size: 0.92rem; color: var(--slate-deep); line-height: 1.55; max-width: none; }

@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Audience Cards (who-we-serve)
   ========================================================= */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.audience-card {
  padding: 28px;
  background: var(--pure-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.audience-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
}
.audience-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
}
.audience-card-icon svg { width: 22px; height: 22px; }
.audience-card h4 { font-size: 1.08rem; }
.audience-card p { font-size: 0.9rem; color: var(--slate-deep); line-height: 1.55; max-width: none; }

@media (max-width: 800px) { .audience-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FAQ
   ========================================================= */

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--pure-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq-item[open] { border-color: var(--navy); }
.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--navy-deep);
  border-bottom: 2px solid var(--navy-deep);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item-body {
  padding: 0 24px 22px;
  color: var(--slate-deep);
  font-size: 0.96rem;
  line-height: 1.6;
}

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

.form-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
}
.form-info h2 { margin-bottom: 18px; }
.form-info p { color: var(--slate-deep); margin-bottom: 32px; }
.form-info-list { display: flex; flex-direction: column; gap: 22px; }
.form-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.form-info-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.form-info-item-icon svg { width: 20px; height: 20px; }
.form-info-item-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 2px;
}
.form-info-item-text a, .form-info-item-text span {
  font-size: 0.96rem;
  color: var(--slate-deep);
}

.form-card {
  background: var(--pure-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.form-card > p { color: var(--slate); margin-bottom: 28px; font-size: 0.96rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.form-grid .full { grid-column: 1 / -1; }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: -0.005em;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--navy-deep);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(27, 58, 95, 0.1);
}
.form-field-error { display: none; font-size: 0.82rem; color: var(--red); font-weight: 500; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--red); }
.form-field.has-error .form-field-error { display: block; }

.form-help { font-size: 0.85rem; color: var(--slate); }

.form-success {
  display: none;
  padding: 24px;
  background: rgba(27, 58, 95, 0.06);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-md);
  color: var(--navy-deep);
}
.form-success.visible { display: block; }
.form-success h4 { font-size: 1.15rem; margin-bottom: 8px; }
.form-success p { font-size: 0.95rem; color: var(--slate-deep); margin: 0; }

@media (max-width: 800px) {
  .form-section { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Blog Index + Post
   ========================================================= */

.blog-index-section { padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 9vw, 128px); }
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .blog-index-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-index-grid { grid-template-columns: 1fr; } }

.post-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 24px);
}
.post-hero {
  padding: 72px 0 48px;
  text-align: center;
}
.post-hero .post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 20px;
  font-weight: 500;
}
.post-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.post-hero p.lead { margin: 0 auto; }
.post-hero-image {
  margin-top: 40px;
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-xl);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}

.post-body { padding: 56px 0 80px; }
.post-body h2 {
  font-size: 1.7rem;
  margin: 56px 0 18px;
  letter-spacing: -0.025em;
}
.post-body h2:first-child { margin-top: 0; }
.post-body h3 {
  font-size: 1.3rem;
  margin: 36px 0 14px;
}
.post-body p {
  font-size: 1.07rem;
  line-height: 1.75;
  margin-bottom: 22px;
  color: var(--navy-deep);
  max-width: none;
}
.post-body ul, .post-body ol {
  margin: 0 0 24px 0;
  padding-left: 0;
}
.post-body ul li, .post-body ol li {
  font-size: 1.07rem;
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
  color: var(--navy-deep);
}
.post-body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.post-body ol { counter-reset: post-list; }
.post-body ol li { counter-increment: post-list; }
.post-body ol li::before {
  content: counter(post-list) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--gold-deep);
  font-family: var(--font-display);
}
.post-body strong { color: var(--navy-deep); font-weight: 700; }
.post-body a { color: var(--navy); border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; }
.post-body a:hover { color: var(--gold-deep); }
.post-body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
  background: var(--cream-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy-deep);
}

.post-cta-block {
  margin: 56px 0 0;
  padding: 36px 32px;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
}
.post-cta-block h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 8px; }
.post-cta-block p { color: rgba(250, 250, 247, 0.78); font-size: 0.95rem; margin: 0; max-width: none; }
@media (max-width: 600px) { .post-cta-block { grid-template-columns: 1fr; } }

/* =========================================================
   404
   ========================================================= */

.error-page {
  min-height: calc(100dvh - 76px);
  display: grid;
  place-items: center;
  padding: 60px 20px;
  text-align: center;
}
.error-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}
.error-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.error-page p { color: var(--slate-deep); margin: 0 auto 32px; }
.error-page .btn { margin: 0 6px; }

/* =========================================================
   Utility Animations
   ========================================================= */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Print
   ========================================================= */

@media print {
  .site-header, .site-footer, .nav-toggle, .final-cta, .footer-credit { display: none; }
  body { color: #000; background: #fff; }
}

/* =========================================================
   Revisions — Logo, Dropdown bridge, Footer credit, Zigzag icon hide
   ========================================================= */

/* Brand: original square logo, full image (no crop, no rounding) */
.brand {
  display: inline-flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  color: var(--navy-deep);
  padding: 4px 0;
}
.brand img {
  height: 60px;
  width: auto;
  max-width: 200px;
  display: block;
  border-radius: 0;
  object-fit: contain;
}
.brand:hover { color: var(--navy-deep); }
.brand-sub { display: none !important; }
@media (max-width: 600px) {
  .brand img { height: 52px; }
}

/* Hide redundant gold icon overlay on zigzag photos */
.zigzag-visual-icon { display: none !important; }

/* Make zigzag big number more visible against photos */
.zigzag-visual-num {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  color: rgba(245, 215, 138, 0.32);
  letter-spacing: -0.05em;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(15, 36, 56, 0.25);
}

/* Dropdown hover-bridge: invisible 14px buffer above the menu so the cursor doesn't break the hover */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -8px;
  right: -8px;
  height: 14px;
}
.nav-dropdown-menu {
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  transition-delay: 0.05s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  transition-delay: 0s;
}

/* Footer credit (inline in footer-bottom) */
.footer-bottom {
  border-top: 1px solid rgba(250, 250, 247, 0.1);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-credit {
  font-size: 0.82rem;
  color: rgba(250, 250, 247, 0.5);
}
.footer-credit a {
  color: rgba(250, 250, 247, 0.72);
  border-bottom: 1px solid rgba(224, 171, 58, 0.45);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-credit a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Remove the old standalone credit button (in case any markup remains) */
.iai-credit-btn { display: none !important; }

/* ElevenLabs widget container (sits bottom-right above footer) */
elevenlabs-convai {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 90;
}
@media (max-width: 600px) {
  elevenlabs-convai { bottom: 8px; right: 8px; }
}
