:root {
  --paper: #f9fafb;
  --white: #ffffff;
  --ink: #374151;
  --muted: #6b7280;
  --faint: #9ca3af;
  --rule: #d1d5db;
  --accent: #64748b;
  --editorial: Georgia, 'Times New Roman', serif;
  --index: 'Courier New', Courier, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--paper);
}

.page-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 660px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(209, 213, 219, 0.32);
}

.shell-texture {
  position: absolute;
  inset: 0 0 auto;
  height: 390px;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(209, 213, 219, 0.15) 1px, transparent 1px),
    linear-gradient(rgba(209, 213, 219, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  opacity: 0.5;
}

.site-header,
.page-content,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  padding: 32px 40px 0;
}

.header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.brand-button {
  padding: 0;
  background: transparent;
  text-align: left;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.brand-button:hover {
  color: var(--accent);
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--index);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.brand-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 1;
  transition: transform 300ms ease;
}

.brand-mark span {
  display: block;
  transform: rotate(-45deg);
  transition: transform 300ms ease;
}

.brand-button:hover .brand-mark {
  transform: rotate(45deg);
}

.brand-button:hover .brand-mark span {
  transform: rotate(0);
}

.brand-subline {
  display: block;
  margin-top: 8px;
  padding-left: 44px;
  color: var(--muted);
  font-family: var(--index);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.mobile-menu-button {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: '';
}

.menu-icon::before {
  top: -4px;
}

.menu-icon::after {
  top: 4px;
}

.mobile-menu-button[aria-expanded='true'] .menu-icon {
  background: transparent;
}

.mobile-menu-button[aria-expanded='true'] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-button[aria-expanded='true'] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.nav-button {
  position: relative;
  padding: 15px 8px;
  background: transparent;
  color: var(--faint);
  font-family: var(--index);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-align: left;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.nav-button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.nav-button:hover,
.nav-button.is-active {
  color: var(--ink);
}

.nav-button.is-active::after {
  transform: scaleX(1);
}

.page-content {
  padding: 0 40px 48px;
}

.content-section {
  min-height: 690px;
  padding: 96px 0 56px;
}

.content-section[hidden] {
  display: none;
}

.content-section.is-visible {
  animation: section-enter 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.index-hero {
  position: relative;
  display: flex;
  min-height: 570px;
  align-items: flex-end;
  padding-top: 80px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 470px;
}

.eyebrow,
.micro-label,
.section-kicker,
.slash-label,
.service-number,
.copyright {
  font-family: var(--index);
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.display-heading,
.section-heading {
  margin: 0;
  font-family: var(--editorial);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.display-heading {
  margin-top: 24px;
  color: var(--ink);
  font-size: clamp(3.6rem, 13vw, 6.9rem);
  line-height: 0.88;
}

.display-heading span {
  display: inline-block;
  margin-left: 14%;
}

.hero-lede {
  max-width: 340px;
  margin: 32px 0 0;
  color: var(--muted);
  font-family: var(--editorial);
  font-size: 1.4rem;
  line-height: 1.42;
}

.hero-orbit {
  position: absolute;
  top: 20px;
  right: 0;
  width: 224px;
  height: 224px;
  border: 1px solid var(--rule);
  border-radius: 50%;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  content: '';
}

.hero-orbit::before {
  inset: 20px;
  border: 1px dashed var(--rule);
  border-radius: 50%;
}

.hero-orbit::after {
  top: -1px;
  left: 50%;
  width: 1px;
  height: calc(100% + 2px);
  background: var(--rule);
  box-shadow: -112px 111px 0 -0.5px var(--rule);
}

.hero-orbit-dot {
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-orbit-dot-one {
  top: 21%;
  left: 22%;
}

.hero-orbit-dot-two {
  right: 20%;
  bottom: 18%;
  background: var(--ink);
}

.index-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.index-intro p,
.body-copy,
.service-detail p,
.approach-row p,
.site-footer p,
.form-success p,
.fact-address {
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
}

.index-intro p {
  max-width: 310px;
  margin: 0;
}

.text-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--faint);
  background: transparent;
  color: var(--ink);
  font-family: var(--index);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease;
}

.text-link:hover {
  border-color: var(--ink);
  color: var(--accent);
}

.arrow {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.section-kicker span {
  width: 32px;
  height: 1px;
  background: var(--faint);
}

.asymmetric-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 56px;
}

.about-grid {
  margin-top: 40px;
}

.section-heading {
  color: var(--ink);
  font-size: clamp(2.9rem, 10vw, 5rem);
  line-height: 0.93;
}

.section-heading em {
  font-style: italic;
}

.body-copy {
  max-width: 410px;
  margin: 36px 0 0;
}

.quote-block {
  padding-top: 96px;
  padding-left: 20px;
  border-left: 1px solid var(--rule);
}

.quote-block p {
  margin: 0;
  color: var(--ink);
  font-family: var(--editorial);
  font-size: 1.35rem;
  line-height: 1.35;
}

.quote-block span {
  display: block;
  margin-top: 20px;
  color: var(--faint);
  font-family: var(--index);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 64px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.fact-cell {
  padding: 24px 0;
}

.fact-cell + .fact-cell {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}

.micro-label {
  margin: 0;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.fact-value {
  margin: 12px 0 0;
  color: var(--ink);
  font-family: var(--editorial);
  font-size: 1.35rem;
}

.fact-address {
  max-width: 190px;
  margin: 12px 0 0;
  line-height: 1.65;
}

.next-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 64px;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule);
  background: transparent;
  text-align: left;
}

.next-link-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--editorial);
  font-size: 1.25rem;
  transition: color 220ms ease;
}

.next-link:hover .next-link-label {
  color: var(--accent);
}

.services-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

.slash-label {
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 10px;
}

.services-intro {
  max-width: 430px;
  margin-top: 32px;
}

.service-list,
.approach-list {
  margin-top: 56px;
  border-top: 1px solid var(--rule);
}

.service-row {
  display: grid;
  grid-template-columns: 58px 1fr 18px;
  gap: 20px;
  padding: 28px 12px;
  border-bottom: 1px solid var(--rule);
  transition: background-color 220ms ease;
}

.service-row:hover {
  background: #f3f4f6;
}

.service-number {
  color: var(--faint);
  font-size: 10px;
}

.service-icon {
  display: block;
  height: 20px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  transition: transform 300ms ease;
}

.service-row:hover .service-icon {
  transform: translateX(4px);
}

.service-detail h2,
.approach-row h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--editorial);
  font-size: 1.6rem;
  font-weight: 400;
}

.service-detail p {
  max-width: 390px;
  margin: 12px 0 0;
  line-height: 2;
}

.row-arrow {
  margin-top: 4px;
  color: var(--faint);
  font-size: 20px;
  transition: transform 300ms ease, color 220ms ease;
}

.service-row:hover .row-arrow {
  color: var(--ink);
  transform: translateX(4px);
}

.approach-heading {
  max-width: 475px;
  margin-top: 40px;
}

.approach-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}

.approach-number {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-family: var(--index);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.approach-number span {
  font-size: 12px;
}

.approach-row h2 {
  font-size: 1.55rem;
  line-height: 1.1;
}

.approach-row p {
  max-width: 405px;
  margin: 12px 0 0;
  line-height: 2;
}

.approach-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 56px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.contact-grid {
  margin-top: 40px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--faint);
  color: var(--ink);
  font-family: var(--index);
  font-size: 10px;
  text-decoration: none;
  transition: border-color 220ms ease, color 220ms ease;
}

.email-link:hover {
  border-color: var(--ink);
  color: var(--accent);
}

.contact-form-wrap {
  padding-top: 96px;
}

.contact-form {
  border-top: 1px solid var(--rule);
}

.contact-form label {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--faint);
}

.submit-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--index);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background-color 220ms ease;
}

.submit-button:hover {
  background: var(--accent);
}

.form-success {
  padding: 24px;
  border: 1px solid var(--rule);
  background: var(--white);
}

.form-success[hidden] {
  display: none;
}

.success-mark {
  color: var(--accent);
  font-size: 20px;
}

.form-success h2 {
  margin: 28px 0 0;
  color: var(--ink);
  font-family: var(--editorial);
  font-size: 1.55rem;
  font-weight: 400;
}

.form-success p {
  margin: 12px 0 0;
}

.form-success .text-link {
  margin-top: 24px;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 40px;
  border-top: 1px solid var(--rule);
}

.site-footer p {
  max-width: 245px;
  margin: 10px 0 0;
  line-height: 1.65;
}

.site-footer .copyright {
  max-width: 330px;
  margin: 0;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.side-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--faint);
}

.side-note {
  position: absolute;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--index);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.78;
  writing-mode: vertical-rl;
}

.side-note-left {
  left: max(24px, calc(50% - 560px));
  transform: translateY(-50%) rotate(180deg);
}

.side-note-right {
  right: max(24px, calc(50% - 560px));
  transform: translateY(-50%);
}

.side-rule {
  position: absolute;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(209, 213, 219, 0.72) 18%, rgba(209, 213, 219, 0.72) 82%, transparent);
}

.side-rule-left {
  left: max(72px, calc(50% - 455px));
}

.side-rule-right {
  right: max(72px, calc(50% - 455px));
}

.side-orbit {
  position: absolute;
  top: 22%;
  width: 168px;
  height: 168px;
  border: 1px solid rgba(209, 213, 219, 0.62);
  border-radius: 50%;
  opacity: 0.66;
}

.side-orbit::before,
.side-orbit::after {
  position: absolute;
  content: '';
  inset: 17px;
  border: 1px dashed rgba(209, 213, 219, 0.62);
  border-radius: inherit;
}

.side-orbit::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: rgba(209, 213, 219, 0.62);
}

.side-orbit span {
  position: absolute;
  top: 25%;
  right: 19%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
}

.side-orbit-left {
  left: max(-80px, calc(50% - 690px));
}

.side-orbit-left span {
  top: 66%;
  right: 22%;
}

.side-orbit-right {
  right: max(-80px, calc(50% - 690px));
  transform: rotate(24deg);
}

.side-orbit-right span {
  top: 22%;
  right: 26%;
  background: var(--accent);
}

.reveal {
  animation: section-enter 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-one {
  animation-delay: 70ms;
}

.reveal-two {
  animation-delay: 140ms;
}

.reveal-three {
  animation-delay: 210ms;
}

@keyframes section-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .side-atmosphere {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-frame {
    box-shadow: none;
  }

  .site-header {
    padding: 20px 20px 0;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .site-navigation {
    display: none;
    grid-template-columns: 1fr 1fr;
    margin-top: 34px;
  }

  .site-navigation.is-open {
    display: grid;
  }

  .nav-button {
    padding: 13px 10px;
  }

  .nav-button:nth-child(odd) {
    border-right: 1px solid var(--rule);
  }

  .page-content {
    padding: 0 20px 32px;
  }

  .content-section {
    min-height: 665px;
    padding-top: 80px;
  }

  .index-hero {
    min-height: 500px;
    padding-top: 220px;
  }

  .hero-orbit {
    top: 28px;
    right: 0;
    width: 176px;
    height: 176px;
  }

  .hero-orbit::before {
    inset: 17px;
  }

  .hero-orbit::after {
    box-shadow: -88px 87px 0 -0.5px var(--rule);
  }

  .display-heading {
    margin-top: 20px;
    font-size: clamp(3.45rem, 16vw, 4.8rem);
    line-height: 0.92;
  }

  .display-heading span {
    margin-left: 14%;
  }

  .hero-lede {
    margin-top: 32px;
    font-size: 1.25rem;
  }

  .index-intro {
    gap: 12px;
  }

  .index-intro p {
    max-width: 285px;
    font-size: 12px;
    line-height: 2;
  }

  .asymmetric-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid,
  .contact-grid,
  .services-heading-row {
    margin-top: 32px;
  }

  .quote-block,
  .contact-form-wrap {
    padding-top: 0;
  }

  .fact-grid {
    margin-top: 48px;
  }

  .fact-cell + .fact-cell {
    padding-left: 18px;
  }

  .slash-label {
    display: none;
  }

  .service-row {
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .row-arrow {
    display: none;
  }

  .approach-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .approach-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 20px;
  }

  .site-footer .copyright {
    max-width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}