/* =========================================================
   DESIGN TOKENS
   ========================================================= */

html, body {
    background-color: white !important;
}
:root {
  /* --- Palette --- */
  --color-ink: #0a0a0a;
  --color-surface: #fafafa;
  --color-panel: #ffffff;
  --color-border: #e5e7eb;
  --color-border-soft: rgba(0, 0, 0, 0.06);
  --color-text: #111827;
  --color-text-soft: #6b7280;
  --color-text-muted: #9ca3af;

  --color-accent: #111827;
  --color-accent-glow: rgba(17, 24, 39, 0.10);
  --color-accent-hover: #374151;
  --color-accent-dim: #1f2937;

  --color-paper: #ffffff;
  --color-paper-soft: #f8fafc;
  --color-paper-border: #e2e8f0;
  --color-ink-text: #0f172a;
  --color-ink-soft: #475569;
  --color-ink-muted: #64748b;

  /* --- Typography --- */
  --font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, monospace;

  /* --- Radius --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 40px 96px rgba(0, 0, 0, 0.10);
  --shadow-inner: inset 0 0 0 1px rgba(255, 255, 255, 0.5);

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.76, 0, 0.24, 1);
  --dur-fast: 0.18s;
  --dur-base: 0.4s;
  --dur-slow: 0.65s;

  /* --- Layout --- */
  --max-width: 1100px;
  --nav-top: 18px;
}

/* =========================================================
   RESET
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  min-height: 100%;
}

body {
  overflow-x: hidden;
  font-family: var(--font-ui);
  color: #111;
  background: #fff;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--color-accent);
  color: #0a0a0a;
}

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

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

/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav {
  position: absolute;
  top: var(--nav-top);
  left: 50%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(calc(92% - 32px), var(--max-width));
  padding: 10px 16px;
  transform: translateX(-50%);
  border: 1px solid var(--color-border-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.05),
    var(--shadow-inner);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 10px;
  color: #111;
  white-space: nowrap;
  transition:
    background-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

.site-nav a:hover {
  background: #f3f4f6;
  color: #111;
}

.site-nav a:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.site-nav a[aria-current="page"] {
  background: #111;
  color: #fff;
}

.site-nav a[aria-current="page"]::before {
  content: "";
}

.site-brand {
  display: flex;
  align-items: center;
}

.brand-signature {
  display: block;
  height: 40px;
  width: auto;
  filter: invert(1) contrast(1.1) saturate(1.05);
}

.site-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav .nav-cta {
  border: 1px solid #111;
  color: #111;
}

.site-nav .nav-cta::before {
  content: "";
}

.site-nav .nav-cta:hover {
  background: #111;
  color: #fff;
}

/* =========================================================
   TERMINAL (home page)
   ========================================================= */

.terminal {
  width: min(100%, 520px);
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #0d1117;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    var(--shadow-inner);
  overflow: hidden;
  text-align: left;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--color-border);
  background: #11161d;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #30363d;
}

.terminal-dot:first-child {
  background: #ff5f57;
}

.terminal-dot:nth-child(2) {
  background: #febc2e;
}

.terminal-dot:nth-child(3) {
  background: var(--color-accent);
}

.terminal-title {
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #6b7280;
  letter-spacing: 0.03em;
}

.terminal-body {
  margin: 0;
  padding: 1rem 1.15rem 1.2rem;
  min-height: clamp(300px, 46vh, 372px);
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 2.3vw, 0.8rem);
  line-height: 1.65;
  color: #c9d1d9;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.terminal-body .tok-key {
  color: #ff7b72;
}

.terminal-body .tok-str {
  color: #a5d6ff;
}

.terminal-body .tok-num {
  color: #79c0ff;
}

.terminal-body .tok-com {
  color: #6b7280;
  font-style: italic;
}

.terminal-caret {
  display: inline-block;
  width: 6px;
  height: 1em;
  vertical-align: text-bottom;
  background: var(--color-accent);
  animation: caret-blink 1s step-end infinite;
}

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

/* ASCII enter button */

.ascii-btn {
  display: inline-block;
  margin-top: 1.35rem;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 2.3vw, 0.8rem);
  line-height: 1.35;
  color: var(--color-accent);
  text-decoration: none;
  white-space: pre;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.5s var(--ease),
    color var(--dur-fast) var(--ease);
}

.ascii-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.ascii-btn__row {
  display: block;
}

.ascii-btn__row:nth-child(2) {
  color: #c9d1d9;
}

.ascii-btn__label {
  color: var(--color-accent);
}

.ascii-btn:hover .ascii-btn__label,
.ascii-btn:focus-visible .ascii-btn__label {
  color: #0a0a0a;
  background: var(--color-accent);
  border-radius: 4px;
  padding: 0 3px;
}

.ascii-btn:hover,
.ascii-btn:focus-visible {
  color: #c9d1d9;
}

.ascii-btn:focus-visible {
  outline: 1px dashed var(--color-accent);
  outline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .terminal-caret {
    animation: none;
  }
  .ascii-btn {
    transition: none;
  }
}

@media (max-width: 480px) {
  .terminal-bar {
    padding: 8px 10px;
  }
  .terminal-body {
    padding: 0.9rem 0.95rem 1rem;
    min-height: clamp(260px, 44vh, 320px);
  }
  .ascii-btn {
    margin-top: 1rem;
  }
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(420px, 70vh, 800px);
  padding: 1rem;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.16)),
    url("DSC00080.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero--collection {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.28)),
    url("DSC02013.jpg");
}

.hero--landing {
  flex: 1;
  min-height: 0;
  padding: 2rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #fff;
}

.page-home .foot {
  flex: 0 0 auto;
  padding: 0.75rem 1.25rem 1.25rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-inner {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.hero h1 {
  display: inline-block;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #111;
  text-shadow: none;
}

/* =========================================================
   GALLERY AREA
   ========================================================= */

.panels {
  position: relative;
  width: 100%;
}

.panel-section {
  --section-height: 400vh;
  position: relative;
  height: var(--section-height);
  padding-top: 24px;
  margin-bottom: 120px;
}

/* =========================================================
   SECTION TITLE
   ========================================================= */

.section-title {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 2.5vw, 1.3rem);
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.section-title::after {
  content: "back to top";
  font-size: 0.8em;
  font-weight: 700;
  color: #111;
}

.section-title:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* =========================================================
   STICKY GALLERY
   ========================================================= */

.sticky-wrap {
  position: sticky;
  top: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100vh - 106px);
  gap: 26px;
  padding:
    10px
    max(24px, calc((100vw - 1200px) / 2));
  overflow: hidden;
}

/* =========================================================
   POLAROID
   ========================================================= */

.sticky-image {
  position: relative;
  z-index: 2;
  flex: 0 1 auto;
  height: min(
    calc(100vh - 135px),
    760px
  );
  aspect-ratio: 4672 / 5840;
  padding:
    42px
    54px
    42px;
  background: #fff;
  border-radius: 28px;
  box-shadow:
    0 24px 68px rgba(15, 23, 42, 0.10),
    0 6px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.sticky-image img {
  position: absolute;
  top: 42px;
  left: 54px;
  width: calc(100% - 108px);
  height: calc(100% - 84px);
  border-radius: 20px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform:
    translate3d(35px, 0, 0)
    scale(0.985);
  transition:
    opacity 0.55s var(--ease),
    transform 0.8s var(--ease);
  pointer-events: none;
  will-change: opacity, transform;
  filter: contrast(1.02) saturate(1.03);
}

/* Instagram embed behaves like a photo (blockquote before embed.js loads, iframe after) */
.sticky-image .instagram-media,
.sticky-image iframe {
  position: absolute;
  top: 28px;
  left: 36px;
  width: calc(100% - 72px) !important;
  height: calc(100% - 56px) !important;
  margin: 0 !important;
  border-radius: 20px !important;
  overflow: hidden;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translate3d(35px, 0, 0) scale(0.985);
  transition:
    opacity 0.55s var(--ease),
    transform 0.8s var(--ease);
  will-change: opacity, transform;
  display: block;
}

.sticky-image .instagram-media.active,
.sticky-image iframe.active {
  z-index: 2;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.sticky-image .instagram-media.before,
.sticky-image iframe.before {
  z-index: 1;
  opacity: 0;
  transform: translate3d(-35px, 0, 0) scale(0.985);
}

.sticky-image img.active {
  z-index: 2;
  opacity: 1;
  transform:
    translate3d(0, 0, 0)
    scale(1);
  filter: contrast(1) saturate(1);
}

.sticky-image img.before {
  z-index: 1;
  opacity: 0;
  transform:
    translate3d(-35px, 0, 0)
    scale(0.985);
}

/* =========================================================
   INFO CARD
   ========================================================= */

.polaroid-info {
  position: relative;
  flex: 0 0 160px;
  width: 160px;
  min-height: 200px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 16px 44px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.polaroid-info .info {
  max-height: min(65vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.45s var(--ease),
    transform 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.polaroid-info .info.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.info-title {
  margin-bottom: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  text-align: center;
}

.info-filename {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #111;
  text-align: center;
}

/* =========================================================
   INFO SCROLLBAR
   ========================================================= */

.polaroid-info .info::-webkit-scrollbar {
  width: 7px;
}

.polaroid-info .info::-webkit-scrollbar-track {
  background: transparent;
}

.polaroid-info .info::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cbd5e1;
}

.polaroid-info .info::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* =========================================================
   BACK BUTTON
   ========================================================= */

.nav-back {
  position: absolute;
  top: 22px;
  left: max(
    24px,
    calc((100vw - 1200px) / 2)
  );
  z-index: 30;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.12);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    background-color var(--dur-fast) var(--ease);
}

.nav-back.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.nav-back:hover {
  background: #fff;
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

/* =========================================================
   FOOTER
   ========================================================= */

.foot {
  padding: 6rem 2rem 4rem;
  color: #64748b;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.foot p {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* =========================================================
   AESTHETIC (light theme polish)
   ========================================================= */

body {
  background: #fff;
  color: #1a1a1a;
}

.polaroid-info {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sticky-image {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.section-title {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #333;
}

.nav-back {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1a1a1a;
}

.foot {
  background: #fff;
  border-top-color: rgba(0, 0, 0, 0.06);
  color: #666;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .site-nav {
    top: 12px;
    width: calc(100% - 24px);
    gap: 0.75rem;
    font-size: 0.75rem;
  }
  .site-nav a {
    padding-inline: 7px;
  }
  .brand-signature {
    height: 38px;
  }
  .sticky-wrap {
    top: 49px;
    height: calc(100vh - 98px);
    gap: 14px;
    padding-inline: 16px;
  }
  .sticky-image {
    height: min(
      calc(100vh - 200px),
      450px
    );
    padding:
      24px
      24px
      24px;
    border-radius: 22px;
  }
  .sticky-image img {
    top: 24px;
    left: 24px;
    width: calc(100% - 48px);
    height: calc(100% - 48px);
    border-radius: 18px;
  }
  .sticky-image .instagram-media,
  .sticky-image iframe {
    top: 24px;
    left: 24px;
    width: calc(100% - 48px) !important;
    height: calc(100% - 48px) !important;
    margin: 0 !important;
    border-radius: 18px !important;
    overflow: hidden;
  }

  .polaroid-info {
    flex-basis: 140px;
    width: 140px;
    padding: 14px;
  }
  .nav-back {
    left: 16px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {
  .site-nav .site-brand {
    display: none;
  }
  .site-nav {
    gap: 0.5rem;
    min-width: 0;
    overflow: hidden;
  }
  .site-links {
    font-size: 0.72rem;
  }
  @media (max-width: 420px) {
    .site-nav {
      padding: 8px 10px;
    }
    .site-nav a {
      padding-inline: 5px;
    }
  }
  @media (max-width: 360px) {
    .site-nav a {
      padding-inline: 3px;
    }
    .site-links {
      font-size: 0.68rem;
    }
  }
  .hero {
    min-height: 68vh;
  }
  .hero h1 {
    white-space: normal;
  }
  .section-title {
    top: 10px;
    font-size: clamp(
      1.5rem,
      8vw,
      2.2rem
    );
  }
  .sticky-wrap {
    top: 41px;
    flex-direction: column;
    justify-content: flex-start;
    height: calc(100vh - 82px);
    padding:
      8px
      14px
      14px;
    gap: 10px;
  }
  .sticky-image {
    width: min(100%, 410px);
    height: auto;
    aspect-ratio: 4672 / 5840;
    padding:
      18px
      18px
      18px;
    border-radius: 18px;
  }
  .sticky-image img {
    top: 18px;
    left: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    border-radius: 14px;
  }
  .sticky-image .instagram-media,
  .sticky-image iframe {
    top: 18px;
    left: 18px;
    width: calc(100% - 36px) !important;
    height: calc(100% - 36px) !important;
    margin: 0 !important;
    border-radius: 14px !important;
    overflow: hidden;
  }

  .polaroid-info {
    flex: none;
    width: min(100%, 410px);
    min-height: 105px;
    max-height: 150px;
    padding: 14px;
  }
  .polaroid-info .info {
    max-height: 120px;
  }
  .nav-back {
    top: 12px;
    left: 14px;
    width: 38px;
    height: 38px;
  }
}

/* =========================================================
   LANDING PAGE (index.html)
   ========================================================= */

.hero-subtitle {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #6b7280;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1rem 2.5rem;
  background: #111;
  border: 1px solid #111;
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-ui);
  transition:
    background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.hero-cta:hover {
  background: #374151;
  border-color: #374151;
  transform: translateY(-2px);
}

.highlight {
  color: #0f172a;
}

.intro-btn {
  display: inline-block;
  padding: 0.8rem 2.1rem;
  border: 1px solid #111;
  border-radius: var(--radius-full);
  color: #111;
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.intro-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #111;
  line-height: 1;
}

.stat-label {
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.featured {
  padding: 7rem 2rem;
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.featured h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #0f172a;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.featured-item {
  position: relative;
  aspect-ratio: 4672 / 5840;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition:
    transform var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.featured-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
  transition: opacity var(--dur-base) var(--ease);
  opacity: 1;
}

.featured-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease);
  pointer-events: none;
}

.featured-item:hover {
  transform: scale(1.03);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.14);
  border-color: rgba(0, 0, 0, 0.12);
}

.featured-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.contact {
  padding: 9rem 2rem;
  text-align: center;
  background: #0f172a;
  color: #fff;
}

.contact-content {
  max-width: 620px;
  margin: 0 auto;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact > p {
  font-size: 1.15rem;
  opacity: 0.75;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.contact-btn {
  display: inline-block;
  padding: 1.05rem 2.75rem;
  background: #fff;
  color: #0f172a;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition:
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .intro-stats {
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .intro {
    padding: 5rem 1.5rem;
  }
  .featured {
    padding: 4rem 1.5rem;
  }
  .contact {
    padding: 6rem 1.5rem;
  }
}

/* =========================================================
   LANDING PAGE - INTRO
   ========================================================= */

.intro {
  padding: 7rem 2rem;
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.intro-text {
  text-align: center;
}

.intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.intro-lead {
  font-size: 1.2rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.intro-stats {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.intro-image img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4672 / 5840;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.timeline {
  position: relative;
  padding-left: 2.25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.timeline-item {
  position: relative;
  padding-bottom: 3.25rem;
}

.timeline-marker {
  position: absolute;
  left: -2.25rem;
  top: 0.3rem;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #111;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 2px #e2e8f0,
    0 4px 10px rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.3rem;
}

.timeline-company {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 1rem;
}

.timeline-content > p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.timeline-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.timeline-highlights li {
  font-size: 0.98rem;
  color: #475569;
  padding-left: 1.35rem;
  position: relative;
  line-height: 1.6;
}

.timeline-highlights li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #94a3b8;
}

.featured-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  text-align: center;
}

.featured-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #0f172a;
}

@media (max-width: 900px) {
  .intro-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .intro-image {
    order: -1;
  }
  .intro-stats {
    justify-content: center;
  }
  .featured-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .intro {
    padding: 5rem 1.5rem;
  }
  .featured {
    padding: 4rem 1.5rem;
  }
  .contact {
    padding: 6rem 1.5rem;
  }
}

/* =========================================================
   ABOUT PAGE (about.html)
   ========================================================= */

.hero--about {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.14),
      rgba(0, 0, 0, 0.28)
    ),
    url("DSC_8150.jpg");
}

.about {
  padding: 7rem 2rem;
  max-width: var(--max-width);
  margin: 5rem auto 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.services-list {
  list-style: disc;
  margin: 1rem 0 1.5rem 1.5rem;
  color: #475569;
  line-height: 1.8;
}

.services-list li {
  margin-bottom: 0.4rem;
}

.about-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.about-image img,
.about-image .instagram-media,
.about-image iframe {
  width: 100%;
  max-width: 700px;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: block;
  margin: 0 auto;
}

.contact-placeholder {
  position: absolute;
  top: 42px;
  left: 54px;
  width: calc(100% - 108px);
  height: calc(100% - 177px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 2rem;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.skills {
  padding: 7rem 2rem;
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.skills h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #0f172a;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.skill-card {
  background: #fff;
  padding: 2.75rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.1);
}

.skill-icon {
  font-size: 2.75rem;
  margin-bottom: 1.1rem;
  display: block;
}

.skill-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.8rem;
}

.skill-card p {
  font-size: 0.98rem;
  color: #64748b;
  line-height: 1.65;
}

.gear {
  padding: 7rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gear h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #0f172a;
}

.gear-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}

.gear-category {
  padding: 2.25rem;
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.gear-category h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f0;
}

.gear-category ul {
  list-style: none;
}

.gear-category li {
  font-size: 0.98rem;
  color: #475569;
  line-height: 2.1;
  padding-left: 1.4rem;
  position: relative;
}

.gear-category li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #94a3b8;
}

.clients {
  padding: 7rem 2rem;
  background: #0f172a;
  color: #fff;
}

.clients h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.clients-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem 3.5rem;
  max-width: 950px;
  margin: 0 auto;
  font-size: 1.05rem;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image {
    order: -1;
  }
  .skills-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .gear-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

@media (max-width: 600px) {
  .about {
    padding: 4.5rem 1.5rem;
  }
  .skills {
    padding: 4.5rem 1.5rem;
  }
  .gear {
    padding: 4.5rem 1.5rem;
  }
  .clients {
    padding: 4.5rem 1.5rem;
  }
}

/* =========================================================
   DARK TERMINAL THEME (collection + about)
   ========================================================= */

.theme-dark {
  background: var(--color-ink);
  color: var(--color-text);
}

.theme-dark ::selection {
  background: var(--color-accent);
  color: var(--color-ink);
}

.theme-dark body {
  color: var(--color-text);
}

.theme-dark .foot {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* --- Hero --- */

.theme-dark .hero--term {
  min-height: auto;
  padding: 12rem 1.5rem 4rem;
  background: var(--color-ink);
}

.theme-dark .hero--collection,
.theme-dark .hero--about {
  background-image: none;
}

.terminal--hero {
  width: min(100%, 560px);
  margin-top: 2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    var(--shadow-inner);
}

.terminal-body--compact {
  min-height: 0;
  padding-bottom: 0.5rem;
}

.hero .hero-out {
  display: block;
  margin: 0;
  padding: 0.75rem 1.5rem 1.15rem;
  border-top: 1px solid var(--color-border);
  border-right: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 3.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-accent);
  text-align: left;
}

.hero .hero-out::before {
  content: "> ";
  color: var(--color-text-muted);
}

/* --- Section titles --- */

.theme-dark .section-title {
  background: rgba(13, 17, 23, 0.92);
  border: 1px solid var(--color-border);
  border-radius: 9px;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2.6vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.theme-dark .section-title::before {
  content: "▸ ";
  color: var(--color-text-muted);
}

/* --- Photo frame --- */

.theme-dark .sticky-image {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.7),
    var(--shadow-inner);
}

.theme-dark .sticky-image img {
  border-radius: 10px;
  filter: contrast(0.98) saturate(1.05);
}

.theme-dark .sticky-image .instagram-media,
.theme-dark .sticky-image iframe {
  width: calc(100% - 108px) !important;
  height: calc(100% - 84px) !important;
  border-radius: 10px !important;
  overflow: hidden;
}


.theme-dark .sticky-image img.active {
  filter: contrast(1) saturate(1);
}

/* --- Info panel --- */

.theme-dark .polaroid-info {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.theme-dark .polaroid-info .info {
  font-family: var(--font-mono);
  font-size: 0.87rem;
  line-height: 1.7;
}

.theme-dark .info-title {
  color: #e6edf3;
  font-family: var(--font-mono);
  font-size: 1.05rem;
}

.theme-dark .info-filename {
  color: var(--color-accent);
}

.info-body {
  color: #111;
  font-size: 0.9rem;
  line-height: 1.7;
}

.theme-dark .info-body {
  color: var(--color-text-soft);
}

.theme-dark .polaroid-info .info::-webkit-scrollbar-thumb {
  background: #30363d;
}

/* --- Back button --- */

.theme-dark .nav-back {
  background: rgba(13, 17, 23, 0.94);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

.theme-dark .nav-back:hover {
  background: #161b22;
  color: #0a0a0a;
}

/* --- About page --- */

.theme-dark .about-text h2,
.theme-dark .skills h2,
.theme-dark .gear h2,
.theme-dark .clients h2,
.theme-dark .contact h2 {
  color: #e6edf3;
  font-family: var(--font-mono);
}

.theme-dark .about-text h2::before,
.theme-dark .skills h2::before,
.theme-dark .gear h2::before,
.theme-dark .clients h2::before,
.theme-dark .contact h2::before {
  content: "// ";
  color: var(--color-accent);
}

.theme-dark .about-text p {
  color: var(--color-text-soft);
}

.theme-dark .about-image img {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.theme-dark .skills {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.theme-dark .skill-card,
.theme-dark .gear-category {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.theme-dark .skill-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent-glow);
}

.theme-dark .skill-card h3,
.theme-dark .gear-category h3 {
  color: #e6edf3;
  font-family: var(--font-mono);
}

.theme-dark .skill-card p,
.theme-dark .gear-category li {
  color: var(--color-text-soft);
}

.theme-dark .gear-category h3 {
  border-bottom-color: var(--color-border);
}

.theme-dark .gear-category li::before {
  content: "· ";
  color: var(--color-accent);
}

.theme-dark .clients {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-soft);
  font-family: var(--font-mono);
}

/* --- Contact + footer --- */

.theme-dark .contact {
  background: var(--color-ink);
}

.theme-dark .contact > p,
.theme-dark .contact-content > p {
  color: var(--color-text-soft);
}

.theme-dark .contact-btn {
  background: var(--color-accent);
  color: var(--color-ink);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  box-shadow: none;
}

.theme-dark .contact-btn:hover {
  background: var(--color-accent-hover);
}

.theme-dark .foot {
  background: var(--color-ink);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
}

@media (max-width: 480px) {
  .theme-dark .hero--term {
    padding: 7rem 1.25rem 3rem;
  }
  .hero .hero-out {
    padding: 0.6rem 1.1rem 0.9rem;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
