@font-face {
  font-family: "Ogg";
  src: url("./fonts/ogg-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Ogg";
  src: url("./fonts/ogg-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

:root {
  --ink: #0d0c0b;
  --ink-soft: #171412;
  --bone: #f7f1e8;
  --paper: #fffaf3;
  --muted: #7d746b;
  --line: rgba(33, 26, 21, 0.16);
  --line-light: rgba(255, 250, 243, 0.18);
  --wine: #76151d;
  --wine-deep: #4d0f15;
  --blush: #ead1c9;
  --gold: #c49b63;
  --serif: "Ogg", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Manrope", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 24px 70px rgba(13, 12, 11, 0.22);
  --shadow-soft: 0 14px 40px rgba(13, 12, 11, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

::selection {
  color: var(--paper);
  background: var(--wine);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 10px 0 16px;
  color: var(--paper);
  background: rgba(13, 12, 11, 0.56);
  border: 1px solid rgba(255, 250, 243, 0.16);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition:
    background 0.35s var(--ease-standard),
    border-color 0.35s var(--ease-standard),
    transform 0.35s var(--ease-standard);
}

.site-header.is-scrolled {
  background: rgba(13, 12, 11, 0.84);
  border-color: rgba(255, 250, 243, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1;
}

.brand strong {
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 400;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  opacity: 0.82;
  transition:
    opacity 0.25s var(--ease-standard),
    color 0.25s var(--ease-standard);
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  opacity: 1;
}

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

.nav-links .nav-cta {
  padding: 13px 16px;
  color: var(--paper);
  background: var(--wine);
  border: 1px solid rgba(255, 250, 243, 0.18);
  opacity: 1;
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
  transition:
    transform 0.35s var(--ease),
    opacity 0.25s var(--ease-standard);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease-standard),
    color 0.35s var(--ease-standard),
    border-color 0.35s var(--ease-standard);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--paper);
  background: var(--wine);
  border-color: var(--wine);
}

.button-secondary {
  color: var(--paper);
  background: rgba(13, 12, 11, 0.2);
  border-color: rgba(255, 250, 243, 0.48);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--wine-deep);
  border-color: var(--wine-deep);
}

.section-label {
  margin-bottom: 16px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-label::after {
  display: block;
  width: 46px;
  height: 1px;
  margin-top: 12px;
  content: "";
  background: currentColor;
}

.section-dark,
.section-ink {
  color: var(--paper);
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 94svh;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 23%;
  filter: contrast(1.05) saturate(0.92);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.82) 0%, rgba(8, 8, 7, 0.54) 36%, rgba(8, 8, 7, 0.12) 72%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.34), rgba(8, 8, 7, 0.62));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(860px, calc(100% - 40px));
  min-height: 94svh;
  padding: 132px 0 84px;
  margin-left: clamp(20px, 5.6vw, 88px);
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: rgba(255, 250, 243, 0.82);
  font-size: clamp(13px, 1.45vw, 17px);
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 1s var(--ease) 0.62s forwards;
}

.hero-roles span {
  width: 22px;
  height: 1px;
  background: rgba(255, 250, 243, 0.42);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(76px, 12vw, 176px);
  line-height: 0.82;
}

.reveal-line {
  display: block;
  overflow: hidden;
}

.reveal-line > span {
  display: block;
  transform: translateY(105%);
  animation: heroReveal 1.25s var(--ease) forwards;
}

.reveal-line:nth-child(2) > span {
  animation-delay: 0.16s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 1s var(--ease) 0.82s forwards;
}

.hero-index {
  position: absolute;
  z-index: 3;
  top: 33%;
  right: clamp(26px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255, 250, 243, 0.82);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.hero-index i {
  display: block;
  width: 1px;
  height: 120px;
  background: rgba(255, 250, 243, 0.5);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: rgba(255, 250, 243, 0.78);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 34px;
  background: currentColor;
  transform-origin: top;
  animation: scrollPulse 1.9s var(--ease-standard) infinite;
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.62fr);
  min-height: 56vh;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro-statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(62px, 9vw, 132px) clamp(22px, 6vw, 92px);
}

.intro-statement h2 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: clamp(44px, 6.6vw, 104px);
  line-height: 0.92;
}

.intro-statement p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.8;
}

.intro-image-wrap {
  min-height: 100%;
  overflow: hidden;
  border-left: 1px solid var(--line);
}

.intro-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 50% 20%;
}

.about-strip {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  min-height: 720px;
  border-bottom: 1px solid var(--line-light);
}

.about-media {
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--line-light);
}

.about-media img,
.identity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  align-self: center;
  max-width: 680px;
  padding: clamp(56px, 8vw, 112px);
}

.about-copy h2,
.section-heading h2,
.project-copy h2,
.character-title h2,
.measurements-header h2,
.identity-copy h2,
.site-footer h2 {
  margin-bottom: 28px;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.88;
}

.about-copy > p:not(.section-label),
.section-heading > p:not(.section-label),
.project-copy > p,
.character-title > p,
.identity-list p,
.footer-tagline {
  color: rgba(255, 250, 243, 0.72);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.8;
}

.about-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.about-notes span {
  padding: 11px 14px;
  color: rgba(255, 250, 243, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line-light);
}

.reel {
  padding: clamp(62px, 8vw, 118px) clamp(18px, 5vw, 82px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: end;
  max-width: 1220px;
  margin: 0 auto 54px;
}

.section-heading .section-label {
  grid-row: span 2;
  align-self: start;
}

.section-heading p:last-child {
  max-width: 440px;
  margin-bottom: 10px;
}

.reel-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(560px, 78vw, 820px);
  max-width: 1180px;
  padding: clamp(34px, 5vw, 76px);
  margin: 0 auto;
  background:
    linear-gradient(90deg, rgba(13, 12, 11, 0.2), rgba(13, 12, 11, 0.6)),
    url("https://assets.aanvikarmakar.com/9b48429c-c2d6-4c19-8ac5-3e5b440a8535.jpeg") center / cover;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.reel-frame::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(13, 12, 11, 0.48);
  pointer-events: none;
}

.reel-video {
  position: relative;
  z-index: 1;
  width: min(430px, 76vw);
  aspect-ratio: 9 / 16;
  background: #080807;
  object-fit: cover;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.reel-note {
  position: absolute;
  z-index: 1;
  top: 28px;
  color: rgba(255, 250, 243, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reel-note-left {
  left: 28px;
}

.reel-note-right {
  right: 28px;
}

.corner {
  position: absolute;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-color: rgba(255, 250, 243, 0.46);
}

.corner-top-left {
  top: 18px;
  left: 18px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.corner-top-right {
  top: 18px;
  right: 18px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.corner-bottom-left {
  bottom: 18px;
  left: 18px;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.corner-bottom-right {
  right: 18px;
  bottom: 18px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.work-section {
  color: var(--ink);
  background: var(--paper);
}

.work-header {
  padding: clamp(66px, 10vw, 128px) clamp(20px, 5vw, 78px) clamp(36px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.work-header h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.9;
}

.project-block {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.project-copy {
  position: sticky;
  top: 90px;
  align-self: start;
  min-height: 520px;
  padding: clamp(36px, 5vw, 78px);
  border-right: 1px solid var(--line);
}

.project-copy p:not(.section-label) {
  color: var(--muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-card {
  padding: clamp(18px, 2vw, 32px);
  border-right: 1px solid var(--line);
}

.catalog-card:last-child {
  border-right: 0;
}

.image-button {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
}

.catalog-card img,
.designer-media img,
.gallery-card img {
  width: 100%;
  object-fit: cover;
  transition:
    transform 0.8s var(--ease),
    filter 0.45s var(--ease-standard);
}

.catalog-card img {
  aspect-ratio: 0.72;
}

.catalog-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.catalog-title h3,
.designer-text h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 0.95;
}

.catalog-title span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.catalog-card p,
.designer-text p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.credits {
  max-width: 500px;
  color: rgba(13, 12, 11, 0.46) !important;
  font-size: 10px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6 !important;
}

.designer {
  display: block;
  padding: clamp(48px, 7vw, 96px) clamp(18px, 4.8vw, 72px);
  background: #f1e8de;
}

.designer .project-copy {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  min-height: 0;
  padding: 0 0 clamp(34px, 5vw, 58px);
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.designer .project-copy .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.designer .project-copy h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(58px, 8vw, 118px);
}

.designer .project-copy p:not(.section-label) {
  max-width: 420px;
  margin: 0 0 10px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.8;
}

.designer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4.8vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}

.designer-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.designer-media {
  display: grid;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.designer-media.wide .image-button {
  aspect-ratio: 16 / 10;
}

.designer-media.wide img {
  height: 100%;
  min-height: 0;
}

.designer-media.trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  background: transparent;
  border: 0;
}

.designer-media.trio .image-button {
  aspect-ratio: 0.72;
  border: 1px solid var(--line);
}

.designer-media.trio .image-button:last-child {
  border-right: 1px solid var(--line);
}

.designer-media.trio img {
  height: 100%;
  min-height: 0;
}

.designer-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(300px, 30vw, 430px);
  padding: clamp(24px, 3.2vw, 46px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.designer-text h3 {
  max-width: 360px;
  font-size: clamp(34px, 4.2vw, 64px);
}

.designer-text > p {
  max-width: 360px;
}

.credits-panel {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.credits-panel summary {
  width: max-content;
  color: var(--wine);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  list-style-position: outside;
  text-transform: uppercase;
}

.credits-panel .credits {
  margin-top: 12px;
}

.image-button:hover img,
.image-button:focus-visible img,
.gallery-card:hover img,
.magnetic-image:hover {
  transform: scale(1.045);
  filter: saturate(1.03) contrast(1.03);
}

.character {
  padding: clamp(66px, 10vw, 130px) clamp(18px, 5vw, 78px);
  color: var(--paper);
  background: var(--ink);
}

.character-title {
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 70px);
}

.character-title .section-label {
  grid-row: span 2;
  align-self: start;
}

.character-title p:last-child {
  max-width: 520px;
  color: rgba(255, 250, 243, 0.68);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.75;
}

.masonry-gallery {
  columns: 4 230px;
  column-gap: 14px;
}

.gallery-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  overflow: hidden;
  background: var(--ink-soft);
  break-inside: avoid;
  cursor: zoom-in;
}

.gallery-card img {
  aspect-ratio: var(--gallery-ratio, 0.78);
}

.gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  color: var(--paper);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.74));
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s var(--ease-standard),
    transform 0.35s var(--ease);
}

.gallery-card:hover figcaption,
.gallery-card:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card figcaption span {
  max-width: 240px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.gallery-card figcaption em {
  color: var(--gold);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.measurements {
  padding: clamp(66px, 9vw, 124px) clamp(18px, 5vw, 78px);
  color: var(--paper);
  background: linear-gradient(135deg, var(--wine-deep), #1a0e0c 72%);
}

.measurements-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 44px;
}

.measurements-header h2 {
  margin-bottom: 0;
}

.measurements-header-note {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 250, 243, 0.7);
  font-size: 15px;
  line-height: 1.75;
}

.measurements-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid rgba(255, 250, 243, 0.22);
}

.mstat {
  display: grid;
  align-content: center;
  min-height: 156px;
  padding: 20px;
  border-right: 1px solid rgba(255, 250, 243, 0.18);
}

.mstat:last-child {
  border-right: 0;
}

.mstat-value {
  font-family: var(--serif);
  font-size: clamp(38px, 4.4vw, 72px);
  line-height: 0.9;
}

.mstat-value small {
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mstat-sub,
.mstat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mstat-sub {
  margin-top: 18px;
  color: rgba(255, 250, 243, 0.52);
}

.mstat-label {
  margin-top: 7px;
  color: rgba(255, 250, 243, 0.86);
}

.measurements-detail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: rgba(255, 250, 243, 0.12);
  border: 1px solid rgba(255, 250, 243, 0.12);
  border-top: 0;
}

.measurements-group {
  padding: 26px;
  background: rgba(255, 250, 243, 0.06);
}

.measurements-group h3 {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 26px;
  line-height: 1;
}

.measurements-group dl {
  display: grid;
  gap: 11px;
  margin: 0;
}

.measurements-group div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  color: rgba(255, 250, 243, 0.76);
  font-size: 12px;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 250, 243, 0.1);
}

.measurements-group dt {
  font-weight: 700;
}

.measurements-group dd {
  margin: 0;
  text-align: right;
}

.measurements-group em {
  color: rgba(255, 250, 243, 0.42);
  font-style: normal;
}

.measurements-appearance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid rgba(255, 250, 243, 0.18);
}

.measurements-appearance div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-right: 1px solid rgba(255, 250, 243, 0.16);
}

.measurements-appearance div:last-child {
  border-right: 0;
}

.measurements-appearance span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.measurements-appearance span:first-child {
  color: rgba(255, 250, 243, 0.54);
}

.identity {
  display: grid;
  grid-template-columns: minmax(320px, 0.44fr) minmax(0, 1fr);
  background: var(--paper);
}

.identity-image {
  min-height: 580px;
  overflow: hidden;
}

.identity-image img {
  filter: grayscale(1) contrast(1.05);
}

.identity-copy {
  align-self: center;
  padding: clamp(52px, 8vw, 110px);
}

.identity-copy .section-label,
.work-header .section-label,
.project-copy .section-label {
  color: var(--wine);
}

.identity-copy h2 {
  max-width: 760px;
}

.identity-list {
  display: grid;
  gap: 24px;
  max-width: 720px;
}

.identity-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.identity-list span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.identity-list p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 0.52fr 0.9fr;
  gap: clamp(30px, 6vw, 90px);
  overflow: hidden;
  padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 78px) 34px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(118, 21, 29, 0.28), transparent 42%),
    linear-gradient(180deg, #0b0a09 0%, #12100e 100%);
  isolation: isolate;
}

.site-footer::before,
.site-footer::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.site-footer::before {
  background:
    linear-gradient(105deg, transparent 0 38%, rgba(196, 155, 99, 0.22) 45%, transparent 54%),
    repeating-linear-gradient(90deg, rgba(255, 250, 243, 0.045) 0 1px, transparent 1px 13vw);
  transform: translateX(-35%);
  animation: footerLightSweep 9s var(--ease-standard) infinite;
}

.site-footer::after {
  background:
    linear-gradient(90deg, rgba(13, 12, 11, 0.96), rgba(13, 12, 11, 0.42), rgba(13, 12, 11, 0.96)),
    linear-gradient(140deg, transparent 0 54%, rgba(196, 155, 99, 0.14) 64%, transparent 78%);
}

.footer-kinetic {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 0;
  display: flex;
  width: max-content;
  color: rgba(255, 250, 243, 0.065);
  font-family: var(--serif);
  font-size: clamp(62px, 9vw, 150px);
  line-height: 0.8;
  white-space: nowrap;
  animation: footerMarquee 26s linear infinite;
}

.footer-kinetic span {
  padding-right: 0.35em;
}

.footer-heading,
.booking-showpiece,
.footer-contact-row,
.footer-legal,
.copyright {
  position: relative;
  z-index: 1;
}

.footer-heading {
  max-width: 560px;
}

.footer-heading h2 {
  margin-bottom: 18px;
}

.footer-tagline {
  margin-bottom: 0;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.booking-showpiece {
  align-self: center;
  min-height: clamp(320px, 35vw, 500px);
  padding: clamp(28px, 4vw, 58px);
  background: rgba(255, 250, 243, 0.055);
  border: 1px solid rgba(255, 250, 243, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 243, 0.16),
    0 32px 90px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.booking-showpiece::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(196, 155, 99, 0.28);
  transform: scaleX(0.92);
  animation: bookingFrame 4.8s var(--ease) infinite alternate;
  pointer-events: none;
}

.booking-showpiece::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -35%;
  width: 28%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 250, 243, 0.16), transparent);
  transform: skewX(-14deg);
  animation: bookingFlash 5.6s var(--ease-standard) infinite;
  pointer-events: none;
}

.booking-signal {
  position: absolute;
  right: clamp(22px, 4vw, 58px);
  top: clamp(22px, 4vw, 58px);
  display: grid;
  gap: 9px;
}

.booking-signal span {
  display: block;
  width: clamp(44px, 6vw, 92px);
  height: 1px;
  background: var(--gold);
  transform-origin: right;
  animation: signalPulse 1.8s var(--ease-standard) infinite;
}

.booking-signal span:nth-child(2) {
  width: clamp(28px, 4vw, 58px);
  animation-delay: 0.2s;
}

.booking-signal span:nth-child(3) {
  width: clamp(58px, 8vw, 118px);
  animation-delay: 0.4s;
}

.booking-label {
  margin: 0 0 clamp(32px, 7vw, 84px);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.booking-email {
  display: block;
  width: 100%;
  max-width: 100%;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(32px, 4.15vw, 64px);
  line-height: 0.94;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    color 0.35s var(--ease-standard),
    transform 0.35s var(--ease);
}

.booking-email:hover,
.booking-email:focus-visible {
  color: var(--gold);
  transform: translateX(10px);
}

.booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: clamp(34px, 5vw, 62px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 250, 243, 0.18);
}

.booking-meta a,
.booking-meta span {
  color: rgba(255, 250, 243, 0.7);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-contact-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  background: rgba(255, 250, 243, 0.14);
  border: 1px solid rgba(255, 250, 243, 0.14);
}

.footer-contact-pill {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 20px;
  color: rgba(255, 250, 243, 0.82);
  background: var(--ink);
  text-decoration: none;
  transition:
    background 0.3s var(--ease-standard),
    color 0.3s var(--ease-standard);
}

.footer-contact-pill:hover,
.footer-contact-pill:focus-visible {
  color: var(--paper);
  background: #181513;
}

.footer-contact-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact-pill span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.footer-legal,
.copyright {
  grid-column: 1 / -1;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: rgba(255, 250, 243, 0.6);
  font-size: 12px;
}

.copyright {
  margin: 6px 0 0;
  color: rgba(255, 250, 243, 0.44);
  font-size: 12px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 72px 18px 28px;
  color: var(--paper);
  background: rgba(8, 8, 7, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(980px, 94vw);
  max-height: 78vh;
  width: auto;
  object-fit: contain;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.5);
}

.lightbox p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 250, 243, 0.72);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  min-height: 42px;
  padding: 0 16px;
  color: var(--paper);
  background: rgba(255, 250, 243, 0.08);
  border: 1px solid rgba(255, 250, 243, 0.2);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes heroReveal {
  from {
    transform: translateY(105%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(0.55);
    opacity: 0.45;
  }
  45% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes footerMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes footerLightSweep {
  0%,
  46% {
    transform: translateX(-42%);
    opacity: 0.35;
  }
  58% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(42%);
    opacity: 0.35;
  }
}

@keyframes bookingFrame {
  from {
    opacity: 0.34;
    transform: scaleX(0.92) scaleY(0.96);
  }
  to {
    opacity: 0.72;
    transform: scaleX(1) scaleY(1);
  }
}

@keyframes bookingFlash {
  0%,
  58% {
    transform: translateX(0) skewX(-14deg);
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(520%) skewX(-14deg);
    opacity: 0;
  }
}

@keyframes signalPulse {
  0%,
  100% {
    transform: scaleX(0.42);
    opacity: 0.35;
  }
  48% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 1120px) {
  .hero-index {
    display: none;
  }

  .intro-panel,
  .about-strip,
  .project-block,
  .identity,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro-image-wrap,
  .about-media,
  .project-copy,
  .designer-text {
    border-right: 0;
    border-left: 0;
  }

  .intro-image {
    min-height: 420px;
  }

  .about-strip {
    min-height: 0;
  }

  .about-media {
    min-height: 540px;
  }

  .project-copy {
    position: static;
    min-height: 0;
    border-bottom: 1px solid var(--line);
  }

  .designer .project-copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .designer .project-copy p:not(.section-label) {
    max-width: 620px;
    margin-bottom: 0;
  }

  .designer-row {
    grid-template-columns: 1fr;
  }

  .designer-text {
    border-top: 1px solid var(--line);
  }

  .measurements-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mstat:nth-child(3n) {
    border-right: 0;
  }

  .mstat:nth-child(n + 4) {
    border-top: 1px solid rgba(255, 250, 243, 0.18);
  }

  .measurements-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
    min-height: 54px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .brand strong {
    display: none;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    align-content: start;
    justify-items: start;
    gap: clamp(14px, 4vw, 22px);
    overflow-y: auto;
    padding: 118px 32px 34px;
    background: rgba(13, 12, 11, 0.96);
    font-family: var(--serif);
    font-size: clamp(32px, 11vw, 54px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.95;
    text-transform: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-105%);
    transition: transform 0.55s var(--ease);
    visibility: hidden;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a::after {
    bottom: -4px;
  }

  .nav-links .nav-cta {
    padding: 0;
    color: var(--gold);
    background: transparent;
    border: 0;
  }

  .nav-links .nav-cta::after {
    display: block;
  }

  .nav-toggle.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle.is-open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero-content {
    width: calc(100% - 36px);
    padding: 110px 0 82px;
    margin-left: 18px;
  }

  .hero h1 {
    font-size: clamp(62px, 18vw, 104px);
  }

  .hero-roles {
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .hero-roles span {
    width: 14px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 8, 7, 0.86), rgba(8, 8, 7, 0.24)),
      linear-gradient(180deg, rgba(8, 8, 7, 0.32), rgba(8, 8, 7, 0.72));
  }

  .hero-image {
    object-position: 57% 20%;
  }

  .hero-actions {
    width: min(100%, 360px);
  }

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .scroll-cue {
    left: 50%;
    right: auto;
    bottom: 18px;
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.2em;
    transform: translateX(-50%);
  }

  .intro-statement,
  .about-copy,
  .project-copy,
  .identity-copy {
    padding: 48px 20px;
  }

  .intro-statement h2 {
    font-size: clamp(42px, 13vw, 72px);
  }

  .about-media,
  .identity-image {
    min-height: 430px;
  }

  .section-heading,
  .character-title {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading .section-label,
  .character-title .section-label {
    grid-row: auto;
  }

  .reel {
    padding: 52px 14px;
  }

  .reel-frame {
    min-height: 620px;
    padding: 42px 12px;
  }

  .reel-note {
    display: none;
  }

  .corner {
    width: 46px;
    height: 46px;
  }

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

  .catalog-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog-card:last-child {
    border-bottom: 0;
  }

  .designer-media.trio {
    grid-template-columns: 1fr;
  }

  .designer-media.trio .image-button {
    aspect-ratio: 4 / 5;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .designer-media.trio .image-button:last-child {
    border-bottom: 0;
  }

  .designer-media.wide img,
  .designer-media.trio img {
    min-height: 0;
  }

  .designer {
    padding: 48px 14px;
  }

  .designer .project-copy {
    padding-bottom: 34px;
  }

  .designer .project-copy h2 {
    font-size: clamp(44px, 14vw, 70px);
  }

  .designer-media.wide .image-button {
    aspect-ratio: 4 / 5;
  }

  .designer-text {
    min-height: 0;
  }

  .character {
    padding: 54px 14px;
  }

  .masonry-gallery {
    columns: 2 150px;
    column-gap: 10px;
  }

  .gallery-card {
    margin-bottom: 10px;
  }

  .gallery-card figcaption {
    position: static;
    opacity: 1;
    transform: none;
    padding: 12px;
    background: #171412;
  }

  .measurements {
    padding: 54px 14px;
  }

  .measurements-header {
    display: grid;
    gap: 20px;
  }

  .measurements-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mstat,
  .mstat:nth-child(3n) {
    border-right: 1px solid rgba(255, 250, 243, 0.18);
  }

  .mstat:nth-child(2n) {
    border-right: 0;
  }

  .mstat:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 250, 243, 0.18);
  }

  .measurements-detail,
  .measurements-appearance,
  .footer-contact-row {
    grid-template-columns: 1fr;
  }

  .measurements-appearance div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 243, 0.16);
  }

  .measurements-appearance div:last-child {
    border-bottom: 0;
  }

  .identity-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer {
    padding: 54px 18px 30px;
  }

  .footer-contact-row {
    gap: 0;
  }

  .footer-contact-pill {
    border-bottom: 1px solid rgba(255, 250, 243, 0.14);
  }
}

@media (max-width: 480px) {
  .button {
    width: 100%;
  }

  .hero-content {
    justify-content: end;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 72px);
  }

  .intro-image {
    min-height: 360px;
  }

  .about-copy h2,
  .section-heading h2,
  .project-copy h2,
  .character-title h2,
  .measurements-header h2,
  .identity-copy h2,
  .site-footer h2 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .work-header h2 {
    font-size: clamp(44px, 15vw, 70px);
  }

  .measurements-stats {
    grid-template-columns: 1fr;
  }

  .mstat,
  .mstat:nth-child(2n),
  .mstat:nth-child(3n) {
    min-height: 128px;
    border-right: 0;
  }

  .mstat + .mstat {
    border-top: 1px solid rgba(255, 250, 243, 0.18);
  }

  .measurements-group {
    padding: 20px;
  }

  .measurements-group div {
    display: grid;
    gap: 4px;
  }

  .measurements-group dd {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
