:root {
  --black: #050504;
  --near-black: #0a0a08;
  --ink: #11100d;
  --olive: #73814a;
  --olive-bright: #aabd6d;
  --olive-deep: #2f3a21;
  --coffee: #6a4f35;
  --coffee-dark: #251a12;
  --copper: #b06e3d;
  --gold: #d1aa65;
  --bone: #f1eadc;
  --muted: #a49b8c;
  --line: rgba(241, 234, 220, 0.14);
  --glass: rgba(18, 17, 14, 0.72);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  --page-width: 1680px;
  --page-gutter: clamp(32px, 6vw, 120px);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--bone);
  background:
    radial-gradient(circle at 20% 0%, rgba(115, 129, 74, 0.18), transparent 28rem),
    radial-gradient(circle at 85% 12%, rgba(176, 110, 61, 0.14), transparent 24rem),
    linear-gradient(180deg, #050504 0%, #0a0907 42%, #050504 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(241, 234, 220, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 234, 220, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 88%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.36;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 4px
    );
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: var(--black);
  background: var(--olive-bright);
}

.stage-field {
  position: fixed;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 22rem;
  height: 22rem;
  pointer-events: none;
  opacity: 0;
  border-radius: 999px;
  transform: translate3d(-50%, -50%, 0);
  background:
    radial-gradient(circle, rgba(170, 189, 109, 0.19) 0%, rgba(176, 110, 61, 0.1) 34%, transparent 70%);
  mix-blend-mode: screen;
  filter: blur(4px);
  transition: opacity 220ms ease;
}

.section-shell {
  width: min(100% - var(--page-gutter), var(--page-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(100% - clamp(24px, 5vw, 96px), var(--page-width));
  min-height: 64px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(241, 234, 220, 0.12);
  border-radius: 8px;
  background: rgba(5, 5, 4, 0.66);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(241, 234, 220, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(115, 129, 74, 0.45), rgba(106, 79, 53, 0.25)),
    rgba(255, 255, 255, 0.02);
  color: var(--bone);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 48px);
  color: rgba(241, 234, 220, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a {
  position: relative;
  padding-block: 10px;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--olive-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(241, 234, 220, 0.18);
  border-radius: 999px;
  color: var(--bone);
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(241, 234, 220, 0.06);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: rgba(170, 189, 109, 0.65);
  background: rgba(170, 189, 109, 0.13);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  min-height: 100svh;
  padding-top: 118px;
  padding-bottom: clamp(64px, 8vh, 112px);
  overflow: visible;
  isolation: isolate;
  text-align: center;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  overflow: hidden;
  pointer-events: none;
  background: #050504;
  transform: translateX(-50%);
}

.hero-backdrop::before,
.hero-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-backdrop::before {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 46%, rgba(5, 5, 4, 0.03), rgba(5, 5, 4, 0.56) 62%, rgba(5, 5, 4, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 5, 4, 0.68), rgba(38, 72, 42, 0.2) 46%, rgba(5, 5, 4, 0.7)),
    linear-gradient(180deg, rgba(5, 5, 4, 0.78), rgba(5, 5, 4, 0.2) 42%, rgba(5, 5, 4, 0.84));
}

.hero-backdrop::after {
  z-index: 3;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(241, 234, 220, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 234, 220, 0.026) 1px, transparent 1px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.016) 0, rgba(255, 255, 255, 0.016) 1px, transparent 1px, transparent 4px);
  background-size: 82px 82px, 82px 82px, auto;
  mix-blend-mode: screen;
}

.hero-backdrop img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.52;
  filter: saturate(0.78) contrast(1.08) brightness(0.54);
  transform: scale(1.035);
}

.hero-backdrop video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.9;
  filter: blur(0.5px) sepia(0.22) hue-rotate(42deg) saturate(1.18) contrast(1.12) brightness(0.92);
  transform: scale(1.04);
  transition: opacity 900ms ease;
}

.hero-backdrop.has-video img {
  opacity: 0.08;
}

.hero-backdrop.has-video video {
  opacity: 0.96;
}

.hero-backdrop.has-video::before {
  background:
    radial-gradient(circle at 50% 46%, rgba(38, 72, 42, 0.11), rgba(5, 5, 4, 0.46) 62%, rgba(5, 5, 4, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 5, 4, 0.64), rgba(37, 70, 42, 0.22) 46%, rgba(5, 5, 4, 0.66)),
    linear-gradient(180deg, rgba(5, 5, 4, 0.78), rgba(5, 5, 4, 0.18) 42%, rgba(5, 5, 4, 0.86));
}

.hero-noise {
  position: absolute;
  inset: auto -16vw 8vh auto;
  z-index: 1;
  width: min(66vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.34;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 12%, rgba(170, 189, 109, 0.2) 21%, transparent 27%),
    linear-gradient(160deg, transparent 42%, rgba(176, 110, 61, 0.22) 47%, transparent 53%),
    radial-gradient(circle at 48% 48%, rgba(209, 170, 101, 0.18), transparent 54%);
  filter: blur(2px);
  animation: slowOrbit 18s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  width: min(100%, 1260px);
  max-width: 1260px;
  padding-bottom: 0;
}

.eyebrow,
.section-kicker {
  color: rgba(170, 189, 109, 0.88);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.hero h1 {
  max-width: 1240px;
  margin: 20px auto 0;
  font-size: clamp(3.2rem, 6.4vw, 6.9rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.editorial-title {
  display: grid;
  justify-items: center;
  gap: clamp(8px, 0.72vw, 18px);
  width: auto;
}

.editorial-title span {
  display: block;
  color: var(--bone);
  font-family: inherit;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 0 54px rgba(241, 234, 220, 0.13);
}

.title-kicker {
  font-size: clamp(4.3rem, 7.2vw, 9.8rem);
  line-height: 0.88;
}

.title-main {
  font-size: clamp(2.9rem, 5.25vw, 7rem);
  line-height: 0.9;
}

.title-impact {
  font-size: clamp(4.15rem, 7.6vw, 10.4rem);
  line-height: 0.86;
}

.title-soft {
  font-size: clamp(2.25rem, 4.35vw, 5.8rem);
  line-height: 0.92;
}

.title-emotion {
  width: auto;
  margin-top: clamp(4px, 0.35vw, 10px);
  font-size: clamp(5.4rem, 9.6vw, 12.6rem);
  line-height: 0.88;
  text-shadow:
    0 0 64px rgba(241, 234, 220, 0.2),
    0 18px 70px rgba(0, 0, 0, 0.42);
}

.hero-subtitle {
  max-width: 690px;
  margin: 28px auto 0;
  color: rgba(241, 234, 220, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  line-height: 1.55;
}

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

.hero-actions {
  justify-content: center;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 190px;
  min-height: 56px;
  padding: 0 16px 0 22px;
  overflow: hidden;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 850;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.button::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  opacity: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-72%);
  transition: opacity 220ms ease, transform 600ms ease;
}

.button:hover::before,
.button:focus-visible::before {
  opacity: 1;
  transform: translateX(72%);
}

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

.button-primary {
  border: 1px solid rgba(170, 189, 109, 0.6);
  color: #090907;
  background: linear-gradient(135deg, var(--olive-bright), #d0bc82 62%, #a96b3f);
}

.button-secondary {
  border: 1px solid rgba(241, 234, 220, 0.2);
  color: var(--bone);
  background: rgba(241, 234, 220, 0.06);
}

.button-ghost {
  border: 1px solid rgba(241, 234, 220, 0.14);
  color: rgba(241, 234, 220, 0.78);
  background: rgba(5, 5, 4, 0.28);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(241, 234, 220, 0.34);
  color: var(--bone);
  background: rgba(241, 234, 220, 0.075);
}

.button-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: 18px;
  border-radius: 50%;
  background: rgba(5, 5, 4, 0.16);
  font-weight: 900;
}

.button-secondary .button-icon {
  background: rgba(241, 234, 220, 0.08);
}

.hero-panel {
  position: relative;
  align-self: stretch;
  display: grid;
  align-items: center;
}

.hero-portrait {
  min-height: clamp(520px, 74vh, 880px);
  aspect-ratio: 0.74;
  border-color: rgba(241, 234, 220, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 48% 20%, rgba(209, 170, 101, 0.2), transparent 18rem),
    linear-gradient(145deg, rgba(115, 129, 74, 0.2), rgba(37, 26, 18, 0.78)),
    #0d0c09;
}

.hero-portrait::before {
  content: attr(data-asset-label);
}

.hero-portrait.is-loaded::after {
  inset: 0;
  z-index: 3;
  border: 0;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 4, 0.14), rgba(5, 5, 4, 0.38) 68%, rgba(5, 5, 4, 0.82)),
    radial-gradient(circle at 44% 18%, transparent 0 22%, rgba(5, 5, 4, 0.34) 74%);
  transform: none;
}

.hero-portrait img {
  object-position: center 18%;
}

.hero-portrait strong {
  max-width: 9ch;
  color: rgba(241, 234, 220, 0.2);
  font-size: clamp(4rem, 7vw, 8rem);
}

.section-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 116px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.48fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-top: 28px;
}

.section-heading-tight {
  grid-template-columns: minmax(0, 1fr);
}

.section-heading h2,
.about-copy h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5.8vw, 6.7rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p,
.about-copy p,
.contact-panel p {
  margin: 0;
  color: rgba(241, 234, 220, 0.68);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row dense;
  grid-auto-rows: clamp(34px, 3.4vw, 44px);
  align-items: stretch;
  gap: clamp(16px, 1.6vw, 28px);
  margin-top: 54px;
}

.work-item {
  position: relative;
  grid-column: span 4;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(241, 234, 220, 0.12);
  border-radius: 8px;
  background: rgba(241, 234, 220, 0.035);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.28);
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.work-large {
  grid-column: span 6;
}

.work-wide {
  grid-column: span 7;
}

.work-item:hover {
  border-color: rgba(170, 189, 109, 0.48);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  transform: translateY(-6px);
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(5, 5, 4, 0.3), rgba(5, 5, 4, 0.92)),
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.2), transparent 32rem);
}

.media-placeholder::before {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px solid rgba(241, 234, 220, 0.12);
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(241, 234, 220, 0.17) 50%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(241, 234, 220, 0.12) 50%, transparent 50.3%);
  opacity: 0.5;
  transform: perspective(600px) rotateX(52deg) translateY(22%);
}

.media-placeholder::after {
  position: absolute;
  inset: auto -20% 16%;
  height: 42%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  filter: blur(18px);
  transform: rotate(-10deg);
  opacity: 0.7;
}

.media-placeholder span,
.media-placeholder strong {
  position: relative;
  z-index: 2;
}

.media-placeholder span {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid rgba(241, 234, 220, 0.12);
  border-radius: 999px;
  color: rgba(241, 234, 220, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: rgba(5, 5, 4, 0.42);
}

.media-placeholder strong {
  max-width: 13ch;
  color: rgba(241, 234, 220, 0.14);
  font-size: clamp(3.8rem, 8vw, 7rem);
  line-height: 0.85;
  font-weight: 900;
}

.media-red { background-color: #3a1510; }
.media-olive { background-color: #222d19; }
.media-violet { background-color: #161425; }
.media-amber { background-color: #3a2c14; }
.media-green { background-color: #101f16; }
.media-gold { background-color: #312412; }
.media-coffee { background-color: #2a1b12; }

.project-card {
  display: grid;
  grid-template-rows: minmax(0, 0.62fr) auto;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(241, 234, 220, 0.045), rgba(241, 234, 220, 0.018)),
    rgba(8, 8, 6, 0.78);
}

.project-card.work-large,
.project-card.work-wide {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 0.62fr) auto;
  min-height: 0;
}

.project-card.work-shape-1 {
  grid-column: span 7;
  grid-row: span 15;
  grid-template-rows: minmax(0, 0.66fr) auto;
}

.project-card.work-shape-2 {
  grid-column: span 5;
  grid-row: span 15;
  grid-template-rows: minmax(0, 0.7fr) auto;
}

.project-card.work-shape-3 {
  grid-column: span 4;
  grid-row: span 12;
  grid-template-rows: minmax(0, 0.56fr) auto;
}

.project-card.work-shape-4 {
  grid-column: span 8;
  grid-row: span 12;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  grid-template-rows: 1fr;
}

.project-card.work-shape-5 {
  grid-column: span 4;
  grid-row: span 14;
  grid-template-rows: minmax(0, 0.68fr) auto;
}

.project-card.work-shape-6 {
  grid-column: span 8;
  grid-row: span 14;
  grid-template-rows: minmax(0, 0.62fr) auto;
}

.project-card.work-shape-4 .project-content {
  border-top: 0;
  border-left: 1px solid rgba(241, 234, 220, 0.08);
}

.project-card.work-shape-1 .project-content h3,
.project-card.work-shape-4 .project-content h3 {
  font-size: clamp(2rem, 3.45vw, 4.6rem);
}

.project-card.work-shape-2 .project-media,
.project-card.work-shape-5 .project-media {
  min-height: 0;
}

.project-media {
  position: relative;
  display: flex;
  min-height: 0;
  padding: 20px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(5, 5, 4, 0.24), rgba(5, 5, 4, 0.92)),
    radial-gradient(circle at 50% 28%, rgba(241, 234, 220, 0.18), transparent 22rem);
}

.project-media::before,
.project-media::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.project-media::before {
  inset: 16%;
  z-index: 2;
  border: 1px solid rgba(241, 234, 220, 0.11);
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(241, 234, 220, 0.15) 50%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(170, 189, 109, 0.14) 50%, transparent 50.3%);
  opacity: 0.62;
  transform: perspective(620px) rotateX(54deg) translateY(22%);
}

.project-media::after {
  inset: auto -22% 20%;
  z-index: 2;
  height: 44%;
  opacity: 0.72;
  background: linear-gradient(90deg, transparent, rgba(170, 189, 109, 0.18), rgba(176, 110, 61, 0.2), transparent);
  filter: blur(19px);
  transform: rotate(-10deg);
}

.project-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 520ms ease, transform 900ms ease;
}

.project-media.is-loaded img {
  opacity: 1;
  transform: scale(1);
}

.project-media.is-loaded::before {
  opacity: 0;
}

.project-media.is-loaded::after {
  inset: 0;
  height: auto;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 4, 0.18), rgba(5, 5, 4, 0.42) 46%, rgba(5, 5, 4, 0.82)),
    radial-gradient(circle at 50% 20%, transparent 0 24%, rgba(5, 5, 4, 0.24) 70%);
  filter: none;
  transform: none;
}

.project-media > span {
  display: none;
}

.project-media strong {
  display: none;
}

.project-media.no-asset {
  align-content: space-between;
}

.project-media.no-asset > span,
.project-media.no-asset strong {
  position: relative;
  z-index: 3;
  display: block;
}

.project-media.no-asset > span {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid rgba(241, 234, 220, 0.12);
  border-radius: 999px;
  color: rgba(241, 234, 220, 0.66);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(5, 5, 4, 0.52);
}

.project-media.no-asset strong {
  align-self: flex-end;
  margin-top: auto;
  color: rgba(241, 234, 220, 0.16);
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.8;
  font-weight: 900;
}

.project-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(22px, 3vw, 34px);
  border-top: 1px solid rgba(241, 234, 220, 0.08);
  border-left: 0;
}

.project-card:not(.work-large):not(.work-wide) .project-content {
  border-top: 1px solid rgba(241, 234, 220, 0.08);
  border-left: 0;
}

.project-card.work-shape-4 .project-media {
  min-height: 100%;
}

.project-card.work-shape-4 .project-content {
  border-top: 0;
  border-left: 1px solid rgba(241, 234, 220, 0.08);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: rgba(170, 189, 109, 0.82);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-content h3 {
  margin: 26px 0 0;
  color: var(--bone);
  font-size: clamp(1.55rem, 2.35vw, 2.8rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.project-role {
  margin: 14px 0 0;
  color: rgba(209, 170, 101, 0.9);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-content p:not(.project-role) {
  margin: 18px 0 0;
  color: rgba(241, 234, 220, 0.66);
  font-size: 0.96rem;
  line-height: 1.65;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
}

.project-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(241, 234, 220, 0.12);
  border-radius: 999px;
  color: rgba(241, 234, 220, 0.72);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(241, 234, 220, 0.045);
}

.work-copy {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.work-copy span {
  max-width: 210px;
  color: rgba(241, 234, 220, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.work-copy h3 {
  max-width: 380px;
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 3.25rem);
  line-height: 0.95;
  text-align: right;
  text-wrap: balance;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.48fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-top: 28px;
}

.services-intro h2 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 9rem);
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: 0;
}

.services-intro p {
  margin: 0;
  color: rgba(241, 234, 220, 0.68);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-height: 1.72;
}

.service-suite {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 22px);
  margin-top: 54px;
}

.service-block {
  --cut: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: clamp(22px, 2.5vw, 34px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(241, 234, 220, 0.12);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(241, 234, 220, 0.105), rgba(241, 234, 220, 0.025) 46%, rgba(93, 135, 145, 0.05)),
    rgba(8, 9, 7, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(170, 189, 109, 0.08),
    0 28px 84px rgba(0, 0, 0, 0.3);
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
  backdrop-filter: blur(24px) saturate(1.1);
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.service-block::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: 2px;
  pointer-events: none;
  content: "";
  opacity: 0.78;
  background:
    linear-gradient(135deg, rgba(241, 234, 220, 0.48), rgba(241, 234, 220, 0.1) 28%, rgba(170, 189, 109, 0.28) 58%, rgba(241, 234, 220, 0.44));
  clip-path: inherit;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: opacity 260ms ease, background 260ms ease;
}

.service-block::after {
  position: absolute;
  inset: 2px;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.48;
  background:
    linear-gradient(90deg, rgba(241, 234, 220, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(241, 234, 220, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 45% 0%, rgba(170, 189, 109, 0.13), transparent 14rem),
    radial-gradient(circle at 100% 84%, rgba(176, 110, 61, 0.11), transparent 14rem);
  background-size: 42px 42px, 42px 42px, auto, auto;
  clip-path: inherit;
}

.service-block:hover,
.service-block:focus-within {
  background:
    linear-gradient(145deg, rgba(241, 234, 220, 0.13), rgba(241, 234, 220, 0.035) 44%, rgba(93, 135, 145, 0.07)),
    rgba(10, 11, 9, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(170, 189, 109, 0.14),
    0 0 46px rgba(170, 189, 109, 0.12),
    0 34px 98px rgba(0, 0, 0, 0.42);
  transform: translateY(-5px);
}

.service-block:hover::before,
.service-block:focus-within::before {
  opacity: 0.95;
  background:
    linear-gradient(135deg, rgba(241, 234, 220, 0.76), rgba(170, 189, 109, 0.26) 28%, rgba(93, 135, 145, 0.28) 58%, rgba(241, 234, 220, 0.66));
}

.service-featured {
  background:
    linear-gradient(135deg, rgba(115, 129, 74, 0.14), rgba(106, 79, 53, 0.14)),
    rgba(12, 11, 9, 0.82);
}

.service-number,
.service-main,
.service-includes,
.service-panel-head,
.service-description,
.service-panel-foot {
  position: relative;
  z-index: 3;
}

.service-panel-head {
  display: grid;
  gap: 18px;
  padding: 10px 0 22px;
  border-bottom: 1px solid rgba(241, 234, 220, 0.18);
}

.service-panel-head::before {
  position: absolute;
  top: -8px;
  left: 0;
  width: min(112px, 48%);
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--olive-bright), rgba(93, 135, 145, 0.56), transparent);
  box-shadow: 0 0 24px rgba(170, 189, 109, 0.24);
}

.service-panel-head span {
  color: rgba(170, 189, 109, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.service-panel-head h3 {
  margin: 0;
  color: var(--bone);
  font-size: clamp(1.45rem, 2vw, 2.5rem);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.service-mode {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(209, 170, 101, 0.28);
  border-radius: 999px;
  color: rgba(209, 170, 101, 0.92);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(209, 170, 101, 0.06);
  white-space: nowrap;
}

.service-description {
  margin: 26px 0 0;
  color: rgba(241, 234, 220, 0.66);
  font-size: 1rem;
  line-height: 1.72;
}

.service-panel-foot {
  display: grid;
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
}

.service-includes {
  padding: 18px;
  border: 1px solid rgba(241, 234, 220, 0.1);
  border-radius: 0;
  background: rgba(5, 5, 4, 0.26);
}

.service-includes > span {
  display: block;
  color: rgba(170, 189, 109, 0.84);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.service-includes ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.service-includes li {
  position: relative;
  padding-left: 18px;
  color: rgba(241, 234, 220, 0.76);
  font-size: 0.92rem;
  line-height: 1.4;
}

.service-includes li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--olive-bright);
  box-shadow: 0 0 16px rgba(170, 189, 109, 0.48);
}

.systems {
  position: relative;
}

.systems::before {
  position: absolute;
  top: 18%;
  left: 50%;
  z-index: -1;
  width: min(86vw, 1040px);
  height: 480px;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 32% 42%, rgba(170, 189, 109, 0.13), transparent 18rem),
    radial-gradient(circle at 72% 50%, rgba(93, 135, 145, 0.12), transparent 20rem),
    linear-gradient(90deg, transparent, rgba(241, 234, 220, 0.05), transparent);
  filter: blur(20px);
  transform: translateX(-50%);
}

.protocols-header {
  max-width: 1060px;
  margin: 30px auto 0;
  text-align: center;
}

.protocols-header h2 {
  margin: 0;
  font-size: clamp(3rem, 7.4vw, 8.4rem);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.protocols-header p {
  max-width: 760px;
  margin: 26px auto 0;
  color: rgba(241, 234, 220, 0.68);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.72;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(34px, 5vw, 64px);
}

.protocol-card {
  --cut: 28px;
  position: relative;
  min-height: 640px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(241, 234, 220, 0.105), rgba(241, 234, 220, 0.025) 46%, rgba(93, 135, 145, 0.05)),
    rgba(8, 9, 7, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(170, 189, 109, 0.08),
    0 28px 84px rgba(0, 0, 0, 0.34);
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
  backdrop-filter: blur(24px) saturate(1.12);
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.protocol-card::before,
.protocol-card::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.protocol-card::before {
  inset: 0;
  z-index: 4;
  padding: 2px;
  opacity: 0.94;
  background:
    linear-gradient(135deg, rgba(241, 234, 220, 0.6), rgba(241, 234, 220, 0.13) 23%, rgba(170, 189, 109, 0.34) 52%, rgba(93, 135, 145, 0.26) 76%, rgba(241, 234, 220, 0.52));
  clip-path: inherit;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.protocol-card::after {
  inset: 2px;
  z-index: 0;
  opacity: 0.55;
  background:
    linear-gradient(90deg, rgba(241, 234, 220, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(241, 234, 220, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 46% 0%, rgba(170, 189, 109, 0.15), transparent 17rem),
    radial-gradient(circle at 100% 84%, rgba(93, 135, 145, 0.12), transparent 13rem);
  background-size: 46px 46px, 46px 46px, auto, auto;
  clip-path: inherit;
}

.protocol-card:hover,
.protocol-card:focus-within {
  background:
    linear-gradient(145deg, rgba(241, 234, 220, 0.14), rgba(241, 234, 220, 0.035) 44%, rgba(93, 135, 145, 0.07)),
    rgba(10, 11, 9, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(170, 189, 109, 0.14),
    0 0 46px rgba(170, 189, 109, 0.14),
    0 34px 98px rgba(0, 0, 0, 0.46);
  transform: translateY(-5px);
}

.protocol-card:hover::before,
.protocol-card:focus-within::before {
  background:
    linear-gradient(135deg, rgba(241, 234, 220, 0.86), rgba(170, 189, 109, 0.28) 24%, rgba(93, 135, 145, 0.36) 56%, rgba(241, 234, 220, 0.74));
}

.module-sweep,
.module-corner,
.module-node {
  position: absolute;
  pointer-events: none;
}

.module-sweep {
  inset: -32% -62%;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(241, 234, 220, 0.16), rgba(170, 189, 109, 0.11), transparent 62%);
  transform: translateX(-34%) rotate(11deg);
}

.protocol-card:hover .module-sweep,
.protocol-card:focus-within .module-sweep,
.service-block:hover .module-sweep,
.service-block:focus-within .module-sweep {
  animation: moduleSweep 1250ms ease;
}

.module-corner {
  z-index: 5;
  width: 42px;
  height: 42px;
  opacity: 0.72;
}

.module-corner-tl {
  top: 16px;
  left: 16px;
  border-top: 1px solid rgba(241, 234, 220, 0.34);
  border-left: 1px solid rgba(241, 234, 220, 0.34);
}

.module-corner-tr {
  top: 16px;
  right: 16px;
  border-top: 1px solid rgba(241, 234, 220, 0.34);
  border-right: 1px solid rgba(241, 234, 220, 0.34);
}

.module-corner-bl {
  bottom: 16px;
  left: 16px;
  border-bottom: 1px solid rgba(241, 234, 220, 0.26);
  border-left: 1px solid rgba(241, 234, 220, 0.26);
}

.module-corner-br {
  right: 16px;
  bottom: 16px;
  border-right: 1px solid rgba(241, 234, 220, 0.26);
  border-bottom: 1px solid rgba(241, 234, 220, 0.26);
}

.module-node {
  z-index: 5;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive-bright);
  box-shadow: 0 0 18px rgba(170, 189, 109, 0.74);
}

.module-node-a {
  top: 19px;
  left: calc(var(--cut) + 42px);
}

.module-node-b {
  right: calc(var(--cut) + 18px);
  bottom: 19px;
  opacity: 0.72;
}

.protocol-card-head,
.protocol-list {
  position: relative;
  z-index: 3;
}

.protocol-card-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 22px;
  border-bottom: 1px solid rgba(241, 234, 220, 0.19);
}

.protocol-card-head::before {
  position: absolute;
  top: -8px;
  left: 0;
  width: min(112px, 42%);
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--olive-bright), rgba(93, 135, 145, 0.56), transparent);
  box-shadow: 0 0 24px rgba(170, 189, 109, 0.28);
}

.protocol-card-head::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 64px;
  height: 1px;
  content: "";
  background: rgba(241, 234, 220, 0.48);
}

.protocol-card-head span {
  color: rgba(170, 189, 109, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.protocol-card-head h3 {
  margin: 0;
  color: rgba(241, 234, 220, 0.92);
  font-size: clamp(1.2rem, 1.75vw, 1.85rem);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.protocol-list {
  position: relative;
  display: grid;
  gap: 16px;
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: 0;
  list-style: none;
}

.protocol-list::before {
  position: absolute;
  inset: -18px -10px -22px;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  background:
    linear-gradient(90deg, transparent 49%, rgba(170, 189, 109, 0.18) 50%, transparent 51%),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(241, 234, 220, 0.055) 22px 23px);
}

.protocol-list li,
.logo-fallback {
  color: rgba(241, 234, 220, 0.9);
  font-size: clamp(1.45rem, 2.4vw, 2.55rem);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: 0;
}

.protocol-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0 15px;
  border-bottom: 1px solid rgba(241, 234, 220, 0.09);
}

.protocol-list li::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 46px;
  height: 1px;
  content: "";
  background: rgba(170, 189, 109, 0.34);
}

.protocol-list li:last-child {
  border-bottom: 0;
}

.logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-fallback::before {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: rgba(170, 189, 109, 0.9);
  box-shadow: 0 0 22px rgba(170, 189, 109, 0.62);
}

.logo-fallback.has-logo::before {
  display: none;
}

.logo-fallback img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.8);
  opacity: 0.92;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: center;
  margin-top: 34px;
}

.about-portrait {
  min-height: clamp(520px, 68vh, 780px);
  aspect-ratio: 0.82;
  border-radius: 14px;
}

.about-portrait img {
  object-position: center 22%;
}

.about-portrait.is-loaded::after {
  inset: 0;
  z-index: 3;
  border: 0;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 4, 0.08), rgba(5, 5, 4, 0.28) 62%, rgba(5, 5, 4, 0.72)),
    radial-gradient(circle at 50% 18%, transparent 0 28%, rgba(5, 5, 4, 0.26) 76%);
  transform: none;
}

.portrait-placeholder {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid rgba(241, 234, 220, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 48% 20%, rgba(209, 170, 101, 0.28), transparent 16rem),
    linear-gradient(145deg, rgba(115, 129, 74, 0.23), rgba(37, 26, 18, 0.74)),
    #0d0c09;
  box-shadow: var(--shadow);
}

.portrait-placeholder::before {
  position: absolute;
  inset: 12% 18% 0;
  content: "";
  border-radius: 42% 42% 0 0;
  background:
    linear-gradient(180deg, rgba(241, 234, 220, 0.16), rgba(241, 234, 220, 0.04)),
    linear-gradient(90deg, transparent 49%, rgba(170, 189, 109, 0.42) 50%, transparent 51%);
  filter: blur(0.2px);
}

.portrait-placeholder::after {
  position: absolute;
  inset: auto -20% 18%;
  height: 36%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(170, 189, 109, 0.28), rgba(176, 110, 61, 0.24), transparent);
  filter: blur(18px);
  transform: rotate(-15deg);
}

.portrait-placeholder span {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 8px 10px;
  border: 1px solid rgba(241, 234, 220, 0.12);
  border-radius: 999px;
  color: rgba(241, 234, 220, 0.66);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: rgba(5, 5, 4, 0.46);
}

.about-copy p {
  margin-top: 24px;
}

.credentials-panel {
  position: relative;
  margin-top: clamp(56px, 9vw, 118px);
  padding: clamp(22px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(241, 234, 220, 0.13);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(115, 129, 74, 0.13), rgba(106, 79, 53, 0.14)),
    rgba(7, 7, 5, 0.68);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.credentials-panel::before,
.credentials-panel::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.credentials-panel::before {
  inset: 0;
  opacity: 0.34;
  background:
    linear-gradient(90deg, transparent 49%, rgba(241, 234, 220, 0.05) 50%, transparent 51%),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(241, 234, 220, 0.035) 24px 25px);
  background-size: 96px 96px, auto;
}

.credentials-panel::after {
  top: 0;
  right: 22px;
  left: 22px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(170, 189, 109, 0.72), rgba(209, 170, 101, 0.56), transparent);
}

.credentials-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(18px, 5vw, 64px);
  align-items: end;
}

.credentials-eyebrow {
  color: rgba(170, 189, 109, 0.88);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.credentials-head h3 {
  margin: 0;
  color: rgba(241, 234, 220, 0.92);
  font-size: clamp(1.7rem, 3.6vw, 4.4rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.credentials-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(28px, 4.5vw, 54px);
}

.credential-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 260px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(241, 234, 220, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(170, 189, 109, 0.13), transparent 58%),
    rgba(241, 234, 220, 0.035);
  transition: border-color 240ms ease, background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.credential-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(241, 234, 220, 0.12), transparent 48%);
  transform: translateX(-72%);
  transition: opacity 220ms ease, transform 720ms ease;
}

.credential-card:hover,
.credential-card:focus-visible {
  border-color: rgba(170, 189, 109, 0.56);
  background:
    radial-gradient(circle at 50% 0%, rgba(170, 189, 109, 0.19), transparent 58%),
    rgba(241, 234, 220, 0.055);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28), 0 0 42px rgba(170, 189, 109, 0.08);
  transform: translateY(-4px);
}

.credential-card:hover::before,
.credential-card:focus-visible::before {
  opacity: 1;
  transform: translateX(72%);
}

.credential-index {
  color: rgba(241, 234, 220, 0.46);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.credential-logo {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 18px;
  border: 1px solid rgba(241, 234, 220, 0.1);
  border-radius: 6px;
  color: rgba(241, 234, 220, 0.88);
  font-size: clamp(1.25rem, 2vw, 2.2rem);
  line-height: 1;
  font-weight: 900;
  text-align: center;
  background: rgba(5, 5, 4, 0.38);
}

.credential-logo.has-logo {
  font-size: 0;
}

.credential-logo img {
  display: block;
  width: min(100%, 180px);
  max-height: 58px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.8);
  opacity: 0.92;
}

.credential-area {
  color: rgba(241, 234, 220, 0.64);
  font-size: 0.92rem;
  line-height: 1.45;
}

.skill-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.skill-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(241, 234, 220, 0.12);
  border-radius: 999px;
  color: rgba(241, 234, 220, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(5, 5, 4, 0.38);
}

.contact {
  padding-bottom: 84px;
}

.contact-panel {
  position: relative;
  margin-top: 122px;
  padding: clamp(30px, 7vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(241, 234, 220, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(115, 129, 74, 0.18), rgba(106, 79, 53, 0.2)),
    rgba(7, 7, 5, 0.86);
  box-shadow: var(--shadow);
}

.contact-panel::before {
  position: absolute;
  inset: -18% -16% auto auto;
  width: 50%;
  min-width: 360px;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(170, 189, 109, 0.2), transparent 62%);
}

.contact-panel h2,
.contact-panel p,
.contact-panel .eyebrow,
.contact-actions {
  position: relative;
  z-index: 2;
}

.contact-panel h2 {
  max-width: 980px;
  margin-top: 18px;
}

.contact-panel p {
  max-width: 670px;
  margin-top: 24px;
}

body.email-choice-open {
  overflow: hidden;
}

.email-choice-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.email-choice-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.email-choice-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(170, 189, 109, 0.14), transparent 38rem),
    rgba(5, 5, 4, 0.76);
  backdrop-filter: blur(16px);
}

.email-choice-panel {
  position: relative;
  width: min(100%, 720px);
  padding: clamp(24px, 5vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(241, 234, 220, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(115, 129, 74, 0.18), rgba(106, 79, 53, 0.18)),
    rgba(8, 8, 6, 0.94);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.56);
  transform: translateY(18px) scale(0.98);
  transition: transform 260ms ease;
}

.email-choice-modal.is-open .email-choice-panel {
  transform: translateY(0) scale(1);
}

.email-choice-panel::before {
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(170, 189, 109, 0.76), rgba(209, 170, 101, 0.58), transparent);
}

.email-choice-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(241, 234, 220, 0.14);
  border-radius: 999px;
  color: rgba(241, 234, 220, 0.72);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(241, 234, 220, 0.055);
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.email-choice-close:hover,
.email-choice-close:focus-visible {
  border-color: rgba(170, 189, 109, 0.54);
  color: var(--bone);
  background: rgba(170, 189, 109, 0.1);
}

.email-choice-panel h2 {
  max-width: 600px;
  margin: 14px 0 0;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.email-choice-panel p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(241, 234, 220, 0.68);
  font-size: 1rem;
  line-height: 1.65;
}

.email-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.email-choice-option {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 168px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(241, 234, 220, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(170, 189, 109, 0.14), transparent 58%),
    rgba(241, 234, 220, 0.04);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.email-choice-option::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(241, 234, 220, 0.13), transparent 52%);
  transform: translateX(-70%);
  transition: opacity 220ms ease, transform 680ms ease;
}

.email-choice-option:hover,
.email-choice-option:focus-visible {
  border-color: rgba(170, 189, 109, 0.56);
  background:
    radial-gradient(circle at 50% 0%, rgba(170, 189, 109, 0.2), transparent 58%),
    rgba(241, 234, 220, 0.06);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.3), 0 0 38px rgba(170, 189, 109, 0.08);
  transform: translateY(-3px);
}

.email-choice-option:hover::before,
.email-choice-option:focus-visible::before {
  opacity: 1;
  transform: translateX(70%);
}

.email-choice-option span,
.email-choice-option small {
  position: relative;
  z-index: 1;
}

.email-choice-option span {
  color: rgba(241, 234, 220, 0.95);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1;
  font-weight: 900;
}

.email-choice-option small {
  color: rgba(241, 234, 220, 0.58);
  font-size: 0.82rem;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: rgba(241, 234, 220, 0.48);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.site-header[data-reveal] {
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
}

.site-header[data-reveal].is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes slowOrbit {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.05); }
  to { transform: rotate(360deg) scale(1); }
}

@keyframes scanline {
  0%, 100% { transform: translateY(-40px) rotate(-18deg); opacity: 0.45; }
  50% { transform: translateY(260px) rotate(-18deg); opacity: 0.9; }
}

@keyframes levelPulse {
  0%, 100% { transform: scaleY(0.78); opacity: 0.72; }
  50% { transform: scaleY(1.12); opacity: 1; }
}

@keyframes moduleSweep {
  0% {
    opacity: 0;
    transform: translateX(-34%) rotate(11deg);
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(34%) rotate(11deg);
  }
}

.home-page .project-card {
  color: inherit;
}

.home-page .project-card::before,
.home-page .project-card::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.home-page .project-card::before {
  inset: -18% -34%;
  z-index: 4;
  opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(241, 234, 220, 0.16), rgba(170, 189, 109, 0.1), transparent 62%);
  transform: translateX(-36%) rotate(10deg);
  transition: opacity 260ms ease;
}

.home-page .project-card::after {
  inset: 14px;
  z-index: 3;
  opacity: 0.32;
  border: 1px solid rgba(241, 234, 220, 0.08);
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(170, 189, 109, 0.13) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(241, 234, 220, 0.08) 50%, transparent 50.5%);
  transform: scale(0.98);
  transition: opacity 260ms ease, transform 260ms ease;
}

.home-page .project-card:hover::before,
.home-page .project-card:focus-visible::before {
  opacity: 1;
  animation: moduleSweep 1100ms ease;
}

.home-page .project-card:hover::after,
.home-page .project-card:focus-visible::after {
  opacity: 0.54;
  transform: scale(1);
}

.project-number {
  display: inline-flex;
  width: fit-content;
  margin-top: 24px;
  color: rgba(241, 234, 220, 0.42);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.project-link-text {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 22px;
  color: rgba(170, 189, 109, 0.9);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 220ms ease, transform 220ms ease;
}

.project-link-text::after {
  margin-left: 10px;
  content: "↗";
}

.project-card:hover .project-link-text,
.project-card:focus-visible .project-link-text {
  color: var(--bone);
  transform: translateX(4px);
}

.contact-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  color: rgba(241, 234, 220, 0.54);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding-inline: 12px;
  border: 1px solid rgba(241, 234, 220, 0.1);
  border-radius: 999px;
  background: rgba(241, 234, 220, 0.035);
}

.project-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(170, 189, 109, 0.16), transparent 30rem),
    radial-gradient(circle at 86% 10%, rgba(93, 135, 145, 0.12), transparent 24rem),
    radial-gradient(circle at 50% 62%, rgba(176, 110, 61, 0.1), transparent 42rem),
    linear-gradient(180deg, #050504 0%, #090806 46%, #050504 100%);
}

.project-topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - clamp(24px, 5vw, 96px), var(--page-width));
  min-height: 64px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(241, 234, 220, 0.12);
  border-radius: 8px;
  background: rgba(5, 5, 4, 0.68);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.project-back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(241, 234, 220, 0.16);
  border-radius: 999px;
  color: rgba(241, 234, 220, 0.8);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(241, 234, 220, 0.045);
  transition: border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.project-back::before {
  margin-right: 10px;
  content: "←";
}

.project-back:hover,
.project-back:focus-visible {
  border-color: rgba(170, 189, 109, 0.52);
  color: var(--bone);
  transform: translateY(-1px);
}

.project-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: 100svh;
  padding-top: 126px;
  padding-bottom: clamp(54px, 9vh, 112px);
  overflow: visible;
  isolation: isolate;
}

.project-hero-backdrop {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -3;
  width: 100vw;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 54% 26%, rgba(241, 234, 220, 0.12), transparent 28rem),
    linear-gradient(135deg, rgba(115, 129, 74, 0.18), rgba(37, 26, 18, 0.74)),
    #050504;
  transform: translateX(-50%);
}

.project-hero-backdrop::before,
.project-hero-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.project-hero-backdrop::before {
  z-index: 2;
  background:
    radial-gradient(circle at 65% 42%, rgba(5, 5, 4, 0), rgba(5, 5, 4, 0.38) 62%, rgba(5, 5, 4, 0.78) 100%),
    linear-gradient(90deg, rgba(5, 5, 4, 0.82), rgba(5, 5, 4, 0.46) 35%, rgba(5, 5, 4, 0.14) 68%, rgba(5, 5, 4, 0.36)),
    linear-gradient(180deg, rgba(5, 5, 4, 0.58), rgba(5, 5, 4, 0.08) 42%, rgba(5, 5, 4, 0.86));
}

.project-hero-backdrop::after {
  z-index: 3;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(241, 234, 220, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 234, 220, 0.022) 1px, transparent 1px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.014) 0, rgba(255, 255, 255, 0.014) 1px, transparent 1px, transparent 4px);
  background-size: 82px 82px, 82px 82px, auto;
  mix-blend-mode: screen;
}

.project-hero-backdrop img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  filter: saturate(1.08) contrast(1.08) brightness(0.88);
  transform: scale(1.035);
  transition: opacity 600ms ease, transform 1000ms ease;
}

.project-hero-backdrop.is-loaded img {
  opacity: 0.98;
  transform: scale(1.015);
}

.project-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
}

.project-hero-copy h1 {
  max-width: 1200px;
  margin: 18px 0 0;
  font-size: clamp(3rem, 6.4vw, 8.8rem);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(28px, 5vw, 54px);
}

.project-facts span {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(241, 234, 220, 0.1);
  border-radius: 8px;
  color: rgba(241, 234, 220, 0.78);
  font-size: 0.92rem;
  line-height: 1.4;
  background: rgba(241, 234, 220, 0.035);
  backdrop-filter: blur(18px);
}

.project-facts strong {
  color: rgba(170, 189, 109, 0.86);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.project-facts em {
  font-style: normal;
}

.project-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.project-hero-actions .button {
  min-width: 220px;
  backdrop-filter: blur(14px);
}

.project-hero-visual {
  min-height: clamp(460px, 70vh, 820px);
}

.asset-frame {
  position: relative;
  display: grid;
  place-items: end start;
  min-height: 360px;
  padding: 22px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(241, 234, 220, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(5, 5, 4, 0.2), rgba(5, 5, 4, 0.9)),
    radial-gradient(circle at 54% 26%, rgba(241, 234, 220, 0.18), transparent 21rem);
  box-shadow: var(--shadow);
}

.asset-frame::before,
.asset-frame::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.asset-frame::before {
  top: 18px;
  left: 18px;
  z-index: 3;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 8px 10px;
  border: 1px solid rgba(241, 234, 220, 0.12);
  border-radius: 999px;
  color: rgba(241, 234, 220, 0.66);
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(5, 5, 4, 0.5);
  content: attr(data-asset-label);
}

.asset-frame::after {
  inset: 15%;
  z-index: 1;
  border: 1px solid rgba(241, 234, 220, 0.11);
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(241, 234, 220, 0.15) 50%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(170, 189, 109, 0.14) 50%, transparent 50.3%);
  opacity: 0.58;
  transform: perspective(720px) rotateX(54deg) translateY(20%);
}

.asset-frame img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 520ms ease, transform 900ms ease;
}

.asset-frame.is-loaded img {
  opacity: 1;
  transform: scale(1);
}

.asset-frame.is-loaded::before,
.asset-frame.is-loaded::after,
.asset-frame.is-loaded strong {
  opacity: 0;
}

.hero-portrait.is-loaded::after,
.about-portrait.is-loaded::after,
.project-hero-visual.is-loaded::after {
  inset: 0;
  z-index: 3;
  border: 0;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 4, 0.12), rgba(5, 5, 4, 0.34) 66%, rgba(5, 5, 4, 0.72)),
    radial-gradient(circle at 50% 20%, transparent 0 22%, rgba(5, 5, 4, 0.24) 72%);
  transform: none;
}

.hero-portrait.is-loaded strong {
  opacity: 0;
}

.hero-portrait strong {
  max-width: 9ch;
  color: rgba(241, 234, 220, 0.2);
  font-size: clamp(4rem, 7vw, 8rem);
}

.project-grito-independencia .project-hero {
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

.project-grito-independencia .project-hero-copy h1 {
  max-width: 1280px;
  font-size: clamp(3rem, 5.8vw, 8.4rem);
  line-height: 0.9;
}

.project-grito-independencia .project-hero-backdrop::before {
  background:
    radial-gradient(circle at 65% 42%, rgba(5, 5, 4, 0), rgba(5, 5, 4, 0.34) 62%, rgba(5, 5, 4, 0.76) 100%),
    linear-gradient(90deg, rgba(5, 5, 4, 0.82), rgba(5, 5, 4, 0.42) 35%, rgba(5, 5, 4, 0.12) 68%, rgba(5, 5, 4, 0.34)),
    linear-gradient(180deg, rgba(5, 5, 4, 0.56), rgba(5, 5, 4, 0.06) 42%, rgba(5, 5, 4, 0.84));
}

.asset-frame strong {
  position: relative;
  z-index: 3;
  max-width: 10ch;
  color: rgba(241, 234, 220, 0.16);
  font-size: clamp(3.7rem, 7vw, 7rem);
  line-height: 0.82;
  font-weight: 900;
  text-transform: uppercase;
}

.project-story-grid,
.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(300px, 0.44fr);
  gap: clamp(26px, 6vw, 84px);
  align-items: start;
  margin-top: 32px;
}

.project-story-grid h2,
.project-gallery h2,
.video-panel h2,
.details-grid h2,
.scope-panel h2 {
  margin: 0;
  font-size: clamp(2.45rem, 5.8vw, 6.5rem);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.project-story-grid p,
.video-panel p {
  margin: 0;
  color: rgba(241, 234, 220, 0.68);
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
  line-height: 1.78;
}

.scope-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(320px, 0.55fr);
  gap: clamp(26px, 6vw, 84px);
  margin-top: 32px;
  padding: clamp(24px, 5vw, 60px);
  border: 1px solid rgba(241, 234, 220, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(115, 129, 74, 0.12), rgba(106, 79, 53, 0.12)),
    rgba(8, 8, 6, 0.64);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
}

.scope-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-list li {
  position: relative;
  min-height: 58px;
  padding: 18px 18px 18px 44px;
  border: 1px solid rgba(241, 234, 220, 0.09);
  border-radius: 8px;
  color: rgba(241, 234, 220, 0.82);
  font-size: 1rem;
  font-weight: 800;
  background: rgba(5, 5, 4, 0.32);
}

.scope-list li::before {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--olive-bright);
  box-shadow: 0 0 18px rgba(170, 189, 109, 0.62);
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-auto-rows: minmax(260px, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.gallery-grid .asset-frame {
  min-height: 360px;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.gallery-grid .asset-frame:hover {
  border-color: rgba(170, 189, 109, 0.45);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  transform: translateY(-4px);
}

.gallery-large {
  grid-row: span 2;
}

.video-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(320px, 0.58fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: center;
  margin-top: 32px;
}

.video-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(241, 234, 220, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(5, 5, 4, 0.2), rgba(5, 5, 4, 0.92)),
    radial-gradient(circle at 52% 45%, rgba(170, 189, 109, 0.16), transparent 18rem);
  box-shadow: var(--shadow);
}

.video-frame::before {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 10px;
  border: 1px solid rgba(241, 234, 220, 0.12);
  border-radius: 999px;
  color: rgba(241, 234, 220, 0.66);
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(5, 5, 4, 0.5);
  content: attr(data-video-label);
}

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.video-frame.is-loaded video {
  opacity: 1;
}

.video-frame.is-loaded span,
.video-frame.is-loaded::before {
  display: none;
}

.video-frame span {
  position: relative;
  z-index: 2;
  color: rgba(241, 234, 220, 0.9);
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 0.95;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.detail-stack {
  display: grid;
  gap: 10px;
}

.detail-stack article {
  padding: 18px;
  border: 1px solid rgba(241, 234, 220, 0.1);
  border-radius: 8px;
  background: rgba(241, 234, 220, 0.035);
}

.detail-stack span {
  display: block;
  color: rgba(170, 189, 109, 0.86);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.detail-stack p {
  margin: 10px 0 0;
  color: rgba(241, 234, 220, 0.68);
  line-height: 1.65;
}

.project-cta {
  padding-bottom: 84px;
}

.compact-contact {
  margin-top: 118px;
}

@media (max-width: 1060px) {
  .project-hero,
  .project-grito-independencia .project-hero,
  .project-story-grid,
  .scope-panel,
  .video-panel,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .project-hero {
    min-height: 100svh;
  }

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

  .project-hero-backdrop img {
    object-position: center center;
  }
}

@media (max-width: 760px) {
  .project-topbar {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 8px;
  }

  .project-back {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.68rem;
  }

  .project-hero {
    padding-top: 104px;
    padding-bottom: 52px;
  }

  .project-hero-copy h1 {
    font-size: clamp(2.8rem, 15vw, 5.1rem);
  }

  .asset-frame,
  .video-frame {
    min-height: 340px;
  }

  .project-story-grid h2,
  .project-gallery h2,
  .video-panel h2,
  .details-grid h2,
  .scope-panel h2 {
    font-size: clamp(2.35rem, 12vw, 4.2rem);
  }

  .scope-panel {
    padding: 22px;
  }

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

  .gallery-large {
    grid-row: auto;
  }

  .compact-contact {
    margin-top: 82px;
  }
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    place-items: center;
    gap: 0;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-panel {
    width: min(100%, 760px);
  }

  .hero-portrait {
    min-height: 580px;
  }

  .work-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(34px, 6vw, 52px);
  }

  .work-item,
  .work-large,
  .work-wide {
    grid-column: span 3;
  }

  .project-card.work-shape-1,
  .project-card.work-shape-4 {
    grid-column: span 6;
    grid-row: span 12;
  }

  .project-card.work-shape-2,
  .project-card.work-shape-3,
  .project-card.work-shape-5,
  .project-card.work-shape-6 {
    grid-column: span 3;
    grid-row: span 12;
  }

  .project-card.work-large,
  .project-card.work-wide,
  .project-card.work-shape-4 {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(240px, 0.72fr) auto;
  }

  .project-card.work-shape-4 .project-content {
    border-top: 1px solid rgba(241, 234, 220, 0.08);
    border-left: 0;
  }

  .project-content {
    border-top: 1px solid rgba(241, 234, 220, 0.08);
    border-left: 0;
  }

  .section-heading,
  .services-intro,
  .about-layout {
    grid-template-columns: 1fr;
  }

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

  .protocol-card {
    min-height: 560px;
  }

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

  .service-block {
    min-height: 560px;
  }

  .credentials-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

@media (max-width: 760px) {
  .section-shell {
    width: min(100% - 28px, var(--page-width));
  }

  .site-header {
    top: 10px;
    grid-template-columns: auto auto;
    gap: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 8px;
  }

  .nav-links {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .header-cta {
    justify-self: end;
    min-height: 40px;
    padding-inline: 16px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 92px;
    padding-bottom: 46px;
  }

  .hero-backdrop img,
  .hero-backdrop video {
    object-position: center center;
    opacity: 0.82;
  }

  .hero-backdrop.has-video video {
    opacity: 0.92;
  }

  .hero-backdrop::before {
    background:
      radial-gradient(circle at 50% 46%, rgba(5, 5, 4, 0.08), rgba(5, 5, 4, 0.62) 62%, rgba(5, 5, 4, 0.95) 100%),
      linear-gradient(90deg, rgba(5, 5, 4, 0.78), rgba(37, 70, 42, 0.32) 46%, rgba(5, 5, 4, 0.78)),
      linear-gradient(180deg, rgba(5, 5, 4, 0.82), rgba(5, 5, 4, 0.28) 42%, rgba(5, 5, 4, 0.9));
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12.5vw, 4.55rem);
    line-height: 0.94;
  }

  .editorial-title {
    gap: clamp(7px, 1.6vw, 11px);
  }

  .title-kicker {
    font-size: clamp(2.6rem, 12.8vw, 4.5rem);
  }

  .title-main {
    font-size: clamp(1.9rem, 9.6vw, 3.35rem);
  }

  .title-impact {
    font-size: clamp(2.85rem, 14.2vw, 5rem);
  }

  .title-soft {
    font-size: clamp(1.62rem, 8.4vw, 2.95rem);
  }

  .title-emotion {
    margin-top: 4px;
    font-size: clamp(3rem, 15.4vw, 5.35rem);
  }

  .hero-subtitle {
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .email-choice-modal {
    padding: 14px;
  }

  .email-choice-panel {
    max-height: calc(100svh - 28px);
    overflow-y: auto;
  }

  .email-choice-grid {
    grid-template-columns: 1fr;
  }

  .email-choice-option {
    min-height: 118px;
  }

  .hero-portrait {
    min-height: 430px;
    border-radius: 10px;
  }

  .section-kicker {
    padding-top: 58px;
    font-size: 0.68rem;
  }

  .section-kicker,
  .site-footer {
    flex-direction: column;
  }

  .section-heading h2,
  .services-intro h2,
  .about-copy h2,
  .contact-panel h2 {
    font-size: clamp(2.05rem, 9.4vw, 3.25rem);
    line-height: 0.98;
  }

  .selected-work .section-heading h2 {
    max-width: 9.8ch;
    font-size: clamp(2.18rem, 10vw, 3.35rem);
  }

  .protocols-header h2 {
    font-size: clamp(2.2rem, 10vw, 3.45rem);
  }

  .protocols-header p {
    margin-top: 18px;
  }

  .protocol-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }

  .protocol-card {
    --cut: 22px;
    min-height: auto;
    padding: 22px;
  }

  .module-corner {
    width: 30px;
    height: 30px;
  }

  .module-corner-tl,
  .module-corner-tr {
    top: 12px;
  }

  .module-corner-bl,
  .module-corner-br {
    bottom: 12px;
  }

  .module-corner-tl,
  .module-corner-bl {
    left: 12px;
  }

  .module-corner-tr,
  .module-corner-br {
    right: 12px;
  }

  .protocol-list {
    gap: 12px;
    margin-top: 26px;
  }

  .protocol-list li,
  .logo-fallback {
    font-size: clamp(1.42rem, 8vw, 2.35rem);
  }

  .services-intro {
    gap: 18px;
  }

  .service-suite {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
  }

  .service-block {
    gap: 18px;
    padding: 22px;
    min-height: auto;
  }

  .credentials-panel {
    margin-top: 58px;
    padding: 20px;
  }

  .credentials-head h3 {
    font-size: clamp(1.8rem, 9vw, 3.35rem);
  }

  .credentials-rail {
    display: flex;
    gap: 12px;
    margin-right: -20px;
    margin-left: -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .credential-card {
    flex: 0 0 min(86vw, 340px);
    min-height: 240px;
    scroll-snap-align: start;
  }

  .skill-strip {
    gap: 8px;
  }

  .service-number,
  .service-includes {
    grid-column: auto;
  }

  .service-panel-head h3 {
    font-size: clamp(1.75rem, 9vw, 3.2rem);
  }

  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-rows: auto;
    gap: 18px;
    margin-top: 26px;
  }

  .work-item,
  .work-large,
  .work-wide,
  .project-card.work-shape-1,
  .project-card.work-shape-2,
  .project-card.work-shape-3,
  .project-card.work-shape-4,
  .project-card.work-shape-5,
  .project-card.work-shape-6 {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    min-height: auto;
  }

  .project-card,
  .project-card.work-large,
  .project-card.work-wide,
  .project-card.work-shape-1,
  .project-card.work-shape-2,
  .project-card.work-shape-3,
  .project-card.work-shape-4,
  .project-card.work-shape-5,
  .project-card.work-shape-6 {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(185px, 48vw) auto;
  }

  .project-card.work-shape-4 .project-content {
    border-top: 1px solid rgba(241, 234, 220, 0.08);
    border-left: 0;
  }

  .project-media {
    min-height: 185px;
  }

  .project-media strong {
    display: none;
  }

  .project-content {
    padding: 18px;
  }

  .project-meta {
    gap: 8px;
    font-size: 0.62rem;
  }

  .project-number {
    margin-top: 14px;
    font-size: 0.66rem;
  }

  .project-content h3 {
    margin-top: 14px;
    font-size: clamp(1.32rem, 6.8vw, 1.95rem);
    line-height: 1;
  }

  .project-role {
    margin-top: 10px;
    font-size: 0.72rem;
  }

  .project-content p:not(.project-role),
  .project-tags {
    display: none;
  }

  .project-link-text {
    margin-top: 16px;
    font-size: 0.68rem;
  }

  .media-placeholder strong {
    font-size: clamp(3rem, 18vw, 5.5rem);
  }

  .work-copy {
    display: grid;
    gap: 12px;
  }

  .work-copy h3 {
    text-align: left;
  }

  .portrait-placeholder,
  .about-portrait {
    min-height: 470px;
  }

  .contact-panel {
    margin-top: 68px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.38rem;
  }

  .editorial-title {
    gap: 8px;
  }

  .title-kicker {
    font-size: clamp(2.3rem, 12.5vw, 3.35rem);
  }

  .title-main {
    font-size: clamp(1.7rem, 8.9vw, 2.55rem);
  }

  .title-impact {
    font-size: clamp(2.5rem, 13.4vw, 3.65rem);
  }

  .title-soft {
    font-size: clamp(1.48rem, 7.8vw, 2.25rem);
  }

  .title-emotion {
    margin-top: 3px;
    font-size: clamp(2.7rem, 14.8vw, 4.2rem);
  }

  .section-heading h2,
  .services-intro h2,
  .protocols-header h2,
  .about-copy h2,
  .contact-panel h2 {
    font-size: 2.05rem;
  }

  .selected-work .section-heading h2 {
    font-size: 2.28rem;
  }

  .project-card,
  .project-card.work-large,
  .project-card.work-wide,
  .project-card.work-shape-1,
  .project-card.work-shape-2,
  .project-card.work-shape-3,
  .project-card.work-shape-4,
  .project-card.work-shape-5,
  .project-card.work-shape-6 {
    grid-template-rows: 172px auto;
  }

  .project-media {
    min-height: 172px;
  }

  .media-placeholder {
    padding: 18px;
  }

  .work-copy {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }
}

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

  .cursor-glow {
    display: none;
  }
}
