/* ═══════════════════════════════════════════════════════════════
   APP.CSS — DV Digital Atelier
   Architecture:
     1. Design Tokens (CSS custom properties)
     2. Reset & Base
     3. Utility Classes
     4. Keyframe Animations
     5. Layout
     6. Components — Cursor
     7. Components — Loader
     8. Components — Grain & Aurora
     9. Components — Navigation
    10. Components — Hero
    11. Components — Marquee
    12. Components — Section Header
    13. Components — Works Grid
    14. Components — About
    15. Components — Contact & Form
    16. Components — Footer
    17. Responsive Overrides
═══════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────
   1. DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  /* Background */
  --bg:          #060812;
  --bg-2:        #0C1020;
  --bg-card:     #0E1422;

  /* Text */
  --cream:       #EDE8DF;
  --cream-dim:   rgba(237, 232, 223, 0.55);
  --cream-ghost: rgba(237, 232, 223, 0.4);

  /* Accent */
  --gold:        #C4965A;
  --gold-dim:    rgba(196, 150, 90, 0.35);
  --blue:        #23286b;
  --blue-dim:    rgb(24, 27, 75);
  --cyan:        #3ECFCF;
  --cyan-dim:    rgba(62, 207, 207, 0.2);

  /* Borders */
  --border:      rgba(237, 232, 223, 0.08);
  --border-mid:  rgba(237, 232, 223, 0.18);

  /* Typography */
  --serif:  'Cormorant Garamond', Georgia, serif;
  --mono:   'Space Mono', 'Courier New', monospace;

  /* Easing */
  --ease-butter: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-drama:  cubic-bezier(0.16, 1, 0.3, 1);
}


/* ─────────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@media (pointer: fine) {
  *, *::before, *::after {
    cursor: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--gold-dim);
  color: var(--cream);
}

::-webkit-scrollbar          { width: 3px; }
::-webkit-scrollbar-track    { background: var(--bg); }
::-webkit-scrollbar-thumb    { background: var(--gold-dim); border-radius: 2px; }

/* ─────────────────────────────────────────────
   3. UTILITY CLASSES
   Reusable single-purpose helpers consumed
   across multiple components.
───────────────────────────────────────────── */

/* --- Accessibility — Skip Links --- */
.skip-links {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100000;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: top 0.2s;
  white-space: nowrap;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --- Accessibility — Screen Reader Only --- */
.u-sr-only {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
}

/* --- Typography --- */
.u-font-serif   { font-family: var(--serif); }
.u-font-mono    { font-family: var(--mono); }
.u-font-light   { font-weight: 300; }
.u-font-regular { font-weight: 400; }
.u-font-bold    { font-weight: 700; }
.u-italic       { font-style: italic; }

.u-text-cream       { color: var(--cream); }
.u-text-cream-dim   { color: var(--cream-dim); }
.u-text-cream-ghost { color: var(--cream-ghost); }
.u-text-gold        { color: var(--gold); }
.u-text-cyan        { color: var(--cyan); }

.u-text-xs   { font-size: 9px; }
.u-text-sm   { font-size: 10px; }
.u-text-base { font-size: 11px; }
.u-text-md   { font-size: 12px; }

.u-uppercase       { text-transform: uppercase; }
.u-tracking-wide   { letter-spacing: 0.2em; }
.u-tracking-wider  { letter-spacing: 0.25em; }
.u-tracking-widest { letter-spacing: 0.3em; }

/* --- Display --- */
.u-flex         { display: flex; }
.u-flex-col     { display: flex; flex-direction: column; }
.u-flex-center  { display: flex; align-items: center; justify-content: center; }
.u-items-center { align-items: center; }
.u-items-end    { align-items: flex-end; }
.u-justify-between { justify-content: space-between; }

.u-grid { display: grid; }

.u-relative { position: relative; }
.u-absolute { position: absolute; }
.u-fixed    { position: fixed; }

.u-inset-0 { inset: 0; }
.u-overflow-hidden { overflow: hidden; }
.u-pointer-none { pointer-events: none; }
.u-pointer-auto { pointer-events: auto; }

/* --- Spacing helpers --- */
.u-gap-sm  { gap: 0.5rem; }
.u-gap-md  { gap: 1rem; }
.u-gap-lg  { gap: 1.5rem; }
.u-gap-xl  { gap: 2rem; }

/* --- Borders --- */
.u-border-t       { border-top: 1px solid var(--border); }
.u-border-b       { border-bottom: 1px solid var(--border); }
.u-border-subtle  { border: 1px solid var(--border); }
.u-border-mid     { border: 1px solid var(--border-mid); }
.u-border-gold    { border: 1px solid var(--gold-dim); }
.u-border-radius-pill { border-radius: 100px; }
.u-border-radius-sm   { border-radius: 2px; }

/* --- Backgrounds --- */
.u-bg-base    { background: var(--bg); }
.u-bg-2       { background: var(--bg-2); }
.u-bg-card    { background: var(--bg-card); }
.u-bg-transp  { background: transparent; }

/* --- Decorative divider --- */
.u-hr-gradient {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-mid) 30%,
    var(--border-mid) 70%,
    transparent
  );
  margin: 0 3rem;
}

/* --- Scroll-reveal base state --- */
.u-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity   0.9s var(--ease-drama),
    transform 0.9s var(--ease-drama);
}

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

/* Staggered delay modifiers */
.u-delay-1 { transition-delay: 0.1s; }
.u-delay-2 { transition-delay: 0.2s; }
.u-delay-3 { transition-delay: 0.35s; }
.u-delay-4 { transition-delay: 0.5s; }

/* --- Transition presets --- */
.u-transition-std  { transition: all 0.4s var(--ease-butter); }
.u-transition-slow { transition: all 0.8s var(--ease-butter); }
.u-transition-fast { transition: all 0.2s ease-out; }


/* ─────────────────────────────────────────────
   4. KEYFRAME ANIMATIONS
───────────────────────────────────────────── */
@keyframes loaderPulse {
  from { opacity: 0.3; letter-spacing: 0.25em; }
  to   { opacity: 0.8; letter-spacing: 0.35em; }
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, -3%); }
  40%  { transform: translate(-5%, 2%); }
  60%  { transform: translate(2%, -4%); }
  80%  { transform: translate(4%, 3%); }
  100% { transform: translate(-1%, 4%); }
}

@keyframes auroraFloat {
  0%   { transform: translate(0%, 0%)   scale(1); }
  33%  { transform: translate(5%, -8%)  scale(1.1); }
  66%  { transform: translate(-4%, 6%)  scale(0.95); }
  100% { transform: translate(3%, -3%)  scale(1.05); }
}

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

@keyframes fadeInScroll {
  to { opacity: 1; }
}

@keyframes scrollDrop {
  0%   { top: -100%; opacity: 0; }
  20%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes marqueeRun {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ─────────────────────────────────────────────
   5. LAYOUT
───────────────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  padding: 7rem 3rem;
}


/* ─────────────────────────────────────────────
   6. COMPONENT — CURSOR
───────────────────────────────────────────── */
#cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--cream);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(237, 232, 223, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition:
    width        0.35s var(--ease-butter),
    height       0.35s var(--ease-butter),
    border-color 0.2s,
    opacity      0.2s;
}

body.cursor-hover #cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
}

body.cursor-hover #cursor-ring {
  width: 56px;
  height: 56px;
  border-color: var(--gold-dim);
}

/* Hide custom cursor on mobile / touch devices */
@media (hover: none) and (pointer: coarse) {
  #cursor-dot, #cursor-ring {
    display: none !important;
  }
}


/* ─────────────────────────────────────────────
   7. COMPONENT — LOADER
───────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: opacity 0.8s var(--ease-drama), visibility 0.8s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__logo {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--cream-dim);
  animation: loaderPulse 2s ease-in-out infinite alternate;
}

.loader__bar-track {
  width: clamp(180px, 30vw, 320px);
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.loader__bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transition: width 0.1s linear;
}

.loader__count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cream-dim);
  opacity: 0.5;
}


/* ─────────────────────────────────────────────
   8. COMPONENT — GRAIN & AURORA
───────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  opacity: 0.028;
  pointer-events: none;
  z-index: 9990;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.4s steps(1) infinite;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0;
  animation: auroraFloat 20s ease-in-out infinite alternate;
}

.aurora__orb:nth-child(1) {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(62, 207, 207, 0.12) 0%, transparent 70%);
  top: -20%;
  left: -15%;
  animation-duration: 25s;
  animation-delay: 0s;
}

.aurora__orb:nth-child(2) {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(196, 150, 90, 0.1) 0%, transparent 70%);
  bottom: -20%;
  right: -10%;
  animation-duration: 30s;
  animation-delay: -8s;
}

.aurora__orb:nth-child(3) {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(100, 80, 200, 0.08) 0%, transparent 70%);
  top: 40%;
  left: 35%;
  animation-duration: 35s;
  animation-delay: -15s;
}

/* JS adds this class after loader completes */
.aurora--visible .aurora__orb {
  opacity: 1;
  transition: opacity 2s ease;
}


/* ─────────────────────────────────────────────
   9. COMPONENT — NAVIGATION
───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  pointer-events: none;
}

.nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 8, 18, 0.85) 0%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.nav > * { pointer-events: auto; }

.nav__logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s, letter-spacing 0.5s var(--ease-butter);
}

.nav__logo:hover {
  color: var(--gold);
  letter-spacing: 0.35em;
}

.nav__links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav__link {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cream-dim);
  text-decoration: none;
  padding: 6px 16px;
  border: 1px solid transparent;
  border-radius: 100px;
  transition: all 0.3s var(--ease-butter);
}

.nav__link:hover {
  color: var(--cream);
  border-color: var(--border-mid);
  background: rgba(237, 232, 223, 0.04);
  text-shadow: 0 0 20px rgba(237, 232, 223, 0.3);
}

.nav__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}


/* ─────────────────────────────────────────────
   10. COMPONENT — HERO
───────────────────────────────────────────── */
body.is-loading {
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero__content { padding-top: 20vh; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   0.8s var(--ease-drama) 0.3s,
    transform 0.8s var(--ease-drama) 0.3s;
}

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

.hero__eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: block;
  flex-shrink: 0;
}

.hero__eyebrow-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 11vw, 12rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 3rem;
}

.hero__title em {
  font-style: italic;
  color: var(--cream-dim);
}

/* Animated underline accent on a title word */
.hero__title .hero__accent-word {
  display: inline-block;
  position: relative;
}

.hero__title .hero__accent-word::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-drama) 1.2s;
}

.hero__title .hero__accent-word.is-lined::after { transform: scaleX(1); }

/* Each title line clips & slides up */
.hero__line {
  overflow: hidden;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.01s, transform 0.9s var(--ease-drama);
}

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

.hero__line:nth-child(1) { transition-delay: 0.5s; }
.hero__line:nth-child(2) { transition-delay: 0.65s; }
.hero__line:nth-child(3) { transition-delay: 0.8s; }

.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.hero__desc {
  max-width: 320px;
  font-size: 12px;
  color: var(--cream-dim);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   0.8s var(--ease-drama) 1.1s,
    transform 0.8s var(--ease-drama) 1.1s;
}

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

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInScroll 1s var(--ease-drama) 1.5s forwards;
}

.hero__scroll-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-ghost);
  writing-mode: vertical-rl;
}

.hero__scroll-track {
  width: 1px;
  height: 60px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.hero__scroll-fill {
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollDrop 2s var(--ease-butter) 2s infinite;
}


/* ─────────────────────────────────────────────
   11. COMPONENT — MARQUEE
───────────────────────────────────────────── */
.marquee {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-2);
}

.marquee__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 1.1rem 0;
  animation: marqueeRun 18s linear infinite;
}

.marquee__track:hover { animation-play-state: paused; }

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--cream-dim);
}

.marquee__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.6;
}


/* ─────────────────────────────────────────────
   12. COMPONENT — SECTION HEADER
───────────────────────────────────────────── */
.section-header {
  margin-bottom: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.section-header__label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-header__label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.section-header__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.section-header__title em {
  font-style: italic;
  color: var(--cream-dim);
}

.section-header__count {
  font-size: 10px;
  color: var(--cream-ghost);
  letter-spacing: 0.2em;
  align-self: flex-end;
}


/* ─────────────────────────────────────────────
   13. COMPONENT — WORKS GRID
───────────────────────────────────────────── */
#works { padding-top: 9rem; }

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.work-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
}

.work-card:nth-child(odd)  { margin-top: 0; }
.work-card:nth-child(even) { margin-top: 5rem; }

.work-card__visual {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}

/* Subtle grid lines over each card visual */
.work-card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(237, 232, 223, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 232, 223, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.work-card__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.8s var(--ease-butter);
}

.work-card:hover .work-card__bg { transform: scale(1.05); }

/* Unique gradient per card */
.work-card:nth-child(1) .work-card__bg {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(62, 207, 207, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(196, 150, 90, 0.18) 0%, transparent 55%),
    var(--bg-card);
}

.work-card:nth-child(2) .work-card__bg {
  background:
    radial-gradient(ellipse at 70% 70%, rgba(160, 100, 220, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 30%, rgba(62, 207, 207, 0.12) 0%, transparent 55%),
    var(--bg-card);
}

.work-card:nth-child(3) .work-card__bg {
  background:
    radial-gradient(ellipse at 50% 90%, rgba(196, 150, 90, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 10%, rgba(62, 100, 207, 0.15) 0%, transparent 55%),
    var(--bg-card);
}

.work-card:nth-child(4) .work-card__bg {
  background:
    radial-gradient(ellipse at 10% 50%, rgba(62, 207, 140, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 50%, rgba(207, 62, 100, 0.12) 0%, transparent 55%),
    var(--bg-card);
}

.work-card__num {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgb(0, 0, 0, 30%);
  z-index: 2;
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(6, 8, 18, 0.92); */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity   0.4s var(--ease-butter),
    transform 0.4s var(--ease-butter);
  z-index: 3;
}

.work-card:hover .work-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.work-card__view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--blue);
  text-decoration: none;
  border: 1px solid var(--blue-dim);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 100px;
  width: fit-content;
  transition: all 0.25s var(--ease-butter);
}

.work-card__view-btn:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.work-card__info {
  padding: 1.8rem 1.5rem;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.work-card__name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--cream);
}

.work-card__name__link {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--cream);
}

.work-card__name__link h3 {
  transform: translate(-2px, 2px);
  transition: all 0.3s var(--ease-butter);
}

.work-card__name__link:hover h3 {
  transform: translate(0, 0);
}

.work-card__name__arrow {
  opacity: 0;
  color: var(--gold);
  transform: translate(-4px, 4px);
  transition: all 0.3s var(--ease-butter);
}

.work-card.u-delay-2:hover .work-card__name__arrow{
  opacity: 1;
  transform: translate(0, 0);
}

.work-card__tag {
  font-size: 9px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cream-dim);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
}


/* ─────────────────────────────────────────────
   14. COMPONENT — ABOUT
───────────────────────────────────────────── */
#about { padding-top: 9rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8rem;
  align-items: start;
}

.about__portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-card);
  overflow: hidden;
}

.about__portrait-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(62, 207, 207, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(196, 150, 90, 0.15) 0%, transparent 60%),
    var(--bg-card);
}

.about__portrait-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(237, 232, 223, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 232, 223, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.about__portrait-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 300;
  color: rgba(237, 232, 223, 0.06);
  letter-spacing: 0.2em;
}

/* Corner bracket decorations */
.about__portrait-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold-dim);
  border-style: solid;
}

.about__portrait-corner--tl { top: 1rem;    left: 1rem;  border-width: 1px 0 0 1px; }
.about__portrait-corner--br { bottom: 1rem; right: 1rem; border-width: 0 1px 1px 0; }

.about__text { padding-top: 1rem; }

.about__bio {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--cream);
  margin-bottom: 3rem;
}

.about__bio em {
  font-style: italic;
  color: var(--cream-dim);
}

.about__detail {
  font-size: 11px;
  color: var(--cream-dim);
  line-height: 1.9;
  margin-bottom: 3rem;
}

.about__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cream-dim);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  transition: all 0.25s;
}

.skill-tag:hover {
  border-color: var(--gold-dim);
  color: var(--cream);
}

.about__stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.about__stat-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about__stat-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cream-dim);
}


/* ─────────────────────────────────────────────
   15. COMPONENT — CONTACT & FORM
───────────────────────────────────────────── */
#contact {
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.contact__headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
}

.contact__headline em {
  font-style: italic;
  color: var(--cream-dim);
}

.contact__detail {
  margin-top: 2rem;
  font-size: 11px;
  color: var(--cream-dim);
  line-height: 2;
}

.contact__links {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--cream-dim);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: all 0.3s var(--ease-butter);
}

.contact__link:hover {
  color: var(--cream);
  padding-left: 0.5rem;
  border-bottom-color: var(--gold-dim);
}

.contact__link-arrow {
  opacity: 0;
  transform: translate(-4px, 4px);
  font-size: 12px;
  transition: all 0.3s var(--ease-butter);
}

.contact__link:hover .contact__link-arrow {
  opacity: 1;
  transform: translate(0, 0);
  color: var(--gold);
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--cream-ghost);
}

.form__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 12px;
  padding: 0.8rem 0;
  outline: none;
  width: 100%;
  transition: border-color 0.3s;
}

.form__input::placeholder { color: var(--cream-ghost); }
.form__input:focus        { border-bottom-color: var(--gold); }

textarea.form__input {
  resize: none;
  min-height: 100px;
}

.form__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  padding: 1rem 1.5rem;
  transition: all 0.35s var(--ease-butter);
}

.form__submit:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  padding-right: 1.8rem;
}

.form__submit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form__submit-arrow {
  font-size: 14px;
  color: var(--gold);
  transition: transform 0.3s var(--ease-spring);
}

.form__submit:hover .form__submit-arrow {
  transform: translate(4px, -4px);
}


/* ─────────────────────────────────────────────
   16. COMPONENT — FOOTER
───────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy  { font-size: 10px; color: var(--cream-ghost); letter-spacing: 0.1em; }
.footer__logo  { font-family: var(--serif); font-size: 1.2rem; font-weight: 300; letter-spacing: 0.2em; color: var(--cream-ghost); }
.footer__time  { font-size: 10px; color: var(--cream-ghost); letter-spacing: 0.1em; }


/* ─────────────────────────────────────────────
   17. RESPONSIVE OVERRIDES
───────────────────────────────────────────── */
@media (max-width: 900px) {
  section               { padding: 5rem 1.5rem; }
  .nav                  { padding: 1.5rem; }
  .works-grid           { grid-template-columns: 1fr; }
  .work-card:nth-child(even) { margin-top: 0; }
  .about-grid           { grid-template-columns: 1fr; gap: 3rem; }
  .about__portrait      { aspect-ratio: 4 / 3; max-height: 280px; }
  .contact__inner       { grid-template-columns: 1fr; gap: 4rem; }
  .about__stats         { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  footer                { flex-direction: column; gap: 0.8rem; text-align: center; }
}

@media (max-width: 600px) {
  .hero__title          { font-size: clamp(3rem, 14vw, 5rem); }
  .hero__bottom         { flex-direction: column; gap: 2rem; align-items: flex-start;}
  .section-header       { align-items: flex-start; gap: 1rem; }
}


/* ─────────────────────────────────────────────
   18. REDUCED MOTION
   Respect prefers-reduced-motion OS setting.
   Disables decorative animations while keeping
   functional state transitions short but present.
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  /* Keep scroll reveals functional but instant */
  .u-reveal {
    opacity: 1;
    transform: none;
  }

  /* Keep hero lines visible immediately */
  .hero__eyebrow,
  .hero__line,
  .hero__desc {
    opacity: 1;
    transform: none;
  }

  /* Keep loader functional but snappy */
  .loader__logo {
    animation: none;
    opacity: 0.8;
  }

  /* Disable purely decorative effects */
  .grain           { animation: none; }
  .aurora__orb     { animation: none; opacity: 0.6; }
  .marquee__track  { animation: none; }
  .hero__scroll    { animation: none; opacity: 1; }
  .hero__scroll-fill { animation: none; }
  .hero__accent-word::after { transform: scaleX(1); transition: none; }
}
