/* =====================================================
   MIRAGE FILM — CINEMATIC DARK THEME CSS
   造幻有限公司
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Noto+Serif+TC:wght@200;300;400&family=Share+Tech+Mono&display=swap');

/* ——— CSS Variables ——— */
:root {
  --bg-void:      #080808;
  --bg-deep:      #0d0d0d;
  --bg-surface:   #121212;
  --bg-card:      #1a1a1a;
  --bg-hover:     #222222;

  --gold:         #c8a96e;
  --gold-dim:     #8a6e3e;
  --gold-bright:  #e2c98a;
  --silver:       #9ba3a8;
  --silver-dim:   #5a6166;

  --text-bright:  #f0ece4;
  --text-body:    #b8b2a8;
  --text-muted:   #6e6860;
  --text-ghost:   #3a3632;

  --accent-red:   #8b1a1a;
  --accent-red-bright: #c0392b;
  --rule:         rgba(200, 169, 110, 0.18);
  --rule-dim:     rgba(200, 169, 110, 0.06);

  --font-display: 'Cormorant Garamond', 'Noto Serif TC', serif;
  --font-body:    'Noto Serif TC', serif;
  --font-mono:    'Share Tech Mono', monospace;

  --transition:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius:       2px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) var(--bg-void);
}

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

body {
  background: var(--bg-void);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ——— Film grain overlay ——— */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
  animation: grain 0.5s steps(1) infinite;
}

@keyframes grain {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-1%,-1%); }
  50%  { transform: translate(1%,0); }
  75%  { transform: translate(0,1%); }
  100% { transform: translate(-1%,1%); }
}

/* ——— Utility ——— */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ——— Header & Navigation ——— */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.6rem 0;
  transition: background 0.5s var(--transition), padding 0.4s var(--transition);
}

#site-header.scrolled {
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule-dim);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-logo__main {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
}

.site-logo__sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--silver-dim);
  text-transform: uppercase;
  margin-top: 3px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  list-style: none;
}

.primary-nav a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--transition);
}

.primary-nav a:hover { color: var(--gold-bright); }
.primary-nav a:hover::after { width: 100%; }

/* ——— Hero Section ——— */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(200, 169, 110, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(139, 26, 26, 0.08) 0%, transparent 60%),
    var(--bg-void);
}

/* CRT scanlines */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-text {}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--gold-dim);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-bright);
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--silver);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.hero-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  border-left: 1px solid var(--rule);
  padding-left: 1.5rem;
  margin-bottom: 3rem;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid rgba(200,169,110,0.2);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  transition: all 0.3s;
}

.service-tag:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: rgba(200,169,110,0.05);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bg-void);
  background: var(--gold);
  padding: 1rem 2.2rem;
  text-decoration: none;
  transition: all 0.3s var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-bright);
  transform: translateX(-100%);
  transition: transform 0.4s var(--transition);
}

.hero-cta:hover::before { transform: translateX(0); }
.hero-cta span { position: relative; z-index: 1; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-frame {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  border: 1px solid var(--rule);
  overflow: hidden;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.1);
  transition: filter 0.6s;
}

.hero-frame:hover img { filter: grayscale(0%) contrast(1.1); }

.hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 60%,
    rgba(200,169,110,0.06) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.frame-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--gold-dim);
  text-transform: uppercase;
}

/* ——— Section Common ——— */
.section {
  padding: 8rem 0;
  position: relative;
}

.section--dark {
  background: var(--bg-deep);
}

.section--surface {
  background: var(--bg-surface);
}

.section-header {
  margin-bottom: 5rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-eyebrow::before {
  content: attr(data-num);
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--text-bright);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.divider {
  width: 3rem;
  height: 1px;
  background: var(--rule);
  margin: 1.8rem 0;
}

/* ——— About / Profile ——— */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 6rem;
  align-items: start;
}

.profile-photo-wrap {
  position: sticky;
  top: 140px;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--rule);
  position: relative;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.1);
  transition: filter 0.6s;
}

.profile-photo:hover img { filter: grayscale(0%); }

.profile-photo-accent {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 60%;
  height: 60%;
  border: 1px solid rgba(200,169,110,0.12);
  pointer-events: none;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
}

.profile-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-role span { color: var(--text-ghost); }

.bio-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.education-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.education-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule-dim);
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.education-list li::before {
  content: '◆';
  font-size: 0.4rem;
  color: var(--gold-dim);
  flex-shrink: 0;
}

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,169,110,0.06);
  border: 1px solid rgba(200,169,110,0.2);
  padding: 0.6rem 1.2rem;
  margin-bottom: 0.6rem;
  margin-right: 0.6rem;
  font-size: 0.8rem;
  color: var(--gold);
}

.award-badge::before {
  content: '▲';
  font-size: 0.5rem;
}

/* ——— Works / Filmography ——— */
.works-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 4rem;
}

.work-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule-dim);
  transition: background 0.3s;
  cursor: default;
}

.work-item:hover {
  background: rgba(200,169,110,0.02);
  margin: 0 -2rem;
  padding: 2rem;
}

.work-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-dim);
  padding-top: 0.2rem;
}

.work-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 0.3rem;
}

.work-title-en {
  font-style: italic;
  color: var(--silver-dim);
  font-size: 0.85rem;
}

.work-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.work-role {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  border: 1px solid var(--rule-dim);
  padding: 0.2rem 0.6rem;
  text-transform: uppercase;
}

.work-role--highlight {
  color: var(--gold-dim);
  border-color: rgba(200,169,110,0.2);
}

.work-award {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  white-space: nowrap;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(200,169,110,0.3);
  background: rgba(200,169,110,0.04);
  align-self: start;
  margin-top: 0.2rem;
}

.work-format {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--silver-dim);
  margin-top: 0.2rem;
}

/* ——— Video Gallery ——— */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--rule-dim);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--transition);
}

.video-card:hover {
  border-color: var(--rule);
  transform: translateY(-4px);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 1.4rem;
}

.video-year {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.video-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.video-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ——— Equipment Section ——— */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.equipment-category {
  background: var(--bg-card);
  border: 1px solid var(--rule-dim);
  padding: 2rem;
}

.equipment-category-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-dim);
}

.equipment-list {
  list-style: none;
}

.equipment-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--rule-dim);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.equipment-list li::before {
  content: '—';
  color: var(--text-ghost);
  flex-shrink: 0;
  font-size: 0.7rem;
}

/* ——— Collaborator ——— */
.collab-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--rule-dim);
  padding: 3rem;
  margin-top: 3rem;
}

.collab-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--rule);
}

.collab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.5s;
}

.collab-card:hover .collab-photo img { filter: grayscale(0%); }

.collab-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
}

.collab-role {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.collab-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ——— Contact Section ——— */
#contact {
  background: var(--bg-void);
  border-top: 1px solid var(--rule-dim);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.contact-tagline {
  font-style: italic;
  color: var(--silver-dim);
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

.contact-detail {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule-dim);
}

.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dim);
  width: 4rem;
  flex-shrink: 0;
}

.contact-detail-value {
  font-size: 0.9rem;
  color: var(--text-body);
}

.contact-detail-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.contact-detail-value a:hover { color: var(--gold); }

.contact-form-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 0.6rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  border-radius: var(--radius);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold-dim);
  background: var(--bg-card);
}

.form-textarea {
  height: 140px;
  resize: vertical;
  line-height: 1.7;
}

.form-submit {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bg-void);
  background: var(--gold);
  border: none;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.form-submit:hover { background: var(--gold-bright); }

/* ——— Footer ——— */
#site-footer {
  background: var(--bg-void);
  border-top: 1px solid var(--rule-dim);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  color: var(--gold-dim);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--text-ghost);
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--gold); }

/* ——— Scroll animations ——— */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }

/* ——— Hamburger Menu ——— */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--silver);
  transition: all 0.3s;
}

/* ——— Mobile Nav ——— */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,8,8,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-bright);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-nav a:hover { color: var(--gold); }

.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: var(--silver-dim);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .hamburger { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual { order: -1; }
  .hero-frame { max-width: 320px; margin: 0 auto; }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .profile-photo-wrap { position: static; }

  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .collab-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .collab-photo { max-width: 200px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .container, .container--narrow { padding: 0 1.5rem; }
  .section { padding: 5rem 0; }
  .video-grid { grid-template-columns: 1fr; }

  .work-item {
    grid-template-columns: 60px 1fr;
  }

  .work-award { display: none; }
}

.fade-up {opacity:1;transform:none;}

/* Faithful portable edition: readable text, keyboard support and resilient layout. */
:root { --text-muted:#a19a90; --silver-dim:#a3a7aa; --text-ghost:#918b83; --gold-dim:#b49865; }
html { scroll-padding-top:7rem; }
body { overflow-x:clip; }
.hero-content, .profile-grid, .work-item, .contact-grid, .collab-card { min-width:0; }
.hero-content > *, .profile-grid > *, .work-item > *, .contact-grid > * { min-width:0; }
#hero { padding-block:8rem 4rem; min-height:100svh; }
.hero-title { line-height:1.15; }
.section-title { line-height:1.4; }
.hero-tagline,.bio-text,.education-list li,.equipment-list li,.collab-bio,.contact-detail-value,.form-input,.form-textarea { font-size:1rem; }
.primary-nav a,.footer-nav a,.service-tag,.hero-cta,.work-role,.work-format,.work-award,.equipment-category-title,.profile-role,.collab-role,.contact-detail-label,.contact-form-title,.form-label,.form-submit,.video-desc { font-size:.875rem; }
.hero-eyebrow,.section-eyebrow,.frame-label,.footer-copy,.site-logo__sub,.video-year { font-size:.75rem; }
.work-year,.work-title-en { font-size:.875rem; }
.hero-eyebrow { letter-spacing:.18em; }
.hero-eyebrow::before { flex-shrink:0; }
.hero-tagline { line-height:1.85; }
.primary-nav a,.footer-nav a { display:inline-block; padding-block:.6rem; }
.site-logo__sub { letter-spacing:.12em; line-height:1.5; }
.hero-services { gap:.6rem; }
.service-tag { padding:.35rem .65rem; letter-spacing:.04em; }
.profile-role,.collab-role { letter-spacing:.04em; line-height:1.9; }
.work-item { grid-template-columns:6rem minmax(0,1fr) auto; }
.work-award { white-space:normal; max-width:14rem; }
.video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.video-embed { padding-bottom:calc(56.25% + 2.8rem); }
.video-embed iframe { height:calc(100% - 2.8rem); }
.video-external { position:absolute; bottom:0; left:0; width:100%; height:2.8rem; display:flex; align-items:center; padding:0 1.4rem; font: .875rem var(--font-mono); color:var(--gold); text-decoration:none; background:var(--bg-surface); }
.video-external:hover { color:var(--gold-bright); text-decoration:underline; }
.equipment-category-title { letter-spacing:.06em; }
.equipment-list li { overflow-wrap:anywhere; }
.contact-detail-label { width:3rem; letter-spacing:.1em; }
.contact-detail-value { overflow-wrap:anywhere; }
.contact-form-title { margin-bottom:1rem; color:var(--gold); }
.contact-form-note { font-size:.875rem; line-height:1.8; margin-bottom:1.5rem; }
.contact-form-note a { color:var(--gold); }
#cf-response { font-size:.875rem; min-height:1.3em; margin-bottom:1rem; color:var(--gold); }
.form-input::placeholder,.form-textarea::placeholder { color:var(--text-muted); opacity:1; }
.mobile-nav { z-index:1100; overflow:auto; padding:5rem 1.5rem 2rem; }
.hamburger { min-width:44px; min-height:44px; align-items:center; justify-content:center; }
.mobile-nav-close { min-width:44px; min-height:44px; }
:focus-visible { outline:2px solid var(--gold-bright); outline-offset:5px; }
main:focus,section:focus { outline:none; }
.skip-link { position:fixed; z-index:1200; top:-6rem; left:1rem; background:var(--gold); padding:.6rem 1rem; color:#080808; }
.skip-link:focus { top:1rem; }
.fade-up { opacity:1; transform:none; }
.fade-up.will-reveal:not(.visible) { opacity:0; transform:translateY(16px); }
@media(max-width:1000px) {
 .profile-grid { gap:3rem; }
 .contact-grid { gap:3rem; }
 .equipment-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .hero-content { gap:3rem; }
 .work-item { grid-template-columns:5rem minmax(0,1fr); }
 .work-award { grid-column:2; justify-self:start; }
}
@media(max-width:768px) {
 #hero { padding-block:9rem 4rem; }
 .container,.hero-content { padding-inline:1.5rem; }
 .hero-content,.profile-grid,.contact-grid,.collab-card { grid-template-columns:minmax(0,1fr); }
 .hero-content { gap:3rem; }
 .hero-visual { display:none; }
 .profile-photo-wrap { position:static; max-width:28rem; }
 .video-grid { grid-template-columns:minmax(0,1fr); }
 .section { padding-block:5rem; }
 .section-header { margin-bottom:3rem; }
 .work-item { grid-template-columns:4.7rem minmax(0,1fr); gap:1rem; }
 .work-item:hover { margin:0; padding:2rem 0; }
 .work-award { grid-column:2; }
 .collab-card { padding:1.5rem; gap:2rem; }
 .collab-photo { max-width:16rem; }
 .footer-inner { flex-wrap:wrap; gap:1.5rem; }
 .footer-copy { line-height:1.8; }
}
@media(max-width:480px) {
 .equipment-grid { grid-template-columns:minmax(0,1fr); }
 .equipment-category { padding:1.5rem; }
 .hero-services { margin-bottom:2rem; }
 .hero-title { font-size:4.5rem; }
 .hero-eyebrow { letter-spacing:.1em; }
 .hero-tagline { padding-left:1rem; }
 .footer-inner { flex-direction:column; align-items:flex-start; }
}
@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
 .fade-up.will-reveal { opacity:1; transform:none; }
}

.work-award { display:block; }
@media(max-width:900px) { .hero-visual { display:none; } }

.video-poster { position:absolute; inset:0 0 2.8rem; width:100%; height:calc(100% - 2.8rem); border:0; background:#111; color:#fff; cursor:pointer; padding:0; overflow:hidden; }
.video-poster img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.video-poster:hover img { transform:scale(1.035); }
.video-poster::after { content:''; position:absolute; inset:50% 0 0; background:linear-gradient(transparent,rgba(0,0,0,.6)); pointer-events:none; }
.video-play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:3.5rem; height:3.5rem; display:grid; place-items:center; padding-left:.15rem; border:1px solid #d9c59d; border-radius:50%; background:rgba(8,8,8,.8); color:#e2c98a; font-size:1.15rem; z-index:1; }
.video-play-label { position:absolute; z-index:1; bottom:.75rem; right:1rem; font-size:.875rem; letter-spacing:.1em; }
