/* PhotoWatch shared styles (v64): menu, photo header, download band, footer.
   Every class starts with pw- so it never clashes with a page's own styles. */
:root {
  --pw-navy: #0A1C33; --pw-navy-2: #0E2646; --pw-navy-3: #071426;
  --pw-amber: #FFB74A; --pw-teal: #2BB5A0; --pw-teal-light: #5ED6C2;
  --pw-serif: 'DM Serif Display', Georgia, serif;
  --pw-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --pw-pad: 64px;
}
@media (max-width: 768px) { :root { --pw-pad: 24px; } }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body { padding-top: 0 !important; }
.pw-nav, .pw-nav *, .pw-menu, .pw-menu *, .pw-hero, .pw-hero *, .pw-cta, .pw-cta *, .pw-footer, .pw-footer * { box-sizing: border-box; }

/* ── Menu ── */
.pw-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--pw-pad); font-family: var(--pw-sans);
  background: linear-gradient(180deg, rgba(10,28,51,0.55) 0%, rgba(10,28,51,0) 100%);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.pw-nav.is-solid, .pw-solid-nav .pw-nav {
  background: rgba(10,28,51,0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.10);
}
.pw-nav a { color: #fff; text-decoration: none; }
.pw-nav-logo { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; min-height: 44px; }
.pw-nav-logo svg { display: block; }
.pw-nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 400; }
.pw-nav-links a { min-height: 44px; display: inline-flex; align-items: center; text-shadow: 0 1px 6px rgba(0,0,0,0.5); transition: color 0.2s; }
.pw-nav-links a:hover { color: var(--pw-amber); }
.pw-nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--pw-amber); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.pw-nav a.pw-nav-get, .pw-menu a.pw-nav-get {
  padding: 0 20px; border-radius: 999px; background: var(--pw-amber); color: var(--pw-navy);
  font-weight: 600; text-shadow: none; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.pw-nav a.pw-nav-get:hover { color: var(--pw-navy); filter: brightness(1.06); }
.pw-burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.pw-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.pw-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pw-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pw-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.pw-menu {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 299; display: none; flex-direction: column;
  padding: 12px var(--pw-pad) 28px; background: rgba(7,20,38,0.98); font-family: var(--pw-sans);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.pw-menu.is-open { display: flex; }
.pw-menu a { color: #fff; text-decoration: none; font-size: 18px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.pw-menu a[aria-current="page"] { color: var(--pw-amber); }
.pw-menu a.pw-nav-get { margin-top: 18px; border-bottom: 0; min-height: 52px; font-size: 17px; }
@media (max-width: 900px) {
  .pw-nav-links { display: none; }
  .pw-burger { display: flex; }
}

/* ── Photo header ── */
.pw-hero { position: relative; min-height: 540px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--pw-navy); color: #fff; font-family: var(--pw-sans); text-align: left; }
.pw-hero picture, .pw-hero .pw-hero-img { position: absolute; inset: 0; }
.pw-hero img.pw-hero-img, .pw-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pw-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(10,28,51,0.84) 0%, rgba(10,28,51,0.48) 30%, rgba(10,28,51,0) 54%); }
.pw-hero-inner { position: relative; z-index: 1; padding: 120px var(--pw-pad) 56px; max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.pw-hero .pw-eyebrow, .pw-eyebrow { margin: 0; font-family: var(--pw-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pw-amber); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pw-hero h1 { margin: 0; font-family: var(--pw-serif); font-weight: 400; font-size: clamp(44px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -0.01em; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.30); }
.pw-hero h1 em, .pw-cta h2 em { color: var(--pw-amber); font-style: italic; }
.pw-hero p.pw-hero-sub { margin: 0; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.94); max-width: 540px; text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.pw-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pw-hero-chips span { padding: 9px 15px; border-radius: 999px; background: rgba(10,28,51,0.72); border: 1px solid rgba(255,255,255,0.22); font-size: 13.5px; font-weight: 600; color: #fff; }
@media (max-width: 768px) {
  .pw-hero { min-height: 460px; }
  .pw-hero::after { background: linear-gradient(180deg, rgba(10,28,51,0.50) 0%, rgba(10,28,51,0.45) 40%, rgba(10,28,51,0.90) 100%); }
  .pw-hero-inner { padding: 110px var(--pw-pad) 36px; }
  .pw-hero p.pw-hero-sub { font-size: 16px; }
}

/* ── Buttons ── */
.pw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; font-family: var(--pw-sans); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease; }
.pw-btn:hover { transform: translateY(-1px); }
.pw-btn--amber, a.pw-btn--amber { background: var(--pw-amber); color: var(--pw-navy); border: 0; }
.pw-btn--amber:hover { filter: brightness(1.06); }
.pw-btn--ghost, a.pw-btn--ghost { background: rgba(10,28,51,0.55); color: #fff; border: 1.5px solid rgba(255,255,255,0.50); }
.pw-btn--ghost:hover { background: rgba(255,255,255,0.12); }
.pw-btn svg { flex-shrink: 0; }

/* ── Page note (the line that used to be each page's footer) ── */
.pw-pagenote { text-align: center; font-size: 13px; opacity: 0.75; padding: 36px 24px 44px; margin: 0; }

/* ── Download band ── */
.pw-cta { background: var(--pw-navy-2); color: #fff; font-family: var(--pw-sans); padding: 72px var(--pw-pad); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; text-align: left; }
.pw-cta-text { flex: 1 1 420px; max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.pw-cta h2 { margin: 0; font-family: var(--pw-serif); font-weight: 400; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; color: #fff; }
.pw-cta p { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.90); max-width: none; }
.pw-cta a.pw-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pw-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 768px) { .pw-cta { padding: 56px var(--pw-pad); } .pw-cta-btns { width: 100%; } .pw-cta-btns .pw-btn { flex: 1 1 100%; } }

/* ── Footer ── */
.pw-footer { background: var(--pw-navy-3); color: #fff; font-family: var(--pw-sans); padding: 40px var(--pw-pad); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; text-align: left; }
.pw-footer-brand { display: flex; flex-direction: column; gap: 6px; }
.pw-footer-brand strong { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.pw-footer-brand span { font-size: 13px; color: rgba(255,255,255,0.78); }
.pw-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 14px; }
.pw-footer-links a { color: #fff; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.pw-footer-links a:hover { color: var(--pw-amber); }

/* ── Gentle arrival animation ── */
.pw-js .pw-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.pw-js .pw-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pw-js .pw-reveal { opacity: 1; transform: none; transition: none; }
  .pw-btn, .pw-nav { transition: none; }
}

/* ── Photo plate inside long pages (User Guide) ── */
.pw-plate { margin: 56px 0 8px; border-radius: 18px; overflow: hidden; }
.pw-plate picture img, .pw-plate img { display: block; width: 100%; height: 280px; object-fit: cover; }
@media (max-width: 768px) { .pw-plate picture img, .pw-plate img { height: 200px; } }

/* ── Simple document pages (Privacy) and card pages (Contact, Thanks, Page not found) ── */
.pw-doc-body { margin: 0; background: #F7F5F1; color: #1C2333; font-family: var(--pw-sans); line-height: 1.7; -webkit-font-smoothing: antialiased; }
.pw-doc { box-sizing: border-box; max-width: 780px; margin: 0 auto; padding: 128px 24px 72px; font-size: 16.5px; }
.pw-doc h1 { font-family: var(--pw-serif); font-weight: 400; font-size: clamp(40px, 6vw, 60px); line-height: 1.05; margin: 0 0 28px; text-align: center; color: #0A1C33; }
.pw-doc h2 { font-size: 21px; font-weight: 700; margin: 38px 0 10px; color: #0A1C33; }
.pw-doc h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.pw-doc p, .pw-doc li { margin: 0 0 14px; }
.pw-doc a { color: #1F5C9A; }
.pw-doc .meta { color: #5B6270; font-size: 14px; }
.pw-card-body { margin: 0; background: var(--pw-navy); color: #fff; font-family: var(--pw-sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.pw-stage { position: relative; min-height: max(760px, 100svh); display: flex; align-items: center; box-sizing: border-box; padding: 112px var(--pw-pad) 56px; }
.pw-stage picture img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pw-stage--dim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,28,51,0.88) 0%, rgba(10,28,51,0.60) 36%, rgba(10,28,51,0.10) 64%); }
.pw-card { position: relative; z-index: 1; box-sizing: border-box; width: 100%; max-width: 480px; background: rgba(10,28,51,0.94); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 30px 70px rgba(10,28,51,0.35); }
.pw-card--bare { background: none; box-shadow: none; padding: 0; max-width: 620px; }
.pw-card h1 { margin: 0; font-family: var(--pw-serif); font-weight: 400; font-size: clamp(38px, 5vw, 54px); line-height: 1.05; color: #fff; }
.pw-card--bare h1 { font-size: clamp(42px, 6vw, 68px); }
.pw-card h1 em { color: var(--pw-amber); font-style: italic; }
.pw-card p { margin: 0; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,0.92); }
.pw-card form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.pw-card label { font-size: 14px; font-weight: 600; margin-top: 8px; }
.pw-card input[type="text"], .pw-card input[type="email"], .pw-card textarea { box-sizing: border-box; width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.45); background: var(--pw-navy-2); color: #fff; font: 400 16px/1.4 var(--pw-sans); }
.pw-card textarea { min-height: 140px; resize: vertical; }
.pw-card input::placeholder, .pw-card textarea::placeholder { color: rgba(255,255,255,0.62); }
.pw-card input:focus, .pw-card textarea:focus { outline: 2px solid var(--pw-amber); outline-offset: 2px; }
.pw-card button[type="submit"] { margin-top: 14px; min-height: 54px; border: 0; border-radius: 14px; background: var(--pw-amber); color: var(--pw-navy); font: 600 16px var(--pw-sans); cursor: pointer; }
.pw-card button[disabled] { opacity: 0.7; cursor: default; }
.pw-card .error-msg { display: none; margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(214,90,22,0.22); border: 1px solid rgba(255,183,74,0.6); font-size: 14.5px; }
.pw-tick { width: 64px; height: 64px; border-radius: 50%; background: var(--pw-teal); color: var(--pw-navy); display: flex; align-items: center; justify-content: center; }
.pw-linkrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pw-linkrow a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,0.45); border-radius: 999px; font-size: 14.5px; font-weight: 500; color: #fff; text-decoration: none; }
.pw-linkrow a:hover { border-color: var(--pw-teal-light); background: rgba(43,181,160,0.12); }
.pw-linkrow a.pw-nav-get { background: var(--pw-amber); color: var(--pw-navy); border: 0; font-weight: 600; }
@media (max-width: 768px) { .pw-card { padding: 28px 22px; } .pw-stage { align-items: flex-end; } }
