:root {
  --bg: #0d0e12;
  --bg-soft: #14151b;
  --surface: #191a21;
  --text: #f5f2eb;
  --muted: #aaa9b0;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.26);
  --mint: #70e1d1;
  --coral: #ff766b;
  --gold: #f2c96d;
  --lavender: #bca8ff;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(112, 225, 209, 0.035), transparent 32%),
    linear-gradient(215deg, rgba(255, 118, 107, 0.035), transparent 36%),
    linear-gradient(180deg, #0f1015 0%, #0a0b0e 48%, #101116 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

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

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

p,
h1,
h2,
h3,
figure {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--text);
  color: #111216;
  font-weight: 800;
}

.skip-link:focus {
  top: 14px;
}

.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 14, 18, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 64px));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto auto auto;
  align-items: center;
  gap: 20px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  font-weight: 780;
}

.brand-name {
  color: #f5f2eb;
  font-size: 1rem;
  font-weight: 820;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #d0cfd4;
  font-size: 0.86rem;
  font-weight: 700;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 34px);
  padding: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
}

.language-switch--desktop {
  justify-self: end;
}

.language-switch button {
  width: 34px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #aaa9b0;
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease;
}

.language-switch button:hover {
  color: var(--text);
}

.language-switch button[aria-pressed="true"] {
  background: var(--text);
  color: #111216;
}

.nav-links a,
.nav-contact,
.footer-links a,
.footer-bottom a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--mint);
}

.nav-contact {
  justify-self: end;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
}

.nav-contact:hover,
.nav-contact[aria-current="page"] {
  border-color: var(--mint);
  color: var(--mint);
}

.mobile-nav {
  display: none;
  position: relative;
  justify-self: end;
}

.mobile-nav summary {
  cursor: pointer;
  list-style: none;
  padding: 8px 0;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-panel {
  position: absolute;
  top: 48px;
  right: 0;
  width: 230px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #15161b;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.mobile-nav-panel a {
  display: block;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 720;
}

.mobile-nav-panel a:last-of-type {
  border-bottom: 0;
}

.language-switch--mobile {
  width: 100%;
  margin-top: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.language-switch--mobile button {
  width: 100%;
  height: 38px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(125deg, rgba(112, 225, 209, 0.13), transparent 38%),
    linear-gradient(235deg, rgba(255, 118, 107, 0.16), transparent 42%),
    linear-gradient(155deg, #11131a 0%, #1d1621 52%, #102022 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 63%, rgba(242, 201, 109, 0.08) 63% 64%, transparent 64% 100%),
    linear-gradient(24deg, transparent 0 72%, rgba(188, 168, 255, 0.07) 72% 73%, transparent 73% 100%);
}

.hero-layout {
  position: relative;
  min-height: calc(100svh - 112px);
  padding: 96px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 72px;
  align-items: center;
}

.eyebrow,
.section-label {
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 28px;
}

.hero h1 {
  margin-bottom: 28px;
  font-size: 104px;
  line-height: 0.9;
  font-weight: 850;
}

.hero h1 > span {
  display: block;
}

.hero h1 > span:last-child {
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
  color: transparent;
  background: linear-gradient(90deg, var(--mint), #e5f8f2 44%, var(--gold));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero h1 .hero-cedilla {
  position: relative;
  z-index: 1;
  color: #f4dfa0;
  -webkit-text-fill-color: #f4dfa0;
}

.hero-role {
  margin-bottom: 10px;
  color: #f7f4ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.3;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 30px;
  color: #bab9c0;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
}

.button-light {
  border-color: var(--text);
  background: var(--text);
  color: #101116;
}

.button-light:hover {
  border-color: var(--mint);
  background: var(--mint);
}

.text-link {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.88rem;
  font-weight: 820;
}

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

.hero-art {
  min-height: 520px;
  padding-left: 52px;
  border-left: 1px solid var(--line);
  display: grid;
  align-items: center;
}

.hero-index {
  width: 100%;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.hero-index div {
  min-height: 76px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, background 180ms ease;
}

.hero-index div:last-child {
  border-bottom: 0;
}

.hero-index div:hover {
  padding: 0 14px;
  background: linear-gradient(90deg, rgba(112, 225, 209, 0.08), rgba(255, 118, 107, 0.05));
}

.hero-index span {
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 850;
}

.hero-index strong {
  color: #f3f0ea;
  font-size: 1rem;
  font-weight: 760;
}

@media (max-width: 760px) {
  .hero-index div {
    min-height: 62px;
    grid-template-columns: 48px minmax(0, 1fr);
  }
}

.hero-showcase {
  width: 100%;
  height: 490px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 272px 206px;
  gap: 12px;
}

.showcase-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: #171920;
  transition: transform 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.showcase-tile:hover,
.showcase-tile:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(112, 225, 209, 0.54);
  filter: saturate(1.08);
  outline: none;
}

.showcase-tile > strong,
.showcase-kicker {
  position: absolute;
  z-index: 3;
  left: 16px;
  right: 16px;
}

.showcase-kicker {
  top: 14px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.showcase-tile > strong {
  bottom: 15px;
  color: #f7f4ee;
  font-size: 0.94rem;
  line-height: 1.15;
  font-weight: 800;
}

.showcase-web {
  grid-column: 1 / 8;
  grid-row: 1;
  background:
    linear-gradient(140deg, rgba(112, 225, 209, 0.18), transparent 48%),
    linear-gradient(225deg, rgba(188, 168, 255, 0.17), transparent 54%),
    #151821;
}

.web-window {
  position: absolute;
  left: 17px;
  right: 17px;
  top: 52px;
  height: 144px;
  padding: 42px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  background: rgba(8, 11, 16, 0.55);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.web-window i {
  position: absolute;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.web-window i:nth-child(1) { left: 16px; }
.web-window i:nth-child(2) { left: 29px; background: var(--gold); }
.web-window i:nth-child(3) { left: 42px; background: var(--mint); }

.web-window b {
  display: block;
  height: 7px;
  margin-bottom: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(112, 225, 209, 0.72), rgba(255, 255, 255, 0.13));
}

.web-window b:nth-of-type(1) { width: 78%; }
.web-window b:nth-of-type(2) { width: 54%; }
.web-window b:nth-of-type(3) { width: 66%; }

.showcase-books {
  grid-column: 8 / 13;
  grid-row: 1;
  background: linear-gradient(150deg, #261927, #171a21 62%, #162528);
}

.showcase-book-pair {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50px;
  height: 158px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-book-pair img {
  width: 112px;
  max-width: 62%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
  transform: rotate(-6deg);
}

.showcase-book-pair img + img {
  margin-left: -34px;
  transform: rotate(7deg) translateY(8px);
}

.showcase-photo {
  grid-column: 1 / 6;
  grid-row: 2;
}

.showcase-media {
  grid-column: 6 / 13;
  grid-row: 2;
}

.showcase-photo > img,
.showcase-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-photo > img {
  object-position: center;
}

.showcase-media > img {
  object-position: center 54%;
}

.showcase-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 10, 0.92), transparent 65%);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: #aaa9b0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  margin-bottom: 30px;
}

.section h2 {
  margin-bottom: 26px;
  font-size: 56px;
  line-height: 1.03;
  font-weight: 780;
}

.intro-section {
  background: rgba(255, 255, 255, 0.015);
}

.intro-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 70px;
}

.intro-grid h2 {
  max-width: 900px;
}

.intro-text {
  max-width: 840px;
  color: #c1c0c6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.55;
}

.profile-facts {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-facts div {
  min-height: 118px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.profile-facts div:first-child {
  padding-left: 0;
}

.profile-facts div:last-child {
  border-right: 0;
}

.profile-facts strong,
.profile-facts span {
  display: block;
}

.profile-facts strong {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}

.profile-facts span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 58px;
}

.projects-section {
  background: #0b0c10;
}

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

.project-row {
  min-height: 104px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 230px 36px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding 180ms ease;
}

.project-row:hover,
.project-row:focus-visible {
  padding: 0 18px;
  background: linear-gradient(90deg, rgba(112, 225, 209, 0.1), rgba(188, 168, 255, 0.06), rgba(255, 118, 107, 0.08));
  outline-offset: 0;
}

.project-number {
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 850;
}

.project-name {
  font-size: 27px;
  font-weight: 760;
}

.project-category {
  color: var(--muted);
  font-size: 0.88rem;
}

.project-arrow {
  color: var(--mint);
  font-size: 22px;
  text-align: right;
}

.section-link {
  display: inline-flex;
  gap: 12px;
  margin-top: 34px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.9rem;
  font-weight: 820;
}

.section-link:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.books-section {
  background:
    linear-gradient(120deg, rgba(242, 201, 109, 0.12), transparent 34%),
    linear-gradient(230deg, rgba(255, 118, 107, 0.16), transparent 44%),
    linear-gradient(145deg, #15141b, #211522 58%, #132126);
}

.books-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 90px;
}

.books-copy h2 {
  max-width: 620px;
}

.books-copy > p {
  max-width: 560px;
  color: #c4c1c6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.book-links {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
}

.book-links a {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(242, 201, 109, 0.52);
  font-size: 0.88rem;
  font-weight: 820;
}

.book-links a:hover {
  color: var(--gold);
}

.book-covers {
  min-height: 520px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 26px;
  perspective: 1100px;
}

.book-covers a {
  --book-y: 0px;
  --book-tilt: 0deg;
  --book-turn: 0deg;
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  background: #111319;
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.42);
  transform: translateY(var(--book-y)) rotate(var(--book-tilt));
  transform-style: preserve-3d;
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    box-shadow 360ms ease;
  will-change: transform;
}

.book-covers a:first-child {
  --book-y: -18px;
  --book-tilt: -1.4deg;
  --book-turn: 5deg;
}

.book-covers a:last-child {
  --book-y: 18px;
  --book-tilt: 1.4deg;
  --book-turn: -5deg;
}

.book-covers a:hover,
.book-covers a:focus-visible {
  z-index: 2;
  border-color: rgba(242, 201, 109, 0.78);
  box-shadow: 0 42px 92px rgba(0, 0, 0, 0.58), 0 0 34px rgba(242, 201, 109, 0.12);
  transform: translateY(calc(var(--book-y) - 16px)) rotate(0deg) rotateY(var(--book-turn)) scale(1.035);
}

.book-covers a::after {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 255, 255, 0.24) 50%, transparent 58%);
  transform: translateX(-72%);
  transition: transform 620ms ease;
}

.book-covers a:hover::after,
.book-covers a:focus-visible::after {
  transform: translateX(72%);
}

.book-covers img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: filter 320ms ease, transform 420ms ease;
}

.book-covers a:hover img,
.book-covers a:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.025);
}

.photography-section {
  background: #0e0f13;
}

.photo-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.photo-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.photo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-bottom: 8px;
}

.photo-links a {
  color: #d6d4d7;
  font-size: 0.86rem;
  font-weight: 800;
}

.photo-links a:hover {
  color: var(--mint);
}

.playing-deck {
  position: relative;
  height: 610px;
  margin-top: 10px;
  isolation: isolate;
  perspective: 1400px;
}

.playing-card {
  --x: 0px;
  --y: 0px;
  --r: 0deg;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  overflow: hidden;
  background: #17181d;
  color: #f7f4ee;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r));
  transform-origin: 50% 100%;
  transition: transform 260ms ease, box-shadow 260ms ease, filter 220ms ease, opacity 220ms ease;
  will-change: transform;
}

.playing-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 44%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 7, 10, 0.94), rgba(6, 7, 10, 0.54) 46%, transparent);
}

.playing-card:nth-child(1) {
  --x: -165px;
  --y: 30px;
  --r: -15deg;
  z-index: 1;
}

.playing-card:nth-child(2) {
  --x: -58px;
  --y: 3px;
  --r: -6deg;
  z-index: 2;
}

.playing-card:nth-child(3) {
  --x: 58px;
  --y: 3px;
  --r: 6deg;
  z-index: 3;
}

.playing-card:nth-child(4) {
  --x: 165px;
  --y: 30px;
  --r: 15deg;
  z-index: 4;
}

.playing-card:hover,
.playing-card:focus-visible {
  z-index: 20;
  outline: none;
  box-shadow: 0 44px 90px rgba(0, 0, 0, 0.58);
  transform: translate(-50%, -50%) translate(var(--x), calc(var(--y) - 78px)) rotate(0deg) scale(1.055);
}

.playing-deck:has(.playing-card:hover) .playing-card:not(:hover),
.playing-deck:has(.playing-card:focus-visible) .playing-card:not(:focus-visible) {
  opacity: 0.58;
  filter: saturate(0.62) brightness(0.72);
}

.card-photo {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #17181d;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.playing-card:nth-child(1) .card-photo img {
  object-position: center 52%;
}

.playing-card:nth-child(2) .card-photo img {
  object-position: center 58%;
}

.playing-card:hover .card-photo img,
.playing-card:focus-visible .card-photo img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.card-info {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px 20px 18px;
}

.card-info strong,
.card-info small {
  display: block;
}

.card-info strong {
  overflow: hidden;
  font-size: 20px;
  line-height: 1.12;
  font-weight: 790;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-info small {
  margin-top: 5px;
  color: #d2d0d3;
  font-size: 0.68rem;
  font-weight: 750;
}

.ny-project {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(112, 225, 209, 0.16), transparent 37%),
    linear-gradient(238deg, rgba(255, 118, 107, 0.2), transparent 42%),
    linear-gradient(135deg, #14252b, #2e192b 56%, #352b1a);
}

.ny-project::after {
  content: "NYC";
  position: absolute;
  right: -30px;
  bottom: -86px;
  color: rgba(255, 255, 255, 0.045);
  font-size: 250px;
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
}

.ny-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: 80px;
}

.ny-project h2 {
  margin-bottom: 0;
  font-size: 82px;
  line-height: 0.92;
}

.ny-note {
  padding-left: 24px;
  border-left: 2px solid var(--coral);
}

.ny-note span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.ny-note p {
  color: #d1ced1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.engagement-section {
  background: #0b0c10;
}

.engagement-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 70px;
}

.engagement-items {
  border-top: 1px solid var(--line-strong);
}

.engagement-items article {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 30px;
}

.engagement-items article > span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.engagement-items h3 {
  max-width: 760px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.42;
  font-weight: 500;
}

.engagement-items article a {
  grid-column: 2;
  width: fit-content;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--mint);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-section {
  background:
    linear-gradient(110deg, rgba(188, 168, 255, 0.1), transparent 35%),
    linear-gradient(250deg, rgba(112, 225, 209, 0.1), transparent 38%),
    #14151a;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 80px;
  align-items: end;
}

.contact-layout h2 {
  margin-bottom: 16px;
}

.contact-layout p {
  color: var(--muted);
}

.contact-channels {
  padding-bottom: 8px;
}

.email-link {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  overflow-wrap: anywhere;
}

.contact-channels > div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.contact-channels > div a {
  color: #d3d1d5;
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-channels a:hover {
  color: var(--coral);
}

.site-footer {
  position: relative;
  padding: 0;
  background: #08090c;
}

.site-footer::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint) 34%, var(--gold) 68%, transparent);
  opacity: 0.42;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 46px;
}

.footer-name {
  font-size: 20px;
  font-weight: 820;
}

.footer-main p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  color: #d0ced2;
  font-size: 0.84rem;
  font-weight: 760;
}

.footer-bottom {
  min-height: 76px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #929198;
  font-size: 0.78rem;
}

.footer-top-link {
  color: #d9d7d2;
  font-weight: 760;
}

.footer-top-link span {
  display: inline-block;
  margin-left: 5px;
  color: var(--mint);
  transition: transform 160ms ease;
}

.footer-top-link:hover span {
  transform: translateY(-2px);
}

.footer-bottom div {
  display: flex;
  gap: 22px;
}

/* Inner pages */
.subpage-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 82px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(125deg, rgba(112, 225, 209, 0.11), transparent 38%),
    linear-gradient(235deg, rgba(255, 118, 107, 0.12), transparent 45%),
    linear-gradient(145deg, #12141b, #1b151e 58%, #111b1d);
}

.subpage-hero h1,
.page-hero h1 {
  max-width: 960px;
  margin-bottom: 24px;
  font-size: 72px;
  line-height: 0.98;
}

.page-copy,
.subpage-intro {
  max-width: 760px;
  color: #c1c0c6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.inner-section {
  padding: 92px 0 112px;
  border-bottom: 1px solid var(--line);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.field-item {
  min-height: 250px;
  padding: 34px 36px 34px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.field-item:nth-child(even) {
  padding-left: 36px;
  border-right: 0;
}

.field-item .field-number {
  display: block;
  margin-bottom: 42px;
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 850;
}

.field-item h2,
.field-item h3 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.12;
}

.field-item p {
  max-width: 520px;
  color: var(--muted);
}

.field-item a {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--mint);
  font-size: 0.84rem;
  font-weight: 800;
}

.inner-project-list .project-row {
  min-height: 112px;
}

.inner-project-list .project-name {
  font-size: 25px;
}

.inner-project-list .project-category {
  text-align: left;
}

.feature-rows {
  border-top: 1px solid var(--line-strong);
}

.feature-row-clean {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 28px;
}

.feature-row-clean > span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
}

.feature-row-clean h2,
.feature-row-clean h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.feature-row-clean p {
  max-width: 720px;
  color: var(--muted);
}

.support-note {
  margin-top: 70px;
  padding: 36px 0 0 250px;
  border-top: 1px solid var(--line-strong);
}

.support-note h2 {
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.3;
  font-weight: 500;
}

.support-note p {
  max-width: 720px;
  color: var(--muted);
}

.support-note a {
  display: inline-block;
  margin-top: 18px;
  color: var(--mint);
  font-weight: 800;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
  gap: 80px;
}

.contact-page-grid h2 {
  margin-bottom: 14px;
  font-size: 44px;
  line-height: 1.05;
}

.contact-page-grid p {
  color: var(--muted);
}

.contact-list-clean {
  border-top: 1px solid var(--line-strong);
}

.contact-list-clean a {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 760;
}

.contact-list-clean a span {
  color: var(--mint);
}

.contact-list-clean a:hover {
  color: var(--coral);
}

.legal-copy {
  max-width: 820px;
}

.legal-copy section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-copy h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.legal-copy p {
  color: var(--muted);
}

.status-page {
  min-height: calc(100svh - 250px);
  display: grid;
  align-items: center;
}

.status-code {
  margin-bottom: 20px;
  color: transparent;
  background: linear-gradient(90deg, var(--mint), var(--lavender), var(--coral));
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 112px;
  line-height: 0.8;
  font-weight: 900;
}

.status-word {
  font-size: 72px;
}

.status-page h1 {
  margin-bottom: 16px;
  font-size: 54px;
  line-height: 1;
}

.status-page p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.status-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 1040px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .nav-contact,
  .language-switch--desktop {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 44px;
  }

  .hero h1 {
    font-size: 78px;
  }

  .hero-art {
    min-height: 440px;
    padding-left: 36px;
  }

  .hero-showcase {
    height: 440px;
    grid-template-rows: 244px 184px;
  }

  .web-window {
    height: 122px;
  }

  .showcase-book-pair {
    height: 135px;
  }

  .intro-grid,
  .engagement-grid {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 46px;
  }

  .section h2 {
    font-size: 48px;
  }

  .books-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .book-covers {
    width: min(760px, 100%);
    min-height: 0;
  }

  .playing-deck {
    height: 560px;
  }

  .playing-card {
    width: 280px;
    height: 420px;
  }

  .playing-card:nth-child(1) {
    --x: -132px;
  }

  .playing-card:nth-child(2) {
    --x: -46px;
  }

  .playing-card:nth-child(3) {
    --x: 46px;
  }

  .playing-card:nth-child(4) {
    --x: 132px;
  }

  .card-photo {
    height: 290px;
  }

  .contact-layout,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

@media (max-width: 760px) {
  .wrap,
  .nav-shell {
    width: min(100% - 36px, var(--max));
  }

  .nav-shell {
    min-height: 66px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .hero-layout {
    min-height: auto;
    padding: 72px 0 62px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-role {
    font-size: 22px;
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-art {
    min-height: auto;
    padding: 36px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-showcase {
    height: 430px;
    grid-template-rows: 236px 182px;
    gap: 10px;
  }

  .showcase-tile > strong,
  .showcase-kicker {
    left: 12px;
    right: 12px;
  }

  .showcase-web {
    grid-column: 1 / 8;
  }

  .showcase-books {
    grid-column: 8 / 13;
  }

  .web-window {
    left: 12px;
    right: 12px;
    height: 116px;
  }

  .showcase-book-pair {
    left: 8px;
    right: 8px;
    height: 126px;
  }

  .showcase-book-pair img {
    width: 92px;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .section h2 {
    font-size: 39px;
  }

  .intro-grid,
  .engagement-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .intro-text {
    font-size: 21px;
  }

  .profile-facts {
    grid-template-columns: 1fr;
  }

  .profile-facts div,
  .profile-facts div:first-child {
    min-height: 92px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .profile-facts div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .project-row {
    min-height: 96px;
    padding: 18px 0;
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .project-row:hover,
  .project-row:focus-visible {
    padding: 0 8px;
  }

  .project-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 20px;
  }

  .project-category {
    grid-column: 2;
    grid-row: 2;
    margin-top: -8px;
    font-size: 0.78rem;
  }

  .project-number {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .project-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .book-covers {
    gap: 12px;
  }

  .books-copy > p {
    font-size: 19px;
  }

  .photo-heading {
    display: block;
  }

  .photo-links {
    margin-top: 26px;
  }

  .playing-deck {
    height: 440px;
  }

  .playing-card {
    top: 52%;
    width: 220px;
    height: 330px;
  }

  .playing-card:nth-child(1) {
    --x: -62px;
    --y: 18px;
    --r: -10deg;
  }

  .playing-card:nth-child(2) {
    --x: -22px;
    --y: 2px;
    --r: -4deg;
  }

  .playing-card:nth-child(3) {
    --x: 22px;
    --y: 2px;
    --r: 4deg;
  }

  .playing-card:nth-child(4) {
    --x: 62px;
    --y: 18px;
    --r: 10deg;
  }

  .playing-card:hover,
  .playing-card:focus-visible {
    transform: translate(-50%, -50%) translate(var(--x), calc(var(--y) - 46px)) rotate(0deg) scale(1.025);
  }

  .card-info {
    min-height: 82px;
    padding: 34px 14px 13px;
  }

  .card-info strong {
    font-size: 16px;
  }

  .ny-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .ny-project h2 {
    font-size: 58px;
  }

  .ny-project::after {
    font-size: 150px;
    bottom: -42px;
  }

  .engagement-items article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .engagement-items h3 {
    font-size: 21px;
  }

  .engagement-items article a {
    grid-column: 1;
  }

  .email-link {
    font-size: 22px;
  }

  .footer-main,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom {
    gap: 12px;
  }

  .subpage-hero,
  .page-hero {
    padding: 76px 0 60px;
  }

  .subpage-hero h1,
  .page-hero h1 {
    font-size: 48px;
  }

  .page-copy,
  .subpage-intro {
    font-size: 19px;
  }

  .inner-section {
    padding: 68px 0 82px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .field-item,
  .field-item:nth-child(even) {
    min-height: auto;
    padding: 30px 0;
    border-right: 0;
  }

  .field-item .field-number {
    margin-bottom: 24px;
  }

  .support-note {
    margin-top: 52px;
    padding: 30px 0 0;
  }

  .support-note h2 {
    font-size: 27px;
  }

  .feature-row-clean {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
  }

  .status-code {
    font-size: 82px;
  }

  .status-word {
    font-size: 54px;
  }

  .status-page h1 {
    font-size: 42px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 50px;
  }

  .hero-showcase {
    height: 412px;
    grid-template-rows: 226px 174px;
  }

  .showcase-tile > strong {
    font-size: 0.8rem;
  }

  .showcase-kicker {
    font-size: 0.62rem;
  }

  .section h2 {
    font-size: 35px;
  }

  .status-word {
    font-size: 43px;
  }

  .project-name {
    font-size: 18px;
  }

  .book-links,
  .contact-channels > div,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .ny-project h2 {
    font-size: 49px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
