/* ═══════════════════════════════════════════
   MYRA — portfolio
   Tungsten gallery / cream awards / film grain
═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b0b0a;
  --bg-2: #121211;
  --paper: #efe8d8;
  --ink: #141311;
  --ink-soft: #3a372f;
  --text: #f4efe6;
  --muted: #9a9488;
  --faint: #6e6a62;
  --line: rgba(244, 239, 230, 0.12);
  --line-ink: rgba(20, 19, 17, 0.14);
  --gold: #d4b483;
  --gold-deep: #8d6b38;
  --sans: "Outfit", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 56px);
  --nav: 72px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
code {
  font-family: var(--mono);
  font-size: 0.82em;
  color: var(--gold);
}
::selection { background: var(--gold); color: var(--ink); }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 90;
}

.lens {
  position: fixed;
  z-index: 70;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(11, 11, 10, 0.45);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.2s, transform 0.2s;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.lens.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav);
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 10, 0.82);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}
.nav-inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "League Spartan", var(--sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}
.logo-mark { color: inherit; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 450;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); }

.hamburger {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s, top 0.25s;
}
.hamburger span:first-child { top: 16px; }
.hamburger span:last-child { top: 24px; }
.hamburger.is-open span:first-child { top: 20px; transform: rotate(45deg); }
.hamburger.is-open span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px var(--pad) 24px;
  background: rgba(11, 11, 10, 0.96);
  border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  text-decoration: none;
  padding: 14px 0;
  font-size: 22px;
  font-family: var(--serif);
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: 100svh;
  padding: calc(var(--nav) + 40px) var(--pad) 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 7.2vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-lede {
  margin-top: 28px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--text); color: var(--ink); }
.btn-solid:hover { background: var(--gold); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.hero-meta dd { font-size: 14px; }

.hero-stage {
  position: relative;
  height: min(78vh, 760px);
}
.frame {
  position: absolute;
  overflow: hidden;
  background: #1a1a18;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 1.2s ease;
}
.frame:hover img { transform: scale(1.05); }
.frame figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.frame-a {
  width: 68%;
  height: 72%;
  top: 8%;
  left: 8%;
  border-radius: 4px;
}
.frame-b {
  width: 38%;
  height: 36%;
  top: 0;
  right: 0;
  border-radius: 3px;
  transform: rotate(4deg);
  outline: 6px solid #f3eee4;
}
.frame-c {
  width: 34%;
  height: 30%;
  bottom: 4%;
  left: 0;
  border-radius: 3px;
  transform: rotate(-3.5deg);
  outline: 6px solid #f3eee4;
}
.hero-stamp {
  position: absolute;
  right: 6%;
  bottom: 12%;
  width: 108px;
  height: 108px;
  border: 1.5px dashed var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  transform: rotate(-12deg);
}

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--muted);
}
.ticker-track span::after {
  content: " · ";
  color: var(--gold);
  font-style: normal;
  margin-left: 48px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.work, .adopt { padding: 108px var(--pad); }
.section-head {
  max-width: 1440px;
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
}
.section-head h2,
.adopt-story h2,
.about-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.section-lede {
  margin-top: 14px;
  max-width: 46ch;
  color: var(--muted);
  font-weight: 300;
}
.section-head--ink .section-lede { color: var(--ink-soft); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.filter {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.filter.is-active,
.filter:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.gallery {
  max-width: 1440px;
  margin: 0 auto;
  columns: 3;
  column-gap: 14px;
}
.shot {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  cursor: none;
  background: #181816;
  animation: rise 0.7s ease both;
}
.shot.is-hidden { display: none; }
.shot img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease, filter 0.4s;
  filter: saturate(0.92);
}
.shot:hover img { transform: scale(1.04); filter: saturate(1); }
.shot-cap {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: 0.25s;
}
.shot:hover .shot-cap { opacity: 1; transform: none; }
.shot-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.awards {
  background: var(--paper);
  color: var(--ink);
  padding: 108px 0 80px;
}
.awards-inner { padding: 0 var(--pad); }
.award-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 0 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.award {
  flex: 0 0 min(340px, 78vw);
  scroll-snap-align: start;
  background: #f7f1e4;
  border: 1px solid var(--line-ink);
  padding: 28px 26px 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.award::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), #c9a36a);
}
.award-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 28px;
}
.award h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 8px;
}
.award .org { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.award p { margin-top: auto; color: var(--ink-soft); font-size: 14.5px; font-weight: 300; }

.adopt-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.adopt-story { position: sticky; top: 96px; }
.adopt-story h2 em { font-style: italic; color: var(--gold); }
.adopt-story p {
  margin-top: 18px;
  color: var(--muted);
  max-width: 42ch;
  font-weight: 300;
}
.adopt-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0 32px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}
.adopt-stats dt {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--gold);
}
.adopt-stats dd {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.post-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.post {
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.post:nth-child(3n) { grid-column: span 2; }
.post img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.post:nth-child(3n) img { aspect-ratio: 16 / 10; }
.post-body { padding: 16px 16px 18px; }
.post-name { font-family: var(--serif); font-size: 22px; }
.post-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.post-body p { color: var(--muted); font-size: 14px; margin-top: 8px; font-weight: 300; }

.about {
  background: var(--paper);
  color: var(--ink);
  padding: 108px var(--pad);
}
.about-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.about-portrait figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.about-copy p { margin-top: 16px; color: var(--ink-soft); max-width: 54ch; }
.about-list {
  margin-top: 28px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-left: 18px;
  position: relative;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--pad) 40px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}
.footer a { text-decoration: none; color: var(--muted); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 6, 5, 0.94);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 48px 20px 32px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0 auto; max-width: min(1100px, 86vw); }
.lb-figure img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}
.lb-figure figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lb-close, .lb-nav {
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
}
.lb-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}
.lb-nav {
  font-size: 28px;
  width: 56px;
  height: 56px;
  color: var(--gold);
}

@media (max-width: 980px) {
  .hero, .adopt-grid, .about-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav) + 24px); min-height: auto; }
  .hero-stage { height: 56vh; min-height: 360px; }
  .gallery { columns: 2; }
  .adopt-story { position: static; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .lens { display: none; }
  .shot { cursor: pointer; }
}
@media (max-width: 620px) {
  .gallery { columns: 1; }
  .post-stack { grid-template-columns: 1fr; }
  .post:nth-child(3n) { grid-column: auto; }
  .hero-meta { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
  .section-head { flex-direction: column; align-items: start; }
  .filters { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .shot { animation: none; }
  .btn, .frame img, .shot img, .lens { transition: none; }
}
