/* ProjectHome.sg — design system */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Nunito+Sans:wght@300;400;600;700;800&display=swap');

:root {
  --teal: #063943;
  --teal-dark: #042930;
  --teal-light: #0a525f;
  --copper: #d19557;
  --copper-light: #e0aa72;
  --cream: #f7f1e8;
  --paper: #fbf8f3;
  --ink: #1a2326;
  --muted: #6a7a7d;
  --line: #e5dfd4;
  --shadow-sm: 0 2px 8px rgba(6, 57, 67, 0.06);
  --shadow: 0 12px 40px rgba(6, 57, 67, 0.08);
  --shadow-lg: 0 24px 60px rgba(6, 57, 67, 0.14);
  --shadow-ring: 0 0 0 3px rgba(209, 149, 87, 0.32);
  --radius: 8px;
  --radius-lg: 16px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Nourd', 'Nunito Sans', 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--copper); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--teal); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--teal);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

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

/* ===== Accessibility ===== */
*:focus { outline: none; }
*:focus-visible {
  outline: none;
  box-shadow: var(--shadow-ring);
  border-radius: 4px;
}
.btn:focus-visible,
.nav-cta:focus-visible {
  box-shadow: 0 0 0 4px rgba(209, 149, 87, 0.32);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px 18px;
  background: var(--teal);
  color: var(--cream);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  color: var(--cream);
}

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

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 52px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text .name {
  font-family: var(--font-display);
  color: var(--teal);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-text .tag {
  font-size: 0.72rem;
  color: var(--copper);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a:not(.nav-cta) {
  color: var(--teal);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-links a:not(.nav-cta)::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.nav-links a:not(.nav-cta):hover::before,
.nav-links a.active::before { transform: scaleX(1); }
.nav-links a.active { color: var(--copper); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--copper);
  color: white !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary { background: var(--copper); color: white; }
.btn-primary:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary { background: var(--teal); color: var(--cream); }
.btn-secondary:hover { background: var(--copper); color: white; }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--cream); }

.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover {
  background: #1ea952;
  color: white;
  transform: translateY(-2px);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow,
.step-link:hover .arrow,
.read-more:hover .arrow {
  transform: translateX(4px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(6, 57, 67, 0.96) 0%, rgba(6, 57, 67, 0.88) 60%, rgba(6, 57, 67, 0.78) 100%);
  color: var(--cream);
  padding: 96px 24px 110px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(209, 149, 87, 0.18), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
  text-align: left;
}

.hero-copy { position: relative; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(209, 149, 87, 0.25);
  isolation: isolate;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 57, 67, 0) 60%, rgba(6, 57, 67, 0.35) 100%);
  pointer-events: none;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(6, 57, 67, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(209, 149, 87, 0.35);
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px rgba(209, 149, 87, 0.22);
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }
  .hero-media {
    order: -1;
    max-width: 460px;
    margin: 0 auto;
  }
}

.hero-ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(209, 149, 87, 0.14);
  border: 1px solid rgba(209, 149, 87, 0.4);
  color: var(--copper);
  margin-bottom: 20px;
}
.hero-ornament svg { width: 24px; height: 24px; }

.hero .eyebrow {
  display: inline-block;
  color: var(--copper);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  color: var(--copper);
  font-style: normal;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(247, 241, 232, 0.9);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 560px;
  margin: 44px 0 0;
  padding-top: 32px;
  border-top: 1px solid rgba(209, 149, 87, 0.3);
}

@media (max-width: 960px) {
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { margin-left: auto; margin-right: auto; max-width: 560px; }
}

.hero-stats .stat { text-align: center; }
.hero-stats .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--copper) 0%, #f0bb84 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  line-height: 1;
}
.hero-stats .label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 241, 232, 0.75);
  margin-top: 8px;
}

/* ===== Sections ===== */
section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-head .eyebrow {
  display: inline-block;
  color: var(--copper);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 14px;
}

/* Decorative divider */
.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--copper);
  margin: 0 auto 14px;
}
.divider-ornament .line { width: 36px; height: 1px; background: currentColor; opacity: 0.5; }
.divider-ornament .glyph { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* ===== Trust strip ===== */
.trust-strip {
  background: white;
  padding: 50px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.trust-label {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.trust-pills {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.trust-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }

/* ===== Features ===== */
.features { background: white; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--copper);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--teal);
  color: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.96rem; }

/* ===== Guide steps ===== */
.guides { background: var(--paper); }
.steps {
  display: grid;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  scroll-margin-top: 96px;
}
.step:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-body h3 { margin-bottom: 8px; }
.step-body p { color: var(--muted); margin-bottom: 14px; }
.step-body ul { list-style: none; margin-bottom: 14px; }
.step-body ul li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.step-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--copper);
  font-weight: 700;
}
.step-body .step-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.step-body .step-link:hover { color: var(--teal); }

/* ===== Blog ===== */
.blog-section { background: white; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.post-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.post-thumb {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.6s var(--ease);
}
.post-card:hover .post-thumb { transform: scale(1.05); }
.post-thumb .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--copper);
  color: white;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 1;
}
.post-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-meta {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.post-card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 18px;
  flex: 1;
}
.post-card .read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}

/* Featured post (magazine layout) */
.featured-post {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 50px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.featured-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.featured-post .post-thumb {
  aspect-ratio: auto;
  min-height: 380px;
}
.featured-post .post-body {
  padding: 50px 50px 50px 46px;
  justify-content: center;
}
.featured-post .post-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.featured-post .featured-tag {
  background: var(--copper);
  color: white;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.featured-post h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin-bottom: 16px;
  line-height: 1.25;
}
.featured-post .summary {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Filter chips */
.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.chip {
  background: white;
  color: var(--teal);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--copper); color: var(--copper); }
.chip.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--cream);
}

/* ===== Single post ===== */
.post-hero {
  background: var(--teal);
  color: var(--cream);
  padding: 80px 24px 60px;
  text-align: center;
}
.post-hero .post-meta { color: var(--copper); }
.post-hero h1 {
  color: var(--cream);
  max-width: 820px;
  margin: 14px auto 0;
}

.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 24px;
}
.post-content p,
.post-content ul,
.post-content ol {
  margin-bottom: 1.4em;
  color: #2a3539;
  font-size: 1.05rem;
  line-height: 1.85;
}
.post-content h2 {
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-size: 1.7rem;
}
.post-content h3 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}
.post-content ul, .post-content ol { padding-left: 1.4em; }
.post-content blockquote {
  border-left: 4px solid var(--copper);
  padding: 14px 22px;
  margin: 1.4em 0;
  background: var(--paper);
  font-style: italic;
  color: var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.post-content img {
  border-radius: var(--radius-lg);
  margin: 1.4em 0;
}
.post-content a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '"';
  position: absolute;
  font-family: 'Georgia', serif;
  font-size: 24rem;
  color: rgba(209, 149, 87, 0.06);
  top: -80px;
  left: -20px;
  line-height: 1;
  pointer-events: none;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  position: relative;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card .stars {
  color: var(--copper);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.testimonial-quote {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 22px;
  font-style: italic;
  font-family: var(--font-display);
}
.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-meta { line-height: 1.3; }
.testimonial-meta .name {
  font-weight: 600;
  color: var(--teal);
  font-size: 0.92rem;
}
.testimonial-meta .role {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ===== FAQ ===== */
.faq { background: white; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open], .faq-item:hover { border-color: var(--copper); }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--teal);
  transition: color 0.2s ease;
}
.faq-summary:hover { color: var(--copper); }
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.2s ease;
}
.faq-item[open] .faq-summary .icon {
  background: var(--copper);
  color: white;
  transform: rotate(45deg);
  border-color: var(--copper);
}
.faq-body {
  padding: 0 26px 22px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

/* ===== Contact / Lead form ===== */
.contact {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(209, 149, 87, 0.18), transparent 65%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
  position: relative;
}
.contact-info h2 {
  color: var(--cream);
  margin-bottom: 20px;
}
.contact-info p {
  color: rgba(247, 241, 232, 0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.contact-channels {
  display: grid;
  gap: 16px;
}
.channel {
  display: flex;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(247, 241, 232, 0.06);
  border: 1px solid rgba(209, 149, 87, 0.2);
  border-radius: var(--radius);
  align-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.channel:hover {
  background: rgba(247, 241, 232, 0.1);
  border-color: var(--copper);
}
.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--copper);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-text { line-height: 1.3; }
.channel-text .label {
  font-size: 0.75rem;
  color: var(--copper);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.channel-text .value {
  display: block;
  color: var(--cream);
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 2px;
}

.lead-form {
  background: var(--paper);
  color: var(--ink);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.lead-form h3 { margin-bottom: 6px; }
.lead-form .form-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 26px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(209, 149, 87, 0.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.checkbox-row input { margin-top: 4px; }
.lead-form button { width: 100%; }
.form-success {
  display: none;
  background: #e8f5e9;
  color: #1b5e20;
  border-left: 4px solid #2e7d32;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.form-success.show { display: block; }

/* ===== CTA strip ===== */
.cta-strip {
  background: var(--copper);
  color: white;
  padding: 60px 24px;
  text-align: center;
}
.cta-strip h2 { color: white; margin-bottom: 14px; }
.cta-strip p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-strip .btn-secondary { background: var(--teal); }
.cta-strip .btn-secondary:hover {
  background: var(--teal-dark);
  color: var(--copper);
}

/* ===== Page banner (inner pages) ===== */
.page-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  color: var(--cream);
  padding: 90px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom right, rgba(209, 149, 87, 0.2), transparent 60%);
}
.page-banner-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.page-banner .eyebrow {
  color: var(--copper);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}
.page-banner h1 { color: var(--cream); margin-bottom: 14px; }
.page-banner p {
  color: rgba(247, 241, 232, 0.88);
  font-size: 1.08rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(247, 241, 232, 0.7);
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.breadcrumbs a {
  color: rgba(247, 241, 232, 0.85);
  font-weight: 500;
}
.breadcrumbs a:hover { color: var(--copper); }
.breadcrumbs .sep { color: var(--copper); font-weight: 700; }
.breadcrumbs .current { color: var(--copper); }

/* ===== About page ===== */
.about-hero {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--cream);
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(209, 149, 87, 0.16), transparent 60%);
  pointer-events: none;
}
.about-grid {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
}
.about-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(247, 241, 232, 0.06);
  border: 1px solid rgba(209, 149, 87, 0.3);
  aspect-ratio: 3 / 4;
}
.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-text .eyebrow {
  color: var(--copper);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}
.about-text h1 {
  color: var(--cream);
  margin-bottom: 8px;
}
.about-title {
  color: var(--copper);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.about-text p {
  color: rgba(247, 241, 232, 0.9);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
.about-creds {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(209, 149, 87, 0.3);
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}
.about-cred-item {
  font-size: 0.72rem;
  color: rgba(247, 241, 232, 0.72);
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.about-cred-item strong {
  display: block;
  color: var(--copper);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 3px;
}
.about-huttons-logo {
  height: 40px;
  width: auto;
  background: white;
  padding: 6px 12px;
  border-radius: var(--radius);
}

.about-body {
  background: white;
  padding: 90px 0;
}
.about-body-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-body-inner h2 {
  margin-bottom: 18px;
  margin-top: 32px;
}
.about-body-inner h2:first-child { margin-top: 0; }
.about-body-inner p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2a3539;
  margin-bottom: 1.4em;
}
.about-body-inner ul {
  margin-bottom: 1.4em;
  padding-left: 1.4em;
  color: #2a3539;
}
.about-body-inner ul li { margin-bottom: 6px; }

.about-disclosure {
  background: var(--paper);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}
.about-disclosure strong {
  display: block;
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--teal-dark);
  color: rgba(247, 241, 232, 0.78);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand img {
  height: 56px;
  margin-bottom: 16px;
  border-radius: 6px;
  /* The source logo PNG has no alpha channel (8-bit RGB, opaque
     background). The previous filter:brightness(0)invert(1) was
     inverting every pixel — including the white background — into
     a flat white rectangle that hid the brand mark. Logo now
     renders in original brand colours; on the dark teal footer
     the natural light backing reads as a clean "logo card". */
}
.footer-brand p {
  font-size: 0.92rem;
  color: rgba(247, 241, 232, 0.7);
  line-height: 1.7;
}
.footer-col h4 {
  color: var(--copper);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-sans);
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: rgba(247, 241, 232, 0.78);
  font-size: 0.95rem;
}
.footer-col a:hover { color: var(--copper); }
.footer-bottom {
  border-top: 1px solid rgba(247, 241, 232, 0.12);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(247, 241, 232, 0.55);
  line-height: 1.6;
}
.footer-bottom .legal-line { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Floating WhatsApp ===== */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 99;
  transition: transform 0.2s ease;
}
.fab-whatsapp:hover {
  transform: scale(1.08);
  color: white;
}
.fab-whatsapp svg { width: 32px; height: 32px; }
.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: fab-pulse 2.4s var(--ease-out) infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a:not(.nav-cta) {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::before { display: none !important; }
  .nav-links .nav-cta { margin: 14px 24px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero { padding: 80px 24px 90px; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  section { padding: 70px 0; }
  .step { grid-template-columns: 1fr; gap: 16px; }
  .step-num { width: 56px; height: 56px; font-size: 1.3rem; }
  .lead-form { padding: 28px 22px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post .post-body { padding: 32px 28px; }
  .featured-post .post-thumb { min-height: 240px; }
  .trust-inner { gap: 30px; flex-direction: column; }
  .testimonials::before { font-size: 16rem; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-frame { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text .name { font-size: 1rem; }
  .brand-text .tag { font-size: 0.65rem; }
  .brand img { height: 44px; }
}

/* Honeypot — visually hidden field that bots tend to fill.
   The Cloudflare Pages Function silently drops any submission
   where this field has any value. */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Form-success styled as an error when the API returns failure */
.form-success.is-error {
  background: #fef2f2;
  color: #7f1d1d;
  border-left-color: #dc2626;
}

/* =============================================
   Nav dropdown — "About" reveals Jason / Renee on hover
   ============================================= */

.nav-has-submenu {
  position: relative;
}
/* Invisible hover-bridge so the cursor can travel from the parent
   item down to the submenu without losing the hover state */
.nav-has-submenu::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  pointer-events: auto;
}

.nav-submenu {
  display: none;            /* hard hide — cannot be overridden by any inherited rule */
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;
  min-width: 200px;
  list-style: none;
  margin: 0;
  z-index: 110;
}

.nav-submenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.nav-has-submenu:hover .nav-submenu,
.nav-has-submenu:focus-within .nav-submenu {
  display: block;
}

.nav-submenu li { width: 100%; }

.nav-submenu a {
  display: block;
  padding: 10px 32px;           /* +12px L/R for visual breathing room */
  color: var(--teal) !important;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
  position: relative;
}
.nav-submenu a::before { display: none !important; }
.nav-submenu a:hover {
  background: var(--copper);
  color: white !important;
}
.nav-submenu a.active {
  color: var(--copper) !important;
  background: rgba(209, 149, 87, 0.08);
}

/* Mobile: render the submenu inline within the open hamburger panel */
@media (max-width: 900px) {
  .nav-has-submenu::after { display: none; }
  .nav-submenu {
    display: block;          /* always shown inside the open mobile menu */
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(6, 57, 67, 0.04);
    border-radius: 0;
    padding: 0;
    margin: 0;
  }
  .nav-submenu::before { display: none; }
  .nav-submenu a {
    padding: 12px 40px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--line);
  }
}

/* =============================================
   About page v1.4 — story block + founder dropdowns
   ============================================= */

/* Compact hero (no founder photo) */
.about-hero-compact {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--cream);
  padding: 90px 24px 70px;
  position: relative;
  overflow: hidden;
}
.about-hero-compact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(209, 149, 87, 0.16), transparent 60%);
  pointer-events: none;
}
.about-hero-compact .container {
  position: relative;
  text-align: center;
}
.about-hero-compact .eyebrow {
  display: inline-block;
  color: var(--copper);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.about-hero-compact h1 {
  color: var(--cream);
  margin-bottom: 14px;
}
.about-hero-compact p.tagline {
  color: rgba(247, 241, 232, 0.88);
  font-size: 1.08rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Story section */
.story-section {
  background: white;
  padding: 90px 0;
}
.story-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.story-inner .eyebrow {
  display: block;
  color: var(--copper);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.story-inner h2 {
  margin-bottom: 32px;
}
.story-inner p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2a3539;
  margin-bottom: 1.4em;
}
.story-inner p strong { color: var(--teal); }
.story-meaning {
  background: var(--paper);
  border-left: 4px solid var(--copper);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}
.story-meaning ul {
  margin: 0;
  padding-left: 1.2em;
}
.story-meaning li {
  font-size: 1rem;
  line-height: 1.75;
  color: #2a3539;
  margin-bottom: 8px;
}
.story-meaning li strong { color: var(--teal); }

/* Founders section */
.founders-section {
  background: var(--paper);
  padding: 90px 0;
}
.founders-section .section-head { margin-bottom: 40px; }
.founders-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  padding: 0 24px;
}

.founder-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.founder-item[open],
.founder-item:hover { border-color: var(--copper); }
.founder-item[open] { box-shadow: var(--shadow); }

.founder-summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 22px;
  transition: background 0.2s ease;
}
.founder-summary:hover { background: var(--paper); }
.founder-summary::-webkit-details-marker { display: none; }
.founder-summary::marker { display: none; }

.founder-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border: 2px solid var(--copper);
  overflow: hidden;
  position: relative;
}
.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-id { line-height: 1.3; }
.founder-id .name {
  font-family: var(--font-display);
  color: var(--teal);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.founder-id .role {
  color: var(--copper);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.founder-id .preview {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.founder-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.founder-item[open] .founder-toggle {
  background: var(--copper);
  border-color: var(--copper);
  color: white;
  transform: rotate(45deg);
}

.founder-body {
  padding: 0 28px 32px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
}
.founder-photo-large {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}
.founder-photo-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-bio p {
  color: #2a3539;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1em;
}

.founder-meta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px 28px;
  align-items: start;
}
.founder-meta-item {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
}
.founder-meta-item strong {
  display: block;
  color: var(--copper);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.founder-meta-item a {
  color: var(--teal);
  font-weight: 600;
}
.founder-meta-item a:hover { color: var(--copper); }
.founder-meta-item .small-print {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.founder-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.founder-huttons-logo {
  height: 36px;
  width: auto;
  background: white;
  padding: 5px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  align-self: center;
}

/* Responsive: founder dropdowns stack on small screens */
@media (max-width: 760px) {
  .founder-summary {
    grid-template-columns: 60px 1fr auto;
    gap: 16px;
    padding: 18px 20px;
  }
  .founder-avatar { width: 60px; height: 60px; }
  .founder-id .name { font-size: 1.15rem; }
  .founder-id .preview { display: none; }
  .founder-body {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 20px 26px;
  }
  .founder-photo-large {
    max-width: 240px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
  }
  .founder-meta { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
}

/* =============================================
   Founders preview cards on /about — link to full profile pages
   ============================================= */

.founders-preview {
  background: var(--paper);
  padding: 80px 0;
}
.founders-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

.founder-card-link {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.founder-card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--copper);
  color: inherit;
}

.founder-card-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
}
.founder-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease);
}
.founder-card-link:hover .founder-card-photo img {
  transform: scale(1.04);
}

.founder-card-body {
  padding: 26px 28px 28px;
}
.founder-card-eyebrow {
  display: inline-block;
  color: var(--copper);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.founder-card-body h3 {
  font-size: 1.55rem;
  margin-bottom: 6px;
  color: var(--teal);
}
.founder-card-role {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.founder-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--copper);
  font-size: 0.92rem;
  font-weight: 600;
}
.founder-card-link:hover .founder-card-cta .arrow {
  transform: translateX(4px);
}

@media (max-width: 700px) {
  .founders-preview-grid { grid-template-columns: 1fr; }
}

/* Text-only variant of the founder card — used on /about where the
   founder portraits would otherwise be oversized within the card. */
.founder-card-link.is-textonly {
  flex-direction: row;
  align-items: stretch;
}
.founder-card-link.is-textonly .founder-card-body {
  padding: 32px 34px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.founder-card-link.is-textonly h3 {
  font-size: 1.55rem;
  margin-bottom: 6px;
}
.founder-card-link.is-textonly .founder-card-role {
  margin-bottom: 14px;
}
.founder-card-tagline {
  color: #2a3539;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
/* Copper accent rail on the left edge of each text-only card */
.founder-card-link.is-textonly {
  border-left: 4px solid var(--copper);
}
.founder-card-link.is-textonly:hover {
  border-left-color: var(--copper);
}

/* =============================================
   Footer — static parent-with-children navigation groups
   Used for showing sub-pages (like Jason Sim, Renee Lim under
   About) as always-visible items in the footer's Explore column.
   Designed to support adding more sub-pages in the future under
   any parent — just add another <li> inside .footer-nav-sub.
   ============================================= */

.footer-col .footer-nav-group > a {
  /* Parent links keep the regular footer link styling — no override needed */
}

.footer-col .footer-nav-sub {
  list-style: none;
  margin: 8px 0 2px;
  padding-left: 14px;
  display: grid;
  gap: 8px;
  border-left: 2px solid rgba(209, 149, 87, 0.28);
}

.footer-col .footer-nav-sub a {
  font-size: 0.88rem;
  color: rgba(247, 241, 232, 0.62);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col .footer-nav-sub a::before {
  content: '–';                 /* en dash — clean sub-item marker */
  color: var(--copper);
  font-weight: 600;
  opacity: 0.8;
  margin-right: 2px;
}

.footer-col .footer-nav-sub a:hover {
  color: var(--copper);
}
.footer-col .footer-nav-sub a:hover::before { opacity: 1; }

/* ===== NAVIS PrimeKey Section (guides.html) ===== */
.navis-primekey {
  position: relative;
  padding: 110px 24px 120px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(209, 149, 87, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(209, 149, 87, 0.12), transparent 60%),
    linear-gradient(180deg, #052f37 0%, #063943 50%, #052b33 100%);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.navis-primekey::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(209, 149, 87, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(209, 149, 87, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.navis-primekey .container { position: relative; z-index: 1; }

.navis-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }

.navis-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(209, 149, 87, 0.4);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  background: rgba(209, 149, 87, 0.06);
  margin-bottom: 22px;
}
.navis-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px rgba(209, 149, 87, 0.18);
}

.navis-head h2 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  line-height: 1.15;
}
.navis-head h2 em {
  color: var(--copper);
  font-style: normal;
  background: linear-gradient(135deg, var(--copper) 0%, #f0bb84 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navis-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(247, 241, 232, 0.85);
}
.navis-lead strong { color: var(--cream); font-weight: 600; }

.navis-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 720px;
  margin: 0 auto 64px;
  padding: 28px;
  background: rgba(247, 241, 232, 0.04);
  border: 1px solid rgba(209, 149, 87, 0.22);
  border-radius: var(--radius-lg, 18px);
}
.navis-meta-item { text-align: center; }
.navis-meta-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--copper) 0%, #f0bb84 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.navis-meta-num span {
  font-size: 1.2rem;
  margin-left: 2px;
  vertical-align: middle;
}
.navis-meta-label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 241, 232, 0.65);
  margin-top: 8px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 60px;
}

.pillar-card {
  position: relative;
  padding: 28px 22px 24px;
  background: rgba(247, 241, 232, 0.04);
  border: 1px solid rgba(209, 149, 87, 0.22);
  border-radius: var(--radius-lg, 18px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper) 0%, transparent 80%);
  opacity: 0.7;
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(209, 149, 87, 0.55);
  background: rgba(247, 241, 232, 0.07);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--copper);
  margin-bottom: 14px;
  line-height: 1;
}

.pillar-card h3 {
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.pillar-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(247, 241, 232, 0.7);
  margin: 0;
}

.navis-note {
  position: relative;
  max-width: 880px;
  margin: 0 auto 60px;
  padding: 26px 28px 26px 32px;
  background: rgba(247, 241, 232, 0.06);
  border-left: 4px solid var(--copper);
  border-radius: 0 var(--radius, 12px) var(--radius, 12px) 0;
}
.navis-note-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 10px;
}
.navis-note p {
  color: rgba(247, 241, 232, 0.88);
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}
.navis-note strong { color: var(--cream); font-weight: 600; }

.navis-cta {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 40px 44px;
  background:
    linear-gradient(135deg, rgba(209, 149, 87, 0.14) 0%, rgba(209, 149, 87, 0.06) 100%);
  border: 1px solid rgba(209, 149, 87, 0.35);
  border-radius: var(--radius-lg, 18px);
}

.navis-cta-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 10px;
}
.navis-cta h3 {
  color: var(--cream);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.25;
}
.navis-cta p {
  color: rgba(247, 241, 232, 0.78);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}

.navis-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.navis-cta-actions .btn { justify-content: center; }

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

@media (max-width: 720px) {
  .navis-primekey { padding: 80px 20px 90px; }
  .navis-meta { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .navis-meta-item { padding: 12px 0; border-bottom: 1px solid rgba(209, 149, 87, 0.18); }
  .navis-meta-item:last-child { border-bottom: 0; }
  .pillar-grid { grid-template-columns: 1fr; gap: 14px; }
  .pillar-card { padding: 22px 20px; }
  .navis-cta { grid-template-columns: 1fr; padding: 30px 24px; gap: 24px; }
  .navis-cta h3 { font-size: 1.3rem; }
}

/* ===== Non-link nav parent (e.g. "About" — submenu trigger only) ===== */
.nav-parent {
  color: var(--teal);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  cursor: default;
  user-select: none;
  display: inline-block;
}

.nav-parent::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.nav-has-submenu:hover .nav-parent::before,
.nav-has-submenu:focus-within .nav-parent::before {
  transform: scaleX(1);
}

.nav-parent:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 6px;
  border-radius: 2px;
}

/* Mobile: render parent as a block label (no underline, slightly bolder) */
@media (max-width: 900px) {
  .nav-parent {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
  }
  .nav-parent::before { display: none !important; }
}

/* ===== Blog-post download CTA (right after TL;DR) ===== */
.post-download {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin: 1.5em 0 2.5em;
  padding: 22px 26px;
  background: linear-gradient(135deg, #063943 0%, #0a4651 100%);
  border-radius: var(--radius-lg, 18px);
  border: 1px solid rgba(209, 149, 87, 0.32);
  color: var(--cream);
  box-shadow: 0 14px 32px -18px rgba(6, 57, 67, 0.45);
  position: relative;
  overflow: hidden;
}

.post-download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(209, 149, 87, 0.22), transparent 60%);
  pointer-events: none;
}

.post-download > * { position: relative; z-index: 1; }

.post-download-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(209, 149, 87, 0.16);
  border: 1px solid rgba(209, 149, 87, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  flex-shrink: 0;
}

.post-download-text { min-width: 0; }

.post-download-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 6px;
}

.post-download h3 {
  margin: 0 0 6px;
  color: var(--cream);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.post-download p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: rgba(247, 241, 232, 0.85);
}

.post-download p .muted {
  color: rgba(247, 241, 232, 0.55);
  font-size: 0.86rem;
}

.post-download-action .btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .post-download {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 16px;
    padding: 22px;
  }
  .post-download-icon { width: 48px; height: 48px; }
  .post-download h3 { font-size: 1.1rem; }
  .post-download-action .btn { width: 100%; justify-content: center; }
}

/* ===== Grading score panels (NAVIS PrimeKey Analysis page) ===== */
.grade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 auto 60px;
}

.grade-card {
  position: relative;
  padding: 24px 22px 20px;
  border-radius: var(--radius-lg, 18px);
  border: 1px solid rgba(247, 241, 232, 0.12);
  border-left-width: 4px;
  background: rgba(247, 241, 232, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.grade-card:hover { transform: translateY(-3px); }

.grade-card.grade-green {
  border-left-color: #4ec27d;
  background: linear-gradient(135deg, rgba(78, 194, 125, 0.16) 0%, rgba(78, 194, 125, 0.04) 100%);
}
.grade-card.grade-yellow {
  border-left-color: #d19557;
  background: linear-gradient(135deg, rgba(209, 149, 87, 0.18) 0%, rgba(209, 149, 87, 0.04) 100%);
}
.grade-card.grade-red {
  border-left-color: #d96b6b;
  background: linear-gradient(135deg, rgba(217, 107, 107, 0.16) 0%, rgba(217, 107, 107, 0.04) 100%);
}

.grade-tag {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.grade-green .grade-tag { color: #6dd698; }
.grade-yellow .grade-tag { color: #f0bb84; }
.grade-red .grade-tag { color: #ec8c8c; }

.grade-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 10px;
}

.grade-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(247, 241, 232, 0.78);
  margin: 0;
}

@media (max-width: 860px) {
  .grade-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 44px; }
}
