/* Anoris Capital — static rebuild of the former Gamma site */
:root {
  --page: #faf9f5;
  --ink: #2e3c4e;
  --text: #384653;
  --nav: #38383c;
  --muted: #5b6874;
  --card-a: #dbebf0;
  --card-b: #d8edf3;
  --card-line: #bfd3d8;
  --teal-a: #c7e0e7;
  --teal-b: #64b8ce;
  --teal-solid: #95ccda;
  --teal-soft: #c6e1e8;
  --pill: #d9edf2;
  --link: #3a6b7e;
  --rule: #dfdfe0;
  --wrap: 1040px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: "Host Grotesk", "Roboto", system-ui, sans-serif;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.22;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(30px, 3.1vw, 42px); }
h3 { font-size: clamp(21px, 1.9vw, 25px); }
h4 { font-size: clamp(17px, 1.45vw, 19.5px); color: var(--text); }
p { margin: 0 0 14px; }
ul { margin: 0; padding-left: 20px; }
li { margin: 0 0 8px; }
li::marker { color: var(--text); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--page);
  border-bottom: 1px solid #e7e5de;
}
.site-header .wrap {
  max-width: 1160px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center;
  background: #fff; padding: 7px 8px; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}
.brand img { height: 26px; width: auto; }
.wordmark {
  font-family: "Host Grotesk", "Roboto", sans-serif; font-weight: 600;
  font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.wordmark:hover { color: #000; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: "Host Grotesk", "Roboto", sans-serif;
  font-weight: 500; font-size: 14px; color: var(--nav);
  text-decoration: none; padding: 8px 9px; border-radius: var(--radius);
  position: relative;
}
.nav a:hover { color: #000; }
.nav a.active { color: var(--link); }
.nav a.active::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-a), var(--teal-b));
}
.btn {
  display: inline-block;
  background: linear-gradient(225deg, var(--teal-a) 0%, var(--teal-b) 99%);
  color: #111 !important; font-weight: 600; font-size: 14px;
  font-family: "Roboto", sans-serif;
  text-decoration: none; padding: 10px 15px; border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(20, 60, 80, 0.12);
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.04) saturate(1.05); }
.nav .btn { margin-left: 6px; padding: 9px 14px; font-family: "Roboto", sans-serif; font-weight: 600; }
.nav .btn::after { display: none; }

.menu-toggle { display: none; }

/* ---------- Hero band (home) ---------- */
.hero-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 140% at 92% -20%, rgba(255,255,255,0.38), transparent 62%),
    radial-gradient(ellipse 50% 90% at 0% 110%, rgba(255,255,255,0.22), transparent 60%),
    linear-gradient(180deg, #aad4e1 0%, #b4dae5 55%, #a6d1df 100%);
  padding: 96px 0 92px;
}
.hero-band svg.arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-band .wrap { position: relative; }
.hero-band h1 { margin-bottom: 22px; }
.hero-band p { font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.55; max-width: 780px; margin: 0; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.first { padding-top: 14px; }
section.first .split .text h1 { margin-top: 60px; }
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.76fr);
  gap: 38px; align-items: stretch;
}
.split.top { align-items: start; }
.split .text h1 { margin: 36px 0 26px; }
.slant {
  position: relative; min-height: 100%;
  border-radius: var(--radius); overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 24.5% 100%);
}
.slant img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.two-col h3 { margin-bottom: 14px; }
.two-col p { font-size: 15px; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.card {
  background: linear-gradient(225deg, var(--card-a) 0%, var(--card-b) 99%);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 13px 13px 14px;
}
.card h4 { margin: 4px 0 8px; color: var(--ink); }
.card p { font-size: 14.5px; margin: 0; }
.card ul { font-size: 14.5px; padding-left: 18px; }
.card li { margin-bottom: 6px; }
.icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(225deg, var(--teal-a) 0%, var(--teal-b) 99%);
  color: #23323f;
}
.icon svg { width: 18px; height: 18px; }

.lead { font-size: 15px; }

/* ---------- Leadership ---------- */
.pill {
  display: inline-block;
  background: var(--pill); color: var(--text);
  font-family: "Roboto", sans-serif; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.02em;
  padding: 3px 7px; border-radius: 4px; margin-bottom: 14px;
}
.leader h1 { margin-bottom: 20px; }
.leader hr { border: 0; border-top: 1px solid #9a9ea3; margin: 0 0 18px; }
.leader p { font-size: 15px; margin-bottom: 18px; }
.leader .tagline { font-style: italic; }

/* ---------- Systematic approach ---------- */
.approach h1 { margin-bottom: 18px; }
.approach .sub { font-size: 15px; margin-bottom: 18px; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.step .num {
  font-family: "Host Grotesk", sans-serif; font-size: 13px; color: var(--text);
  padding-bottom: 3px; margin-bottom: 10px;
  border-bottom: 1.5px solid transparent;
  border-image: linear-gradient(90deg, #8fc8d8, #c9e3ea) 1;
}
.step h4 { color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 14.5px; margin: 0; }
.approach .note { font-size: 14.5px; margin-top: 28px; }

/* ---------- Contact ---------- */
.contact h1 { margin-bottom: 30px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact-grid p { font-size: 15px; }
.contact-grid h3 { margin: 22px 0 12px; font-size: clamp(19px, 1.6vw, 21px); }
.contact-grid .email a { color: var(--link); font-weight: 600; }
.contact-grid .address { line-height: 1.6; }
.contact-grid .btn { margin-top: 10px; }
.contact-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; }
.contact-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { padding: 4px 0 56px; }
.site-footer hr { border: 0; border-top: 1px solid #9a9ea3; margin: 0 0 16px; }
.site-footer p { font-size: 11.5px; margin: 0 0 14px; }

/* ---------- Careers ---------- */
.careers-hero { padding-top: 32px; }
.careers-hero .split .text h1 { margin: 52px 0 26px; }
.careers-hero p { font-size: 15.5px; }
.careers-hero .slant { min-height: 400px; }
.why h1 { margin-bottom: 26px; }
.why > .wrap > p { font-size: 15.5px; margin-bottom: 16px; }
.why .cards { gap: 16px; }
.why .card { padding: 14px 16px 16px; }
.why .card h4 { margin-top: 2px; }
.why .card p { font-size: 15px; }

.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; align-items: start; }
.apply {
  background: var(--teal-solid); border-radius: var(--radius);
  padding: 16px 16px 30px; color: #1d2a36;
}
.apply h4, .process h4 { color: var(--ink); margin-bottom: 12px; }
.apply p, .apply li { font-size: 15px; }
.apply a { font-weight: 600; color: #1d2a36; }
.process { padding: 16px 4px 0; }
.process p { font-size: 15px; }
.callout {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--pill); border-radius: var(--radius);
  padding: 16px 16px 14px; margin-top: 4px;
  color: #1d2a36; font-size: 15px; font-weight: 500;
}
.callout svg { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--text); }

.role { padding-top: 88px; }
.role h1 { margin-bottom: 8px; }
.role .what { margin-bottom: 18px; }
.role ul.reqs li { font-size: 15px; margin-bottom: 9px; }
.role-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; align-items: start; }
.role-bottom h4 { color: var(--ink); margin-bottom: 14px; }
.role-bottom li { font-size: 15px; }
.intern { background: var(--teal-soft); border-radius: var(--radius); padding: 16px 16px 36px; }
.intern p { font-size: 15px; margin: 0; }
.careers-end { height: 72px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  section { padding: 52px 0; }
  .split, .contact-grid, .apply-grid, .role-bottom { grid-template-columns: 1fr; gap: 28px; }
  .split .text h1 { margin-top: 0; }
  .careers-hero .split .text h1 { margin-top: 12px; }
  .slant { clip-path: none; min-height: 300px; order: 2; }
  .careers-hero .slant { min-height: 320px; }
  .hero-band { padding: 64px 0; }
  .contact-img { max-width: 420px; }
}
@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid #ddd; background: #fff; border-radius: var(--radius);
    color: var(--nav); cursor: pointer;
  }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--page); border-bottom: 1px solid #e7e5de; padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 16px; }
  .nav a.active::after { left: 8px; right: auto; width: 48px; bottom: 6px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .two-col, .cards, .steps { grid-template-columns: 1fr; }
}

/* Large monitors: scale up slightly, like the original Gamma site did */
@media (min-width: 1900px) { html { zoom: 1.15; } }
@media (min-width: 2400px) { html { zoom: 1.3; } }

/* ---------- Standalone pages (People / Strategies / Our Edge) ---------- */
section.page-top { padding-top: 40px; }
section.page-top .split .text h1 { margin-top: 52px; }
@media (max-width: 860px) {
  section.page-top { padding-top: 28px; }
  section.page-top .split .text h1 { margin-top: 12px; }
}
