﻿@font-face {
  font-family: "GW Oswald";
  src: url("font/Oswald/Oswald-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #303030;
  --muted: #6f7476;
  --paper: #f5f5f3;
  --white: #ffffff;
  --line: #d7d7d4;
  --shadow-soft: 0 18px 30px rgba(0, 0, 0, 0.22);
  --shadow-card: 10px 12px 16px rgba(0, 0, 0, 0.26);
  --display: "GW Oswald", "Arial Narrow", Arial, sans-serif;
  --thai: "Prompt", "Tahoma", "Arial", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f1f2f1;
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  font-family: var(--thai);
  color: var(--ink);
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

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

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

.page {
  display: none;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.page.is-active {
  display: block;
}

.home-page {
  min-height: auto;
  background: #eef1f0;
  overflow: visible;
}

.home-bg {
  position: absolute;
  inset: 0 0 auto;
  height: max(680px, 100svh);
  min-height: 680px;
  background:
    linear-gradient(rgba(220, 226, 228, 0.08), rgba(210, 216, 218, 0.2)),
    url("Homepage/element/BG.webp") center top / cover no-repeat;
}

.home-header,
.page-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: start;
  gap: 28px;
  width: 100%;
  padding: 54px 72px 0;
}

.home-header {
  position: absolute;
  inset: 0 0 auto;
}

.page-header {
  min-height: 170px;
  padding-top: 48px;
}

.white-header {
  background: rgba(255, 255, 255, 0.92);
}

.dark-header {
  background: #1f1f1f;
  color: var(--white);
}

.floating-header {
  position: absolute;
  inset: 0 0 auto;
}

.logo-button {
  justify-self: center;
  width: 118px;
  transition: transform 220ms ease, opacity 600ms ease;
}

.logo-button:hover,
.logo-button:focus-visible {
  transform: scale(1.06);
}

.logo-button-home {
  justify-self: start;
  margin-left: 12px;
  opacity: 0;
  animation: logoFade 1400ms 180ms ease forwards;
}

.logo-button-home img {
  width: 126px;
}

.nav-pills {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 42px;
  padding: 0 22px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  transition: transform 170ms ease, background 170ms ease, color 170ms ease, box-shadow 170ms ease;
}

.nav-pill:hover,
.nav-pill:focus-visible,
.nav-pill.is-active {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.home-stage {
  position: relative;
  z-index: 5;
  height: max(680px, 100svh);
  min-height: 680px;
  padding-top: 250px;
}

.home-headline {
  position: relative;
  width: min(980px, 76vw);
  height: clamp(132px, 12vw, 190px);
  margin: 0 auto;
  text-align: center;
  color: #303032;
  font-family: var(--display);
  line-height: 0.88;
  opacity: 0;
  transform: translateY(12px);
  animation: headlineIntro 900ms 650ms ease forwards;
}

.headline-line {
  position: absolute;
  left: 50%;
  top: 0;
  display: block;
  width: max-content;
  max-width: 100%;
  font-size: clamp(4.4rem, 8.8vw, 8.8rem);
  font-weight: 700;
  white-space: nowrap;
  transform-origin: center center;
  will-change: transform, opacity, filter;
  transition:
    transform 1450ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 900ms ease,
    filter 900ms ease;
}

.headline-top {
  opacity: 0.96;
  transform: translate3d(-50%, -8px, 0) scale(0.44);
}

.headline-bottom {
  opacity: 1;
  transform: translate3d(-50%, clamp(46px, 4.8vw, 78px), 0) scale(1);
}

.home-headline.is-flipped .headline-top {
  opacity: 1;
  transform: translate3d(-50%, 4px, 0) scale(0.94);
}

.home-headline.is-flipped .headline-bottom {
  opacity: 0.96;
  transform: translate3d(-50%, clamp(76px, 6.1vw, 104px), 0) scale(0.43);
}

.promo-zone {
  position: absolute;
  left: 50%;
  top: 51%;
  width: min(900px, 60vw);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 16px;
}

.promo-wheel {
  position: relative;
  width: 100%;
  height: clamp(165px, 20vw, 285px);
  perspective: 900px;
}

.promo-card {
  --slot-x: 0;
  --slot-scale: 1;
  --slot-z: 3;
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: var(--slot-z);
  width: clamp(220px, 25vw, 420px);
  aspect-ratio: 1.5 / 1;
  overflow: visible;
  border-radius: 0;
  background: #ddd;
  transform: translate3d(calc(-50% + var(--slot-x)), 0, 0) scale(var(--slot-scale));
  transform-origin: center bottom;
  transition:
    transform 1120ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 780ms ease,
    z-index 0ms linear 420ms;
  filter: saturate(0.94) contrast(1);
  backface-visibility: hidden;
  will-change: transform, filter;
  -webkit-box-reflect: below 0 linear-gradient(transparent 34%, rgba(255, 255, 255, 0.18));
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 16px 18px rgba(0, 0, 0, 0.22);
  transition: box-shadow 900ms ease;
}

.promo-card[data-slot="-1"] {
  --slot-x: clamp(-270px, -22vw, -160px);
  --slot-scale: 0.88;
  --slot-z: 2;
}

.promo-card[data-slot="0"] {
  --slot-x: 0px;
  --slot-scale: 1.08;
  --slot-z: 5;
}

.promo-card[data-slot="1"] {
  --slot-x: clamp(160px, 22vw, 270px);
  --slot-scale: 0.88;
  --slot-z: 2;
}

.promo-card:hover,
.promo-card:focus-visible {
  filter: saturate(1.08) contrast(1.04);
}

.promo-card[data-slot="0"] img {
  box-shadow: 0 20px 28px rgba(0, 0, 0, 0.24);
}

.promo-caption {
  width: min(720px, 78vw);
  min-height: 52px;
  margin: 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border-radius: 999px;
  background: #2f3030;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.1vw, 2.25rem);
  font-weight: 300;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.promo-caption strong {
  font-weight: 600;
  padding: 0 0.16em;
}

.orbit-link {
  position: absolute;
  z-index: 8;
  display: grid;
  gap: 6px;
  align-items: center;
  justify-items: center;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.1vw, 2.4rem);
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  transition: transform 220ms ease, color 220ms ease;
}

.orbit-link::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width 220ms ease;
}

.orbit-link:hover,
.orbit-link:focus-visible {
  color: var(--ink);
  transform: scale(1.08);
}

.orbit-link:hover::after,
.orbit-link:focus-visible::after {
  width: 74%;
}

.orbit-icon {
  position: relative;
  width: clamp(128px, 13vw, 220px);
  aspect-ratio: 1;
}

.orbit-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 180ms ease, transform 220ms ease;
}

.orbit-icon-hover {
  opacity: 0;
}

.orbit-link:hover .orbit-icon-normal,
.orbit-link:focus-visible .orbit-icon-normal {
  opacity: 0;
}

.orbit-link:hover .orbit-icon-hover,
.orbit-link:focus-visible .orbit-icon-hover {
  opacity: 1;
}

.orbit-contact {
  left: 58px;
  top: 37%;
  grid-template-columns: auto auto;
}

.orbit-about {
  left: 132px;
  bottom: 8%;
}

.orbit-showreel {
  right: 94px;
  top: 36%;
}

.orbit-showcase {
  right: 112px;
  bottom: 6%;
}

.home-warning {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
  min-height: 220px;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.home-page.has-scrolled .home-warning,
.home-warning.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-warning img {
  width: clamp(72px, 7vw, 112px);
}

.home-warning p {
  margin: 0;
  color: #57595a;
  font-family: var(--display);
  font-size: clamp(2rem, 2.8vw, 3.15rem);
  font-weight: 300;
  line-height: 1.02;
  text-align: center;
  border-bottom: 1.5px solid #57595a;
  padding-bottom: 12px;
}

.inner-page {
  background: #f7f7f5;
}

.section-wrap {
  position: relative;
  z-index: 3;
  width: min(1560px, 92vw);
  margin: 0 auto;
}

.work-page {
  height: 100vh;
  min-height: 680px;
  overflow: auto;
  --work-header-height: clamp(112px, 15vh, 150px);
}

.work-page .page-header {
  min-height: var(--work-header-height);
  padding-top: clamp(28px, 4vh, 44px);
}

.work-page .logo-button {
  width: clamp(86px, 7vw, 98px);
}

.work-page .section-wrap {
  height: calc(100vh - var(--work-header-height));
  min-height: calc(680px - var(--work-header-height));
  padding-top: clamp(8px, 1.8vh, 24px);
}

.page-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 7.3vw, 7.7rem);
  font-weight: 700;
  line-height: 0.95;
  text-align: center;
  color: #343434;
}

.mist-bg {
  position: absolute;
  inset: 0;
  background: url("SHOWCASE/SHOWCASE-07.png") center / cover no-repeat;
  filter: none;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: clamp(28px, 3.5vw, 58px);
  align-items: end;
  margin-top: clamp(36px, 5.5vh, 72px);
  padding: 0 clamp(16px, 4vw, 86px);
}

.showcase-card {
  position: relative;
  min-height: clamp(340px, 47vh, 560px);
  background: #fff;
  border: 3px solid #fff;
  box-shadow: var(--shadow-card);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.showcase-card.black-card {
  background: #020202;
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--showcase-image) center / cover no-repeat;
  filter: grayscale(0.08) contrast(1.02);
  transition: transform 260ms ease, filter 260ms ease;
  clip-path: inset(0);
}

.showcase-card:nth-child(1) {
  --showcase-image: url("assets/portfolio/work-074.jpg");
}

.showcase-card:nth-child(2) {
  --showcase-image: url("assets/portfolio/work-075.jpg");
}

.showcase-card:nth-child(3) {
  --showcase-image: url("assets/portfolio/work-011.jpg");
}

.showcase-card:nth-child(4) {
  --showcase-image: url("assets/portfolio/work-076.jpg");
}

.showcase-card span {
  position: absolute;
  z-index: 1;
  top: 46px;
  left: -28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 28px;
  background: #fff;
  color: #353535;
  font-family: var(--display);
  font-size: clamp(1.9rem, 2.6vw, 3.15rem);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.showcase-card.white-card span {
  background: #050505;
  color: #fff;
}

.showcase-card:hover,
.showcase-card:focus-visible {
  transform: scale(1.045) translateY(-8px);
  box-shadow: 18px 22px 28px rgba(0, 0, 0, 0.24);
}

.showcase-card:hover::before,
.showcase-card:focus-visible::before {
  transform: scale(1.08);
  filter: grayscale(0) contrast(1.08);
}

.showcase-card:hover span,
.showcase-card:focus-visible span {
  background: #111;
  color: #fff;
  transform: translateX(10px);
}

.showcase-card.white-card:hover span,
.showcase-card.white-card:focus-visible span {
  background: #fff;
  color: #111;
}

.desk-bg {
  position: absolute;
  inset: 170px 0 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.82)),
    url("Homepage/element/BG.webp") center / cover no-repeat;
  filter: brightness(1.16) saturate(0.74);
}

.desk-bg-image,
.desk-bg-video,
.desk-bg-category {
  opacity: 0.72;
}

.desk-bg-video {
  background: url("SHOWCASE/SHOWCASE-07.png") center / cover no-repeat;
  filter: none;
  opacity: 1;
}

.video-page {
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  --video-header-height: clamp(104px, 14vh, 142px);
}

.video-page .page-header {
  position: absolute;
  inset: 0 0 auto;
  min-height: var(--video-header-height);
  padding-top: clamp(28px, 4vh, 48px);
}

.video-page .logo-button {
  width: clamp(86px, 7vw, 98px);
}

.video-page .desk-bg {
  inset: 0;
}

.image-layout,
.video-layout,
.category-layout {
  position: relative;
  z-index: 3;
  width: min(1560px, 92vw);
  margin: 0 auto;
  padding: clamp(38px, 5vh, 74px) 0 80px;
}

.image-title,
.video-title {
  position: absolute;
  left: 0;
  top: 170px;
  font-size: clamp(5rem, 8.5vw, 9rem);
}

.video-layout {
  width: min(1760px, 96vw);
  height: 100vh;
  min-height: 680px;
  padding: var(--video-header-height) 0 clamp(70px, 9vh, 120px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: end;
}

.video-title {
  left: clamp(70px, 8vw, 140px);
  top: clamp(230px, 34vh, 360px);
  z-index: 0;
}

.polaroid-grid {
  width: min(1080px, 78vw);
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: clamp(42px, 5vw, 84px) clamp(58px, 6vw, 100px);
}

.polaroid-card {
  position: relative;
  min-height: clamp(260px, 30vw, 360px);
  padding: 18px 18px 72px;
  background: #fff;
  box-shadow: 10px 12px 14px rgba(0, 0, 0, 0.2);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.polaroid-card:nth-child(2n) {
  --tilt: 1.2deg;
}

.polaroid-card:nth-child(3n) {
  --tilt: -1deg;
}

.polaroid-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  background: #ddd;
  transition: transform 260ms ease, filter 260ms ease;
}

.polaroid-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.7vw, 2rem);
  font-weight: 500;
  text-align: center;
}

.polaroid-card:hover,
.polaroid-card:focus-visible {
  transform: rotate(0deg) scale(1.055) translateY(-8px);
  box-shadow: 16px 18px 22px rgba(0, 0, 0, 0.24);
}

.polaroid-card:hover img,
.polaroid-card:focus-visible img {
  transform: scale(1.13) translateY(-14px);
  filter: saturate(1.1);
}

.device-zone {
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(420px, 631px);
  gap: clamp(58px, 6vw, 112px);
  align-items: center;
  align-self: start;
  justify-content: end;
  min-height: 0;
  margin-top: clamp(34px, 6vh, 86px);
  padding-right: clamp(18px, 4vw, 78px);
  padding-bottom: clamp(6px, 1vh, 18px);
  transform: none;
}

.phone-frame,
.monitor-frame {
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  transition: transform 230ms ease, box-shadow 230ms ease;
}

.phone-frame {
  width: clamp(178px, 14vw, 340px);
  z-index: 2;
}

.monitor-frame {
  width: clamp(420px, 32vw, 820px);
  z-index: 2;
}

.phone-frame img,
.monitor-frame img {
  width: 100%;
  max-width: none;
}

.phone-frame:hover,
.phone-frame:focus-visible,
.monitor-frame:hover,
.monitor-frame:focus-visible {
  transform: scale(1.035) translateY(-5px);
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: -2px;
  width: 88px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: #070707;
}

.screen-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 2rem;
  color: #777;
}

.monitor-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 1.2vh, 14px) clamp(16px, 2vw, 28px);
  margin: 0 auto;
  width: min(1760px, 96vw);
}

.video-tag {
  min-height: clamp(34px, 4.5vh, 48px);
  padding: 0 clamp(13px, 1.2vw, 18px);
  border: 1.5px solid #333;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #333;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.55vw, 2.1rem);
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.video-tag:hover,
.video-tag:focus-visible,
.video-tag.is-active {
  background: #303030;
  color: #fff;
  transform: translateY(-2px);
}

.category-layout .page-title {
  margin-bottom: 46px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: clamp(28px, 4vw, 58px);
}

.project-card {
  display: grid;
  gap: 14px;
  text-align: left;
  transition: transform 220ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-8px) scale(1.018);
}

.project-preview {
  position: relative;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  background: #151515;
  box-shadow: var(--shadow-soft);
}

.project-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 520ms ease, transform 520ms ease;
}

.project-preview img + img {
  opacity: 0;
}

.project-card:hover .project-preview img:first-child,
.project-card:focus-visible .project-preview img:first-child {
  opacity: 0;
  transform: scale(1.05);
}

.project-card:hover .project-preview img + img,
.project-card:focus-visible .project-preview img + img {
  opacity: 1;
  transform: scale(1.05);
}

.project-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.1vw, 2.6rem);
  line-height: 1;
}

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



.gallery-layout {
  width: min(1660px, 94vw);
  margin: 0 auto;
  padding: 36px 0 80px;
}

.gallery-topline {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.gallery-topline h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 6rem);
  line-height: 1;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 1.2vh, 14px) clamp(16px, 2vw, 28px);
  margin: 0 auto;
  width: min(1560px, 92vw);
}

.gallery-tab {
  padding: 8px 16px;
  border: 1px solid rgba(40, 40, 40, 0.26);
  border-radius: 999px;
  color: #2b2b2b;
  font-family: var(--display);
  font-size: 1.35rem;
  transition: background 180ms ease, color 180ms ease;
}

.gallery-tab:hover,
.gallery-tab:focus-visible,
.gallery-tab.is-active {
  background: #e8e8e8;
  color: #111;
  border-color: #d8d8d8;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.gallery-item {
  flex: 0 0 calc(25% - 14px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #222;
  transition: transform 220ms ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: scale(1.025);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.gallery-item.video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 9;
}

.gallery-item.video-card img {
  flex: 1;
  min-height: 0;
}

.video-card-title {
  display: block;
  padding: 8px 10px 2px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #1a1a1a;
}

.video-card-desc {
  display: block;
  padding: 0 10px 8px;
  font-size: 0.72rem;
  color: #999;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #1a1a1a;
}

.about-page,
.contact-page {
  overflow: visible;
  background: #fff;
}

.about-hero,
.contact-hero {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding-top: 110px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.32)),
    url("ABOUT/ABOUT-02.png") center / cover no-repeat;
}

.contact-hero {
  background-position: center 12%;
}

.about-content,
.contact-layout {
  width: min(1320px, 90vw);
  margin: 0 auto;
}

.about-content {
  display: grid;
  gap: 86px;
  padding: 92px 0 140px;
}

.about-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

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

.about-row img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.about-content h2,
.about-content h3 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
}

.about-content h2 {
  padding-bottom: 16px;
  border-bottom: 1px solid #bbb;
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.about-content h3 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  text-align: center;
}

.about-content p,
.about-content blockquote {
  font-size: clamp(1rem, 1.28vw, 1.28rem);
  line-height: 1.7;
}

.about-content blockquote {
  margin: 28px 0 0;
  text-align: center;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(42px, 7vw, 110px);
}

.service-columns p {
  text-align: center;
}

.about-design-banner {
  width: min(1160px, 100%);
  justify-self: center;
  display: block;
}

.about-service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(56px, 8vw, 130px);
  text-align: center;
}

.about-service-list h3 {
  margin-top: 0;
  margin-bottom: 28px;
  font-size: clamp(2.1rem, 3.2vw, 3.3rem);
}

.about-service-list p {
  margin: 0 0 22px;
}

.about-service-list strong {
  font-family: var(--display);
  font-size: 1.3em;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 0;
  padding: 74px 0 96px;
}

.contact-panel {
  min-height: 250px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  padding: 0 42px;
  text-align: center;
  border-right: 1px solid #aaa;
  font-size: clamp(1.15rem, 1.6vw, 1.7rem);
  line-height: 1.45;
}

.contact-panel:nth-child(3) {
  border-right: 0;
}

.contact-panel:hover,
.contact-panel:focus-visible {
  color: #000;
}

.contact-symbol {
  display: block;
  width: 92px;
  height: 92px;
  position: relative;
}

.pin-symbol::before {
  content: "";
  position: absolute;
  inset: 4px 18px 22px;
  border-radius: 50% 50% 50% 0;
  background: #e24747;
  transform: rotate(-45deg);
}

.pin-symbol::after {
  content: "";
  position: absolute;
  left: 35px;
  top: 20px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
}

.mail-symbol::before {
  content: "";
  position: absolute;
  inset: 20px 8px;
  border-radius: 8px;
  background: #f39a12;
}

.mail-symbol::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 26px;
  width: 64px;
  height: 34px;
  border-left: 8px solid #fff;
  border-bottom: 8px solid #fff;
  transform: rotate(-45deg);
}

.phone-symbol::before {
  content: "";
  position: absolute;
  inset: 8px 26px;
  border: 8px solid #050505;
  border-radius: 10px;
}

.phone-symbol::after {
  content: "";
  position: absolute;
  left: 39px;
  bottom: 18px;
  width: 14px;
  height: 5px;
  border-radius: 4px;
  background: #050505;
}

.people-contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
  border-top: 1px solid transparent;
}

.people-contact > div {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 18px 50px;
  font-size: clamp(1.2rem, 1.7vw, 1.8rem);
}

.people-contact > div:first-child {
  border-right: 1px solid #aaa;
}

.person-symbol {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 50% 50% 40% 40%;
  background:
    radial-gradient(circle at 50% 28%, #8a8a8a 0 20px, transparent 21px),
    radial-gradient(ellipse at 50% 92%, #8a8a8a 0 42px, transparent 43px);
}

.map-band {
  min-height: 350px;
  display: grid;
  place-items: center;
  background: #858584;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(6rem, 16vw, 15rem);
  font-weight: 700;
}

.placeholder-content {
  min-height: calc(100vh - 170px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.9)),
    url("Homepage/element/BG.webp") center / cover no-repeat;
}

.placeholder-content p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 2.5rem);
}

.back-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  font-family: var(--display);
  font-size: clamp(2rem, 2.6vw, 3.2rem);
  font-weight: 300;
  transition: transform 190ms ease;
}

.back-button:hover,
.back-button:focus-visible {
  transform: scale(1.06);
}

.back-button span {
  display: inline-block;
  width: 70px;
  height: 44px;
  background: url("SHOWCASE/SHOWCASE-09.png") center / contain no-repeat;
}





.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
}

.page-transition.is-running {
  visibility: visible;
  pointer-events: auto;
}

.transition-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% + 4px);
  height: 100%;
  background-image: url("Loading Screen/Loading Screen-01.png");
  background-repeat: no-repeat;
  background-size: 100vw 100vh;
  will-change: transform;
  animation: none;
}

.transition-door-left {
  left: 0;
  background-position: left center;
  transform: translateX(-100%);
}

.transition-door-right {
  right: 0;
  background-position: right center;
  transform: translateX(100%);
}

.page-transition.is-running .transition-door-left {
  animation: transitionDoorLeft 1200ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

.page-transition.is-running .transition-door-right {
  animation: transitionDoorRight 1200ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.modal.is-open,
.lightbox.is-open {
  display: grid;
}

.modal {
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal-window {
  position: relative;
  z-index: 2;
  width: min(980px, 88vw);
  aspect-ratio: 16 / 9;
  background: #111;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

.modal.is-portrait .modal-window {
  width: min(430px, 82vw);
  max-height: 88vh;
  aspect-ratio: 9 / 16;
}

.modal.is-landscape .modal-window {
  width: min(980px, 88vw);
  max-height: 82vh;
  aspect-ratio: 16 / 9;
}

.modal-window iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-close,
.lightbox-close {
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 30px;
  line-height: 1;
}

.lightbox {
  place-items: center;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.48);
}

@keyframes logoFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headlineIntro {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes transitionDoorLeft {
  0% {
    transform: translateX(-100%);
  }
  42%,
  58% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes transitionDoorRight {
  0% {
    transform: translateX(100%);
  }
  42%,
  58% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 1360px) {
  .video-title {
    position: static;
    margin: 24px 0 28px;
    text-align: center;
  }

  .video-layout {
    height: 100vh;
    min-height: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: var(--video-header-height);
    padding-bottom: clamp(54px, 7vh, 92px);
  }

  .device-zone {
    justify-content: center;
    align-self: center;
    transform: none;
    margin-top: 0;
    padding-right: 0;
  }
}

@media (max-width: 1180px) {
  .home-header,
  .page-header {
    grid-template-columns: auto 1fr;
    padding: 30px 32px 0;
  }

  .logo-button {
    grid-column: 1;
    justify-self: start;
    width: 86px;
  }

  .nav-pills {
    gap: 12px;
  }

  .nav-pill {
    min-width: 88px;
    height: 34px;
    padding: 0 16px;
    font-size: 22px;
  }

  .back-button {
    grid-column: 1;
    grid-row: 1;
    order: 0;
    margin-top: 0;
  }

  .page-header .logo-button {
    display: none;
  }

  .home-stage {
    padding-top: 185px;
  }

  .orbit-contact {
    left: 24px;
  }

  .orbit-about {
    left: 60px;
  }

  .orbit-showreel {
    right: 40px;
  }

  .orbit-showcase {
    right: 42px;
  }

  .showcase-grid,
  .project-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .polaroid-grid {
    width: min(860px, 86vw);
    grid-template-columns: repeat(2, minmax(190px, 1fr));
  }

  .image-title,
  .video-title {
    position: static;
    margin: 42px 0 44px;
    text-align: center;
  }

  .video-page {
    min-height: 100vh;
    height: auto;
    overflow: auto;
  }

  .video-layout {
    width: min(1040px, 92vw);
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: var(--video-header-height);
    padding-bottom: clamp(44px, 8vh, 88px);
    transform: none;
  }

  .device-zone {
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(360px, 520px);
    justify-content: center;
    align-items: center;
    gap: clamp(42px, 5vw, 72px);
    width: 100%;
    padding-right: 0;
    transform: none;
    margin-top: 0;
  }

  .phone-frame {
    width: min(190px, 22vw);
  }

  .monitor-frame {
    width: min(520px, 52vw);
  }
}

@media (max-width: 760px) {
  .home-page {
    min-height: auto;
  }

  .home-bg {
    height: 100%;
    min-height: 0;
    background-position: center top;
  }

  .home-stage {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    align-items: start;
    padding: 138px 18px 38px;
  }

  .home-header,
  .page-header {
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 18px 18px 0;
  }

  .home-header {
    align-items: start;
  }

  .logo-button,
  .logo-button-home,
  .logo-button-home img {
    width: 68px;
    margin-left: 0;
  }

  .nav-pills {
    justify-content: flex-end;
    gap: 8px;
  }

  .nav-pill {
    min-width: auto;
    height: 30px;
    padding: 0 10px;
    font-size: 17px;
  }

  .home-headline {
    grid-column: 1 / -1;
    width: 92vw;
    height: clamp(190px, 48vw, 245px);
    margin: 0 auto;
  }

  .headline-line {
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .headline-top {
    width: 200%;
    max-width: 200%;
    white-space: nowrap;
    transform: translate3d(-50%, -4px, 0) scale(0.46);
  }

  .headline-bottom {
    width: 112%;
    max-width: 112%;
    white-space: normal;
    transform: translate3d(-50%, 46px, 0) scale(0.92);
  }

  .home-headline.is-flipped .headline-bottom {
    width: 180%;
    max-width: 180%;
    white-space: nowrap;
    transform: translate3d(-50%, 112px, 0) scale(0.44);
  }

  .home-headline.is-flipped .headline-top {
    width: 118%;
    max-width: 118%;
    white-space: normal;
    transform: translate3d(-50%, 12px, 0) scale(0.78);
  }

  .promo-zone {
    position: relative;
    left: auto;
    top: auto;
    grid-column: 1 / -1;
    width: 100%;
    margin: 10px auto 0;
    transform: none;
    gap: 8px;
  }

  .promo-wheel {
    height: 214px;
  }

  .promo-card {
    width: min(68vw, 300px);
  }

  .promo-card[data-slot="-1"] {
    --slot-x: -102px;
    --slot-scale: 0.62;
  }

  .promo-card[data-slot="0"] {
    --slot-scale: 1;
  }

  .promo-card[data-slot="1"] {
    --slot-x: 102px;
    --slot-scale: 0.62;
  }

  .promo-caption {
    display: block;
    width: min(88vw, 360px);
    min-height: 0;
    margin-top: 12px;
    padding: 10px 18px;
    font-size: 1.18rem;
    line-height: 1.06;
    white-space: normal;
  }

  .orbit-link {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    justify-self: center;
    width: 100%;
    font-size: 1.28rem;
    text-align: center;
  }

  .orbit-icon {
    width: 72px;
  }

  .orbit-contact {
    grid-template-columns: none;
  }

  .home-warning {
    gap: 18px;
    min-height: 190px;
    padding: 22px 12px;
  }

  .home-warning p {
    font-size: 1.7rem;
  }

  .home-warning img {
    width: 58px;
  }

  .page-header {
    min-height: 142px;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 18px;
    padding-inline: 28px;
  }

  .page-header .back-button {
    grid-column: 1;
    grid-row: 1;
    order: 0;
    justify-self: start;
    margin-top: 0;
    gap: 8px;
    min-height: 32px;
    font-size: 22px;
  }

  .page-header .back-button span {
    width: 42px;
    height: 28px;
  }

  .page-header .logo-button {
    display: none;
  }

  .page-header .nav-pills {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    max-width: none;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 0;
  }

  .page-header .nav-pill {
    min-width: 0;
    height: 30px;
    padding: 0 10px;
    font-size: 17px;
  }

  .desk-bg {
    top: 142px;
  }

  .section-wrap,
  .image-layout,
  .video-layout,
  .category-layout,
  .gallery-layout,
  .about-content,
  .contact-layout {
    width: min(92vw, 620px);
  }

  .work-page .section-wrap,
  .image-layout,
  .video-layout,
  .category-layout,
  .gallery-layout,
  .about-content,
  .contact-layout {
    padding-bottom: 48px;
  }

  .page-title {
    font-size: clamp(3.1rem, 16vw, 5.2rem);
  }

  .polaroid-grid,
  .project-grid,
  .gallery-grid,
  .about-row,
  .about-row-reverse,
  .service-columns,
  .about-service-list,
  .contact-layout,
  .people-contact {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    min-height: 285px;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 26px;
    padding: 0 12px 64px;
  }

  .showcase-card span {
    left: 14px;
    right: 14px;
    top: auto;
    bottom: -18px;
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    font-size: clamp(1.12rem, 5vw, 1.55rem);
    white-space: normal;
    text-align: center;
  }

  .polaroid-grid {
    margin: 0 auto;
  }

  .device-zone {
    grid-template-columns: minmax(82px, 24vw) minmax(190px, 58vw);
    justify-items: center;
    justify-content: center;
    align-items: center;
    gap: clamp(34px, 8vw, 56px);
    width: 100%;
    transform: none;
    margin: 0 0 32px;
  }

  .phone-frame {
    width: min(112px, 24vw);
  }

  .monitor-frame {
    width: min(270px, 58vw);
  }

  .video-tags {
    gap: 12px 14px;
    width: min(92vw, 520px);
  }

  .video-tag {
    min-height: 36px;
    font-size: 1.25rem;
  }

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

  .about-hero,
  .contact-hero {
    min-height: 310px;
  }

  .about-content {
    gap: 50px;
    padding-top: 56px;
  }

  .contact-panel,
  .people-contact > div,
  .people-contact > div:first-child {
    border-right: 0;
    border-bottom: 1px solid #aaa;
    padding: 24px 0;
  }

  .map-band {
    min-height: 220px;
  }

  .transition-door {
    background-size: 100vw auto;
  }

  .transition-door-left {
    background-color: #f7f7f7;
  }

  .transition-door-right {
    background-color: #383838;
  }
}

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

  .promo-card {
    transition:
      transform 1120ms cubic-bezier(0.16, 1, 0.3, 1),
      filter 780ms ease,
      z-index 0ms linear 420ms !important;
  }

  .promo-card img {
    transition: box-shadow 900ms ease !important;
  }

  .headline-line {
    transition:
      transform 1450ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 900ms ease,
      filter 900ms ease !important;
  }

  .page-transition.is-running .transition-door-left {
    animation: transitionDoorLeft 1200ms cubic-bezier(0.76, 0, 0.24, 1) both !important;
  }

  .page-transition.is-running .transition-door-right {
    animation: transitionDoorRight 1200ms cubic-bezier(0.76, 0, 0.24, 1) both !important;
  }
}

.video-thumb-container {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
}
.video-thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 200ms ease, transform 200ms ease;
}
.play-overlay svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
}
.gallery-item.video-card:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
  background: #ff0000;
}

