:root {
  --bg: #f3f2ed;
  --surface: #fbfaf7;
  --ink: #121210;
  --muted: #66655f;
  --soft: #deddd6;
  --line: #cccbc4;
  --accent: #b83a20;
  --accent-bright: #ec5535;
  --white: #fff;
  --header-height: 74px;
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sans: Inter, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container,
.header-inner,
.hero-inner,
.hero-index {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero,
.section {
  position: relative;
  isolation: isolate;
}

.hero {
  overflow: hidden;
}

@supports (overflow: clip) {
  .hero {
    overflow: clip;
  }
}

.hero-inner,
.hero-index,
.section > .container {
  position: relative;
  z-index: 1;
}

.parallax-scene {
  display: none;
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(243, 242, 237, .9);
  transition: border-color .25s ease, background-color .25s ease;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(243, 242, 237, .96);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled::after {
  transform: scaleX(1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  z-index: 102;
  align-items: center;
  gap: .7rem;
  font-weight: 760;
  letter-spacing: -.025em;
}

.brand-mark {
  display: grid;
  width: 2.2rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: .72rem;
  letter-spacing: -.04em;
  transition: background-color .25s ease, color .25s ease, transform .25s var(--ease);
}

.brand:hover .brand-mark {
  background: var(--ink);
  color: var(--white);
  transform: rotate(-8deg);
}

.brand-name {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  position: relative;
  z-index: 102;
  align-items: center;
  gap: .65rem;
  border: 0;
  background: transparent;
  padding: .6rem 0 .6rem .6rem;
  font-size: .875rem;
  font-weight: 700;
}

.menu-icon {
  display: grid;
  width: 1.4rem;
  height: 1rem;
  align-content: center;
  gap: 5px;
}

.menu-icon i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform .25s ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.site-nav {
  visibility: hidden;
  display: flex;
  position: fixed;
  z-index: 101;
  inset: 0;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  background: var(--bg);
  opacity: 0;
  transform: translateY(-1rem);
  transition: opacity .25s ease, transform .3s var(--ease), visibility .3s;
}

.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: .75rem 0;
  font-size: clamp(2rem, 9vw, 4rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.15;
}

.hero {
  display: flex;
  min-height: calc(100svh - var(--header-height));
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vh, 7rem) 1.5rem;
}

.hero-inner {
  display: grid;
  gap: 3rem;
}

.hero-main,
.hero-note,
.project-copy,
.about-heading,
.about-copy,
.contact-copy,
.contact-form {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  margin-right: .6rem;
  color: var(--accent);
  content: "•";
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.25rem, 12.5vw, 8.6rem);
  font-weight: 760;
  letter-spacing: -.075em;
  line-height: .91;
}

.hero-title-line {
  display: block;
}

.hero h1 em {
  display: block;
  margin-top: .08em;
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.055em;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  border: 1px solid transparent;
  padding: .8rem 1.15rem;
  font-size: .92rem;
  font-weight: 750;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

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

.button-text {
  min-height: auto;
  border-bottom-color: var(--ink);
  padding: .55rem 0 .4rem;
}

.button-text:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.hero-note {
  max-width: 31rem;
  align-self: end;
  border-top: 1px solid var(--ink);
  padding-top: 1.25rem;
}

.hero-note > p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  letter-spacing: -.025em;
  line-height: 1.45;
}

.availability-dot {
  display: inline-block;
  width: .55rem;
  height: .55rem;
  margin: 0 0 1rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-meta {
  display: grid;
  gap: .2rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .7rem;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero-meta span {
  overflow-wrap: anywhere;
}

.hero-index {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(5.5rem, 12vw, 10rem);
}

.section-heading {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}

.section-number {
  color: var(--accent);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
}

.section-heading .section-kicker,
.about-heading .section-kicker,
.contact-copy .section-kicker {
  margin-bottom: .8rem;
}

.section-heading h2,
.about-heading h2,
.contact-copy h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .98;
}

.section-intro {
  max-width: 31rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.projects {
  background: var(--surface);
}

.featured-project {
  display: grid;
  gap: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.featured-project + .featured-project {
  margin-top: clamp(5rem, 10vw, 9rem);
}

.project-copy {
  display: flex;
  flex-direction: column;
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .67rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1;
}

.project-copy > p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.project-copy .project-lead {
  margin-top: 1.35rem;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  letter-spacing: -.035em;
  line-height: 1.35;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .65rem;
  color: #4f4e49;
  font-family: var(--mono);
  font-size: .66rem;
}

.project-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .6rem;
  margin-top: 1.9rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: .15rem;
  font-size: .88rem;
  font-weight: 750;
  transition: color .2s ease;
}

.project-link span {
  transition: transform .25s var(--ease);
}

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

.project-link:hover span {
  transform: translate(3px, -3px);
}

.project-sites {
  display: grid;
  gap: .55rem 1rem;
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
}

.project-sites a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-block: .45rem;
  font-size: .82rem;
  font-weight: 720;
  transition: border-color .2s ease, color .2s ease;
}

.project-sites a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.project-browser {
  display: block;
  overflow: hidden;
  align-self: start;
  background: #191918;
  box-shadow: 0 0 0 1px rgba(18, 18, 16, .08);
  transform-origin: center;
}

.browser-bar {
  display: flex;
  height: 2.25rem;
  align-items: center;
  gap: .35rem;
  padding-inline: .75rem;
  color: #91918b;
}

.browser-bar i {
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: #52524f;
}

.browser-bar b {
  overflow: hidden;
  margin-left: .45rem;
  font-family: var(--mono);
  font-size: .56rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-browser picture {
  display: block;
  overflow: hidden;
}

.project-browser img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .5s var(--ease), filter .4s ease;
}

.project-browser:hover img {
  transform: scale(1.018);
  filter: saturate(1.04);
}

.project-showcase-grid {
  display: grid;
  aspect-ratio: 3 / 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-showcase-grid figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  margin: 0;
}

.project-showcase-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.project-showcase-grid figcaption {
  position: absolute;
  right: .65rem;
  bottom: .55rem;
  left: .65rem;
  color: var(--white);
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
  text-transform: uppercase;
}

.capabilities {
  background: var(--ink);
  color: var(--white);
}

.section-heading-light {
  border-color: #4a4a47;
}

.section-heading-light .section-intro,
.capabilities .section-kicker {
  color: #aaa9a3;
}

.tech-groups {
  border-bottom: 1px solid #40403d;
}

.tech-group {
  display: grid;
  gap: .75rem;
  border-top: 1px solid #40403d;
  padding-block: 1.5rem;
}

.tech-group h3,
.tech-group p {
  margin: 0;
}

.tech-group h3 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: -.035em;
}

.tech-group p {
  color: #b8b7b1;
  font-size: .94rem;
}

.about-grid {
  display: grid;
  gap: 3rem;
}

.about-heading {
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}

.about-heading h2 {
  max-width: 11ch;
  margin-top: 2.5rem;
}

.about-copy {
  align-self: end;
}

.about-copy > p {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -.025em;
  line-height: 1.52;
}

.about-copy > p + p {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-links a,
.mail-link {
  border-bottom: 1px solid currentColor;
  padding-bottom: .15rem;
  font-weight: 720;
  transition: color .2s ease;
}

.about-links a:hover,
.mail-link:hover {
  color: var(--accent);
}

.experience {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.timeline {
  border-bottom: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-block: 1.75rem;
}

.timeline-date,
.education span {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .03em;
}

.timeline-item h3,
.timeline-item p,
.education article h3,
.education p {
  margin: 0;
}

.timeline-item h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -.035em;
  line-height: 1.2;
}

.timeline-item .timeline-place {
  margin-top: .3rem;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
}

.timeline-item div > p:last-child {
  max-width: 45rem;
  margin-top: .8rem;
  color: var(--muted);
}

.timeline-item-muted {
  color: #4e4d49;
}

.education {
  margin-top: clamp(5rem, 10vw, 8rem);
}

.education-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.education article {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.education article h3 {
  margin-top: 1rem;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  letter-spacing: -.035em;
  line-height: 1.25;
}

.education p {
  margin-top: .55rem;
  color: var(--muted);
}

.contact {
  background: #e8e6de;
}

.contact-grid {
  display: grid;
  gap: 4rem;
}

.contact-copy {
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}

.contact-copy h2 {
  margin-top: 2.5rem;
}

.contact-copy > p:not(.section-kicker) {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.mail-link {
  display: inline-flex;
  gap: .5rem;
  margin-top: 2rem;
  font-size: .87rem;
  word-break: break-word;
}

.contact-form {
  align-self: start;
}

.form-row {
  display: grid;
  gap: 1.2rem;
}

.field {
  margin-bottom: 1.2rem;
}

.field label {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #aaa89f;
  border-radius: 0;
  background: transparent;
  padding: .8rem 0;
  outline: none;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--accent);
}

.field-meta {
  display: flex;
  min-height: 1.5rem;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .35rem;
  color: var(--muted);
  font-size: .72rem;
}

.field-error {
  display: block;
  min-height: 1.15rem;
  padding-top: .25rem;
  color: #942b17;
  font-size: .72rem;
}

.field-meta .field-error {
  padding-top: 0;
  text-align: right;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-submit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: .8rem;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}

.form-status {
  flex: 1 1 14rem;
  margin: 0;
  font-size: .82rem;
}

.form-status.is-success {
  color: #236a3a;
}

.form-status.is-error {
  color: #942b17;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-inner > p,
.back-top {
  margin: 0;
  color: #9e9d97;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.developer-signature {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
}

.developer-signature > span:not(.code-mark) {
  position: relative;
}

.developer-signature > span:not(.code-mark)::after {
  position: absolute;
  right: 0;
  bottom: -.15rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}

.code-mark,
.developer-signature i {
  color: var(--accent-bright);
  font-family: var(--mono);
  font-style: normal;
  transition: transform .25s var(--ease);
}

.developer-signature:hover .code-mark {
  transform: translateX(-2px) rotate(-4deg);
}

.developer-signature:hover > span:not(.code-mark)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.developer-signature:hover i {
  transform: translate(2px, -2px);
}

.back-top {
  width: fit-content;
  transition: color .2s ease;
}

.back-top:hover {
  color: var(--white);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-delay-1 {
  transition-delay: .08s;
}

.js .reveal-delay-2 {
  transition-delay: .16s;
}

@media (min-width: 580px) {
  .brand-name {
    display: inline;
  }

  .form-row,
  .education-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-inner .back-top {
    grid-column: 2;
    grid-row: 1;
  }
}

.parallax-scene {
  display: block;
}

[data-parallax] {
  --parallax-y: 0px;
  transform: translate3d(0, var(--parallax-y), 0);
  will-change: transform;
}

.hero-orbit,
.section-orbit,
.hero-signal,
.section-dot,
.parallax-word {
  position: absolute;
}

.hero-orbit {
  border: 1px solid rgba(18, 18, 16, .2);
  border-radius: 52% 48% 58% 42% / 44% 58% 42% 56%;
}

.hero-orbit::before {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(184, 58, 32, .32);
  border-radius: 45% 55% 43% 57% / 58% 42% 56% 44%;
  content: "";
  transform: rotate(22deg);
}

.hero-orbit--large {
  top: -7rem;
  right: -8vw;
  width: clamp(30rem, 49vw, 49rem);
  aspect-ratio: 1.12;
}

.hero-orbit--small {
  right: 34%;
  bottom: -7.5rem;
  width: clamp(11rem, 19vw, 19rem);
  aspect-ratio: 1;
  border-color: rgba(18, 18, 16, .14);
}

.hero-signal,
.section-dot {
  width: .7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 .9rem rgba(184, 58, 32, .12), 0 0 0 2.2rem rgba(184, 58, 32, .055);
}

.hero-signal {
  top: 24%;
  right: 16%;
}

.parallax-word {
  color: transparent;
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 800;
  letter-spacing: -.09em;
  line-height: .72;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(18, 18, 16, .15);
}

.parallax-word--work {
  top: 1.6%;
  left: -.05em;
}

.parallax-word--stack {
  top: 17%;
  right: -.06em;
  -webkit-text-stroke-color: rgba(255, 255, 255, .15);
}

.parallax-word--about {
  bottom: -.03em;
  left: -.07em;
}

.parallax-word--hello {
  right: -.05em;
  bottom: -.02em;
  -webkit-text-stroke-color: rgba(18, 18, 16, .12);
}

.section-orbit {
  width: clamp(19rem, 36vw, 36rem);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 44% 56% 48% 52% / 53% 43% 57% 47%;
}

.section-orbit::before,
.section-orbit::after {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: inherit;
  content: "";
}

.section-orbit::before {
  inset: 13%;
  transform: rotate(26deg);
}

.section-orbit::after {
  inset: 31%;
  transform: rotate(-18deg);
}

.section-orbit--light {
  right: -11rem;
  bottom: -12rem;
  color: rgba(255, 255, 255, .16);
}

.section-orbit--ink {
  top: 18%;
  right: -14rem;
  color: rgba(18, 18, 16, .14);
}

.section-dot {
  top: 19%;
  right: 12%;
}

@media (min-width: 760px) {
  .section-heading {
    grid-template-columns: 3.5rem minmax(0, 1.25fr) minmax(16rem, .75fr);
    align-items: end;
  }

  .tech-group {
    grid-template-columns: minmax(13rem, .75fr) minmax(0, 1.25fr);
    align-items: baseline;
  }

  .timeline-item {
    grid-template-columns: minmax(8rem, .32fr) minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr auto 1fr;
  }

  .footer-inner .back-top {
    grid-column: 3;
    justify-self: end;
  }
}

@media (min-width: 900px) {
  :root {
    --header-height: 82px;
  }

  body.menu-open {
    overflow: auto;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    visibility: visible;
    display: flex;
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    gap: clamp(1.3rem, 2.5vw, 2.5rem);
    padding: 0;
    background: transparent;
    opacity: 1;
    transform: none;
  }

  .site-nav a {
    display: inline-flex;
    position: relative;
    border: 0;
    padding: .4rem 0;
    font-size: .82rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.2;
  }

  .site-nav a:not(.nav-contact)::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s var(--ease);
  }

  .site-nav a:hover::after,
  .site-nav a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .site-nav .nav-contact {
    gap: .75rem;
    border: 1px solid var(--ink);
    padding: .65rem .85rem;
    transition: background-color .2s ease, color .2s ease;
  }

  .site-nav .nav-contact:hover {
    background: var(--ink);
    color: var(--white);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(18rem, .4fr);
    align-items: end;
  }

  .hero-note {
    margin-bottom: .55rem;
  }

  .featured-project {
    grid-template-columns: minmax(20rem, .68fr) minmax(0, 1.32fr);
    align-items: start;
  }

  .featured-project .project-copy {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    min-height: 36rem;
  }

  .featured-project--reverse {
    grid-template-columns: minmax(0, 1.32fr) minmax(20rem, .68fr);
  }

  .featured-project--reverse .project-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .featured-project--reverse .project-browser {
    grid-column: 1;
    grid-row: 1;
  }

  .featured-project .project-link {
    margin-top: auto;
  }

  .featured-project .project-sites {
    margin-top: auto;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(26rem, .78fr);
  }

  .about-copy,
  .contact-form {
    margin-top: 4.1rem;
  }
}

@media (min-width: 1180px) {
  .hero h1 {
    font-size: clamp(6rem, 8.9vw, 8.3rem);
  }

  .featured-project {
    gap: 4.5rem;
  }

}

@media (max-width: 579px) {
  .hero-index span:last-child {
    display: none;
  }

  .section-heading h2,
  .about-heading h2,
  .contact-copy h2 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  [data-parallax] {
    transform: none !important;
  }
}
