@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Sora:wght@400;600;700;800&display=swap");

:root {
  color-scheme: light;
  --paper: #f3f8f7;
  --ink: #101d1d;
  --text: #2d3b3b;
  --muted: #606c6b;
  --sage: #527a7a;
  --line: #cbd3d2;
  --white: #ffffff;
  --page-pad: clamp(20px, 6vw, 100px);
  --header-pad: var(--page-pad);
  --page-title-size: clamp(5rem, 7.2vw, 6.8rem);
  --display: "Sora", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --headline: "Cal Sans", var(--display);
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.76), transparent 31%),
    radial-gradient(circle at 83% 13%, rgba(82, 122, 122, 0.055), transparent 27%),
    radial-gradient(circle at 54% 72%, rgba(255, 255, 255, 0.38), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(222, 235, 233, 0.18) 48%, rgba(255, 255, 255, 0.3)),
    var(--paper);
  font-family: var(--display);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 32%, rgba(16, 29, 29, 0.095) 0 0.5px, transparent 0.86px),
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.84) 0 0.54px, transparent 0.92px),
    radial-gradient(circle at 42% 84%, rgba(82, 122, 122, 0.085) 0 0.46px, transparent 0.82px);
  background-size: 13px 13px, 19px 19px, 27px 27px;
  opacity: 0.38;
  mix-blend-mode: multiply;
}

body > * {
  position: relative;
  z-index: 1;
}

body::selection {
  color: var(--paper);
  background: var(--sage);
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 122px;
  padding: 32px var(--header-pad);
  background: transparent;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-frosted {
  background: rgba(243, 248, 247, 0.72);
  box-shadow: 0 1px 0 rgba(203, 211, 210, 0.58);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(180px, 22vw, 283px);
  flex: 0 0 auto;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.5vw, 32px);
  color: var(--text);
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  cursor: pointer;
  place-items: center;
}

.menu-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 6px;
}

.menu-checkbox:checked + .menu-toggle .menu-toggle-lines {
  transform: rotate(45deg);
}

.menu-checkbox:checked + .menu-toggle .menu-toggle-lines::before {
  transform: translateY(6px) rotate(90deg);
}

.menu-checkbox:checked + .menu-toggle .menu-toggle-lines::after {
  opacity: 0;
}

.nav > a:not(.pill) {
  line-height: 20px;
  transition: color 160ms ease;
}

.nav > a:not(.pill):hover,
.nav > a:not(.pill).is-active,
.nav > a:not(.pill)[aria-current="page"] {
  color: var(--sage);
}

.pill {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 24px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(16, 29, 29, 0.1);
}

.pill::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.28) 42%, transparent 62%);
  opacity: 0;
  transform: translateX(-120%);
  transition:
    opacity 220ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pill:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

.pill > * {
  position: relative;
  z-index: 1;
}

.pill-dark {
  color: var(--paper);
  background: var(--ink);
}

.pill-dark.is-active,
.pill-dark[aria-current="page"] {
  color: var(--paper);
}

.pill-dark:hover {
  background: var(--sage);
}

.pill-outline {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.pill-outline:hover {
  color: var(--paper);
  background: var(--ink);
}

.pill-large {
  min-height: 54px;
  padding: 16px 24px;
}

.hero,
.services,
.approach {
  padding-inline: var(--page-pad);
  overflow: hidden;
}

.hero {
  display: flex;
  min-height: calc(100svh - 122px);
  flex-direction: column;
  justify-content: center;
  padding-top: 148px;
  padding-bottom: 76px;
}

.hero-home {
  min-height: calc(100svh - 122px);
  justify-content: flex-start;
  padding-top: clamp(36px, 5vh, 80px);
  padding-bottom: clamp(28px, 4vh, 56px);
}

.hero-grid,
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 338px);
  gap: 30px;
  align-items: start;
}

.hero-grid > *,
.section-intro > *,
.service-row > * {
  min-width: 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 16px;
  text-transform: uppercase;
}

.kicker span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.hero h1,
.services > .section-intro h1,
.approach h2 {
  width: 100%;
  max-width: 1050px;
  font-family: var(--headline);
  font-size: var(--page-title-size);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.92;
  overflow-wrap: break-word;
}

.hero h1 span,
.services > .section-intro h1 span,
.approach h2 span {
  color: var(--sage);
}

.lead {
  max-width: 828px;
  margin-top: 70px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.63;
}

.actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.hero-facts {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  margin-top: 70px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.hero-facts div:last-child {
  text-align: left;
}

dt,
.service-number,
.site-footer {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}

dd {
  padding-top: 6px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.hero-art,
.section-art,
.approach-art {
  position: relative;
  width: 100%;
  min-height: 266px;
}

.hero-home .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 338px);
}

.hero-home .hero-art {
  display: block;
}

.hero-home .kicker {
  margin-bottom: clamp(24px, 3.2vh, 38px);
}

.hero-home h1 {
  max-width: 1120px;
  line-height: 0.92;
}

.hero-home .lead {
  margin-top: clamp(28px, 4vh, 44px);
}

.hero-home .actions {
  margin-top: clamp(22px, 3vh, 32px);
  margin-bottom: clamp(28px, 4vh, 44px);
}

.hero-home .hero-facts {
  width: 100%;
  margin-top: auto;
}

.asterisk {
  display: block;
  height: auto;
  position: absolute;
  cursor: default;
  transform-origin: center;
  will-change: transform;
}

.motion-ready .asterisk {
  cursor: pointer;
}

.asterisk-large {
  width: clamp(116px, 13vw, 169px);
}

.asterisk-medium {
  width: clamp(96px, 12vw, 169px);
}

.hero-art .asterisk-dark,
.section-art .asterisk-dark {
  top: 0;
  left: 0;
}

.hero-art .asterisk-sage,
.section-art .asterisk-sage {
  top: 101px;
  left: min(52%, 169px);
}

.motion-ready .reveal-item {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(18px);
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.motion-ready .hero h1.reveal-item,
.motion-ready .services > .section-intro h1.reveal-item,
.motion-ready .approach h2.reveal-item {
  transform: translateY(22px) scale(0.985);
}

.motion-ready .hero h1.reveal-item.is-visible,
.motion-ready .services > .section-intro h1.reveal-item.is-visible,
.motion-ready .approach h2.reveal-item.is-visible {
  transform: translateY(0) scale(1);
}

.motion-ready .service-row.reveal-item {
  transform: translateY(28px);
}

.motion-ready .service-row.reveal-item.is-visible {
  transform: translateY(0);
}

.motion-ready .asterisk-dark {
  animation: asterisk-spin-slow 72s linear infinite;
}

.motion-ready .asterisk-sage {
  animation: asterisk-spin-slow-reverse 88s linear infinite;
}

@keyframes asterisk-spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes asterisk-spin-slow-reverse {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.services {
  padding-top: 148px;
  padding-bottom: 76px;
}

.service-list {
  margin-top: 46px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(0, 847px);
  gap: 32px;
  padding: 23px 0 70px;
  border-top: 1px solid var(--line);
}

.service-detail {
  display: grid;
  gap: 32px;
}

h3 {
  color: var(--ink);
  font-family: var(--headline);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-transform: lowercase;
}

.service-detail h2 {
  color: var(--ink);
  font-family: var(--headline);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-transform: lowercase;
}

.service-detail p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.63;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0;
  margin: -16px 0 0;
  list-style: none;
}

.tags li {
  padding: 5px 8px;
  color: var(--white);
  background: var(--sage);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.approach {
  padding-top: 148px;
  padding-bottom: 150px;
}

.approach-art {
  min-height: 265px;
  margin-bottom: 30px;
}

.approach-art .asterisk-dark {
  top: 0;
  left: 0;
}

.approach-art .asterisk-sage {
  top: 101px;
  left: min(42vw, 528px);
}

.approach h2 {
  max-width: 1240px;
  line-height: 0.92;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 33px var(--header-pad) 32px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer strong {
  color: var(--text);
  font-weight: 400;
}

.contact-page {
  min-height: calc(100svh - 239px);
  padding: 148px var(--page-pad) 150px;
}

.email-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 760px;
}

.email-address {
  color: var(--ink);
  font-family: var(--headline);
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.email-address:hover {
  color: var(--sage);
}

.email-note {
  max-width: 420px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.copy-email {
  color: var(--ink);
  cursor: pointer;
  font-family: var(--display);
}

.copy-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.copy-icon::before,
.copy-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 12px;
  border: 1.2px solid currentColor;
  border-radius: 2px;
}

.copy-icon::before {
  top: 0;
  left: 5px;
}

.copy-icon::after {
  top: 4px;
  left: 1px;
  background: var(--paper);
}

.contact-footer {
  text-transform: uppercase;
}

@media (max-width: 1280px) {
  :root {
    --page-title-size: clamp(4.6rem, 7.2vw, 6.2rem);
  }

  .hero-home h1 {
    max-width: 980px;
  }

  .hero-home .lead {
    margin-top: clamp(26px, 3.5vh, 38px);
    max-width: 760px;
  }

  .hero-home .actions {
    margin-top: 24px;
    margin-bottom: 36px;
  }

  .hero-home .hero-facts {
    margin-top: auto;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: auto;
    padding-block: 26px;
  }

  .nav {
    gap: 18px;
  }

  .hero,
  .services,
  .approach {
    min-height: auto;
    padding-top: 92px;
  }

  .hero-home {
    min-height: auto;
    padding-bottom: 76px;
  }

  .hero-grid,
  .section-intro {
    grid-template-columns: 1fr;
  }

  .hero-home .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .section-art,
  .hero-home .hero-art {
    display: none;
  }

  .hero-art .asterisk-sage,
  .section-art .asterisk-sage {
    left: 150px;
  }

  .kicker {
    margin-bottom: 28px;
  }

  .lead {
    margin-top: 42px;
  }

  .hero-home .lead {
    margin-top: 42px;
  }

  .hero-home .actions {
    margin-top: 36px;
    margin-bottom: 0;
  }

  .hero-facts,
  .site-footer {
    flex-direction: column;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 54px;
  }

  .contact-page {
    min-height: auto;
    padding-top: 92px;
  }
}

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

@media (max-width: 700px) {
  :root {
    --page-title-size: clamp(3rem, 12.5vw, 5rem);
  }

  .site-header {
    position: sticky;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .nav {
    display: none;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 10px;
    font-size: 13px;
  }

  .menu-checkbox:checked ~ .nav {
    display: flex;
  }

  .nav > a {
    display: flex;
    min-height: 48px;
    align-items: center;
    border-top: 1px solid rgba(203, 211, 210, 0.9);
    font-size: 16px;
  }

  .brand {
    width: 160px;
  }

  .hero-home h1 {
    line-height: 0.96;
  }

  h3,
  .service-detail h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .actions,
  .actions .pill {
    max-width: 100%;
    width: 100%;
  }

  .lead,
  .hero-copy,
  .hero-home .hero-grid {
    max-width: 100%;
  }

  .hero-facts {
    margin-top: 64px;
  }

  .hero-home .hero-facts {
    margin-top: 40px;
    width: 100%;
  }

  .approach-art {
    display: none;
  }

  .approach-art .asterisk-sage {
    left: 42vw;
  }
}

@media (max-width: 460px) {
  :root {
    --page-title-size: clamp(2.9rem, 12vw, 3.7rem);
  }

  .site-header {
    align-items: center;
  }

  .nav {
    width: auto;
    align-items: stretch;
    justify-content: flex-start;
  }

  .kicker {
    align-items: flex-start;
    font-size: 10px;
  }

  .hero-home {
    padding-top: 72px;
  }

  .hero-home .lead {
    font-size: 16px;
    line-height: 1.55;
  }

  .kicker span {
    margin-top: 5px;
    flex: 0 0 auto;
  }

  .asterisk-large,
  .asterisk-medium {
    width: 118px;
  }

  .hero-art .asterisk-sage,
  .section-art .asterisk-sage {
    left: 118px;
  }
}
