:root {
  --ink: #102a43;
  --ink-soft: #486581;
  --navy: #0d3b66;
  --teal: #1d7a8c;
  --teal-light: #58a6a6;
  --paper: #f7f3ea;
  --paper-2: #fffdf8;
  --line: rgba(16, 42, 67, .18);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(13, 59, 102, .12);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  z-index: 20;
  mix-blend-mode: multiply;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { left: 8px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  padding: 22px 28px;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(247, 243, 234, .88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img { width: 190px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}
.nav a {
  position: relative;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { right: 0; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ink);
  transition: .25s ease;
}
.menu-toggle span { margin: auto; position: relative; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

main { overflow: hidden; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
}
.display {
  margin: 0;
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(62px, 9vw, 142px);
  line-height: .88;
  letter-spacing: -.055em;
}
.title {
  margin: 0;
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 104px);
  line-height: .92;
  letter-spacing: -.045em;
}
.lead {
  margin: 0;
  max-width: 700px;
  font-size: clamp(20px, 2.2vw, 31px);
  line-height: 1.35;
  color: var(--ink-soft);
}
.body-copy {
  max-width: 760px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.75;
  color: var(--ink-soft);
}
.body-copy p { margin: 0 0 1.5em; }
.rule { height: 1px; background: var(--line); margin: 44px 0; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: end start;
  padding: 170px 0 82px;
  isolation: isolate;
}
.hero-copy { position: relative; z-index: 3; }
.hero .lead { margin-top: 38px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); background: var(--ink); color: var(--white); }
.button.primary { background: var(--ink); color: var(--white); }
.button.primary:hover { background: var(--teal); border-color: var(--teal); }

.orbit {
  position: absolute;
  width: min(66vw, 880px);
  aspect-ratio: 1;
  right: -16vw;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(13, 59, 102, .2);
  border-radius: 50%;
  z-index: -1;
}
.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(29, 122, 140, .28);
}
.orbit::before { inset: 12%; }
.orbit::after { inset: 27%; }
.orbit-core {
  position: absolute;
  inset: 40%;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 22px rgba(29, 122, 140, .08), 0 0 0 72px rgba(29, 122, 140, .05);
  animation: breathe 6s ease-in-out infinite;
}
.orbit-dot {
  position: absolute;
  width: 34px;
  height: 34px;
  background: var(--teal);
  border-radius: 50%;
  top: 49%;
  left: -17px;
  transform-origin: calc(33vw + 17px) 17px;
  animation: rotate 18s linear infinite;
}
@keyframes breathe { 50% { transform: scale(1.15); } }
@keyframes rotate { to { transform: rotate(360deg); } }

.statement {
  padding: 150px 0;
  background: var(--navy);
  color: var(--paper-2);
}
.statement .eyebrow { color: #8fd3d3; }
.statement p {
  margin: 0;
  max-width: 18ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.2vw, 90px);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.home-card {
  min-height: 360px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: background .3s ease, color .3s ease;
}
.home-card:hover { background: var(--teal); color: var(--white); }
.card-index { font-size: 12px; letter-spacing: .14em; font-weight: 800; }
.home-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1;
}
.card-arrow { align-self: flex-end; font-size: 34px; }

.page-hero {
  min-height: 72vh;
  padding: 190px 0 90px;
  display: flex;
  align-items: end;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid var(--line);
  border-radius: 50%;
  right: 8vw;
  top: 22%;
  box-shadow: 0 0 0 70px rgba(29,122,140,.04), 0 0 0 140px rgba(13,59,102,.025);
}
.page-hero .title { position: relative; z-index: 2; }
.content-section { padding: 120px 0; }
.split {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.55fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: start;
}
.sticky-label { position: sticky; top: 120px; }
.big-quote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 4.5vw, 68px);
  line-height: 1.12;
  letter-spacing: -.03em;
}
.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 70px;
}
.founder-card {
  min-height: 300px;
  padding: 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 80% 20%, rgba(88,166,166,.24), transparent 34%),
    var(--paper-2);
}
.founder-card span { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.founder-card h3 { margin: 10px 0 0; font: 400 clamp(30px, 3vw, 46px)/1 Georgia, serif; }

.company-list { border-top: 1px solid var(--line); }
.company-item {
  display: grid;
  grid-template-columns: 68px minmax(220px, .7fr) minmax(0, 1fr) 80px;
  gap: 26px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color .25s ease, padding .25s ease;
}
.company-item:hover { color: var(--teal); padding-left: 12px; }
.company-num { font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.company-item h2 { margin: 0; font: 400 clamp(28px, 3vw, 48px)/1.05 Georgia, serif; }
.company-item p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.company-item:hover p { color: currentColor; }
.company-arrow { justify-self: end; font-size: 30px; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 74px;
}
.impact-card {
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.impact-card h3 { margin: 70px 0 12px; font: 400 clamp(28px, 3vw, 42px)/1 Georgia, serif; }
.impact-card p { margin: 0; max-width: 38ch; color: var(--ink-soft); line-height: 1.65; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(50px, 10vw, 130px);
}
.contact-list { margin-top: 70px; }
.contact-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 1px solid var(--line); }
.contact-row dt { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.contact-row dd { margin: 0; font-size: 18px; line-height: 1.55; }
.contact-row a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.contact-panel {
  background: var(--navy);
  color: var(--white);
  padding: clamp(34px, 5vw, 64px);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.contact-panel h2 { margin: 0; font: 400 clamp(38px, 4vw, 64px)/1.04 Georgia, serif; }
.contact-panel p { color: #c9d8e5; line-height: 1.65; }
.contact-panel .button { border-color: var(--white); color: var(--white); align-self: flex-start; }
.contact-panel .button:hover { background: var(--white); color: var(--navy); }

.cta-band {
  padding: 110px 0;
  background: var(--teal);
  color: var(--white);
}
.cta-band .container { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.cta-band h2 { margin: 0; max-width: 13ch; font: 400 clamp(46px, 6vw, 88px)/.98 Georgia, serif; }
.cta-band .button { flex: 0 0 auto; border-color: var(--white); color: var(--white); }
.cta-band .button:hover { background: var(--white); color: var(--teal); }

.site-footer { padding: 54px 28px 34px; background: var(--paper-2); }
.footer-inner { width: min(100%, var(--max)); margin: auto; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; align-items: start; padding-bottom: 48px; }
.footer-top img { width: 180px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 32px; }
.footer-links a { text-decoration: none; font-size: 13px; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { padding: 16px 20px; }
  .brand img { width: 165px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav {
    position: fixed;
    inset: 79px 14px auto 14px;
    padding: 26px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    gap: 24px;
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 15px; }
  .hero { min-height: 880px; padding-top: 150px; }
  .orbit { width: 720px; right: -430px; top: 55%; }
  .orbit-dot { display: none; }
  .home-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-wrap { grid-template-columns: 1fr; }
  .sticky-label { position: static; }
  .company-item { grid-template-columns: 50px 1fr 52px; }
  .company-item p { grid-column: 2 / 4; }
  .page-hero::after { right: -120px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .display { font-size: clamp(58px, 19vw, 92px); }
  .lead { font-size: 20px; }
  .hero { min-height: 760px; padding-bottom: 50px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .statement { padding: 100px 0; }
  .home-grid, .founders, .impact-grid { grid-template-columns: 1fr; }
  .home-card { min-height: 250px; }
  .page-hero { min-height: 62vh; padding: 150px 0 65px; }
  .page-hero::after { width: 220px; height: 220px; right: -90px; top: 28%; }
  .content-section { padding: 84px 0; }
  .company-item { grid-template-columns: 38px 1fr 34px; gap: 12px; }
  .company-item p { grid-column: 1 / -1; padding-left: 50px; }
  .company-arrow { font-size: 24px; }
  .impact-card { min-height: 230px; }
  .contact-row { grid-template-columns: 1fr; gap: 8px; }
  .contact-panel { min-height: 460px; }
  .cta-band .container { align-items: stretch; flex-direction: column; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

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

/* PHP contact form */
.contact-panel-form {
  min-height: 760px;
  gap: 34px;
}
.contact-form { display: grid; gap: 22px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #dce9f2;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.42);
  border-radius: 0;
  padding: 11px 0;
  background: transparent;
  color: var(--white);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select { color-scheme: dark; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: #8fd3d3; }
.field-error { color: #ffd0c9; line-height: 1.4; }
.form-submit {
  width: fit-content;
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  cursor: pointer;
}
.form-submit:hover { background: var(--white); color: var(--navy); }
.form-privacy { margin: -8px 0 0 !important; font-size: 12px; }
.form-notice {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.28);
  line-height: 1.5;
}
.form-notice.success { background: rgba(78, 183, 137, .18); }
.form-notice.error { background: rgba(205, 76, 65, .18); }
.whatsapp-link {
  color: var(--white);
  font-size: 13px;
  text-underline-offset: 5px;
}
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .form-submit { width: 100%; }
}
