:root {
  --paper: #f7f7f5;
  --paper-deep: #e7e7e5;
  --paper-line: rgba(23, 23, 21, .19);
  --ink: #191a18;
  --muted: #60625d;
  --blue: #2b76ff;
  --blue-dark: #1559d7;
  --content: min(82vw, 960px);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

* { box-sizing: border-box; }

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

body {
  min-width: 320px;
  margin: 0;
  background: #050505;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button, input, select, textarea { font: inherit; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  animation: intro-clear 1.2s cubic-bezier(.22, 1, .36, 1) 2.65s forwards;
}

.intro-seed {
  position: relative;
  width: 7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  transform-origin: center;
  animation: seed-handoff 1.5s cubic-bezier(.22, 1, .36, 1) 2.35s forwards;
}

.intro-seed::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 0 27%, var(--blue) 47%, #89b5ff 61%, var(--blue) 82%, transparent 100%);
  content: '';
  filter: drop-shadow(0 0 .7rem rgba(43, 118, 255, .75));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: ring-spin .55s cubic-bezier(.16, .72, .3, 1) forwards, ring-solid .18s linear .46s forwards, ring-away 1.2s ease 2.65s forwards;
}

.intro-seed span {
  position: absolute;
  inset: 19%;
  border-radius: inherit;
  background: radial-gradient(circle at 35% 32%, #9cc4ff 0 5%, #438cff 17%, var(--blue) 52%, #1a5ce1 76%, #073ca8 100%);
  box-shadow: 0 0 1.2rem rgba(43, 118, 255, .85), 0 0 4rem rgba(24, 92, 255, .55);
  opacity: 0;
  filter: blur(2px);
  animation: core-wake 1.85s cubic-bezier(.22, 1, .36, 1) .42s forwards, core-thrum .42s ease-in-out .6s 4 alternate, core-away 1.2s ease 2.65s forwards;
}

.skip-intro {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: .55rem .75rem;
  border: 1px solid rgba(139, 178, 255, .35);
  background: transparent;
  color: #b4caff;
  cursor: pointer;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.intro.is-skipped { animation: skip-clear .45s ease forwards; }

.site {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--paper);
  opacity: 0;
  isolation: isolate;
  animation: site-in 1s ease 2.75s forwards;
}

.site.is-ready { opacity: 1; animation: none; }

.paper,
.paper::before,
.paper::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.paper {
  inset: 0;
  overflow: hidden;
}

.paper::before {
  inset: 0 0 auto;
  height: 43rem;
  background: var(--paper-deep);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 89%);
  content: '';
}

.paper::after {
  top: 72rem;
  right: 0;
  left: 0;
  height: 34rem;
  background: #e9e9e7;
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  content: '';
}

.paper-inner::before { height: 35rem; clip-path: polygon(0 0, 100% 0, 100% 74%, 0 94%); }
.paper-inner::after { top: 52rem; height: 26rem; }

.site-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  width: var(--content);
  min-height: 5.5rem;
  margin-inline: auto;
  padding-top: 1.55rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .36rem;
  justify-self: center;
  color: var(--ink);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark-name { white-space: nowrap; }

.wordmark-rule {
  width: 1.15rem;
  height: 1px;
  background: var(--ink);
  transform: rotate(-10deg);
}

.edge-link,
.footer-note,
.site-footer nav a {
  color: #63655f;
  font-family: var(--mono);
  font-size: .59rem;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.edge-link { padding-top: .23rem; }
.edge-link:last-child { justify-self: end; }
.edge-link:hover, .site-footer nav a:hover, .section-link:hover, .text-links a:hover { color: var(--blue-dark); }

main { position: relative; z-index: 1; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--content);
  min-height: 41rem;
  margin-inline: auto;
  padding-top: 2.8rem;
  text-align: center;
}

.hero-object {
  position: relative;
  width: clamp(10rem, 20vw, 15.5rem);
  aspect-ratio: 1;
  margin-top: 1.25rem;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #a4c9ff 0 2.5%, #5897ff 12%, var(--blue) 46%, #195bdc 74%, #0d3da5 100%);
  box-shadow: 0 1.3rem 2.3rem rgba(25, 54, 112, .2), 0 0 0 .8rem rgba(43, 118, 255, .07), 0 0 4.5rem rgba(43, 118, 255, .32);
  opacity: 0;
  transform: scale(.82);
  animation: hero-object-in 1.1s cubic-bezier(.22, 1, .36, 1) 3.35s forwards;
}

.hero-object::before {
  position: absolute;
  inset: 9%;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 48%, transparent 0 54%, rgba(255, 255, 255, .12) 55%, transparent 64%);
  content: '';
  opacity: .65;
}

.hero-object::after {
  position: absolute;
  top: 11%;
  left: 21%;
  width: 22%;
  height: 13%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .38);
  content: '';
  filter: blur(.3rem);
  opacity: .55;
  transform: rotate(-32deg);
}

.hero h1,
.inner-hero h1 {
  margin: 1.25rem 0 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 600;
  letter-spacing: .28em;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero h1 { opacity: 0; transform: translateY(.7rem); animation: content-in .72s cubic-bezier(.22, 1, .36, 1) 3.88s forwards; }

.hairline {
  width: 2.2rem;
  height: 1px;
  margin-top: 1.2rem;
  background: var(--ink);
  opacity: 0;
  transform: scaleX(0);
  animation: line-in .55s ease 4.13s forwards;
}

.discipline-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(4.5rem, 1fr));
  gap: clamp(.8rem, 2vw, 2rem);
  width: min(100%, 35rem);
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  transform: translateY(.7rem);
  animation: content-in .7s cubic-bezier(.22, 1, .36, 1) 4.35s forwards;
}

.discipline-list li {
  display: grid;
  justify-items: center;
  gap: .58rem;
  color: #363833;
  font-family: var(--mono);
  font-size: .49rem;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.discipline-list svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.intro-section,
.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  width: var(--content);
  margin-inline: auto;
  padding: 3.6rem 0 5.5rem;
}

.intro-section { min-height: 27rem; }

.eyebrow {
  margin: 0 0 1.1rem;
  color: #676963;
  font-family: var(--mono);
  font-size: .57rem;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.intro-lead h2,
.section-heading h2,
.method-section h2,
.archive-section h2,
.scope-section h2,
.about-lead h2 {
  max-width: 27rem;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.intro-copy,
.method-section > p,
.archive-section > p,
.scope-section > p,
.about-copy,
.inner-deck,
.case-lede,
.service-columns p,
.contact-aside p {
  color: #4d504a;
  font-family: var(--serif);
  font-size: .94rem;
  line-height: 1.65;
}

.intro-copy p:first-child { margin-top: 0; }
.intro-copy p { max-width: 32rem; margin: 0 0 1.25rem; }

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.6rem;
  margin-top: 1.8rem;
}

.text-links a,
.section-link {
  color: var(--ink);
  font-family: var(--mono);
  font-size: .61rem;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-links a:first-child,
.section-link { color: var(--blue-dark); }

.work-section,
.case-section,
.service-section,
.scope-section,
.archive-section {
  width: var(--content);
  margin-inline: auto;
}

.work-section {
  padding: 5.1rem 0 6rem;
}

.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.section-heading h2 { text-align: right; }

.work-list { border-top: 1px solid var(--paper-line); }

.work-row {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--paper-line);
  text-decoration: none;
}

.work-row:hover { color: var(--blue-dark); }
.work-name { font-family: var(--serif); font-size: 1.06rem; }
.work-detail { color: #676963; font-family: var(--mono); font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; }
.work-arrow { color: var(--blue-dark); font-size: 1rem; }
.work-section > .section-link { display: inline-block; margin-top: 1.8rem; }

.method-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  width: var(--content);
  margin-inline: auto;
  padding: 4.5rem 0 7rem;
}

.method-section > p { max-width: 31rem; margin: 0; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  width: var(--content);
  min-height: 7rem;
  margin-inline: auto;
  border-top: 1px solid var(--paper-line);
}

.footer-mark { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.footer-dot { width: .62rem; height: .62rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 .65rem rgba(43, 118, 255, .42); }
.site-footer nav { display: flex; gap: 1.2rem; }
.footer-note { justify-self: end; }

/* Inner document pages */
.inner-page .site { opacity: 1; animation: none; overflow: hidden; }
.inner-hero { display: grid; justify-items: center; width: var(--content); min-height: 30rem; margin-inline: auto; padding: 2.5rem 0 6rem; text-align: center; }
.small-object { width: clamp(5rem, 8vw, 7rem); aspect-ratio: 1; margin-top: 1.25rem; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #a4c9ff 0 2.5%, #5897ff 12%, var(--blue) 46%, #195bdc 74%, #0d3da5 100%); box-shadow: 0 0 0 .5rem rgba(43, 118, 255, .06), 0 0 3rem rgba(43, 118, 255, .28); }
.inner-hero .eyebrow { margin-top: 2rem; margin-bottom: 0; }
.inner-hero h1 { max-width: 42rem; margin-top: .8rem; font-size: clamp(1.85rem, 3.8vw, 3.3rem); letter-spacing: -.025em; text-transform: none; }
.inner-deck { max-width: 32rem; margin: 1.3rem auto 0; }

.case-section,
.service-section,
.scope-section,
.archive-section { padding: 5.5rem 0; }
.case-section { display: grid; grid-template-columns: minmax(8rem, .5fr) minmax(0, 1.5fr); gap: clamp(2rem, 9vw, 9rem); border-top: 1px solid var(--paper-line); }
.case-section-alt { background: transparent; }
.case-index { color: #666862; font-family: var(--mono); font-size: .57rem; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.case-content h2,
.service-section h2 {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.case-lede { max-width: 34rem; margin: 0 0 2.4rem; font-size: 1.08rem; }
.case-facts { margin: 0 0 2.2rem; }
.case-facts > div { display: grid; grid-template-columns: 5rem 1fr; gap: 1.2rem; padding: 1rem 0; border-top: 1px solid var(--paper-line); }
.case-facts > div:last-child { border-bottom: 1px solid var(--paper-line); }
.case-facts dt { color: #686b65; font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; }
.case-facts dd { margin: 0; color: #4d504a; font-family: var(--serif); font-size: .9rem; line-height: 1.55; }
.archive-section { border-top: 1px solid var(--paper-line); padding-bottom: 7rem; }
.archive-section h2 { max-width: 32rem; }
.archive-section > p { max-width: 35rem; margin: 1.3rem 0 1.8rem; }

.service-section { border-top: 1px solid var(--paper-line); }
.service-section h2 { max-width: 34rem; }
.service-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 46rem; }
.service-columns p { margin-top: 0; }
.service-columns ul { margin: 0; padding: 0; list-style: none; }
.service-columns li { padding: .42rem 0 .42rem 1.1rem; border-top: 1px solid var(--paper-line); color: #4d504a; font-family: var(--mono); font-size: .61rem; letter-spacing: .04em; line-height: 1.45; text-transform: uppercase; }
.service-columns li::before { display: inline-block; width: .32rem; height: .32rem; margin: 0 .7rem .08rem -1.1rem; border-radius: 50%; background: var(--blue); content: ''; }
.service-section .section-link { display: inline-block; margin-top: 2rem; }
.scope-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
.scope-section h2 { max-width: 30rem; }
.scope-section > p { max-width: 30rem; margin: .1rem 0 0; }
.scope-section > .section-link { grid-column: 2; margin-top: -2.7rem; }

.about-section { border-top: 1px solid var(--paper-line); padding-top: 5.4rem; }
.about-section:last-of-type { padding-bottom: 6rem; }
.about-lead h2 { max-width: 22rem; }
.about-copy { max-width: 33rem; }
.about-copy p { margin-top: 0; margin-bottom: 1.3rem; }
.focus-list { max-width: 33rem; margin: 0; padding: 0; list-style: none; }
.focus-list li { padding: .75rem 0 .75rem 1.15rem; border-top: 1px solid var(--paper-line); color: #4d504a; font-family: var(--mono); font-size: .63rem; letter-spacing: .05em; line-height: 1.45; text-transform: uppercase; }
.focus-list li:last-child { border-bottom: 1px solid var(--paper-line); }
.focus-list li::before { display: inline-block; width: .32rem; height: .32rem; margin: 0 .7rem .08rem -1.15rem; border-radius: 50%; background: var(--blue); content: ''; }

.contact-section { align-items: start; border-top: 1px solid var(--paper-line); padding-top: 5rem; padding-bottom: 7rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1rem; }
.contact-form label { align-self: end; color: #656861; font-family: var(--mono); font-size: .57rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--paper-line); border-radius: 0; outline: 0; background: transparent; color: var(--ink); font-family: var(--serif); font-size: .96rem; }
.contact-form input, .contact-form select { min-height: 2.4rem; }
.contact-form textarea { grid-column: 1 / -1; resize: vertical; }
.contact-form label[for="service"], .contact-form #service { grid-column: 1 / -1; }
.contact-form label[for="problem"] { grid-column: 1 / -1; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.contact-form ::placeholder { color: #969891; }
.form-note { grid-column: 1 / -1; max-width: 28rem; margin: .75rem 0; color: #74766f; font-family: var(--mono); font-size: .56rem; line-height: 1.6; }
.contact-form button { grid-column: 1 / -1; justify-self: start; margin-top: .6rem; padding: .8rem 1.1rem; border: 1px solid var(--blue-dark); background: var(--blue); color: #fff; cursor: pointer; font-family: var(--mono); font-size: .61rem; letter-spacing: .09em; text-transform: uppercase; }
.contact-form button:hover { background: var(--blue-dark); }
.contact-aside { padding-top: .2rem; }
.contact-aside p:first-of-type { margin-top: 0; }
.contact-aside .section-link { display: inline-block; margin-top: .8rem; }

@keyframes ring-spin { from { transform: rotate(0deg); } to { transform: rotate(810deg); } }
@keyframes ring-solid { to { background: var(--blue); } }
@keyframes core-wake { 0% { opacity: 0; transform: scale(.1); } 62% { opacity: .96; transform: scale(1.03); } 100% { opacity: .9; transform: scale(1); } }
@keyframes core-thrum { from { scale: .86; filter: blur(3px) brightness(.8); } to { scale: 1.12; filter: blur(2px) brightness(1.2); } }
@keyframes seed-handoff { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(0, 0) scale(1.35); opacity: .18; } }
@keyframes ring-away { to { opacity: 0; } }
@keyframes core-away { to { opacity: .28; filter: blur(8px); } }
@keyframes intro-clear { 0%, 64% { background: #000; } 100% { background: transparent; visibility: hidden; } }
@keyframes skip-clear { to { opacity: 0; visibility: hidden; } }
@keyframes site-in { to { opacity: 1; } }
@keyframes hero-object-in { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
@keyframes content-in { to { opacity: 1; transform: translateY(0); } }
@keyframes line-in { to { opacity: 1; transform: scaleX(1); } }

@media (max-width: 760px) {
  :root { --content: min(86vw, 600px); }
  .site-header { min-height: 4.8rem; padding-top: 1.25rem; }
  .edge-link { max-width: 5.8rem; font-size: .51rem; line-height: 1.35; }
  .hero { min-height: 34rem; padding-top: 1.8rem; }
  .hero-object { width: clamp(8.5rem, 35vw, 12rem); }
  .hero h1 { font-size: 1.45rem; letter-spacing: .2em; }
  .discipline-list { gap: .35rem; width: 100%; }
  .discipline-list li { font-size: .42rem; letter-spacing: .045em; }
  .discipline-list svg { width: 1rem; height: 1rem; }
  .intro-section, .about-section, .contact-section, .method-section, .scope-section { grid-template-columns: 1fr; gap: 2rem; padding-top: 3.5rem; padding-bottom: 4.5rem; }
  .intro-lead h2, .section-heading h2, .method-section h2, .archive-section h2, .scope-section h2, .about-lead h2 { max-width: 30rem; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: .6rem; text-align: left; }
  .work-section { padding-top: 3.7rem; padding-bottom: 4.5rem; }
  .work-row { grid-template-columns: 1fr auto; gap: .4rem .8rem; }
  .work-detail { grid-column: 1; grid-row: 2; }
  .work-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .method-section > p { margin-top: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
  .site-footer nav { flex-wrap: wrap; gap: .8rem 1rem; }
  .footer-note { justify-self: start; }
  .inner-hero { min-height: 25rem; padding-top: 1.8rem; padding-bottom: 4rem; }
  .inner-hero h1 { font-size: 2rem; }
  .case-section { grid-template-columns: 1fr; gap: 1.2rem; padding-top: 3.5rem; padding-bottom: 4rem; }
  .case-index { max-width: 12rem; }
  .service-section, .scope-section, .archive-section { padding-top: 3.8rem; padding-bottom: 4.2rem; }
  .service-columns { grid-template-columns: 1fr; gap: 1.2rem; }
  .scope-section > .section-link { grid-column: auto; margin-top: 0; }
  .contact-section { padding-top: 3.5rem; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label[for="service"], .contact-form #service, .contact-form label[for="problem"], .contact-form textarea, .form-note, .contact-form button { grid-column: auto; }
  .paper::before { height: 35rem; }
  .paper::after { top: 82rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; }
  .intro { display: none; }
  .site, .hero-object, .hero h1, .hairline, .discipline-list { opacity: 1; transform: none; }
}
