/* =========================================================
   Photum — site stylesheet
   Palette:  warm white #F8F3E9 · tan #D9C4A0 · gold #C99A3A
             yellow #F0C244 · charcoal ink #2B2620
   Type:     Barlow Condensed (display) · Inter (body)
             IBM Plex Mono (exif-style captions)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  --white: #F8F3E9;
  --tan: #D9C4A0;
  --gold: #C99A3A;
  --yellow: #F0C244;
  --ink: #2B2620;
  --ink-soft: #5B5248;
  --line: #C9B591;

  --display: 'Barlow Condensed', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --max: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* film-sprocket rail down the left edge, desktop only */
body::before {
  content: "";
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: 14px;
  background-image: radial-gradient(circle, var(--tan) 3px, transparent 3px);
  background-size: 14px 26px;
  background-position: 4px 12px;
  opacity: 0.5;
  z-index: 0;
  display: none;
}
@media (min-width: 900px) {
  body::before { display: block; }
  body { padding-left: 14px; }
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- kicker / exif-style caption ---------- */
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 243, 233, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.wordmark .aperture-mark {
  width: 22px;
  height: 22px;
}
nav.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.site-nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
nav.site-nav a:hover,
nav.site-nav a.active {
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: #43392f; transform: translateY(-1px); }
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }

/* ---------- hero ---------- */
.hero {
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 32px;
}
.hero .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.aperture-hero {
  width: 100%;
  max-width: 340px;
  justify-self: center;
  animation: aperture-open 1.1s cubic-bezier(.4,0,.2,1) both;
}
@keyframes aperture-open {
  from { transform: scale(0.82) rotate(-8deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}
.aperture-hero .blade {
  transform-origin: 100px 100px;
  transition: transform 0.4s ease;
}
.aperture-hero:hover .blade {
  transform: rotate(6deg);
}

/* ---------- contact sheet / how it works ---------- */
.contact-sheet {
  padding: 64px 0 72px;
  border-top: 1px solid var(--line);
}
.contact-sheet h2,
.section-heading {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}
.frames {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 760px) {
  .frames { grid-template-columns: 1fr; }
}
.frame {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px 22px 24px;
  position: relative;
}
.frame .frame-index {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 14px;
}
.frame h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}
.frame p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* corner ticks, contact-sheet crop-mark feel */
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--tan);
  border-left: 2px solid var(--tan);
  top: -1px; left: -1px;
}
.frame::after {
  top: auto; left: auto;
  bottom: -1px; right: -1px;
  border-top: none; border-left: none;
  border-bottom: 2px solid var(--tan);
  border-right: 2px solid var(--tan);
}

/* ---------- two-column audience section ---------- */
.audience {
  padding: 8px 0 80px;
}
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 760px) {
  .audience-grid { grid-template-columns: 1fr; }
}
.audience-card {
  background: var(--tan);
  padding: 34px 30px;
  border-radius: 2px;
}
.audience-card.alt {
  background: var(--ink);
  color: var(--white);
}
.audience-card.alt .kicker { color: var(--yellow); }
.audience-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  margin: 6px 0 12px;
}
.audience-card p {
  margin: 0 0 18px;
  font-size: 15px;
}
.audience-card.alt p { color: #D8D1C4; }
.audience-card a.text-link {
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.audience-card.alt a.text-link { border-bottom-color: var(--yellow); }

/* ---------- generic page hero (support / privacy) ---------- */
.page-hero {
  padding: 72px 0 44px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 52px);
  margin: 0 0 14px;
}
.page-hero p.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

.page-body {
  padding: 48px 0 88px;
  max-width: 720px;
}
.page-body h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  margin: 40px 0 12px;
}
.page-body h2:first-child { margin-top: 0; }
.page-body p, .page-body li {
  font-size: 15.5px;
  color: var(--ink-soft);
}
.page-body ul { padding-left: 20px; }

.contact-block {
  background: var(--tan);
  padding: 26px 28px;
  border-radius: 2px;
  margin: 28px 0;
}
.contact-block .kicker { margin-bottom: 8px; }
.contact-block a.email {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

.note {
  font-size: 13.5px;
  color: var(--ink-soft);
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 14px;
  margin: 24px 0;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 40px;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer .wordmark { font-size: 18px; }
.footer-nav {
  display: flex;
  gap: 22px;
}
.footer-nav a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--ink); }
.footer-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}
