:root {
  --black: #000000;
  --white: #ffffff;
  --ink: #111111;
  --muted: #717171;
  --line: rgba(0,0,0,.12);
  --nav-h: 76px;
  --ease: cubic-bezier(.22,1,.36,1);
  --font: "Gopher", "Gopher Regular", "Gopher-Regular", "Century Gothic", "Avenir Next", Avenir, Futura, Arial, sans-serif;
  --font-display: "Gopher Heavy", "Gopher-Heavy", "Gopher", "Century Gothic", "Avenir Next", Avenir, Futura, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Password gate */
.password-gate {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--black); color: var(--white); transition: opacity .8s var(--ease), visibility .8s;
}
.password-card { width: min(520px, calc(100vw - 48px)); text-align: center; }
.password-message {
  margin: 0 0 44px; font-size: clamp(18px, 2vw, 27px); line-height: 1.45; letter-spacing: .02em; font-weight: 400;
  opacity: 0; transform: translateY(30px); animation: rise-in 1s .16s var(--ease) forwards;
}
.password-row {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; opacity: 0; transform: translateY(26px);
  animation: rise-in 1s .38s var(--ease) forwards;
}
.password-row input {
  min-width: 0; height: 54px; padding: 0 18px; color: var(--white); background: transparent;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px; outline: none; transition: border-color .25s;
}
.password-row input:focus { border-color: var(--white); }
.password-row button {
  height: 54px; padding: 0 25px; border: 0; border-radius: 999px; background: var(--white); color: var(--black); cursor: pointer;
  transition: transform .25s var(--ease), opacity .25s;
}
.password-row button:hover { transform: scale(1.025); }
.password-error { min-height: 22px; margin: 14px 0 0; font-size: 12px; color: #aaa; letter-spacing: .05em; }
@keyframes rise-in { to { opacity: 1; transform: translateY(0); } }
body.is-unlocked .password-gate { opacity: 0; visibility: hidden; pointer-events: none; }

.site-shell { opacity: 0; transition: opacity 1s .3s var(--ease); }
body.is-unlocked .site-shell { opacity: 1; }
body.is-locked { overflow: hidden; }

/* Navigation */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,.84); backdrop-filter: saturate(160%) blur(22px); -webkit-backdrop-filter: saturate(160%) blur(22px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.topnav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 0 3.25vw; }
.identity-group { display: flex; align-items: center; gap: 42px; flex: 0 0 auto; }
.name-link { font-size: 16px; font-weight: 700; letter-spacing: .035em; white-space: nowrap; }
.top-link { font-size: 14px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.chapter-links { display: flex; justify-content: flex-end; align-items: center; gap: clamp(16px, 2.25vw, 38px); min-width: 0; }
.chapter-links a { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; font-size: 13px; letter-spacing: .03em; transition: opacity .25s; }
.chapter-links a:hover { opacity: .45; }
.chapter-links span { font-weight: 700; }
.chapter-links em { font-style: normal; color: var(--muted); }

/* Hero and portfolio introduction */
.hero {
  min-height: 100svh;
  padding: calc(var(--nav-h) + 7vh) 7vw 11vh;
  position: relative;
  color: var(--white);
  background: var(--black);
  scroll-margin-top: var(--nav-h);
}
.hero-copy {
  width: min(900px, 86vw);
  max-width: 900px;
  margin: 0 0 clamp(62px, 8vh, 104px);
}
.hero h1 {
  margin: 0 0 clamp(25px, 3.4vh, 42px);
  font-family: var(--font-display);
  font-size: clamp(46px, 5.7vw, 95px);
  font-weight: 900;
  line-height: .86;
  letter-spacing: .006em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: clamp(1px, .1vw, 1.7px) var(--white);
  text-stroke: clamp(1px, .1vw, 1.7px) var(--white);
  paint-order: stroke fill;
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: none;
}
.hero h1 span { display: block; }
.hero p {
  margin: 0;
  max-width: 860px;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.45vw, 22px);
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.hero p .word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(-10px, 7px, 0);
  filter: blur(7px);
  clip-path: inset(0 100% 0 0);
  will-change: opacity, transform, filter, clip-path;
}
body.is-unlocked .hero p .word {
  animation: hero-word-develop 2.2s var(--ease) forwards;
  animation-delay: calc(.55s + (var(--word-index) * 95ms));
}
@keyframes hero-word-develop {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translate3d(-10px, 7px, 0); filter: blur(7px); }
  58% { opacity: .58; filter: blur(2.5px); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: translate3d(0,0,0); filter: blur(0); }
}

.portfolio-overview-panel {
  width: min(1060px, 88vw);
  max-width: 1060px;
  padding-top: clamp(28px, 4vh, 52px);
}
.portfolio-overview-panel h2 {
  margin: 0;
  font-family: var(--font);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}
.overview-disclaimer {
  width: min(790px, 100%);
  margin-top: 22px;
  color: rgba(255,255,255,.73);
  font-size: clamp(12px, .95vw, 15px);
  line-height: 1.68;
  letter-spacing: .012em;
}
.overview-disclaimer p { margin: 0; }
.overview-disclaimer p + p { margin-top: 18px; }
.selected-work-block { margin-top: clamp(48px, 6vh, 76px); }
.selected-work-list {
  width: min(840px, 100%);
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.selected-work-list li { margin: 0; }
.selected-work-list a {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .095em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  transition: color .28s ease, padding-left .35s var(--ease), border-color .28s ease;
}
.selected-work-list a:hover {
  color: var(--white);
  padding-left: 8px;
  border-color: rgba(255,255,255,.28);
}
.selected-work-list span { font-weight: 700; }
.selected-work-list em { font-style: normal; }

/* Chapters */
.chapter { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 18px) 1vw 1.5vh; background: var(--white); scroll-margin-top: var(--nav-h); border-top: 1px solid var(--line); }
.chapter-kicker { height: 34px; display: flex; align-items: baseline; gap: 18px; padding-left: 2px; }
.chapter-kicker span { font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.chapter-kicker p { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.carousel { height: calc(100svh - var(--nav-h) - 54px); min-height: 650px; position: relative; display: grid; grid-template-rows: minmax(0,1fr) 58px; }
.carousel-stage {
  position: relative; overflow: hidden; display: grid; place-items: center; background: #fff;
  padding: 0; container-type: size;
  touch-action: pan-y; perspective: 2200px; outline: none;
}
.book {
  position: relative; inset: auto;
  width: min(calc(100cqw - 2px), calc((100cqh - 2px) * 1.7786667));
  max-width: 100%; aspect-ratio: 4002 / 2250; height: auto;
  perspective: 2400px; transform-style: preserve-3d; user-select: none;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.14));
}
.book-base {
  position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff; overflow: hidden;
}
.book-page {
  position: relative; min-width: 0; height: 100%; display: grid; place-items: center; overflow: hidden; background: #fff;
}
.book-page img, .page-face img {
  width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.book-page.left::after {
  content: ""; position: absolute; top: 2.5%; right: 0; bottom: 2.5%; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.15) 12%, rgba(0,0,0,.15) 88%, transparent);
}
.book-page.right::before {
  content: ""; position: absolute; top: 2.5%; left: 0; bottom: 2.5%; width: 18px; pointer-events: none;
  background: linear-gradient(to right, rgba(0,0,0,.16), transparent); opacity: .28;
}
.book::after {
  content: ""; position: absolute; z-index: 8; left: 50%; top: 1.5%; bottom: 1.5%; width: 20px; transform: translateX(-50%);
  pointer-events: none; background: radial-gradient(ellipse at center, rgba(0,0,0,.16), rgba(0,0,0,.045) 30%, transparent 70%); opacity: .35;
}
.blank-page { background: #fff; }

/* ISSUU-style page turn: a real sheet rotates around the book spine. */
.turning-sheet {
  position: absolute; z-index: 20; top: 0; bottom: 0; width: 50%;
  transform-style: preserve-3d; will-change: transform; pointer-events: none;
}
.turning-sheet.forward { left: 50%; transform-origin: left center; }
.turning-sheet.backward { left: 0; transform-origin: right center; }
.page-face {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: #fff;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.page-face.back { transform: rotateY(180deg); }
.page-face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
}
.turning-sheet.forward .page-face.front::after { background: linear-gradient(to left, rgba(0,0,0,.03), rgba(0,0,0,.28)); }
.turning-sheet.forward .page-face.back::after { background: linear-gradient(to right, rgba(0,0,0,.26), rgba(0,0,0,.02)); }
.turning-sheet.backward .page-face.front::after { background: linear-gradient(to right, rgba(0,0,0,.03), rgba(0,0,0,.28)); }
.turning-sheet.backward .page-face.back::after { background: linear-gradient(to left, rgba(0,0,0,.26), rgba(0,0,0,.02)); }
.turning-sheet.forward.is-turning { animation: page-turn-forward .42s cubic-bezier(.55,.02,.35,1) forwards; }
.turning-sheet.backward.is-turning { animation: page-turn-backward .42s cubic-bezier(.55,.02,.35,1) forwards; }
.turning-sheet.is-turning .page-face::after { animation: page-shadow .42s ease-in-out both; }
.book.is-flipping::before {
  content: ""; position: absolute; z-index: 15; top: 2%; bottom: 2%; left: 50%; width: 48%; pointer-events: none;
  background: linear-gradient(to right, rgba(0,0,0,.2), transparent 38%); transform-origin: left center;
  animation: cast-shadow .42s ease-in-out both;
}
.book.is-flipping.backward-flip::before {
  left: 2%; background: linear-gradient(to left, rgba(0,0,0,.2), transparent 38%); transform-origin: right center;
}
@keyframes page-turn-forward {
  0% { transform: rotateY(0deg); }
  28% { transform: rotateY(-48deg); }
  62% { transform: rotateY(-126deg); }
  100% { transform: rotateY(-180deg); }
}
@keyframes page-turn-backward {
  0% { transform: rotateY(0deg); }
  28% { transform: rotateY(48deg); }
  62% { transform: rotateY(126deg); }
  100% { transform: rotateY(180deg); }
}
@keyframes page-shadow {
  0%, 100% { opacity: 0; }
  42%, 62% { opacity: 1; }
}
@keyframes cast-shadow {
  0%, 100% { opacity: 0; transform: scaleX(.2); }
  48% { opacity: .7; transform: scaleX(1); }
}
.carousel-stage.is-grabbing { cursor: grabbing; }
.carousel-stage:not(.is-grabbing) { cursor: grab; }
.carousel-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); }
.carousel-controls button { appearance: none; border: 0; background: transparent; cursor: pointer; color: var(--ink); height: 100%; padding: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.carousel-controls button:hover { opacity: .45; }
.carousel-controls .prev { justify-self: start; }
.carousel-controls .next { justify-self: end; }
.carousel-counter { font-size: 11px; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }


footer { min-height: 260px; background: var(--black); color: var(--white); padding: 70px 7vw; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
footer span { color: #777; }

.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.luxury-reveal { visibility: visible; }

@media (max-width: 1040px) {
  .topnav { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .topnav::-webkit-scrollbar { display: none; }
  .chapter-links { justify-content: flex-start; }
  .chapter-links em { display: none; }
}

@media (max-width: 700px) {
  :root { --nav-h: 68px; }
  .topnav { padding-inline: 20px; gap: 26px; }
  .identity-group { gap: 26px; }
  .name-link { font-size: 14px; }
  .hero { min-height: 100svh; padding-inline: 24px; padding-top: calc(var(--nav-h) + 32px); padding-bottom: 72px; }
  .hero-copy { width: 100%; margin-bottom: 54px; }
  .hero h1 { font-size: clamp(38px, 11.25vw, 59px); margin-bottom: 23px; -webkit-text-stroke-width: 1px; }
  .hero p { font-size: 12px; line-height: 1.55; letter-spacing: .075em; }
  .portfolio-overview-panel { width: 100%; padding-top: 32px; }
  .overview-disclaimer { font-size: 12px; line-height: 1.62; }
  .selected-work-list a { grid-template-columns: 32px minmax(0,1fr); font-size: 10px; }
  .chapter { padding-inline: 2px; }
  .chapter-kicker { gap: 10px; }
  .chapter-kicker p { font-size: 9px; letter-spacing: .08em; }
  .carousel { min-height: 460px; }
  .carousel-stage { padding: 0; }
  .book { width: min(calc(100cqw - 1px), calc((100cqh - 1px) * 1.7786667)); }
  .carousel-controls button { font-size: 9px; }
  .carousel-counter { font-size: 9px; letter-spacing: .03em; }
  footer { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero h1, .hero p .word { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}

/* Version 13 refinements */
.hero p {
  max-width: 860px;
  font-family: var(--font);
  font-size: clamp(10px, .72vw, 12px);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.overview-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .09em;
  color: var(--white);
}

.overview-disclaimer {
  width: min(720px, 100%);
  margin-top: 18px;
  color: rgba(255,255,255,.68);
  font-family: var(--font);
  font-size: clamp(9px, .72vw, 11px);
  line-height: 1.72;
  letter-spacing: .025em;
}

.selected-work-block > h2 {
  font-family: var(--font);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}

.selected-work-list {
  width: min(1040px, 100%);
  margin-top: 28px;
  gap: clamp(22px, 3.8vh, 44px);
}
.selected-work-list a {
  display: grid;
  grid-template-columns: clamp(58px, 6vw, 82px) clamp(58px, 7vw, 104px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 1.25vw, 20px);
  padding: 0;
  border: 0;
  color: var(--white);
  transition: opacity .28s ease, transform .38s var(--ease);
}
.selected-work-list a::before {
  content: "";
  grid-column: 2;
  width: 100%;
  border-bottom: 3px dotted rgba(255,255,255,.88);
  transform: translateY(3px);
}
.selected-work-list a:hover {
  padding-left: 0;
  border-color: transparent;
  opacity: .68;
  transform: translateX(8px);
}
.selected-work-list span {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.2vw, 62px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 1.25px var(--white);
  text-stroke: 1.25px var(--white);
  paint-order: stroke fill;
}
.selected-work-list em {
  grid-column: 3;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.45vw, 21px);
  font-style: normal;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .105em;
  text-transform: uppercase;
}

/* Translucent Issuu-inspired edge arrows. */
.edge-arrow {
  position: absolute;
  z-index: 40;
  top: 50%;
  width: clamp(42px, 4.4vw, 68px);
  height: clamp(100px, 28%, 220px);
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(0,0,0,.12);
  color: rgba(255,255,255,.95);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, background .24s ease, transform .24s var(--ease);
}
.edge-arrow span {
  font-family: Arial, sans-serif;
  font-size: clamp(42px, 4.2vw, 72px);
  font-weight: 200;
  line-height: 1;
  transform: translateY(-2px);
}
.edge-prev { left: max(8px, 1.1vw); }
.edge-next { right: max(8px, 1.1vw); }
.carousel-stage:hover .edge-arrow:not(:disabled),
.carousel-stage:focus-within .edge-arrow:not(:disabled) {
  opacity: .76;
  pointer-events: auto;
}
.edge-arrow:hover:not(:disabled) {
  opacity: 1 !important;
  background: rgba(0,0,0,.24);
}
.edge-prev:hover:not(:disabled) { transform: translate(-3px, -50%); }
.edge-next:hover:not(:disabled) { transform: translate(3px, -50%); }
.edge-arrow:disabled { opacity: 0 !important; pointer-events: none; }

.carousel-controls button {
  font-family: var(--font);
}
.carousel-counter {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 700px) {
  .hero p { font-size: 10px; letter-spacing: .11em; }
  .overview-copy h2 { font-size: 14px; }
  .overview-disclaimer { font-size: 9px; line-height: 1.65; }
  .selected-work-list { gap: 24px; }
  .selected-work-list a { grid-template-columns: 50px 42px minmax(0,1fr); gap: 9px; }
  .selected-work-list a::before { border-bottom-width: 2px; }
  .selected-work-list span { font-size: 36px; -webkit-text-stroke-width: 1px; }
  .selected-work-list em { font-size: 11px; letter-spacing: .085em; }
  .edge-arrow { width: 38px; height: 112px; }
  .edge-arrow span { font-size: 42px; }
}

/* Version 14 refinements */
/* Preserve sentence case for the homepage tagline and overview text. */
.hero p {
  text-transform: none;
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: .025em;
}
.overview-disclaimer,
.overview-disclaimer p {
  text-transform: none;
}

/* Increase the breathing room above the name to three times the prior top offset. */
.hero {
  padding-top: calc(var(--nav-h) + 21vh);
}

/* Double the separation before Selected Work. */
.selected-work-block {
  margin-top: clamp(96px, 12vh, 152px);
}

/* Keep the outlined contents-page character while bringing the list down to the
   same editorial scale as the Portfolio Overview heading. */
.selected-work-list {
  width: min(920px, 100%);
  gap: clamp(18px, 2.7vh, 32px);
}
.selected-work-list a {
  grid-template-columns: clamp(38px, 4vw, 54px) clamp(42px, 5vw, 72px) minmax(0, 1fr);
  gap: clamp(9px, 1vw, 15px);
}
.selected-work-list a::before {
  border-bottom-width: 2px;
  transform: translateY(2px);
}
.selected-work-list span {
  font-size: clamp(25px, 2.7vw, 39px);
  line-height: .85;
  -webkit-text-stroke-width: 1px;
}
.selected-work-list em {
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.2;
  letter-spacing: .09em;
}

@media (max-width: 700px) {
  .hero {
    padding-top: calc(var(--nav-h) + 96px);
  }
  .hero p {
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: .025em;
  }
  .selected-work-block {
    margin-top: 96px;
  }
  .selected-work-list {
    gap: 20px;
  }
  .selected-work-list a {
    grid-template-columns: 34px 34px minmax(0, 1fr);
    gap: 8px;
  }
  .selected-work-list span {
    font-size: 24px;
  }
  .selected-work-list em {
    font-size: 14px;
    letter-spacing: .075em;
  }
}


/* Version 15 refinements */
:root {
  --nav-h: 61px;
}

/* A slimmer fixed navigation, with a neutral home label and a lower-case top link. */
.topnav {
  gap: 28px;
  padding-inline: 3.25vw;
}
.identity-group {
  gap: 0;
}
.name-link,
.top-link,
.chapter-links a {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1;
  letter-spacing: .03em;
  text-transform: none;
}
.name-link {
  font-weight: 600;
}
.top-link {
  color: var(--muted);
}

/* Remove the tagline and position the cover name where the tagline previously ended. */
.hero-copy {
  padding-top: clamp(78px, 10vh, 122px);
}
.hero h1 {
  margin-bottom: 0;
}

/* Improve readability of the portfolio note without changing its tone. */
.overview-disclaimer {
  font-size: clamp(10px, .79vw, 12.1px);
}

/* Make the project title rail and page-control rail twenty percent thinner. */
.chapter {
  padding-top: calc(var(--nav-h) + 14px);
}
.chapter-kicker {
  height: 27px;
}
.carousel {
  height: calc(100svh - var(--nav-h) - 43px);
  grid-template-rows: minmax(0, 1fr) 46px;
}

/* Arrow-only navigation: no surrounding tile. The split grey fill gives the
   chevrons a subtle halftone quality while preserving contrast over white pages. */
.edge-arrow {
  width: clamp(40px, 4vw, 60px);
  height: clamp(86px, 24%, 180px);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: transparent;
  transition: opacity .24s ease, transform .24s var(--ease), filter .24s ease;
}
.edge-arrow span {
  display: block;
  font-size: clamp(48px, 4.6vw, 76px);
  font-weight: 200;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.28));
}
.edge-prev span {
  background-image: linear-gradient(90deg, rgba(70,70,70,.58) 0 50%, rgba(70,70,70,.20) 50% 100%);
}
.edge-next span {
  background-image: linear-gradient(90deg, rgba(70,70,70,.20) 0 50%, rgba(70,70,70,.58) 50% 100%);
}
.edge-arrow:hover:not(:disabled) {
  background: transparent;
  filter: contrast(1.2);
}

@media (max-width: 700px) {
  :root { --nav-h: 54px; }
  .topnav { padding-inline: 18px; gap: 22px; }
  .name-link,
  .top-link,
  .chapter-links a { font-size: 11px; }
  .hero { padding-top: calc(var(--nav-h) + 96px); }
  .hero-copy { padding-top: 68px; }
  .overview-disclaimer { font-size: 10px; }
  .chapter { padding-top: calc(var(--nav-h) + 11px); }
  .chapter-kicker { height: 22px; }
  .carousel {
    height: calc(100svh - var(--nav-h) - 35px);
    grid-template-rows: minmax(0, 1fr) 37px;
  }
  .edge-arrow { width: 34px; height: 94px; }
  .edge-arrow span { font-size: 44px; }
}

/* Version 16 refinements */
/* Match the home control to the Portfolio Overview heading and remove the
   redundant secondary "top" control. */
.name-link {
  font-family: var(--font-display);
  font-size: clamp(15.4px, 1.265vw, 19.8px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Enlarge all typography that appears on the black homepage by ten percent. */
.hero h1 {
  font-size: clamp(50.6px, 6.27vw, 104.5px);
}
.overview-copy h2 {
  font-size: clamp(15.4px, 1.265vw, 19.8px);
}
.overview-disclaimer {
  font-size: clamp(11px, .869vw, 13.31px);
}
.selected-work-block > h2 {
  font-size: 12.1px;
}
.selected-work-list a {
  grid-template-columns: clamp(42px, 4.4vw, 59px) clamp(46px, 5.5vw, 79px) minmax(0, 1fr);
  gap: clamp(10px, 1.1vw, 16.5px);
}
.selected-work-list span {
  font-size: clamp(27.5px, 2.97vw, 42.9px);
}
.selected-work-list em {
  font-size: clamp(15.4px, 1.265vw, 19.8px);
}

/* Add a modest amount of extra breathing room above the cover name. */
.hero-copy {
  padding-top: clamp(102px, 13vh, 154px);
}

/* Use one consistent light translucent grey for the full chevron. */
.edge-arrow span,
.edge-prev span,
.edge-next span {
  background: none;
  background-image: none;
  color: rgba(72, 72, 72, .34);
  -webkit-text-fill-color: rgba(72, 72, 72, .34);
  filter: none;
}
.edge-arrow:hover:not(:disabled) span {
  color: rgba(72, 72, 72, .52);
  -webkit-text-fill-color: rgba(72, 72, 72, .52);
}

@media (max-width: 700px) {
  .name-link {
    font-size: 15.4px;
  }
  .hero-copy {
    padding-top: 92px;
  }
  .hero h1 {
    font-size: clamp(41.8px, 12.375vw, 64.9px);
  }
  .overview-copy h2 {
    font-size: 15.4px;
  }
  .overview-disclaimer {
    font-size: 11px;
  }
  .selected-work-block > h2 {
    font-size: 12.1px;
  }
  .selected-work-list span {
    font-size: 26.4px;
  }
  .selected-work-list em {
    font-size: 15.4px;
  }
}

/* Version 17 refinements */
/* Match HOME to the numbered chapter labels in the navigation. */
.name-link {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Add the requested breathing room while preserving the existing composition. */
.hero-copy {
  padding-top: clamp(122px, 15.6vh, 185px);
}
.selected-work-block {
  margin-top: clamp(115px, 14.4vh, 182px);
}
.hero {
  padding-bottom: 16.5vh;
}

/* Increase the Portfolio Overview description by ten percent for readability. */
.overview-disclaimer {
  font-size: clamp(12.1px, .956vw, 14.64px);
}

@media (max-width: 700px) {
  .name-link {
    font-size: 11px;
  }
  .hero-copy {
    padding-top: 110px;
  }
  .selected-work-block {
    margin-top: 115px;
  }
  .hero {
    padding-bottom: 108px;
  }
  .overview-disclaimer {
    font-size: 12.1px;
  }
}

/* Version 18 refinements */
/* Give HOME the wider tracking used by the project-page headings. */
.name-link {
  letter-spacing: .16em;
}

/* Increase the Portfolio Overview body copy by fifteen percent. */
.overview-disclaimer {
  font-size: clamp(13.92px, 1.10vw, 16.84px);
}

/* Add twenty-five percent more breathing room below the overview copy. */
.selected-work-block {
  margin-top: clamp(144px, 18vh, 228px);
}

/* Add forty percent more open space after the final selected project. */
.hero {
  padding-bottom: 23.1vh;
}

@media (max-width: 700px) {
  .name-link {
    letter-spacing: .16em;
  }
  .overview-disclaimer {
    font-size: 13.92px;
  }
  .selected-work-block {
    margin-top: 144px;
  }
  .hero {
    padding-bottom: 151px;
  }
}

/* Version 19 refinements */
/* Use one shared breathing-room value so the space before Selected Work
   matches the open space after the final project on the black homepage. */
:root {
  --home-section-breathing-room: clamp(151px, 23.1vh, 260px);
}

.selected-work-block {
  margin-top: var(--home-section-breathing-room);
}

.hero {
  padding-bottom: var(--home-section-breathing-room);
}

/* Increase the Portfolio Overview body copy by twenty percent. */
.overview-disclaimer {
  font-size: clamp(16.70px, 1.32vw, 20.21px);
}

@media (max-width: 700px) {
  :root {
    --home-section-breathing-room: 151px;
  }

  .overview-disclaimer {
    font-size: 16.70px;
  }
}

/* Version 20 refinements */
/* Increase the Portfolio Overview description by twenty-five percent. */
.overview-disclaimer {
  font-size: clamp(20.88px, 1.65vw, 25.26px);
}

/* Reduce only the gap before Selected Work by twenty percent. */
.selected-work-block {
  margin-top: clamp(121px, 18.48vh, 208px);
}

@media (max-width: 700px) {
  .overview-disclaimer {
    font-size: 20.88px;
  }

  .selected-work-block {
    margin-top: 121px;
  }
}


/* Version 21 refinements */
/* Increase the Portfolio Overview description by another twenty percent. */
.overview-disclaimer {
  font-size: clamp(25.06px, 1.98vw, 30.31px);
}

/* Add the portfolio author's name above the footer title, aligned as one lockup. */
.footer-signoff {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  text-align: left;
}

footer .footer-name {
  color: var(--white);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

footer .footer-title {
  color: var(--white);
}

@media (max-width: 700px) {
  .overview-disclaimer {
    font-size: 25.06px;
  }

  footer .footer-name {
    font-size: 11px;
  }
}

/* Version 22 refinements */
/* Increase the Portfolio Overview description by another twenty-five percent. */
.overview-disclaimer {
  font-size: clamp(31.33px, 2.475vw, 37.89px);
}

/* Increase the footer author name by twenty-five percent. */
footer .footer-name {
  font-size: 16.25px;
}

/* Left-align the private-review message and password control while keeping the
   access panel itself centered on the screen. */
.password-card {
  text-align: left;
}

.password-row {
  width: min(440px, 100%);
}

.password-error {
  text-align: left;
}

@media (max-width: 700px) {
  .overview-disclaimer {
    font-size: 31.33px;
  }

  footer .footer-name {
    font-size: 13.75px;
  }
}


/* Version 23 refinements */
/* Increase the Portfolio Overview description by thirty percent. */
.overview-disclaimer {
  font-size: clamp(40.73px, 3.2175vw, 49.26px);
}

@media (max-width: 700px) {
  .overview-disclaimer {
    font-size: 40.73px;
  }
}

/* Version 24 refinements */
/* Align the footer signoff with the HOME label in the fixed top navigation. */
footer {
  padding-left: 3.25vw;
  padding-right: 7vw;
}

/* Increase the Portfolio Overview description by thirty percent. */
.overview-disclaimer {
  font-size: clamp(52.95px, 4.18275vw, 64.04px);
}

@media (max-width: 700px) {
  footer {
    padding-left: 18px;
    padding-right: 24px;
  }

  .overview-disclaimer {
    font-size: 52.95px;
  }
}

/* Version 25 refinements */
/* Align the footer signoff with the measured left edge of the final book spread. */
footer {
  padding-left: var(--footer-spread-left, 3.25vw);
}

/* Increase the Portfolio Overview description by fifty percent. */
.overview-disclaimer {
  font-size: clamp(79.43px, 6.274125vw, 96.06px);
}

@media (max-width: 700px) {
  .overview-disclaimer {
    font-size: 79.43px;
  }
}

/* Version 26 refinement */
/* Increase the Portfolio Overview description by another fifty percent. */
.overview-disclaimer {
  font-size: clamp(119.145px, 9.4111875vw, 144.09px);
}

@media (max-width: 700px) {
  .overview-disclaimer {
    font-size: 119.145px;
  }
}

/* Version 27 refinements */
/* Increase the Portfolio Overview description by seventy percent. */
.overview-disclaimer {
  font-size: clamp(202.55px, 15.999vw, 244.95px);
}

/* Double the horizontal spacing between each outlined project number,
   its dotted leader, and the corresponding project title. */
.selected-work-list a {
  gap: clamp(20px, 2.2vw, 33px);
}

@media (max-width: 700px) {
  .overview-disclaimer {
    font-size: 202.55px;
  }

  .selected-work-list a {
    gap: 16px;
  }
}

/* Version 28 refinements */
/* Increase only the vertical breathing room between entries in the homepage
   Selected Work list. Keep the number-to-leader-to-title spacing at its
   earlier value so the project ribbons above the book spreads are unchanged. */
.selected-work-list {
  gap: clamp(44px, 7.6vh, 88px);
}

.selected-work-list a {
  gap: clamp(10px, 1.1vw, 16.5px);
}

/* Increase the Portfolio Overview description by another seventy percent. */
.overview-disclaimer {
  font-size: clamp(344.34px, 27.1983vw, 416.42px);
}

@media (max-width: 700px) {
  .selected-work-list {
    gap: 44px;
  }

  .selected-work-list a {
    gap: 10px;
  }

  .overview-disclaimer {
    font-size: 344.34px;
  }
}

/* Version 29 refinements: tighten the number/title relationship in each
   white project ribbon, and reduce the vertical Selected Work rhythm by 20%.
   The Portfolio Overview description size is intentionally unchanged so the
   exact current CSS value can be reviewed before choosing a replacement. */
.chapter-kicker {
  gap: 10px;
}

.selected-work-list {
  gap: clamp(35.2px, 6.08vh, 70.4px);
}

@media (max-width: 700px) {
  .chapter-kicker {
    gap: 7px;
  }

  .selected-work-list {
    gap: 35px;
  }
}

/* Version 32 refinement: use one explicit, predictable Portfolio Overview
   description size on desktop and mobile. */
.overview-disclaimer {
  font-size: 36px;
}

@media (max-width: 700px) {
  .overview-disclaimer {
    font-size: 36px;
  }
}

/* Version 31 refinements
   Move the Selected Work heading upward without changing the rest of the
   homepage rhythm, and double the space between that heading and its list. */
.selected-work-block {
  margin-top: clamp(97px, 14.784vh, 166px);
}

.selected-work-list {
  margin-top: 56px;
}

@media (max-width: 700px) {
  .selected-work-block {
    margin-top: 97px;
  }

  .selected-work-list {
    margin-top: 56px;
  }
}

/* Version 34 refinement: match the Portfolio Overview heading size to HOME. */
.overview-copy h2 {
  font-size: 13px;
}

@media (max-width: 700px) {
  .overview-copy h2 {
    font-size: 11px;
  }
}

/* Version 35 refinement: match Portfolio Overview tracking to HOME. */
.overview-copy h2 {
  letter-spacing: .16em;
}


/* Version 36 refinement */
/* Reduce the private-review prompt by 20 percent while preserving its layout. */
.password-message {
  font-size: clamp(14.4px, 1.6vw, 21.6px);
}
