:root {
  --bg: #090a0c;
  --panel: #101318;
  --panel-2: #151a20;
  --line: rgba(230, 235, 232, 0.14);
  --text: #f1f3ef;
  --muted: rgba(241, 243, 239, 0.68);
  --soft: rgba(241, 243, 239, 0.42);
  --accent: #2ceaff;
  --warm: #178cde;
  --hot: #00cae0;
  --steel: #8290a0;
  --max: 1700px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0;
  cursor: default;
}

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

.site-shell {
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 116, 23, 0.08), transparent 26%),
    var(--bg);
}

.container {
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto;
}

.section-full {
  min-height: 100vh;
  position: relative;
}

.section-pad {
  padding: 150px 0;
}

section[id] {
  scroll-margin-top: 112px;
}

.nav {
  position: fixed;
  z-index: 20;
  top: 30px;
  left: 50%;
  width: min(calc(100% - 80px), var(--max));
  height: 72px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0;
  color: rgba(255,255,255,0.9);
  border: 0;
  background: transparent;
  backdrop-filter: none;
  transition: padding 260ms ease, width 260ms ease, background 260ms ease;
}

.nav.is-scrolled {
  width: min(calc(100% - 48px), var(--max));
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(4, 4, 4, 0.74);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.nav-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 28px;
  border: 0;
  background:
    linear-gradient(90deg, #fff 0 54%, transparent 54%),
    linear-gradient(135deg, transparent 42%, var(--accent) 43% 58%, transparent 59%);
  clip-path: polygon(0 20%, 86% 0, 100% 70%, 12% 100%);
}

.nav-links {
  gap: clamp(24px, 4vw, 66px);
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
}

.nav-links a {
  position: relative;
  transition: color 180ms ease, transform 180ms ease;
}

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

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--accent);
  transform: translateY(-1px);
}

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

.nav-cta {
  justify-self: end;
  min-height: 50px;
  padding: 0 26px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
  border-radius: 8px;
}

.nav-cta:hover {
  color: #050505;
  border-color: var(--accent);
  background: var(--accent);
}

.hero {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  background: #080a0d;
}

.hero-video,
.motion-field,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video,
.motion-field {
  object-fit: cover;
  z-index: -3;
  opacity: 0.74;
}

.motion-field {
  z-index: -2;
  opacity: 0.3;
}

.hero-shade {
  z-index: -1;
  background:
    radial-gradient(circle at 78% 32%, rgba(255, 91, 88, 0.2), transparent 18%),
    radial-gradient(circle at 76% 62%, rgba(216, 199, 149, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(8, 10, 13, 0.98) 0 42%, rgba(8, 10, 13, 0.42) 66%, rgba(8, 10, 13, 0.84)),
    linear-gradient(180deg, rgba(8, 10, 13, 0.26), #090a0c 97%);
}

.hero-inner {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.eyebrow,
.section-kicker {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-poster {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: clamp(96px, 7.4vw, 140px) 0 clamp(34px, 4.4vw, 70px);
}

/* .hero-poster::before {
  content: "";
  position: absolute;
  right: -5vw;
  bottom: 0;
  width: min(52vw, 760px);
  height: min(76vh, 760px);
  border-radius: 52% 48% 0 0;
  background:
    radial-gradient(ellipse at 52% 7%, rgba(235, 223, 194, 0.82), rgba(116, 101, 84, 0.42) 15%, transparent 24%),
    radial-gradient(ellipse at 48% 58%, rgba(202, 118, 86, 0.22), rgba(30, 20, 18, 0.74) 48%, transparent 72%);
  filter: blur(0.2px);
  opacity: 0.88;
  animation: floatBody 8s ease-in-out infinite;
} */

/* .hero-poster::after {
  content: "";
  position: absolute;
  right: clamp(40px, 8vw, 150px);
  top: clamp(118px, 18vh, 210px);
  width: min(29vw, 390px);
  aspect-ratio: 1 / 0.72;
  border: 3px solid rgba(255, 104, 99, 0.9);
  border-left-color: transparent;
  border-right-color: rgba(255, 158, 132, 0.68);
  border-radius: 50%;
  box-shadow:
    0 0 16px rgba(255, 91, 88, 0.64),
    0 0 42px rgba(255, 91, 88, 0.28);
  transform: rotate(-18deg);
  animation: ringPulse 5s ease-in-out infinite;
} */

.hero-type {
  position: relative;
  z-index: 2;
  width: min(52vw, 854px);
  margin-top: clamp(28px, 4.2vw, 86px);
}

.type-row {
  display: grid;
  grid-template-columns: 0.95fr 0.95fr 1fr 0.82fr;
  align-items: center;
  /* gap: clamp(18px, 2.1vw, 42px); */
  height: clamp(140px, 23.3vh, 236px);
}

.type-row.compact {
  grid-template-columns: 0.95fr;
}

.type-row span {
  display: block;
  color: #fff;
  font-size: clamp(96px, 10.3vw, 180px);
  line-height: 1.6;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
  animation: typeIn 900ms cubic-bezier(.2,.7,.2,1) both;
}

.type-row:nth-child(2) span {
  animation-delay: 90ms;
}

.type-row:nth-child(3) span {
  animation-delay: 180ms;
}

.type-row .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 255, 228, 0.86);
  text-stroke: 1.5px rgba(0, 255, 228, 0.86);
}

.type-row .narrow {
  font-family: "Noto Sans SC", "Inter", system-ui, sans-serif;
  font-weight: 900;
}

.sun-disc {
  width: clamp(92px, 9.5vw, 160px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #178cde 2%, #00cae0 45%, #00ffe4 100%);
  box-shadow: 0 0 34px rgba(248, 186, 66, 0.16);
  animation: sunGlow 4.6s ease-in-out infinite;
}

.hero-info {
  position: absolute;
  z-index: 3;
  left: min(18vw, 198px);
  top: clamp(516px, 82vh, 770px);
  display: grid;
  gap: 16px;
}

.hero-name span,
.hero-name strong,
.hero-role span {
  display: block;
  letter-spacing: 0;
}

.hero-name span {
  font-size: clamp(18px, 1.4vw, 28px);
  font-weight: 900;
}

.hero-name strong {
  margin-top: 2px;
  color: #fff;
  font-size: clamp(18px, 1.3vw, 25px);
  line-height: 1.05;
  font-weight: 900;
}

.hero-role {
  color: rgba(255, 255, 255, 0.46);
  font-size: clamp(17px, 1.3vw, 24px);
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-meta {
  position: absolute;
  z-index: 3;
  left: 10px;
  bottom: clamp(28px, 5.1vh, 58px);
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 2.2vw, 40px);
}

.meta-label {
  display: inline-flex;
  min-width: 116px;
  min-height: 54px;
  align-items: center;
  padding: 7px 10px;
  color: #1a1b1d;
  background: #f2f2ee;
  font-size: 13px;
  line-height: 0.92;
  font-weight: 900;
}

.meta-year {
  color: transparent;
  -webkit-text-stroke: 1.1px rgba(255, 255, 255, 0.76);
  text-stroke: 1.1px rgba(255, 255, 255, 0.76);
  font-size: clamp(28px, 2.8vw, 46px);
  line-height: 0.88;
  font-weight: 900;
}

.meta-year sup {
  color: rgba(255, 255, 255, 0.64);
  -webkit-text-stroke: 0;
  text-stroke: 0;
  font-size: 0.34em;
}

.meta-rule {
  width: 2px;
  height: 42px;
  background: rgba(255, 255, 255, 0.82);
}

.meta-title {
  color: #fff;
  font-size: clamp(14px, 1.1vw, 20px);
  line-height: 1.1;
  font-weight: 900;
  white-space: nowrap;
}

.hero-action {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: clamp(44px, 9vh, 98px);
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.58);
    color: #050607;
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
    backdrop-filter: blur(14px);
    transition: transform 180ms ease, background 180ms ease;
}

.hero-action:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.76);
}

.hero-credit {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: clamp(28px, 5vh, 54px);
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(14px, 1.1vw, 19px);
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-kicker {
  position: absolute;
  z-index: 3;
  right: clamp(110px, 15vw, 240px);
  top: clamp(155px, 24vh, 220px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 14px;
  height: 14px;
  background: #fff;
}

.work-preview {
  position: relative;
  min-height: 100vh;
  padding: clamp(86px, 9vw, 132px) 0 clamp(116px, 10vw, 170px);
  overflow: hidden;
  /* background:
    radial-gradient(circle at 20% 26%, rgba(255,255,255,0.55), transparent 12%),
    radial-gradient(circle at 78% 82%, rgba(255,255,255,0.62), transparent 16%),
    radial-gradient(circle at 54% 10%, rgba(214, 255, 64, 0.72), transparent 30%),
    linear-gradient(135deg, #a7cf59 0%, #d7fb45 42%, #b3c792 100%); */
}

.work-preview::before {
  content: "SELF-SERVICE BRAND";
  position: absolute;
  left: -2vw;
  right: -2vw;
  top: -38px;
  height: auto;
  pointer-events: none;
  color: rgba(95, 95, 95, 0.18);
  background: none;
  font-size: clamp(94px, 15vw, 268px);
  line-height: 0.8;
  font-weight: 900;
  white-space: nowrap;
}

.preview-head {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 86px);
}

.preview-head .section-kicker {
  grid-column: 1 / -1;
  margin: 0;
}

.preview-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 50px);
  line-height: 1;
  font-weight: 900;
  text-transform: none;
}

.preview-head a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 2px solid rgba(16,16,17,0.78);
  border-radius: 999px;
  color: #101011;
  font-weight: 900;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.preview-head a:hover {
  color: #fff;
  border-color: #101011;
  background: #101011;
  transform: translateX(4px);
}

.preview-track {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: min(48vw, 620px);
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 0 0;
}

.preview-track::-webkit-scrollbar {
  display: none;
}

.preview-card {
  position: relative;
  width: min(18vw, 340px);
  min-width: 230px;
  height: min(30vw, 480px);
  min-height: 380px;
  overflow: hidden;
  border-radius: clamp(34px, 3.4vw, 58px);
  background: #111;
  color: #fff;
  box-shadow: 0 34px 60px rgba(44, 57, 23, 0.28);
  transform-origin: center bottom;
  transition:
    opacity 900ms ease var(--reveal-delay, 0ms),
    transform 960ms cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms),
    filter 900ms ease var(--reveal-delay, 0ms),
    box-shadow 420ms ease,
    z-index 0ms linear 160ms;
}

.preview-card.reveal {
  opacity: 0;
  filter: blur(10px);
}

.preview-card.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
}

.preview-card:nth-child(1) {
  z-index: 1;
  margin-right: -1.2vw;
  transform: rotate(13deg) translateY(112px);
}

.preview-card.reveal.is-visible:nth-child(1) {
  z-index: 1;
  margin-right: -1.2vw;
  transform: rotate(6deg) translateY(32px);
}

.preview-card:nth-child(2) {
  z-index: 3;
  margin-right: -0.4vw;
  transform: rotate(0deg) translateY(84px);
}

.preview-card.reveal.is-visible:nth-child(2) {
  z-index: 3;
  margin-right: -0.4vw;
  transform: rotate(0deg) translateY(4px);
}

.preview-card:nth-child(3) {
  z-index: 2;
  margin-right: -0.8vw;
  transform: rotate(-13deg) translateY(116px);
}

.preview-card.reveal.is-visible:nth-child(3) {
  z-index: 6;
  margin-right: -0.8vw;
  transform: rotate(-6deg) translateY(36px);
}

.preview-card:nth-child(4) {
  z-index: 1;
  transform: rotate(13deg) translateY(108px);
}

.preview-card.reveal.is-visible:nth-child(4) {
  z-index: 1;
  transform: rotate(13deg) translateY(28px);
}

.preview-card:hover {
  z-index: 8;
  box-shadow: 0 42px 80px rgba(44, 57, 23, 0.38);
}

.preview-card:nth-child(1):hover,
.preview-card:nth-child(2):hover,
.preview-card:nth-child(3):hover,
.preview-card:nth-child(4):hover {
  transform: rotate(0deg) translateY(-28px) scale(1.035);
}

.preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, #fff 0 7px, transparent 8px),
    linear-gradient(180deg, rgba(255,255,255,0.18), transparent 34%);
  opacity: 1;
}

.card-green {
  background: #3ED5F8;
}

.card-black {
  background: #111114;
}

.card-white {
  color: #050505;
  background: #f7f7f0;
}

.card-white::after {
  background:
    radial-gradient(circle at 12% 12%, #000 0 7px, transparent 8px),
    linear-gradient(180deg, rgba(255,255,255,0.32), transparent 34%);
}

.card-blue {
  background: #3f62ff;
}

.preview-copy {
  position: absolute;
  z-index: 2;
  left: clamp(34px, 3vw, 56px);
  right: clamp(24px, 2.2vw, 44px);
  top: clamp(70px, 7vw, 102px);
  bottom: auto;
}

.preview-copy span {
  display: block;
  color: currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.8vw, 46px);
  line-height: 0.82;
  font-weight: 600;
  text-transform: uppercase;
}

.preview-copy h3 {
  margin: 18px 0 0;
  color: currentColor;
  font-size: clamp(22px, 1.8vw, 34px);
  line-height: 0.98;
  font-weight: 600;
}

.preview-copy p {
  margin: 12px 0 0;
  color: currentColor;
  font-size: clamp(16px, 1.4vw, 24px);
  line-height: 1.1;
  opacity: 0.78;
}

.preview-thumb {
  position: absolute;
  z-index: 2;
  left: clamp(34px, 3vw, 56px);
  right: clamp(26px, 2.6vw, 50px);
  bottom: clamp(28px, 3vw, 54px);
  /* height: 25%; */
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  color: #111;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.preview-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.preview-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.08), transparent 38%),
    repeating-linear-gradient(0deg, transparent 0 16px, rgba(0,0,0,0.025) 16px 17px);
}

.thumb-title {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 22px;
  color: #111;
  font-size: clamp(18px, 1.25vw, 26px);
  line-height: 1.02;
  font-weight: 900;
}

.phone {
  position: absolute;
  z-index: 2;
  width: 27%;
  height: 72%;
  right: 19%;
  bottom: -8%;
  border-radius: 18px;
  border: 6px solid #151515;
  background:
    linear-gradient(90deg, #222 0 24%, #f6cc2b 24% 50%, #4fbf56 50% 74%, #e95349 74%);
  transform: rotate(-16deg);
  box-shadow: 0 14px 22px rgba(0,0,0,0.25);
}

.phone-b {
  right: 4%;
  bottom: 4%;
  transform: rotate(13deg);
}

.web-thumb {
  background: linear-gradient(135deg, #3271ff, #dbe9ff);
}

.dashboard-bar {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 55%;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
}

.dashboard-grid {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  height: 52%;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.86) 0 28%, rgba(255,255,255,0.64) 28% 30%, rgba(255,255,255,0.86) 30% 58%, rgba(255,255,255,0.64) 58% 60%, rgba(255,255,255,0.86) 60%),
    linear-gradient(180deg, transparent 0 24%, rgba(52, 113, 255, 0.28) 24% 27%, transparent 27%);
}

.poster-thumb {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  padding: 18px;
  background: #0c0c0c;
  transform: rotate(8deg);
}

.poster-thumb span {
  flex: 1;
  height: 100%;
  border-radius: 12px;
  background:
    radial-gradient(circle at 54% 30%, #ffeb47, transparent 22%),
    linear-gradient(150deg, #111, #ef3d25 52%, #d9ff29);
}

.poster-thumb span:nth-child(2) {
  height: 88%;
  background:
    linear-gradient(150deg, #eaff2f, #fff 36%, #ff593f 38% 48%, #111 50%);
}

.poster-thumb span:nth-child(3) {
  height: 76%;
  background:
    radial-gradient(circle at 48% 34%, #35ffbe, transparent 20%),
    linear-gradient(150deg, #111, #2444ff 62%, #d9ff29);
}

.profile {
  background: linear-gradient(180deg, #090909, #0c0c0c 42%, #090909);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) 1.15fr;
  gap: 82px;
  align-items: center;
}

.portrait-wrap {
  min-height: 720px;
  position: relative;
}

.portrait {
  position: sticky;
  top: 130px;
  height: 700px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255,255,255,0.08), transparent 34%),
    radial-gradient(circle at 50% 28%, rgba(255,116,23,0.26), transparent 30%),
    #101010;
  transition: transform 320ms ease, border-color 320ms ease;
}

.portrait:hover {
  border-color: rgba(255, 116, 23, 0.46);
  transform: translateY(-8px);
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 44px;
  border: 1px solid rgba(255,255,255,0.13);
}

.portrait-head,
.portrait-body {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(232, 232, 218, 0.88);
}

.portrait-head {
  top: 140px;
  width: 190px;
  height: 230px;
  border-radius: 44% 44% 42% 42%;
}

.portrait-body {
  top: 368px;
  width: 430px;
  height: 370px;
  border-radius: 44% 44% 0 0;
  background: linear-gradient(135deg, #202832, #56636f);
}

.scan-line {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 9px, rgba(255,255,255,0.035) 10px);
  mix-blend-mode: screen;
}

.profile-copy h2,
.section-head h2,
.closing h2 {
  margin: 0;
  font-size: clamp(40px, 4.2vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
}

.profile-copy > p:not(.section-kicker),
.section-head > p:not(.section-kicker) {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.contact-strip span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  color: rgba(255,255,255,0.76);
  background: rgba(255,255,255,0.04);
}

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

.stats div {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.stats div:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 116, 23, 0.42);
  background: rgba(255, 116, 23, 0.06);
}

.stats strong {
  display: block;
  color: var(--warm);
  font-size: 48px;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 14px;
  color: var(--soft);
}

.section-head {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -34px;
}

.section-head h2 {
  grid-column: 1;
}

.section-head > p:not(.section-kicker) {
  grid-column: 2;
  margin: 0;
}

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

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.projects {
  background: #090909;
}

.projects .container {
  position: relative;
}

.projects .container::before {
  content: "PORTFOLIO";
  position: absolute;
  right: 0;
  top: -70px;
  color: rgba(255,255,255,0.04);
  font-size: clamp(80px, 13vw, 220px);
  line-height: 0.8;
  font-weight: 900;
  pointer-events: none;
}

.project-card {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #101010;
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 116, 23, 0.46);
}

.project-visual {
  position: relative;
  flex: 1;
  min-height: 455px;
  overflow: hidden;
}

.project-a .project-visual {
  background:
    radial-gradient(circle at 70% 30%, rgba(255,116,23,0.55), transparent 26%),
    linear-gradient(35deg, #151515, #4b1b0d 52%, #111);
}

.project-b .project-visual {
  background:
    radial-gradient(circle at 68% 34%, rgba(243,161,38,0.42), transparent 30%),
    linear-gradient(135deg, #111, #492610 52%, #111);
}

.project-c .project-visual {
  background:
    linear-gradient(110deg, rgba(255,255,255,0.16), transparent 42%),
    linear-gradient(155deg, #111, #332018 55%, #101010);
}

.visual-frame {
  position: absolute;
  inset: 44px;
  border: 1px solid rgba(255,255,255,0.16);
}

.visual-bar {
  position: absolute;
  left: 14%;
  height: 58px;
  border-radius: 999px;
  background: rgba(241,243,239,0.18);
  backdrop-filter: blur(8px);
}

.bar-one {
  top: 26%;
  width: 62%;
}

.bar-two {
  top: 46%;
  width: 42%;
  background: rgba(185,217,210,0.3);
}

.bar-three {
  top: 66%;
  width: 72%;
}

.orbital {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
}

.orbital-one {
  width: 420px;
  height: 420px;
  left: 18%;
  top: 12%;
}

.orbital-two {
  width: 260px;
  height: 260px;
  left: 36%;
  top: 28%;
  border-color: rgba(216,199,149,0.42);
}

.visual-chip {
  position: absolute;
  right: 16%;
  bottom: 18%;
  width: 150px;
  height: 92px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.09);
}

.grid-plane {
  position: absolute;
  inset: 120px 64px;
  transform: skewY(-10deg);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(180deg, rgba(255,255,255,0.12) 1px, transparent 1px) 0 0 / 46px 46px;
  border: 1px solid rgba(255,255,255,0.14);
}

.poster-block {
  position: absolute;
  left: 16%;
  bottom: 16%;
  width: 40%;
  height: 52%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(241,243,239,0.1);
}

.project-meta {
  padding: 30px;
  border-top: 1px solid var(--line);
}

.project-meta span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-meta h3 {
  margin: 18px 0 10px;
  font-size: 28px;
  line-height: 1.22;
}

.project-meta p {
  margin: 0;
  color: var(--soft);
}

.strengths {
  background: #050505;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.strength-grid article {
  min-height: 330px;
  padding: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    #101010;
  transition: transform 220ms ease, border-color 220ms ease;
}

.strength-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 116, 23, 0.42);
}

.strength-grid span {
  color: var(--warm);
  font-weight: 800;
}

.strength-grid h3 {
  margin: 96px 0 18px;
  font-size: 26px;
}

.strength-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.closing {
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 28%, rgba(255,116,23,0.2), transparent 26%),
    linear-gradient(180deg, #050505, #090909);
}

.closing-inner {
  padding-top: 90px;
}

.closing h2 {
  width: min(1250px, 100%);
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 60px;
}

.closing-actions a {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.86);
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.closing-actions a:hover {
  color: #050505;
  border-color: var(--accent);
  background: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 72px, 0) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 900ms ease var(--reveal-delay, 0ms),
    transform 960ms cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms),
    filter 900ms ease var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.reveal.is-visible:hover {
  transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@keyframes typeIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    filter: brightness(1);
    transform: rotate(-18deg) scale(1);
  }
  50% {
    filter: brightness(1.24);
    transform: rotate(-18deg) scale(1.035);
  }
}

@keyframes floatBody {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-12px, -10px, 0);
  }
}

@keyframes sunGlow {
  0%,
  100% {
    filter: saturate(1);
    transform: scale(1);
  }
  50% {
    filter: saturate(1.18);
    transform: scale(1.05);
  }
}

@media (max-width: 1100px) {
  .container,
  .nav {
    width: min(calc(100% - 40px), var(--max));
  }

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

  .nav-links {
    display: none;
  }

  .profile-grid,
  .section-head,
  .strength-grid {
    grid-template-columns: 1fr;
  }

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

  .preview-track {
    justify-content: flex-start;
    min-height: 570px;
    overflow-x: auto;
    padding: 34px 18px 42px;
    scroll-snap-type: x proximity;
  }

  .preview-card {
    flex: 0 0 300px;
    width: 300px;
    min-width: 300px;
    height: 380px;
    min-height: 380px;
    scroll-snap-align: start;
  }

  .preview-card:nth-child(1),
  .preview-card:nth-child(2),
  .preview-card:nth-child(3),
  .preview-card:nth-child(4) {
    margin-right: -20px;
  }

  .section-head .section-kicker,
  .section-head h2,
  .section-head > p:not(.section-kicker) {
    grid-column: auto;
    margin-bottom: 0;
  }

  .hero-poster {
    padding-top: 112px;
  }

  .hero-type {
    width: min(72vw, 720px);
  }

  .type-row {
    height: clamp(90px, 15vh, 144px);
  }

  .type-row span {
    font-size: clamp(82px, 15vw, 150px);
  }

  .hero-info {
    left: min(31vw, 270px);
    top: clamp(330px, 55vh, 500px);
  }

  .hero-poster::before {
    right: -20vw;
    width: min(72vw, 640px);
  }

  .hero-poster::after {
    right: clamp(18px, 6vw, 70px);
    width: min(41vw, 330px);
  }

  .hero-kicker {
    top: 152px;
    right: clamp(70px, 12vw, 130px);
  }

  .portrait-wrap {
    min-height: auto;
  }

  .portrait {
    position: relative;
    top: auto;
  }
}

@media (max-width: 720px) {
  .section-pad {
    padding: 96px 0;
  }

  .nav {
    top: 28px;
    height: 64px;
    width: min(calc(100% - 28px), var(--max));
    grid-template-columns: auto 1fr;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(4, 4, 4, 0.62);
    backdrop-filter: blur(16px);
  }

  .nav.is-scrolled {
    width: min(calc(100% - 24px), var(--max));
    padding: 0 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    min-height: 48px;
    padding: 0 18px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-inner,
  .hero-poster {
    min-height: 100svh;
  }

  .hero-poster {
    padding: 92px 0 28px;
  }

  .hero-shade {
    background:
      radial-gradient(circle at 72% 30%, rgba(255, 91, 88, 0.18), transparent 20%),
      linear-gradient(180deg, rgba(8, 10, 13, 0.88) 0 38%, rgba(8, 10, 13, 0.58) 58%, #090a0c 100%);
  }

  .hero-type {
    width: 100%;
  }

  .type-row {
    grid-template-columns: 0.95fr 0.95fr 1fr 0.74fr;
    gap: 10px;
    height: clamp(68px, 13vh, 94px);
  }

  .type-row span {
    font-size: clamp(61px, 19vw, 96px);
  }

  .sun-disc {
    width: clamp(56px, 17vw, 82px);
  }

  .hero-poster::before {
    right: -22vw;
    bottom: 10vh;
    width: min(76vw, 390px);
    height: 52vh;
    opacity: 0.62;
  }

  .hero-poster::after {
    top: 43vh;
    right: 2vw;
    width: min(55vw, 240px);
    border-width: 2px;
  }

  .hero-info {
    left: 42%;
    top: clamp(300px, 48vh, 390px);
    gap: 10px;
  }

  .hero-name span,
  .hero-name strong {
    font-size: 16px;
  }

  .hero-role {
    font-size: 14px;
  }

  .hero-meta {
    left: 0;
    right: 92px;
    bottom: 28px;
    gap: 12px;
  }

  .meta-label {
    min-width: 92px;
    min-height: 42px;
    font-size: 10px;
  }

  .meta-year {
    font-size: 26px;
  }

  .meta-rule {
    height: 32px;
  }

  .meta-title {
    font-size: 11px;
  }

  .hero-action {
    width: 66px;
    height: 66px;
    border-radius: 22px;
    font-size: 40px;
    bottom: 26px;
  }

  .hero-credit {
    right: 0;
    bottom: 104px;
    font-size: 11px;
  }

  .hero-kicker {
    display: none;
  }

  .work-preview {
    min-height: auto;
    padding: 74px 0 82px;
  }

  .preview-head {
    display: block;
  }

  .preview-head h2 {
    margin-top: 14px;
  }

  .preview-head a {
    margin-top: 22px;
  }

  .preview-track {
    min-height: 500px;
    margin: 0 -20px;
    padding: 28px 20px 42px;
  }

  .preview-card {
    flex-basis: 270px;
    width: 270px;
    min-width: 270px;
    height: 430px;
    min-height: 430px;
    border-radius: 32px;
  }

  .preview-card:nth-child(1) {
    transform: rotate(8deg) translateY(18px);
  }

  .preview-card.reveal:not(.is-visible):nth-child(1) {
    transform: rotate(8deg) translateY(92px);
  }

  .preview-card:nth-child(2) {
    transform: rotate(0deg) translateY(0);
  }

  .preview-card.reveal:not(.is-visible):nth-child(2) {
    transform: rotate(0deg) translateY(76px);
  }

  .preview-card:nth-child(3) {
    transform: rotate(-8deg) translateY(18px);
  }

  .preview-card.reveal:not(.is-visible):nth-child(3) {
    transform: rotate(-8deg) translateY(92px);
  }

  .preview-card:nth-child(4) {
    transform: rotate(8deg) translateY(18px);
  }

  .preview-card.reveal:not(.is-visible):nth-child(4) {
    transform: rotate(8deg) translateY(92px);
  }

  .preview-copy {
    left: 30px;
    right: 24px;
    top: 72px;
  }

  .preview-copy span {
    font-size: 42px;
  }

  .preview-copy h3 {
    font-size: 32px;
  }

  .preview-copy p {
    font-size: 20px;
  }

  .preview-thumb {
    left: 28px;
    right: 24px;
    bottom: 28px;
    border-radius: 20px;
  }

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

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

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