:root {
  --ink: #171614;
  --muted: #6f6a62;
  --paper: #f3f0e8;
  --warm: #c0a16f;
  --line: rgba(23, 22, 20, 0.16);
  --charcoal: #23211e;
  --white: #fbf8f0;
  --page-x: clamp(18px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 128px);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f3f0e8;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-rendering: geometricPrecision;
}

body::before {
  background-image: radial-gradient(rgba(0, 0, 0, 0.34) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  content: "";
  inset: 0;
  opacity: 0.028;
  pointer-events: none;
  position: fixed;
  z-index: 9999;
}

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

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

.site-header {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  left: 0;
  padding: 18px var(--page-x);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 520ms var(--ease-premium),
    border-color 520ms var(--ease-premium),
    border-radius 520ms var(--ease-premium),
    box-shadow 520ms var(--ease-premium),
    left 520ms var(--ease-premium),
    padding 520ms var(--ease-premium),
    right 520ms var(--ease-premium),
    top 520ms var(--ease-premium);
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(18, 17, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(24px) saturate(135%);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
  left: clamp(14px, 3vw, 44px);
  padding: 10px clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 44px);
  top: 12px;
}

.brand {
  align-items: center;
  color: white;
  display: flex;
  gap: 12px;
  letter-spacing: 0.22em;
  min-width: 0;
}

.brand img {
  height: 52px;
  object-fit: contain;
  transition: height 520ms var(--ease-premium), width 520ms var(--ease-premium);
  width: 52px;
}

.site-header.is-scrolled .brand img {
  height: 38px;
  width: 38px;
}

.brand span {
  font-size: 19px;
  font-weight: 300;
  transition: font-size 520ms var(--ease-premium);
  white-space: nowrap;
}

.site-header.is-scrolled .brand span {
  font-size: 15px;
}

.brand strong {
  font-weight: 800;
}

.main-nav {
  align-items: center;
  color: white;
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.main-nav a,
.site-footer a {
  position: relative;
  opacity: 0.82;
  transition: opacity 180ms ease, color 180ms ease;
}

.main-nav a::after {
  background: var(--warm);
  bottom: -10px;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 420ms var(--ease-premium), transform 420ms var(--ease-premium);
  width: calc(100% - 0.28em);
}

.main-nav a:hover,
.main-nav a.is-active,
.site-footer a:hover {
  color: var(--warm);
  opacity: 1;
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.socials {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.header-socials {
  justify-content: flex-end;
  pointer-events: auto;
  position: relative;
  z-index: 30;
}

.socials a {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  letter-spacing: 0.08em;
  min-width: 38px;
  padding: 0 13px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-socials a {
  cursor: pointer;
  height: 58px;
  padding: 0;
  transition:
    background 520ms var(--ease-premium),
    color 520ms var(--ease-premium),
    height 520ms var(--ease-premium),
    transform 520ms var(--ease-premium),
    width 520ms var(--ease-premium);
  width: 58px;
}

.site-header.is-scrolled .header-socials a {
  height: 40px;
  width: 40px;
}

.header-socials svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  transition: height 520ms var(--ease-premium), width 520ms var(--ease-premium);
  width: 22px;
}

.site-header.is-scrolled .header-socials svg {
  height: 17px;
  width: 17px;
}

.header-socials a {
  color: white;
}

.socials a:hover {
  background: var(--warm);
  color: var(--ink);
  transform: translateY(-2px);
}

.hero {
  background: #11100e;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

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

.hero video {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.16) 54%, rgba(0, 0, 0, 0.46)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.62));
}

.hero-content {
  animation: hero-content-in 1200ms var(--ease-premium) 240ms both;
  color: white;
  left: clamp(22px, 7vw, 96px);
  max-width: 780px;
  position: absolute;
  top: 50%;
  transform: translateY(-48%);
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-line,
.hero-content .hero-consult {
  animation: hero-item-in 1150ms var(--ease-premium) both;
}

.hero-content .eyebrow {
  animation-delay: 220ms;
}

.hero-content h1 {
  animation-delay: 360ms;
}

.hero-content .hero-line {
  animation-delay: 520ms;
}

.hero-content .hero-consult {
  animation-delay: 680ms;
}

.eyebrow,
.section-kicker {
  color: var(--warm);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 10vw, 138px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.78;
  margin: 0;
}

.hero-line {
  font-size: clamp(14px, 1.5vw, 22px);
  letter-spacing: 0.28em;
  margin: 28px 0 0;
  text-transform: uppercase;
}

.consult-link {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.2em;
  min-height: 42px;
  padding: 0 18px;
  text-transform: uppercase;
  transition: background 260ms var(--ease-premium), color 260ms var(--ease-premium), transform 260ms var(--ease-premium);
}

.consult-link:hover {
  transform: translateY(-2px);
}

.hero-consult {
  color: rgba(255, 255, 255, 0.86);
  margin-top: 26px;
}

.hero-consult:hover {
  background: white;
  color: var(--ink);
}

.hero-footer {
  animation: hero-footer-in 1300ms var(--ease-premium) 820ms both;
  align-items: end;
  bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  font-size: 11px;
  gap: 24px;
  justify-content: space-between;
  left: clamp(22px, 7vw, 96px);
  position: absolute;
  right: clamp(22px, 7vw, 96px);
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(-44%);
  }
  to {
    opacity: 1;
    transform: translateY(-48%);
  }
}

@keyframes hero-item-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-footer-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-pad {
  padding: var(--section-y) var(--page-x);
}

.intro {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.contact-grid {
  display: grid;
  gap: clamp(34px, 7vw, 92px);
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  margin: 0 auto;
  max-width: 1180px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.7vw, 66px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

.intro-title {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.08;
}

.intro-copy {
  align-self: end;
  color: var(--muted);
  font-size: clamp(14px, 1.12vw, 17px);
  line-height: 1.78;
}

.intro-copy p {
  margin: 0 0 22px;
}

.projects {
  background: #faf9f6;
  padding-left: 24px;
  padding-right: 24px;
}

.section-head {
  margin: 0 auto clamp(34px, 4.2vw, 54px);
  max-width: 1180px;
  width: 100%;
}

.section-head h2,
.intro-title,
.project-page-hero h1,
.admin-hero h1 {
  text-wrap: balance;
}

.intro-grid,
.contact-grid,
.project-editorial {
  width: 100%;
}

.filters {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 30px;
  max-width: 96vw;
}

.project-tools {
  display: flex;
  justify-content: center;
  margin: -12px auto 18px;
  max-width: 520px;
  width: 100%;
}

.project-search {
  position: relative;
  width: min(100%, 420px);
}

.project-search span {
  color: var(--muted);
  display: block;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.22em;
  margin-bottom: 8px;
  text-align: center;
  text-transform: uppercase;
}

.project-search input {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 22, 20, 0.12);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  height: 44px;
  outline: none;
  padding: 0 20px;
  text-align: center;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  width: 100%;
}

.project-search input:focus {
  background: white;
  border-color: rgba(192, 161, 111, 0.54);
  box-shadow: 0 12px 34px rgba(23, 22, 20, 0.06);
}

.filters button {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(23, 22, 20, 0.18);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 10px 14px;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filters button em {
  color: inherit;
  font-style: normal;
  opacity: 0.54;
}

.filters button.is-active,
.filters button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.project-grid {
  display: grid;
  gap: clamp(16px, 1.35vw, 20px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: none;
  padding-inline: 0;
  width: 100%;
}

.project-card {
  background: #f4f1eb;
  border: 1px solid rgba(23, 22, 20, 0.08);
  border-radius: 4px;
  color: white;
  cursor: pointer;
  display: block;
  min-height: auto;
  overflow: hidden;
  position: relative;
  transition:
    border-color 900ms var(--ease-premium),
    box-shadow 900ms var(--ease-premium),
    opacity 1200ms var(--ease-premium) var(--reveal-delay, 0ms),
    transform 1200ms var(--ease-premium) var(--reveal-delay, 0ms);
}

.project-card.portfolio-reveal {
  transform: translateY(34px);
}

.project-card.portfolio-reveal.is-visible {
  transform: translateY(0);
}

.project-card.portfolio-reveal.is-visible:hover,
.project-card.portfolio-reveal.is-visible:focus-visible {
  transform: translateY(-3px);
}

.project-card:nth-child(5n + 1) {
  grid-row: auto;
  min-height: auto;
}

.project-media {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: #f4f1eb;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.project-media::before {
  background:
    linear-gradient(90deg, rgba(250, 249, 246, 0.96), rgba(250, 249, 246, 0.82)),
    #faf9f6;
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(0);
  transform-origin: left;
  transition: transform 1250ms var(--ease-premium) var(--reveal-delay, 0ms);
  z-index: 2;
}

.project-card.is-visible .project-media::before {
  transform: translateX(102%);
}

.project-card img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  transform: scale(1.018);
  transition:
    filter 1100ms var(--ease-premium),
    transform 1100ms var(--ease-premium);
  width: 100%;
}

.project-card::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 12%, rgba(0, 0, 0, 0.14) 58%, rgba(0, 0, 0, 0.58)),
    rgba(0, 0, 0, 0);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 850ms var(--ease-premium), background 850ms var(--ease-premium);
}

.project-card:hover,
.project-card:focus-visible {
  border-color: rgba(192, 161, 111, 0.52);
  box-shadow: 0 24px 54px rgba(32, 28, 21, 0.12);
  transform: translateY(-3px);
}

.project-card:hover::after,
.project-card:focus-visible::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 8%, rgba(0, 0, 0, 0.24) 54%, rgba(0, 0, 0, 0.72)),
    rgba(0, 0, 0, 0.12);
  opacity: 1;
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.028);
}

.project-info {
  bottom: 0;
  display: grid;
  gap: 12px;
  left: 0;
  opacity: 0;
  padding: clamp(18px, 2.4vw, 28px);
  position: absolute;
  right: 0;
  transform: translateY(14px);
  transition: opacity 850ms var(--ease-premium), transform 850ms var(--ease-premium);
  z-index: 1;
}

.project-card:hover .project-info,
.project-card:focus-visible .project-info {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none), (pointer: coarse) {
  .project-card::after {
    opacity: 1;
  }

  .project-info {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.project-meta span {
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.project-info h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 400;
  line-height: 1.04;
  margin: 0;
}

.loading {
  color: var(--muted);
  grid-column: 1 / -1;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.contact-panel,
.contact-form {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.contact-panel h3,
.contact-form h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 16px;
}

.contact-panel > p,
.contact-form p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 28px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 34px 0;
}

.contact-list a,
.contact-list p {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  padding-bottom: 16px;
}

.contact-list span,
.contact-form label span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  outline: none;
  padding: 14px 16px;
  transition: border-color 180ms ease, background 180ms ease;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: white;
  border-color: var(--warm);
}

.contact-form button {
  background: var(--ink);
  border: 0;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  min-height: 56px;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.contact-form button:hover {
  background: #000;
  transform: translateY(-2px);
}

.form-note {
  min-height: 22px;
}

.map-wrap {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 70px auto 0;
  max-width: 1380px;
}

.map-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.map-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  margin: 0;
  padding: 18px 20px;
}

.map-wrap iframe {
  border: 0;
  height: 420px;
  width: 100%;
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--ink);
  color: white;
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  padding: clamp(58px, 8vw, 104px) var(--page-x) 34px;
}

.footer-brand {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.footer-brand .section-kicker {
  margin: 0;
}

.footer-brand h2 {
  color: white;
  font-size: clamp(34px, 5vw, 74px);
  line-height: 0.98;
}

.footer-columns {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 28px;
  grid-template-columns: 0.9fr 1.25fr 0.75fr;
  padding: 28px 0;
}

.footer-columns > div,
.footer-columns nav {
  display: grid;
  gap: 10px;
}

.footer-columns span {
  color: var(--warm);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.project-detail {
  background: var(--white);
  color: var(--ink);
  min-height: 100vh;
}

.project-route .site-header {
  background: rgba(19, 18, 16, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.project-page-hero {
  background: #f5f2eb;
  min-height: 92svh;
  overflow: hidden;
  position: relative;
}

.project-page-hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  transform: translate3d(0, calc(var(--parallax, 0) * 0.32), 0) scale(1.035);
  width: 100%;
  will-change: transform;
}

.project-page-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.06) 46%, rgba(0, 0, 0, 0.62)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.02) 62%);
  inset: 0;
  position: absolute;
}

.project-page-hero-content {
  bottom: clamp(42px, 8vw, 92px);
  color: white;
  left: clamp(18px, 6vw, 88px);
  max-width: 760px;
  position: absolute;
  right: clamp(18px, 6vw, 88px);
}

.project-page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 82px);
  font-weight: 400;
  line-height: 0.98;
  margin: 0;
}

.project-back {
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  margin-bottom: 28px;
  padding: 12px 16px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.project-back:hover {
  background: white;
  color: var(--ink);
}

.project-editorial {
  align-items: start;
  display: grid;
  gap: clamp(34px, 8vw, 112px);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  margin: 0 auto;
  max-width: 1180px;
}

.project-facts {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
}

.project-facts p {
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  margin: 0;
  padding: 14px 0;
}

.project-facts span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.project-copy {
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.82;
}

.project-copy p {
  margin: 0;
}

.project-gallery-page {
  display: grid;
  gap: clamp(42px, 8vw, 110px);
  grid-template-columns: 1fr;
  margin: 0 auto;
  max-width: none;
  padding: 0 clamp(10px, 2vw, 28px) clamp(70px, 10vw, 134px);
}

.project-gallery-item {
  aspect-ratio: auto;
  background: #f8f5ef;
  border: 1px solid rgba(23, 22, 20, 0.08);
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(23, 22, 20, 0.06);
  height: clamp(520px, 86svh, 920px);
  margin: 0;
  overflow: hidden;
}

.project-gallery-item button {
  background: #f8f5ef;
  border: 0;
  cursor: zoom-in;
  display: block;
  height: 100%;
  padding: 0;
  width: 100%;
}

.project-gallery-item.is-wide {
  aspect-ratio: auto;
  grid-column: 1 / -1;
}

.project-gallery-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, calc(var(--parallax, 0) * 0.18), 0) scale(1.01);
  transition: transform 1200ms var(--ease-premium), filter 1200ms var(--ease-premium);
  width: 100%;
  will-change: transform;
}

.project-gallery-item:hover img {
  transform: translate3d(0, calc(var(--parallax, 0) * 0.18), 0) scale(1.025);
}

.project-navigation {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-navigation a {
  align-content: end;
  background: #11100e;
  border: 0;
  border-radius: 8px;
  color: white;
  display: grid;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.5vw, 34px);
  gap: 10px;
  line-height: 1.05;
  min-height: clamp(260px, 34vw, 440px);
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  position: relative;
  transition: transform 700ms var(--ease-premium), box-shadow 700ms var(--ease-premium);
}

.project-navigation img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.7;
  position: absolute;
  transform: scale(1.01);
  transition: opacity 900ms var(--ease-premium), transform 900ms var(--ease-premium);
  width: 100%;
}

.project-navigation a::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.68)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 68%);
  content: "";
  inset: 0;
  position: absolute;
}

.project-navigation strong {
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.project-navigation a:hover {
  box-shadow: 0 24px 70px rgba(23, 22, 20, 0.18);
  transform: translateY(-4px);
}

.project-navigation a:hover img {
  opacity: 0.88;
  transform: scale(1.055);
}

.project-navigation span {
  color: rgba(255, 255, 255, 0.74);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.project-story-block {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.project-story-block:first-child {
  padding-top: 0;
}

.project-story-block span {
  color: var(--muted);
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.project-story-block p {
  margin: 0;
}

.project-consult {
  color: rgba(255, 255, 255, 0.88);
  margin-top: 26px;
}

.project-consult:hover {
  background: white;
  color: var(--ink);
}

.about-page {
  background: var(--paper);
  min-height: 100vh;
  padding: clamp(118px, 16vw, 190px) var(--page-x) clamp(82px, 12vw, 150px);
}

.about-route .site-header {
  background: rgba(19, 18, 16, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.about-shell {
  margin: 0 auto;
  max-width: 1180px;
}

.about-back {
  border-color: rgba(23, 22, 20, 0.28);
  color: var(--ink);
  margin-bottom: 48px;
}

.about-back:hover {
  background: var(--ink);
  color: white;
}

.about-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(38px, 6vw, 70px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.about-shell h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 940px;
  text-wrap: balance;
}

.about-story {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 42px;
}

.about-story p {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.78;
  margin: 0;
  padding-top: 20px;
}

.about-shell .consult-link {
  color: var(--ink);
}

.about-shell .consult-link:hover {
  background: var(--ink);
  color: white;
}

.mobile-call {
  background: rgba(23, 22, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  bottom: 16px;
  color: white;
  display: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  padding: 13px 18px;
  position: fixed;
  right: 16px;
  text-transform: uppercase;
  z-index: 30;
}

.gallery-lightbox {
  align-items: center;
  animation: lightbox-in 420ms var(--ease-premium);
  backdrop-filter: blur(22px) saturate(118%);
  background: rgba(248, 245, 239, 0.86);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(18px, 4vw, 58px);
  position: fixed;
  z-index: 10001;
}

.lightbox-bg {
  background-position: center;
  background-size: cover;
  filter: blur(34px) saturate(92%);
  inset: -42px;
  opacity: 0.32;
  position: absolute;
  transform: scale(1.08);
}

.gallery-lightbox img {
  animation: lightbox-image-in 620ms var(--ease-premium);
  filter: drop-shadow(0 28px 70px rgba(23, 22, 20, 0.18));
  height: min(88vh, 920px);
  max-width: min(94vw, 1600px);
  object-fit: cover;
  position: relative;
  width: min(94vw, 1600px);
  z-index: 1;
}

.gallery-lightbox p {
  bottom: 22px;
  color: rgba(23, 22, 20, 0.66);
  font-size: 11px;
  letter-spacing: 0.18em;
  position: absolute;
  z-index: 2;
}

.lightbox-close,
.lightbox-arrow {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 22, 20, 0.14);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  position: absolute;
  z-index: 3;
}

.lightbox-close {
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 12px 16px;
  right: 24px;
  text-transform: uppercase;
  top: 24px;
}

.lightbox-arrow {
  align-items: center;
  display: flex;
  font-size: 42px;
  height: 58px;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
}

.lightbox-arrow.is-prev {
  left: 24px;
}

.lightbox-arrow.is-next {
  right: 24px;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes lightbox-image-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.is-route-transitioning main,
.is-route-transitioning .project-detail,
.is-route-transitioning .about-page {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1200ms var(--ease-premium) var(--reveal-delay, 0ms),
    transform 1200ms var(--ease-premium) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .project-media::before {
    display: none;
  }

  .hero-content,
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content .hero-line,
  .hero-content .hero-consult,
  .hero-footer {
    animation: none;
  }

  [data-parallax] {
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    gap: 12px;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .brand {
    justify-self: center;
  }

  .main-nav {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    gap: 16px;
    justify-content: center;
    max-width: 100%;
    overflow-x: auto;
    padding: 9px 13px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .header-socials {
    justify-content: center;
  }

  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .map-wrap {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card:nth-child(5n + 1) {
    min-height: auto;
  }

  .project-editorial,
  .project-navigation {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
  }

  .brand img {
    height: 42px;
    width: 42px;
  }

  .brand span {
    font-size: 16px;
  }

  .main-nav {
    font-size: 9px;
    gap: 12px;
    letter-spacing: 0.18em;
    max-width: calc(100vw - 32px);
  }

  .site-header.is-scrolled {
    border-radius: 22px;
    left: 12px;
    right: 12px;
  }

  .header-socials {
    display: none;
  }

  .hero-content {
    left: 18px;
    right: 18px;
  }

  .hero-footer,
  .site-footer {
    align-items: flex-start;
  }

  .hero-footer {
    gap: 8px;
    left: 18px;
    right: 18px;
  }

  .project-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .projects {
    padding-left: 16px;
    padding-right: 16px;
  }

  .project-card,
  .project-card:nth-child(5n + 1) {
    min-height: auto;
  }

  .filters button {
    flex: 1 1 auto;
  }

  .project-tools {
    margin-top: -2px;
  }

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

  .project-gallery-item {
    height: 72svh;
  }

  .project-gallery-item.is-wide {
    aspect-ratio: auto;
  }

  .about-page {
    padding: 102px 18px 76px;
  }

  .about-shell h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .mobile-call {
    display: inline-flex;
  }

  .lightbox-arrow {
    bottom: 24px;
    top: auto;
    transform: none;
  }

  .lightbox-arrow.is-prev {
    left: 20px;
  }

  .lightbox-arrow.is-next {
    right: 20px;
  }
}

.contact.section-pad {
  padding: clamp(72px, 9vw, 116px) clamp(20px, 5vw, 70px);
}

.contact .section-head {
  margin-bottom: clamp(38px, 5vw, 64px);
  max-width: 1200px;
}

.contact .section-head h2 {
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 0.96;
}

.contact-grid {
  gap: clamp(38px, 6vw, 82px);
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  max-width: 1200px;
  position: relative;
}

.contact-grid::before {
  background: rgba(23, 22, 20, 0.11);
  content: "";
  height: 100%;
  left: calc(47% - 1px);
  position: absolute;
  top: 0;
  width: 1px;
}

.contact-panel,
.contact-form {
  border-top-color: rgba(23, 22, 20, 0.12);
  padding-top: 26px;
}

.contact-panel {
  padding-right: clamp(0px, 2vw, 18px);
}

.contact-form {
  gap: 16px;
  padding-left: clamp(0px, 2vw, 18px);
}

.contact-panel h3,
.contact-form h3 {
  font-size: clamp(28px, 2.6vw, 34px);
  line-height: 1.04;
  margin-bottom: 14px;
}

.contact-panel > p,
.contact-form p {
  font-size: 14px;
  line-height: 1.72;
  margin-bottom: 26px;
  max-width: 560px;
}

.contact-list {
  gap: 14px;
  margin: 30px 0;
}

.contact-list a,
.contact-list p {
  border-bottom-color: rgba(23, 22, 20, 0.12);
  font-size: clamp(14px, 1.12vw, 17px);
  font-weight: 500;
  line-height: 1.45;
  padding-bottom: 15px;
}

.contact-list span,
.contact-form label span {
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-bottom: 7px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 253, 248, 0.82);
  border-color: rgba(23, 22, 20, 0.14);
  font-size: 14px;
  min-height: 54px;
  padding: 13px 15px;
}

.contact-form textarea {
  line-height: 1.55;
  min-height: 126px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(111, 106, 98, 0.72);
}

.contact-form button {
  font-size: 12px;
  letter-spacing: 0.16em;
  min-height: 54px;
}

.contact .socials a {
  font-size: 11px;
  height: 36px;
  letter-spacing: 0.1em;
  padding-inline: 14px;
}

.contact .map-wrap {
  gap: 16px;
  margin-top: clamp(52px, 7vw, 78px);
  max-width: 1200px;
}

.contact .map-card {
  border-color: rgba(23, 22, 20, 0.12);
}

.contact .map-card h3 {
  font-size: clamp(24px, 2vw, 30px);
  padding: 16px 18px;
}

.contact .map-wrap iframe {
  height: 360px;
}

@media (max-width: 980px) {
  .contact-grid {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .contact-grid::before {
    display: none;
  }

  .contact-form,
  .contact-panel {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .contact.section-pad {
    padding: 64px 18px;
  }

  .contact .section-head {
    margin-bottom: 34px;
  }

  .contact .section-head h2 {
    font-size: clamp(42px, 12vw, 48px);
    line-height: 1;
  }

  .contact-panel h3,
  .contact-form h3 {
    font-size: 28px;
  }

  .contact-panel > p,
  .contact-form p,
  .contact-list a,
  .contact-list p {
    font-size: 15px;
  }

  .contact .map-wrap iframe {
    height: 320px;
  }
}

.admin-page {
  background: var(--paper);
}

.admin-shell {
  margin: 0 auto;
  max-width: 1380px;
  padding: clamp(24px, 5vw, 70px);
}

.admin-hero {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: 280px 1fr;
  margin-bottom: 44px;
}

.admin-brand {
  align-items: center;
  display: flex;
  gap: 14px;
  letter-spacing: 0.22em;
}

.admin-brand img {
  height: 58px;
  object-fit: contain;
  width: 58px;
}

.admin-brand span {
  font-size: 22px;
  font-weight: 300;
}

.admin-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 94px);
  font-weight: 400;
  line-height: 0.95;
  margin: 0;
}

.admin-hero p:last-child {
  color: var(--muted);
  font-size: 18px;
  margin: 18px 0 0;
}

.admin-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 34px);
}

.admin-card h2,
.admin-toolbar h2 {
  font-size: clamp(32px, 4vw, 58px);
}

.admin-workspace {
  display: grid;
  gap: 28px;
}

.admin-toolbar {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.admin-toolbar.compact-toolbar {
  align-items: flex-start;
  margin-bottom: 24px;
}

.admin-toolbar.compact-toolbar p:last-child {
  color: var(--muted);
  margin: 12px 0 0;
}

.admin-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
}

.admin-form {
  display: grid;
  gap: 16px;
}

.admin-form.compact {
  max-width: 520px;
}

.admin-form label span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  min-height: 50px;
  outline: none;
  padding: 13px 14px;
  width: 100%;
}

.admin-form textarea {
  resize: vertical;
}

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

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

.admin-form button,
.admin-toolbar button,
.admin-project-actions button {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  min-height: 42px;
  padding: 0 18px;
  text-transform: uppercase;
}

.admin-actions button[type="button"],
.admin-project-actions button {
  background: transparent;
  color: var(--ink);
}

.project-admin-list {
  display: grid;
  gap: 14px;
}

.site-content-admin {
  display: grid;
  gap: 18px;
}

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

.site-content-field {
  display: grid;
  gap: 8px;
}

.site-content-field span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-content-field textarea {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
  min-height: 78px;
  outline: none;
  padding: 13px 14px;
  resize: vertical;
  width: 100%;
}

.admin-project {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 110px 1fr auto;
  padding-bottom: 14px;
}

.admin-project:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-project img {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.admin-project h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 8px;
}

.admin-project p {
  color: var(--muted);
  margin: 0;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

code {
  background: rgba(23, 22, 20, 0.08);
  border-radius: 4px;
  padding: 2px 5px;
}

@media (max-width: 980px) {
  .admin-hero,
  .admin-layout,
  .site-content-form {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .admin-two,
  .admin-project {
    grid-template-columns: 1fr;
  }
}
