:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --body: #505054;
  --muted: #66666a;
  --line: #e5e5e8;
  --card: #f7f7f8;
  --pastel-cyan: #d8eef1;
  --pastel-yellow: #f6eaca;
  --pastel-orange: #f4d9c8;
  --width: 72rem;
  font-family: -apple-system, BlinkMacSystemFont, "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { background: #dedee2; color: var(--ink); }
[id] { scroll-margin-top: 1.5rem; }

.wrap { width: min(var(--width), calc(100% - 5rem)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 1; padding: .75rem 1rem; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; min-height: 4.75rem; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; font-weight: 720; font-size: 1.35rem; letter-spacing: -.06em; white-space: nowrap; }
.brand-domain { color: var(--muted); }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.8vw, 2.5rem); }
nav a { color: var(--body); font-weight: 550; font-size: .875rem; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: .28em; }
nav .nav-contact { padding: .53rem .88rem; border: 1px solid var(--line); border-radius: .5rem; color: var(--ink); }
nav .nav-contact:hover { background: var(--card); text-decoration: none; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5.5vw, 5rem); align-items: center; padding-block: clamp(4.5rem, 7.2vw, 7.4rem); }
.eyebrow { font-size: .875rem; font-weight: 650; line-height: 1.4; color: var(--muted); }
h1 { margin-top: 1.15rem; font-size: clamp(3.12rem, 6.25vw, 5.4rem); line-height: .99; letter-spacing: -.084em; font-weight: 660; }
h1 .hero-line { color: var(--muted); }
.text-accent { color: var(--accent-ink); background: linear-gradient(transparent 70%, var(--accent-fill) 70%); }
.accent-cyan { --accent-ink: #28595f; --accent-fill: var(--pastel-cyan); }
.accent-orange { --accent-ink: #794e3b; --accent-fill: var(--pastel-orange); }
.hero-description { margin-top: 1.75rem; max-width: 29rem; color: var(--body); font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.6; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem 1.55rem; margin-top: 1.85rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .72rem 1.15rem; background: #232325; color: white; border-radius: .55rem; font-weight: 640; font-size: .94rem; text-decoration: none; white-space: nowrap; }
.button:hover { background: #454549; }
.button:focus-visible { outline-color: var(--ink); }
.text-link { font-size: .94rem; font-weight: 620; text-decoration-color: #a5a5aa; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.text-link:hover { text-decoration-color: var(--ink); }
.hero-visual {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 8% 18%, var(--pastel-cyan), transparent 56%),
    radial-gradient(ellipse at 88% 88%, var(--pastel-orange), transparent 57%),
    radial-gradient(ellipse at 96% 4%, var(--pastel-yellow), transparent 47%),
    #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}
.hero-visual img { width: 100%; height: auto; mix-blend-mode: multiply; }
.visual-corner { position: absolute; width: .7rem; height: .7rem; color: #99999f; }
.visual-corner::before, .visual-corner::after { content: ""; position: absolute; background: currentColor; }
.visual-corner::before { width: 100%; height: 1px; top: 50%; }
.visual-corner::after { width: 1px; height: 100%; left: 50%; }
.top-left, .top-right { top: 1.1rem; }
.bottom-left, .bottom-right { bottom: 1.1rem; }
.top-left, .bottom-left { left: 1.1rem; }
.top-right, .bottom-right { right: 1.1rem; }

.section { padding-block: clamp(3.75rem, 7vw, 6.2rem); }
.section-intro h2 { margin-top: .7rem; font-size: clamp(2.25rem, 4.2vw, 3.65rem); line-height: 1.04; letter-spacing: -.065em; font-weight: 655; text-wrap: balance; }
.section p:not(.eyebrow) { font-size: 1.045rem; line-height: 1.65; color: var(--body); }
.expertise, .team { background: #fafafa; border-block: 1px solid var(--line); }
.capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.capabilities article { padding: clamp(1.25rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: .9rem; background: #fff; }
.section h3 { font-size: 1.3rem; letter-spacing: -.04em; line-height: 1.25; font-weight: 680; }
.capabilities p { margin-top: .75rem; }
.mission, .team-intro, .internships { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.mission-detail, .team-intro > p, .internship-detail { padding-top: 1.8rem; }
.topics { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.topics li { border: 1px solid var(--line); background: var(--card); border-radius: .45rem; padding: .35rem .65rem; font-size: .875rem; color: var(--body); }
.topics .topic-accent { color: #594923; background: var(--pastel-yellow); border-color: #e6d9b4; }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.founders article { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 1.45rem 0 0; border-top: 1px solid var(--line); }
.founders p { max-width: 28rem; }
.founders .text-link { margin-top: auto; }
.internships { border-bottom: 1px solid var(--line); }
.internship-detail .text-link { display: inline-block; margin-top: 1rem; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.contact p:not(.eyebrow) { margin-top: .9rem; }
.footer { border-top: 1px solid var(--line); }
.footer small { color: var(--muted); font-size: .875rem; }

@media (max-width: 880px) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero { gap: 1.75rem; }
  h1 { font-size: clamp(2.625rem, 6.5vw, 4rem); }
  .capabilities { gap: .75rem; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 0; padding-block: .95rem; flex-wrap: wrap; gap: .75rem 1rem; }
  nav { flex-wrap: wrap; gap: .7rem .8rem; }
  nav .nav-contact { padding: .4rem .65rem; }
  .hero { grid-template-columns: 1fr; padding-block: 3.35rem 3.75rem; gap: 2.2rem; }
  h1 { font-size: clamp(2.8rem, 10vw, 4.6rem); }
  .hero-description { margin-top: 1.15rem; }
  .hero-links { margin-top: 1.4rem; }
  .hero-visual { max-width: 34rem; }
  .capabilities, .mission, .team-intro, .founders, .internships { grid-template-columns: 1fr; }
  .mission-detail, .team-intro > p, .internship-detail { padding-top: 0; }
  .founders { gap: 1.35rem; }
  .contact { align-items: flex-start; flex-direction: column; }
}
