/* Watch Our Own — static site styles */

:root {
  --ink: #2f2b36;
  --ink-soft: #55515c;
  --muted: #76747b;
  --purple: #7b62df;
  --purple-deep: #372875;
  --lavender: #bba7fa;
  --lavender-soft: #d7d9fb;
  --paper: #ffffff;
  --paper-alt: #f7f7f7;
  --line: #bbbdc8;
  --radius: 14px;
  --shadow: 0 4px 14px rgba(55, 40, 117, 0.14);
  --header-grad: linear-gradient(50deg, rgba(57, 25, 186, 0.51) 17%, rgba(243, 245, 231, 0.51) 48%, rgba(123, 98, 223, 0.51) 81%);
  --font-display: "Wix Madefor Display", system-ui, sans-serif;
  --font-text: "Wix Madefor Text", system-ui, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-grad), #fff;
  backdrop-filter: blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.brand img { width: 94px; height: auto; }
.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 15px; padding: 6px 8px; color: #000;
  border-right: 1px solid rgba(0,0,0,.15);
}
.nav a:last-child { border-right: 0; }
.nav a[aria-current="page"] { color: var(--muted); text-decoration: underline; text-underline-offset: 5px; }
.nav a:hover { color: var(--purple-deep); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; box-shadow: var(--shadow); padding: 8px 16px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { border-right: 0; border-bottom: 1px solid #eee; padding: 14px 4px; font-size: 17px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: 500 15px var(--font-text); border: 0; border-radius: 999px;
  padding: 12px 26px; background: var(--purple-deep); color: #fff;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--purple); transform: translateY(-1px); }
.btn.light { background: rgba(247,247,247,.85); color: var(--ink); }
.btn.light:hover { background: #fff; }

/* ---------- Home: hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 460px; display: grid; place-items: center; padding: 72px 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='139' viewBox='0 0 160 139'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.75' stroke-width='2'%3E%3Cpath d='M0 0 L80 139 L160 0 Z'/%3E%3Cpath d='M80 139 L0 139 L40 69.5 M80 139 L160 139 L120 69.5'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(circle at 20% 30%, rgba(170, 210, 255, .9), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(200, 170, 255, .9), transparent 55%),
    linear-gradient(135deg, #cfe0ff, #e4d6ff);
}
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 700; color: var(--ink); }
.hero p { font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 19px); max-width: 720px; margin: 0 auto 1em; color: #31312e; }

/* ---------- Home: crisis + stats ---------- */
.crisis { background: var(--lavender); padding: 48px 0 40px; position: relative; overflow: hidden; }
.crisis h2 { font-size: clamp(28px, 3.4vw, 37px); }
.crisis .lede { max-width: 760px; margin: 0 auto 28px; font-family: var(--font-display); font-size: 17px; }
.stats {
  background: #fff; border-radius: 50% / 22%;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px;
  max-width: 900px; margin: 0 auto; padding: 56px 12% 64px;
}
.stat { text-align: center; }
.stat strong { display: block; font: 700 clamp(36px, 4.4vw, 48px) var(--font-display); color: var(--purple); }
.stat span { font-size: 13px; color: var(--ink); }
@media (max-width: 560px) { .stats { border-radius: 28px; padding: 36px 20px; } }

.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px auto 0; max-width: 900px; }
.audiences button {
  display: grid; place-items: center; text-align: center; cursor: pointer;
  min-height: 52px; padding: 8px 14px; border: 0; border-radius: 12px;
  background: var(--lavender); color: #fff; font: 15px var(--font-text);
  box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset;
  transition: background .2s, box-shadow .2s;
}
.audiences button:hover { background: var(--purple); }
.audiences button[aria-selected="true"] { background: var(--purple); box-shadow: 0 0 0 2px #fff inset, var(--shadow); }
.audiences button:focus-visible { outline: 3px solid var(--purple-deep); outline-offset: 2px; }
.audience-panel[hidden] { display: none; }
.audience-panel.enter { animation: panel-in .35s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.callout-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 56px auto 0; }
.callout-pair .callout { margin: 0; grid-template-columns: 1fr; text-align: center; gap: 8px; }
.callout-pair .callout strong { font-size: clamp(40px, 5vw, 56px); }
.callout-pair .callout p { font-size: 16px; }
@media (max-width: 680px) { .callout-pair { grid-template-columns: 1fr; } }
.card .doc-link { margin-top: 12px; font-size: 14px; }
.card .doc-link a { color: var(--purple-deep); font-weight: 600; }
@media (max-width: 760px) { .audiences { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Home: sandwich generation + cards ---------- */
.section { padding: 64px 0; }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section .sub { font-family: var(--font-display); font-size: 19px; max-width: 760px; margin: 0 auto 36px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid #ddd; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px 22px;
  opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s;
}
.card.in { opacity: 1; transform: none; }
.card img { width: 132px; height: 84px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.card h3 { font-weight: 400; font-size: clamp(22px, 2.4vw, 31px); margin-bottom: .3em; }
.card p { margin: 0; font-size: 15.5px; }
.card .ph { width: 132px; height: 84px; border-radius: 8px; margin-bottom: 12px; display: grid; place-items: center; font-size: 34px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  max-width: 900px; margin: 56px auto 0; padding: 28px 32px;
  border-radius: var(--radius); background: var(--paper-alt);
}
.callout strong { font: 900 clamp(48px, 6vw, 64px) var(--font-display); color: var(--purple); }
.callout p { margin: 0; font-family: var(--font-display); font-size: clamp(17px, 2vw, 22px); }
@media (max-width: 560px) { .callout { grid-template-columns: 1fr; text-align: center; } }

.features {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px;
  border: 1px solid var(--ink); padding: 18px 40px; max-width: 920px; margin: 0 auto;
}
.features li {
  list-style: none; padding: 14px 0 14px 34px; position: relative; font-size: 17px;
}
.features li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 22px; height: 22px; border-radius: 50%;
  background: #2fb36b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
@media (max-width: 680px) { .features { grid-template-columns: 1fr; padding: 12px 20px; } }

.cta {
  color: #fff; text-align: center; padding: 96px 0;
  background: linear-gradient(rgba(25, 20, 50, .55), rgba(25, 20, 50, .55)), url("img/cta.jpg") center/cover;
}
.cta h2 { font-size: clamp(30px, 3.6vw, 40px); }
.cta p { font-family: var(--font-display); font-size: clamp(19px, 2.6vw, 30px); max-width: 860px; margin: 0 auto 28px; font-weight: 300; }

/* ---------- Page banners ---------- */
.banner {
  margin: 40px auto 0; width: min(var(--max), 100% - 32px);
  min-height: 150px; display: flex; align-items: center; padding: 24px 12%;
  background-size: cover; background-position: center; color: #fff;
}
.banner h1 { font-weight: 400; font-size: clamp(32px, 4vw, 44px); margin: 0; }
.banner.dark h1 { color: var(--ink); }

/* ---------- Forms ---------- */
.form { max-width: 420px; margin: 40px auto 72px; }
.form > p { font-family: var(--font-display); font-size: 17px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; margin-bottom: 2px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent;
  font: 15px var(--font-text); padding: 8px 0; color: var(--ink); border-radius: 0;
}
.field textarea { border: 1px solid var(--ink); padding: 8px; min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 1px 0 var(--purple); }
.form .btn { width: 100%; border-radius: 0; background: var(--ink); }
.form .btn:hover { background: var(--purple-deep); }
.form-status { margin-top: 14px; font-size: 14px; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.field [aria-invalid="true"] { border-color: #b42318; box-shadow: 0 1px 0 #b42318; }
/* Honeypot: off-screen for people, still filled in by many bots */
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status.ok { color: #1f7a45; }
.form-status.err { color: #b42318; }

/* ---------- About ---------- */
.about-hero {
  position: relative; min-height: 420px; padding: 56px 0;
  background: url("img/about-hero.jpg") center/cover;
}
.about-hero .wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 120px; text-align: center; }
.about-hero h1 { font-size: clamp(34px, 4vw, 44px); margin: 0; }
.about-hero .tag { font-family: var(--font-display); font-size: 20px; margin: 0; }
.about-hero blockquote {
  margin: 0; max-width: 420px; text-align: left; color: #fff; font-weight: 600; font-size: 14px;
  background: rgba(0,0,0,.6); padding: 12px 16px; border-radius: 10px;
}
.story h2, .team h2 { font-size: clamp(34px, 4vw, 44px); text-align: center; }
.story h2::after, .team h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--lavender); margin: 12px auto 0; border-radius: 2px; }
.story .body { max-width: 860px; margin: 0 auto; }
.story-photo { width: 100%; max-height: 520px; object-fit: cover; border-radius: 10px; margin: 32px 0; }
.pullquote {
  border-left: 4px solid var(--purple); background: var(--paper-alt); padding: 20px 24px; margin: 28px 0;
  font-family: var(--font-display); font-size: 18px;
}
.pullquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; color: var(--muted); }
.team { background: var(--paper-alt); }
.team h3.group { text-align: center; font-size: 26px; margin: 48px 0 24px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.person { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.person img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.person .media { position: relative; }
/* Rollover: second photo fades in on hover, keyboard focus, or tap (.flip) */
.photo-swap { position: relative; display: block; outline: none; }
.photo-swap img + img { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .45s ease; }
.photo-swap:hover img + img, .photo-swap:focus-visible img + img, .photo-swap.flip img + img { opacity: 1; }
.photo-swap:focus-visible { box-shadow: 0 0 0 3px var(--purple) inset; }
.person .li {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center;
  background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: background .2s, transform .2s;
}
.person .li svg { width: 17px; height: 17px; fill: #0a66c2; }
.person .li:hover, .person .li:focus-visible { background: #0a66c2; transform: translateY(-1px); }
.person .li:hover svg, .person .li:focus-visible svg { fill: #fff; }
.person .info { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.person h4 { font: 600 19px var(--font-display); margin: 0; }
.person .role { color: var(--purple); font-size: 14px; margin: 2px 0 8px; }
.person .headline { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.person details { margin-top: auto; font-size: 14px; }
.person summary { cursor: pointer; color: var(--purple-deep); font-weight: 600; padding-top: 6px; }
.person details p { margin: .8em 0 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto 72px; }
.faq-search { display: flex; justify-content: flex-end; margin: 40px 0 16px; }
.faq-search input { border: 0; border-bottom: 1px solid var(--ink); padding: 6px 28px 6px 2px; font: 14px var(--font-text); width: 240px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16'%3E%3Ccircle cx='10' cy='10' r='6' fill='none' stroke='%232f2b36' stroke-width='2'/%3E%3Cpath d='M15 15l5 5' stroke='%232f2b36' stroke-width='2'/%3E%3C/svg%3E") right 4px center/16px no-repeat; }
.faq-search input:focus { outline: none; border-color: var(--purple); }
.faq details { border: 1px solid var(--ink); margin-bottom: 10px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 48px 18px 20px; font-size: 16px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .answer { padding: 0 20px 18px; font-size: 15px; color: var(--ink-soft); }
.faq .answer ul, .faq .answer ol { padding-left: 22px; margin: .4em 0 1em; }
.faq .answer li { margin: 4px 0; }
.faq .empty { display: none; padding: 20px; color: var(--muted); }
.notice { border: 1px dashed var(--purple); background: #f4f1ff; border-radius: var(--radius); padding: 20px 24px; margin-top: 40px; font-size: 14px; }
.notice h2 { font-size: 18px; }
.notice h3 { font-size: 15px; margin: 14px 0 4px; }
.notice ul { margin: 0; padding-left: 20px; }

/* ---------- Legal ---------- */
.legal { max-width: 860px; margin: 48px auto 72px; font-size: 15px; overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); }
.legal h2 { font-size: 21px; margin-top: 1.6em; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; padding: 48px 0 0;
  background: linear-gradient(rgba(255,240,232,.55), rgba(255,240,232,.55)), linear-gradient(120deg, #f2d9cc, #e8c7b6 45%, #d9b3a2);
}
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 32px; align-items: start; }
.footer-brand { font: 400 30px var(--font-display); margin: 0 0 12px; }
.footer-nav { display: grid; gap: 2px; }
.footer-nav a { text-decoration: none; font-size: 17px; }
.footer-nav a:hover { color: var(--purple-deep); }
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; }
.social svg { width: 18px; height: 18px; }
.mission { background: rgba(247,247,247,.75); padding: 18px 20px; font-size: 13.5px; border-radius: 4px; }
.download { text-align: center; }
.download h2 { font-size: 25px; font-weight: 400; }
.stores { display: flex; justify-content: center; gap: 20px; }
.stores img { width: 72px; height: 72px; border-radius: 14px; background: #fff; }
.footer-bottom { margin-top: 40px; padding: 18px 0; border-top: 1px solid rgba(0,0,0,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom em { font-style: normal; font-weight: 600; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } .download { text-align: left; } .stores { justify-content: flex-start; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { opacity: 1; transform: none; transition: none; }
}
