/* ============================================================
   KIREI × OXEN — Luxury Minimalist Dark Portfolio
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg-0: #050505;
  --bg-1: #0a0a0b;
  --bg-2: #101012;
  --ink: #ece9e2;
  --ink-dim: rgba(236, 233, 226, 0.62);
  --ink-faint: rgba(236, 233, 226, 0.42);
  --ink-ghost: rgba(236, 233, 226, 0.22);
  --line: rgba(236, 233, 226, 0.14);
  --line-soft: rgba(236, 233, 226, 0.08);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", "Consolas", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 68px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-pad: clamp(110px, 16vh, 190px);
}

/* ── Reset & base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
  background: var(--bg-0);
  color: var(--ink);
  font: 400 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
em { font-style: italic; }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: rgba(236, 233, 226, 0.14); border-radius: 8px; border: 2px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: rgba(236, 233, 226, 0.26); }
html { scrollbar-color: rgba(236, 233, 226, 0.16) #050505; scrollbar-width: thin; }

:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; border-radius: 2px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 10001;
  background: var(--ink); color: var(--bg-0);
  font: 500 12px/1 var(--mono); letter-spacing: 0.12em;
  padding: 12px 18px; border-radius: 999px;
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* ── Layout helpers ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-pad); z-index: 1; }
.section > .container > .section__head { margin-bottom: clamp(44px, 7vh, 84px); }

.section__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.section__tag { color: var(--ink-dim); }

.section__title {
  font: 300 clamp(2.5rem, 6vw, 5.2rem)/1.05 var(--serif);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section__title em { font-weight: 300; }

.section__title--left { text-align: left; }

.section__subtitle {
  margin-top: clamp(18px, 2.5vh, 28px);
  font: 400 clamp(1rem, 1.3vw, 1.15rem)/1.6 var(--sans);
  color: var(--ink-dim);
  max-width: 46ch;
}

/* ── Atmospheric background ─────────────────────────────── */
.atmosphere {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.atmosphere__blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.atmosphere__blob--a {
  width: 85vmax; height: 85vmax;
  top: -35vmax; left: -28vmax;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018) 45%, transparent 72%);
  animation: blobDriftA 64s ease-in-out infinite alternate;
}
.atmosphere__blob--b {
  width: 75vmax; height: 75vmax;
  bottom: -32vmax; right: -26vmax;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015) 45%, transparent 72%);
  animation: blobDriftB 78s ease-in-out infinite alternate;
}
.atmosphere__blob--c {
  width: 55vmax; height: 55vmax;
  top: 38%; left: 30%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.028), transparent 70%);
  animation: blobDriftC 52s ease-in-out infinite alternate;
}

@keyframes blobDriftA {
  from { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  to   { transform: translate3d(6vmax, 4vmax, 0) scale(1.12) rotate(8deg); }
}
@keyframes blobDriftB {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to   { transform: translate3d(-5vmax, -6vmax, 0) scale(0.96); }
}
@keyframes blobDriftC {
  from { transform: translate3d(-4vmax, 3vmax, 0) scale(1); }
  to   { transform: translate3d(5vmax, -3vmax, 0) scale(1.15); }
}

.atmosphere__wave {
  position: absolute;
  width: 116%; height: 100%;
  left: -8%; top: 0;
  will-change: transform;
}
.atmosphere__wave--a { animation: waveDriftA 56s ease-in-out infinite alternate; }
.atmosphere__wave--b { animation: waveDriftB 74s ease-in-out infinite alternate; }

@keyframes waveDriftA {
  from { transform: translate3d(-2.5%, 0, 0) scaleY(1); }
  to   { transform: translate3d(2.5%, -2%, 0) scaleY(1.06); }
}
@keyframes waveDriftB {
  from { transform: translate3d(2%, 1.5%, 0); }
  to   { transform: translate3d(-2%, -1.5%, 0); }
}

.atmosphere__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 55%, rgba(0, 0, 0, 0.42) 100%),
    radial-gradient(140% 120% at 50% 55%, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
}

/* Subtle film grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 90;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
}

/* ── Marquee : OXEN ─────────────────────────────────────── */
.marquee {
  overflow: hidden;
  padding-block: clamp(20px, 4vh, 44px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeMove var(--marquee-duration, 60s) linear infinite;
}

@keyframes marqueeMove {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

.marquee__group {
  display: flex;
  align-items: baseline;
  gap: clamp(28px, 4vw, 72px);
  padding-right: clamp(28px, 4vw, 72px);
  white-space: nowrap;
}

.marquee__item {
  font: 300 clamp(3.2rem, 8.5vw, 8.5rem)/1 var(--serif);
  letter-spacing: 0.06em;
  color: var(--ink);
}
.marquee__item--italic { font-style: italic; color: var(--ink-dim); }

.marquee__sep {
  font: 300 clamp(1.6rem, 3vw, 3rem)/1 var(--serif);
  color: var(--ink-ghost);
  transform: translateY(-0.35em);
}

.marquee--footer { padding-block: clamp(24px, 5vh, 56px); }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  transition: background 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
}

.nav__inner {
  display: flex; justify-content: space-between; align-items: center;
  height: var(--nav-h);
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__logo {
  font: 400 1.35rem/1 var(--serif);
  letter-spacing: 0.14em;
  color: var(--ink);
}
.nav__logo sup {
  font-size: 0.5em;
  letter-spacing: 0;
  color: var(--ink-faint);
  margin-left: 1px;
}

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }

.nav__link {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-block: 6px;
  transition: color 0.3s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--ink); }

.nav__link--cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  color: var(--ink-dim);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.nav__link--cta:hover { background: var(--ink); border-color: var(--ink); color: var(--bg-0); }
.nav__link--cta.is-active { color: var(--ink); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 19px 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.35s var(--ease-out);
  will-change: transform;
}
.btn--solid { background: var(--ink); border-color: var(--ink); color: var(--bg-0); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgba(236, 233, 226, 0.07); border-color: rgba(236, 233, 226, 0.35); }

/* ── HERO ───────────────────────────────────────────────── */
.hero { padding-block: clamp(48px, 8vh, 96px) var(--section-pad); }

.hero__inner {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.hero__kicker {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.26em;
  color: var(--ink-dim);
  margin-bottom: clamp(36px, 6vh, 64px);
}

.hero__photo {
  position: relative;
  width: min(400px, 82vw);
  margin-inline: auto;
}

.hero__photo-glow {
  position: absolute; inset: -14% -18%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), transparent 72%);
  z-index: -1;
  animation: glowPulse 7s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: 0.55; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1.04); }
}

.hero__photo-frame {
  border: 1px solid var(--line);
  outline: 1px solid var(--line-soft);
  outline-offset: 9px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.012);
}

.hero__photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.98);
}

.hero__photo-cap {
  display: flex; justify-content: space-between;
  margin-top: 20px;
  font: 400 10px/1 var(--mono);
  letter-spacing: 0.22em;
  color: var(--ink-faint);
}

.hero__title {
  margin-top: clamp(52px, 8vh, 88px);
  font: 300 clamp(2.7rem, 6.2vw, 5.4rem)/1.08 var(--serif);
  letter-spacing: -0.01em;
}

.hero__typing {
  margin-top: clamp(26px, 4vh, 40px);
  min-height: 1.9em;
  font: 400 clamp(0.85rem, 1.4vw, 0.95rem)/1.9 var(--mono);
  letter-spacing: 0.04em;
  color: var(--ink-dim);
}

.typing-caret {
  display: inline-block;
  width: 9px; height: 1.05em;
  margin-left: 6px;
  background: var(--ink);
  vertical-align: text-bottom;
  animation: caretBlink 0.9s steps(2, start) infinite;
}
@keyframes caretBlink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }
.is-typed .typing-caret { animation: none; opacity: 0; }

.hero__body {
  margin-top: clamp(32px, 5vh, 52px);
  text-align: left;
  display: flex; flex-direction: column; gap: 18px;
}
.hero__body p {
  font-size: clamp(0.92rem, 1.2vw, 0.98rem);
  line-height: 1.95;
  color: var(--ink-dim);
}

.hero__actions {
  margin-top: clamp(36px, 6vh, 56px);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 16px;
}

.hero__meta {
  margin-top: clamp(64px, 11vh, 110px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 32px);
  text-align: left;
}
.hero__meta-item { border-top: 1px solid var(--line); padding-top: 16px; }
.hero__meta-item dt {
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero__meta-item dd {
  margin-top: 10px;
  font: 500 13.5px/1.5 var(--sans);
  color: var(--ink);
}

/* ── ABOUT ──────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.about__body { display: flex; flex-direction: column; gap: 26px; padding-top: clamp(8px, 1.5vh, 20px); }

.about__lead {
  font: 300 clamp(1.45rem, 2.2vw, 1.9rem)/1.5 var(--serif);
  color: var(--ink);
}
.about__text {
  font-size: clamp(0.95rem, 1.2vw, 1.02rem);
  line-height: 2;
  color: var(--ink-dim);
  max-width: 52ch;
}

/* ── FASHION ────────────────────────────────────────────── */
.fashion__head { max-width: 720px; }

.fashion__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-top: clamp(16px, 3vh, 32px);
}

.fashion__col { display: flex; flex-direction: column; }
.fashion__col--right { padding-top: clamp(56px, 14vh, 150px); }

.photo { position: relative; }

.photo--1 { width: 100%; }
.photo--3 {
  width: min(64%, 380px);
  align-self: flex-end;
  margin-top: clamp(48px, 9vh, 110px);
  margin-right: 4%;
}
.photo--2 { width: 100%; }

.photo__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
}

.photo--1 .photo__frame { aspect-ratio: 4 / 5; }
.photo--2 .photo__frame { aspect-ratio: 3 / 2; }
.photo--3 .photo__frame { aspect-ratio: 4 / 3; }

.photo__parallax {
  position: absolute;
  inset: -9% 0;
  will-change: transform;
}

.photo__parallax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04) brightness(0.97);
  scale: 1.02;
  transition: scale 1.4s var(--ease-out);
}

.photo:hover .photo__parallax img { scale: 1.06; }

.photo__cap {
  display: flex; justify-content: space-between;
  margin-top: 14px;
  font: 400 10px/1 var(--mono);
  letter-spacing: 0.22em;
  color: var(--ink-faint);
}

/* ── SELECTED WORKS ─────────────────────────────────────── */
.work__head { max-width: 760px; }
.work__desc {
  margin-top: 26px;
  font-size: clamp(0.95rem, 1.2vw, 1.02rem);
  line-height: 2;
  color: var(--ink-dim);
  max-width: 62ch;
}

.projects { margin-top: clamp(56px, 9vh, 110px); }

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: center;
  padding-block: clamp(44px, 7vh, 80px);
  border-top: 1px solid var(--line-soft);
}
.project-card:first-child { border-top: 0; }

.project-card--flip .project-card__media { order: 2; }

.project-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  aspect-ratio: 16 / 10;
}

.project-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.94) saturate(0.9);
  scale: 1.01;
  transition: scale 1.3s var(--ease-out), filter 0.8s ease;
}
.project-card__media:hover img { scale: 1.05; filter: brightness(1) saturate(1); }

.project-card__media::after {
  content: "↗";
  position: absolute; top: 16px; right: 16px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 15px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}
.project-card__media:hover::after { opacity: 1; transform: translateY(0); }

.project-card__body { display: flex; flex-direction: column; align-items: flex-start; }

.project-card__meta {
  display: flex; align-items: center; gap: 18px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.project-card__index {
  font: 400 1.1rem/1 var(--serif);
  letter-spacing: 0;
  color: var(--ink-dim);
}
.project-card__name {
  margin-top: 18px;
  font: 300 clamp(2.3rem, 4.2vw, 3.8rem)/1.08 var(--serif);
  letter-spacing: -0.01em;
}
.project-card__desc {
  margin-top: 22px;
  font-size: clamp(0.93rem, 1.15vw, 1rem);
  line-height: 1.95;
  color: var(--ink-dim);
  max-width: 48ch;
}
.project-card__link { margin-top: 34px; }

/* Philosophy */
.philosophy { margin-top: clamp(96px, 14vh, 170px); }

.philosophy__head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(26px, 4vh, 42px);
}

.philosophy__lead {
  max-width: 34ch;
  font: 300 clamp(1.55rem, 2.9vw, 2.5rem)/1.4 var(--serif);
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: pretty;
}

.philosophy__copy {
  display: flex; flex-direction: column;
  gap: clamp(16px, 2.4vh, 24px);
  max-width: 48ch;
  padding-top: 0.35em;
}
.philosophy__copy p {
  font: 300 clamp(1rem, 1.15vw, 1.08rem)/1.9 var(--serif);
  color: var(--ink-dim);
  text-wrap: pretty;
}

.philosophy__grid {
  margin-top: clamp(52px, 8vh, 92px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}

.philo-card { display: flex; flex-direction: column; }

.philo-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
  transition: border-color 0.5s ease;
}
.philo-card:hover .philo-card__media { border-color: var(--line); }

.philo-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  transition: transform 1.6s var(--ease-out), filter 0.6s ease;
}
.philo-card__media--nietzsche img { object-position: 62% 32%; }
.philo-card__media--camus img { object-position: 32% 42%; }
.philo-card__media--marcus img { object-position: 50% 30%; }
.philo-card:hover .philo-card__media img {
  transform: scale(1.035);
  filter: grayscale(1) contrast(1.08) brightness(1.04);
}

.philo-card__body { padding-top: 18px; }

.philo-card__meta {
  display: flex; align-items: baseline; gap: 14px;
  font: 400 10.5px/1.4 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.philo-card__index { color: var(--ink-ghost); }
.philo-card__name { color: var(--ink-dim); }

.philo-card__title {
  margin-top: 12px;
  font: 300 clamp(1.4rem, 2vw, 1.75rem)/1.16 var(--serif);
  letter-spacing: 0.035em;
  color: var(--ink);
}
@media (min-width: 901px) {
  .philo-card__title { min-height: 2.32em; }
}

.philo-card__quote { margin-top: 16px; }
.philo-card__quote-en {
  font: 300 clamp(1.02rem, 1.25vw, 1.15rem)/1.58 var(--serif);
  font-style: italic;
  color: var(--ink-dim);
  text-wrap: pretty;
}
.philo-card__quote-id {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font: 400 0.82rem/1.85 var(--sans);
  color: var(--ink-faint);
  text-wrap: pretty;
}

/* ── SERVICES ───────────────────────────────────────────── */
.services__list { margin-top: clamp(8px, 2vh, 24px); }

.service-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 46ch) 40px;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding-block: clamp(30px, 5vh, 48px);
  border-top: 1px solid var(--line-soft);
  position: relative;
  transition: background 0.5s ease;
}
.service-row:last-child { border-bottom: 1px solid var(--line-soft); }

.service-row::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 72%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.service-row:hover::before { opacity: 1; }

.service-row__index {
  font: 400 12px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  transition: color 0.4s ease;
}
.service-row:hover .service-row__index { color: var(--ink); }

.service-row__title {
  font: 300 clamp(1.55rem, 3vw, 2.5rem)/1.15 var(--serif);
  letter-spacing: -0.01em;
  transition: transform 0.55s var(--ease-out);
}
.service-row:hover .service-row__title { transform: translateX(14px); }

.service-row__desc {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--ink-dim);
}

.service-row__arrow {
  font-size: 22px;
  color: var(--ink-dim);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}
.service-row:hover .service-row__arrow { opacity: 1; transform: translateX(0); }

/* ── PROCESS ────────────────────────────────────────────── */
.process__timeline {
  position: relative;
  margin-top: clamp(48px, 8vh, 90px);
  padding-left: clamp(32px, 6vw, 72px);
}

.process__line {
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line-soft);
}
.process__line-fill {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--ink), rgba(236, 233, 226, 0.25));
  box-shadow: 0 0 14px rgba(236, 233, 226, 0.35);
  transition: height 0.15s linear;
}

.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 300px) 1fr;
  gap: clamp(16px, 2.5vw, 40px);
  align-items: baseline;
  padding-block: clamp(26px, 4.5vh, 42px);
}
.process__step + .process__step { border-top: 1px solid var(--line-soft); }

.process__dot {
  position: absolute;
  left: calc(-1 * clamp(32px, 6vw, 72px) - 3.5px);
  top: calc(clamp(26px, 4.5vh, 42px) + 0.55em);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 1px solid var(--line);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.process__step.is-active .process__dot {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 12px rgba(236, 233, 226, 0.55);
}

.process__num {
  font: 400 12px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.process__title {
  font: 300 clamp(1.4rem, 2.4vw, 2rem)/1.15 var(--serif);
  transition: color 0.4s ease;
}
.process__step.is-active .process__title { color: var(--ink); }
.process__step:not(.is-active) .process__title { color: var(--ink-dim); }
.process__desc {
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--ink-dim);
  max-width: 52ch;
}

/* ── CONTACT ────────────────────────────────────────────── */
.contact__inner { text-align: center; max-width: 860px; }

.contact__inner .section__title { margin-inline: auto; }

.contact__desc {
  margin: clamp(24px, 4vh, 36px) auto 0;
  max-width: 52ch;
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  line-height: 2;
  color: var(--ink-dim);
}

.contact__actions {
  margin-top: clamp(40px, 7vh, 64px);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 16px;
}

.contact-btn {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 20px 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.35s var(--ease-out);
  will-change: transform;
}
.contact-btn__label { font: 300 clamp(1.2rem, 1.8vw, 1.45rem)/1 var(--serif); color: var(--ink); }
.contact-btn__arrow { font-size: 15px; color: var(--ink-dim); transition: transform 0.4s var(--ease-out), color 0.4s ease; }
.contact-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.contact-btn:hover .contact-btn__label { color: var(--bg-0); }
.contact-btn:hover .contact-btn__arrow { color: var(--bg-0); transform: translate(3px, -3px); }

/* ── ABOUT OXEN ─────────────────────────────────────────── */
.oxen-section { isolation: isolate; overflow: hidden; }

.oxen-giant-wrap {
  position: relative;
  display: grid; place-items: center;
  height: clamp(180px, 32vw, 460px);
  margin-block: clamp(8px, 2vh, 24px) clamp(40px, 7vh, 80px);
}

.oxen__silk {
  position: absolute; inset: -22%;
  background:
    radial-gradient(52% 46% at 30% 38%, rgba(255, 255, 255, 0.10), transparent 70%),
    radial-gradient(44% 40% at 72% 60%, rgba(255, 255, 255, 0.07), transparent 70%);
  animation: silkDrift 16s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes silkDrift {
  from { transform: translate3d(-4%, -2%, 0) scale(1); }
  to   { transform: translate3d(4%, 3%, 0) scale(1.1); }
}

.oxen-giant {
  position: relative;
  font: 300 clamp(6.5rem, 23vw, 25rem)/0.92 var(--serif);
  letter-spacing: 0.05em;
  color: #ffffff;
  mix-blend-mode: difference;
  user-select: none;
}

.oxen__body {
  margin-top: clamp(40px, 7vh, 72px);
  columns: 2;
  column-gap: clamp(44px, 6vw, 96px);
}
.oxen__body p {
  break-inside: avoid;
  font-size: clamp(0.93rem, 1.15vw, 1rem);
  line-height: 2.05;
  color: var(--ink-dim);
  margin-bottom: 22px;
}

.oxen__closing {
  margin-top: clamp(64px, 10vh, 110px);
  padding-top: clamp(36px, 6vh, 56px);
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font: 300 clamp(1.7rem, 3.4vw, 2.7rem)/1.3 var(--serif);
  color: var(--ink);
}

/* ── THANK YOU ──────────────────────────────────────────── */
.thanks__inner { text-align: center; max-width: 820px; }
.thanks__inner .section__title { margin-inline: auto; }

.thanks__text {
  margin: clamp(28px, 5vh, 44px) auto 0;
  max-width: 58ch;
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  line-height: 2.05;
  color: var(--ink-dim);
}

.thanks__next {
  margin-top: clamp(36px, 6vh, 56px);
  font: 300 clamp(1.3rem, 2.2vw, 1.7rem)/1.4 var(--serif);
  font-style: italic;
  color: var(--ink-faint);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line-soft); }

.footer__bar { border-top: 1px solid var(--line-soft); }
.footer__copy {
  text-align: center;
  padding: 26px var(--gutter);
  font: 400 11px/1.6 var(--mono);
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}

/* ── Progress bar ───────────────────────────────────────── */
.progress-bar {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px;
  z-index: 1000;
  pointer-events: none;
}
.progress-bar__fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, rgba(236, 233, 226, 0.35), var(--ink));
  transform: scaleX(0);
  transform-origin: left center;
}

/* ── Back to top ────────────────────────────────────────── */
.back-top {
  position: fixed;
  right: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 36px);
  z-index: 950;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 17px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s var(--ease-out), background 0.35s ease, color 0.35s ease;
}
.back-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--ink); color: var(--bg-0); border-color: var(--ink); }

/* ── Custom cursor ──────────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--ink);
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(236, 233, 226, 0.4);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
}
.cursor-ring.is-active {
  width: 64px; height: 64px;
  border-color: rgba(236, 233, 226, 0.7);
  background: rgba(236, 233, 226, 0.06);
}

.has-cursor, .has-cursor * { cursor: none !important; }

/* ── Toast ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  z-index: 10000;
  transform: translateX(-50%) translateY(10px);
  background: rgba(16, 16, 18, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 26px;
  font: 400 12px/1.4 var(--mono);
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Reveal animations (aktif hanya bila JS jalan) ──────── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition:
    opacity 0.9s ease,
    transform 1.05s var(--ease-out),
    filter 0.9s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.js [data-reveal="mask"] {
  transform: none;
  clip-path: inset(9% 10% 9% 10%);
  filter: none;
  transition: clip-path 1.25s var(--ease-out), opacity 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal="mask"].in-view {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.js [data-reveal="mask"] img {
  transform: scale(1.09);
  transition: transform 1.6s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal="mask"].in-view img { transform: scale(1); }

/* Split text reveal */
.js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  padding-right: 0.04em;
  margin-right: -0.04em;
}
.js [data-split] .wi {
  display: inline-block;
  transform: translateY(115%) rotate(2.5deg);
  opacity: 0;
  transition: transform 0.95s var(--ease-out), opacity 0.55s ease;
}
.js [data-split].in-view .wi {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 40ch) 32px; }
  .oxen__body { columns: 2; column-gap: 40px; }
}

@media (max-width: 900px) {
  :root { --section-pad: clamp(88px, 12vh, 130px); }

  /* Skip blur reveal di layar kecil demi performa */
  .js [data-reveal] { filter: none; }

  .nav__link:not(.nav__link--cta) { display: none; }

  .about__grid { grid-template-columns: 1fr; gap: clamp(32px, 5vh, 48px); }
  .about__body { padding-top: 0; }

  .fashion__grid { grid-template-columns: 1fr; gap: clamp(40px, 6vh, 64px); }
  .fashion__col--right { padding-top: 0; }
  .photo--3 { width: 86%; margin-right: 0; }

  .project-card { grid-template-columns: 1fr; gap: 28px; padding-block: clamp(48px, 7vh, 64px); }
  .project-card--flip .project-card__media { order: 0; }

  .philosophy__head { grid-template-columns: 1fr; gap: clamp(24px, 4vh, 36px); }
  .philosophy__copy { max-width: 58ch; padding-top: 0; }

  .philosophy__grid { grid-template-columns: 1fr; gap: 0; }
  .philo-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
    padding-block: clamp(28px, 4.5vh, 40px);
    border-top: 1px solid var(--line-soft);
  }
  .philo-card:last-child { border-bottom: 1px solid var(--line-soft); }
  .philo-card__body { padding-top: 0; }

  .service-row { grid-template-columns: 1fr; gap: 12px; padding-block: 34px; }
  .service-row__arrow { display: none; }
  .service-row:hover .service-row__title { transform: none; }

  .process__step { grid-template-columns: 1fr; gap: 8px; }
  .process__dot { top: calc(clamp(26px, 4.5vh, 42px) + 0.6em); }

  .oxen__body { columns: 1; }

  .contact__actions { flex-direction: column; align-items: stretch; }
  .contact-btn { justify-content: space-between; }
}

@media (max-width: 560px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
  .project-card__link { width: 100%; }
  .hero__meta { gap: 14px; }
  .hero__photo-cap { letter-spacing: 0.14em; }
  .philo-card { grid-template-columns: 1fr; gap: 20px; }
  .philo-card__meta { letter-spacing: 0.13em; }
}

/* Touch devices : matikan efek yang tidak relevan */
@media (hover: none) {
  .service-row:hover .service-row__title { transform: none; }
  .photo:hover .photo__parallax img { scale: 1.02; }
  .project-card__media:hover img { scale: 1.01; }
}

/* ── Reduced motion (opt-in via OXEN_CONFIG.motion) ─────── */
html.reduced-motion { scroll-behavior: auto; }

html.reduced-motion *,
html.reduced-motion *::before,
html.reduced-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  transition-delay: 0ms !important;
}

html.reduced-motion [data-reveal],
html.reduced-motion [data-reveal="mask"] {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  filter: none !important;
}
html.reduced-motion [data-reveal="mask"] img { transform: none !important; }
html.reduced-motion [data-split] .wi { opacity: 1 !important; transform: none !important; }

html.reduced-motion .marquee__track { animation: none !important; }
html.reduced-motion .typing-caret { display: none; }
