:root {
  color-scheme: light;
  --ink: oklch(20% 0.035 255);
  --muted: oklch(43% 0.025 255);
  --paper: oklch(97% 0.01 78);
  --surface: oklch(99% 0.008 78);
  --line: oklch(84% 0.02 78);
  --navy: oklch(24% 0.08 252);
  --gold: oklch(70% 0.13 78);
  --accent: var(--gold);
  --accent-2: oklch(58% 0.11 154);
  --wash: oklch(93% 0.035 83);
  --shadow: 0 24px 80px oklch(20% 0.03 255 / 14%);
  --hero-image: url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1600&q=80");
  --display: "Sora", Avenir, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Libre Franklin", Avenir, "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  transition: background-color 420ms ease, color 420ms ease;
}

main,
section,
.hero-copy,
.hero-visual,
.service-layout,
.company-stack,
.company-facts {
  min-width: 0;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--surface);
  padding: 0.65rem 0.9rem;
  border-radius: 0.4rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.8rem, 1.5vw, 1.25rem) clamp(1rem, 5vw, 4.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 4.35rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  filter: drop-shadow(0 0.6rem 1.6rem oklch(24% 0.08 252 / 18%));
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
  line-height: 1;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.45rem;
}

.brand small {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.55rem, 1.4vw, 1.1rem);
  font-size: 0.95rem;
  font-weight: 800;
}

.header-actions a {
  text-decoration: none;
}

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  background: color-mix(in oklch, var(--surface) 78%, transparent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.88fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  min-height: min(620px, calc(100svh - 4rem));
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3.2rem) clamp(1rem, 5vw, 4.5rem) clamp(2.2rem, 5vw, 3.8rem);
}

.hero-copy {
  width: 100%;
  max-width: 58rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: color-mix(in oklch, var(--accent-2) 75%, var(--navy));
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.94;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: var(--display);
}

h1 {
  max-width: min(11.8ch, 100%);
  color: var(--navy);
  font-size: 4.15rem;
  font-weight: 800;
}

.hero-lede {
  max-width: 62ch;
  margin: clamp(0.95rem, 2vw, 1.35rem) 0 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.2rem;
  margin-top: clamp(1.2rem, 3vw, 1.8rem);
}

.primary-button,
.secondary-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  max-width: 100%;
  white-space: normal;
}

.primary-button {
  gap: 0.7rem;
  border: 1px solid color-mix(in oklch, var(--navy) 78%, var(--gold));
  border-radius: 999px;
  background: var(--navy);
  color: var(--surface);
  padding: 0.82rem 1.05rem 0.82rem 1.25rem;
  box-shadow: var(--shadow);
}

.primary-button svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.secondary-link {
  color: var(--navy);
}

.social-ribbon {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 0.55rem;
  margin-top: clamp(1rem, 2.5vw, 1.45rem);
  border: 1px solid color-mix(in oklch, var(--navy) 22%, var(--surface));
  border-radius: 999px;
  background: color-mix(in oklch, var(--surface) 88%, transparent);
  padding: 0.34rem;
  box-shadow: 0 1rem 3rem oklch(20% 0.03 255 / 8%);
}

.social-ribbon-label {
  padding-left: 0.65rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.36rem;
}

.social-links a {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid color-mix(in oklch, var(--navy) 76%, var(--gold));
  border-radius: 999px;
  background: var(--navy);
  color: color-mix(in oklch, var(--surface) 94%, var(--gold));
  padding: 0.28rem 0.68rem 0.28rem 0.32rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--surface) 12%, transparent);
}

.social-icon {
  display: inline-grid;
  width: 1.72rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in oklch, var(--surface) 92%, var(--gold));
  color: var(--navy);
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--surface) 74%, transparent);
}

.social-icon svg {
  width: 1.03rem;
}

.social-icon svg rect,
.social-icon svg circle,
.social-icon svg path {
  vector-effect: non-scaling-stroke;
}

.social-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.social-icon .filled-social {
  fill: currentColor;
  stroke: none;
}

.social-links a:hover,
.social-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: clamp(21rem, 44vw, 34rem);
}

.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: 0 5rem 0 0;
  background:
    linear-gradient(180deg, oklch(20% 0.03 240 / 8%), oklch(18% 0.03 240 / 26%)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  transition: background-image 420ms ease, border-radius 420ms ease;
}

.hero-note {
  position: absolute;
  right: clamp(-0.5rem, -1vw, 0rem);
  bottom: clamp(1rem, 5vw, 3rem);
  width: min(18rem, 78%);
  border: 1px solid color-mix(in oklch, var(--gold) 45%, transparent);
  background: color-mix(in oklch, var(--surface) 86%, transparent);
  padding: 1.1rem;
  box-shadow: 0 1rem 4rem oklch(20% 0.03 255 / 18%);
}

.hero-note span,
.hero-note strong {
  display: block;
}

.hero-note span {
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-note strong {
  margin-top: 0.35rem;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.08;
}

.services,
.company-panel {
  padding: clamp(2.2rem, 5vw, 4.6rem) clamp(1rem, 5vw, 4.5rem);
}

.section-heading h2,
.company-panel h2 {
  max-width: 14ch;
  color: var(--navy);
  font-size: 3.45rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr);
  gap: 2rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.5rem);
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-feature {
  min-height: 24rem;
  background: color-mix(in oklch, var(--surface) 88%, var(--wash));
  padding: clamp(1rem, 2.4vw, 1.8rem);
}

.service-number {
  display: inline-flex;
  width: 2.4rem;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in oklch, var(--accent) 22%, var(--surface));
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
}

.service-feature h3 {
  margin-top: clamp(1.6rem, 4vw, 2.7rem);
  color: var(--navy);
  font-family: var(--display);
  font-size: 2.15rem;
}

.service-feature p {
  max-width: 44ch;
  margin: 1rem 0 0;
  color: var(--muted);
}

.service-points {
  display: grid;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 1rem;
}

.service-points li::before {
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent-2);
  content: "";
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.85rem;
  margin: clamp(1rem, 3vw, 1.7rem) 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  border: 1px solid color-mix(in oklch, var(--surface) 18%, var(--navy));
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, var(--navy), color-mix(in oklch, var(--navy) 82%, var(--accent-2)));
  padding: 1rem;
  color: color-mix(in oklch, var(--surface) 94%, var(--navy));
  font-size: 1.14rem;
  font-weight: 800;
  box-shadow: 0 1rem 2.5rem oklch(20% 0.03 255 / 10%);
}

.company-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(18rem, 0.72fr);
  gap: clamp(1.4rem, 4vw, 3.2rem);
  background:
    linear-gradient(135deg, color-mix(in oklch, var(--wash) 68%, var(--surface)), var(--surface));
}

.company-panel p {
  max-width: 48ch;
  color: var(--muted);
}

.company-facts {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.company-facts div {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem;
  background: var(--surface);
  padding: 1rem;
}

.company-facts dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.company-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.company-facts a {
  color: var(--navy);
}

.company-stack {
  display: grid;
  gap: 1rem;
}

.map-window {
  overflow: hidden;
  min-height: 15rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-window iframe {
  display: block;
  width: 100%;
  min-height: 15rem;
  border: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 1rem clamp(1rem, 5vw, 4.5rem);
  background: color-mix(in oklch, var(--ink) 94%, var(--navy));
  color: var(--surface);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer a {
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.72rem;
}

.footer-links > a {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid color-mix(in oklch, var(--surface) 18%, transparent);
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  color: color-mix(in oklch, var(--surface) 92%, var(--gold));
  text-decoration: none;
}

.footer-socials {
  padding: 0.18rem;
  border: 1px solid color-mix(in oklch, var(--surface) 14%, transparent);
  border-radius: 999px;
  background: color-mix(in oklch, var(--surface) 6%, transparent);
}

@media (max-width: 920px) {
  .site-header,
  .hero,
  .section-heading,
  .company-panel {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: min(12ch, 100%);
    font-size: 3.7rem;
  }

  .section-heading h2,
  .company-panel h2 {
    font-size: 2.75rem;
  }

  .hero-visual {
    min-height: 20rem;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-feature {
    min-height: auto;
  }

  .service-feature h3 {
    margin-top: 2.6rem;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section-heading,
  .company-panel {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .site-header {
    padding-top: 0.9rem;
    gap: 0.8rem;
  }

  .brand {
    flex: 1 1 11rem;
  }

  .header-actions {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    gap: 0.55rem;
    font-size: 0.88rem;
    margin-top: 0.9rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .social-ribbon {
    display: inline-flex;
    width: auto;
    border-radius: 999px;
    padding: 0.32rem;
  }

  .social-ribbon-label {
    padding-left: 0.45rem;
    font-size: 0.7rem;
  }

  .social-links {
    display: flex;
    flex-wrap: nowrap;
  }

  .social-links a {
    width: 2.28rem;
    min-height: 2.28rem;
    justify-content: center;
    gap: 0;
    padding: 0.22rem;
  }

  .social-links a > span:not(.social-icon) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .footer-socials {
    flex: 0 0 auto;
  }

  .hero-copy,
  .hero-visual,
  .service-layout,
  .proof-list,
  .company-stack,
  .company-facts {
    max-width: 21.5rem;
  }

  .primary-button,
  .secondary-link {
    width: 100%;
  }

  .brand-mark {
    width: 3.45rem;
  }

  h1 {
    max-width: min(11.5ch, 100%);
    font-size: 2.15rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .section-heading h2,
  .company-panel h2 {
    font-size: 1.9rem;
  }

  .hero-visual,
  .proof-list,
  .company-stack {
    margin-top: 1.1rem;
  }

  .service-feature h3 {
    font-size: 2.08rem;
  }

  .hero-note {
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .company-facts div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
