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

@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --primary: #27827f;
  --success: #267d78;
  --navy: #14243b;
  --white: #fff;
  --mist: color-mix(in srgb, var(--primary) 5%, var(--white));
  --line: color-mix(in srgb, var(--navy) 17%, var(--white));
  --muted: color-mix(in srgb, var(--navy) 79%, var(--white));
  --on-dark: color-mix(in srgb, var(--white) 82%, var(--navy));
  --mint: color-mix(in srgb, var(--primary) 25%, var(--white));
  --gutter: clamp(1.1rem, 4vw, 4.5rem);
  --heading: Poppins, system-ui, sans-serif;
  font-family: Inter, system-ui, sans-serif;
  color: var(--navy);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
body { font-size: 1rem; line-height: 1.65; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
main:focus { outline: none; }

h1, h2, h3 { font-family: var(--heading); font-weight: 600; }
h1, h2 { letter-spacing: -.062em; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 7.05vw, 7rem); line-height: 1.04; }
h2 { font-size: clamp(1.95rem, 4.95vw, 5.2rem); line-height: 1.07; }
h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); letter-spacing: -.025em; line-height: 1.25; }

.container { width: min(calc(100% - 2 * var(--gutter)), 86rem); margin-inline: auto; }
.section { padding-block: clamp(3.6rem, 7vw, 7.5rem); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.4rem 2.5rem;
  margin-bottom: clamp(1.65rem, 4vw, 3.4rem);
}
.section-header h2 { max-width: 20ch; }
.section-header > .button { flex: none; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 6vw, 7rem); align-items: start; }
.eyebrow {
  margin-bottom: .85rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--success);
}
.lead { max-width: 44ch; margin-top: 1rem; font-size: clamp(1.025rem, 1.5vw, 1.25rem); color: var(--muted); }
.dark-section { background: var(--navy); color: var(--white); }
.dark-section .eyebrow { color: var(--mint); }
.dark-section .lead { color: var(--on-dark); }

.skip-link {
  position: fixed;
  z-index: 3;
  inset: .6rem auto auto var(--gutter);
  transform: translateY(-160%);
  padding: .65rem 1rem;
  background: var(--navy);
  color: var(--white);
}
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 5.25rem;
  gap: .7rem 1.4rem;
}
.site-brand { display: block; width: 8rem; flex: none; }
.site-menu, .site-footer nav ul {
  display: flex;
  align-items: center;
  gap: .45rem clamp(.65rem, 1.5vw, 1.6rem);
  list-style: none;
  padding: 0;
}
.site-menu a, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: .3em;
}
.site-menu a:is(:hover, [aria-current]), .site-footer nav a:is(:hover, [aria-current]) { text-decoration: underline; }
.site-menu-toggle { display: none; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.35rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3rem;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 3rem;
  text-align: center;
  text-decoration: none;
  font-size: .925rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.button-primary { background: var(--primary); color: var(--white); }
.button-primary:hover { background: var(--success); }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: var(--primary); }
.button-primary:focus-visible, .button-dark:focus-visible { outline-color: var(--navy); }
.button-outline { border-color: currentColor; }
.button-outline:hover { background: var(--mist); }
.dark-section .button-outline:hover, .button-light:hover { background: var(--mint); color: var(--navy); }
.button-light { background: var(--white); color: var(--navy); }
.button-light:focus-visible { outline-color: var(--white); }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  width: fit-content;
  font-weight: 600;
  text-underline-offset: .3em;
}
.text-link:hover { text-decoration-thickness: 2px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 1rem clamp(1.5rem, 6vw, 7rem);
  padding-block: clamp(3rem, 6vw, 6.5rem) clamp(3rem, 6vw, 6rem);
}
.hero-copy { display: contents; }
.hero .eyebrow, .hero h1 { grid-column: 1 / -1; }
.hero .eyebrow { margin: 0; }
.hero h1 { margin-bottom: clamp(.6rem, 2vw, 2rem); text-wrap: pretty; }
.hero h1 span { display: block; }
.hero h1 .hero-accent { color: var(--primary); padding-inline-start: clamp(0rem, 4vw, 4rem); }
.hero .lead { align-self: end; margin-top: 0; }
.hero .actions { grid-column: 1; align-self: start; }
.hero-art {
  position: relative;
  isolation: isolate;
  grid-column: 2;
  grid-row: 3 / span 2;
  min-height: clamp(11rem, 17vw, 17rem);
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(112deg, transparent 0 2.5rem, #ffffff14 2.5rem calc(2.5rem + 1px)),
    linear-gradient(120deg, var(--navy) 20%, #1b4c54 70%, var(--primary));
  border-radius: .8rem 5rem .8rem .8rem;
}
.hero-art::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle, #ffffff39 1px, transparent 1.5px) 0 0 / .65rem .65rem;
  mask-image: linear-gradient(120deg, transparent 38%, #000 100%);
  content: "";
}
.hero-artwork {
  display: grid;
  place-items: center;
  width: clamp(8rem, 23vw, 20rem);
  padding: clamp(.9rem, 2.5vw, 2.25rem);
  background: var(--white);
  border-radius: .55rem 2rem .55rem .55rem;
  box-shadow: 0 1rem 2rem #14243b48;
  transform: translate(var(--pointer-x, 0), var(--pointer-y, 0)) rotate(-5deg);
  transition: transform 280ms cubic-bezier(.2, .7, .3, 1);
}

.work, .approach { background: var(--mist); }
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.5rem) clamp(1rem, 3vw, 3rem);
  align-items: start;
}
.work-card { position: relative; min-width: 0; }
.work-featured { grid-row: span 2; }
.work-featured .work-preview { aspect-ratio: 1.56; }
.work-card:focus-within { outline: 2px solid var(--navy); outline-offset: 5px; }
.work-card a { text-decoration: none; text-underline-offset: .22em; }
.work-card a::after { position: absolute; inset: 0; content: ""; }
.work-card:is(:hover, :focus-within) a { text-decoration: underline; }
.work-preview {
  overflow: hidden;
  aspect-ratio: 2.1;
  background: var(--navy);
  border-radius: .5rem;
}
.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  transform: translateY(var(--shift, 0)) scale(1.045);
  transition: transform 480ms cubic-bezier(.2, .7, .3, 1);
}
.work-copy { padding-top: 1rem; }
.work-copy h3 { font-size: clamp(1.15rem, 2.25vw, 2.05rem); }
.work-copy p, .solution-grid p, .values dd, .steps p, .follow-up p { margin-top: .4rem; color: var(--muted); }

.solution-grid, .service-grid { border-top: 1px solid var(--line); }
.solution-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: baseline;
  gap: .5rem 2rem;
  padding: clamp(1.25rem, 2.7vw, 2.3rem) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 220ms ease;
}
.solution-grid h3, .service-grid h3 { font-size: clamp(1.4rem, 3.2vw, 2.9rem); }
.solution-grid h3 { transition: color 220ms ease, transform 220ms ease; }
.solution-grid p { margin: 0; max-width: 55ch; }
.visibility { background: var(--navy); }
.service-grid { border-color: #ffffff56; }
.service-grid details { border-bottom: 1px solid #ffffff56; }
.service-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: clamp(1rem, 2.3vw, 2rem) .2rem;
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease;
}
.service-grid summary::-webkit-details-marker { display: none; }
.service-grid summary:hover { color: var(--mint); }
.service-grid summary::after {
  flex: none;
  width: .7rem;
  height: .7rem;
  margin-inline: .35rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: "";
}
.service-grid details[open] summary::after { transform: rotate(225deg); }
.service-grid h3 span { display: block; margin-top: .4rem; font: 600 .925rem Inter, system-ui, sans-serif; color: var(--mint); }
.service-grid p { max-width: 62ch; padding: 0 .2rem 1.5rem; color: var(--on-dark); }

.why h2 { max-width: 17ch; text-wrap: pretty; }
.why h2 span { color: var(--primary); }
.why .text-link { margin-top: 1rem; }
.values > div { padding-block: .85rem; border-top: 1px solid var(--line); }
.values > div:last-child { border-bottom: 1px solid var(--line); }
.values dt { font-family: var(--heading); font-weight: 600; font-size: 1.125rem; line-height: 1.35; }
.values dd { margin-top: .25rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline-start: 1.55rem;
  gap: 1rem 2.3rem;
}
.steps li { padding: .8rem .4rem .2rem 0; border-top: 1px solid var(--line); }
.steps li::marker { color: var(--success); font-weight: 600; }
.steps h3 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }
.follow-up {
  margin-top: 1.8rem;
  padding: clamp(1rem, 3vw, 2rem);
  border-inline-start: 3px solid var(--primary);
  border-radius: 0 .75rem .75rem 0;
  background: var(--white);
}
.follow-up p { max-width: 70ch; }
.koota-panel {
  align-items: center;
  padding: clamp(1.25rem, 5.5vw, 5.5rem);
  border: 1px solid var(--line);
  border-radius: .65rem 4rem .65rem .65rem;
  background: linear-gradient(125deg, var(--mist) 58%, var(--mint));
}
.koota-panel h2 { max-width: 18ch; }
.koota-note {
  max-width: 24ch;
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--primary);
  font-family: var(--heading);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 2.15rem);
  line-height: 1.4;
}
.contact {
  background: radial-gradient(ellipse at 90% 0, #27827f50, transparent 55%), var(--navy);
}
.contact .section-header { margin-bottom: 0; }
.contact h2 { max-width: 14ch; font-size: clamp(2.5rem, 6.8vw, 6.8rem); text-wrap: pretty; }
.contact .actions { flex: none; }

.site-footer { background: var(--navy); color: var(--white); }
.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 2.25rem;
  border-top: 1px solid #ffffff4a;
}
.footer-contact { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.25rem; }
.footer-contact .site-brand { padding: .28rem .6rem; border-radius: .25rem; background: var(--white); }
.footer-contact address { display: grid; font-size: .875rem; font-style: normal; }
.footer-contact address a { display: flex; align-items: center; min-height: 1.5rem; text-underline-offset: .15em; }
.site-footer nav ul { flex-wrap: wrap; justify-content: end; }

@media (max-width: 75rem) {
  .site-header-inner { flex-wrap: wrap; padding-block: .55rem; }
  .menu-enhanced .site-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 2.75rem;
    padding: .45rem .8rem;
    border: 1px solid var(--line);
    border-radius: .45rem;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
  }
  .hamburger {
    width: 1.05rem;
    height: .75rem;
    border-block: 1.5px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
  }
  .site-navigation { flex-basis: 100%; border-top: 1px solid var(--line); }
  .menu-enhanced .site-navigation:not(.is-open) { display: none; }
  .site-menu { display: grid; gap: 0; padding-block: .4rem; }
  .site-menu li + li { border-top: 1px solid var(--line); }
  .site-menu li > a:not(.button) { display: flex; width: 100%; }
  .site-menu .button { margin-top: .65rem; }
}

@media (max-width: 58rem) {
  .hero { gap: 1.15rem 1.5rem; }
  .contact .section-header { align-items: start; flex-direction: column; }
  .site-footer-inner { align-items: start; flex-direction: column; }
  .site-footer nav ul { justify-content: start; }
}

@media (max-width: 45rem) {
  .hero, .split, .work-grid, .solution-grid article { grid-template-columns: minmax(0, 1fr); }
  .hero-art { grid-column: 1; grid-row: auto; margin-top: .35rem; }
  .hero h1 .hero-accent { padding-inline-start: 0; }
  .hero .lead { margin-top: .15rem; }
  .hero-artwork { width: min(45%, 12rem); }
  .section-header { align-items: start; flex-direction: column; }
  .work-featured { grid-row: auto; }
  .work-featured .work-preview, .work-preview { aspect-ratio: 1.7; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.9rem; }
}

@media (max-width: 24rem) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (hover: hover) {
  .solution-grid article:hover { background: var(--mist); }
  .solution-grid article:hover h3 { color: var(--success); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1 span { animation: title-in 620ms cubic-bezier(.22, .61, .36, 1) both; }
  .hero h1 .hero-accent { animation-delay: 100ms; }
  [data-reveal].enter-view { animation: reveal-in 550ms ease-out both; }
  @keyframes title-in {
    from { opacity: .82; transform: translateY(.28em); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes reveal-in {
    from { opacity: .72; translate: 0 .85rem; }
    to { opacity: 1; translate: 0 0; }
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover { transform: translateY(-2px); }
  .solution-grid article:hover h3 { transform: translateX(.4rem); }
  .work-card:is(:hover, :focus-within) img {
    transform: translateY(var(--shift, 0)) scale(1.11);
  }
}

@media (prefers-reduced-motion: reduce) {
  .button, .hero-artwork, .work-preview img, .solution-grid article, .solution-grid h3, .service-grid summary { transition: none; }
  .work-preview img { transform: none; }
}
