@font-face {
  font-family: "MarsSans";
  src: url("/fonts/Ubuntu/Ubuntu-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MarsSans";
  src: url("/fonts/Ubuntu/Ubuntu-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MarsSans";
  src: url("/fonts/Ubuntu/Ubuntu-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MarsSans";
  src: url("/fonts/Ubuntu/Ubuntu-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --bg-soft: #0d0e10;
  --panel: #141414;
  --panel-2: #1b1b1b;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f6f2ec;
  --muted: #a9acb2;
  --dim: #70747c;
  --copper: #d69255;
  --copper-strong: #f0a45a;
  --ice: #9fd0d6;
  --ink: #050505;
  --shadow: rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --radius: 8px;
  --font-display: "Bodoni 72", "Didot", "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "MarsSans", "Segoe UI", Arial, sans-serif;
  --gold-line: rgba(240, 164, 90, 0.58);
  --glass: rgba(255, 255, 255, 0.055);
  --noise-a: rgba(255, 255, 255, 0.018);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  background: var(--copper);
  color: var(--ink);
}

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

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

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

#top,
#projects,
#services,
#about,
#process,
#journal,
#contact {
  scroll-margin-top: 82px;
}

.mars-app {
  min-height: 100vh;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 124px),
    linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, #050505 95%),
    var(--bg);
}

.mars-app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.23;
  background:
    repeating-linear-gradient(0deg, transparent 0 2px, var(--noise-a) 2px 3px),
    repeating-linear-gradient(90deg, rgba(214, 146, 85, 0.012) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
}

.mars-app > * {
  position: relative;
  z-index: 1;
}

.app-loader {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 16px;
  color: var(--text);
  text-align: center;
}

.app-loader p {
  margin: 0;
  color: var(--muted);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 0 40px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.78), rgba(5, 5, 5, 0.18));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: 54px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-grid;
  grid-template-columns: 1fr 10px 1fr;
  align-items: center;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1;
}

.brand-mark i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper-strong);
  justify-self: center;
  align-self: center;
}

.brand-mark--loader {
  width: 84px;
  height: 62px;
  grid-template-columns: 1fr 14px 1fr;
  font-size: 48px;
}

.brand-mark--loader i {
  width: 11px;
  height: 11px;
}

.site-brand__text {
  display: grid;
  gap: 0;
  text-transform: uppercase;
}

.site-brand__text strong {
  font-size: 0.86rem;
  line-height: 1.1;
}

.site-brand__text small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.site-nav a,
.mobile-panel a {
  color: rgba(246, 242, 236, 0.78);
  font-size: 0.78rem;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a:hover,
.mobile-panel a:hover {
  color: var(--text);
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: var(--copper);
  background: rgba(214, 146, 85, 0.12);
}

.menu-button {
  justify-self: end;
  display: none;
}

.ui-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  width: min(360px, 88%);
  transform: translateX(100%);
  transition: transform 240ms ease;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 24px;
  background: rgba(9, 9, 9, 0.96);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 70px var(--shadow);
}

.mobile-panel.is-open {
  transform: translateX(0);
}

.mobile-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  padding: 128px 40px 46px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.91) 0%, rgba(5, 5, 5, 0.76) 38%, rgba(5, 5, 5, 0.2) 70%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.16) 0%, rgba(5, 5, 5, 0.94) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.72) 100%),
    linear-gradient(110deg, rgba(214, 146, 85, 0.16), rgba(159, 208, 214, 0.08) 48%, rgba(5, 5, 5, 0) 72%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  margin-left: max(0px, calc((100% - var(--max)) / 2));
}

.hero h1 {
  margin: 12px 0 18px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.7rem;
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: 0;
  max-width: 780px;
  text-wrap: balance;
}

.eyebrow {
  margin: 0;
  color: var(--copper-strong);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 590px;
  color: rgba(246, 242, 236, 0.76);
  font-size: 1.02rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
  white-space: normal;
  overflow-wrap: anywhere;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--copper);
  color: #100b07;
}

.btn--primary:hover {
  background: var(--copper-strong);
}

.btn--quiet {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.btn--quiet:hover {
  border-color: var(--ice);
  color: var(--ice);
}

.hero__preview {
  position: absolute;
  right: max(40px, calc((100% - var(--max)) / 2));
  bottom: 42px;
  z-index: 2;
  width: 190px;
  display: grid;
  gap: 10px;
}

.hero__preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 20px 45px var(--shadow);
}

.hero__preview span {
  color: rgba(246, 242, 236, 0.78);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.hero__social {
  position: absolute;
  right: 34px;
  top: 45%;
  z-index: 2;
  display: grid;
  gap: 12px;
  justify-items: center;
  color: rgba(246, 242, 236, 0.72);
  font-size: 0.72rem;
}

.hero__social::before,
.hero__social::after {
  content: "";
  width: 1px;
  height: 30px;
  background: var(--line-strong);
}

.work-section,
.journal-section {
  padding: 84px 40px;
  background: #050505;
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}

.section-heading h2,
.case-intro h2,
.about-copy h2,
.contact-copy h2 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.7rem;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  justify-self: end;
}

.filter-bar {
  width: min(var(--max), 100%);
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0 12px;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--text);
  border-color: var(--copper);
  background: rgba(214, 146, 85, 0.13);
}

.project-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.project-card {
  position: relative;
  min-height: 270px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}

.project-card:nth-child(1),
.project-card:nth-child(6) {
  grid-column: span 2;
}

.project-card:nth-child(3) {
  grid-row: span 2;
}

.project-card[hidden] {
  display: none;
}

.project-card a,
.project-card img {
  width: 100%;
  height: 100%;
}

.project-card a {
  display: block;
}

.project-card img {
  min-height: 270px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05) brightness(0.86);
  transition: transform 420ms ease, filter 420ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.08) brightness(0.95);
}

.project-card__meta {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 4px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, 0.88));
}

.project-card__meta small {
  color: var(--copper-strong);
  text-transform: uppercase;
  font-size: 0.72rem;
}

.project-card__meta strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
}

.project-card__meta em {
  color: rgba(246, 242, 236, 0.68);
  font-size: 0.82rem;
  font-style: normal;
}

.case-section {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 42px 0 84px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 2fr);
  gap: 10px;
}

.case-intro {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  align-self: stretch;
}

.case-intro p:not(.eyebrow) {
  color: var(--muted);
  margin: 18px 0 24px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.process-card {
  position: relative;
  min-height: 350px;
  padding: 22px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  display: grid;
  align-content: end;
}

.process-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(0.8) contrast(1.05);
}

.process-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.1), rgba(5, 5, 5, 0.9));
}

.process-card > *:not(img) {
  position: relative;
  z-index: 1;
}

.process-card span {
  color: var(--copper-strong);
  font-size: 1.3rem;
  font-family: Georgia, "Times New Roman", serif;
}

.process-card h3 {
  margin: 8px 0 6px;
  font-size: 1rem;
}

.process-card p {
  margin: 0;
  color: rgba(246, 242, 236, 0.68);
  font-size: 0.86rem;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.35fr) minmax(250px, 0.65fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.about-image,
.about-copy,
.metric-grid {
  background: #080808;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.about-copy {
  padding: 56px;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  max-width: 680px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.service-card {
  min-height: 220px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  filter: brightness(0.58) saturate(0.92);
}

.service-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, 0.92));
}

.service-card .ui-icon {
  color: var(--ice);
  margin-bottom: 10px;
}

.service-card h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: rgba(246, 242, 236, 0.68);
  font-size: 0.84rem;
}

.metric-grid {
  display: grid;
  align-content: center;
  gap: 1px;
}

.metric-card {
  min-height: 136px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 28px;
  background: #0e0e0f;
}

.metric-card .ui-icon {
  color: var(--copper-strong);
}

.metric-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.76rem;
}

.journal-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.journal-card {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.journal-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: brightness(0.66) saturate(0.88);
  transition: transform 380ms ease;
}

.journal-card:hover img {
  transform: scale(1.04);
}

.journal-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, 0.92));
}

.journal-card span {
  color: var(--copper-strong);
  text-transform: uppercase;
  font-size: 0.72rem;
}

.journal-card h3 {
  margin: 8px 0 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.contact-section {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 78px 0 84px;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1fr);
  gap: 34px;
}

.contact-copy {
  align-self: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a,
.contact-list > span {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: center;
  color: rgba(246, 242, 236, 0.78);
}

.contact-list .ui-icon {
  color: var(--copper-strong);
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

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

.contact-form span {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  resize: vertical;
}

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

.contact-form button {
  margin-top: 4px;
}

.contact-form button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--ice);
  font-size: 0.88rem;
}

.site-footer {
  min-height: 116px;
  padding: 28px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  background: #050505;
}

.site-footer p {
  margin: 0;
  font-size: 0.86rem;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
}

.video-modal[hidden] {
  display: none;
}

.video-modal__panel {
  position: relative;
  width: min(980px, 100%);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}

.video-modal__panel video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.video-modal__close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

.site-header {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.08));
  transition: height 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  height: 66px;
  background: rgba(5, 5, 5, 0.82);
  border-color: rgba(240, 164, 90, 0.18);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.site-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, var(--copper), var(--ice), transparent);
}

.site-brand__text strong {
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 28px 0;
  font-size: 0.73rem;
  font-weight: 500;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper-strong);
  opacity: 0;
  transform: translateX(-50%) translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--copper-strong);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.brand-mark {
  text-shadow: 0 0 28px rgba(246, 242, 236, 0.16);
}

.brand-mark i {
  box-shadow: 0 0 24px rgba(240, 164, 90, 0.72);
}

.hero {
  min-height: 92svh;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.75) 34%, rgba(5, 5, 5, 0.18) 70%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.1) 0%, rgba(5, 5, 5, 0.94) 100%),
    var(--hero-image);
  background-position: center right;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0%, rgba(214, 146, 85, 0.12) 42%, rgba(255, 255, 255, 0.05) 50%, transparent 61%),
    linear-gradient(180deg, transparent 72%, rgba(214, 146, 85, 0.1) 92%, transparent 100%);
  mix-blend-mode: screen;
}

.hero__grain,
.hero__smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grain {
  z-index: 0;
  opacity: 0.26;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 4px);
}

.hero__smoke {
  z-index: 0;
  opacity: 0.58;
  background:
    radial-gradient(ellipse at 68% 42%, rgba(214, 146, 85, 0.24) 0%, rgba(214, 146, 85, 0.08) 27%, transparent 56%),
    radial-gradient(ellipse at 78% 58%, rgba(246, 242, 236, 0.12) 0%, rgba(246, 242, 236, 0.04) 24%, transparent 54%);
  filter: blur(12px);
  animation: smokeDrift 12s ease-in-out infinite alternate;
}

.hero__shade {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.86) 100%),
    linear-gradient(110deg, rgba(214, 146, 85, 0.22), rgba(159, 208, 214, 0.06) 48%, rgba(5, 5, 5, 0) 72%);
}

.hero__content {
  padding-bottom: 36px;
}

.title-rule {
  display: block;
  width: 64px;
  height: 1px;
  margin: 20px 0 18px;
  background: var(--gold-line);
  box-shadow: 0 0 20px rgba(240, 164, 90, 0.38);
}

.hero h1,
.section-heading h2,
.case-intro h2,
.about-copy h2,
.contact-copy h2,
.metric-card strong {
  font-family: var(--font-display);
}

.hero h1 {
  max-width: 640px;
  font-size: 4.9rem;
  line-height: 0.96;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.62);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
}

.hero__lead {
  color: rgba(246, 242, 236, 0.72);
  font-size: 0.95rem;
}

.hero__scroll {
  position: absolute;
  left: max(28px, calc((100% - var(--max)) / 2 - 70px));
  top: 38%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 18px;
  color: rgba(246, 242, 236, 0.72);
  text-transform: uppercase;
  font-size: 0.68rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero__scroll i {
  width: 1px;
  height: 78px;
  display: block;
  background: linear-gradient(180deg, transparent, var(--copper), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

.hero__preview {
  transform: translateY(0);
  transition: transform 360ms ease;
}

.hero__preview:hover {
  transform: translateY(-6px);
}

.hero__preview img {
  filter: contrast(1.08) saturate(0.86) brightness(0.82);
}

.btn,
.filter-button,
.inline-link {
  font-weight: 500;
}

.btn--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #c7894d, #f1c078 46%, #b7753c);
  box-shadow: 0 14px 34px rgba(214, 146, 85, 0.22);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: -80% -30%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.42) 50%, transparent 65%);
  transform: translateX(-55%);
  transition: transform 620ms ease;
}

.btn--primary:hover::before {
  transform: translateX(55%);
}

.btn span,
.btn .ui-icon {
  position: relative;
  z-index: 1;
}

.btn--quiet,
.icon-button {
  backdrop-filter: blur(12px);
}

.project-card,
.process-card,
.service-card,
.journal-card,
.contact-form,
.case-intro,
.metric-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 44px rgba(0, 0, 0, 0.22);
}

.project-card::before,
.process-card::before,
.service-card::before,
.journal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(240, 164, 90, 0.2), transparent 34%);
  transition: opacity 220ms ease;
}

.project-card:hover::before,
.process-card:hover::before,
.service-card:hover::before,
.journal-card:hover::before {
  opacity: 1;
}

.process-card > *:not(img) {
  z-index: 3;
}

.project-card::after,
.journal-card::after,
.service-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(240, 164, 90, 0);
  border-radius: calc(var(--radius) - 1px);
  pointer-events: none;
  transition: border-color 220ms ease;
}

.project-card:hover::after,
.journal-card:hover::after,
.service-card:hover::after {
  border-color: rgba(240, 164, 90, 0.34);
}

.project-card__meta,
.journal-card div,
.service-card div {
  z-index: 3;
}

.project-card__meta strong,
.journal-card h3,
.service-card h3,
.process-card h3 {
  font-weight: 500;
}

.project-card__meta small,
.journal-card span,
.metric-card span {
  font-weight: 500;
}

.case-section {
  padding-top: 16px;
}

.case-intro,
.about-copy,
.contact-form {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    #090909;
}

.process-card {
  transition: transform 260ms ease, border-color 260ms ease;
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 164, 90, 0.3);
}

.about-section {
  background: rgba(240, 164, 90, 0.16);
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.54));
}

.service-card {
  transition: transform 260ms ease, border-color 260ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 208, 214, 0.34);
}

.metric-card {
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(240, 164, 90, 0.12);
}

.metric-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--copper), transparent);
  opacity: 0.45;
}

.contact-form input,
.contact-form textarea {
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 0 3px rgba(214, 146, 85, 0.08);
}

.video-modal {
  backdrop-filter: blur(16px);
}

@keyframes smokeDrift {
  from {
    transform: translate3d(-12px, 0, 0) scale(1);
  }

  to {
    transform: translate3d(18px, -12px, 0) scale(1.04);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleY(0.78);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 24px;
  }

  .site-nav {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero__preview,
  .hero__social,
  .hero__scroll {
    display: none;
  }

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

  .case-section,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .about-image img {
    min-height: 360px;
  }

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

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-header {
    height: 66px;
    padding: 0 16px;
  }

  .site-brand__text small {
    display: none;
  }

  .brand-mark {
    width: 46px;
    height: 32px;
    font-size: 27px;
  }

  .hero {
    min-height: 90svh;
    padding: 100px 18px 42px;
    background-image:
      linear-gradient(180deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.94)),
      var(--hero-image);
  }

  .hero__content {
    margin-left: 0;
  }

  .hero h1 {
    font-size: 2.75rem;
    line-height: 1.02;
  }

  .hero__lead {
    font-size: 0.96rem;
  }

  .action-row,
  .btn {
    width: 100%;
  }

  .work-section,
  .journal-section {
    padding: 58px 18px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-heading h2,
  .case-intro h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 2.08rem;
  }

  .inline-link {
    justify-self: start;
  }

  .project-grid,
  .journal-grid,
  .service-grid,
  .process-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card img,
  .journal-card,
  .journal-card img {
    min-height: 300px;
  }

  .project-card:nth-child(1),
  .project-card:nth-child(3),
  .project-card:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .case-section,
  .contact-section {
    width: calc(100% - 36px);
    padding: 24px 0 58px;
  }

  .case-intro,
  .about-copy,
  .contact-form {
    padding: 20px;
  }

  .about-image img {
    min-height: 300px;
  }

  .metric-card {
    min-height: 112px;
  }

  .site-footer {
    padding: 24px 18px;
    align-items: flex-start;
    flex-direction: column;
  }
}

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