/*
Theme Name: Majesta Design & Build
Theme URI: https://majesta.me
Author: Majesta
Description: Custom WordPress theme faithful to the supplied Majesta HTML design, with editable project pages and galleries.
Version: 1.3.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: majesta
*/
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("assets/cormorant-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}
:root {
  --text: #eeeae2;
  --surface: #191817;
  --charcoal: #101010;
  --raised: #23211f;
  --muted: #aaa59d;
  --gold: #c6a15b;
  --line: rgba(238, 234, 226, 0.17);
  --light-line: rgba(238, 234, 226, 0.17);
  --gutter: clamp(24px, 5.3vw, 88px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--text);
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}
body.overlay-open {
  overflow: hidden;
}
::selection {
  background: var(--gold);
  color: var(--charcoal);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.3;
  cursor: default;
}
button:disabled:hover {
  transform: none;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.1;
}
button {
  border: 0;
  background: none;
  padding: 0;
}
em {
  font-family: Cormorant, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.js-only {
  display: none !important;
}
.js-enabled .js-only {
  display: flex !important;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 20px;
  color: var(--charcoal);
  background: var(--gold);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}
.eyebrow {
  font-size: 10px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-pad {
  padding: 110px var(--gutter);
}
.section-index {
  display: flex;
  align-items: center;
  gap: 18px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 65px;
}
.tiny-cross {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
}
.display-heading {
  font-size: clamp(40px, 4.4vw, 70px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}
.display-heading em {
  font-size: 1.16em;
  line-height: 0.98;
}
.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}
.section-heading-row > p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 330px;
  padding-bottom: 5px;
  color: var(--muted);
}
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-radius: 100px;
  padding: 6px 6px 6px 25px;
  min-height: 56px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.4s var(--ease);
}
.pill-button:hover {
  transform: translateY(-3px);
}
.arrow-disc {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 400;
  transition: transform 0.4s var(--ease);
}
.pill-button:hover .arrow-disc {
  transform: rotate(45deg);
}
.button-light {
  background: var(--gold);
  color: var(--charcoal);
}
.button-light .arrow-disc {
  background: var(--charcoal);
  color: var(--gold);
}
.button-outline {
  border: 1px solid var(--line);
}
.button-outline .arrow-disc {
  background: var(--gold);
  color: var(--charcoal);
}
.button-dark {
  background: var(--gold);
  color: var(--charcoal);
}
.button-dark .arrow-disc {
  background: var(--charcoal);
  color: var(--gold);
}
.button-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.button-gold .arrow-disc {
  background: var(--charcoal);
  color: var(--gold);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}
.text-link span {
  font-size: 21px;
  transition: transform 0.3s;
}
.text-link:hover span {
  transform: translate(3px, -3px);
}
.circle-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font:
    22px Arial,
    sans-serif;
  transition:
    background 0.25s,
    color 0.25s;
}
.circle-button:not(:disabled):hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* A quiet, transparent navigation gives the architecture the first word. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 104px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--text);
  border-bottom: 1px solid var(--light-line);
  transition:
    background 0.4s,
    color 0.4s,
    height 0.4s,
    border 0.4s;
}
.brand {
  width: 166px;
  flex-shrink: 0;
  display: block;
}
.brand img {
  width: 100%;
  height: auto;
  filter: none;
}
.desktop-nav {
  display: flex;
  gap: 35px;
  font-size: 11px;
  margin-left: auto;
  margin-right: 42px;
}
.desktop-nav a {
  position: relative;
  padding: 10px 0;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.desktop-nav a:hover::after {
  transform: scaleX(1);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 11px;
  font-weight: 600;
  padding: 10px 21px;
  border: 1px solid rgba(238, 234, 226, 0.45);
  border-radius: 100px;
  transition:
    background 0.3s,
    color 0.3s;
}
.header-cta span {
  font-size: 20px;
  line-height: 1;
}
.header-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}
.site-header.is-scrolled {
  height: 80px;
  background: rgba(16, 16, 16, 0.96);
  color: var(--text);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled .brand img {
  filter: none;
}
.site-header.is-scrolled .header-cta {
  border-color: var(--line);
}
.menu-toggle {
  width: 30px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  color: var(--text);
  z-index: 25;
  padding: 150px var(--gutter) 50px;
  overflow: auto;
}
.mobile-nav > .eyebrow {
  color: var(--gold);
  display: block;
  margin-bottom: 35px;
}
.mobile-nav > a:not(.mobile-email) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: clamp(30px, 7vw, 50px);
  letter-spacing: -0.04em;
  border-bottom: 1px solid var(--light-line);
}
.mobile-nav > a > span {
  font-size: 12px;
  letter-spacing: 0;
}
.mobile-email {
  display: block;
  margin-top: 40px;
  color: var(--gold);
}
.site-header.menu-open {
  background: var(--charcoal);
  color: var(--text);
  border-color: var(--light-line);
}
.site-header.menu-open .brand img {
  filter: none;
}

/* Cinematic project scenes: manual selection, never auto-advancing. */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  height: min(100svh, 1050px);
  background: var(--charcoal);
  color: var(--text);
  overflow: hidden;
}
.hero-scenes,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1.1s ease,
    transform 1.4s var(--ease);
}
.hero-scene.is-active {
  opacity: 1;
  transform: scale(1);
}
.motion-on .hero-scene.is-active {
  animation: scene-drift 20s ease-in-out infinite alternate;
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.7) 0%,
      rgba(8, 8, 8, 0.32) 58%,
      rgba(8, 8, 8, 0.12) 100%
    ),
    linear-gradient(
      0deg,
      rgba(8, 8, 8, 0.88),
      transparent 36%,
      transparent 77%,
      rgba(8, 8, 8, 0.45)
    );
}
.hero-topline {
  position: absolute;
  top: 143px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.hero-topline .eyebrow {
  font-size: 9px;
  letter-spacing: 0.17em;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 9px;
  vertical-align: middle;
}
.hero-location {
  opacity: 0.7;
}
.hero-content {
  padding: 225px var(--gutter) 175px;
  max-width: 1100px;
}
.hero-kicker {
  font-size: 11px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  color: rgba(238, 234, 226, 0.8);
}
.hero h1 {
  font-size: clamp(76px, 8.4vw, 138px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.95;
}
.hero h1 em {
  font-size: 1.18em;
  line-height: 0.94;
  letter-spacing: -0.05em;
}
.hero-description {
  font-size: 12px;
  line-height: 1.9;
  color: rgba(238, 234, 226, 0.8);
  margin: 28px 0 28px;
  max-width: 440px;
}
.hero-bottom {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(238, 234, 226, 0.25);
  padding-top: 23px;
  gap: 30px;
}
.featured-project {
  min-width: 200px;
}
.featured-project .eyebrow {
  font-size: 8px;
  opacity: 0.6;
  display: block;
  margin-bottom: 7px;
}
.featured-name {
  display: flex;
  gap: 25px;
  font-size: 13px;
  align-items: center;
}
.featured-name > span:last-child {
  font-size: 20px;
  transition: transform 0.3s;
}
.featured-project:hover .featured-name > span:last-child {
  transform: translate(3px, -3px);
}
.scene-controls {
  display: flex;
  gap: 18px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}
.scene-button {
  font-size: 9px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  padding: 10px 0;
  min-height: 44px;
}
.scene-button span {
  width: 25px;
  height: 1px;
  background: currentColor;
  transition:
    width 0.5s,
    background 0.5s;
}
.scene-button.is-active {
  opacity: 1;
}
.scene-button.is-active span {
  background: var(--gold);
  width: 66px;
}
.scroll-link {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 9px;
  letter-spacing: 0.04em;
}
.scroll-arrow {
  font:
    22px Arial,
    sans-serif;
}
@keyframes scene-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.studio {
  padding-top: 110px;
  padding-bottom: 80px;
}
.studio-layout {
  display: grid;
  grid-template-columns: 26% 74%;
  gap: 0;
}
.studio-side {
  font-size: 12px;
  line-height: 1.7;
  padding-top: 8px;
}
.vertical-rule {
  display: block;
  width: 1px;
  height: 65px;
  background: var(--line);
  margin: 25px 0;
}
.studio-side .eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.studio-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  margin: 38px 0 20px;
  max-width: 780px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.standard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding-top: 35px;
}
.standard-metrics > div {
  display: flex;
  gap: 23px;
  align-items: center;
  padding-right: 20px;
}
.standard-metrics > div + div {
  border-left: 1px solid var(--line);
  padding-left: 35px;
}
.metric-number {
  font-size: 72px;
  letter-spacing: -0.08em;
  line-height: 1.1;
  font-weight: 400;
}
.metric-dot {
  color: var(--gold);
}
.metric-letters {
  font-size: 56px;
  letter-spacing: -0.06em;
}
.standard-metrics p {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.discipline-strip {
  overflow: hidden;
  background: var(--charcoal);
  color: var(--text);
  padding: 23px 0;
}
.discipline-track {
  display: flex;
  gap: 40px;
  align-items: center;
  width: max-content;
  font-size: clamp(26px, 3.2vw, 48px);
  letter-spacing: -0.045em;
  font-weight: 400;
}
.discipline-track > span {
  flex-shrink: 0;
}
.discipline-track .strip-divider {
  width: 1px;
  height: 32px;
  background: rgba(238, 234, 226, 0.35);
}
.motion-on .discipline-track {
  animation: discipline-scroll 36s linear infinite;
}
.discipline-strip:hover .discipline-track {
  animation-play-state: paused;
}
@keyframes discipline-scroll {
  to {
    transform: translateX(-50%);
  }
}

.work {
  background: var(--surface);
}
.work-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 45px;
  gap: 20px;
}
.project-filters {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.filter-button {
  font-size: 11px;
  padding: 8px 0;
  color: var(--muted);
  min-height: 44px;
  position: relative;
}
.filter-button sup {
  font-size: 8px;
  padding-left: 3px;
}
.filter-button.is-active {
  color: var(--text);
}
.filter-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--charcoal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.filter-button.is-active::after,
.filter-button:hover::after {
  transform: scaleX(1);
}
.portfolio-note {
  font-size: 8px;
  color: var(--muted);
  white-space: nowrap;
}
.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 65px 6.5%;
  align-items: start;
}
.project-card:nth-child(even) {
  padding-top: 75px;
}
.project-image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--raised);
  aspect-ratio: 1.37;
}
.project-card:nth-child(even) .project-image-wrap {
  aspect-ratio: 0.98;
}
.project-card[data-project-card="terra"] .project-image-wrap {
  aspect-ratio: 0.82;
}
.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.1s var(--ease),
    filter 0.8s;
}
.project-link:hover img {
  transform: scale(1.05);
  filter: brightness(0.92);
}
.project-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  border: 1px solid rgba(238, 234, 226, 0.45);
  color: var(--text);
  background: rgba(8, 8, 8, 0.42);
  backdrop-filter: blur(5px);
  border-radius: 100px;
  padding: 5px 11px;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.project-open {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: var(--gold);
  color: var(--charcoal);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font:
    25px Arial,
    sans-serif;
  transition:
    background 0.3s,
    transform 0.4s var(--ease);
}
.project-link:hover .project-open {
  background: var(--text);
  transform: rotate(45deg);
}
.project-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 18px;
  gap: 15px;
}
.project-caption h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
}
.project-caption p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.project-number {
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.project-grid.is-filtered .project-card {
  padding-top: 0;
}
.project-grid.is-filtered .project-image-wrap {
  aspect-ratio: 1.2;
}
.work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 65px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.work-footer > span {
  font-size: 10px;
  color: var(--muted);
}

.principles {
  background: var(--charcoal);
  color: var(--text);
  padding-top: 90px;
  padding-bottom: 100px;
}
.principles .tiny-cross {
  color: var(--gold);
}
.principles .section-index {
  color: rgba(238, 234, 226, 0.6);
}
.principles-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 8%;
}
.principles .display-heading {
  font-size: clamp(40px, 3.8vw, 61px);
}
.principles-statement > p {
  font-size: 12px;
  color: rgba(238, 234, 226, 0.6);
  margin-top: 30px;
}
.accountability-mark {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 9px;
  letter-spacing: 0.24em;
  margin-top: 55px;
  color: var(--gold);
}
.mark-orbit {
  font-size: 40px;
  font-weight: 400;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(198, 161, 91, 0.4);
  border-radius: 50%;
  line-height: 1;
}
.principle-list article {
  display: flex;
  gap: 22px;
  border-top: 1px solid var(--light-line);
  padding: 27px 0;
}
.principle-list article:last-child {
  border-bottom: 1px solid var(--light-line);
}
.principle-list article > span {
  font-size: 9px;
  color: var(--gold);
  padding-top: 3px;
}
.principle-list h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
}
.principle-list p {
  font-size: 11px;
  line-height: 1.9;
  color: rgba(238, 234, 226, 0.6);
  max-width: 390px;
  margin-top: 14px;
}

.process-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.process-tab {
  padding: 23px 8px 23px 0;
  text-align: left;
  font-size: 10px;
  border-top: 1px solid var(--line);
  position: relative;
  min-width: 0;
}
.process-tab span {
  display: block;
  font-size: 11px;
  margin-bottom: 14px;
  color: var(--muted);
}
.process-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.process-tab.is-active::after {
  transform: scaleX(1);
}
.process-tab.is-active span {
  color: var(--gold);
}
.process-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 12%;
  overflow: hidden;
  background: var(--raised);
  padding: 65px 55px 65px 155px;
  margin-top: 1px;
  min-height: 330px;
  align-items: center;
}
.process-watermark {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 175px;
  letter-spacing: -0.11em;
  line-height: 1;
  color: rgba(198, 161, 91, 0.08);
  pointer-events: none;
}
.process-panel .eyebrow {
  font-size: 8px;
  color: var(--muted);
}
.process-panel h3 {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin-top: 15px;
}
.process-panel p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 18px;
  max-width: 440px;
}
.process-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 10px;
}
.process-panel li {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 13px;
}
.process-panel li::before {
  content: "+";
  font-size: 16px;
}
.process-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}
.process-navigation > span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.process-navigation > div {
  display: flex;
  gap: 8px;
}
.js-enabled .process-panel:not([hidden]) {
  animation: panel-in 0.45s var(--ease);
}
@keyframes panel-in {
  from {
    opacity: 0.5;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.leadership {
  background: var(--surface);
}
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  max-width: 1060px;
  margin-left: auto;
}
.leader-image {
  aspect-ratio: 1.1;
  position: relative;
  overflow: hidden;
  background: var(--raised);
}
.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: grayscale(100%);
  transition:
    filter 0.6s,
    transform 1s var(--ease);
}
.leader:hover .leader-image img {
  filter: grayscale(0);
  transform: scale(1.02);
}
.leader-image-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--text);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(8, 8, 8, 0.5);
  padding: 6px 11px;
  backdrop-filter: blur(4px);
}
.leader-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 23px;
}
.leader h3 {
  font-size: 25px;
  letter-spacing: -0.04em;
}
.leader .eyebrow {
  font-size: 8px;
  color: var(--muted);
}
.leader > p,
.leader details p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 18px;
  max-width: 460px;
}
.leader details {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.leader summary {
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.leader summary span {
  font-size: 19px;
}
.leader details p {
  margin-top: 0;
  padding-bottom: 14px;
}
details[open] > summary span {
  transform: rotate(45deg);
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10%;
}
.faq .section-index {
  margin-bottom: 55px;
}
.faq .display-heading {
  font-size: clamp(38px, 3.3vw, 54px);
}
.faq-intro > p {
  margin-top: 30px;
  font-size: 11px;
  line-height: 2;
  color: var(--muted);
}
.faq-intro .text-link {
  color: var(--text);
  margin-top: 4px;
}
.faq-list {
  padding-top: 67px;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 24px 0;
  font-size: 12px;
  line-height: 1.65;
  cursor: pointer;
  list-style: none;
}
.faq-list summary span {
  font-size: 22px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-list details p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  padding: 0 45px 24px 0;
}

.contact {
  background: var(--charcoal);
  color: var(--text);
  padding-bottom: 90px;
}
.contact .section-index {
  color: rgba(238, 234, 226, 0.65);
}
.contact .tiny-cross {
  color: var(--gold);
}
.contact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 65px;
  border-bottom: 1px solid var(--light-line);
  gap: 40px;
}
.contact h2 {
  font-size: clamp(60px, 7.4vw, 118px);
  letter-spacing: -0.065em;
  line-height: 1.03;
}
.contact h2 em {
  font-size: 1.12em;
  line-height: 0.8;
}
.contact h2 > span {
  color: var(--gold);
}
.contact-orbit {
  display: grid;
  place-items: center;
  border: 1px solid rgba(238, 234, 226, 0.4);
  border-radius: 50%;
  height: 170px;
  width: 170px;
  flex-shrink: 0;
  font:
    75px Arial,
    sans-serif;
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.6s var(--ease);
}
.contact-orbit:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: rotate(45deg);
}
.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 12%;
  padding-top: 60px;
}
.contact-info > p {
  font-size: 12px;
  line-height: 2;
  color: rgba(238, 234, 226, 0.65);
  margin-bottom: 33px;
}
.contact-email {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: clamp(20px, 2.2vw, 34px);
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.contact-email span {
  color: var(--gold);
  font:
    26px Arial,
    sans-serif;
}
.contact-phone {
  display: block;
  font-size: 14px;
  margin-top: 15px;
}
.contact-info > .eyebrow {
  display: block;
  font-size: 8px;
  color: rgba(238, 234, 226, 0.5);
  margin-top: 40px;
}
.inquiry-form h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.inquiry-form label {
  display: block;
  font-size: 9px;
  color: rgba(238, 234, 226, 0.65);
  margin-bottom: 24px;
}
.optional {
  opacity: 0.6;
}
.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  width: 100%;
  display: block;
  border: none;
  border-bottom: 1px solid var(--light-line);
  border-radius: 0;
  padding: 11px 0;
  background: transparent;
  color: var(--text);
  font-size: 11px;
  line-height: 1.7;
  outline-offset: 3px;
}
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(238, 234, 226, 0.4);
}
.inquiry-form select {
  color-scheme: dark;
  padding-right: 10px;
}
.inquiry-form select option {
  background: var(--charcoal);
  color: var(--text);
}
.inquiry-form textarea {
  resize: vertical;
  min-height: 85px;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
  border-color: var(--gold);
}
.form-note {
  font-size: 9px;
  line-height: 1.7;
  color: rgba(238, 234, 226, 0.5);
  margin-top: -5px;
  margin-bottom: 22px;
  max-width: 380px;
}
.form-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.text-button {
  font-size: 10px;
  border-bottom: 1px solid var(--light-line);
  padding: 8px 0;
}
.form-status {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 20px;
  color: var(--gold);
}
.inquiry-form > .text-link {
  font-size: 10px;
  margin-top: 10px;
  border-color: var(--light-line);
}
.footer {
  padding: 45px var(--gutter) 24px;
  background: var(--charcoal);
  color: var(--text);
  border-top: 1px solid var(--light-line);
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 70px;
  padding-bottom: 45px;
}
.footer-top > .brand {
  width: 145px;
}
.footer-top > p {
  font-size: 10px;
  line-height: 1.8;
  color: rgba(238, 234, 226, 0.55);
}
.back-top {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-left: auto;
  font-size: 10px;
}
.back-top span {
  font:
    23px Arial,
    sans-serif;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--light-line);
  padding-top: 22px;
  gap: 20px;
  font-size: 8px;
  color: rgba(238, 234, 226, 0.45);
}
.motion-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 8px;
  min-height: 36px;
}
.motion-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.motion-toggle[aria-pressed="false"] .motion-dot {
  background: rgba(238, 234, 226, 0.3);
}

/* Native dialog preserves focus, Escape and a screen-reader-friendly reading order. */
.project-dialog {
  border: 0;
  padding: 0;
  color: var(--text);
  background: var(--surface);
  width: min(950px, calc(100% - 48px));
  max-height: 90svh;
  overflow: auto;
}
.project-dialog::backdrop {
  background: rgba(6, 6, 6, 0.78);
  backdrop-filter: blur(8px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--line);
}
.dialog-top .eyebrow {
  font-size: 8px;
}
.dialog-close {
  width: 35px;
  height: 35px;
  font-size: 25px;
}
.dialog-media {
  position: relative;
  background: var(--charcoal);
}
.dialog-media > img {
  width: 100%;
  height: clamp(240px, 42vw, 490px);
  object-fit: cover;
}
.dialog-gallery-controls {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 14px;
  background: linear-gradient(transparent, rgba(6, 6, 6, 0.6));
  color: var(--text);
}
.dialog-gallery-controls .circle-button {
  border-color: rgba(238, 234, 226, 0.6);
  background: rgba(6, 6, 6, 0.2);
  width: 37px;
  height: 37px;
}
.dialog-gallery-controls span {
  font-size: 9px;
  letter-spacing: 0.1em;
}
.dialog-copy {
  padding: 35px 45px 45px;
}
.dialog-copy > .eyebrow {
  font-size: 8px;
  color: var(--muted);
}
.dialog-copy h2 {
  font-size: 40px;
  letter-spacing: -0.05em;
  margin: 12px 0 20px;
}
.dialog-copy > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 760px;
}
.material-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 25px 0 30px;
}
.material-tags span {
  border: 1px solid var(--line);
  padding: 5px 11px;
  font-size: 8px;
  border-radius: 100px;
}

/* Content stays visible if JS is unavailable or observers are unsupported. */
.reveal {
  opacity: 1;
  transform: none;
}
.motion-on.observer-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px);
}
.motion-on.observer-ready .reveal {
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.motion-off *,
.motion-off *::before,
.motion-off *::after {
  animation: none !important;
  transition: none !important;
}
html:has(.motion-off) {
  scroll-behavior: auto;
}

@media (min-width: 1001px) {
  .js-enabled .menu-toggle {
    display: none !important;
  }
}
@media (min-width: 1700px) {
  .section-pad,
  .footer {
    padding-left: max(var(--gutter), calc((100vw - 1500px) / 2));
    padding-right: max(var(--gutter), calc((100vw - 1500px) / 2));
  }
  .hero-content {
    padding-top: 250px;
  }
}
@media (max-width: 1100px) {
  .section-pad {
    padding-top: 85px;
    padding-bottom: 85px;
  }
  .desktop-nav {
    gap: 22px;
    margin-right: 10px;
  }
  .standard-metrics > div {
    gap: 15px;
  }
  .standard-metrics > div + div {
    padding-left: 24px;
  }
  .metric-number {
    font-size: 60px;
  }
  .metric-letters {
    font-size: 43px;
  }
  .standard-metrics p {
    font-size: 9px;
  }
  .studio-copy {
    gap: 30px;
  }
  .process-panel {
    padding-left: 100px;
    padding-right: 35px;
    gap: 7%;
  }
  .process-panel h3 {
    font-size: 27px;
  }
  .contact-bottom {
    gap: 7%;
  }
  .contact-orbit {
    width: 135px;
    height: 135px;
    font-size: 60px;
  }
  .portfolio-note {
    display: none;
  }
  .leader h3 {
    font-size: 22px;
  }
}
@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }
  .site-header {
    height: 90px;
  }
  .header-cta {
    margin-left: auto;
  }
  .hero-topline {
    top: 128px;
  }
  .hero-content {
    padding-top: 220px;
  }
  .hero h1 {
    font-size: clamp(76px, 10vw, 108px);
  }
  .hero-location {
    display: none;
  }
  .section-index {
    margin-bottom: 50px;
  }
  .studio-layout {
    grid-template-columns: 22% 78%;
  }
  .studio-side {
    font-size: 10px;
  }
  .studio-main .display-heading {
    font-size: 50px;
  }
  .principles-layout {
    gap: 6%;
  }
  .principles .display-heading {
    font-size: 42px;
  }
  .principle-list h3 {
    font-size: 18px;
  }
  .process-panel {
    grid-template-columns: 1.15fr 1fr;
    padding-left: 90px;
  }
  .process-watermark {
    font-size: 140px;
  }
  .process-tabs {
    overflow-x: auto;
  }
  .process-tab {
    font-size: 9px;
  }
  .leadership-grid {
    gap: 7%;
    max-width: none;
  }
  .faq {
    grid-template-columns: 1fr 1.2fr;
    gap: 8%;
  }
  .contact h2 {
    font-size: 85px;
  }
  .contact-email {
    font-size: 25px;
  }
  .form-actions {
    gap: 15px;
  }
  .form-actions .pill-button {
    gap: 25px;
  }
  .footer-top {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 25px;
  }
  .section-pad {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .section-index {
    font-size: 8px;
    gap: 13px;
    margin-bottom: 36px;
  }
  .tiny-cross {
    font-size: 20px;
  }
  .display-heading {
    font-size: 43px;
  }
  .section-heading-row {
    display: block;
    margin-bottom: 36px;
  }
  .section-heading-row > p {
    font-size: 11px;
    margin-top: 25px;
    line-height: 1.9;
  }
  .site-header {
    height: 80px;
    gap: 20px;
  }
  .site-header.is-scrolled {
    height: 72px;
  }
  .brand {
    width: 136px;
  }
  .header-cta {
    font-size: 9px;
    padding: 8px 15px;
    gap: 17px;
  }
  .header-cta span {
    font-size: 18px;
  }
  .menu-toggle {
    width: 25px;
  }
  .hero {
    min-height: 730px;
    height: 100svh;
    max-height: 920px;
  }
  .hero-topline {
    top: 115px;
  }
  .hero-topline .eyebrow {
    font-size: 7px;
    letter-spacing: 0.12em;
  }
  .hero-content {
    padding-top: 225px;
    padding-bottom: 195px;
  }
  .hero-kicker {
    font-size: 9px;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: clamp(62px, 12.5vw, 96px);
  }
  .hero-description {
    font-size: 11px;
    max-width: 345px;
    margin-top: 24px;
    line-height: 1.9;
  }
  .hero-description br {
    display: none;
  }
  .pill-button {
    min-height: 52px;
    padding-left: 21px;
    gap: 32px;
    font-size: 11px;
  }
  .arrow-disc {
    height: 40px;
    width: 40px;
  }
  .hero-bottom {
    bottom: 27px;
    padding-top: 19px;
    gap: 20px;
  }
  .featured-project {
    min-width: 0;
  }
  .featured-name {
    font-size: 11px;
    gap: 17px;
  }
  .featured-project .eyebrow {
    font-size: 7px;
  }
  .scene-controls {
    position: static;
    transform: none;
    gap: 11px;
    align-self: flex-end;
  }
  .scene-button {
    font-size: 8px;
    gap: 5px;
  }
  .scene-button span {
    width: 12px;
  }
  .scene-button.is-active span {
    width: 30px;
  }
  .scroll-link {
    display: none;
  }
  .studio-layout {
    display: block;
  }
  .studio-side {
    display: none;
  }
  .studio-main .display-heading {
    font-size: 43px;
  }
  .studio-copy {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 27px;
    font-size: 12px;
    max-width: 550px;
  }
  .studio .text-link {
    margin-top: 5px;
  }
  .standard-metrics {
    margin-top: 50px;
    padding-top: 25px;
    gap: 15px;
  }
  .standard-metrics > div {
    display: block;
    padding: 0 !important;
    border: 0 !important;
  }
  .metric-number {
    font-size: 49px;
  }
  .metric-letters {
    font-size: 35px;
    line-height: 1.53;
  }
  .standard-metrics p {
    font-size: 8px;
    margin-top: 10px;
  }
  .discipline-strip {
    padding: 20px 0;
  }
  .discipline-track {
    gap: 27px;
    font-size: 30px;
  }
  .discipline-track .strip-divider {
    height: 23px;
  }
  .work-toolbar {
    padding-bottom: 14px;
    margin-bottom: 28px;
  }
  .project-filters {
    gap: 20px;
  }
  .filter-button {
    font-size: 10px;
  }
  .project-grid {
    gap: 37px 5%;
    grid-template-columns: 1fr 1fr;
  }
  .project-card:nth-child(even) {
    padding-top: 40px;
  }
  .project-image-wrap {
    aspect-ratio: 0.85;
  }
  .project-card:nth-child(even) .project-image-wrap {
    aspect-ratio: 0.83;
  }
  .project-card[data-project-card="terra"] .project-image-wrap {
    aspect-ratio: 0.71;
  }
  .project-tag {
    top: 10px;
    left: 10px;
    font-size: 6px;
    padding: 4px 7px;
    letter-spacing: 0.06em;
  }
  .project-open {
    right: 12px;
    bottom: 12px;
    width: 35px;
    height: 35px;
    font-size: 21px;
  }
  .project-caption {
    gap: 8px;
    margin-top: 14px;
  }
  .project-caption h3 {
    font-size: 16px;
    line-height: 1.25;
  }
  .project-caption p {
    font-size: 8px;
    line-height: 1.7;
  }
  .project-number {
    font-size: 7px;
  }
  .project-grid.is-filtered .project-image-wrap {
    aspect-ratio: 0.9;
  }
  .work-footer {
    margin-top: 38px;
    padding-top: 25px;
    gap: 15px;
  }
  .work-footer > span {
    font-size: 8px;
  }
  .work-footer .pill-button {
    font-size: 9px;
    gap: 20px;
    min-height: 46px;
    padding-left: 16px;
  }
  .work-footer .arrow-disc {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
  .principles-layout {
    display: block;
  }
  .principles .display-heading {
    font-size: 43px;
  }
  .principles-statement > p {
    font-size: 11px;
    margin-top: 25px;
  }
  .accountability-mark {
    display: none;
  }
  .principle-list {
    margin-top: 45px;
  }
  .principle-list article {
    gap: 18px;
    padding: 25px 0;
  }
  .principle-list h3 {
    font-size: 20px;
  }
  .principle-list p {
    font-size: 11px;
    max-width: none;
  }
  .process-tabs {
    grid-template-columns: repeat(6, minmax(105px, 1fr));
    scrollbar-width: thin;
    padding-bottom: 0;
  }
  .process-tab {
    font-size: 9px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .process-tab span {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .process-panel {
    grid-template-columns: 1fr;
    padding: 34px 27px;
    gap: 20px;
    min-height: 0;
  }
  .process-watermark {
    left: auto;
    right: 12px;
    top: 30px;
    transform: none;
    font-size: 120px;
    opacity: 0.75;
  }
  .process-panel h3 {
    font-size: 27px;
    position: relative;
  }
  .process-panel > div {
    position: relative;
    z-index: 1;
  }
  .process-panel p {
    font-size: 11px;
    max-width: 100%;
  }
  .process-panel ul {
    font-size: 9px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .process-panel li {
    padding: 12px 0;
    align-items: flex-start;
    gap: 8px;
  }
  .process-navigation {
    margin-top: 18px;
  }
  .process-navigation .circle-button {
    width: 39px;
    height: 39px;
  }
  .leadership-grid {
    gap: 8%;
  }
  .leader-image {
    aspect-ratio: 0.85;
  }
  .leader-image-label {
    font-size: 6px;
    bottom: 12px;
    left: 12px;
    letter-spacing: 0.05em;
    padding: 5px 7px;
  }
  .leader-heading {
    margin-top: 19px;
    gap: 8px;
  }
  .leader h3 {
    font-size: 19px;
    line-height: 1.2;
  }
  .leader .eyebrow {
    font-size: 7px;
  }
  .leader > p,
  .leader details p {
    font-size: 10px;
    line-height: 1.85;
    margin-top: 15px;
  }
  .leader summary {
    font-size: 8px;
    gap: 12px;
    padding: 12px 0;
  }
  .leader details p {
    margin-top: 0;
  }
  .faq {
    display: block;
  }
  .faq .section-index {
    margin-bottom: 36px;
  }
  .faq .display-heading {
    font-size: 43px;
  }
  .faq-intro > p {
    margin-top: 22px;
    font-size: 10px;
  }
  .faq-intro .text-link {
    font-size: 10px;
  }
  .faq-list {
    padding-top: 35px;
  }
  .faq-list summary {
    font-size: 11px;
    padding: 22px 0;
    gap: 20px;
  }
  .faq-list details p {
    font-size: 10px;
    padding-right: 20px;
  }
  .contact-top {
    padding-bottom: 40px;
    gap: 20px;
  }
  .contact h2 {
    font-size: clamp(50px, 10.5vw, 79px);
  }
  .contact-orbit {
    width: 74px;
    height: 74px;
    font-size: 36px;
  }
  .contact-bottom {
    display: block;
    padding-top: 38px;
  }
  .contact-info > p {
    font-size: 11px;
    margin-bottom: 25px;
  }
  .contact-email {
    font-size: 27px;
    white-space: normal;
  }
  .contact-phone {
    font-size: 13px;
    margin-top: 12px;
  }
  .contact-info > .eyebrow {
    margin-top: 25px;
  }
  .inquiry-form {
    margin-top: 50px;
  }
  .inquiry-form h3 {
    font-size: 20px;
    margin-bottom: 25px;
  }
  .inquiry-form label {
    font-size: 9px;
    margin-bottom: 21px;
  }
  .inquiry-form input,
  .inquiry-form textarea,
  .inquiry-form select {
    font-size: 12px;
  }
  .form-note {
    max-width: none;
    font-size: 9px;
  }
  .form-actions {
    gap: 25px;
  }
  .footer {
    padding-top: 35px;
  }
  .footer-top {
    padding-bottom: 30px;
    gap: 25px;
    flex-wrap: wrap;
  }
  .footer-top > .brand {
    width: 127px;
  }
  .footer-top > p {
    font-size: 8px;
  }
  .back-top {
    font-size: 8px;
    gap: 15px;
  }
  .footer-bottom {
    font-size: 7px;
    padding-top: 17px;
  }
  .footer-credit {
    display: none;
  }
  .motion-toggle {
    font-size: 8px;
  }
  .project-dialog {
    width: calc(100% - 24px);
    max-height: 94svh;
  }
  .dialog-top {
    padding: 12px 18px;
  }
  .dialog-media > img {
    height: 300px;
  }
  .dialog-copy {
    padding: 28px 25px 35px;
  }
  .dialog-copy h2 {
    font-size: 33px;
  }
  .dialog-copy > p {
    font-size: 11px;
  }
  .material-tags {
    gap: 6px;
    margin: 20px 0 25px;
  }
  .material-tags span {
    font-size: 7px;
  }
}
@media (max-width: 420px) {
  :root {
    --gutter: 21px;
  }
  .brand {
    width: 122px;
  }
  .site-header {
    gap: 13px;
  }
  .header-cta {
    gap: 12px;
    padding: 7px 12px;
    font-size: 8px;
  }
  .hero-content {
    padding-top: 235px;
  }
  .hero h1 {
    font-size: 63px;
  }
  .hero-topline .eyebrow {
    font-size: 6px;
  }
  .hero-bottom {
    gap: 12px;
  }
  .scene-controls {
    gap: 8px;
  }
  .scene-button.is-active span {
    width: 24px;
  }
  .scene-button span {
    width: 9px;
  }
  .display-heading,
  .studio-main .display-heading,
  .principles .display-heading,
  .faq .display-heading {
    font-size: 38px;
  }
  .project-filters {
    gap: 13px;
  }
  .filter-button {
    font-size: 9px;
  }
  .project-tag {
    font-size: 5.5px;
  }
  .project-caption h3 {
    font-size: 14px;
  }
  .project-number {
    display: none;
  }
  .leader h3 {
    font-size: 17px;
  }
  .contact h2 {
    font-size: 51px;
  }
  .contact-orbit {
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
  .form-row {
    gap: 16px;
  }
  .footer-top {
    gap: 20px;
  }
  .back-top {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .work-footer {
    gap: 10px;
  }
  .work-footer .pill-button {
    font-size: 8px;
    gap: 12px;
  }
  .work-footer > span {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .motion-on.observer-ready .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
@media print {
  .site-header,
  .hero,
  .discipline-strip,
  .project-open,
  .scene-controls,
  .motion-toggle,
  .back-top,
  .form-actions,
  .contact-orbit,
  .js-only {
    display: none !important;
  }
  body {
    background: white;
    color: black;
    font-size: 11pt;
  }
  .section-pad {
    padding: 25px 0;
  }
  .display-heading {
    font-size: 30pt;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .project-card {
    break-inside: avoid;
  }
  .project-grid {
    gap: 25px;
  }
  .principles,
  .contact,
  .footer {
    background: white;
    color: black;
  }
  .principle-list p,
  .contact-info > p {
    color: #555;
  }
  .contact h2 {
    font-size: 40pt;
  }
  .project-dialog {
    display: none;
  }
  .leader-image {
    max-height: 240px;
  }
  .footer {
    padding: 20px 0;
  }
}

/* Final reading-size refinements: editorial does not mean miniature. */
.desktop-nav,
.header-cta {
  font-size: 12px;
}
.hero-description,
.studio-copy,
.section-heading-row > p,
.contact-info > p {
  font-size: 14px;
}
.standard-metrics p,
.project-caption p,
.process-panel ul {
  font-size: 12px;
}
.principle-list p,
.process-panel p,
.leader > p,
.leader details p,
.faq-list details p {
  font-size: 13px;
}
.faq-list summary {
  font-size: 14px;
}
.inquiry-form label {
  font-size: 11px;
}
.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  font-size: 14px;
}
.form-note,
.footer-bottom {
  font-size: 10px;
}
body:not(.js-enabled) .process-tabs {
  display: none;
}
@media (min-width: 761px) and (max-height: 850px) {
  .hero-content {
    padding-top: 200px;
  }
  .hero h1 {
    font-size: clamp(76px, 8vw, 110px);
  }
}
@media (max-width: 760px) {
  .header-cta {
    font-size: 10px;
  }
  .hero-description,
  .studio-copy,
  .section-heading-row > p,
  .contact-info > p,
  .principle-list p,
  .process-panel p {
    font-size: 13px;
  }
  .project-caption p,
  .leader > p,
  .leader details p,
  .faq-list details p {
    font-size: 12px;
  }
  .faq-list summary {
    font-size: 13px;
  }
  .standard-metrics p,
  .process-panel ul {
    font-size: 10px;
  }
  .inquiry-form input,
  .inquiry-form textarea,
  .inquiry-form select {
    font-size: 16px;
  }
  .form-note,
  .footer-bottom {
    font-size: 9px;
  }
  .motion-toggle {
    min-height: 44px;
  }
}

/* Project galleries: original images, full framing, no invented imagery. */
.dialog-media > img {
  object-fit: contain;
}
.gallery-thumbnails {
  display: flex;
  gap: 10px;
  padding: 18px 45px 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.gallery-thumbnail {
  position: relative;
  flex: 1 0 70px;
  max-width: 145px;
  aspect-ratio: 1.5;
  padding: 3px;
  border: 1px solid transparent;
  background: transparent;
  opacity: 0.6;
  transition:
    opacity 0.25s,
    border-color 0.25s;
}
.gallery-thumbnail:hover,
.gallery-thumbnail.is-active {
  opacity: 1;
}
.gallery-thumbnail.is-active {
  border-color: var(--gold);
}
.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbnail > span {
  position: absolute;
  bottom: 7px;
  right: 7px;
  background: rgba(8, 8, 8, 0.7);
  color: var(--text);
  padding: 1px 5px;
  font-size: 8px;
  letter-spacing: 0.06em;
}
@media (max-width: 760px) {
  .gallery-thumbnails {
    padding: 14px 25px 0;
    gap: 7px;
  }
  .gallery-thumbnail {
    flex: 0 0 72px;
  }
}

/* Majesta: warm gold, neutral charcoal, and architecture held behind the scroll. */
.hero h1 em,
.display-heading em,
.contact h2 em,
.text-link > span,
.filter-button.is-active,
.process-panel li::before {
  color: var(--gold);
}
.filter-button::after {
  background: var(--gold);
}
.header-cta {
  border-color: rgba(198, 161, 91, 0.5);
}
.discipline-strip {
  border-top: 1px solid rgba(198, 161, 91, 0.2);
  border-bottom: 1px solid rgba(198, 161, 91, 0.2);
}
.discipline-track .strip-divider {
  background: rgba(198, 161, 91, 0.45);
}
.principles,
.process,
.faq {
  background: var(--charcoal);
}
.work,
.leadership {
  background: var(--surface);
}
.process-panel {
  border: 1px solid rgba(198, 161, 91, 0.12);
}
.depth-surface {
  background-color: var(--charcoal);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}
.studio.depth-surface {
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.88)),
    url("assets/terra-01.jpg");
}
.contact.depth-surface {
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.90)),
    url("assets/botanical-corrected.png");
}
.project-depth {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 430px;
  height: clamp(430px, 72svh, 780px);
  padding: 65px var(--gutter);
  color: var(--text);
  background-color: var(--charcoal);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  border-top: 1px solid rgba(198, 161, 91, 0.18);
  border-bottom: 1px solid rgba(198, 161, 91, 0.18);
}
.project-depth::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    rgba(8, 8, 8, 0.96) 0%,
    rgba(8, 8, 8, 0.72) 45%,
    rgba(8, 8, 8, 0.16) 78%
  );
}
.depth-akai {
  background-image: url("assets/akai-bar.webp");
}
.depth-terra {
  background-image: url("assets/terra-06.jpg");
}
.depth-caption {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.depth-caption .eyebrow {
  color: var(--gold);
  font-size: 9px;
}
.depth-caption h2 {
  font-size: clamp(55px, 6.5vw, 110px);
  letter-spacing: -0.06em;
  margin-top: 15px;
  line-height: 1;
}
.depth-caption h2 em {
  color: var(--gold);
  font-size: 1.14em;
}
.depth-project-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 46px;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(198, 161, 91, 0.6);
}
.depth-project-link span {
  font-size: 28px;
  color: var(--gold);
  transition: transform 0.3s;
}
.depth-project-link:hover span {
  transform: translate(3px, -3px);
}
@media (min-width: 761px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body.motion-on .project-depth,
  body.motion-on .depth-surface {
    background-attachment: fixed;
  }
}
@media (max-width: 760px) {
  .project-depth {
    height: 65svh;
    min-height: 400px;
    max-height: 600px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .project-depth::before {
    background: linear-gradient(
      0deg,
      rgba(8, 8, 8, 0.96),
      rgba(8, 8, 8, 0.8) 65%,
      rgba(8, 8, 8, 0.3)
    );
  }
  .depth-caption {
    display: block;
  }
  .depth-caption h2 {
    font-size: 61px;
  }
  .depth-caption .eyebrow {
    font-size: 8px;
  }
  .depth-project-link {
    margin-top: 18px;
    font-size: 11px;
    gap: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-depth,
  .depth-surface {
    background-attachment: scroll !important;
  }
}
@media print {
  :root {
    --text: #111111;
    --muted: #555555;
    --gold: #785527;
    --surface: white;
    --raised: white;
    --charcoal: white;
    --line: rgba(0, 0, 0, 0.2);
    --light-line: rgba(0, 0, 0, 0.2);
  }
  .project-depth {
    display: none;
  }
  .depth-surface {
    background-image: none !important;
  }
}

/* Portfolio-first refinement: clearer branding and comfortable reading. */
:root { --muted: #c2bdb5; --gold: #d5b473; }
.site-header { background: linear-gradient(to bottom, rgba(10,10,10,.38), rgba(10,10,10,.08)); }
.site-header.is-scrolled { background: rgba(16,16,16,.78); backdrop-filter: blur(14px); }
.site-header.menu-open { background: rgba(16,16,16,.98); }
.site-header .brand { width: 208px; }
.brand img, .site-header.is-scrolled .brand img, .site-header.menu-open .brand img {
  display: block; filter: brightness(1.65) saturate(.72);
}
.hero-description, .studio-copy, .section-heading-row > p, .contact-info > p { font-size: 16px; }
.project-caption p, .principle-list p, .process-panel p, .leader > p, .leader details p, .faq-list details p { font-size: 15px; }
.project-tag { font-size: 11px; color: #fff5df; background: rgba(12,12,12,.88); border-color: rgba(255,245,223,.5); }
.filter-button { font-size: 13px; min-height: 44px; }
.section-index, .eyebrow { font-size: 11px; }
.inquiry-form label, .form-note, .footer-bottom { font-size: 12px; }
.service-promises h3 { font-size: 17px; font-weight: 500; margin: 0 0 10px; color: var(--text); }
.service-promises p { font-size: 14px; margin: 0; }
.discipline-strip { display: none; }
@media (max-width: 760px) {
  .site-header { gap: 14px; }
  .site-header .brand { width: 174px; }
  .header-cta { font-size: 11px; }
  .hero-description { max-width: 34ch; }
  .project-grid { grid-template-columns: 1fr; gap: 36px; }
  .project-card:nth-child(even) { margin-top: 0; transform: none; }
  .project-image-wrap, .project-card:nth-child(even) .project-image-wrap,
  .project-grid.is-filtered .project-image-wrap { aspect-ratio: 4 / 3; }
  .project-tag { font-size: 11px; }
  .project-filters { flex-wrap: wrap; gap: 8px 18px; }
  .service-promises { grid-template-columns: 1fr; gap: 22px; }
  .service-promises > div { padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--line); }
  .service-promises p { font-size: 14px; }
}
@media (max-width: 420px) {
  .site-header .brand { width: 150px; }
  .header-cta { padding: 9px 12px; }
  .header-cta .arrow-disc { display: none; }
}

/* Editorial portfolio: a flagship landscape followed by paired projects. */
@media (min-width: 761px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 36px; }
  .project-grid .project-card { padding-top: 0; }
  .project-grid .project-image-wrap,
  .project-grid .project-card:nth-child(even) .project-image-wrap,
  .project-grid .project-card[data-project-card="terra"] .project-image-wrap { aspect-ratio: 4 / 3; }
  .project-grid:not(.is-filtered) .project-card:nth-child(3n + 1) { grid-column: 1 / -1; }
  .project-grid:not(.is-filtered) .project-card:nth-child(3n + 1) .project-image-wrap { aspect-ratio: 16 / 9; }
}
.project-caption { align-items: baseline; gap: 20px; }
.project-caption h3 { font-weight: 500; letter-spacing: -.025em; }
.project-caption p { margin-top: 5px; }
.project-image-wrap img { transition: transform .65s var(--ease); }
.project-link:hover .project-image-wrap img { transform: scale(1.025); }
.studio .display-heading em, .principles .display-heading em,
.process .display-heading em, .faq .display-heading em { color: var(--text); font-style: normal; }
.motion-on.observer-ready .reveal:not(.is-visible) { transform: translateY(14px); }
.motion-on.observer-ready .reveal { transition: opacity .55s var(--ease), transform .55s var(--ease); }
.project-dialog { width: min(1180px, calc(100% - 48px)); background: #151514; }
.dialog-top { background: #151514; padding: 12px 24px; }
.dialog-top .eyebrow { font-size: 11px; }
.dialog-close { width: 44px; height: 44px; }
.dialog-media > img { display: block; height: min(65svh, 720px); object-fit: contain; }
.dialog-gallery-controls { justify-content: flex-end; padding: 18px 24px; }
.dialog-gallery-controls span { font-size: 12px; font-variant-numeric: tabular-nums; }
.dialog-gallery-controls .circle-button { width: 44px; height: 44px; }
.gallery-caption { margin: 0; padding: 14px 25px 0; color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.dialog-copy { padding: 32px clamp(24px, 5vw, 64px) 48px; border-top: 1px solid var(--line); margin-top: 24px; }
.dialog-copy > .eyebrow { font-size: 11px; }
.dialog-copy h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 500; margin: 12px 0 30px; }
.dialog-copy > p { font-size: 15px; line-height: 1.85; max-width: 72ch; }
.dialog-section-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 28px 0 12px; }
.material-tags { margin: 12px 0 32px; gap: 10px; }
.material-tags span { font-size: 12px; border-radius: 0; padding: 7px 12px; }
@media (max-width: 760px) {
  .project-grid .project-card { padding-top: 0; }
  .project-grid .project-card[data-project-card="terra"] .project-image-wrap { aspect-ratio: 4 / 3; }
  .project-dialog { width: calc(100% - 20px); max-height: 94svh; }
  .dialog-media > img { height: 44svh; }
  .dialog-gallery-controls { padding: 12px; gap: 16px; }
  .contact h2 { font-size: clamp(44px, 9vw, 72px); }
}
@media (prefers-reduced-motion: reduce) {
  .project-image-wrap img { transition: none; }
  .project-link:hover .project-image-wrap img { transform: none; }
}

/* Quiet project backdrops continue the fixed-image rhythm. */
.principles.depth-surface {
  background-image: linear-gradient(rgba(10,10,10,.83), rgba(10,10,10,.89)), url("assets/carriage.jpg");
}
.faq.depth-surface {
  background-image: linear-gradient(rgba(10,10,10,.85), rgba(10,10,10,.91)), url("assets/kanso.webp");
}

/* Opaque section seams prevent fixed imagery bleeding through translucent borders. */
.project-depth {
  border-top-color: #393126;
  border-bottom-color: #393126;
  background-clip: padding-box;
}
.depth-akai::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #393126;
  pointer-events: none;
}

/* Keep the fine logo lettering on a stable pixel grid while scrolling. */
.site-header, .site-header.is-scrolled {
  height: 104px;
  transition: background .3s, border-color .3s;
}
.site-header .brand { align-self: flex-start; margin-top: 25px; }
.site-header .brand img { width: 208px; height: 54px; object-fit: contain; }
@media (max-width: 760px) {
  .site-header, .site-header.is-scrolled { height: 80px; }
  .site-header .brand { margin-top: 17px; }
  .site-header .brand img { width: 174px; height: 46px; }
}
@media (max-width: 420px) {
  .site-header .brand { margin-top: 20px; }
  .site-header .brand img { width: 150px; height: 40px; }
}

/* Inquiry links land on the fields beneath the fixed header. */
#inquiry-form { scroll-margin-top: 24px; }

.attachment-field { margin-top: 20px; }
.inquiry-form input[type="file"] { display: block; width: 100%; padding: 14px; border: 1px solid var(--line); background: rgba(16,16,16,.55); font-size: 13px; cursor: pointer; }
.inquiry-form input[type="file"]::file-selector-button { font: inherit; color: var(--text); background: var(--raised); border: 1px solid var(--line); padding: 9px 14px; margin-right: 14px; cursor: pointer; }
.attachment-help { font-size: 12px; color: var(--muted); margin: 8px 0 18px; }


/* Separate project templates; visually aligned with source website */
.majesta-interior-head{padding:clamp(9rem,16vw,15rem) 6vw 4rem;background:#111;color:#f4f1ec}
.majesta-interior-head .display-heading{margin:1rem 0 1.7rem}
.majesta-interior-copy{max-width:850px;font-size:clamp(1.08rem,1.65vw,1.4rem);line-height:1.7}
.majesta-project-hero{width:100%;height:min(72vh,850px);object-fit:cover;display:block}
.majesta-project-body{padding:clamp(3rem,7vw,7rem) 6vw;background:#f3f0ea;color:#171717}
.majesta-project-body .majesta-project-description{max-width:920px;line-height:1.8;font-size:clamp(1.1rem,1.6vw,1.4rem)}
.majesta-project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:3rem}
.majesta-project-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.majesta-project-gallery figure{margin:0}
.majesta-project-gallery figure:first-child{grid-column:1/-1}
.majesta-project-gallery figure:first-child img{aspect-ratio:16/9}
.majesta-back{display:inline-flex;margin-top:3rem;text-decoration:underline;text-underline-offset:5px}
.majesta-pagination{display:flex;justify-content:space-between;margin-top:2rem}
.majesta-whatsapp{position:fixed;right:22px;bottom:22px;z-index:70;background:#25d366;color:#fff!important;border-radius:100px;padding:13px 18px;display:flex;align-items:center;gap:9px;font:600 13px Manrope,sans-serif;box-shadow:0 5px 25px #0003;text-decoration:none}
.majesta-whatsapp svg{width:20px;height:20px;fill:currentColor}
.majesta-form-message{padding:1rem 0;font-size:1rem}
@media(max-width:680px){.majesta-project-gallery{grid-template-columns:1fr}.majesta-project-gallery figure:first-child{grid-column:auto}.majesta-project-hero{height:52vh}.majesta-whatsapp{bottom:16px;right:14px;padding:12px}}

/* 1.1: project detail uses the original HTML portfolio gallery design. */
body.single-majesta_project { background: #0b0b0b; }
.majesta-project-view { padding: clamp(85px,9vw,126px) 20px 70px; min-height: 100vh; background: #0c0c0c; }
.majesta-project-inline { display:block; position:relative; margin:0 auto; max-height:none; height:auto; width:min(1180px,100%); overflow:visible; background:#151514; box-shadow:0 12px 65px rgba(0,0,0,.3); }
.majesta-project-inline .dialog-top { position:relative; }
.majesta-project-inline .dialog-media > img { display:block; height:min(65svh,720px); object-fit:contain; }
.majesta-project-inline .dialog-copy h1 { font-size:clamp(32px,4vw,56px);font-weight:500;letter-spacing:-.05em; margin:12px 0 25px; }
.majesta-project-inline .dialog-copy { color:var(--text); }
.majesta-project-inline .majesta-story-text { font-size:15px;line-height:1.85;max-width:72ch; }
.majesta-project-inline .majesta-story-text p { margin:0 0 1em; }
.majesta-project-subtitle { color:var(--muted); margin-bottom:22px; }
.majesta-return { margin-top:32px; font-size:12px; }
.majesta-return a { text-decoration:underline; text-underline-offset:5px; }
.majesta-view-project { display:inline-flex; margin-top:25px; font-size:12px; color:var(--gold); text-decoration:underline; text-underline-offset:5px; }
.majesta-project-inline .dialog-close { display:grid;place-items:center;text-decoration:none; }
@media(max-width:760px){.majesta-project-view{padding:77px 10px 35px}.majesta-project-inline{width:100%}.majesta-project-inline .dialog-media > img{height:44svh}.majesta-project-inline .dialog-copy{padding:28px 25px 38px}.majesta-project-inline .dialog-copy h1{font-size:33px}}

/* v1.3: Preserve original HTML portfolio visuals; all projects remain visible. */
#project-grid .project-card[hidden] { display: none !important; }
.project-image-wrap > img { display:block; width:100%; height:100%; object-fit:cover; }
.work-footer[hidden] { display:none !important; }
