@font-face {
  font-family: Sora;
  src: url("./sora-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Sora;
  src: url("./sora-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Sora;
  src: url("./sora-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #091326;
  --deep-ocean: #103545;
  --porcelain: #f6efee;
  --paper: #fffbfa;
  --mist: #e3e9ea;
  --vermilion: #fb410e;
  --charcoal: #292929;
  --muted: #4d5d65;
  --on-dark: #c6d2d5;
  --line: #84969c;
  --divider: #c4c8c6;
  --radius: .125rem;
  --margin: clamp(1.25rem, 6vw, 6rem);
  --shell: 92rem;
  --space: clamp(4.5rem, 8vw, 8rem);
  --display: clamp(3.3rem, 6.6vw, 6.8rem);
  --heading: clamp(2.45rem, 4.65vw, 5rem);
  --font: Sora, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--navy); font: 400 1rem/1.55 var(--font); }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: .35rem; }
::selection { color: var(--navy); background: var(--vermilion); }
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--margin); }
.skip-link { position: fixed; z-index: 5; top: .75rem; left: 1rem; padding: .75rem 1rem; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.masthead, .opening { color: var(--porcelain); }
.masthead-inner, nav, .wordmark { display: flex; align-items: center; }
.masthead-inner { justify-content: space-between; min-height: 5.5rem; gap: 1rem; }
nav { gap: clamp(1.15rem, 2.8vw, 2.6rem); }
nav a { text-decoration: none; }
.nav-section:hover { text-decoration: underline; }
.wordmark { width: fit-content; gap: .65rem; font-weight: 600; font-size: 1.25rem; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.mark { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .1875rem; width: 1.625rem; height: 1.625rem; }
.mark i { height: .95rem; width: .235rem; background: var(--porcelain); transform: skewX(-26deg); }
.mark i:nth-child(1) { translate: 0 .23rem; }
.mark i:nth-child(3) { translate: 0 -.23rem; background: var(--vermilion); }
.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 3.125rem; padding: .72rem 1.2rem; font-weight: 600; font-size: .95rem; line-height: 1.25; border: 2px solid transparent; border-radius: var(--radius); text-decoration: none; transition: color .18s, background-color .18s, border-color .18s; }
.button-outline { border-color: var(--line); }
.button-outline:hover { border-color: var(--porcelain); background: var(--porcelain); color: var(--navy); }
.button-primary { background: var(--porcelain); color: var(--navy); }
.button-primary:focus-visible { outline-color: var(--porcelain); }
.button-primary:hover { background: var(--mist); border-color: var(--line); }

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 7vw, 7rem);
}
.label { font-size: .875rem; font-weight: 600; letter-spacing: .045em; }
.hero .label { color: var(--on-dark); margin-bottom: 1.5rem; }
.hero h1, h2 { font-size: var(--heading); line-height: 1.04; letter-spacing: -.06em; }
.hero h1 { font-size: var(--display); }
.hero h1 span { color: var(--vermilion); }
@media (prefers-reduced-motion: no-preference) {
  .hero-heading, .hero-copy { animation: enter .6s ease-out both; }
  @keyframes enter { from { opacity: 0; transform: translateY(.7rem); } }
}
.hero-summary { max-width: 27rem; color: var(--on-dark); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.65; margin-bottom: 1.5rem; }
.chapter { padding-block: var(--space); }
.services { background: var(--porcelain); }
.services-layout, .engineering-layout, .contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 8rem); }
.section-intro p, .engineering-copy p, .contact-layout p { font-size: clamp(1.075rem, 1.55vw, 1.25rem); line-height: 1.55; }
.section-intro p { max-width: 25rem; color: var(--charcoal); margin-top: 1.65rem; }
.service-list { border-top: 2px solid var(--divider); }
details { border-bottom: 2px solid var(--divider); }
summary { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary h3, .founder-list h3 { font-size: clamp(1.25rem, 2.25vw, 1.9rem); letter-spacing: -.045em; line-height: 1.15; }
summary:hover h3 { text-decoration: underline; text-underline-offset: .18em; }
.toggle { display: grid; flex: 0 0 1.75rem; height: 1.75rem; place-items: center; }
.toggle::before, .toggle::after { content: ""; grid-area: 1 / 1; height: .125rem; width: 1rem; background: currentColor; }
.toggle::after { rotate: 90deg; transition: rotate .18s; }
details[open] .toggle::after { rotate: 0deg; }
details p { max-width: 33rem; color: var(--charcoal); padding: 0 2rem 1.65rem 0; font-size: 1.075rem; }

.engineering { color: var(--porcelain); background: var(--deep-ocean); }
.engineering-layout { align-items: center; }
.engineering-copy p { color: var(--on-dark); max-width: 27rem; margin-top: 1.5rem; }
.engineering-image { aspect-ratio: 6 / 5; object-fit: cover; border-radius: var(--radius); }
.founders { background: var(--paper); }
.founder-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; list-style: none; margin: clamp(2.35rem, 6vw, 5rem) 0 0; border-top: 2px solid var(--divider); }
.founder-list li { min-width: 0; padding: 1.5rem .65rem 0 0; }
.founder-list .label { color: var(--muted); font-weight: 500; margin-top: .65rem; }
.founder-list a { display: inline-block; padding-block: .7rem; margin-top: .45rem; }
.founder-list a:hover, .footer-bar a:hover { text-decoration-thickness: 2px; }

.closing { background: var(--navy); color: var(--porcelain); padding-top: var(--space); }
.contact-layout { align-items: end; padding-bottom: var(--space); }
.contact-layout h2 { color: var(--porcelain); }
.contact-layout p { max-width: 22rem; color: var(--on-dark); margin-bottom: 1.4rem; }
.footer-bar { display: flex; border-top: 2px solid #46606d; padding-block: 1.45rem; gap: 1rem; align-items: center; justify-content: space-between; font-size: .95rem; }

@media (max-width: 61rem) {
  .hero { grid-template-columns: 1fr; }
  .services-layout, .engineering-layout, .contact-layout { gap: clamp(1.5rem, 4.5vw, 4rem); }
}
@media (max-width: 44rem) {
  .masthead-inner { min-height: 4.5rem; }
  nav { gap: .8rem; }
  .hero h1 { font-size: clamp(2.4rem, 10.5vw, 4.4rem); }
  .services-layout, .engineering-layout, .contact-layout { grid-template-columns: 1fr; gap: 2.35rem; }
  .founder-list { grid-template-columns: 1fr; border-top: 0; }
  .founder-list li { border-top: 2px solid var(--divider); padding-block: 1.35rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.photo-credit { color: var(--on-dark); font-size: .875rem; }
@media (max-width: 44rem) {
  .masthead .wordmark { font-size: 1.15rem; gap: .3rem; }
  .masthead nav { gap: clamp(.5rem, 1.9vw, 1rem); font-size: .875rem; }
  .masthead .button { min-height: 2.65rem; padding-inline: .65rem; font-size: .875rem; }
  .footer-bar { flex-wrap: wrap; }
  .photo-credit { order: 1; flex-basis: 100%; }
}
@media (max-width: 25rem) {
  .masthead-inner { flex-wrap: wrap; gap: .6rem; padding-block: 1rem .75rem; }
  .masthead nav { width: 100%; gap: 1.15rem; }
  .masthead .button { margin-left: auto; }
  .hero { padding-top: 2.25rem; }
}
@media (max-width: 22.5rem) {
  :root { --space: 3.25rem; }
}
