:root {
  --blue: #244cff;
  --blue-dark: #1539d6;
  --carbon: #0a0a0b;
  --white: #ffffff;
  --fog: #e8ebf1;
  --canary: #ffd628;
  --line: #c8cbd2;
  --gutter: clamp(1.25rem, 3.4vw, 3.5rem);
  --header-height: 74px;
  --display: "Londrina Solid", "Arial Rounded MT Bold", "Arial Narrow", sans-serif;
  --body: "Manrope", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background: var(--white);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--carbon);
  font-family: var(--body);
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
picture {
  display: block;
  max-width: 100%;
}

img {
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

button {
  padding: 0;
  color: inherit;
  font: inherit;
}

::selection {
  background: var(--canary);
  color: var(--carbon);
}

.bean-dot {
  display: inline-block;
  color: var(--canary);
  transform-origin: 50% 85%;
}

:focus-visible {
  outline: 3px solid var(--carbon);
  outline-offset: 3px;
  box-shadow:
    0 0 0 6px var(--white),
    0 0 0 9px var(--carbon);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 0.9rem;
  background: var(--carbon);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
  height: 3px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--canary);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(10, 10, 11, 0.28);
  background: rgba(255, 255, 255, 0.95);
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  color: var(--carbon);
  font-family: var(--display);
  font-size: 2.35rem;
  line-height: 0.85;
  letter-spacing: 0.005em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 4vw, 4rem);
}

.desktop-nav a {
  position: relative;
  padding: 0.45rem 0;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 260ms var(--ease-out);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 7px;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 260ms var(--ease-out);
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

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

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

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-content: center;
  padding: calc(var(--header-height) + 3rem) var(--gutter) 2rem;
  background: var(--blue);
  color: var(--white);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-2rem);
  transition:
    opacity 260ms ease,
    transform 520ms var(--ease-out),
    visibility 0s linear 520ms;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  padding: 0.06em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  font-family: var(--display);
  font-size: clamp(4rem, 19vw, 6.75rem);
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu p {
  align-self: end;
  margin: 4rem 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.menu-open .site-header {
  border-color: rgba(255, 255, 255, 0.55);
  background: var(--blue);
  color: var(--white);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.menu-open .brand {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: max(100svh, 760px);
  overflow: hidden;
  padding-top: var(--header-height);
  background: var(--white);
  isolation: isolate;
}

.hero-word {
  --word-scale: 0.76;
  --word-x: -11.3vw;
  position: absolute;
  top: calc(var(--header-height) + clamp(0.8rem, 2vw, 2rem));
  right: 0.9vw;
  left: 0.9vw;
  z-index: -1;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(22.5rem, 59.5vw, 62rem);
  line-height: 0.66;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  scale: var(--word-scale) 1;
  transform: translate(var(--word-x), var(--parallax-y, 0));
  transform-origin: center top;
  will-change: transform;
}

.hero-media {
  position: absolute;
  right: clamp(4rem, 9vw, 9.5rem);
  bottom: 0;
  z-index: 2;
  width: auto;
  height: calc(100% - var(--header-height) - clamp(1rem, 2vw, 2rem));
  transform: translateY(var(--media-y, 0));
  transform-origin: bottom center;
  will-change: transform;
}

.hero-media picture {
  width: auto;
  height: 100%;
}

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

.hero-copy {
  position: absolute;
  bottom: clamp(2.2rem, 5vh, 4.25rem);
  left: var(--gutter);
  z-index: 4;
  width: min(26rem, 34vw);
}

.hero-copy h1 {
  margin: 0 0 0.1rem;
  font-family: var(--display);
  font-size: clamp(4rem, 6.4vw, 6.4rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy p {
  margin: 0 0 1.35rem;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.28;
}

.action-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 22rem);
  padding: 0.6rem 0 0.72rem;
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.action-link svg,
.trait-row svg,
.archive-controls svg {
  width: 2.75rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.4;
  transition: transform 260ms var(--ease-out);
}

.action-link:hover svg,
.action-link:focus-visible svg {
  transform: translateX(0.4rem);
}

.hero-meta {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2.3rem, 5.5vh, 4.5rem);
  z-index: 5;
  display: grid;
  gap: 0.25rem;
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 0.9rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--carbon);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 0.8rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  transition: transform 260ms var(--ease-out);
}

.scroll-cue:hover svg,
.scroll-cue:focus-visible svg {
  transform: translateY(0.35rem);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  color: var(--carbon);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label > span {
  width: 0.75rem;
  height: 0.75rem;
  background: var(--blue);
}

.section-label--light {
  color: var(--white);
}

.profile {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--gutter);
  min-height: 100vh;
  padding: clamp(5rem, 7vw, 7rem) var(--gutter) clamp(6.5rem, 8.5vw, 8.5rem);
  overflow: hidden;
  background: var(--white);
}

.profile-copy {
  grid-column: 1 / span 6;
  align-self: start;
  z-index: 2;
}

.profile-copy h2,
.notes-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(5.9rem, 10.35vw, 10.9rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0;
  scale: 0.88 1;
  transform-origin: left top;
  text-transform: uppercase;
  white-space: nowrap;
}

.copy-rule {
  width: 8.8rem;
  height: 4px;
  margin: 2rem 0 1.8rem;
  background: var(--blue);
}

.profile-intro {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.03rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

.profile-primary {
  grid-column: 7 / -1;
  grid-row: 1 / span 2;
  align-self: start;
  margin: clamp(-5rem, -5vw, -2.5rem) -2vw 0 0;
  z-index: 1;
}

.profile-primary img {
  max-height: 850px;
  background: var(--white);
  object-fit: contain;
  object-position: center bottom;
}

.profile-traits {
  grid-column: 1 / span 6;
  align-self: end;
  margin-top: clamp(3.5rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
}

.trait-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.85fr) auto minmax(10rem, 2.2fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.2rem;
  border-bottom: 1px solid var(--line);
}

.trait-row span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.trait-row b {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 400;
}

.trait-row strong {
  font-family: var(--body);
  font-size: clamp(1.35rem, 1.8vw, 1.95rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.trait-row svg {
  color: var(--blue);
}

.profile-secondary {
  grid-column: 8 / -1;
  margin: clamp(3rem, 4.5vw, 4.5rem) 0 0;
  z-index: 3;
}

.profile-secondary picture {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  box-shadow: 1.4rem 1.4rem 0 var(--blue);
}

.profile-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.profile-secondary figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.7rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-secondary figcaption span {
  width: 0.72rem;
  height: 0.72rem;
  background: var(--canary);
}

.archive {
  position: relative;
  min-height: 100vh;
  padding: clamp(3.5rem, 4.5vw, 4.5rem) 0 clamp(3rem, 4vw, 4rem);
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.archive-heading {
  padding: 0 var(--gutter);
}

.archive-heading h2 {
  width: 128%;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(5.7rem, 11vw, 11rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  transform: scaleX(0.7);
  transform-origin: left center;
}

.archive-heading h2 span {
  color: var(--canary);
}

.archive-controls {
  position: absolute;
  top: clamp(10rem, 15vw, 14rem);
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.archive-controls button {
  --button-tilt: 0deg;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 260ms var(--ease-out);
}

.archive-controls button:first-of-type {
  --button-tilt: -3deg;
}

.archive-controls button:last-of-type {
  --button-tilt: 3deg;
}

.archive-controls button:hover,
.archive-controls button:focus-visible {
  background: var(--canary);
  color: var(--carbon);
  transform: translateY(-2px) rotate(var(--button-tilt));
}

.archive-controls button:active {
  transform: scale(0.94);
}

.archive-controls button:hover svg:first-child,
.archive-controls button:focus-visible svg:first-child {
  transform: translateX(-0.3rem);
}

.archive-controls button:last-child:hover svg,
.archive-controls button:last-child:focus-visible svg {
  transform: translateX(0.3rem);
}

.archive-track {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.9rem, 1.4vw, 1.5rem);
  margin-top: clamp(1.5rem, 2.2vw, 2.25rem);
  padding: 0 var(--gutter) 1.6rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
}

.archive-track::-webkit-scrollbar {
  display: none;
}

.archive-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.archive-item {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: start;
}

.archive-item--portrait {
  width: clamp(17rem, 23vw, 24rem);
}

.archive-item--hero {
  width: clamp(20rem, 29vw, 30rem);
}

.archive-item--landscape {
  width: clamp(24rem, 32vw, 35rem);
}

.archive-photo {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  background: var(--fog);
  overflow: hidden;
  cursor: zoom-in;
}

.archive-photo::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  z-index: 1;
  border: 3px solid var(--canary);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.archive-item--portrait .archive-photo {
  aspect-ratio: 4 / 5.35;
}

.archive-item--hero .archive-photo {
  aspect-ratio: 4 / 5;
}

.archive-item--landscape .archive-photo {
  aspect-ratio: 4 / 3;
}

.archive-photo picture,
.archive-photo img {
  width: 100%;
  height: 100%;
}

.archive-photo img {
  object-fit: cover;
  object-position: var(--photo-position, center center);
  transition: transform 700ms var(--ease-out);
}

.archive-item:nth-child(odd) {
  --photo-tilt: -0.55deg;
}

.archive-item:nth-child(even) {
  --photo-tilt: 0.55deg;
}

.archive-item:nth-child(1) {
  --photo-position: center center;
}

.archive-item:nth-child(2) {
  --photo-position: center 60%;
}

.archive-item:nth-child(3) {
  --photo-position: center 46%;
}

.archive-item:nth-child(4) {
  --photo-position: center center;
}

.archive-item:nth-child(5) {
  --photo-position: center 58%;
}

.archive-item--backyard {
  --photo-position: center center;
}

.archive-item--flowers {
  --photo-position: center 48%;
}

.archive-item--sunday {
  --photo-position: center 44%;
}

.archive-item--grass {
  --photo-position: center 52%;
}

.archive-item--poolside {
  --photo-position: center 48%;
}

.archive-photo:hover img,
.archive-photo:focus-visible img {
  transform: scale(1.045) rotate(var(--photo-tilt));
}

.archive-photo:hover::after,
.archive-photo:focus-visible::after {
  opacity: 1;
}

.archive-item figcaption {
  margin-top: 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.archive-footer {
  padding: clamp(1.75rem, 2.5vw, 2.5rem) var(--gutter) 0;
}

.archive-progress {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.34);
}

.archive-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--canary);
  transform: scaleX(0.2);
  transform-origin: left center;
  will-change: transform;
}

.archive-footer p {
  margin: 1rem 0 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-footer p span {
  display: inline-block;
  padding: 0.22em 0.45em;
  background: var(--canary);
  color: var(--carbon);
}

.field-notes {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2.5rem, 4vw, 5rem);
  padding: clamp(4.5rem, 6vw, 6rem) var(--gutter) clamp(5rem, 7vw, 7rem);
  background: var(--white);
}

.field-photo {
  align-self: start;
  margin: 0;
}

.field-photo picture {
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
}

.field-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.notes-copy {
  align-self: start;
  padding-top: 1.25rem;
}

.notes-copy h2 {
  font-size: clamp(5.7rem, 8.6vw, 9.5rem);
  scale: 0.86 1;
}

.notes-list {
  margin: clamp(2rem, 3vw, 3rem) 0 0;
  border-top: 1px solid var(--carbon);
}

.notes-list > div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.8fr) minmax(12rem, 1.2fr);
  gap: 1.25rem;
  align-items: center;
  min-height: 4rem;
  border-bottom: 1px solid rgba(10, 10, 11, 0.55);
  font-family: var(--mono);
  font-size: clamp(0.65rem, 0.85vw, 0.78rem);
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.notes-list dt,
.notes-list dd {
  margin: 0;
}

.notes-list dd {
  position: relative;
  padding-left: 1.75rem;
  font-weight: 500;
}

.notes-list dd::before {
  content: "/";
  position: absolute;
  left: 0;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  min-height: clamp(27rem, 32vw, 31rem);
  overflow: hidden;
  padding: clamp(2.5rem, 3.5vw, 3.5rem) var(--gutter) 1.75rem;
  background: var(--blue);
  color: var(--white);
}

.footer-word {
  margin-left: -0.02em;
  font-family: var(--display);
  font-size: clamp(9rem, 26vw, 29rem);
  line-height: 0.7;
  letter-spacing: 0;
  scale: 0.865 1;
  text-transform: uppercase;
  transform-origin: left top;
  white-space: nowrap;
  transform: translateX(var(--footer-x, 0));
  will-change: transform;
}

.back-to-top {
  align-self: end;
  justify-self: end;
  display: grid;
  place-items: center;
  gap: 0.8rem;
  min-width: 9.5rem;
  margin-bottom: 1.8rem;
  padding: 0 0 1rem;
  border: 0;
  border-bottom: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.back-to-top svg {
  width: 1rem;
  height: 2.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: transform 260ms var(--ease-out);
}

.back-to-top:hover svg,
.back-to-top:focus-visible svg {
  color: var(--canary);
  transform: translateY(-0.4rem);
}

.footer-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-credit {
  justify-self: center;
}

.footer-meta > :last-child {
  justify-self: end;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 3rem);
  border: 0;
  background: rgba(10, 10, 11, 0.98);
  color: var(--white);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background: rgba(10, 10, 11, 0.86);
}

.lightbox figure {
  display: grid;
  place-items: center;
  gap: 0.9rem;
  max-width: min(92vw, 90rem);
  max-height: 90svh;
  margin: 0;
}

.lightbox img {
  width: auto;
  max-width: 92vw;
  height: auto;
  max-height: 82svh;
  object-fit: contain;
}

.lightbox figcaption {
  justify-self: start;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--carbon);
  cursor: pointer;
}

.lightbox-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.4rem;
  height: 1px;
  background: var(--white);
}

.lightbox-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(2.25rem);
  transition:
    opacity 650ms ease,
    transform 850ms var(--ease-out);
}

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

.js .media-reveal {
  transition:
    opacity 450ms ease,
    transform 850ms var(--ease-out);
}

.js .media-reveal picture {
  transform: translateY(7%);
  transition: transform 950ms var(--ease-out);
}

.js .media-reveal.is-visible picture {
  transform: translateY(0);
}

.js .hero-word {
  opacity: 0;
  transform: translate(var(--word-x), calc(var(--parallax-y, 0px) + 2.5rem));
  transition:
    opacity 550ms ease 80ms,
    transform 950ms var(--ease-out) 80ms;
}

.js .hero-media {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1100ms var(--ease-out) 180ms;
}

.js body.is-ready .hero-word {
  opacity: 1;
  transform: translate(var(--word-x), var(--parallax-y, 0));
}

.js body.is-ready .hero-media {
  clip-path: inset(0);
}

@keyframes bean-settle {
  0% {
    transform: translateY(1.1rem) rotate(1.2deg) scale(0.99);
  }

  62% {
    transform: translateY(-0.2rem) rotate(-0.55deg) scale(1.004);
  }

  100% {
    transform: none;
  }
}

@keyframes bean-dot-arrive {
  0% {
    opacity: 0;
    transform: scale(0.45) rotate(-14deg);
  }

  68% {
    opacity: 1;
    transform: scale(1.16) rotate(4deg);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes brand-wag {
  0%,
  100% {
    transform: rotate(0);
  }

  34% {
    transform: rotate(-3deg);
  }

  68% {
    transform: rotate(2deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js body.is-ready .hero-media picture {
    animation: bean-settle 900ms var(--ease-out) 480ms both;
    transform-origin: 70% 85%;
  }

  .js body.is-ready .hero-word .bean-dot {
    animation: bean-dot-arrive 600ms var(--ease-out) 620ms both;
  }

  .trait-row:nth-child(2) {
    transition-delay: 70ms;
  }

  .trait-row:nth-child(3) {
    transition-delay: 140ms;
  }

  .notes-list > div:nth-child(2) {
    transition-delay: 45ms;
  }

  .notes-list > div:nth-child(3) {
    transition-delay: 90ms;
  }

  .notes-list > div:nth-child(4) {
    transition-delay: 135ms;
  }

  .notes-list > div:nth-child(5) {
    transition-delay: 180ms;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .brand:hover,
  .brand:focus-visible {
    animation: brand-wag 340ms var(--ease-out);
    transform-origin: 50% 80%;
  }
}

@media (max-width: 1100px) {
  .hero-media {
    right: 2vw;
    width: auto;
  }

  .hero-copy {
    width: 29vw;
  }

  .hero-meta {
    display: none;
  }

  .profile {
    gap: 0 2rem;
  }

  .profile-copy {
    grid-column: 1 / span 7;
  }

  .profile-primary {
    grid-column: 7 / -1;
  }

  .profile-traits {
    grid-column: 1 / span 7;
  }

  .profile-secondary {
    grid-column: 8 / -1;
  }

  .archive-controls {
    position: static;
    justify-content: flex-end;
    margin: 1rem var(--gutter) 0;
  }
}

@media (max-width: 900px) {
  .profile {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 7rem;
  }

  .profile-copy {
    order: 1;
    width: 100%;
    min-width: 0;
  }

  .profile-primary {
    order: 2;
    width: min(100%, 42rem);
    margin: 2rem auto 0;
  }

  .profile-primary img {
    max-height: 740px;
  }

  .profile-traits {
    order: 3;
    margin-top: 3rem;
  }

  .profile-secondary {
    order: 4;
    width: min(100%, 42rem);
    margin: 4rem 0 0 auto;
  }

  .field-notes {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .field-photo {
    width: min(100%, 50rem);
    min-width: 0;
  }

  .notes-copy {
    min-width: 0;
    padding-top: 1rem;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    position: relative;
    display: block;
  }

  .brand {
    font-size: 2.1rem;
  }

  .hero {
    min-height: 920px;
  }

  .hero-word {
    --word-scale: 0.74;
    --word-x: -20.5vw;
    top: calc(var(--header-height) + 1.3rem);
    right: -0.04em;
    left: -0.04em;
    font-size: 68vw;
    line-height: 0.69;
  }

  .hero-media {
    top: 9.7rem;
    right: -13vw;
    bottom: auto;
    width: 106vw;
    height: auto;
  }

  .hero-media picture,
  .hero-media img {
    width: 100%;
    height: auto;
  }

  .hero-copy {
    right: var(--gutter);
    bottom: 6.6rem;
    width: auto;
  }

  .hero-copy h1 {
    font-size: 4.4rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .action-link {
    width: 100%;
    max-width: 22rem;
  }

  .hero-meta {
    right: var(--gutter);
    bottom: 1.4rem;
    left: var(--gutter);
    display: flex;
    justify-content: space-between;
    text-align: left;
  }

  .scroll-cue {
    display: none;
  }

  .profile-copy h2 {
    font-size: clamp(5.6rem, 26.2vw, 8.6rem);
    scale: 0.76 1;
  }

  .notes-copy h2 {
    font-size: clamp(3.8rem, 18.45vw, 6.55rem);
    scale: 0.86 1;
  }

  .profile-intro {
    font-size: 1rem;
  }

  .trait-row {
    grid-template-columns: 6.25rem 0.5rem 1fr;
    gap: 0.65rem;
    min-height: 4.6rem;
  }

  .trait-row strong {
    font-size: clamp(1.25rem, 5.8vw, 1.7rem);
  }

  .trait-row svg {
    display: none;
  }

  .profile-secondary {
    margin-right: 1.2rem;
  }

  .archive {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
  }

  .archive-heading h2 {
    width: auto;
    font-size: clamp(5.15rem, 22.5vw, 8.25rem);
    line-height: 0.86;
    letter-spacing: 0;
    white-space: normal;
    transform: none;
  }

  .archive-controls {
    justify-content: space-between;
    margin-top: 1.1rem;
  }

  .archive-track {
    margin-top: 2rem;
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }

  .archive-item--portrait,
  .archive-item--hero,
  .archive-item--landscape {
    width: 78vw;
  }

  .archive-item--landscape .archive-photo {
    aspect-ratio: 4 / 5;
  }

  .notes-list > div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    align-content: center;
    min-height: 5.25rem;
  }

  .notes-list dd {
    padding-left: 1.25rem;
  }

  .site-footer {
    min-height: 34rem;
    padding-top: 2.5rem;
  }

  .footer-word {
    margin-top: 0.75rem;
    margin-left: -0.025em;
    font-size: 38vw;
    line-height: 0.69;
    white-space: normal;
  }

  .back-to-top {
    margin-bottom: 1.5rem;
    min-width: 7.5rem;
  }

  .footer-meta {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "credit credit"
      "location copyright";
    gap: 0.65rem 1rem;
    font-size: 0.62rem;
  }

  .footer-meta > :first-child {
    grid-area: location;
  }

  .footer-credit {
    grid-area: credit;
    justify-self: start;
    opacity: 0.82;
  }

  .footer-meta > :last-child {
    grid-area: copyright;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 875px;
  }

  .hero-media {
    top: 9.25rem;
  }

  .hero-copy {
    bottom: 6.1rem;
  }

  .hero-copy h1 {
    font-size: 3.95rem;
  }

  .profile {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .field-notes {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 360px) {
  .mobile-menu nav a {
    font-size: 17vw;
  }
}

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

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

  .js [data-reveal],
  .js .media-reveal,
  .js .hero-media {
    opacity: 1;
    clip-path: none;
    transform: none;
  }

  .js .hero-word {
    opacity: 1;
    transform: translateX(var(--word-x));
  }

  .footer-word {
    transform: none;
  }
}
