:root {
  --black: #050505;
  --ink: #151515;
  --warm: #f3eee5;
  --warm-soft: #d9d1c5;
  --fog: #9c9c96;
  --fog-dark: #242424;
  --line: rgba(243, 238, 229, 0.16);
  --line-dark: rgba(5, 5, 5, 0.14);
  --drift: 0px;
  color: var(--warm);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 20%, rgba(156, 156, 150, 0.11), transparent 34rem),
    var(--black);
}

.fog-layer {
  position: fixed;
  inset: -18vh -12vw;
  z-index: 12;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse at 18% 28%, rgba(243, 238, 229, 0.16), transparent 34%),
    radial-gradient(ellipse at 70% 46%, rgba(156, 156, 150, 0.15), transparent 38%),
    radial-gradient(ellipse at 38% 78%, rgba(243, 238, 229, 0.1), transparent 42%);
  filter: blur(26px);
  transform: translate3d(calc(var(--fog-drift, 0px) * -1), var(--fog-drift, 0px), 0) scale(1.08);
  transition: opacity 900ms ease;
}

body.fog-open .fog-layer {
  opacity: 0.62 !important;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px clamp(22px, 5vw, 72px);
  color: var(--warm);
  transition: background 700ms ease, border-color 700ms ease, padding 700ms ease;
}

.site-header.is-scrolled {
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.76);
  backdrop-filter: blur(18px);
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: 0;
  white-space: nowrap;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.site-menu a {
  color: rgba(243, 238, 229, 0.72);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 500ms ease;
}

.site-menu a:hover {
  color: var(--warm);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--warm);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

body.content-loading .hero-section {
  background: var(--black);
}

body.content-loading .hero-image,
body.content-loading .hero-content {
  opacity: 0;
}

body:not(.content-loading) .hero-image,
body:not(.content-loading) .hero-content {
  transition: opacity 900ms ease;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  padding: 18vh clamp(22px, 7vw, 110px) 12vh;
}

.home-story {
  position: relative;
  min-height: auto;
  padding: clamp(92px, 14vw, 170px) clamp(22px, 7vw, 110px);
  background: linear-gradient(180deg, #050505, #0d0d0d 44%, #050505);
  overflow: hidden;
}

.home-story::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 35% 20%, rgba(156, 156, 150, 0.13), transparent 34rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.2), rgba(243, 238, 229, 0.05), rgba(5, 5, 5, 0.38));
}

.story-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.story-gallery-item {
  display: grid;
  gap: 18px;
  margin: 0;
}

.story-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  opacity: 0.72;
  filter: grayscale(0.24) saturate(0.82);
}

.story-gallery-item figcaption {
  color: rgba(243, 238, 229, 0.74);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2.1vw, 30px);
  line-height: 1.28;
}

.hero-image,
.hero-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  opacity: 0.72;
  transform: translateY(calc(var(--drift) * -1)) scale(1.05);
  filter: saturate(0.72) contrast(1.04);
}

.hero-veil {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.48) 50%, rgba(5, 5, 5, 0.72)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.78), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
}

.quiet-label {
  margin: 0 0 18px;
  color: var(--fog);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(58px, 10vw, 138px);
  line-height: 0.92;
}

h2 {
  max-width: 980px;
  font-size: clamp(38px, 6vw, 92px);
  line-height: 1;
}

h3 {
  margin: 0 0 16px;
  color: var(--warm);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

p {
  line-height: 1.85;
}

.manifesto {
  max-width: 690px;
  margin: 34px 0;
  color: rgba(243, 238, 229, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.35;
}

.soft-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  color: var(--warm);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.soft-cta.dark {
  color: var(--black);
}

.section {
  padding: clamp(92px, 15vw, 190px) clamp(22px, 7vw, 110px);
}

.section-intro {
  max-width: 1060px;
  margin-bottom: clamp(54px, 8vw, 110px);
}


.vision-section {
  background: var(--warm);
  color: var(--black);
}

.vision-section .quiet-label,
.vision-section p,
.vision-section blockquote {
  color: rgba(5, 5, 5, 0.68);
}

.text-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 70px);
}

.text-columns p {
  margin: 0;
  font-size: 17px;
}

.isolated-lines {
  display: grid;
  gap: 42px;
  max-width: 980px;
  margin: clamp(78px, 12vw, 150px) auto 0;
}

.isolated-lines blockquote,
.fragment {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4.3vw, 68px);
  line-height: 1.15;
}

.paths-section {
  background: linear-gradient(180deg, var(--black), #111);
}

.paths-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.path-open {
  width: 100%;
  display: grid;
  grid-template-columns: 70px minmax(220px, 0.7fr) minmax(260px, 1fr);
  gap: clamp(18px, 4vw, 64px);
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--warm);
  padding: clamp(28px, 5vw, 58px) 0;
  text-align: left;
  cursor: pointer;
}

.path-open span,
.path-open em {
  color: var(--fog);
  font-style: normal;
}

.path-open strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 400;
}

.path-open:hover strong {
  color: #fff;
}

.works-section,
.biography-section {
  background: #0c0c0c;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.work-card {
  min-height: 420px;
  display: grid;
  align-content: end;
  border: 0;
  background: var(--black);
  color: var(--warm);
  padding: 0;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  opacity: 0.7;
  filter: grayscale(0.22);
  transition: opacity 900ms ease, transform 1200ms ease;
}

.work-card:hover img {
  opacity: 0.9;
  transform: scale(1.04);
}

.work-card span,
.work-card small {
  margin: 0 22px;
}

.work-card span {
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.work-card small {
  margin-bottom: 24px;
  color: var(--fog);
}

.fragments-section {
  min-height: 100vh;
  display: grid;
  align-content: center;
  background: var(--warm);
  color: var(--black);
}

.fragments {
  display: grid;
  gap: clamp(46px, 8vw, 92px);
}

.fragment {
  max-width: 1040px;
  color: rgba(5, 5, 5, 0.78);
}

.fragment:nth-child(even) {
  justify-self: end;
  text-align: right;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.bio-grid article {
  min-height: 320px;
  padding: clamp(28px, 5vw, 62px);
  background: #0c0c0c;
}

.bio-grid p,
.bio-grid li {
  color: rgba(243, 238, 229, 0.68);
  line-height: 1.8;
}

.bio-grid ul {
  margin: 0;
  padding-left: 18px;
}

.categories-section {
  background: var(--warm);
  color: var(--black);
}

.categories-section .quiet-label {
  color: rgba(5, 5, 5, 0.48);
}

.categories-section h2 {
  color: var(--black);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(5, 5, 5, 0.16);
  border-left: 1px solid rgba(5, 5, 5, 0.16);
}

.category-card {
  min-height: clamp(260px, 28vw, 420px);
  display: grid;
  align-content: space-between;
  gap: 28px;
  border: 0;
  border-right: 1px solid rgba(5, 5, 5, 0.16);
  border-bottom: 1px solid rgba(5, 5, 5, 0.16);
  background: transparent;
  color: var(--black);
  padding: clamp(22px, 3.2vw, 44px);
  text-align: left;
  cursor: pointer;
  transition: background 500ms ease, color 500ms ease;
}

.category-card:hover {
  background: var(--black);
  color: var(--warm);
}

.category-card span {
  color: currentColor;
  opacity: 0.48;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.category-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.8vw, 74px);
  font-weight: 400;
  line-height: 0.96;
}

.category-card em {
  max-width: 360px;
  color: currentColor;
  opacity: 0.66;
  font-style: normal;
  line-height: 1.55;
}

.category-detail {
  display: grid;
  gap: 24px;
  padding: clamp(42px, 7vw, 92px);
  background: var(--warm);
  color: var(--black);
}

.category-detail h2 {
  color: var(--black);
}

.category-detail p:not(.quiet-label) {
  max-width: 760px;
  color: rgba(5, 5, 5, 0.68);
  font-size: clamp(19px, 2.2vw, 28px);
}

.service-detail {
  display: grid;
  gap: clamp(42px, 6vw, 76px);
  background: var(--warm);
  color: var(--black);
}

.service-hero {
  position: relative;
  min-height: min(720px, 72vh);
  display: grid;
  align-items: end;
  padding: clamp(34px, 6vw, 76px);
  overflow: hidden;
  background: var(--black);
  color: var(--warm);
}

.service-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  filter: grayscale(0.12) saturate(0.86);
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.76)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.66), transparent 58%);
}

.service-hero > div {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.service-hero h2 {
  color: var(--warm);
  font-size: clamp(58px, 10vw, 150px);
  line-height: 0.86;
}

.service-copy {
  padding: 0 clamp(34px, 6vw, 76px);
}

.service-copy p {
  max-width: 920px;
  color: rgba(5, 5, 5, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3.1vw, 44px);
  line-height: 1.24;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(34px, 6vw, 76px);
}

.service-gallery-item {
  position: relative;
  aspect-ratio: 1;
  border: 0;
  background: var(--black);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.service-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: grayscale(0.14) saturate(0.88);
  transition: opacity 700ms ease, transform 900ms ease, filter 700ms ease;
}

.service-gallery-item:hover img {
  opacity: 0.96;
  transform: scale(1.035);
  filter: grayscale(0.02) saturate(0.98);
}

.service-gallery-item span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: rgba(243, 238, 229, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.service-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 5, 5, 0.72));
  opacity: 0;
  transition: opacity 600ms ease;
}

.service-gallery-item:hover::after,
.service-gallery-item:hover span {
  opacity: 1;
  transform: translateY(0);
}

.service-copy-final {
  padding-bottom: clamp(42px, 7vw, 92px);
}

.service-lightbox {
  position: relative;
  min-height: min(820px, calc(100vh - 28px));
  display: grid;
  place-items: center;
  padding: clamp(42px, 6vw, 82px);
  background: #050505;
  color: var(--warm);
}

.service-lightbox figure {
  display: grid;
  gap: 22px;
  margin: 0;
  width: min(1040px, 100%);
}

.service-lightbox img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  animation: imageReveal 1000ms ease forwards;
}

.service-lightbox figcaption {
  max-width: 780px;
  color: rgba(243, 238, 229, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.32;
}

.service-back {
  position: absolute;
  left: 24px;
  bottom: 18px;
  z-index: 3;
  border: 1px solid rgba(243, 238, 229, 0.28);
  background: rgba(5, 5, 5, 0.28);
  color: var(--warm);
  padding: 12px 16px;
  cursor: pointer;
}

.contact-section {
  min-height: 90vh;
  display: grid;
  align-content: center;
  gap: clamp(42px, 6vw, 72px);
  padding: clamp(92px, 15vw, 190px) clamp(22px, 7vw, 110px);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.04), transparent 18rem),
    var(--warm);
  color: var(--black);
}

.contact-section .quiet-label {
  color: rgba(5, 5, 5, 0.48);
}

.contact-section h2 {
  max-width: 920px;
  color: var(--black);
}

.contact-links {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.contact-links a {
  border-bottom: 1px solid rgba(5, 5, 5, 0.18);
  padding-bottom: 14px;
  color: rgba(5, 5, 5, 0.78);
  font-size: clamp(22px, 3vw, 34px);
  font-family: Georgia, "Times New Roman", serif;
  transition: color 300ms ease, border-color 300ms ease;
}

.contact-links a:hover {
  border-color: rgba(5, 5, 5, 0.48);
  color: var(--black);
}

.closing-line {
  color: rgba(5, 5, 5, 0.54);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 40px);
}

.detail-dialog {
  width: min(1120px, calc(100vw - 28px));
  max-height: min(860px, calc(100vh - 28px));
  border: 0;
  padding: 0;
  background: var(--warm);
  color: var(--black);
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 700ms ease, transform 700ms ease, display 700ms allow-discrete;
}

.detail-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.detail-dialog::backdrop {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(10px);
}

.dialog-close {
  position: sticky;
  top: 18px;
  z-index: 8;
  float: right;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
  min-width: 48px;
  height: 48px;
  margin: 18px 18px 0 0;
  border: 1px solid rgba(5, 5, 5, 0.16);
  border-radius: 999px;
  background: rgba(243, 238, 229, 0.88);
  color: var(--black);
  padding: 0 16px 0 18px;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(5, 5, 5, 0.2);
  backdrop-filter: blur(16px);
  transition: background 320ms ease, color 320ms ease, border-color 320ms ease, transform 320ms ease;
}

.dialog-close span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dialog-close strong {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.dialog-close:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--warm);
  transform: translateY(-1px);
}

.dialog-body {
  clear: both;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(30px, 5vw, 72px);
  padding: clamp(34px, 6vw, 76px);
}

.detail-layout h2 {
  color: var(--black);
}

.detail-layout p {
  color: rgba(5, 5, 5, 0.68);
}

.slow-gallery {
  display: grid;
  gap: 18px;
}

.slow-gallery img,
.work-detail > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.2);
  opacity: 0;
  animation: imageReveal 1400ms ease forwards;
}

.slow-gallery img:nth-child(2) {
  animation-delay: 180ms;
}

.slow-gallery img:nth-child(3) {
  animation-delay: 360ms;
}

@keyframes imageReveal {
  from {
    opacity: 0;
    filter: grayscale(0.5) blur(10px);
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    filter: grayscale(0.2) blur(0);
    transform: translateY(0);
  }
}

.admin-body {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  background: #0b0b0b;
}

.admin-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-content: start;
  gap: 28px;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
  background: #050505;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-tab,
.admin-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: rgba(243, 238, 229, 0.78);
  padding: 0 14px;
  text-align: left;
  cursor: pointer;
}

.admin-tab.is-active,
.admin-tab:hover,
.admin-button:hover {
  color: var(--warm);
  border-color: rgba(243, 238, 229, 0.42);
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
}

.admin-button.primary {
  background: var(--warm);
  color: var(--black);
}

.admin-button.danger {
  border-color: rgba(180, 70, 70, 0.5);
  color: #d99191;
}

.admin-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.admin-status {
  border: 1px solid var(--line);
  padding: 14px;
  color: var(--fog);
  font-size: 13px;
}

.admin-workspace {
  min-width: 0;
  padding: 34px clamp(22px, 4vw, 58px) 80px;
}

.admin-top,
.admin-list-head,
.editor-card-head,
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-top {
  margin-bottom: 34px;
}

.admin-top h1 {
  font-size: clamp(42px, 7vw, 92px);
}

.admin-actions {
  justify-content: flex-end;
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.admin-card {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  background: rgba(243, 238, 229, 0.045);
  padding: clamp(22px, 4vw, 42px);
}

.admin-card h2,
.admin-list-head h2 {
  font-size: clamp(30px, 4vw, 58px);
}

.editor-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.compact-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--fog);
  font-size: 13px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.7);
  color: var(--warm);
  padding: 12px;
  font: inherit;
}

textarea {
  resize: vertical;
}

select[multiple] {
  min-height: 120px;
}

.admin-note {
  max-width: 850px;
  color: rgba(243, 238, 229, 0.62);
}

.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.admin-media-item {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 12px;
  background: rgba(243, 238, 229, 0.04);
}

.admin-media-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.admin-media-item strong {
  color: rgba(243, 238, 229, 0.76);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

dl {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

dl div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 10px;
}

dt {
  color: rgba(5, 5, 5, 0.48);
}

dd {
  margin: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1400ms ease, transform 1400ms ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .fade-in,
  .hero-image,
  .work-card img,
  .slow-gallery img {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: fixed;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.94);
    padding: 22px;
  }

  .site-menu.is-open {
    display: flex;
  }

  .text-columns,
  .detail-layout,
  .bio-grid,
  .admin-body {
    grid-template-columns: 1fr;
  }

  .story-gallery {
    grid-template-columns: 1fr;
  }

  .path-open {
    grid-template-columns: 1fr;
  }

  .works-grid,
  .admin-media-grid,
  .category-grid,
  .service-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-rail {
    position: relative;
    height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 20px;
  }

  .wordmark {
    white-space: normal;
  }

  .hero-section,
  .section,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 78px);
  }

  .works-grid,
  .admin-media-grid,
  .form-grid,
  .compact-card,
  .category-grid,
  .service-gallery {
    grid-template-columns: 1fr;
  }

  .fragment:nth-child(even) {
    justify-self: start;
    text-align: left;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.paths-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 0;
  background: var(--line);
}

.path-card {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 58vw, 720px);
  display: grid;
  align-content: end;
  border: 0;
  background: var(--black);
  color: var(--warm);
  padding: clamp(22px, 4vw, 44px);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
}

.path-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.38) 48%, rgba(5, 5, 5, 0.9));
  pointer-events: none;
}

.path-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: grayscale(0.22) saturate(0.82);
  transition: opacity 1100ms ease, transform 1400ms ease, filter 1100ms ease;
}

.path-card:hover img {
  opacity: 0.86;
  transform: scale(1.045);
  filter: grayscale(0.08) saturate(0.95);
}

.path-card span,
.path-card strong,
.path-card em {
  position: relative;
  z-index: 1;
}

.path-card span {
  margin-bottom: 18px;
  color: var(--fog);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.path-card strong {
  max-width: 640px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 400;
  line-height: 0.98;
}

.path-card em {
  max-width: 520px;
  margin-top: 18px;
  color: rgba(243, 238, 229, 0.74);
  font-style: normal;
  line-height: 1.55;
}

.detail-dialog[data-dialog-type="path"] {
  width: min(1280px, calc(100vw - 28px));
  background: #0a0a0a;
  color: var(--warm);
}

.detail-dialog[data-dialog-type="path"]::backdrop {
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(16px);
}

.detail-dialog[data-dialog-type="path"] .dialog-close {
  border-color: rgba(243, 238, 229, 0.2);
  background: rgba(5, 5, 5, 0.78);
  color: var(--warm);
}

.detail-dialog[data-dialog-type="path"] .dialog-close:hover {
  background: var(--warm);
  border-color: var(--warm);
  color: var(--black);
}

.path-detail {
  display: grid;
  gap: clamp(42px, 7vw, 92px);
  padding: clamp(34px, 6vw, 76px);
}

.path-detail-head {
  max-width: 920px;
}

.path-detail-head h2 {
  color: var(--black);
}

.path-detail-head p {
  max-width: 760px;
  color: rgba(5, 5, 5, 0.68);
}

.detail-dialog[data-dialog-type="path"] .path-detail-head h2 {
  color: var(--warm);
}

.detail-dialog[data-dialog-type="path"] .path-detail-head p {
  color: rgba(243, 238, 229, 0.68);
}

.path-gallery {
  display: grid;
  gap: clamp(34px, 6vw, 78px);
}

.path-gallery-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: end;
  margin: 0;
}

.path-gallery-item img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: rgba(5, 5, 5, 0.04);
  opacity: 0;
  animation: imageReveal 1400ms ease forwards;
}

.detail-dialog[data-dialog-type="path"] .path-gallery-item {
  align-items: center;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid rgba(243, 238, 229, 0.12);
  background:
    linear-gradient(135deg, rgba(243, 238, 229, 0.055), transparent 34%),
    #050505;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.detail-dialog[data-dialog-type="path"] .path-gallery-item img {
  max-height: 76vh;
  padding: clamp(18px, 4vw, 58px);
  border: clamp(8px, 1.2vw, 15px) solid #030303;
  background: #f4efe6;
  box-shadow:
    inset 0 0 0 1px rgba(5, 5, 5, 0.12),
    0 22px 70px rgba(0, 0, 0, 0.52);
}

.path-gallery-item figcaption {
  color: rgba(5, 5, 5, 0.64);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.32;
}

.detail-dialog[data-dialog-type="path"] .path-gallery-item figcaption {
  color: rgba(243, 238, 229, 0.74);
}

.gallery-editor {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.gallery-editor h4 {
  margin: 0;
  color: var(--warm);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}

.gallery-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: end;
  border: 1px solid var(--line);
  padding: 14px;
  background: rgba(5, 5, 5, 0.28);
}

.path-open {
  display: none;
}

@media (max-width: 980px) {
  .paths-list,
  .path-gallery-item,
  .gallery-row {
    grid-template-columns: 1fr;
  }
}

.general-gallery-section {
  background: #070707;
  color: var(--warm);
}

.mosaic-window {
  position: relative;
  height: min(76vh, 760px);
  min-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid rgba(243, 238, 229, 0.16);
  background: #111;
  box-shadow: inset 0 0 0 1px rgba(5, 5, 5, 0.36);
  scrollbar-color: rgba(243, 238, 229, 0.38) rgba(243, 238, 229, 0.08);
  scrollbar-width: thin;
}

.mosaic-window::-webkit-scrollbar {
  width: 10px;
}

.mosaic-window::-webkit-scrollbar-track {
  background: rgba(243, 238, 229, 0.08);
}

.mosaic-window::-webkit-scrollbar-thumb {
  background: rgba(243, 238, 229, 0.32);
  border: 2px solid #111;
}

.mosaic-window::before,
.mosaic-window::after {
  content: "";
  position: sticky;
  left: 0;
  right: 0;
  z-index: 4;
  display: block;
  height: 64px;
  pointer-events: none;
}

.mosaic-window::before {
  top: 0;
  margin-bottom: -64px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.94), transparent);
}

.mosaic-window::after {
  bottom: 0;
  margin-top: -64px;
  background: linear-gradient(0deg, rgba(17, 17, 17, 0.94), transparent);
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  min-height: 100%;
  padding: clamp(10px, 1.4vw, 18px);
  background: rgba(243, 238, 229, 0.08);
}

.mosaic-item {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(243, 238, 229, 0.08);
  background: var(--black);
  color: var(--warm);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: grayscale(0.16) saturate(0.86);
  transition: opacity 700ms ease, transform 900ms ease, filter 700ms ease;
}

.mosaic-item:hover img {
  opacity: 0.94;
  transform: scale(1.04);
  filter: grayscale(0.02) saturate(0.96);
}

.mosaic-item span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: rgba(243, 238, 229, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.mosaic-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 5, 5, 0.72));
  opacity: 0;
  transition: opacity 700ms ease;
}

.mosaic-item:hover::after,
.mosaic-item:hover span {
  opacity: 1;
  transform: translateY(0);
}

.general-lightbox {
  position: relative;
  min-height: min(820px, calc(100vh - 28px));
  display: grid;
  place-items: center;
  padding: clamp(42px, 6vw, 82px);
  background: #050505;
  color: var(--warm);
}

.general-lightbox figure {
  display: grid;
  gap: 22px;
  margin: 0;
  width: min(1040px, 100%);
}

.general-lightbox img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  animation: imageReveal 1000ms ease forwards;
}

.general-lightbox figcaption {
  max-width: 780px;
  color: rgba(243, 238, 229, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.32;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(243, 238, 229, 0.32);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.32);
  color: var(--warm);
  font-size: 34px;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-arrow.prev {
  left: 18px;
}

.gallery-arrow.next {
  right: 18px;
}

.gallery-count {
  position: absolute;
  right: 24px;
  bottom: 18px;
  color: var(--fog);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.general-gallery-editor-row {
  grid-template-columns: minmax(260px, 0.44fr) minmax(260px, 1fr) auto;
  align-items: end;
}

.gallery-pick {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: end;
  gap: 12px;
}

.gallery-pick-preview {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.62);
  object-fit: cover;
}


@media (max-width: 980px) {
  .mosaic-window {
    height: min(70vh, 680px);
    min-height: 380px;
  }

  .mosaic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .general-gallery-editor-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mosaic-window {
    height: 64vh;
    min-height: 340px;
  }

  .mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  .gallery-arrow {
    top: auto;
    bottom: 18px;
    transform: none;
  }
}

@media (max-width: 640px) {
  .dialog-close {
    top: 12px;
    height: 44px;
    margin: 12px 12px 0 0;
    padding: 0 13px;
  }

  .dialog-close span {
    display: none;
  }

  .detail-dialog[data-dialog-type="path"] .path-gallery-item {
    padding: 14px;
  }

  .detail-dialog[data-dialog-type="path"] .path-gallery-item img {
    padding: 18px;
    border-width: 8px;
  }
}

/* Soft Image Protection */
img,
.hero-section,
.story-gallery,
.path-card,
.work-card,
.path-gallery-item,
.mosaic-item,
.general-lightbox,
.service-detail,
.service-gallery-item,
.service-lightbox,
.work-detail {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

img {
  pointer-events: none;
}

.path-card,
.work-card,
.mosaic-item,
.service-gallery-item,
.service-back,
.gallery-arrow,
.dialog-close {
  pointer-events: auto;
}

.path-gallery-item,
.general-lightbox figure,
.service-lightbox figure,
.work-detail,
.story-gallery {
  position: relative;
}

.path-gallery-item::after,
.general-lightbox figure::after,
.service-lightbox figure::after,
.work-detail::after,
.story-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: transparent;
}


/* Story Cards Upgrade */
.story-gallery {
  grid-template-columns: 1fr;
  gap: clamp(90px, 14vw, 190px);
  max-width: 1480px;
  margin: 0 auto;
}

.story-gallery-item {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
  margin: 0;
  padding: clamp(18px, 3vw, 42px) 0;
  border-top: 1px solid rgba(243, 238, 229, 0.1);
}

.story-gallery-item:nth-child(even) .story-card-images {
  order: 2;
}

.story-gallery-item:nth-child(even) .story-card-copy {
  order: 1;
}

.story-card-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(10px, 1.6vw, 22px);
  align-items: center;
}

.story-card-images[data-count="1"] {
  grid-template-columns: 1fr;
}

.story-card-photo {
  display: grid;
  place-items: center;
  gap: 12px;
  min-width: 0;
  min-height: clamp(220px, 30vw, 520px);
  margin: 0;
  border: 1px solid rgba(243, 238, 229, 0.1);
  background: rgba(5, 5, 5, 0.36);
  padding: clamp(8px, 1.2vw, 18px);
}

.story-card-photo img,
.story-gallery-item img {
  width: 100%;
  height: 100%;
  max-height: clamp(320px, 54vw, 720px);
  object-fit: contain;
  opacity: 0.78;
  filter: grayscale(0.18) saturate(0.82);
}

.story-card-photo figcaption {
  align-self: end;
  color: rgba(243, 238, 229, 0.56);
  font-size: 13px;
  line-height: 1.45;
}

.story-card-copy {
  display: grid;
  align-content: center;
  gap: 22px;
}

.story-card-title,
.story-gallery-item figcaption {
  margin: 0;
  max-width: 720px;
  color: rgba(243, 238, 229, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.5vw, 74px);
  font-weight: 400;
  line-height: 1.04;
}

.story-card-editor {
  gap: 22px;
}

.story-image-list {
  border-top-color: rgba(243, 238, 229, 0.2);
}

.admin-inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.story-image-row {
  grid-template-columns: minmax(240px, 0.44fr) minmax(260px, 1fr) auto;
}

.path-card,
.work-card,
.mosaic-item,
.service-gallery-item,
.service-back,
.gallery-arrow,
.dialog-close,
.story-card-editor .admin-button,
.story-card-editor select,
.story-card-editor input,
.story-card-editor textarea,
.story-card-editor label {
  pointer-events: auto;
}

@media (max-width: 980px) {
  .story-gallery-item,
  .story-gallery-item:nth-child(even) .story-card-images,
  .story-gallery-item:nth-child(even) .story-card-copy,
  .story-image-row {
    grid-template-columns: 1fr;
    order: initial;
  }
}


/* Story Carousel Upgrade */
.story-slide-card {
  grid-template-columns: minmax(320px, 0.86fr) minmax(320px, 0.78fr);
  min-height: min(86vh, 860px);
  align-items: center;
}

.story-slide-card:nth-child(even) .story-carousel {
  order: 2;
}

.story-slide-card:nth-child(even) .story-card-copy {
  order: 1;
}

.story-carousel {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  min-height: clamp(430px, 58vw, 760px);
}

.story-main-photo {
  display: grid;
  place-items: center;
  min-height: clamp(360px, 52vw, 690px);
  margin: 0;
  border: 1px solid rgba(243, 238, 229, 0.12);
  background: rgba(5, 5, 5, 0.24);
  padding: clamp(10px, 1.4vw, 22px);
}

.story-main-photo img {
  width: 100%;
  height: 100%;
  max-height: clamp(340px, 50vw, 650px);
  object-fit: contain;
  opacity: 0.86;
  filter: grayscale(0.1) saturate(0.86);
  animation: imageReveal 900ms ease forwards;
}

.story-next-preview {
  position: absolute;
  right: clamp(-26px, -2.5vw, -14px);
  top: 50%;
  z-index: 4;
  display: grid;
  gap: 8px;
  width: clamp(104px, 12vw, 160px);
  border: 1px solid rgba(243, 238, 229, 0.18);
  background: rgba(5, 5, 5, 0.78);
  color: rgba(243, 238, 229, 0.78);
  padding: 10px;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
  transition: transform 420ms ease, border-color 420ms ease, background 420ms ease;
}

.story-next-preview:hover {
  border-color: rgba(243, 238, 229, 0.44);
  background: rgba(5, 5, 5, 0.9);
  transform: translateY(-50%) translateX(4px);
}

.story-next-preview span,
.story-next-preview small {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-next-preview img {
  width: 100%;
  height: clamp(72px, 8vw, 112px);
  object-fit: contain;
  background: rgba(243, 238, 229, 0.05);
  opacity: 0.82;
}

.story-caption {
  min-height: 54px;
  border-top: 1px solid rgba(243, 238, 229, 0.12);
  padding-top: 14px;
}

.story-caption p {
  max-width: 620px;
  margin: 0;
  color: rgba(243, 238, 229, 0.58);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.story-card-title {
  font-size: clamp(42px, 5.4vw, 96px);
  line-height: 1.02;
}

.story-text-link {
  justify-self: start;
  min-height: 38px;
  border: 0;
  border-bottom: 1px solid rgba(243, 238, 229, 0.38);
  background: transparent;
  color: rgba(243, 238, 229, 0.62);
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

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

.story-next-preview,
.story-text-link {
  pointer-events: auto;
}

@media (max-width: 980px) {
  .story-slide-card,
  .story-slide-card:nth-child(even) .story-carousel,
  .story-slide-card:nth-child(even) .story-card-copy {
    grid-template-columns: 1fr;
    order: initial;
  }

  .story-next-preview {
    right: 14px;
  }
}

@media (max-width: 640px) {
  .story-slide-card {
    min-height: auto;
  }

  .story-card-title {
    font-size: clamp(34px, 12vw, 58px);
  }

  .story-next-preview {
    position: static;
    width: 100%;
    grid-template-columns: auto 72px auto;
    align-items: center;
    transform: none;
  }

  .story-next-preview:hover {
    transform: none;
  }
}


/* Story Carousel Refinement */
.story-slide-card {
  grid-template-columns: minmax(320px, 0.92fr) minmax(280px, 0.62fr);
  gap: clamp(36px, 6vw, 92px);
}

.story-carousel {
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 0;
}

.story-main-photo {
  min-height: clamp(360px, 48vw, 660px);
  padding: clamp(8px, 1.2vw, 18px);
}

.story-main-photo img {
  max-height: clamp(330px, 46vw, 620px);
}

.story-next-preview {
  display: none;
}

.story-gallery-nav {
  display: grid;
  grid-template-columns: minmax(110px, 0.34fr) auto minmax(110px, 0.34fr);
  gap: 14px;
  align-items: end;
  min-height: 96px;
  padding: 14px 0 16px;
  border-bottom: 1px solid rgba(243, 238, 229, 0.12);
}

.story-gallery-nav > small {
  align-self: center;
  color: rgba(243, 238, 229, 0.38);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.story-nav-preview {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 0;
  background: transparent;
  color: rgba(243, 238, 229, 0.5);
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.story-nav-next {
  justify-self: end;
  grid-template-columns: minmax(0, 1fr) 74px;
  text-align: right;
}

.story-nav-next span {
  order: 1;
}

.story-nav-next img {
  order: 2;
}

.story-nav-preview span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-nav-preview img {
  width: 74px;
  height: 54px;
  object-fit: contain;
  border: 1px solid rgba(243, 238, 229, 0.12);
  background: rgba(243, 238, 229, 0.04);
  opacity: 0.56;
  transition: opacity 320ms ease, border-color 320ms ease;
}

.story-nav-preview:hover {
  color: rgba(243, 238, 229, 0.82);
}

.story-nav-preview:hover img {
  opacity: 0.86;
  border-color: rgba(243, 238, 229, 0.28);
}

.story-caption {
  min-height: 56px;
  border-top: 0;
  padding-top: 16px;
}

.story-card-copy {
  align-content: center;
  max-width: 620px;
}

.story-card-title {
  max-width: 560px;
  color: rgba(243, 238, 229, 0.66);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(24px, 2.2vw, 42px);
  font-weight: 400;
  line-height: 1.45;
}

.story-card-copy .quiet-label {
  margin-bottom: 10px;
  color: rgba(243, 238, 229, 0.46);
}

.story-text-link {
  display: none;
}

.story-nav-preview {
  pointer-events: auto;
}

@media (max-width: 980px) {
  .story-slide-card {
    grid-template-columns: 1fr;
  }

  .story-card-title {
    max-width: 100%;
    font-size: clamp(22px, 5vw, 34px);
  }
}

@media (max-width: 640px) {
  .story-gallery-nav {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
  }

  .story-nav-preview,
  .story-nav-next {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
  }

  .story-nav-preview img {
    width: 64px;
    height: 48px;
  }
}


/* Story Carousel Fluid Fix */
.story-slide-card:nth-child(even) {
  grid-template-columns: minmax(280px, 0.62fr) minmax(320px, 0.92fr);
}

.story-slide-card:nth-child(odd) {
  grid-template-columns: minmax(320px, 0.92fr) minmax(280px, 0.62fr);
}

.story-slide-card.is-changing .story-main-photo img,
.story-slide-card.is-changing .story-caption,
.story-slide-card.is-changing .story-gallery-nav img {
  opacity: 0.18;
  filter: grayscale(0.4) blur(4px);
}

.story-main-photo img,
.story-caption,
.story-gallery-nav img {
  transition: opacity 360ms ease, filter 360ms ease;
}

.story-main-photo {
  width: 100%;
}

.story-card-copy {
  align-self: center;
}

.story-card-title {
  max-width: 540px;
  font-size: clamp(22px, 2vw, 38px);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .story-slide-card:nth-child(even),
  .story-slide-card:nth-child(odd) {
    grid-template-columns: 1fr;
  }
}


/* Final Hero Anti Flash */
body.content-loading .hero-section {
  background: #050505 !important;
}

body.content-loading .hero-image,
body.content-loading .hero-content {
  opacity: 0 !important;
  visibility: hidden !important;
}

body:not(.content-loading) .hero-image,
body:not(.content-loading) .hero-content {
  visibility: visible;
}


/* Story Tight Spacing */
.home-story {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(42px, 6vw, 72px);
}

.story-gallery {
  gap: clamp(22px, 4vw, 48px);
}

.story-gallery-item,
.story-slide-card {
  min-height: auto;
  padding-top: clamp(16px, 2vw, 28px);
  padding-bottom: clamp(16px, 2vw, 28px);
}

.story-carousel {
  min-height: auto;
}

.story-main-photo {
  min-height: clamp(300px, 40vw, 560px);
}

.story-main-photo img {
  max-height: clamp(280px, 38vw, 530px);
}

.story-gallery-nav {
  min-height: 72px;
  padding: 10px 0 12px;
}

.story-caption {
  min-height: 38px;
  padding-top: 10px;
}


/* Paths List Layout */
.paths-section {
  background: #070707;
}

.paths-list {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 0;
  border-top: 1px solid rgba(243, 238, 229, 0.16);
  background: transparent;
}

.path-item {
  border-bottom: 1px solid rgba(243, 238, 229, 0.12);
}

.path-row-card,
.path-card.path-row-card {
  position: relative;
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 62px minmax(120px, 190px) minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--warm);
  padding: clamp(18px, 2.4vw, 32px) 0;
  text-align: left;
  cursor: pointer;
  overflow: visible;
  transition: background 420ms ease, padding-left 420ms ease, opacity 420ms ease;
}

.path-card.path-row-card::after {
  display: none;
}

.path-row-card:hover {
  background: rgba(243, 238, 229, 0.035);
  padding-left: clamp(8px, 1vw, 16px);
}

.path-row-phase,
.path-card.path-row-card .path-row-phase {
  margin: 0;
  color: rgba(243, 238, 229, 0.38);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.path-row-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(243, 238, 229, 0.12);
  background: rgba(243, 238, 229, 0.04);
  overflow: hidden;
}

.path-row-thumb img,
.path-card.path-row-card .path-row-thumb img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  filter: grayscale(0.18) saturate(0.8);
  transform: none;
  transition: opacity 420ms ease, filter 420ms ease;
}

.path-row-card:hover .path-row-thumb img {
  opacity: 0.9;
  filter: grayscale(0.04) saturate(0.96);
}

.path-row-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.path-card.path-row-card .path-row-copy strong {
  max-width: none;
  color: rgba(243, 238, 229, 0.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.05;
}

.path-card.path-row-card .path-row-copy em {
  max-width: 720px;
  margin: 0;
  color: rgba(243, 238, 229, 0.56);
  font-size: 15px;
  font-style: normal;
  line-height: 1.55;
}

.path-row-action {
  color: rgba(243, 238, 229, 0.42);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.path-row-card:hover .path-row-action {
  color: rgba(243, 238, 229, 0.82);
}

@media (max-width: 760px) {
  .path-row-card,
  .path-card.path-row-card {
    grid-template-columns: 42px minmax(86px, 120px) minmax(0, 1fr);
    gap: 14px;
  }

  .path-row-action {
    display: none;
  }

  .path-card.path-row-card .path-row-copy strong {
    font-size: clamp(22px, 7vw, 34px);
  }

  .path-card.path-row-card .path-row-copy em {
    font-size: 13px;
  }
}


/* Paths Warm Catalogue */
.paths-section {
  background: var(--warm) !important;
  color: var(--black);
}

.paths-section .quiet-label {
  color: rgba(5, 5, 5, 0.46);
}

.paths-section h2 {
  color: var(--black);
}

.paths-list {
  border-top-color: rgba(5, 5, 5, 0.14) !important;
}

.path-item {
  border-bottom-color: rgba(5, 5, 5, 0.12) !important;
}

.path-row-card,
.path-card.path-row-card {
  color: var(--black) !important;
}

.path-row-card:hover {
  background: rgba(5, 5, 5, 0.035) !important;
}

.path-row-phase,
.path-card.path-row-card .path-row-phase {
  color: rgba(5, 5, 5, 0.4) !important;
}

.path-row-thumb {
  border-color: rgba(5, 5, 5, 0.14) !important;
  background: rgba(5, 5, 5, 0.035) !important;
}

.path-card.path-row-card .path-row-copy strong {
  color: rgba(5, 5, 5, 0.9) !important;
}

.path-card.path-row-card .path-row-copy em {
  color: rgba(5, 5, 5, 0.58) !important;
}

.path-row-action {
  color: rgba(5, 5, 5, 0.38) !important;
}

.path-row-card:hover .path-row-action {
  color: rgba(5, 5, 5, 0.82) !important;
}


/* Works Heading Refinement */
.works-section .section-intro h2 {
  max-width: 980px;
  font-size: clamp(30px, 3.8vw, 58px);
  line-height: 1.12;
}


/* Popup Full Image Frames */
.work-detail {
  grid-template-columns: minmax(320px, 0.92fr) minmax(300px, 0.72fr);
  align-items: center;
}

.work-image-frame {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: min(72vh, 720px);
  margin: 0;
  border: 1px solid rgba(5, 5, 5, 0.12);
  background: rgba(5, 5, 5, 0.035);
  padding: clamp(14px, 2.4vw, 34px);
}

.work-image-frame img,
.work-detail > img {
  width: 100%;
  height: 100%;
  max-height: min(68vh, 680px);
  object-fit: contain !important;
  aspect-ratio: auto !important;
  background: transparent;
}

.general-lightbox figure,
.service-lightbox figure {
  min-height: min(74vh, 740px);
  place-items: center;
}

.general-lightbox img,
.service-lightbox img {
  width: 100%;
  height: auto;
  max-width: min(100%, 1180px);
  max-height: 72vh;
  object-fit: contain !important;
}

.path-gallery-item img,
.detail-dialog[data-dialog-type="path"] .path-gallery-item img {
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain !important;
}

@media (max-width: 820px) {
  .work-detail {
    grid-template-columns: 1fr;
  }

  .work-image-frame {
    min-height: 52vh;
  }
}


/* No Vision Tight Rhythm */
.home-story {
  padding-bottom: clamp(28px, 4vw, 52px) !important;
}

.paths-section {
  padding-top: clamp(44px, 6vw, 76px) !important;
}

.paths-section .section-intro {
  margin-bottom: clamp(24px, 3vw, 40px) !important;
}

.paths-section .section-intro h2 {
  max-width: 760px;
  font-size: clamp(42px, 5.4vw, 82px);
}


/* Editorial Text Band */
.editorial-text-band {
  padding: clamp(52px, 8vw, 110px) clamp(22px, 7vw, 110px);
  background: var(--warm);
  color: var(--black);
}

.editorial-text-list {
  display: grid;
  gap: clamp(42px, 8vw, 110px);
}

.editorial-text-item {
  max-width: 1180px;
  margin: 0;
  justify-self: stretch;
  color: var(--text-color, #47433d);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, calc(var(--text-size, 58px) * 0.72), var(--text-size, 58px));
  line-height: 1.08;
  text-align: var(--text-align, left);
}

.editorial-text-row {
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.52fr) auto;
}

.editorial-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.editorial-controls input[type="color"] {
  min-height: 45px;
  padding: 4px;
}

@media (max-width: 900px) {
  .editorial-text-row,
  .editorial-controls {
    grid-template-columns: 1fr;
  }
}


/* Editorial Force Visible */
.editorial-text-band[hidden] {
  display: block !important;
}

.editorial-text-band {
  min-height: 360px;
}


/* Biography Background Images */
.bio-grid article[data-bio-card] {
  position: relative;
  min-height: clamp(360px, 34vw, 540px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.58), rgba(5, 5, 5, 0.86)),
    var(--bio-bg),
    #0c0c0c;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.bio-grid article[data-bio-card]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 35% 20%, rgba(243, 238, 229, 0.12), transparent 40%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.62), rgba(5, 5, 5, 0.38));
  opacity: 0.85;
  pointer-events: none;
}

.bio-grid article[data-bio-card]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--bio-bg) center / cover no-repeat;
  filter: grayscale(0.22) saturate(0.78);
  transform: scale(1.04);
  opacity: 0.66;
  transition: opacity 900ms ease, transform 1200ms ease;
}

.bio-grid article[data-bio-card]:hover::after {
  opacity: 0.78;
  transform: scale(1.075);
}

.bio-grid article[data-bio-card] h3,
.bio-grid article[data-bio-card] p,
.bio-grid article[data-bio-card] ul {
  position: relative;
  z-index: 1;
}

.bio-grid article[data-bio-card] h3 {
  color: rgba(243, 238, 229, 0.94);
}

.bio-grid article[data-bio-card] p,
.bio-grid article[data-bio-card] li {
  color: rgba(243, 238, 229, 0.72);
}




/* Biography Background Stable Fix */
.bio-grid article[data-bio-card] {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: #0c0c0c !important;
  min-height: clamp(300px, 30vw, 480px);
}

.bio-grid article[data-bio-card]::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.58)),
    radial-gradient(ellipse at 72% 20%, rgba(243, 238, 229, 0.1), transparent 42%) !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

.bio-grid article[data-bio-card]::after {
  display: none !important;
}

.bio-card-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.36;
  filter: grayscale(1) saturate(0.68) contrast(0.96) brightness(0.72);
  transform: none !important;
  transition: opacity 500ms ease;
  pointer-events: none;
}

.bio-grid article[data-bio-card]:hover .bio-card-bg-image {
  opacity: 0.42;
}

.bio-grid article[data-bio-card] > :not(.bio-card-bg-image) {
  position: relative !important;
  z-index: 2 !important;
}

.bio-admin-preview {
  width: 128px;
  height: 82px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 241, 232, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: center;
}

.bio-admin-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* End Biography Background Stable Fix */


/* Fragments 50 Percent Size */
.fragments-section .fragment {
  font-size: clamp(14px, 2.15vw, 34px);
}
/* End Fragments 50 Percent Size */


/* Fragments 60 Percent Less Spacing */
.fragments-section {
  min-height: 40vh;
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(32px, 5vw, 72px);
  align-content: center;
}

.fragments {
  gap: clamp(18px, 3.2vw, 37px);
}
/* End Fragments 60 Percent Less Spacing */




/* Fragments 30 Percent More Spacing */
.fragments-section {
  min-height: 52vh;
  padding-top: clamp(42px, 6.5vw, 94px);
  padding-bottom: clamp(42px, 6.5vw, 94px);
  align-content: center;
}

.fragments {
  gap: clamp(24px, 4.15vw, 48px);
}
/* End Fragments 30 Percent More Spacing */


/* Works Title And Description */
.works-section .section-intro h2 {
  max-width: 900px;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.08;
  margin-bottom: clamp(16px, 2vw, 28px);
}

.works-section-copy {
  max-width: 900px;
  font-family: var(--sans);
  font-size: clamp(14px, 1.7vw, 26px);
  line-height: 1.45;
  color: rgba(245, 241, 232, 0.72);
  margin: 0;
}
/* End Works Title And Description */
