/* ==========================================
   I/O COACHING — Organic Minimalism
   ========================================== */

@font-face {
  font-family: 'Aeonik';
  src: url('../fonts/Aeonik-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Faktum';
  src: url('../fonts/Faktum-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Faktum';
  src: url('../fonts/Faktum-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Faktum';
  src: url('../fonts/Faktum-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Faktum';
  src: url('../fonts/Faktum-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --c-bg:        #F5F2ED;
  --c-bg-blue:   #D8E4EE;
  --c-navy:      #0a1e62;
  --c-dark:      #1A1A1A;
  --c-text:      #1A1A1A;
  --c-text-sec:  #4A4A4A;
  --c-text-dim:  #8A8A8A;
  --c-white:     #FAFAF8;
  --c-cream:     #F0EDE8;
  --c-border:    rgba(26,26,26,0.1);

  --font-display: 'Faktum', system-ui, sans-serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  --max-w: 1200px;
  --pad:   clamp(20px, 5vw, 60px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.arrow {
  display: inline-block;
  transition: transform 300ms ease;
}

a:hover .arrow { transform: translate(3px, -3px); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--pad);
  background: var(--c-navy);
  border-bottom: none;
  transition: background 400ms ease, border-bottom 400ms ease;
}

.nav.scrolled {
  background: #FFFFFF;
  border-bottom: 1px solid var(--c-border);
}

.nav.scrolled .nav-cta {
  background: var(--c-navy) !important;
  color: #F0EDE8 !important;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #F0EDE8;
  letter-spacing: -0.01em;
  transition: color 400ms ease;
}

.nav.scrolled .nav-logo {
  color: var(--c-text);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(240,237,232,0.65);
  transition: color 400ms ease;
}

.nav-links a:hover { color: #F0EDE8; }

.nav.scrolled .nav-links a {
  color: var(--c-text-sec);
}

.nav.scrolled .nav-links a:hover {
  color: var(--c-text);
}

.nav-cta {
  background: rgba(240,237,232,0.15) !important;
  color: #F0EDE8 !important;
  padding: 10px 24px !important;
  border-radius: 9999px;
  font-weight: 500 !important;
  transition: opacity 200ms ease !important;
}

.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px; height: 2px;
  background: #F0EDE8;
  transition: all 300ms ease;
}

.nav.scrolled .nav-toggle span {
  background: var(--c-text);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1e62;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--pad);
  padding-left: 5%;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #F0EDE8;
  margin-bottom: 2.5rem;
}

/* Hand-drawn underline animation */
.draw-underline {
  position: relative;
  display: inline;
}

.draw-underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.14em;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 14' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C40 5, 80 11, 130 7 C180 3, 220 10, 270 6 C320 2, 370 9, 420 5 C450 3, 480 8, 498 6' stroke='%23F0EDE8' stroke-width='5' fill='none' stroke-linecap='round' stroke-dasharray='500' stroke-dashoffset='500'%3E%3Canimate attributeName='stroke-dashoffset' from='500' to='0' dur='1.2s' begin='0.8s' fill='freeze' calcMode='spline' keySplines='0.4 0 0.2 1'/%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Mobile: iOS Safari doesn't reliably render clip-path on ::after
   pseudo-elements with data-URI SVG backgrounds. Paint the hand-drawn
   SVG directly as a background on the span and animate its width. */
@media (max-width: 768px) {
  .draw-underline {
    background-image: linear-gradient(#F0EDE8, #F0EDE8);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 3px;
    padding-bottom: 4px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    animation: drawUnderlineBg 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
  }
  .draw-underline::after { display: none; }
}

@keyframes drawUnderlineBg {
  to { background-size: 100% 3px; }
}

/* Period drops in after underline finishes */
.draw-period {
  opacity: 0;
  animation: dropPeriod 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 2.1s forwards;
}

@keyframes dropPeriod {
  0% {
    opacity: 0;
    transform: translateY(-0.3em);
    display: inline-block;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    display: inline-block;
  }
}

.hero-cta {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F0EDE8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #F0EDE8;
  padding-bottom: 4px;
  transition: gap 300ms ease, opacity 200ms ease;
}

.hero-cta:hover {
  gap: 14px;
  opacity: 0.7;
}


/* ===== MISSION ===== */
.mission {
  padding: clamp(80px, 12vw, 160px) var(--pad);
  background: var(--c-bg);
}

.mission-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.mission-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.4;
  color: var(--c-dark);
}

/* ===== SERVICES ===== */
.svc {
  background: var(--c-bg);
  padding: clamp(20px, 3vw, 30px) var(--pad) clamp(80px, 10vw, 120px);
}

.svc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
}

.svc-label {
  font-family: 'Aeonik', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--c-text);
}

.svc-cta {
  font-family: 'Aeonik', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--c-text);
  padding-bottom: 4px;
  transition: gap 300ms ease;
}

.svc-cta:hover {
  gap: 14px;
}

.svc-cta-bottom { display: none; }

.svc-rule {
  height: 3px;
  background: #000;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.svc-col {
  padding: 0 32px 0 0;
  border-right: 1px solid rgba(0,0,0,0.15);
}

.svc-col:last-child {
  border-right: none;
  padding-right: 0;
}

.svc-col:not(:first-child) {
  padding-left: 32px;
}

.svc-num {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--c-text-dim);
  text-align: right;
  margin-bottom: 0;
  padding-top: 10px;
}

.svc-title {
  font-family: 'Aeonik', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--c-text);
  margin-bottom: 10px;
}

.svc-thin {
  height: 1px;
  background: #000;
  margin-bottom: clamp(9rem, 18vw, 15rem);
}

.svc-desc {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.55;
  color: var(--c-text);
}

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

  .svc-col {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    padding: 28px 0 36px;
  }

  .svc-col:last-child {
    border-bottom: none;
  }

  .svc-col:not(:first-child) {
    padding-left: 0;
  }

  .svc-num {
    text-align: left;
    margin-bottom: 0.25rem;
  }

  .svc-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .svc-desc {
    font-size: 16px;
    line-height: 1.55;
    color: var(--c-text-sec);
  }

  .svc-rule { display: none; }

  .svc-thin { display: none; }

  .svc-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .svc-cta-top { display: none; }

  .svc-cta-bottom {
    display: inline-flex;
    margin-top: 2rem;
  }
}

/* ===== PILLARS ===== */
.pillars {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--c-dark);
  color: var(--c-white);
}

.pillars-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.pillars-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.pillars-intro {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(250,250,248,0.65);
  max-width: 600px;
  margin-bottom: 4rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.pillar-num {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-bg-blue);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(250,250,248,0.6);
}

/* ===== SERVICES ALT (grid version) ===== */

/* Services columns */
.services-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--c-border);
}

.services-col {
  padding: clamp(2rem, 4vw, 3rem) var(--pad);
  border-right: 1px solid var(--c-border);
}

.services-col:last-child {
  border-right: none;
}

.services-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.services-col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services-col-list li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text-sec);
  padding-left: 1rem;
  position: relative;
}

.services-col-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--c-text-dim);
  font-weight: 700;
}

/* ===== TRUSTED BY ===== */
.trusted {
  background: #FFFFFF;
  padding: clamp(30px, 4vw, 40px) 0 clamp(60px, 8vw, 80px);
}

.trusted-inner {
  width: 100%;
}

.trusted-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--pad) clamp(40px, 6vw, 64px);
}

.trusted-label {
  font-family: 'Aeonik', sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--c-text);
}

.trusted-rule {
  display: none;
}

.trusted-scroll-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.trusted-scroll-track {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
}

.trusted-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* ===== INDUSTRIES ===== */
.ind {
  background: #FFFFFF;
  padding: clamp(60px, 8vw, 100px) clamp(20px, 3vw, 40px);
}

.ind-inner {
  max-width: 100%;
  margin: 0 auto;
  border-top: 3px solid #000;
}

.ind-row {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 0;
  align-items: start;
}

.ind-label {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  padding-right: clamp(3rem, 6vw, 5rem);
}

.ind-row-content {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: 2.5rem;
  align-items: baseline;
  border-top: 3px solid #000;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.ind-row:first-child .ind-row-content {
  border-top: none;
}

.ind-row:last-child .ind-row-content {
  border-bottom: 3px solid #000;
}

.ind-label-text {
  font-family: 'Aeonik', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--c-text);
}

.ind-label-text strong {
  font-weight: 500;
}

.ind-cta {
  font-family: 'Aeonik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--c-text);
  padding-bottom: 4px;
  margin-top: 2rem;
  transition: gap 300ms ease;
}

.ind-cta:hover {
  gap: 14px;
}

.ind-cta-bottom { display: none; }

.ind-name {
  font-family: 'Aeonik', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--c-text);
}

.ind-desc {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-text);
}

.ind-icon { display: none; }

@media (max-width: 768px) {
  .ind-inner {
    border-top: none;
  }

  .ind-row {
    grid-template-columns: 1fr;
  }

  .ind-row-content {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    border-top: 1px solid rgba(0,0,0,0.15);
    padding: 2rem 0 2.25rem;
  }

  .ind-row:first-child .ind-row-content {
    border-top: none;
  }

  .ind-row:last-child .ind-row-content {
    border-bottom: none;
  }

  .ind-icon {
    display: block;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    color: var(--c-text);
    opacity: 0.85;
  }

  .ind-label {
    display: none;
  }

  .ind-row:first-child .ind-label {
    display: block;
    padding-right: 0;
    padding-bottom: 1.5rem;
  }

  .ind-cta-top { display: none; }

  .ind-cta-bottom {
    display: inline-flex;
    margin-top: 2.5rem;
  }
}

/* ===== IMAGE BREAK ===== */
.img-break {
  width: 100%;
  height: 50vh;
  min-height: 300px;
  max-height: 500px;
  overflow: hidden;
}

.img-break-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* ===== PROCESS ===== */
.process {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
}

.process-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.process-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--c-dark);
  margin-bottom: 4rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  border-top: 2px solid var(--c-dark);
  padding-top: 1.5rem;
}

.step-num {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-navy);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-dark);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text-sec);
}

/* ===== FOUNDER ===== */
.founder {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--c-bg);
}

.founder-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 4rem;
  align-items: center;
}

.founder-image img {
  width: 100%;
  max-width: 400px;
  object-fit: cover;
}

.founder-label {
  font-size: 15px;
  font-weight: 400;
  color: var(--c-text-dim);
  margin-bottom: 2rem;
}

.founder-name {
  font-family: 'Aeonik', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}

.founder-bio {
  font-size: 19px;
  line-height: 1.7;
  color: var(--c-text-sec);
  margin-bottom: 1.5rem;
}

/* ===== CTA ===== */
.cta-section {
  padding: clamp(80px, 12vw, 140px) var(--pad);
  background: var(--c-navy);
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: #F0EDE8;
  margin-bottom: 2rem;
}

.cta-link {
  font-family: 'Aeonik', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #F0EDE8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #F0EDE8;
  padding-bottom: 4px;
  transition: gap 300ms ease;
}

.cta-link:hover { gap: 14px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--c-navy);
  color: var(--c-white);
  padding: 0;
  overflow: hidden;
}

.footer-wordmark {
  font-family: var(--font-body);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.8;
  color: rgba(250,250,248,0.08);
  text-align: center;
  padding-bottom: 0;
  user-select: none;
  overflow: hidden;
}

/* ===== CONTACT MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
  padding: var(--pad);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--c-bg);
  max-width: 520px;
  width: 100%;
  padding: 3rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 300ms ease;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--c-text);
  cursor: pointer;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 200ms ease;
}

.modal-close:hover {
  opacity: 1;
}

.modal-title {
  font-family: 'Aeonik', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}

.modal-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-text-dim);
  margin-bottom: 2rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-input,
.modal-textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #FFFFFF;
  color: var(--c-text);
  outline: none;
  transition: border-color 200ms ease;
  border-radius: 0;
}

.modal-input:focus,
.modal-textarea:focus {
  border-color: var(--c-navy);
}

.modal-input::placeholder,
.modal-textarea::placeholder {
  color: var(--c-text-dim);
}

.modal-textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-submit {
  font-family: 'Aeonik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #F0EDE8;
  background: var(--c-navy);
  border: none;
  padding: 16px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 200ms ease;
  align-self: flex-start;
}

.modal-submit:hover {
  opacity: 0.85;
}

/* ===== ANIMATIONS ===== */

/* Scroll reveal — elements start hidden, slide up on enter */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* CTA links — color shift on hover */
.cta-link:hover {
  color: var(--c-navy);
  border-bottom-color: var(--c-navy);
}


/* Pillar cards — subtle lift */
.pillar {
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar:hover {
  transform: translateY(-4px);
}

/* Process steps — top border animates width */
.process-step {
  position: relative;
  border-top: 2px solid transparent;
}

.process-step::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--c-navy);
  transition: width 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step.revealed::before {
  width: 100%;
}

/* Footer wordmark reveal */
.footer-wordmark {
  transition: opacity 1200ms ease;
}

.footer-wordmark.wm-visible {
  color: rgba(250,250,248,0.15);
}

/* Hero lines — smooth transform transitions */
.hero-lines rect {
  transition: transform 50ms linear;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--c-navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }

  .nav-links.open .nav-cta {
    background: rgba(240, 237, 232, 0.18) !important;
    color: #F0EDE8 !important;
    font-size: 17px;
    padding: 14px 32px !important;
  }

  /* Keep hamburger bars cream when menu is open so they stay visible above the navy overlay */
  .nav-toggle.open span { background: #F0EDE8; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .nav-inner { height: 60px; }

  .hero-content {
    padding-left: var(--pad);
    padding-top: 10vh;
  }

  .hero-heading {
    font-size: 2.2rem;
  }

  .hero-cta {
    border-bottom: none;
    padding-bottom: 0;
  }


  .founder-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .founder-image img {
    max-width: 280px;
  }


  .service-card {
    min-height: 260px;
    padding: 2rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-wordmark {
    font-size: 5rem;
  }
}
