:root {
  --paper: #dceaf5;
  --paper-2: #c8dcec;
  --paper-3: #b6cee1;
  --ink: #101b24;
  --ink-soft: #263845;
  --muted: #4f6676;
  --line: rgba(16, 27, 36, 0.14);
  --line-strong: rgba(16, 27, 36, 0.28);
  --accent: #1e5f7a;
  --accent-soft: #a9c9dc;
  --white: #ffffff;
  --header-h: 78px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgba(16, 27, 36, 0.055) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
}

img,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(1440px, calc(100% - 80px));
  margin-inline: auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.button--disabled,
.button:disabled {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(220, 234, 245, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-h);
}

.header__lead {
  display: flex;
  align-items: flex-end;
  flex: 1 1 auto;
  gap: clamp(14px, 2vw, 30px);
  min-width: 0;
}

.header-context {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-context a,
.header-context span {
  min-width: 0;
}

.header-context a,
.header-context__current {
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-context a {
  transition: color 0.2s ease;
}

.header-context a:hover {
  color: var(--accent);
}

.header-context__current {
  color: var(--ink);
}

.header-context__sep {
  flex: 0 0 auto;
  color: var(--line-strong);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 0;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.12em;
  line-height: 1;
}

.brand__mark {
  font-weight: 700;
}

.brand__word {
  font-weight: 400;
  opacity: 0.72;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover {
  color: var(--accent);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-toggle__icon,
.nav-toggle__icon::before {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
}

.site-header.is-open .nav-toggle__icon {
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle__icon::before {
  transform: translateY(-6px) rotate(-90deg);
}

/* Hero */

.hero {
  padding: clamp(54px, 9vh, 120px) 0 clamp(64px, 11vh, 150px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
}

.hero__text {
  padding-bottom: clamp(0px, 3vw, 46px);
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 6.4vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.hero__lead {
  max-width: 46ch;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.17rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-top: 38px;
}

.hero__figure {
  position: relative;
  margin: 0;
}

.hero__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero__figure::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid var(--line-strong);
}

.hero__figure picture {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.hero__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.hero__figure:hover .hero__img {
  transform: scale(1.025);
}

.hero__figure figcaption {
  margin-top: 14px;
  padding-left: 26px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Sections */

.section {
  padding: clamp(72px, 10vw, 150px) 0;
}

.section--tight {
  padding-top: clamp(40px, 5vw, 72px);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-head h2,
.about__title h2,
.cta h2,
.next-theme a {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.4vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.section-head > p:last-child {
  max-width: 52ch;
  margin: 24px 0 0;
  color: var(--ink-soft);
}

.section-head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section-head--row > p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Theme tiles */

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 34px);
  align-items: stretch;
}

.theme-tile {
  position: relative;
  display: block;
  /* Safari collapses a grid item with only absolute children to zero width. */
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}

.theme-tile::before {
  content: "";
  display: block;
  padding-top: 133.3333%;
}

.theme-tile__media {
  position: absolute;
  inset: 0;
}

.theme-tile__media picture {
  width: 100%;
  height: 100%;
}

.theme-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03);
  transition: transform 1.1s var(--ease), filter 0.6s ease;
}

.theme-tile__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8, 20, 29, 0.04), rgba(8, 20, 29, 0.04)),
    linear-gradient(to top, rgba(8, 20, 29, 0.94) 0%, rgba(8, 20, 29, 0.52) 36%, rgba(8, 20, 29, 0.02) 72%),
    linear-gradient(to bottom, rgba(8, 20, 29, 0.28), transparent 32%);
}

.theme-tile--01 .theme-tile__shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 29, 0.1);
  pointer-events: none;
}

.theme-tile__body {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(20px, 3vw, 40px);
  transition: transform 0.5s var(--ease);
}

.theme-tile__number {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.theme-tile h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 3.7vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.96;
}

.theme-tile p {
  max-width: 33ch;
  margin: 18px 0 0;
  color: rgba(220, 234, 245, 0.78);
  font-size: 1.12rem;
  line-height: 1.48;
}

.theme-tile__count {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(220, 234, 245, 0.42);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.theme-tile:hover .theme-tile__img,
.theme-tile:focus-visible .theme-tile__img {
  transform: scale(1.045);
  filter: saturate(0.95) contrast(1);
}

.theme-tile:hover .theme-tile__body,
.theme-tile:focus-visible .theme-tile__body {
  transform: translateY(-6px);
}

.theme-tile:hover .theme-tile__count,
.theme-tile:focus-visible .theme-tile__count {
  color: var(--accent-soft);
  border-color: var(--accent-soft);
}

/* About */

.section--about {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 8vw, 140px);
  align-items: start;
}

.about__title h2 {
  max-width: 7ch;
}

.about__text {
  max-width: 62ch;
}

.about__text p {
  margin: 0 0 1.1em;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.about__text .text-link {
  margin-top: 16px;
}

/* CTA */

.section--cta {
  padding-top: clamp(80px, 12vw, 180px);
  padding-bottom: clamp(80px, 12vw, 180px);
  text-align: center;
}

.cta {
  max-width: 900px;
}

.cta .kicker {
  justify-content: center;
}

.cta h2 {
  max-width: 15ch;
  margin-inline: auto;
  font-size: clamp(2.5rem, 5.6vw, 6rem);
}

.cta > p:not(.kicker) {
  max-width: 48ch;
  margin: 24px auto 34px;
  color: var(--ink-soft);
}

/* Page head */

.page-head {
  padding: clamp(64px, 8vw, 110px) 0 clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7.2vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.page-head__lead {
  max-width: 58ch;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.page-head__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-head__meta a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-head__meta a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Breadcrumbs */

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.breadcrumbs a {
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

/* Work cards */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 56px) clamp(18px, 2.4vw, 32px);
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card__link {
  display: block;
}

.card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.9s var(--ease), filter 0.3s ease;
}

.card--adult .card__img {
  filter: blur(18px);
  transform: scale(1.06);
}

html.age-ok .card--adult .card__img {
  filter: none;
  transform: none;
}

.card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  padding: clamp(22px, 2.6vw, 34px);
  background: linear-gradient(
    to top,
    rgba(220, 234, 245, 0.98) 0%,
    rgba(220, 234, 245, 0.94) 36%,
    rgba(220, 234, 245, 0.58) 68%,
    rgba(220, 234, 245, 0.08) 100%
  );
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.card__overlay p {
  max-width: 32ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 1.45;
}

.card__overlay > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.card:hover .card__img,
.card__link:focus-visible .card__img {
  transform: scale(1.035);
}

.card:hover .card__overlay,
.card__link:focus-visible .card__overlay {
  opacity: 1;
  transform: none;
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 7px 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.badge--adult {
  padding: 9px 11px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.badge--stacked {
  top: 48px;
}

.card__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--line);
}

.card__caption h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.65vw, 1.58rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.card__caption span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.card__buy {
  align-self: flex-start;
  margin-top: 10px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color 0.2s ease;
}

.card__buy:hover {
  border-color: var(--accent);
}

.card__buy--muted {
  color: var(--muted);
  pointer-events: none;
}

/* Work page */

.work {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  padding-top: clamp(18px, 2.4vw, 30px);
  padding-bottom: clamp(70px, 9vw, 130px);
}

.work__media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}

.work__badge {
  top: 14px;
  right: auto;
  left: 14px;
}

.work__zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper-2);
  cursor: zoom-in;
  box-shadow: 0 34px 80px -50px rgba(0, 0, 0, 0.55);
}

.work__img {
  width: 100%;
  max-height: calc(100vh - var(--header-h) - 68px);
  max-height: calc(100svh - var(--header-h) - 68px);
  object-fit: contain;
  margin-inline: auto;
}

.work__hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.work__info {
  padding-top: 0;
}

.work__info h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.work__lead {
  max-width: 42ch;
  margin: 20px 0 28px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.4;
}

.work__text p {
  max-width: 56ch;
  margin: 0 0 1.1em;
  color: var(--ink-soft);
}

.work__theses {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.work__theses ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.work__theses li {
  position: relative;
  padding: 11px 0 11px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.work__theses li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.work__buy {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.micro {
  max-width: 42ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.work__status {
  margin: 14px 0 0;
  color: var(--accent);
  font-size: 0.9rem;
}

/* Interiors */

.section--interiors {
  border-top: 1px solid var(--line);
}

.interior-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.interior {
  margin: 0;
}

.interior picture {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.interior__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.9s var(--ease);
}

.interior:hover .interior__img {
  transform: scale(1.025);
}

.interior figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* More works, next theme, pager */

.section--more {
  border-top: 1px solid var(--line);
}

.work-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section--next {
  padding-top: clamp(40px, 5vw, 70px);
  padding-bottom: clamp(60px, 8vw, 110px);
  border-top: 1px solid var(--line);
}

.next-theme {
  padding-top: 24px;
}

.next-theme a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  transition: color 0.25s ease;
}

.next-theme a:hover {
  color: var(--accent);
}

.pager {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 0 90px;
  border-top: 1px solid var(--line);
}

.pager__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 42%;
}

.pager__link--next {
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
}

.pager__label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pager__title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color 0.2s ease;
}

.pager__link:hover .pager__title {
  color: var(--accent);
}

/* 404 */

.not-found {
  min-height: 60vh;
  padding: clamp(80px, 12vw, 170px) 0;
}

.not-found h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.not-found p:not(.kicker) {
  max-width: 48ch;
  margin: 24px 0 34px;
  color: var(--ink-soft);
}

/* Footer */

.site-footer {
  padding: clamp(56px, 8vw, 100px) 0 30px;
  background: var(--ink);
  color: var(--paper);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(42px, 6vw, 72px);
  border-bottom: 1px solid rgba(220, 234, 245, 0.16);
}

.footer__wordmark {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: 0.08em;
  line-height: 1;
}

.footer__note,
.footer__text {
  max-width: 32ch;
  margin: 0;
  color: rgba(220, 234, 245, 0.58);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer__label {
  margin: 4px 0 20px;
  color: var(--accent-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer__nav a {
  display: block;
  margin-bottom: 10px;
  color: rgba(220, 234, 245, 0.72);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--paper);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: rgba(220, 234, 245, 0.42);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__bottom p {
  margin: 0;
}

.footer__adult {
  max-width: 46ch;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: none;
}

/* Age gate */

html.age-pending body {
  overflow: hidden;
}

html.age-pending body > :not(.age-gate) {
  display: none !important;
}

.age-gate {
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.age-gate::backdrop {
  background: rgba(6, 14, 20, 0.82);
  backdrop-filter: blur(4px);
}

.age-gate__card {
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.age-gate__mark {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  min-height: 54px;
  margin: 0 0 20px;
  padding: 0 10px;
  border: 1px solid var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.age-gate h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.age-gate__text {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.age-gate__decline {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.age-gate__decline:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Lightbox */

.lightbox {
  width: 100%;
  max-width: 96vw;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(6, 14, 20, 0.94);
}

.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.lightbox__badge {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
}

.lightbox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(220, 234, 245, 0.4);
  border-radius: 50%;
  background: rgba(16, 27, 36, 0.6);
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__close:hover {
  background: var(--accent);
}

body.is-lightbox-open {
  overflow: hidden;
}

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1080px) {
  .container {
    width: calc(100% - 56px);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero__text {
    max-width: 760px;
    padding-bottom: 0;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .hero__figure {
    width: min(560px, 100%);
    margin-left: auto;
  }

  .work-grid,
  .work-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work {
    grid-template-columns: 1fr;
  }

  .work__media {
    position: static;
    width: min(720px, 100%);
    margin-inline: auto;
  }

  .work__info {
    padding-top: 12px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }

  .header__inner {
    gap: 16px;
    min-height: var(--header-h);
  }

  .header__lead {
    gap: 12px;
  }

  .header-context {
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    padding: 0 28px;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    background: var(--paper);
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.35s var(--ease), padding 0.35s var(--ease), border-color 0.35s ease, visibility 0.35s;
  }

  .site-header.is-open .nav {
    max-height: 300px;
    padding: 18px 28px 28px;
    border-bottom-color: var(--line);
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .theme-grid {
    grid-template-columns: 1fr;
  }

  .section-head--row {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head--row > p {
    max-width: 46ch;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__title h2 {
    max-width: none;
  }

  .pager {
    padding-bottom: 64px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }

  .header-context__theme,
  .header-context__theme + .header-context__sep {
    display: none;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 4.4rem);
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__figure::before {
    inset: 12px -12px -12px 12px;
  }

  .theme-tile h3 {
    font-size: clamp(2.2rem, 9vw, 3.1rem);
  }

  .theme-tile p {
    max-width: 34ch;
    font-size: 1.08rem;
  }

  .work-grid,
  .work-grid--three,
  .interior-grid {
    grid-template-columns: 1fr;
  }

  .page-head h1 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  .work__info h1 {
    font-size: clamp(2rem, 8.5vw, 3rem);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .age-gate__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .age-gate__actions .button {
    width: 100%;
  }

  .pager {
    flex-direction: column;
    gap: 24px;
  }

  .pager__link {
    max-width: 100%;
  }

  .pager__link--next {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
  }

  .section-head--row {
    gap: 20px;
  }

  .next-theme a {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

@media (hover: none) {
  .card__overlay {
    justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(
      to top,
      rgba(220, 234, 245, 0.98) 0%,
      rgba(220, 234, 245, 0.94) 42%,
      rgba(220, 234, 245, 0.58) 72%,
      rgba(220, 234, 245, 0.04) 100%
    );
    opacity: 1;
    transform: none;
  }

  .card__overlay p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 1.1rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .card__overlay > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
