/* ============================================================
   arewefriendsstill — stylesheet
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --bg:          #080808;
  --bg-2:        #111111;
  --bg-3:        #1c1c1c;
  --text:        #e8e0d5;
  --text-muted:  #5a5550;
  --text-dim:    #2e2b28;
  --accent:      #c8b89a;
  --red:         #b83232;
  --blue:        #2a6080;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Space Grotesk', system-ui, sans-serif;

  --nav-h:  60px;
  --gutter: clamp(20px, 5vw, 72px);
  --max-w:  1440px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout:  cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: crosshair;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* --- Intro / Opening Sequence --- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.intro-line {
  display: flex;
  align-items: baseline;
}

.intro-main {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 3.2vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}

.intro-q {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 3.2vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #8a8078;
}

.intro-cursor {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 3.2vw, 2.8rem);
  font-weight: 300;
  color: #8a8078;
  margin-left: 3px;
  animation: cursor-blink 0.65s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* Glitch-out — no white flash, dark strip clips only */
.intro.glitch-exit {
  animation: intro-exit 0.75s forwards;
}

.intro.glitch-exit .intro-main,
.intro.glitch-exit .intro-q,
.intro.glitch-exit .intro-cursor {
  animation: intro-text-exit 0.75s forwards;
}

@keyframes intro-exit {
  0%   { opacity: 1; clip-path: inset(0);           transform: none; }
  10%  { opacity: 1; clip-path: inset(0 0 58% 0);   transform: translateX(-7px); }
  20%  { opacity: 1; clip-path: inset(48% 0 0 0);   transform: translateX(5px); }
  32%  { opacity: 0.8; clip-path: inset(0 0 35% 0); transform: translateX(-4px); }
  44%  { opacity: 0.6; clip-path: inset(62% 0 0 0); transform: translateX(6px); }
  56%  { opacity: 0.3; clip-path: inset(0 0 78% 0); transform: translateX(-3px); }
  68%  { opacity: 0.1; clip-path: inset(88% 0 0 0); transform: translateX(0); }
  80%  { opacity: 0;   clip-path: inset(100% 0 0 0); }
  100% { opacity: 0;   clip-path: inset(100% 0 0 0); }
}

@keyframes intro-text-exit {
  0%   { opacity: 1; transform: none; clip-path: inset(0); }
  8%   { opacity: 0; transform: translateX(10px);  clip-path: inset(35% 0 45% 0); }
  18%  { opacity: 1; transform: translateX(-7px);  clip-path: inset(0); }
  28%  { opacity: 0; transform: translateX(0);     clip-path: inset(60% 0 20% 0); }
  38%  { opacity: 1; transform: translateX(-12px); clip-path: inset(0); }
  50%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Prevent page-in fade from fighting intro opacity */
body.intro-active { animation: none; }

/* Hide hero during intro, reveal after */
body.intro-active .hero-bg img,
body.intro-active .hero-content { opacity: 0; }

body.hero-reveal .hero-bg img {
  opacity: 0;
  animation: hero-img-in 1s forwards;
}

body.hero-reveal .hero-content {
  opacity: 0;
  animation: hero-content-in 0.85s 0.2s forwards;
}

@keyframes hero-img-in {
  0%   { opacity: 0; clip-path: inset(100% 0 0 0); transform: none; }
  18%  { opacity: 0.35; clip-path: inset(58% 0 0 0); transform: translateX(-8px); }
  24%  { opacity: 0.15; clip-path: inset(58% 0 0 0); transform: translateX(6px); }
  32%  { opacity: 0.4;  clip-path: inset(38% 0 0 0); transform: translateX(0); }
  46%  { opacity: 0.3;  clip-path: inset(38% 0 0 0); transform: translateX(-4px); }
  54%  { opacity: 0.45; clip-path: inset(18% 0 0 0); transform: translateX(0); }
  68%  { opacity: 0.5;  clip-path: inset(5% 0 0 0);  transform: translateX(-2px); }
  80%  { opacity: 0.55; clip-path: inset(0);         transform: translateX(0); }
  100% { opacity: 0.55; clip-path: inset(0); }
}

@keyframes hero-content-in {
  0%   { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateX(0); }
  18%  { opacity: 0.6; clip-path: inset(0 0 48% 0); transform: translateX(-6px); }
  26%  { opacity: 0;   clip-path: inset(0 0 48% 0); transform: translateX(5px); }
  36%  { opacity: 0.8; clip-path: inset(0 0 22% 0); transform: translateX(0); }
  50%  { opacity: 0.6; clip-path: inset(0 0 22% 0); transform: translateX(-3px); }
  62%  { opacity: 1;   clip-path: inset(0);         transform: translateX(0); }
  78%  { opacity: 0.9; transform: translateX(-2px); }
  90%  { opacity: 1;   transform: translateX(0); }
  100% { opacity: 1;   clip-path: inset(0); }
}

/* --- Grain Canvas --- */
#grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: screen;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background 0.4s, border-color 0.4s;
}

.nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid var(--bg-3);
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--text);
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.5; }

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--text);
  text-decoration: line-through;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  text-decoration-color: var(--text);
}

/* --- Page Transitions --- */
body {
  animation: page-in 0.5s var(--ease-out) both;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   INDEX — Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: grayscale(15%);
}

.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1a1614 0%, #080808 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--gutter);
  padding-bottom: calc(var(--gutter) * 2.5);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 10rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero-sub {
  margin-top: 1.75rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-hint {
  position: relative;
  z-index: 1;
  padding: var(--gutter);
  padding-top: 0;
  font-size: 0.7rem;
  color: var(--text-dim);
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* --- Glitch Effect --- */
.glitch { position: relative; }

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
}

.glitch:hover::before {
  opacity: 0.75;
  color: var(--red);
  animation: glitch-r 0.28s steps(2) infinite;
  clip-path: polygon(0 20%, 100% 20%, 100% 45%, 0 45%);
}

.glitch:hover::after {
  opacity: 0.75;
  color: var(--blue);
  animation: glitch-b 0.28s steps(2) infinite;
  clip-path: polygon(0 58%, 100% 58%, 100% 78%, 0 78%);
}

@keyframes glitch-r {
  0%   { transform: translate(-4px, 0); }
  50%  { transform: translate(4px, 0); }
  100% { transform: translate(-2px, 0); }
}

@keyframes glitch-b {
  0%   { transform: translate(4px, 0); }
  50%  { transform: translate(-4px, 0); }
  100% { transform: translate(2px, 0); }
}

/* ============================================================
   INDEX — Selected Work
   ============================================================ */
.selected-work {
  padding: calc(var(--gutter) * 2) var(--gutter);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--bg-3);
}

.section-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-link {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.2s;
}

.section-link:hover { color: var(--text); }

.work-grid {
  columns: 4;
  column-gap: clamp(4px, 1vw, 10px);
}

.work-item {
  background: var(--bg);
  break-inside: avoid;
  margin-bottom: clamp(4px, 1vw, 10px);
  display: block;
}

.work-item a { display: block; }

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

.work-thumb img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(30%);
  transition: transform 0.7s var(--ease-out), filter 0.4s;
}

.work-item:hover .work-thumb img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.work-caption {
  padding: 0.75rem 0.6rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.work-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text);
}

.work-tag {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   INDEX — Marquee
   ============================================================ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--bg-3);
  border-bottom: 1px solid var(--bg-3);
  padding: 0.85rem 0;
  margin-top: calc(var(--gutter) * 2);
}

.marquee {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  padding-right: 2rem;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   INDEX — Bottom Bar
   ============================================================ */
.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--gutter) * 1.5) var(--gutter);
}

.bottom-bar-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--text-muted);
}

.bottom-bar-text em { font-style: italic; }

.bottom-bar-text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--bg-3);
  transition: text-decoration-color 0.2s;
}

.bottom-bar-text a:hover {
  text-decoration-color: var(--accent);
}

.instagram-link {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: transparent;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.instagram-link:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}

/* ============================================================
   TWITCH STRIP
   ============================================================ */
.twitch-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px var(--gutter);
}

.twitch-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.twitch-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
  transition: background 0.3s;
}

.twitch-dot.live {
  background: #a970ff;
  box-shadow: 0 0 0 0 rgba(169, 112, 255, 0.5);
  animation: twitch-pulse 1.8s ease-out infinite;
}

@keyframes twitch-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(169,112,255,0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(169,112,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(169,112,255,0); }
}

.twitch-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.twitch-handle {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.twitch-status-text {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.twitch-stream-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.twitch-link {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.twitch-link:hover { color: var(--text); border-color: var(--text-muted); }

.twitch-strip.is-live .twitch-link { color: #a970ff; border-color: #a970ff; }
.twitch-strip.is-live .twitch-status-text { color: #a970ff; }

/* Nav live dot */
.nav-live { list-style: none; }
.nav-live-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a970ff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-live-link:hover { opacity: 0.75; }
.nav-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a970ff;
  animation: twitch-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem var(--gutter);
  border-top: 1px solid var(--bg-3);
}

.footer span {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + var(--gutter) * 2);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  padding-bottom: var(--gutter);
  border-bottom: 1px solid var(--bg-3);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.9;
  color: var(--text);
}

.page-desc {
  margin-top: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: 480px;
}

/* Gallery filters */
.gallery-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: var(--gutter) var(--gutter) 0;
}

.filter-btn {
  background: none;
  border: 1px solid var(--bg-3);
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  cursor: crosshair;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--text);
  color: var(--text);
  background: var(--bg-2);
}

/* Masonry columns — images render at natural aspect ratio */
.gallery-grid {
  columns: 3;
  column-gap: clamp(4px, 1vw, 10px);
  padding: var(--gutter);
  padding-top: calc(var(--gutter) / 2);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  cursor: crosshair;
  break-inside: avoid;
  margin-bottom: clamp(4px, 1vw, 10px);
  display: block;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(25%);
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(8, 8, 8, 0.55);
}

.gallery-item-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.gallery-item-tag {
  font-family: var(--font-ui);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.3s var(--ease-out) 0.04s, opacity 0.3s 0.04s;
  margin-top: 0.2rem;
}

.gallery-item:hover .gallery-item-title,
.gallery-item:hover .gallery-item-tag {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  height: 100vh;
  overflow: hidden;
  background: rgba(8, 8, 8, 0.97);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem var(--gutter);
  flex-shrink: 0;
}

.lb-counter {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.lb-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: crosshair;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s;
  font-family: var(--font-ui);
}

.lb-close:hover { color: var(--text); }

.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  padding: 0 4rem;
}

.lb-img {
  max-width: calc(100vw - 8rem);
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.18s ease;
  user-select: none;
}

.lb-img.fading { opacity: 0; }

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
  cursor: crosshair;
  padding: 1rem 1.25rem;
  transition: color 0.2s;
  font-family: var(--font-ui);
  z-index: 1;
  line-height: 1;
}

.lb-arrow:hover { color: var(--text); }
.lb-prev { left: 0; }
.lb-next { right: 0; }

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem var(--gutter);
  border-top: 1px solid var(--bg-3);
  flex-shrink: 0;
}

.lb-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.lb-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text);
}

.lb-tag {
  font-family: var(--font-ui);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.lb-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.lb-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 300;
  color: var(--accent);
}

.lb-shop-btn {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--bg-3);
  padding: 0.6rem 1.4rem;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.lb-shop-btn:hover {
  border-color: var(--text);
  background: var(--bg-2);
}

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-intro {
  padding: calc(var(--nav-h) + var(--gutter) * 2) var(--gutter) var(--gutter);
  border-bottom: 1px solid var(--bg-3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: end;
}

.shop-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.9;
}

.shop-note {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  line-height: 1.9;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  max-width: 360px;
}

.shop-note a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Print grid */
.print-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bg-3);
  margin: 0;
}

.print-item {
  background: var(--bg);
  transition: background 0.2s;
}

.print-item:hover { background: var(--bg-2); }

.print-thumb {
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  overflow: hidden;
}

.print-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}

.print-item:hover .print-thumb img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.print-info {
  padding: 1rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--bg-3);
}

.print-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 300;
}

.print-price {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.print-btn {
  display: block;
  width: calc(100% - var(--gutter) * 2);
  margin: 0.75rem var(--gutter) 1.5rem;
  padding: 0.75rem;
  background: none;
  border: 1px solid var(--bg-3);
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: crosshair;
  text-align: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.print-btn:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--bg-2);
}

/* Shop embed container */
.shop-embed {
  padding: calc(var(--gutter) * 2) var(--gutter);
  min-height: 400px;
  /* Paste your Printful/Shopify buy button embed code inside .shop-embed */
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-wrap {
  padding-top: calc(var(--nav-h) + var(--gutter) * 3);
  padding-bottom: calc(var(--gutter) * 3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--gutter) * 2);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-image-col {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(20%);
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg-2);
}

.about-img-caption {
  margin-top: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.about-label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  color: var(--text);
}

.about-body {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-muted);
}

.about-body p + p { margin-top: 1.25em; }

.about-body strong {
  font-weight: 400;
  color: var(--text);
}

.about-links {
  display: flex;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-3);
}

.about-link {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: transparent;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.about-link:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-wrap {
  padding-top: calc(var(--nav-h) + var(--gutter) * 3);
  padding-bottom: calc(var(--gutter) * 3);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: 780px;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.9;
  margin-bottom: calc(var(--gutter) * 1.5);
}

.contact-note {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: calc(var(--gutter) * 2);
  max-width: 520px;
}

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

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

.form-field label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--bg-2);
  border: 1px solid var(--bg-3);
  border-radius: 0;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--text-muted);
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-submit {
  margin-top: 0.5rem;
  padding: 1rem 2.5rem;
  background: none;
  border: 1px solid var(--text-muted);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: crosshair;
  align-self: flex-start;
  transition: background 0.2s, border-color 0.2s;
}

.form-submit:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .gallery-grid { columns: 2; }

  .shop-intro { grid-template-columns: 1fr; }
  .print-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap { grid-template-columns: 1fr; }
  .about-image-col { max-width: 480px; }
}

@media (max-width: 768px) {
  .work-grid { columns: 2; }

  .gallery-grid { columns: 2; }

  .nav-links { gap: 1.5rem; }

  .bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .shop-intro { grid-template-columns: 1fr; gap: 1rem; }
  .print-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .work-grid { columns: 2; }
  .nav-links { gap: 1.25rem; }
}
