/* ─────────────────────────── HERO ─────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 96px 72px 64px;
  display: grid; grid-template-columns: 1fr;
  align-content: space-between;
  position: relative; z-index: 2;
}

.hero-top {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: end;
}

/* AVATAR FRAME */
.avatar-frame {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  opacity: 0; animation: fadeUp 1s .15s forwards;
}
.avatar-img {
  position: absolute; inset: 12px;
  background:
    radial-gradient(circle at 30% 30%, #2a2620 0%, #14110d 70%),
    var(--ink-card);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.avatar-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-frame::before, .avatar-frame::after,
.avatar-frame > .av-corner-br, .avatar-frame > .av-corner-bl {
  content: '';
  position: absolute; width: 18px; height: 18px;
  border: 1px solid var(--brass);
}
.avatar-frame::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.avatar-frame::after  { top: 0; right: 0; border-left: none;  border-bottom: none; }
.avatar-frame .av-corner-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.avatar-frame .av-corner-br { bottom: 0; right: 0; border-left: none;  border-top: none; }

/* RIGHT: name block */
.hero-name-block {
  padding-bottom: 8px;
}
.name-eyebrow {
  font-size: 11px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 28px;
  opacity: 0; animation: fadeUp .8s .1s forwards;
  display: flex; align-items: center; gap: 16px;
}
.name-eyebrow::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
  max-width: 320px;
}

.hero-name {
  font-family: var(--ff-disp);
  font-size: clamp(72px, 8.5vw, 144px);
  font-weight: 400; line-height: .9;
  letter-spacing: -0.025em; color: var(--bone);
  margin-bottom: 32px;
  opacity: 0; animation: fadeUp 1s .35s forwards;
}
.hero-name em {
  font-style: italic; color: var(--brass); font-weight: 400;
}

.hero-tagline {
  font-family: var(--ff-disp);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400; line-height: 1.5;
  color: var(--cream);
  max-width: 620px;
  opacity: 0; animation: fadeUp 1s .6s forwards;
}
.hero-tagline em { color: var(--brass); font-style: italic; }
.hero-tagline span { color: var(--muted); }

/* HERO BOTTOM: meta strip */
.hero-meta {
  display: grid; grid-template-columns: 360px 1fr auto;
  gap: 64px; align-items: center;
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
  margin-top: 56px;
  opacity: 0; animation: fadeUp 1s .85s forwards;
}
.meta-coord {
  font-family: var(--ff-disp); font-size: 13px; font-style: italic;
  color: var(--muted); letter-spacing: .04em;
}
.meta-coord em { color: var(--brass); }
.meta-roles {
  display: flex; gap: 32px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.meta-roles strong {
  color: var(--cream); font-weight: 500;
  font-family: var(--ff-disp); font-size: 13px;
  letter-spacing: .04em; text-transform: none;
}
.meta-roles em {
  color: var(--brass); font-style: italic; font-family: var(--ff-disp);
  font-size: 13px; letter-spacing: 0; text-transform: none;
}
.scroll-hint {
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: center; gap: 12px;
}
.scroll-hint::after {
  content: ''; width: 1px; height: 32px; background: var(--brass);
  animation: scrollGrow 2s ease-in-out infinite;
}
@keyframes scrollGrow {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ─────────────────────────── IDENTITIES ─────────────────────────── */
.identities {
  background: var(--ink-soft);
  position: relative;
}
.identities::before {
  content: '';
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg,  rgba(201,169,97,0.018) 0, rgba(201,169,97,0.018) 1px, transparent 1px, transparent 32px),
    repeating-linear-gradient(90deg, rgba(201,169,97,0.018) 0, rgba(201,169,97,0.018) 1px, transparent 1px, transparent 32px);
}

.identity-stack {
  padding: 0 72px 40px;
  display: flex; flex-direction: column;
  position: relative;
}
.identity-row {
  display: grid; grid-template-columns: 80px 1fr 200px;
  gap: 40px; align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s, background .3s;
  position: relative;
  cursor: none;
}
.identity-row:last-child { border-bottom: none; }
.identity-row:hover .identity-icon { color: var(--bone); transform: scale(1.08); }
.identity-row::after {
  content: ''; position: absolute; left: 0; bottom: -1px;
  height: 1px; width: 0; background: var(--brass);
  transition: width .5s cubic-bezier(.2,.7,.2,1);
}
.identity-row:hover::after { width: 100%; }

.identity-icon {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brass);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), color .3s;
}
.identity-icon svg { width: 100%; height: 100%; }

.identity-text { padding: 4px 0; }
.identity-label {
  font-family: var(--ff-disp); font-style: italic;
  font-size: 11px; color: var(--brass);
  margin-bottom: 8px; letter-spacing: .04em;
}
.identity-title {
  font-family: var(--ff-disp); font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 400; line-height: 1.1; color: var(--bone);
  margin-bottom: 10px; letter-spacing: -0.012em;
}
.identity-title em { font-style: italic; color: var(--brass); }
.identity-desc {
  font-size: 14px; line-height: 1.7; color: var(--muted);
  max-width: 580px;
}

.identity-meta {
  text-align: right;
}
.identity-meta .year {
  font-family: var(--ff-disp); font-style: italic;
  font-size: 32px; color: var(--brass); line-height: 1;
  margin-bottom: 6px;
}
.identity-meta .since {
  font-size: 9px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted);
}

/* ─────────────────────────── CAROUSEL ─────────────────────────── */
.carousel-section {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.carousel-stage {
  padding: 56px 72px;
  position: relative;
}

.carousel-window {
  display: grid; grid-template-columns: 56fr 44fr;
  gap: 56px;
  align-items: stretch;
  min-height: 520px;
  position: relative;
}

/* IMAGE STAGE */
.carousel-stage-img {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid var(--line);
}
.carousel-stage-img::before, .carousel-stage-img::after,
.carousel-stage-img > .cs-corner-bl, .carousel-stage-img > .cs-corner-br {
  content: '';
  position: absolute; width: 14px; height: 14px;
  border: 1px solid var(--brass); z-index: 5;
  pointer-events: none;
}
.carousel-stage-img::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.carousel-stage-img::after  { top: 8px; right: 8px; border-left: none;  border-bottom: none; }
.carousel-stage-img > .cs-corner-bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.carousel-stage-img > .cs-corner-br { bottom: 8px; right: 8px; border-left: none;  border-top: none; }

.slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease-in-out;
  display: flex; align-items: center; justify-content: center;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.92) contrast(1.05);
}

/* Designed placeholder slides */
.slide-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
  background:
    radial-gradient(circle at 30% 30%, #1f1c16 0%, #0a0a0a 75%),
    var(--ink-card);
  position: relative;
}
.slide-placeholder::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image:
    repeating-linear-gradient(0deg,  rgba(201,169,97,0.03) 0, rgba(201,169,97,0.03) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(90deg, rgba(201,169,97,0.03) 0, rgba(201,169,97,0.03) 1px, transparent 1px, transparent 24px);
}
.slide-placeholder svg {
  width: 140px; height: 140px;
  color: rgba(201,169,97,.55);
  filter: drop-shadow(0 0 30px rgba(201,169,97,.15));
}
.slide-placeholder .ph-label {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--muted); position: relative;
}
.slide-placeholder .ph-label em {
  color: var(--brass); font-style: normal;
}

/* CAPTION SIDE */
.carousel-caption {
  display: flex; flex-direction: column; justify-content: center;
  padding-left: 8px;
}
.cap-index {
  font-family: var(--ff-disp); font-style: italic;
  font-size: 13px; color: var(--brass);
  letter-spacing: .04em; margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.cap-index::before {
  content: ''; width: 28px; height: 1px; background: var(--brass);
}

.cap-category {
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}

.cap-name {
  font-family: var(--ff-disp);
  font-size: clamp(36px, 3.6vw, 56px);
  font-weight: 400; line-height: 1.05;
  color: var(--bone); margin-bottom: 14px;
  letter-spacing: -0.015em;
  min-height: 1.05em;
}
.cap-name em { font-style: italic; color: var(--brass); }

.cap-detail {
  font-size: 14px; line-height: 1.7; color: var(--muted);
  max-width: 380px; margin-bottom: 32px;
}

.cap-meta {
  display: flex; gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.cap-meta-item {
  display: flex; flex-direction: column; gap: 4px;
}
.cap-meta-item .k {
  font-size: 9px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted);
}
.cap-meta-item .v {
  font-family: var(--ff-disp); font-size: 16px; color: var(--bone);
  letter-spacing: .02em;
}
.cap-meta-item .v em { font-style: italic; color: var(--brass); }

/* CONTROLS */
.carousel-controls {
  margin-top: 32px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.carousel-dots {
  display: flex; gap: 6px;
}
.dot {
  width: 32px; height: 2px; background: var(--line-strong);
  cursor: none; transition: background .3s;
  position: relative; overflow: hidden;
}
.dot.active { background: rgba(201,169,97,.25); }
.dot.active::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--brass); width: 0%;
  animation: dotProgress 5s linear forwards;
}
@keyframes dotProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.carousel-nav {
  display: flex; gap: 4px;
}
.nav-btn {
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--cream); cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
}
.nav-btn:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.nav-btn svg { width: 14px; height: 14px; }

/* ─────────────────────────── PROJECTS ─────────────────────────── */
.projects-section {
  background: var(--ink-soft);
}

.projects {
  padding: 0 72px 72px;
}
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.project {
  background: var(--ink);
  padding: 32px 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 340px;
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
  cursor: none;
  transition: background .35s;
}
.project.is-soon {
  cursor: not-allowed; pointer-events: none;
  opacity: .55;
}
.project:not(.is-soon):hover { background: var(--ink-card); }

.project-mark {
  position: absolute; right: -10px; bottom: -40px;
  font-family: var(--ff-disp); font-style: italic; font-weight: 400;
  font-size: 220px; line-height: 1;
  color: rgba(245,239,224,.025);
  pointer-events: none; user-select: none;
}

.project-status {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
}
.status-dot.live { background: #6FBA7E; box-shadow: 0 0 8px rgba(111,186,126,.5); animation: livePulse 2.5s ease-in-out infinite; }
.status-dot.soon { background: var(--brass-dim); }
.status-text.live { color: #6FBA7E; }
@keyframes livePulse {
  0%,100% { opacity:1; box-shadow: 0 0 8px rgba(111,186,126,.5); }
  50% { opacity:.7; box-shadow: 0 0 14px rgba(111,186,126,.7); }
}

.project-name {
  font-family: var(--ff-disp);
  font-size: 32px; font-weight: 400; line-height: 1.05;
  color: var(--bone);
  letter-spacing: -0.01em;
  margin-top: auto;
}
.project-name em { font-style: italic; color: var(--brass); }
.project-desc {
  font-size: 13px; line-height: 1.65; color: var(--muted);
  max-width: 92%;
}
.project-meta {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.project-tag {
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-strong);
  padding: 4px 10px; font-weight: 500;
}

.project-arrow {
  position: absolute; bottom: 28px; right: 32px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), color .3s;
  color: var(--muted);
}
.project:not(.is-soon):hover .project-arrow {
  transform: translate(4px, -4px); color: var(--brass);
}
.project-arrow svg { width: 18px; height: 18px; }

.project::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0; background: var(--brass);
  transition: width .4s cubic-bezier(.2,.7,.2,1);
}
.project:not(.is-soon):hover::after { width: 100%; }

/* ─────────────────────────── CONTACT ─────────────────────────── */
.contact {
  padding: 80px 72px 60px;
  border-top: 1px solid var(--line-strong);
  text-align: center;
  position: relative; overflow: hidden;
}
.contact::before, .contact::after {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  border-radius: 50%; pointer-events: none;
}
.contact::before { width: 600px; height: 600px; border: 1px solid rgba(201,169,97,.04); }
.contact::after  { width: 400px; height: 400px; border: 1px solid rgba(201,169,97,.06); }

.contact-eyebrow {
  font-size: 11px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 18px;
  position: relative;
}
.contact-title {
  font-family: var(--ff-disp);
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 400; line-height: 1.0;
  color: var(--bone); margin-bottom: 14px;
  position: relative;
}
.contact-title em { font-style: italic; color: var(--brass); }
.contact-sub {
  font-size: 14px; color: var(--muted); max-width: 440px;
  margin: 0 auto 44px; line-height: 1.7;
  position: relative;
}

.contact-links {
  display: flex; justify-content: center;
  max-width: 720px; margin: 0 auto;
  position: relative; background: var(--line-strong);
  gap: 1px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.contact-link {
  flex: 1; background: var(--ink);
  padding: 24px 20px;
  text-decoration: none; color: var(--cream);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: background .3s, color .3s;
  cursor: none;
}
.contact-link:hover { background: var(--ink-card); color: var(--brass); }
.contact-link svg { width: 20px; height: 20px; }
.contact-link span {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 500;
}

/* ─────────────────────────── FOOTER ─────────────────────────── */
footer {
  padding: 26px 72px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px;
}
.footer-mark {
  font-family: var(--ff-disp); font-size: 14px; font-style: italic;
  color: var(--brass); letter-spacing: .04em;
}
.footer-mid { color: var(--muted); letter-spacing: .15em; text-transform: uppercase; }
.footer-end { color: var(--muted); font-family: var(--ff-disp); font-style: italic; font-size: 13px; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-top { grid-template-columns: 280px 1fr; }
  .hero-meta { grid-template-columns: 280px 1fr auto; }
  .carousel-window { grid-template-columns: 1fr; gap: 32px; min-height: auto; }
  .carousel-stage-img { aspect-ratio: 4/3; }
}
@media (max-width: 800px) {
  .corner { display: none; }
  .hero { padding: 64px 24px 48px; }
  .hero-top { grid-template-columns: 1fr; gap: 32px; }
  .avatar-frame { max-width: 240px; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
  .scroll-hint { display: none; }
  .meta-roles { flex-direction: column; gap: 8px; }
  .section-head, .identity-stack, .carousel-stage, .projects, .contact, footer {
    padding-left: 24px; padding-right: 24px;
  }
  .section-head { grid-template-columns: 1fr; gap: 20px; padding-top: 48px; }
  .identity-row { grid-template-columns: 56px 1fr; gap: 20px; }
  .identity-meta { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
}

