/* =========================================================
   GORDON COMFORT — SHARED STYLESHEET
   Used by index.html and contact.html
   ========================================================= */

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

:root {
  --navy: #1f3f6b;
  --navy-deep: #142b4c;
  --navy-darker: #0c1c34;
  --blue: #2c5a96;
  --blue-mid: #5a7baa;
  --blue-soft: #e7eef6;
  --blue-tint: #f3f6fa;
  --white: #ffffff;
  --off-white: #fafbfc;
  --gray-50: #f6f8fa;
  --gray-100: #eaedf2;
  --gray-200: #d6dbe3;
  --gray-400: #8a93a3;
  --gray-600: #4a5468;
  --gray-800: #1f2a3d;
  --black: #0a1628;

  --shadow-sm: 0 1px 2px rgba(20, 43, 76, 0.06);
  --shadow-md: 0 4px 14px rgba(20, 43, 76, 0.08);
  --shadow-lg: 0 14px 38px rgba(20, 43, 76, 0.12);

  --radius: 2px;
  --radius-md: 4px;
  --max-width: 1240px;
  --section-padding: clamp(64px, 9vw, 120px);

  --reveal-distance: 24px;
  --reveal-duration: 0.7s;
  --reveal-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  src: url(assets/Inter_18pt-Regular.ttf) format("truetype");
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@font-face {
  font-family: inter;
  src: url(assets/Inter_18pt-Regular.ttf) format("truetype");
}

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

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

a:hover {
  color: var(--blue);
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--navy-darker);
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}
h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  color: var(--gray-600);
}

.normal-anchor {
  color: inherit;
  border-bottom: 1px solid inherit;
  text-decoration: underline;
}

.normal-anchor:hover {
  color: inherit;
  border-bottom: 1px solid inherit;
}

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

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

.eyebrow.on-dark {
  color: #a8c1e2;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading p {
  margin-top: 18px;
  font-size: 1.1rem;
  max-width: 640px;
}

/* =========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-on-load {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  animation: revealOnLoad var(--reveal-duration) var(--reveal-ease) forwards;
}
@keyframes revealOnLoad {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Stagger helpers — children animate one after another when parent is .reveal-stagger */
.reveal-stagger > .reveal {
  transition-delay: 0s;
}
.reveal-stagger > .reveal:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal-stagger > .reveal:nth-child(2) {
  transition-delay: 0.12s;
}
.reveal-stagger > .reveal:nth-child(3) {
  transition-delay: 0.19s;
}
.reveal-stagger > .reveal:nth-child(4) {
  transition-delay: 0.26s;
}
.reveal-stagger > .reveal:nth-child(5) {
  transition-delay: 0.33s;
}
.reveal-stagger > .reveal:nth-child(6) {
  transition-delay: 0.4s;
}
.reveal-stagger > .reveal:nth-child(7) {
  transition-delay: 0.47s;
}
.reveal-stagger > .reveal:nth-child(8) {
  transition-delay: 0.54s;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

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

.btn-outline {
  background: transparent;
  color: var(--navy-darker);
  border-color: var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline.on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline.on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
  color: var(--white);
}

.btn .arrow {
  transition: transform 0.2s ease;
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

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

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

.logo-link img {
  height: 36px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-darker);
  letter-spacing: -0.01em;
}

.logo-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1px;
}

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

.nav-links a {
  font-size: 0.92rem;
  color: var(--gray-800);
  font-weight: 500;
  position: relative;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a.active {
  color: var(--navy);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--navy);
}

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

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gray-200);
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-darker);
  position: relative;
  transition: transform 0.2s ease;
}
.menu-toggle span::before {
  position: absolute;
  top: -6px;
  left: 0;
}
.menu-toggle span::after {
  position: absolute;
  top: 6px;
  left: 0;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 96px 0 96px;
  background:
    linear-gradient(
      135deg,
      rgba(20, 43, 76, 0.9) 0%,
      rgba(31, 63, 107, 0.94) 60%,
      rgba(44, 90, 150, 0.96) 100%
    ),
    url("assets/white-texture-8.webp");
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero .accent-line {
  width: 56px;
  height: 3px;
  background: var(--blue-mid);
  margin-bottom: 28px;
}

.hero p.lede {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.55;
}

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

.hero-actions .btn-primary {
  background: var(--white);
  color: var(--navy-darker);
  border-color: var(--white);
}

.hero-actions .btn-primary:hover {
  background: var(--blue-soft);
  border-color: var(--blue-soft);
  color: var(--navy-darker);
}

.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-left: auto;
  width: 100%;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-portrait::after {
  content: "";
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 60%;
  height: 60%;
  border: 1px solid rgba(168, 193, 226, 0.4);
  border-radius: var(--radius);
  z-index: -1;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
}

.hero-stats .stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.hero-stats .stat .label {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* =========================================================
   PAGE HEADER (used on contact.html)
   ========================================================= */
.page-header {
  position: relative;
  padding: 120px 0 96px;
  background:
    linear-gradient(135deg, rgba(12, 28, 52, 0.96), rgba(31, 63, 107, 0.93)),
    url("assets/blue-texture-2.webp");
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.6;
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--white);
  max-width: 820px;
  margin-bottom: 22px;
}

.page-header .accent-line {
  width: 56px;
  height: 3px;
  background: var(--blue-mid);
  margin-bottom: 28px;
}

.page-header p {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  line-height: 1.55;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.4);
}

/* =========================================================
   SECTION GENERICS
   ========================================================= */
section {
  padding: var(--section-padding) 0;
}

.section-light {
  background: var(--white);
}

.section-tint {
  background:
    linear-gradient(rgba(247, 250, 254, 0.92), rgba(247, 250, 254, 0.92)),
    url("assets/white-texture-3.webp");
  background-size: cover;
  background-position: center;
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(12, 28, 52, 0.97), rgba(20, 43, 76, 0.96)),
    url("assets/blue-texture-4.webp");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}
.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   FRACTIONAL COO SECTION
   ========================================================= */
.fractional {
  position: relative;
}

.fractional .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 961px) {
  .fractional .grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
  }
  /* HTML keeps the heading first so it stacks on TOP in mobile.
     On desktop, place the heading on the RIGHT and the pillar list on the LEFT. */
  .fractional .lede-block {
    grid-column: 2;
    grid-row: 1;
  }
  .fractional .pillar-list {
    grid-column: 1;
    grid-row: 1;
  }
}

.fractional .lede-block h2 {
  margin-bottom: 24px;
}

.fractional .lede-block p {
  font-size: 1.05rem;
  max-width: 460px;
}

.pillar-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--gray-100);
}

.pillar {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
}

.pillar .num {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.05em;
}

.pillar h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.pillar p {
  font-size: 0.97rem;
  color: var(--gray-600);
}

/* =========================================================
   FRACTIONAL COO APPROACH (two-column, no cards)
   ========================================================= */
.fractional-coo {
  background: var(--blue);
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(20, 43, 76, 0.96) 0%,
      rgba(31, 63, 107, 0.94) 60%,
      rgba(44, 90, 150, 0.92) 100%
    ),
    url("assets/blue-texture-6.webp");
}

.fractional-coo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--blue);
}

.fractional-coo .approach-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.fractional-coo .approach-left {
  position: sticky;
  top: 100px;
}

.fractional-coo .approach-left .eyebrow {
  margin-bottom: 22px;
}

.fractional-coo .approach-left h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.fractional-coo .approach-left .accent-line {
  width: 56px;
  height: 3px;
  background: var(--off-white);
  margin-bottom: 28px;
}

.fractional-coo .approach-left .subhead {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 380px;
  line-height: 1.6;
}

.fractional-coo .approach-right {
  display: flex;
  flex-direction: column;
}

.fractional-coo .approach-right .lead-para {
  font-size: 1.13rem;
  color: var(--gray-200);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 16px;
}

.fractional-coo .approach-right .lead-para strong {
  color: var(--gray-400);
  font-weight: 600;
}

.fractional-coo .micro-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-200);
  margin-top: 40px;
  margin-bottom: 18px;
  display: block;
}

/* Minimalist unboxed checklist */
.checklist {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--gray-200);
  margin-bottom: 32px;
}

.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: start;
}

.checklist .check {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--gray-200);
  flex-shrink: 0;
}

.checklist .text {
  font-size: 1rem;
  color: var(--gray-200);
  line-height: 1.6;
}

.checklist .text strong {
  font-weight: 600;
  color: var(--gray-200);
  display: block;
  margin-bottom: 4px;
  font-size: 1.02rem;
  letter-spacing: -0.005em;
}

.fractional-coo .approach-cta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.lighter {
  color: var(--white);
}

@media (max-width: 960px) {
  .fractional-coo .approach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fractional-coo .approach-left {
    position: static;
  }
  .checklist li {
    grid-template-columns: 22px 1fr;
    gap: 14px;
    padding: 20px 0;
  }
}

/* =========================================================
   CAPABILITIES GRID (deprecated — kept for reference)
   ========================================================= */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
}

.capability {
  background: var(--white);
  padding: 36px 30px;
  transition: background 0.25s ease;
  position: relative;
}

.capability:hover {
  background: var(--blue-tint);
}

.capability .ico {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  border-radius: var(--radius);
  margin-bottom: 22px;
  color: var(--navy);
}

.capability h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-darker);
  margin-bottom: 8px;
}

.capability p {
  font-size: 0.92rem;
  line-height: 1.55;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 440px;
  width: 100%;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-photo::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background: var(--navy);
  z-index: -1;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1.02rem;
  margin-bottom: 18px;
}

.about-content p strong {
  color: var(--navy-darker);
  font-weight: 600;
}

/* =========================================================
   EXPERIENCE TIMELINE
   ========================================================= */
.experience-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.role {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  align-items: start;
}

.role:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.role .meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.role .meta .org {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.role .meta .years {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.role .body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #cfe0f5;
}

.role .body p {
  font-size: 0.98rem;
  max-width: 720px;
}

/* =========================================================
   EARLIER CAREER & EDUCATION
   ========================================================= */
.career-edu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.panel {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--gray-100);
}

.panel h3 {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy);
  display: inline-block;
}

.panel ul {
  list-style: none;
}

.panel li {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.panel li:last-child {
  border-bottom: none;
}

.panel .school {
  font-weight: 600;
  color: var(--navy-darker);
  font-size: 1rem;
  margin-bottom: 2px;
  display: block;
}

.panel .detail {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* =========================================================
   APPLYPRISM SECTION (founder + proprietary system)
   ========================================================= */
.applyprism {
  position: relative;
  padding: var(--section-padding) 0;
  background:
    linear-gradient(rgba(243, 246, 250, 0.94), rgba(231, 238, 246, 0.54)),
    url("assets/white-texture-7.webp");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.applyprism::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 63, 107, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 63, 107, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

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

.applyprism-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}

.applyprism-intro h2 {
  margin-bottom: 18px;
}

.applyprism-intro h2 em {
  font-style: normal;
  color: var(--blue);
}

.applyprism-intro p.lede {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 520px;
}

.applyprism-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

/* Two-layer cards */
.layers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  margin-bottom: 56px;
}

.layer-card {
  background: var(--white);
  padding: 44px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.layer-card .layer-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.layer-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--navy-darker);
  letter-spacing: -0.015em;
}

.layer-card p {
  font-size: 0.97rem;
  color: var(--gray-600);
  margin-bottom: 22px;
  max-width: 460px;
}

.layer-card .layer-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.layer-card .layer-list li {
  font-size: 0.93rem;
  color: var(--gray-800);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.layer-card .layer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 2px;
  background: var(--blue);
}

.layer-card .layer-meta {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: 32px;
}

.layer-card .layer-meta .stat-tile .num {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy-darker);
  letter-spacing: -0.02em;
  display: block;
}

.layer-card .layer-meta .stat-tile .label {
  font-size: 0.78rem;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* "How Gordon uses it" callout */
.how-uses {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 3px solid var(--navy);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}

.how-uses .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.how-uses .label span {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-darker);
  text-transform: none;
}

.how-uses p {
  font-size: 1rem;
  color: var(--gray-600);
  margin: 0;
  max-width: 720px;
}

@media (max-width: 960px) {
  .applyprism-intro,
  .layers,
  .how-uses {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .layer-card {
    padding: 32px;
  }
  .how-uses {
    padding: 28px;
    gap: 18px;
  }
}

/* =========================================================
   ZOOM SCHEDULER EMBED
   ========================================================= */

.contact-scheduler {
  color: var(--navy-darker);
}

.scheduler-center {
  text-align: center;
}


.scheduler {
  position: relative;
  padding: var(--section-padding) 0;
  background:
    linear-gradient(135deg, rgba(20, 43, 76, 0.97), rgba(31, 63, 107, 0.94)),
    url('assets/blue-texture-5.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.scheduler::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  opacity: 0.6;
}

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

.scheduler-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.scheduler-heading h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.scheduler-heading .accent-line {
  width: 56px;
  height: 3px;
  background: var(--blue-mid);
  margin: 0 auto 24px;
}

.scheduler-heading p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto;
}

/* Iframe wrapper — clean white card, responsive */
.scheduler-frame {
  background: var(--white);
  padding: 18px;
  margin: 0 auto;
  /* max-width: 786px; */
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
}

.scheduler-frame iframe {
  display: block;
  width: 100% !important;
  /* max-width: 750px; */
  height: 560px;
  margin: 0 auto;
  border: 0;
}

.scheduler-fine {
  text-align: center;
  margin-top: 28px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.scheduler-fine a {
  color: #cfe0f5;
  text-decoration: underline;
}

.scheduler-fine a:hover { color: var(--white); }

@media (max-width: 820px) {
  .scheduler-frame { padding: 12px; }
  .scheduler-frame iframe { height: 640px; }
}

@media (max-width: 560px) {
  .scheduler-frame iframe { height: 720px; }
}

/* =========================================================
   CONTACT FORM (homepage capture)
   ========================================================= */
.contact {
  position: relative;
  padding: var(--section-padding) 0;
  background:
    linear-gradient(135deg, rgba(20, 43, 76, 0.97), rgba(31, 63, 107, 0.94)),
    url("assets/blue-texture-5.webp");
  background-size: cover;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-copy h2 {
  color: var(--white);
  margin-bottom: 20px;
}
.contact-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 28px;
}

.contact-points {
  list-style: none;
  display: grid;
  gap: 14px;
}

.contact-points li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--blue-mid);
  margin-top: 9px;
  flex-shrink: 0;
}

.form-card {
  background: var(--white);
  padding: 44px;
  color: var(--gray-800);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
}

.form-card h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.form-card .form-sub {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.form-row.split {
  grid-template-columns: 1fr 1fr;
  gap: 14px 14px;
}

.form-row.split > div {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: 0.02em;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 63, 107, 0.12);
}

.form-row textarea {
  resize: vertical;
  min-height: 96px;
}

.form-card button {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
  padding: 15px 24px;
}

.form-fine {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

.form-success {
  display: none;
  padding: 20px;
  background: var(--blue-soft);
  border-left: 3px solid var(--navy);
  color: var(--navy-darker);
  font-size: 0.95rem;
  margin-bottom: 18px;
  border-radius: var(--radius);
}

.form-success.active {
  display: block;
}

.form-error {
  display: none;
  padding: 16px 18px;
  background: #fdf2f2;
  border-left: 3px solid #c53030;
  color: #742a2a;
  font-size: 0.92rem;
  margin-bottom: 18px;
  border-radius: var(--radius);
  line-height: 1.45;
}

.form-error.active {
  display: block;
}

/* =========================================================
   CONTACT PAGE (contact.html specific)
   ========================================================= */
.contact-page-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 36px;
}

.info-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 3px solid var(--navy);
}

.info-card h3 {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 600;
}

.info-card p {
  font-size: 0.98rem;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.info-card a {
  color: var(--navy-darker);
  font-weight: 500;
  word-break: break-word;
}

.info-card a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.info-card .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}

/* Expanded form on contact page */
.expanded-form {
  background: var(--white);
  padding: 56px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.expanded-form h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.expanded-form .form-sub {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.fieldset-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 28px 0 14px;
}

.fieldset-title:first-of-type {
  margin-top: 0;
}

/* What to expect */
.what-to-expect {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.expect-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  position: relative;
}

.expect-card .step-num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 16px;
}

.expect-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.expect-card p {
  font-size: 0.95rem;
  line-height: 1.55;
}

/* FAQ on contact */
.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--gray-100);
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 26px 0;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy-darker);
}

.faq-item p {
  font-size: 0.97rem;
  color: var(--gray-600);
  max-width: 760px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 30px;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
  color: var(--white);
}
.footer-brand .logo-text small {
  color: rgba(255, 255, 255, 0.55);
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 18px;
  max-width: 380px;
  font-size: 0.9rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}
.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero-grid,
  .fractional .grid,
  .about-grid,
  .contact-grid,
  .contact-page-grid,
  .career-edu {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .what-to-expect {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-portrait,
  .about-photo {
    margin: 0 auto;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .role {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    align-items: flex-start;
  }
  .nav-links.open a.active::after {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
  .nav-cta .btn {
    display: none;
  }

  .expanded-form {
    padding: 32px;
  }
  .form-row.split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-stats .stat .num {
    font-size: 1.6rem;
  }
  .form-card {
    padding: 28px;
  }
  .panel {
    padding: 28px;
  }
  .page-header {
    padding: 80px 0 60px;
  }
}

/* Reduced motion: remove reveal transforms entirely */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
