:root {
  --ink: #0d0d0b;
  --ink-soft: #171714;
  --paper: #f3f0e7;
  --paper-soft: #e8e3d8;
  --white: #fffdf8;
  --acid: #dcff47;
  --orange: #ff5c35;
  --wedding-brown: #2a1a13;
  --wedding-gold: #dfbd74;
  --wedding-cream: #f8ecd5;
  --wedding-beige: #ead9bd;
  --wedding-bronze: #71502e;
  --violet: #7868ff;
  --blue: #3bc4ff;
  --muted: #a8a69d;
  --line-dark: rgba(13, 13, 11, 0.16);
  --line-light: rgba(255, 253, 248, 0.18);
  --display: "Syne", "Arial Black", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1380px, calc(100vw - 64px));
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

button,
a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.grid-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 max(32px, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(13, 13, 11, 0.88), rgba(13, 13, 11, 0));
  transition: min-height 0.35s var(--ease), background 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  border-color: var(--line-light);
  background: rgba(13, 13, 11, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-family: var(--display);
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 17px;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2.4vw, 38px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  color: rgba(255, 253, 248, 0.78);
  transition: color 0.25s ease;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.site-nav > a:not(.nav-cta):hover,
.site-nav > a:not(.nav-cta):focus-visible {
  color: var(--white);
}

.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(255, 253, 248, 0.4);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-light);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.3s ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-top: 76px;
  background:
    radial-gradient(circle at 12% 7%, rgba(255, 92, 53, 0.19), transparent 26%),
    radial-gradient(circle at 85% 22%, rgba(120, 104, 255, 0.17), transparent 30%),
    var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.75fr);
  gap: clamp(26px, 5vw, 90px);
  align-items: center;
  min-height: calc(100svh - 132px);
  padding-block: clamp(70px, 9vh, 120px) clamp(90px, 10vh, 140px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 253, 248, 0.68);
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(220, 255, 71, 0.12);
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.25rem, 7.9vw, 8.4rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.77;
  text-transform: uppercase;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92em;
  font-weight: 400;
  letter-spacing: -0.06em;
  text-transform: none;
}

.hero h1 em:last-child {
  color: var(--orange);
}

.hero-intro {
  max-width: 620px;
  margin: 38px 0 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 218px;
  gap: 22px;
  padding: 16px 18px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease;
}

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

.button-primary {
  background: var(--acid);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--orange);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 10px 10px 0 var(--orange);
}

.button-dark {
  margin-top: 38px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--violet);
}

.button-dark:hover,
.button-dark:focus-visible {
  box-shadow: 10px 10px 0 var(--violet);
}

.text-link {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.38);
  color: rgba(255, 253, 248, 0.82);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--acid);
  color: var(--acid);
}

.hero-meta {
  display: flex;
  gap: clamp(24px, 3vw, 54px);
  margin-top: clamp(52px, 8vh, 88px);
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.hero-meta div {
  display: grid;
  gap: 2px;
}

.hero-meta strong {
  font-family: var(--display);
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1;
}

.hero-meta span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  min-width: 0;
  perspective: 1000px;
}

.portrait-frame {
  position: relative;
  min-height: clamp(590px, 66vw, 760px);
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.26);
  background:
    linear-gradient(150deg, rgba(255, 92, 53, 0.9), rgba(120, 104, 255, 0.76) 48%, rgba(59, 196, 255, 0.38)),
    var(--ink-soft);
  box-shadow: 28px 32px 0 rgba(220, 255, 71, 0.94);
  transform: rotate(1.5deg) rotateX(calc(var(--tilt-y, 0) * 1deg)) rotateY(calc(var(--tilt-x, 0) * 1deg));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  content: "";
  background: linear-gradient(to top, rgba(13, 13, 11, 0.34), transparent 42%);
}

.portrait-frame img {
  position: absolute;
  z-index: 3;
  right: -9%;
  bottom: -2%;
  width: 115%;
  height: auto;
  filter: saturate(0.9) contrast(1.05);
  transform: translateZ(28px);
}

.portrait-glow {
  position: absolute;
  z-index: 1;
  inset: 12% 8% 19%;
  border-radius: 50%;
  background: rgba(220, 255, 71, 0.6);
  filter: blur(60px);
}

.portrait-word {
  position: absolute;
  z-index: 2;
  top: 48%;
  left: -7%;
  color: rgba(13, 13, 11, 0.26);
  font-family: var(--display);
  font-size: clamp(4.2rem, 7vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.frame-index,
.frame-label {
  position: absolute;
  z-index: 6;
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.frame-index {
  top: 16px;
  left: 18px;
}

.frame-label {
  right: 18px;
  bottom: 16px;
  color: var(--white);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.floating-note {
  position: absolute;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ink);
}

.note-top {
  top: 8%;
  right: -28px;
  transform: rotate(4deg);
}

.note-top span {
  color: #25b86f;
}

.note-bottom {
  bottom: 6%;
  left: -24px;
  background: var(--orange);
  color: var(--white);
  transform: rotate(-5deg);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 253, 248, 0.15);
  border-radius: 50%;
}

.hero-orbit-one {
  width: 440px;
  height: 440px;
  top: -9%;
  right: -16%;
}

.hero-orbit-two {
  width: 240px;
  height: 240px;
  bottom: 2%;
  left: -24%;
}

.crosshair {
  position: absolute;
  z-index: 8;
  width: 22px;
  height: 22px;
}

.crosshair::before,
.crosshair::after {
  position: absolute;
  content: "";
  background: var(--acid);
}

.crosshair::before {
  top: 10px;
  left: 0;
  width: 22px;
  height: 1px;
}

.crosshair::after {
  top: 0;
  left: 10px;
  width: 1px;
  height: 22px;
}

.crosshair-a {
  top: -24px;
  left: -18px;
}

.crosshair-b {
  right: -44px;
  bottom: 17%;
}

.hero-reel {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-block: 1px solid rgba(13, 13, 11, 0.32);
  background: var(--acid);
  color: var(--ink);
  transform: rotate(-1deg) scale(1.01);
}

.reel-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 26px;
  padding: 12px 0;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  animation: ticker 26s linear infinite;
}

.reel-track i {
  color: var(--orange);
  font-size: 18px;
  font-style: normal;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.work-section {
  position: relative;
  padding: clamp(110px, 13vw, 180px) 0;
  background: var(--paper);
  color: var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.65fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}

.section-kicker {
  margin-bottom: 22px;
  color: rgba(13, 13, 11, 0.58);
}

.section-kicker.light {
  color: rgba(255, 253, 248, 0.58);
}

.section-head h2,
.expertise-intro h2,
.system-copy h2,
.about-copy h2,
.contact-inner h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.4vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.section-head-side {
  display: grid;
  gap: 28px;
}

.section-head-side > p {
  max-width: 470px;
  margin: 0;
  color: rgba(13, 13, 11, 0.64);
  font-size: 17px;
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  padding: 8px 13px;
  border: 1px solid rgba(13, 13, 11, 0.24);
  border-radius: 999px;
  background: transparent;
  color: rgba(13, 13, 11, 0.68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  background: var(--ink);
  color: var(--white);
}

.filter-button:active {
  transform: scale(0.96);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 34px 24px;
  align-items: start;
}

.work-category-intro {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding-top: 34px;
  border-top: 1px solid var(--line-dark);
}

.work-category-intro[hidden] {
  display: none;
}

.work-category-intro .section-kicker {
  margin-bottom: 12px;
}

.work-category-intro h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.work-category-intro > p {
  max-width: 390px;
  margin: 0;
  color: rgba(13, 13, 11, 0.62);
}

.project-card {
  display: grid;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
}

.project-card-wide {
  grid-column: span 7;
}

.project-card-tall {
  grid-column: span 5;
}

.project-card-standard {
  grid-column: span 4;
}

.project-card-half {
  grid-column: span 6;
}

.project-card-ticket,
.project-card-panorama {
  grid-column: span 8;
}

.project-card-concept {
  grid-column: 1 / -1;
}

.project-card-concert {
  grid-column: span 6;
}

.project-card-sangyaw-opening {
  grid-column: span 6;
}

.project-card-liturgical {
  grid-column: span 6;
}

.project-card-3d {
  grid-column: 1 / -1;
}

.project-card-3d .project-media {
  aspect-ratio: 16 / 8;
  background: #3e5362;
}

.project-card-3d .project-media > img {
  object-position: center 50%;
}

.visualizer-stamp {
  position: absolute;
  top: 22px;
  left: 24px;
  padding: 8px 12px;
  background: var(--acid);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.project-card-liturgical .project-media {
  aspect-ratio: 16 / 10;
  background: #29231e;
}

.project-card-liturgical .project-media > img {
  object-position: center 35%;
}

.liturgical-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25, 21, 18, 0.38), transparent 58%);
  pointer-events: none;
}

.liturgical-stamp {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 24px;
  padding: 8px 12px;
  background: #eee0c7;
  color: #49331d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.project-card-sangyaw-opening .project-media {
  aspect-ratio: 16 / 10;
  background: #202529;
}

.project-card-sangyaw-opening .project-media > img {
  object-position: center 45%;
}

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

.project-media {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #c9c6bd;
}

.project-card-tall .project-media,
.project-card-standard .project-media {
  aspect-ratio: 4 / 5;
}

.project-card-miss-film .project-media {
  aspect-ratio: 16 / 10;
}

.project-card-miss-billboard {
  grid-column: 1 / -1;
}

.project-card-miss-billboard .project-media {
  aspect-ratio: 16 / 7;
}

.project-card-jewelry {
  grid-column: 1 / -1;
}

.project-card-jewelry .project-media {
  aspect-ratio: 16 / 7;
  background: radial-gradient(circle at center, #193151, #080f1d 76%);
}

.project-card-jewelry .project-media > img {
  object-fit: contain;
}

.project-card-dvoref .project-media {
  background: #f8f3eb;
}

.project-card-dvoref .project-media > img {
  object-fit: contain;
}

.project-card-ticket .project-media,
.project-card-panorama .project-media {
  aspect-ratio: 16 / 7;
}

.project-card-panorama .project-media {
  background: #e9f4f8;
}

.project-card-panorama .project-media > img {
  object-fit: contain;
}

.project-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease), filter 0.5s ease;
}

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

.project-card:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 5px;
}

.media-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 55%, rgba(220, 255, 71, 0.28));
  mix-blend-mode: screen;
}

.play-mark {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(220, 255, 71, 0.25);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.play-mark span {
  margin-left: 3px;
  font-size: 15px;
}

.project-card:hover .play-mark {
  box-shadow: 0 0 0 12px rgba(220, 255, 71, 0.18);
  transform: scale(1.08);
}

.brand-media {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 17%;
  background:
    radial-gradient(circle at 75% 30%, rgba(255, 92, 53, 0.24), transparent 26%),
    #050505;
}

.brand-media > img {
  width: 82%;
  height: auto;
  object-fit: contain;
}

.wedding-media {
  background: var(--wedding-brown);
}

.wedding-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 26, 19, 0.44), transparent 35%, rgba(29, 16, 11, 0.84));
  content: "";
  pointer-events: none;
}

.wedding-media > img {
  object-position: 50% 50%;
  filter: saturate(0.82) sepia(0.12);
}

.wedding-card-mark {
  position: absolute;
  z-index: 1;
  top: 7%;
  left: 8%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(223, 189, 116, 0.78);
  border-radius: 50%;
  background: rgba(42, 26, 19, 0.88);
  box-shadow: 0 0 0 5px rgba(42, 26, 19, 0.28);
}

.wedding-card-mark img {
  width: 32px;
  height: auto;
  filter: hue-rotate(27deg) saturate(0.7) brightness(1.2);
}

.wedding-media .brand-caption,
.wedding-media .play-mark {
  z-index: 1;
}

.project-card-brand {
  border: 1px solid rgba(223, 189, 116, 0.66);
  background: var(--wedding-beige);
  color: var(--wedding-brown);
}

.project-card-brand .project-info {
  padding: 20px 22px 24px;
  border-top-color: rgba(223, 189, 116, 0.38);
  background: var(--wedding-beige);
}

.project-card-brand .project-number,
.project-card-brand .project-copy small {
  color: var(--wedding-bronze);
}

.project-card-brand .project-copy strong,
.wedding-media .brand-caption {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.wedding-media .brand-caption {
  right: auto;
  bottom: 9%;
  left: 8%;
  max-width: calc(100% - 116px);
  font-size: clamp(1.3rem, 2vw, 2.3rem);
  line-height: 0.95;
  text-align: left;
  text-shadow: 0 2px 18px rgba(21, 11, 8, 0.7);
}

.project-card-brand .project-arrow {
  border-color: rgba(113, 80, 46, 0.65);
  color: var(--wedding-bronze);
}

.project-card.project-card-brand:hover .project-arrow {
  background: var(--wedding-brown);
  color: var(--wedding-cream);
}

.project-card.project-card-brand:focus-visible {
  outline-color: var(--wedding-gold);
}

.wedding-media .play-mark {
  background: var(--wedding-gold);
  color: var(--wedding-brown);
  box-shadow: 0 0 0 0 rgba(223, 189, 116, 0.3);
}

.project-card-brand:hover .play-mark {
  box-shadow: 0 0 0 12px rgba(223, 189, 116, 0.22);
}

.concept-media {
  aspect-ratio: 16 / 8;
  background: #332439;
}

.concept-media > img {
  object-position: center 48%;
}

.concept-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 12, 25, 0.10), transparent 55%);
  content: "";
  pointer-events: none;
}

.concept-media .play-mark {
  z-index: 1;
}

.concert-media {
  aspect-ratio: 16 / 10;
  background: #20111a;
}

.concert-media > img {
  object-position: center 42%;
}

.concert-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 7, 18, 0.52), transparent 46%);
  content: "";
  pointer-events: none;
}

.concert-stamp {
  position: absolute;
  z-index: 1;
  top: 24px;
  left: 24px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 253, 248, 0.6);
  background: rgba(20, 9, 16, 0.62);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.concert-media .play-mark {
  z-index: 1;
}

.project-card:hover .brand-media > img {
  transform: scale(1.03);
}

.film-perfs {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    radial-gradient(circle, transparent 45%, #f3f0e7 46%, #f3f0e7 63%, transparent 64%);
  background-position: 0 -7px, 100% -7px;
  background-repeat: repeat-y;
  background-size: 18px 36px;
}

.brand-caption {
  position: absolute;
  right: 9%;
  bottom: 8%;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.7vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-align: right;
}

.design-stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
  transform: rotate(8deg);
}

.browser-media {
  padding: 42px 18px 18px;
  background: #dfe5ef;
}

.browser-media > img {
  border: 1px solid rgba(13, 13, 11, 0.1);
  background: #eef2f7;
  object-fit: cover;
  object-position: top left;
}

.project-card-tourism .browser-media,
.project-card-eightfigure .browser-media {
  aspect-ratio: 4 / 3;
}

.project-card-tourism .browser-media {
  background: #183b7a;
}

.project-card-eightfigure .browser-media {
  background: #112019;
}

.project-card-tourism .browser-media > img,
.project-card-eightfigure .browser-media > img {
  object-fit: contain;
  object-position: center;
}

.project-card-eightfigure .browser-media > img {
  background: #112019;
  object-position: center top;
}

.browser-bar {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 42px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #1d2230;
}

.browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff665d;
}

.browser-bar i:nth-child(2) { background: #ffcc45; }
.browser-bar i:nth-child(3) { background: #41d36d; }

.browser-bar b {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.code-chip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 9px;
  background: var(--ink);
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.project-info {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  align-items: start;
  padding-top: 17px;
  border-top: 1px solid rgba(13, 13, 11, 0.18);
}

.project-number {
  color: rgba(13, 13, 11, 0.48);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
}

.project-copy {
  display: grid;
  gap: 7px;
}

.project-copy small {
  color: rgba(13, 13, 11, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-copy strong {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.25vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
}

.project-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(13, 13, 11, 0.25);
  border-radius: 50%;
  transition: background 0.25s ease, color 0.25s ease, transform 0.35s var(--ease);
}

.project-card:hover .project-arrow {
  background: var(--ink);
  color: var(--acid);
  transform: rotate(45deg);
}

.expertise-section {
  position: relative;
  padding: clamp(110px, 12vw, 170px) 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(120, 104, 255, 0.22), transparent 26%),
    var(--ink);
}

.expertise-section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(to right, transparent, var(--acid), transparent);
}

.expertise-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 82px;
}

.expertise-intro .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -35px;
}

.expertise-intro > p:last-child {
  margin: 0 0 5px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 18px;
  line-height: 1.65;
}

.expertise-list {
  border-top: 1px solid var(--line-light);
}

.expertise-row {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(300px, 1.2fr) minmax(220px, 0.7fr) 70px;
  gap: 24px;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid var(--line-light);
  transition: padding 0.35s var(--ease), background 0.35s ease;
}

.expertise-row:hover {
  padding-inline: 20px;
  background: rgba(255, 253, 248, 0.035);
}

.expertise-index {
  padding-top: 7px;
  color: var(--acid);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
}

.expertise-row h3 {
  margin: 0 0 13px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.expertise-row h3 span {
  color: rgba(255, 253, 248, 0.44);
}

.expertise-row p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 253, 248, 0.68);
}

.expertise-row ul {
  display: grid;
  gap: 9px;
  margin: 6px 0 0;
  padding: 0;
  color: rgba(255, 253, 248, 0.8);
  font-size: 12px;
  list-style: none;
}

.expertise-row li::before {
  margin-right: 10px;
  color: var(--orange);
  content: "↳";
}

.expertise-symbol {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--acid);
  font-size: 22px;
}

.code-symbol {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
}

.film-preview-grid {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.film-preview-kicker {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none !important;
  padding-bottom: 8px;
  color: rgba(255, 253, 248, 0.58) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.film-preview-kicker span {
  color: var(--orange);
  font-size: 18px;
  line-height: 1;
}

.film-preview {
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: #1f1f1b;
  color: var(--white);
  text-align: left;
  transition: border-color 0.2s ease, transform 0.25s var(--ease);
}

.film-preview:hover,
.film-preview:focus-visible {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.film-preview:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.film-preview-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #2a2823;
}

.film-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.film-preview:hover .film-preview-media img,
.film-preview:focus-visible .film-preview-media img {
  transform: scale(1.05);
}

.film-preview-play {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.film-preview-meta {
  display: grid;
  gap: 3px;
  padding: 14px 17px 17px;
}

.film-preview-meta small {
  color: rgba(255, 253, 248, 0.57);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.film-preview-meta strong {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.film-preview-meta > span {
  margin-top: 5px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
}

.film-preview-wedding {
  border-color: rgba(223, 189, 116, 0.5);
  background: var(--wedding-beige);
  color: var(--wedding-brown);
}

.film-preview-wedding:hover,
.film-preview-wedding:focus-visible {
  border-color: var(--wedding-gold);
}

.film-preview-wedding:focus-visible {
  outline-color: var(--wedding-gold);
}

.film-preview-wedding .film-preview-media img {
  filter: saturate(0.85) sepia(0.1);
}

.film-preview-wedding .film-preview-play {
  background: var(--wedding-gold);
  color: var(--wedding-brown);
}

.film-preview-wedding .film-preview-meta small,
.film-preview-wedding .film-preview-meta > span {
  color: var(--wedding-bronze);
}

.film-preview-wedding .film-preview-meta strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.tool-belt {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 54px;
}

.tool-belt span {
  padding: 8px 12px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.66);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-section {
  overflow: hidden;
  padding: clamp(80px, 8vw, 120px) 0;
  background: var(--violet);
  color: var(--ink);
}

.system-shell {
  display: grid;
  gap: clamp(42px, 4.5vw, 66px);
}

.system-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: start;
  gap: clamp(48px, 7vw, 120px);
}

.system-copy .section-kicker {
  color: rgba(13, 13, 11, 0.6);
}

.system-copy h2 {
  font-size: clamp(3rem, 4.8vw, 5.6rem);
}

.system-intro-text > p {
  max-width: 610px;
  margin: 0;
  color: rgba(13, 13, 11, 0.72);
  font-size: 17px;
}

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

.system-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(13, 13, 11, 0.3);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.1);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-gallery-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(13, 13, 11, 0.4);
}

.system-gallery-heading span {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.system-gallery-heading p {
  margin: 0;
  color: rgba(13, 13, 11, 0.64);
  font-size: 13px;
}

.system-sites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: 30px;
}

.system-site {
  min-width: 0;
}

.system-site-window {
  padding: 8px;
  border: 1px solid rgba(13, 13, 11, 0.7);
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--acid);
}

.system-site:nth-child(2) .system-site-window {
  box-shadow: 12px 12px 0 var(--orange);
}

.system-site-info {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 27px;
}

.system-site-info span {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.system-site-info h3 {
  margin: 7px 0 2px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.system-site-info p {
  margin: 8px 0 0;
  color: rgba(13, 13, 11, 0.68);
  font-size: 13px;
}

.system-site-info > a {
  flex: 0 0 auto;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.system-site-info > a:hover,
.system-site-info > a:focus-visible {
  color: var(--white);
}

.system-principles {
  padding-top: 28px;
  border-top: 1px solid rgba(13, 13, 11, 0.3);
}

.system-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.system-capability {
  position: relative;
  min-height: 150px;
  padding: 16px;
  border: 1px solid rgba(13, 13, 11, 0.28);
  background: rgba(255, 253, 248, 0.18);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.system-capability::before {
  display: block;
  width: 28px;
  height: 4px;
  background: var(--orange);
  content: "";
}

.system-capability:nth-child(2)::before { background: var(--ink); }
.system-capability:nth-child(3)::before { background: var(--acid); }

.system-capability:hover {
  background: rgba(255, 253, 248, 0.34);
  transform: translateY(-4px);
}

.system-capability-index {
  display: block;
  margin-top: 14px;
  color: rgba(13, 13, 11, 0.6);
  font-family: ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.system-capability h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.system-capability p {
  color: rgba(13, 13, 11, 0.68);
  font-size: 11px;
  line-height: 1.45;
}

.system-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: rgba(13, 13, 11, 0.62);
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.system-flow i {
  color: var(--orange);
  font-size: 16px;
  font-style: normal;
}

.window-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  height: 42px;
  padding: 0 8px;
  color: var(--white);
}

.window-top > span {
  display: flex;
  gap: 6px;
}

.window-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.window-top i:nth-child(2) { background: #ffd645; }
.window-top i:nth-child(3) { background: #4ccf74; }

.window-top strong {
  justify-self: center;
  overflow: hidden;
  color: rgba(255, 253, 248, 0.7);
  font-family: ui-monospace, monospace;
  font-size: 9px;
  font-weight: 500;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-top b {
  justify-self: end;
  color: var(--acid);
  font-family: ui-monospace, monospace;
  font-size: 8px;
}

.window-canvas {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eef2f7;
}

.window-canvas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.5s var(--ease);
}

.window-canvas:hover img,
.window-canvas:focus-visible img {
  transform: scale(1.025);
}

.about-section {
  padding: clamp(110px, 13vw, 180px) 0;
  background: var(--acid);
  color: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(420px, 1fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.about-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  border: 1px solid var(--ink);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 253, 248, 0.82), transparent 35%),
    var(--orange);
  box-shadow: 18px 18px 0 var(--violet);
}

.about-image-wrap img {
  position: absolute;
  z-index: 2;
  right: -9%;
  bottom: -2%;
  width: 118%;
  max-width: none;
  height: auto;
}

.about-big-type {
  position: absolute;
  z-index: 1;
  top: 7%;
  left: -2%;
  color: rgba(13, 13, 11, 0.22);
  font-family: var(--display);
  font-size: clamp(5.4rem, 10vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.about-copy .section-kicker {
  color: rgba(13, 13, 11, 0.58);
}

.about-copy h2 {
  font-size: clamp(3.4rem, 5.2vw, 6rem);
}

.about-lead {
  margin: 36px 0 16px;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.about-copy > p:not(.section-kicker, .about-lead) {
  color: rgba(13, 13, 11, 0.7);
  font-size: 16px;
}

.about-copy > p a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

.about-copy > p a:hover,
.about-copy > p a:focus-visible {
  color: #c83c1d;
}

.about-hike {
  position: relative;
  margin: 30px 0 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: #364633;
  box-shadow: 10px 10px 0 var(--orange);
}

.about-hike img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.about-hike figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 34px 18px 15px;
  background: linear-gradient(transparent, rgba(8, 14, 9, 0.84));
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-hike figcaption strong {
  font-size: 11px;
  text-align: right;
}

.metrics {
  overflow: hidden;
  border-block: 1px solid var(--line-light);
  background: var(--ink-soft);
}

.metrics-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: var(--shell);
  margin-inline: auto;
}

.metrics-track > div {
  display: grid;
  gap: 5px;
  padding: 46px 30px;
  border-left: 1px solid var(--line-light);
}

.metrics-track > div:last-child {
  border-right: 1px solid var(--line-light);
}

.metrics strong {
  color: var(--acid);
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.5vw, 5.2rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.metrics span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 14vw, 190px) 0 80px;
  background:
    radial-gradient(circle at 82% 28%, rgba(220, 255, 71, 0.88), transparent 18%),
    radial-gradient(circle at 16% 85%, rgba(120, 104, 255, 0.65), transparent 24%),
    var(--orange);
}

.contact-noise {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.contact-inner {
  position: relative;
  z-index: 2;
}

.contact-inner h2 {
  max-width: 1120px;
  font-size: clamp(3.5rem, 7.7vw, 9.4rem);
  line-height: 0.82;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 72px;
  padding: 26px 0;
  border-block: 1px solid rgba(255, 253, 248, 0.48);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.05em;
  transition: padding 0.35s var(--ease), background 0.35s ease, color 0.35s ease;
}

.contact-email:hover,
.contact-email:focus-visible {
  padding-inline: 24px;
  background: var(--acid);
  color: var(--ink);
}

.contact-email b {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 400;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 56px;
}

.contact-meta div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.contact-meta small {
  color: rgba(255, 253, 248, 0.6);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-meta a,
.contact-meta span {
  font-size: 14px;
  font-weight: 600;
}

.contact-meta a {
  overflow-wrap: anywhere;
}

.contact-meta a:hover,
.contact-meta a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 34px max(32px, calc((100vw - 1380px) / 2));
  background: var(--ink);
  color: rgba(255, 253, 248, 0.58);
  font-size: 11px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand .brand-mark {
  width: 33px;
  height: 30px;
}

.footer-brand .brand-name {
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  justify-self: end;
}

.project-modal {
  width: min(1180px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  padding: 0;
  border: 1px solid rgba(255, 253, 248, 0.2);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.project-modal::backdrop {
  background: rgba(5, 5, 4, 0.84);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.project-modal[open] {
  animation: modal-in 0.35s var(--ease) both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  min-height: 650px;
}

.modal-visuals {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  z-index: 8;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: rgba(13, 13, 11, 0.8);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
}

.modal-media {
  position: relative;
  display: grid;
  flex: 1;
  min-height: 650px;
  place-items: center;
  overflow: hidden;
  background: #20201d;
}

.modal-media img {
  width: 100%;
  height: 100%;
  max-height: 82svh;
  object-fit: contain;
}

.modal-media.is-video {
  min-height: clamp(330px, 44vw, 520px);
  background: radial-gradient(circle at 50% 45%, #24201d, #090909 72%);
}

.modal-media.is-video > img {
  width: min(calc(100% - 36px), 760px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.82;
}

.modal-media iframe {
  width: min(calc(100% - 36px), 760px);
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  background: #000;
}

.modal-video-play {
  position: absolute;
  z-index: 5;
  inset: 50% auto auto 50%;
  display: flex;
  min-width: 132px;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-direction: column;
  padding: 14px 18px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 253, 248, 0.76);
  border-radius: 12px;
  background: rgba(13, 13, 11, 0.82);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.modal-video-play span:first-child {
  color: var(--acid);
  font-size: 23px;
}

.modal-video-play:hover,
.modal-video-play:focus-visible {
  border-color: var(--acid);
  background: rgba(13, 13, 11, 0.95);
}

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

.modal-film-picker {
  display: flex;
  gap: 9px;
  padding: 12px;
  overflow-x: auto;
  border-top: 1px solid var(--line-light);
  background: #141411;
  scroll-snap-type: x proximity;
}

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

.film-picker-button {
  display: flex;
  width: 142px;
  flex: 0 0 142px;
  flex-direction: column;
  padding: 5px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  background: #1e1e1a;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.film-picker-button img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.film-picker-button > span {
  display: grid;
  gap: 2px;
  padding: 7px 3px 4px;
}

.film-picker-button strong {
  overflow: hidden;
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.film-picker-button small {
  color: rgba(255, 253, 248, 0.58);
  font-size: 9px;
}

.film-picker-button:hover,
.film-picker-button:focus-visible,
.film-picker-button.is-active {
  border-color: var(--acid);
}

.film-picker-button.is-active small {
  color: var(--acid);
}

.modal-video-open {
  align-self: flex-start;
  margin-top: 20px;
  color: var(--acid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.modal-video-open:hover,
.modal-video-open:focus-visible {
  text-decoration: underline;
}

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

.modal-video-label {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  max-width: calc(100% - 84px);
  padding: 9px 12px;
  background: rgba(13, 13, 11, 0.86);
  font-size: 11px;
  font-weight: 700;
}

.modal-nav {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: rgba(13, 13, 11, 0.82);
  color: var(--white);
}

.modal-prev { right: 76px; }
.modal-next { right: 24px; }

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

.modal-count {
  position: absolute;
  bottom: 26px;
  left: 24px;
  font-family: ui-monospace, monospace;
  font-size: 10px;
}

.modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px 48px 48px;
}

.modal-copy > p:first-child {
  margin: 0 0 20px;
  color: var(--acid);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modal-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 4.7rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.modal-copy > p:nth-of-type(2) {
  margin: 28px 0 0;
  color: rgba(255, 253, 248, 0.66);
  font-size: 15px;
  line-height: 1.7;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 30px;
}

.modal-tags span {
  padding: 7px 9px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.7);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-links {
  margin-top: 34px;
  border-top: 1px solid var(--line-light);
}

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

.modal-links-heading {
  margin: 18px 0 8px;
  color: var(--acid);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-film-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
  transition: color 0.2s ease;
}

.modal-film-link strong {
  font-size: 13px;
  font-weight: 600;
}

.modal-film-link span {
  color: rgba(255, 253, 248, 0.55);
  font-size: 10px;
}

.modal-film-link b {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: 18px;
  font-weight: 400;
}

.modal-film-link:hover,
.modal-film-link:focus-visible {
  color: var(--acid);
}

.project-modal.has-links .modal-copy {
  padding-block: 46px 28px;
}

.project-modal.has-links .modal-copy h2 {
  font-size: clamp(2.35rem, 3vw, 3rem);
}

.project-modal.has-links .modal-copy > p:nth-of-type(2) {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.55;
}

.project-modal.has-links .modal-tags,
.project-modal.has-links .modal-links {
  margin-top: 20px;
}

.project-modal.has-links .modal-film-link {
  padding-block: 7px;
}

/* Blaze Kultura alone gets a beige, brown, and gold wedding palette. */
.project-modal.is-blaze-kultura {
  --acid: var(--wedding-gold);
  --line-light: rgba(223, 189, 116, 0.27);
  border-color: rgba(223, 189, 116, 0.65);
  background: var(--wedding-beige);
  color: var(--wedding-brown);
}

.project-modal.is-blaze-kultura .modal-media.is-video {
  background: radial-gradient(circle at 50% 45%, #483022, #1b110d 75%);
}

.project-modal.is-blaze-kultura .modal-media.is-video > img {
  opacity: 0.88;
  filter: saturate(0.86) sepia(0.1);
}

.project-modal.is-blaze-kultura .modal-copy {
  background: radial-gradient(circle at 100% 0, rgba(223, 189, 116, 0.26), transparent 46%), var(--wedding-beige);
}

.project-modal.is-blaze-kultura .modal-copy h2 {
  color: var(--wedding-brown);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.project-modal.is-blaze-kultura .modal-copy > p:nth-of-type(2),
.project-modal.is-blaze-kultura .modal-tags span {
  color: rgba(42, 26, 19, 0.76);
}

.project-modal.is-blaze-kultura .modal-copy > p:first-child,
.project-modal.is-blaze-kultura .modal-video-open,
.project-modal.is-blaze-kultura .modal-links-heading,
.project-modal.is-blaze-kultura .modal-film-link:hover,
.project-modal.is-blaze-kultura .modal-film-link:focus-visible {
  color: var(--wedding-bronze);
}

.project-modal.is-blaze-kultura .modal-count {
  color: var(--wedding-cream);
}

.project-modal.is-blaze-kultura .modal-film-picker {
  background: #21150f;
}

.project-modal.is-blaze-kultura .film-picker-button {
  border-color: rgba(223, 189, 116, 0.26);
  background: #342116;
  color: var(--wedding-cream);
}

.project-modal.is-blaze-kultura .film-picker-button.is-active {
  background: #49301f;
}

.project-modal.is-blaze-kultura .film-picker-button small {
  color: rgba(248, 236, 213, 0.65);
}

.project-modal.is-blaze-kultura .modal-film-link span {
  color: rgba(42, 26, 19, 0.63);
}

.project-modal.is-blaze-kultura .film-picker-button.is-active small {
  color: var(--wedding-gold);
}

.project-modal.is-blaze-kultura .modal-video-play,
.project-modal.is-blaze-kultura .modal-video-label,
.project-modal.is-blaze-kultura .modal-nav,
.project-modal.is-blaze-kultura .modal-close {
  border-color: rgba(223, 189, 116, 0.62);
  background: rgba(42, 26, 19, 0.9);
  color: var(--wedding-cream);
}

.project-modal.is-blaze-kultura .modal-video-play:hover,
.project-modal.is-blaze-kultura .modal-video-play:focus-visible,
.project-modal.is-blaze-kultura .modal-nav:hover,
.project-modal.is-blaze-kultura .modal-nav:focus-visible {
  background: #4b3020;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  :root {
    --shell: min(100% - 44px, 1120px);
  }

  .site-header {
    padding-inline: 22px;
  }

  .site-footer {
    padding-inline: 22px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 44px;
  }

  .portrait-frame {
    min-height: 570px;
  }

  .project-card-wide { grid-column: span 7; }
  .project-card-tall { grid-column: span 5; }

  .expertise-row {
    grid-template-columns: 44px minmax(280px, 1.1fr) minmax(190px, 0.68fr) 58px;
  }

  .system-copy {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 48px;
  }
}

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

  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header.is-scrolled {
    /* Backdrop filters confine fixed descendants to the header on mobile. */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    min-height: 100dvh;
    overflow-y: auto;
    padding: 100px 24px 40px;
    background: var(--ink);
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.3s ease, transform 0.4s var(--ease), visibility 0.3s;
  }

  .site-nav > a:not(.nav-cta) {
    font-family: var(--display);
    font-size: clamp(2.3rem, 8vw, 4.6rem);
    font-weight: 650;
    letter-spacing: -0.055em;
  }

  .site-nav .nav-cta {
    margin-top: 20px;
  }

  .nav-open .site-nav {
    z-index: 90;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-open .menu-toggle {
    z-index: 110;
  }

  .nav-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 100px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 13.6vw, 7.5rem);
  }

  .hero-visual {
    width: min(680px, 90%);
    margin: 0 auto 70px;
  }

  .portrait-frame {
    min-height: min(760px, 90vw);
  }

  .section-head,
  .expertise-intro {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .expertise-intro .section-kicker {
    grid-column: auto;
    margin-bottom: -8px;
  }

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

  .project-card-wide,
  .project-card-tall,
  .project-card-standard,
  .project-card-half,
  .project-card-ticket,
  .project-card-panorama {
    grid-column: span 1;
  }

  .project-card-wide,
  .project-card-ticket,
  .project-card-panorama {
    grid-column: span 2;
  }

  .project-card-concert,
  .project-card-liturgical,
  .project-card-sangyaw-opening {
    grid-column: span 1;
  }

  .expertise-row {
    grid-template-columns: 44px 1fr 52px;
  }

  .expertise-row ul {
    grid-column: 2;
    grid-row: 2;
  }

  .expertise-symbol {
    grid-column: 3;
    grid-row: 1;
  }

  .film-preview-grid {
    grid-column: 2 / -1;
  }

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

  .system-copy {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .about-portrait {
    width: min(650px, 92%);
    margin-inline: auto;
  }

  .about-image-wrap {
    min-height: min(760px, 100vw);
  }

  .metrics-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-track > div:nth-child(3) {
    border-top: 1px solid var(--line-light);
  }

  .metrics-track > div:nth-child(4) {
    border-top: 1px solid var(--line-light);
    border-right: 1px solid var(--line-light);
  }

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

  .contact-meta div:first-child {
    grid-column: 1 / -1;
  }

  .modal-shell {
    grid-template-columns: 1fr;
  }

  .modal-media {
    min-height: min(58svh, 620px);
  }

  .modal-copy {
    padding: 46px 32px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 72px;
  }

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

  .brand-name {
    font-size: 15px;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 110px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 15vw, 5.6rem);
    line-height: 0.78;
  }

  .hero-intro {
    margin-top: 30px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 52px;
  }

  .hero-meta span {
    font-size: 8px;
    line-height: 1.35;
  }

  .hero-visual {
    width: 92%;
  }

  .portrait-frame {
    min-height: 116vw;
    box-shadow: 14px 17px 0 var(--acid);
  }

  .note-top {
    right: -12px;
  }

  .note-bottom {
    left: -12px;
  }

  .hero-orbit-one {
    width: 300px;
    height: 300px;
  }

  .work-section,
  .expertise-section,
  .system-section,
  .about-section {
    padding-block: 100px;
  }

  .section-head {
    margin-bottom: 48px;
  }

  .section-head h2,
  .expertise-intro h2,
  .system-copy h2,
  .about-copy h2,
  .contact-inner h2 {
    font-size: clamp(2.8rem, 13vw, 4.9rem);
  }

  .section-head-side > p,
  .expertise-intro > p:last-child,
  .system-intro-text > p {
    font-size: 15px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .project-card-wide,
  .project-card-tall,
  .project-card-standard,
  .project-card-half,
  .project-card-ticket,
  .project-card-panorama,
  .project-card-dev {
    grid-column: 1;
  }

  .project-card-concert,
  .project-card-liturgical,
  .project-card-sangyaw-opening {
    grid-column: 1;
  }

  .project-card-wide .project-media,
  .project-card-ticket .project-media,
  .project-card-panorama .project-media,
  .project-card-sangyaw-opening .project-media,
  .project-card-liturgical .project-media,
  .project-card-3d .project-media,
  .project-card-miss-billboard .project-media,
  .project-card-jewelry .project-media {
    aspect-ratio: 4 / 3;
  }

  .project-card-panorama .project-media {
    aspect-ratio: 16 / 7;
  }

  .work-category-intro {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .project-card-tall .project-media,
  .project-card-standard .project-media {
    aspect-ratio: 4 / 4.6;
  }

  .concept-media {
    min-height: 400px;
    aspect-ratio: auto;
  }

  .concept-media > img {
    object-position: 60% center;
  }

  .concert-media {
    aspect-ratio: 4 / 3;
  }

  .project-card-tourism .browser-media,
  .project-card-eightfigure .browser-media {
    aspect-ratio: 4 / 3;
  }

  .project-card-ticket .project-media > img,
  .project-card-panorama .project-media > img {
    object-fit: cover;
  }

  .project-copy strong {
    font-size: 1.65rem;
  }

  .expertise-intro {
    margin-bottom: 52px;
  }

  .expertise-row {
    grid-template-columns: 30px 1fr;
    gap: 16px;
    padding-block: 30px;
  }

  .expertise-row h3 {
    font-size: 2.25rem;
  }

  .expertise-row ul {
    grid-column: 2;
  }

  .expertise-symbol {
    display: none;
  }

  .film-preview-grid {
    grid-template-columns: 1fr;
  }

  .system-sites {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .system-gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .system-capabilities {
    grid-template-columns: 1fr;
  }

  .system-capability {
    min-height: 0;
  }

  .system-flow {
    gap: 6px;
    font-size: 9px;
  }

  .system-site-window {
    padding: 6px;
    box-shadow: 8px 8px 0 var(--acid);
  }

  .system-site:nth-child(2) .system-site-window {
    box-shadow: 8px 8px 0 var(--orange);
  }

  .window-top {
    grid-template-columns: auto 1fr auto;
  }

  .system-site-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .about-portrait {
    width: calc(100% - 12px);
  }

  .about-image-wrap {
    min-height: 122vw;
    box-shadow: 12px 12px 0 var(--violet);
  }

  .metrics-track {
    width: 100%;
  }

  .metrics-track > div {
    padding: 32px 16px;
  }

  .metrics strong {
    font-size: 2.6rem;
  }

  .metrics span {
    font-size: 8px;
  }

  .contact-section {
    padding-block: 100px 56px;
  }

  .contact-inner h2 {
    font-size: clamp(3.2rem, 15vw, 5.7rem);
  }

  .contact-email {
    margin-top: 52px;
  }

  .contact-email b {
    width: 54px;
    height: 54px;
    font-size: 21px;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 28px 16px;
  }

  .site-footer p:last-child {
    justify-self: start;
  }

  .project-modal {
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
  }

  .modal-media {
    min-height: 50svh;
  }

  .project-modal.has-videos .modal-media {
    min-height: clamp(245px, 36svh, 330px);
  }

  .film-picker-button {
    width: 128px;
    flex-basis: 128px;
  }

  .modal-copy {
    padding: 38px 22px 32px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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