/* Pyur — Darkroom Photographic Studio System (Obsidian #050507, Neutral Optical Light, 44pt Targets) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --canvas: #050507;
  --surface: #0e0e12;
  --surface-elevated: #15151b;
  --ink: #f7f7f9;
  --ink-secondary: rgba(247, 247, 249, 0.80);
  --ink-muted: rgba(247, 247, 249, 0.68);
  --ink-micro: rgba(247, 247, 249, 0.56);
  --accent: #e6dfd5;
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.22);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --col: min(1024px, calc(100vw - 80px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  font-family: var(--font-sans);
  font-size: 15.5px;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color 180ms ease, opacity 180ms ease, background 180ms ease; }
a:hover { color: #ffffff; }
.wrap { width: var(--col); margin: 0 auto; }

/* Floating Pill Nav — Strict >= 44px Touch Targets */
.hd-pill {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 4px 6px;
  border-radius: 1000px;
  background: rgba(14, 14, 18, 0.84);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 18px 44px rgba(0, 0, 0, 0.62);
  max-width: calc(100vw - 24px);
}
.hd-pill-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px 0 10px;
  border-radius: 1000px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
}
.hd-pill-brand img { width: 22px; height: 22px; border-radius: 6px; display: block; }
.hd-pill-links { display: inline-flex; align-items: center; gap: 2px; }
.hd-pill-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 1000px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}
.hd-pill-links a:hover, .hd-pill-links a.active { color: #ffffff; background: rgba(255, 255, 255, 0.09); }
.hd-pill-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 44px;
  padding: 0 18px;
  margin-left: 2px;
  border-radius: 1000px;
  background: #f7f7f9;
  color: #050507;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.hd-pill-go:hover { color: #050507; background: #ffffff; }

.hd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 1000px;
  font-size: 14.5px;
  font-weight: 560;
  letter-spacing: -0.015em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}
.hd-btn:hover { color: #ffffff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.32); }
.hd-btn-primary {
  background: #f7f7f9;
  border-color: transparent;
  color: #050507;
  font-weight: 600;
}
.hd-btn-primary:hover { color: #050507; background: #ffffff; }

main { flex: 1; padding: 120px 0 88px; }
main.is-home { padding: 0; }

h1 {
  margin: 0;
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: #ffffff;
  text-wrap: balance;
}
h2 {
  margin: 52px 0 14px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.032em;
  color: #ffffff;
  text-wrap: balance;
}
p { margin: 0 0 16px; color: var(--ink-secondary); }
.eyebrow { margin: 0 0 10px; font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em; color: var(--accent); }
.lead { font-size: 17.5px; line-height: 1.56; color: var(--ink-muted); max-width: 58ch; margin: 18px 0 32px; }
.prose { max-width: 66ch; color: var(--ink-secondary); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 13.5px; color: var(--ink-micro); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--ink-secondary); }

/* Hero — Studio Neutral Optical Spotlight */
.hd-hero { position: relative; overflow: hidden; padding: 144px 0 64px; text-align: center; }
.hd-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(52% 42% at 50% 14%, rgba(255, 252, 245, 0.085), transparent 68%);
}
.hd-hero-in { position: relative; z-index: 2; width: var(--col); margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hd-app-mark { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.hd-app-mark img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 12px 32px rgba(0, 0, 0, 0.52);
}
.hd-app-mark span { font-size: 14px; font-weight: 500; color: var(--accent); }
.hd-hero h1 { max-width: 20ch; }
.hd-hero-sub {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.54;
  color: rgba(247, 247, 249, 0.78);
  max-width: 46ch;
  text-wrap: balance;
}
.hd-hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hd-hero-stage { position: relative; margin: 56px 0 0; width: min(312px, 82vw); }
.hd-hero-stage::before {
  content: "";
  position: absolute;
  inset: -32px -64px -16px;
  background: radial-gradient(58% 50% at 50% 44%, rgba(255, 252, 245, 0.11), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hd-phone {
  position: relative;
  z-index: 1;
  aspect-ratio: 9 / 19.5;
  border: 6px solid #141418;
  border-radius: 44px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 34px 90px rgba(0, 0, 0, 0.78);
}
.hd-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hd-hero-stage .hd-phone {
  -webkit-mask-image: linear-gradient(#000 0, #000 84%, transparent 100%);
  mask-image: linear-gradient(#000 0, #000 84%, transparent 100%);
}

/* Showcase Tiles — Cohesive Darkroom Graphite Surfaces */
.hd-section { width: var(--col); margin: 0 auto; padding-top: 96px; }
.hd-head { margin-bottom: 44px; }
.hd-head h2 { margin: 0; font-size: clamp(30px, 3.8vw, 40px); line-height: 1.1; letter-spacing: -0.032em; }
.hd-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.hd-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 636px;
  padding: 36px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(82% 52% at 50% 0%, rgba(255, 252, 245, 0.065), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color 220ms ease, background 220ms ease;
}
.hd-tile:hover { color: inherit; border-color: var(--border-strong); }

.hd-tile-shot {
  position: absolute;
  z-index: 1;
  top: 28px;
  left: 50%;
  width: 262px;
  margin: 0;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(#000 0, #000 44%, transparent 60%);
  mask-image: linear-gradient(#000 0, #000 44%, transparent 60%);
  transition: top 320ms var(--ease);
}
.hd-tile:hover .hd-tile-shot { top: 20px; }

.hd-tile-words { position: relative; z-index: 2; max-width: 420px; }
.hd-tile-label {
  display: flex;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
.hd-tile-words h3 {
  margin: 0 0 10px;
  font-size: clamp(25px, 2.7vw, 29px);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.028em;
  color: #ffffff;
  text-wrap: balance;
}
.hd-tile-words p { margin: 0; font-size: 14.5px; line-height: 1.56; color: rgba(247, 247, 249, 0.72); }
.hd-tile-words p b { display: block; font-weight: 400; color: #f7f7f9; margin-top: 3px; }
.hd-tile-more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.86); }
.hd-tile:hover .hd-tile-more { color: #ffffff; }

.hd-tile-wide {
  grid-column: 1 / -1;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: center;
  gap: 48px;
  padding: 44px 56px;
}
.hd-tile-wide .hd-tile-words { max-width: 460px; }
.hd-tile-wide-shot {
  position: relative;
  z-index: 1;
  width: 268px;
  margin: 0 auto;
  transform: translateY(22px);
  -webkit-mask-image: linear-gradient(#000 0, #000 76%, transparent 96%);
  mask-image: linear-gradient(#000 0, #000 76%, transparent 96%);
  transition: transform 320ms var(--ease);
}
.hd-tile-wide:hover .hd-tile-wide-shot { transform: translateY(14px); }

/* Editorial Index */
.hd-index { border-top: 1px solid var(--border); }
.hd-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 24px;
  align-items: baseline;
  gap: 24px;
  min-height: 44px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: inherit;
  text-decoration: none;
}
.hd-row:hover { border-bottom-color: rgba(255, 255, 255, 0.28); color: inherit; }
.hd-row-cat { font-size: 13px; font-weight: 500; color: rgba(247, 247, 249, 0.72); }
.hd-row:hover .hd-row-cat { color: var(--accent); }
.hd-row-main strong { display: block; font-size: 17px; font-weight: 560; letter-spacing: -0.018em; color: #ffffff; margin-bottom: 4px; }
.hd-row-main span { display: block; font-size: 14.5px; line-height: 1.5; color: rgba(247, 247, 249, 0.74); max-width: 62ch; }
.hd-row-chev { justify-self: end; font-size: 18px; color: rgba(247, 247, 249, 0.62); }
.hd-row:hover .hd-row-chev { color: #ffffff; }

/* Studio Closing CTA — Neutral Darkroom Falloff */
.hd-dawn { position: relative; margin-top: 112px; padding: 112px 0 104px; text-align: center; overflow: hidden; }
.hd-dawn-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(56% 48% at 50% 100%, rgba(255, 252, 245, 0.085), transparent 72%),
    linear-gradient(180deg, #050507 0%, #0b0b0f 100%);
}
.hd-dawn-in { position: relative; z-index: 2; width: var(--col); margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hd-dawn h2 { margin: 10px 0 0; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -0.036em; color: #ffffff; }
.hd-dawn-sub { margin: 16px 0 30px; font-size: 16px; color: rgba(247, 247, 249, 0.78); max-width: 44ch; text-wrap: balance; }
.hd-dawn-qr { margin-top: 32px; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.hd-dawn-qr-frame { width: 96px; height: 96px; padding: 6px; border-radius: 14px; background: #ffffff; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55); }
.hd-dawn-qr-frame svg { width: 100%; height: 100%; display: block; }
.hd-dawn-qr span { font-size: 12.5px; color: rgba(247, 247, 249, 0.72); }

/* Article Band */
.art-sec { padding: 28px 0; border-top: 1px solid var(--border); max-width: 68ch; }
.art-sec h2 { margin: 0 0 10px; font-size: 22px; }
.art-cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer — Strict >= 44px Touch Targets & >= 4.5:1 Contrast */
.hd-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  width: var(--col);
  margin: 0 auto;
  padding: 28px 0 48px;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(247, 247, 249, 0.70);
  border-top: 1px solid var(--border);
}
.hd-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 4px 0 0;
  color: #f7f7f9;
  font-weight: 560;
}
.hd-footer-brand:hover { color: #ffffff; }
.hd-footer-brand svg { width: 16px; height: 16px; }
.hd-footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-left: auto; }
.hd-footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 8px;
  border-radius: 8px;
  color: rgba(247, 247, 249, 0.82);
}
.hd-footer-nav a:hover { color: #ffffff; background: rgba(255, 255, 255, 0.06); }

@media (max-width: 860px) {
  :root { --col: calc(100vw - 40px); }
  .hd-tiles { grid-template-columns: 1fr; }
  .hd-tile {
    min-height: 0;
    padding: 28px 24px 32px;
    justify-content: flex-start;
    gap: 20px;
  }
  .hd-tile-shot {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(252px, 76%);
    margin: 0 auto -42px;
    -webkit-mask-image: linear-gradient(#000 0, #000 62%, transparent 92%);
    mask-image: linear-gradient(#000 0, #000 62%, transparent 92%);
  }
  .hd-tile:hover .hd-tile-shot { top: auto; }
  .hd-tile-wide { grid-template-columns: 1fr; padding: 28px 24px 32px; gap: 20px; min-height: 0; }
  .hd-tile-wide-shot { order: -1; width: min(252px, 76%); margin: 0 auto -24px; transform: none; }
  .hd-tile-wide:hover .hd-tile-wide-shot { transform: none; }
}
@media (max-width: 640px) {
  .hd-pill { top: 12px; gap: 2px; padding: 4px; }
  .hd-pill-brand { width: 44px; min-width: 44px; padding: 0; }
  .hd-pill-brand span { display: none; }
  .hd-pill-links a { padding: 0 10px; font-size: 13px; }
  .hd-pill-go { min-height: 44px; height: 44px; padding: 0 14px; font-size: 13px; }
  .hd-hero { padding: 112px 0 44px; }
  .hd-hero-stage { margin-top: 40px; width: min(276px, 78vw); }
  .hd-section { padding-top: 72px; }
  .hd-row { grid-template-columns: minmax(0, 1fr) 20px; gap: 6px 14px; }
  .hd-row-cat { grid-column: 1 / -1; }
  .hd-dawn { margin-top: 80px; padding: 80px 0 72px; }
  .hd-dawn-qr { display: none; }
  .hd-footer-nav { margin-left: 0; }
}
