/*
Theme Name: OpenHeart Coming Soon
Theme URI: https://openheart.center/
Author: OpenHeart
Description: Temporary coming soon theme for the OpenHeart project.
Version: 1.1.0
Text Domain: openheart-coming-soon
*/

:root {
  --paper: #fff9f1;
  --paper-2: #f6e6da;
  --ink: #2a211c;
  --muted: #725846;
  --accent: #f72a05;
  --accent-2: #fb6d05;
  --line: rgba(109, 81, 65, 0.18);
  --white: rgba(255, 255, 255, 0.72);
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 15%, rgba(247, 42, 5, 0.18), transparent 30vw),
    radial-gradient(circle at 90% 8%, rgba(251, 109, 5, 0.2), transparent 28vw),
    linear-gradient(145deg, var(--paper) 0%, #fff 48%, var(--paper-2) 100%);
  font-family: Arial, "Segoe UI", sans-serif;
}

a { color: inherit; }

.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(1180px, calc(100% - 36px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(14px, 2.1vh, 24px) 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 46px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.toplink {
  padding: 9px 14px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: clamp(16px, 2.4vw, 26px);
  align-items: center;
  min-height: 0;
  padding: clamp(14px, 2vh, 28px) 0;
}

.copy,
.conference-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: clamp(24px, 3vw, 34px);
  backdrop-filter: blur(18px);
}

.copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(68svh, 620px);
  padding: clamp(24px, 4.6vw, 54px);
}

.status {
  width: fit-content;
  margin: 0 0 clamp(14px, 2vh, 20px);
  padding: 8px 12px;
  color: #fff9f1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.8vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.lead {
  max-width: 650px;
  margin: clamp(14px, 2.3vh, 22px) 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.42;
}

.verse {
  max-width: 620px;
  margin: clamp(16px, 2.5vh, 26px) 0 0;
  padding: clamp(15px, 2.2vw, 20px) clamp(17px, 2.5vw, 24px);
  background: rgba(255, 249, 241, 0.88);
  border-left: 4px solid var(--accent);
  border-radius: 20px;
}

.verse blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.16;
}

.verse cite {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(16px, 2.6vh, 28px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary { color: #fff9f1; background: var(--ink); }
.button.secondary { color: var(--ink); background: #fff; border: 1px solid var(--line); }

.conference-card {
  align-self: center;
  overflow: hidden;
}

.video-card {
  position: relative;
  overflow: hidden;
  color: #fff9f1;
  background: var(--ink);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
}

.video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 10px 13px;
  background: rgba(42, 33, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.video-badge strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1;
}

.video-badge span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 249, 241, 0.84);
  font-size: 0.88rem;
}

.video-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 7px;
  background: rgba(42, 33, 28, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.video-controls button {
  min-height: 28px;
  min-width: 34px;
  padding: 5px 10px;
  color: #fff9f1;
  cursor: pointer;
  background: rgba(255, 249, 241, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 900;
}

[data-video-play] { font-size: 0.9rem; line-height: 1; }

.conference-info {
  padding: clamp(16px, 2.3vw, 24px);
}

.conference-info h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.conference-info p {
  margin: 9px 0 14px;
  color: var(--muted);
  line-height: 1.4;
}

.conference-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  color: #fff9f1;
  background: var(--accent);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.footer {
  color: var(--muted);
  font-size: 0.84rem;
}

@media (min-width: 861px) and (max-height: 820px) {
  .page { padding: 10px 0; }
  .brand img { width: 38px; height: 38px; }
  .topbar { min-height: 40px; }
  .hero { gap: 18px; padding: 10px 0; }
  .copy { min-height: 0; padding: 24px; }
  .status { margin-bottom: 12px; padding: 7px 11px; }
  h1 { font-size: clamp(34px, 4.8vw, 58px); }
  .lead { margin-top: 12px; font-size: 15.5px; line-height: 1.36; }
  .verse { margin-top: 14px; padding: 14px 18px; }
  .verse blockquote { font-size: 20px; }
  .verse cite { margin-top: 7px; }
  .actions { margin-top: 14px; }
  .button { min-height: 42px; padding: 10px 15px; }
  .video-card video { aspect-ratio: 1.52 / 1; }
  .video-badge { padding: 8px 11px; }
  .video-badge strong { font-size: 24px; }
  .video-badge span { font-size: 0.78rem; }
  .video-controls { bottom: 10px; padding: 6px; }
  .video-controls button { min-height: 26px; padding: 4px 9px; font-size: 0.66rem; }
  .conference-info { padding: 14px 16px; }
  .conference-info h2 { font-size: 26px; }
  .conference-info p { margin: 7px 0 10px; font-size: 14.5px; line-height: 1.34; }
  .conference-link { min-height: 36px; padding: 8px 12px; }
}

@media (max-width: 860px) {
  .page { display: block; min-height: auto; padding: 16px 0 24px; }
  .topbar { align-items: flex-start; flex-direction: column; margin-bottom: 16px; }
  .hero { grid-template-columns: 1fr; padding: 0; }
  .copy { min-height: auto; }
  .conference-card { margin-top: 16px; }
  .video-card video { aspect-ratio: 16 / 10; }
  .footer { margin-top: 18px; }
}

@media (max-width: 560px) {
  .page { width: min(100% - 20px, 1180px); }
  .brand img { width: 38px; height: 38px; }
  h1 { font-size: clamp(38px, 12vw, 54px); }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .video-controls { border-radius: 22px; }
  .video-controls button { flex: 1 1 auto; }
}
