:root {
  --navy: #04172d;
  --navy-2: #092a4a;
  --cyan: #0bbbf2;
  --cyan-light: #72dcff;
  --ink: #14263a;
  --muted: #5e6d7b;
  --line: #dbe4ec;
  --soft: #f4f7fa;
  --white: #ffffff;
  --wrap: 1160px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
h1 { font-size: clamp(3rem, 6vw, 5.2rem); }
h2 { margin-bottom: 1.25rem; color: var(--navy); font-size: clamp(2.2rem, 4vw, 3.5rem); }
h3 { line-height: 1.25; }

.wrap { width: min(calc(100% - 3rem), var(--wrap)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.65rem 0.9rem;
  border-radius: 0.4rem;
  background: var(--cyan-light);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  min-height: 92px;
}
.brand { display: block; width: min(270px, 100%); }
.brand img { width: 100%; height: auto; }
.desktop-nav { display: flex; gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center; }
.desktop-nav a { color: #33485c; font-size: 0.92rem; font-weight: 750; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: #0474aa; }
.nav-cta {
  justify-self: end;
  padding: 0.68rem 0.95rem;
  border-radius: 0.45rem;
  color: var(--white);
  background: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}
.mobile-menu { display: none; position: relative; justify-self: end; }
.mobile-menu summary {
  cursor: pointer;
  list-style: none;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  color: var(--navy);
  font-weight: 800;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  display: grid;
  width: 250px;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--white);
  box-shadow: 0 16px 45px rgba(4, 23, 45, 0.16);
}
.mobile-menu nav a { padding: 0.7rem; border-radius: 0.35rem; font-weight: 700; }
.mobile-menu nav a:hover { background: var(--soft); }

.eyebrow {
  margin-bottom: 0.8rem;
  color: #0876aa;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--cyan-light); }

.home-hero { color: var(--white); background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.hero-inner { max-width: 850px; padding-block: clamp(5rem, 10vw, 8rem); text-align: center; }
.hero-inner h1 { margin-bottom: 1.4rem; }
.hero-inner h1 em, .about-hero h1 em { color: var(--cyan-light); font-weight: 500; }
.hero-inner > p:not(.eyebrow) { max-width: 700px; margin: 0 auto 2rem; color: #c8d7e4; font-size: 1.16rem; }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  font-size: 0.92rem;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-cyan { color: var(--navy); background: var(--cyan-light); }
.button-cyan:hover { background: var(--white); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,0.4); }
.button-ghost:hover { background: rgba(255,255,255,0.08); }
.button-navy { color: var(--white); background: var(--navy); }
.button-navy:hover { background: #07598f; }

.paths-section { padding-block: clamp(5rem, 9vw, 8rem); }
.section-intro { max-width: 780px; margin-bottom: 3rem; }
.section-intro.centered { margin-inline: auto; text-align: center; }
.section-intro > p:last-child { color: var(--muted); font-size: 1.04rem; }
.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.path-card {
  display: flex;
  flex-direction: column;
  min-height: 325px;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--white);
}
.card-label { color: #0876aa; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.card-logo-slot {
  display: flex;
  align-items: center;
  height: 82px;
  margin: 1rem 0 0.85rem;
  overflow: hidden;
}
.card-logo { display: block; width: auto; max-width: 100%; max-height: 68px; object-fit: contain; object-position: left center; }
.card-logo-t2m { width: min(100%, 310px); }
.card-logo-tta { width: min(100%, 330px); }
.card-logo-liberatus { width: min(100%, 285px); mix-blend-mode: multiply; }
.path-card p { color: var(--muted); }
.path-card a { display: flex; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); color: #075f93; font-size: 0.86rem; font-weight: 850; }

.personal-section { color: var(--white); background: var(--navy); }
.personal-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: clamp(2.5rem, 8vw, 7rem); align-items: center; padding-block: clamp(5rem, 9vw, 7rem); }
.personal-inner h2, .final-cta h2, .about-hero h1, .experience-section h2, .philosophy-section h2 { color: var(--white); }
.personal-inner > div > p:last-child { max-width: 690px; color: #c4d3df; font-size: 1.05rem; }
.contact-card { padding: 2rem; border-radius: var(--radius); color: var(--ink); background: var(--white); }
.contact-card h3 { margin: 0 0 0.8rem; color: var(--navy); font-family: Georgia, serif; font-size: 1.75rem; font-weight: 500; }
.contact-card p { color: var(--muted); }
.contact-card .button { width: 100%; background: var(--cyan); }
.about-preview { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 8vw, 7rem); padding-block: clamp(5rem, 9vw, 7rem); }
.about-preview > div:last-child > p { color: var(--muted); font-size: 1.05rem; }
.proof-row { display: grid; gap: 0.65rem; margin: 1.7rem 0 2rem; }
.proof-row span { padding-left: 0.9rem; border-left: 3px solid var(--cyan); color: var(--muted); }
.proof-row strong { color: var(--navy); }

.final-cta { color: var(--white); background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.final-inner { max-width: 760px; padding-block: 4.5rem; text-align: center; }
.final-inner h2 { margin-bottom: 0.75rem; }
.final-inner p { color: #c6d6e2; }

.site-footer { padding-top: 3.5rem; border-top: 1px solid var(--line); background: var(--soft); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; padding-bottom: 2.5rem; }
.footer-inner img { width: 230px; height: auto; mix-blend-mode: multiply; }
.footer-inner p { margin: 1rem 0 0; color: var(--muted); font-size: 0.86rem; }
.footer-inner nav { display: grid; gap: 0.4rem; justify-items: end; }
.footer-inner nav a { color: #4d6275; font-size: 0.86rem; }
.footer-inner nav a:hover { color: #0876aa; }
.copyright { padding-block: 1.1rem; border-top: 1px solid var(--line); color: #758492; font-size: 0.72rem; }

/* About page */
.about-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 69% 48%, rgba(114, 220, 255, 0.3), rgba(11, 187, 242, 0.12) 22%, rgba(11, 187, 242, 0) 44%),
    linear-gradient(105deg, #04172d 0%, #062844 45%, #0b4f73 72%, #1685ab 100%);
}
.about-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr); gap: clamp(2rem, 7vw, 6rem); align-items: end; min-height: 650px; }
.about-hero-copy { align-self: center; max-width: 680px; padding-block: 5rem; }
.about-hero-copy h1 { margin-bottom: 1.5rem; font-size: clamp(3rem, 5vw, 4.8rem); }
.about-hero-copy > p:not(.eyebrow) { color: #c8d7e4; font-size: 1.08rem; }
.dom-photo { align-self: end; }
.dom-photo img { width: min(100%, 470px); height: auto; margin-inline: auto; object-fit: contain; filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.24)); }

.story-section { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 8vw, 7rem); padding-block: clamp(5rem, 9vw, 7rem); }
.story-copy p { color: var(--muted); font-size: 1.04rem; }
.story-copy p:last-child { margin-bottom: 0; }

.experience-section { padding-block: clamp(5rem, 9vw, 7rem); color: var(--white); background: var(--navy); }
.light-copy h2 { color: var(--white); }
.light-copy > p:last-child { color: #c6d5e1; }
.experience-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 3rem 0 0; padding: 0; list-style: none; background: rgba(255,255,255,0.18); }
.experience-list li { padding: 1.5rem; background: var(--navy); }
.experience-list li > span { color: var(--cyan-light); font-family: Georgia, serif; font-size: 1.15rem; }
.experience-list h3 { margin: 1rem 0 0.6rem; font-size: 1rem; }
.experience-list p { margin: 0; color: #b8c9d5; font-size: 0.85rem; }

.company-section { padding-block: clamp(5rem, 9vw, 7rem); }
.company-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.company-grid article { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.company-grid article > span { color: #0876aa; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.company-logo-slot { height: 76px; margin-bottom: 0.65rem; }
.company-grid p { color: var(--muted); font-size: 0.92rem; }
.company-grid a { color: #076b9d; font-size: 0.86rem; font-weight: 850; }

.philosophy-section { padding-block: clamp(5rem, 9vw, 7rem); color: var(--white); background: var(--navy); }
.philosophy-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr); gap: clamp(2.5rem, 8vw, 7rem); }
.philosophy-inner > div > p:last-child { color: #c4d3df; }
.philosophy-inner ul { margin: 0; padding: 0; list-style: none; }
.philosophy-inner li { display: grid; grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr); gap: 1rem; padding: 0.9rem 0; border-top: 1px solid rgba(255,255,255,0.18); }
.philosophy-inner li span { color: #b8c9d5; font-size: 0.9rem; }

.credentials-section { padding-block: clamp(5rem, 9vw, 7rem); }
.credentials-list { display: grid; gap: 2.3rem; }
.credential-group { border-top: 3px solid var(--cyan); }
.credential-group-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0 1rem;
}
.credential-group-head h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
}
.credential-group-head small { flex: 0 0 auto; color: #0876aa; font-family: Inter, sans-serif; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.credentials-list ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.credentials-list li { min-height: 92px; padding: 0.9rem 1rem; border: 1px solid var(--line); border-left: 3px solid var(--cyan); border-radius: 0.4rem; background: var(--soft); }
.credentials-list strong, .credentials-list li span { display: block; }
.credentials-list strong { font-size: 0.88rem; }
.credentials-list li span { color: var(--muted); font-size: 0.76rem; }

/* Contact page */
.contact-hero { color: var(--white); background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.contact-hero-inner { max-width: 820px; padding-block: clamp(4.5rem, 8vw, 6.5rem); text-align: center; }
.contact-hero h1 { margin-bottom: 1.2rem; }
.contact-hero p { max-width: 670px; margin-inline: auto; color: #c8d7e4; font-size: 1.08rem; }
.contact-section { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr); gap: clamp(2.5rem, 8vw, 7rem); padding-block: clamp(4.5rem, 8vw, 7rem); }
.contact-intro p { color: var(--muted); }
.contact-email { display: inline-block; margin-top: 0.5rem; color: #076b9d; font-weight: 850; overflow-wrap: anywhere; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; padding: 2rem; border: 1px solid var(--line); border-top: 4px solid var(--cyan); border-radius: var(--radius); background: var(--soft); }
.form-field { display: grid; gap: 0.38rem; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { color: var(--navy); font-size: 0.86rem; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 0.78rem 0.85rem;
  border: 1px solid #bfcbd6;
  border-radius: 0.4rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 1rem;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.contact-form .button { grid-column: 1 / -1; width: 100%; cursor: pointer; background: var(--cyan); }
.honeypot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1000px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav, .nav-cta { display: none; }
  .mobile-menu { display: block; }
  .path-grid, .company-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 0; }
  .about-hero-inner { grid-template-columns: 1fr 0.7fr; }
  .experience-list { grid-template-columns: 1fr 1fr; }
  .credentials-list ul { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 2rem), var(--wrap)); }
  .header-inner { min-height: 78px; }
  .brand { width: 215px; }
  .personal-inner, .about-preview, .story-section, .philosophy-inner, .contact-section { grid-template-columns: 1fr; }
  .about-hero {
    background:
      radial-gradient(circle at 50% 80%, rgba(114, 220, 255, 0.3), rgba(11, 187, 242, 0.1) 25%, rgba(11, 187, 242, 0) 48%),
      linear-gradient(180deg, #04172d 0%, #082f50 58%, #117da5 100%);
  }
  .about-hero-inner { grid-template-columns: 1fr; }
  .about-hero-copy { padding: 4.5rem 0 1rem; }
  .dom-photo { width: min(100%, 420px); margin-inline: auto; background: transparent; }
  .experience-list { grid-template-columns: 1fr; }
  .philosophy-inner li { grid-template-columns: 1fr; gap: 0.2rem; }
  .credentials-list ul, .contact-form { grid-template-columns: 1fr; }
  .form-field-full, .contact-form .button { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { justify-items: start; }
}

@media (max-width: 480px) {
  .hero-inner { text-align: left; }
  .button-row { justify-content: stretch; }
  .button-row .button { width: 100%; }
  .path-card, .contact-card { padding: 1.4rem; }
  .credential-group-head { align-items: flex-start; flex-direction: column; gap: 0.2rem; }
  .contact-form { padding: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
