/* Polo Labs, pololabs.co */

:root {
  --navy-900: #0b1422;
  --navy-800: #0d1726;
  --navy-700: #13203a;
  --navy-600: #1b2a40;
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --ink: #111a28;
  --ink-soft: #4a5566;
  --mist: #a9b6c8;
  --mist-soft: rgba(233, 230, 223, 0.62);
  --rule-dark: rgba(233, 230, 223, 0.16);
  --rule-light: rgba(17, 26, 40, 0.14);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1200px;
}

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

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

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

a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--gutter);
  color: var(--paper-2);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.logo-mark {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
}

.logo-type {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.nav { display: flex; gap: 36px; }

.nav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--mist-soft);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible { color: var(--paper); }

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  color: var(--paper-2);
}

.nav-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle span:first-child { top: 14px; }
.nav-toggle span:last-child { top: 21px; }

.nav-toggle[aria-expanded="true"] span:first-child { top: 18px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 18px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 160px var(--gutter) 48px;
  background: var(--navy-800);
  color: var(--paper-2);
  overflow: hidden;
}

.horizon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner,
.hero-foot { position: relative; z-index: 1; }

.hero-inner { max-width: 980px; }

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 64px;
}

.hero-foot p {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--paper-2);
}

.link-arrow {
  flex-shrink: 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule-dark);
  transition: border-color 0.2s ease;
}

.link-arrow span { display: inline-block; transition: transform 0.25s ease; }
.link-arrow:hover { border-color: var(--paper-2); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Statement ---------- */

.statement { padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); }

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 1000px;
}

.statement-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--rule-light);
  max-width: 1000px;
}

.statement-cols p { color: var(--ink-soft); }

/* ---------- Expertise ---------- */

.expertise {
  background: var(--navy-800);
  color: var(--paper-2);
  padding: clamp(88px, 11vw, 150px) 0;
}

.expertise .label { color: var(--mist); }

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule-dark);
}

.pillar { padding: 48px 56px 8px 0; }

.pillar + .pillar {
  padding-left: 56px;
  padding-right: 0;
  border-left: 1px solid var(--rule-dark);
}

.pillar-num {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--mist);
  margin-bottom: 20px;
}

.pillar h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 20px;
}

.pillar-intro {
  font-weight: 300;
  color: var(--mist-soft);
  max-width: 460px;
  margin-bottom: 36px;
}

.pillar ul { list-style: none; padding: 0; }

.pillar li {
  padding: 15px 0;
  border-top: 1px solid var(--rule-dark);
  font-size: 15px;
  font-weight: 300;
  color: var(--paper-2);
}

/* ---------- Section heads ---------- */

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: baseline;
  margin-bottom: 64px;
}

.section-head .label { margin-bottom: 0; }

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  max-width: 720px;
}

/* ---------- Criteria ---------- */

.criteria { padding: clamp(96px, 12vw, 160px) 0; }

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-light);
}

.criteria-grid > div {
  padding: 32px 32px 40px 0;
  border-bottom: 1px solid var(--rule-light);
}

.criteria-grid > div:not(:nth-child(3n + 1)) {
  padding-left: 32px;
  border-left: 1px solid var(--rule-light);
}

.criteria-grid dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.criteria-grid dd { color: var(--ink-soft); font-size: 15px; }

/* ---------- Process ---------- */

.process {
  background: var(--paper-2);
  padding: clamp(96px, 12vw, 160px) 0;
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.steps li {
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 40px;
}

.steps h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.steps p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Principles ---------- */

.principles { padding: clamp(80px, 10vw, 130px) 0; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.principles h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 10px;
}

.principles p { color: var(--ink-soft); font-size: 15px; max-width: 340px; }

/* ---------- Contact ---------- */

.contact {
  background: var(--navy-900);
  color: var(--paper-2);
  padding: clamp(110px, 14vw, 190px) 0;
  text-align: center;
}

.contact-inner { display: flex; flex-direction: column; align-items: center; }

.contact .label { color: var(--mist); }

.contact-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 24px;
}

.contact-text {
  max-width: 520px;
  font-weight: 300;
  color: var(--mist-soft);
  margin-bottom: 48px;
}

.contact-mail {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 300;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule-dark);
  transition: border-color 0.2s ease;
  overflow-wrap: anywhere;
}

.contact-mail:hover { border-color: var(--paper-2); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: var(--mist-soft);
  border-top: 1px solid var(--rule-dark);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.logo-sm { gap: 9px; color: var(--paper-2); }
.logo-sm .logo-mark { width: 18px; height: 18px; }
.logo-sm .logo-type { font-size: 17px; letter-spacing: 0; }

/* ---------- Focus ---------- */

a:focus-visible,
button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .criteria-grid { grid-template-columns: 1fr 1fr; }
  .criteria-grid > div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .criteria-grid > div:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--rule-light); }
  .criteria-grid > div:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 0 var(--gutter);
    background: var(--navy-900);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
  }

  .nav a {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 34px;
    letter-spacing: 0;
    color: var(--paper-2);
  }

  .site-header.is-open .nav { opacity: 1; visibility: visible; }
  .site-header.is-open { position: fixed; }

  .site-header { padding-top: 20px; padding-bottom: 20px; }
  .logo-type { font-size: 20px; }
  .logo-mark { width: 22px; height: 22px; }

  .hero { padding-top: 132px; padding-bottom: 36px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 28px; }

  .statement-cols,
  .pillars,
  .section-head,
  .principles-grid { grid-template-columns: 1fr; }

  .statement-cols { gap: 20px; margin-top: 44px; padding-top: 32px; }
  .section-head { gap: 0; margin-bottom: 44px; }
  .section-head .label { margin-bottom: 20px; }

  .pillar,
  .pillar + .pillar { padding: 40px 0 16px; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--rule-dark); margin-top: 32px; }

  .criteria-grid { grid-template-columns: 1fr; }
  .criteria-grid > div,
  .criteria-grid > div:nth-child(2n) { padding: 26px 0 30px; border-left: 0; }

  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .step-num { margin-bottom: 20px; }

  .principles-grid { gap: 36px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

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

.logo-mark .logo-pole { fill: currentColor; stroke: none; }
