
@font-face {
  font-family: Studio;
  src: url('assets/NimbusSans-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Studio;
  src: url('assets/NimbusSans-Bold.otf') format('opentype');
  font-weight: 600 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #F4F5F3;
  --graphite: #25282B;
  --steel: #A8B0B5;
  --blue: #315EFB;
  --bg: var(--paper);
  --ink: var(--graphite);
  --muted: color-mix(in srgb, var(--graphite) 76%, var(--paper));
  --surface: color-mix(in srgb, var(--steel) 12%, var(--paper));
  --raised: color-mix(in srgb, var(--steel) 22%, var(--paper));
  --line: var(--steel);
  --gutter: 24px;
  --gap: 8px;
  --ease: cubic-bezier(.23,1,.32,1);
  --small: 14px;
  --font-sans: "Helvetica Neue", Studio, Arial, sans-serif;
  --body: 18px;
  --lead: 24px;
  --heading: clamp(40px,4.8vw,68px);
  --display: clamp(64px,6.7vw,112px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  --anchor-offset: 104px;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--body)/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  letter-spacing: normal;
  overflow-x: clip;
}

h1,h2,h3,p,figure {
  margin: 0;
}

h1,h2,h3 {
  font-weight: 700;
  letter-spacing: -.045em;
  text-wrap: balance;
}

h1 {
  font-size: var(--display);
  line-height: .98;
}

h2 {
  font-size: var(--heading);
  line-height: 1.02;
}

h3 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

p {
  text-wrap: pretty;
  line-height: 1.5;
}

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

button,input,textarea {
  font: inherit;
}

button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: 0;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

img,svg {
  display: block;
  width: 100%;
  height: auto;
}

::selection {
  background: var(--blue);
  color: var(--ink);
}

a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

.wrap {
  max-width: 1920px;
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.section {
  padding-block: 72px;
}

.micro {
  font-size: var(--small);
  line-height: 1.5;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-size: var(--body);
  line-height: 1.4;
  padding: 12px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: color .18s;
}

.text-link:hover {
  color: var(--blue);
}

.button,.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 24px;
  border-radius: 0;
  background: var(--blue);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
  transition: background .18s,transform .14s;
  text-align: center;
}

.button:hover {
  background: color-mix(in srgb,var(--blue) 86%,var(--graphite));
}

.button-outline {
  background: var(--graphite);
}

.button-outline:hover {
  background: var(--blue);
}

.button:active,.button-outline:active {
  transform: translateY(2px);
}

.button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.skip-link {
  position: fixed;
  z-index: 80;
  left: 20px;
  top: -100px;
  padding: 15px;
  background: var(--blue);
  color: var(--ink);
}

.skip-link:focus {
  top: 10px;
}

.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;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  min-height: 88px;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--bg);
}

.nav-title {
  font-size: 24px;
  letter-spacing: -.035em;
  font-weight: 700;
  margin-right: auto;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 16px;
}

.desktop-nav a {
  padding: 10px 0;
  transition: color .18s;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.header-cta {
  font-size: 16px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  background: var(--raised);
}

.menu-toggle>span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .18s;
}

.menu-toggle[aria-expanded=true]>span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle[aria-expanded=true]>span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: var(--gutter);
  right: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 32px;
  padding: 24px;
  background: var(--raised);
  max-height: calc(100dvh - 100px);
  overflow: auto;
}

.mobile-nav a {
  font-size: 24px;
  letter-spacing: -.03em;
  padding: 12px 0;
}

.mobile-nav a:hover {
  color: var(--blue);
}

.mobile-nav>p {
  grid-column: 1/-1;
  color: var(--muted);
  font-size: var(--small);
  margin-top: 20px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  padding-top: 8px;
  text-align: left;
}

.hero-heading,.hero-summary {
  background: var(--surface);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero-heading {
  min-height: 300px;
}

.hero h1 {
  color: var(--ink);
}

.hero-scene {
  height: 300px;
  overflow: hidden;
  background: var(--surface);
}

.hero-scene img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(.7);
}

.hero-product {
  position: relative;
  min-width: 0;
  height: 300px;
  background: var(--graphite);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-object {
  width: 100%;
  position: relative;
}

.hero-object img {
  width: 100%;
  height: auto;
}

.hero-product figcaption {
  position: absolute;
  bottom: 17px;
  left: 24px;
  font-size: var(--small);
  color: var(--muted);
}

.hero-summary {
  gap: 26px;
}

.hero-description {
  font-size: 22px;
  line-height: 1.6;
  max-width: 32ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.hero-actions .text-link {
  font-size: 16px;
}

.hero-origin {
  font-size: var(--small);
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: end;
  margin-bottom: 40px;
}

.section-heading>p {
  font-size: var(--body);
  color: var(--ink);
  max-width: 58ch;
}

.section-heading h2 {
  max-width: 13ch;
}

.services-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 8%;
  align-items: start;
}

.services h2 {
  max-width: none;
}

.section-intro {
  font-size: var(--body);
  max-width: 39ch;
  margin-block: 28px 16px;
}

.service-list {
  display: grid;
  gap: var(--gap);
}

.service-list details {
  background: var(--surface);
  padding: 4px 24px;
}

.service-list details[open] {
  background: var(--raised);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 88px;
  padding-block: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary h3 {
  font-size: 32px;
  flex: 1;
}

.details-icon {
  font-size: 32px;
  transition: transform .18s;
}

details[open] .details-icon {
  transform: rotate(45deg);
}

.service-body {
  padding-bottom: 28px;
}

.service-body p {
  font-size: var(--body);
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 62ch;
}

.service-body .micro {
  font-size: var(--small);
  color: var(--muted);
}

.service-note {
  margin: 32px 0 0;
  max-width: 95ch;
}

dialog {
  max-width: 680px;
  width: calc(100% - 32px);
  max-height: 85dvh;
  overflow: auto;
  padding: 64px 40px 40px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 12px;
  background: #F2F2F2;
  color: var(--ink);
  box-shadow: 0 20px 64px rgb(0 0 0 / 24%);
}

dialog::backdrop {
  background: color-mix(in srgb,var(--graphite) 36%,transparent);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  dialog {
    background: color-mix(in srgb,#F2F2F2 82%,transparent);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
  }
}

.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--graphite);
  line-height: 1;
  transition: background .18s;
}

.dialog-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.dialog-close:hover,.dialog-close:focus-visible {
  background: var(--blue);
}

dialog h2 {
  font-size: 40px;
  line-height: 1.05;
  margin-bottom: 24px;
}

dialog>p {
  font-size: var(--body);
}

dialog h3 {
  font-size: 24px;
  margin-top: 28px;
}

dialog ul {
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

@media (hover:hover) and (pointer:fine) {
}

@media (max-width:1100px) {
  .header {
    gap: 24px;
  }

  .desktop-nav {
    gap: 20px;
  }

  .hero-heading,.hero-summary {
    padding: 28px;
  }
}

@media (max-width:999px) {
  .header {
    min-height: 80px;
  }

  .desktop-nav,.header-cta {
    display: none;
  }

  .services-layout {
    gap: 6%;
    grid-template-columns: .85fr 1.15fr;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-heading {
    min-height: 250px;
  }

  .hero-scene {
    height: 250px;
  }

  .hero-product {
    height: 280px;
  }

  .hero-summary {
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(44px,6.7vw,64px);
  }

  .hero-actions {
    gap: 8px 20px;
  }

  .section-heading {
    gap: 6%;
  }

  summary h3 {
    font-size: 24px;
  }
}

@media (max-width:760px) {
  :root {
    --gutter: 20px;
    --body: 17px;
    --lead: 22px;
    --heading: 42px;
    --display: 48px;
  }

  html {
    --anchor-offset: 92px;
  }

  .header {
    padding-block: 12px;
    min-height: 72px;
  }

  .nav-title {
    font-size: 22px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .mobile-nav {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: calc(100dvh - 90px);
  }

  .mobile-nav a {
    font-size: 22px;
    padding: 10px 0;
  }

  .hero {
    padding-top: 4px;
    grid-template-columns: 1fr;
  }

  .hero-heading {
    min-height: 210px;
    padding: 24px;
    order: 0;
  }

  .hero h1 {
    font-size: clamp(42px,12vw,48px);
    line-height: .98;
  }

  .hero-scene {
    height: auto;
    aspect-ratio: 1.5;
    order: 1;
  }

  .hero-summary {
    padding: 26px 24px;
    order: 2;
    gap: 24px;
  }

  .hero-actions {
    gap: 12px 22px;
  }

  .hero-actions .button {
    font-size: 16px;
    padding-inline: 19px;
  }

  .hero-origin {
    font-size: var(--small);
  }

  .hero-product {
    height: auto;
    aspect-ratio: 1.65;
    order: 3;
  }

  .hero-product figcaption {
    font-size: 13px;
    left: 18px;
    bottom: 12px;
  }

  .section {
    padding-block: 48px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 42px;
    max-width: 14ch;
  }

  .section-heading>p {
    font-size: 17px;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services h2 {
    font-size: 42px;
  }

  .section-intro {
    margin-top: 24px;
    font-size: 17px;
  }

  .service-list details {
    padding-inline: 20px;
  }

  summary {
    min-height: 80px;
  }

  summary h3 {
    font-size: 24px;
  }

  .service-body p {
    font-size: 17px;
  }

  .service-note {
    font-size: var(--small);
    margin-top: 24px;
  }

  dialog {
    padding: 64px 24px 28px;
  }

  dialog h2 {
    font-size: 36px;
  }

  dialog .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*::before,*::after {
    animation: none !important;
    transition: none !important;
  }
}

html[data-motion=reduced] {
  scroll-behavior: auto;
}

html[data-motion=reduced] *,
html[data-motion=reduced] *::before,
html[data-motion=reduced] *::after {
  animation: none !important;
  transition: none !important;
}

@media (max-width:760px) and (max-height:740px) {
  .hero-heading {
    min-height: 160px;
  }

  .hero-scene {
    aspect-ratio: 2;
  }

  .hero-summary {
    padding: 20px 24px;
    gap: 20px;
  }
}
