/* From Start — quiet, precise, responsive */
/* Use the exact original TeX Gyre Heros file when placed in /fonts. */
@font-face {
  font-family: "TeX Gyre Heros";
  src: url("fonts/TeXGyreHeros-Regular.otf") format("opentype"),
       local("TeXGyreHeros-Regular"),
       local("TeX Gyre Heros");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #fff;
  --ink: #111;
  --muted: #4a4a4a;
  --subtle: #6b6b6b;
  --line: #e5e5e5;
  --header: #1d1d1f;
  --wide: 1160px;
  --content: 1080px;
  --section-space: clamp(108px, 10vw, 144px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "TeX Gyre Heros", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
section[id] { scroll-margin-top: 76px; }
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 18px;
  top: 10px;
  background: white;
  color: #111;
  padding: 10px 14px;
  text-decoration: none;
  transform: translateY(-170%);
  border-radius: 2px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 52px;
  background: rgba(29,29,31,.97);
  border-bottom: 1px solid rgba(255,255,255,.11);
  color: #f5f5f7;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(var(--wide), calc(100% - 48px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; cursor: pointer; }
.brand img { display: block; width: auto; height: 24px; opacity: .97; }
.brand:hover img { opacity: 1; }
.site-header a:focus-visible, .site-header summary:focus-visible { outline-color: white; }
.desktop-nav { display: flex; align-items: center; gap: 36px; height: 100%; }
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: #dedee1;
  font-size: 13px;
  text-decoration: none;
  position: relative;
  transition: color .16s ease;
}
.desktop-nav a::after {
  content: none;
  height: 1px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  background: #f5f5f7;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}
.desktop-nav a:hover, .desktop-nav a.is-active { color: white; }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); }
.mobile-menu { display: none; }

.hero {
  padding: clamp(176px, 14.5vw, 218px) 24px clamp(102px, 10vw, 148px);
  text-align: center;
}
.hero-inner { width: min(940px, 100%); margin: auto; }
.eyebrow {
  margin: 0 0 32px;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .145em;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }
h1 {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(44px, 5.1vw, 64px);
  line-height: 1.075;
  letter-spacing: -.036em;
  text-wrap: balance;
}
.hero-description {
  max-width: 660px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 19px);
  line-height: 1.53;
  text-wrap: pretty;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 8px 0 5px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
}
.text-link:hover { border-bottom-width: 2px; padding-bottom: 4px; }
.hero-link { margin-top: 27px; }
.company-name { word-spacing: -.14em; white-space: nowrap; }

.content-section {
  margin-top: var(--section-space);
  padding: 0 24px;
}
.section-inner { width: min(var(--content), 100%); margin: 0 auto; }
.section-intro { margin: 0 auto; text-align: center; }
.section-intro h2, .contact-inner h2 {
  margin: 0 auto;
  font-size: clamp(36px, 3.65vw, 46px);
  line-height: 1.12;
  letter-spacing: -.034em;
  text-wrap: balance;
}
.section-intro > p {
  max-width: 710px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.65vw, 19px);
  line-height: 1.5;
  text-wrap: pretty;
}
.line-list { margin-top: 60px; border-top: 1px solid var(--line); }
.service-row, .info-row {
  display: grid;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 30px 0 34px;
}
.service-row { grid-template-columns: 28px minmax(0, 394px) minmax(0, 1fr); gap: 12px; }
.info-row { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 35px; }
.item-index { display: block; color: var(--subtle); font-size: 12px; line-height: 1.8; font-variant-numeric: tabular-nums; }
.service-row h3, .info-row h3, .process-item h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.service-row p, .info-row p, .process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}
.stacked-copy p + p { margin-top: 18px; }

.process-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 84px;
  row-gap: 37px;
}
.process-item { border-top: 1px solid var(--line); padding-top: 28px; }
.process-item .item-index { margin-bottom: 18px; }
.process-item h3 { font-size: 23px; margin-bottom: 17px; }
.process-item p { max-width: 410px; }

.contact-section {
  padding: 0 24px;
  margin-top: clamp(154px, 14vw, 206px);
  margin-bottom: clamp(128px, 13vw, 184px);
  text-align: center;
}
.contact-inner { width: min(780px, 100%); margin: 0 auto; }
.contact-inner .eyebrow { margin-bottom: 26px; }
.contact-description {
  max-width: 665px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  padding: 7px 0 6px;
  margin: 32px auto 0;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  letter-spacing: -.025em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.contact-email:hover { border-bottom-width: 2px; padding-bottom: 5px; }
.contact-note {
  max-width: 520px;
  margin: 25px auto 0;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.55;
}
.site-footer {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 24px;
  background: #f7f7f7;
  border-top: 1px solid #ededed;
}
.footer-inner {
  width: min(var(--wide), 100%);
  margin: auto;
  color: var(--subtle);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 850px) {
  .service-row { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  .service-row h3 { grid-column: 2; }
  .service-row p { grid-column: 2; }
  .service-row .item-index { grid-row: 1 / span 2; }
  .info-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .process-grid { gap: 40px; }
}

@media (max-width: 700px) {
  :root { --section-space: 92px; }
  html { scroll-padding-top: 72px; }
  section[id] { scroll-margin-top: 72px; }
  .header-inner { width: calc(100% - 32px); }
  .brand img { height: 21px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; margin-right: -8px; }
  .mobile-menu summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    min-width: 80px;
    padding: 0 8px;
    cursor: pointer;
    color: #f5f5f7;
    font-size: 13px;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-icon { display: flex; flex-direction: column; gap: 5px; width: 17px; }
  .menu-icon > span { height: 1px; width: 17px; background: currentColor; transition: transform .18s ease; }
  .mobile-menu[open] .menu-icon > span:first-child { transform: translateY(3px) rotate(45deg); }
  .mobile-menu[open] .menu-icon > span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 52px;
    padding: 10px 24px 16px;
    background: #1d1d1f;
    border-bottom: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 18px 32px rgba(0,0,0,.12);
  }
  .mobile-nav a {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: #f1f1f3;
    font-size: 17px;
    text-decoration: none;
  }
  .mobile-nav a span { color: #bfc0c2; font-size: 14px; }
  .hero { padding: 168px 24px 64px; }
  .eyebrow { margin-bottom: 25px; font-size: 10px; line-height: 1.6; letter-spacing: .13em; }
  h1 { font-size: clamp(40px, 9.5vw, 56px); line-height: 1.09; letter-spacing: -.033em; }
  .hero-description { margin-top: 25px; font-size: 17px; line-height: 1.53; }
  .hero-link { margin-top: 23px; }
  .content-section { padding: 0 24px; }
  .section-intro h2, .contact-inner h2 { font-size: clamp(34px, 8vw, 42px); }
  .section-intro > p { margin-top: 19px; font-size: 17px; }
  .line-list, .process-grid { margin-top: 43px; }
  .service-row, .info-row { padding: 23px 0 25px; }
  .service-row h3, .info-row h3 { font-size: 20px; }
  .service-row p, .info-row p, .process-item p { font-size: 15.5px; }
  .process-grid { grid-template-columns: 1fr; gap: 30px; }
  .process-item { padding-top: 21px; }
  .process-item .item-index { margin-bottom: 10px; }
  .process-item h3 { font-size: 21px; margin-bottom: 12px; }
  .contact-section { margin-top: 120px; margin-bottom: 124px; }
  .contact-description { font-size: 17px; }
  .contact-email { font-size: 18px; }
  .contact-note { font-size: 13.5px; }
}
@media (max-width: 390px) {
  .hero { padding-top: 148px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
