/*
Theme Name: Charting Success Placeholder
Theme URI: https://chartingsuccess.com
Author: netMethods
Author URI: https://netmethods.com
Description: Single-page interim site for Charting Success (Vistage Chairs Beth Adkisson and Rick Leckey). No plugins, no JavaScript, self-hosted fonts. Holds the domain until the rebranded site ships.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.1
License: Proprietary
Text Domain: charting-success-placeholder
*/

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/CormorantGaramond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/CormorantGaramond-Italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/SourceSans3.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0e1f33;
  --ink: #f4ede0;
  --body: #b9c6d4;
  --muted: #8fa2b6;
  --brass: #c9a56a;
  --brass-hi: #e3c48f;
  --line: rgba(201, 165, 106, 0.45);
  --card: rgba(244, 237, 224, 0.06);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(24px, 6.6vw, 96px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brass); text-decoration: none; }
a:hover, a:focus-visible { color: var(--brass-hi); }
a:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; }
p { margin: 0; text-wrap: pretty; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Page frame ---------- */
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.16;
  pointer-events: none;
}
.page > header, .page > main, .page > footer { position: relative; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px) var(--gutter) 0;
}
.wordmark { display: flex; flex-direction: column; gap: 4px; }
.wordmark-name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
}
.wordmark-role {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.vistage-link {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(56px, 8vw, 96px) var(--gutter) 0;
  max-width: 900px;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 500;
  line-height: 0.98;
  color: var(--ink);
  text-wrap: pretty;
}
.hero p {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.45;
  color: var(--body);
  max-width: 560px;
}

/* ---------- Chairs ---------- */
.chairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding: clamp(40px, 5vw, 64px) var(--gutter) 0;
}
.chair {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  background: var(--card);
  border: 1px solid var(--line);
}
.chair-head { display: flex; align-items: center; gap: 20px; }
.monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brass);
}
.chair-id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.chair-name {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.chair-role {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.chair p { color: var(--body); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.btn svg { flex: 0 0 18px; }
.btn-primary { background: var(--brass); color: var(--navy); font-weight: 600; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--brass-hi); color: var(--navy); }
.btn-secondary { border: 1px solid var(--brass); color: var(--ink); font-weight: 500; letter-spacing: 0.02em; }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--brass-hi); color: var(--brass-hi); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(40px, 5vw, 56px) var(--gutter) clamp(28px, 4vw, 40px);
  font-size: 14px;
  color: var(--muted);
}
.footer-note { display: flex; flex-direction: column; gap: 6px; }
.coming {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--brass);
}

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .chairs { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .site-header { align-items: flex-start; }
}
@media (max-width: 520px) {
  .site-header { flex-direction: column; gap: 16px; }
  .chair-head { align-items: flex-start; }
  .monogram { flex-basis: 56px; width: 56px; height: 56px; font-size: 22px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero > p { animation-delay: 120ms; }
  .chair { animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 240ms; }
  .chair + .chair { animation-delay: 340ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media print {
  body { background: #fff; color: #000; }
  .chart { display: none; }
  .chair { border-color: #999; background: none; }
  .btn { border: 1px solid #000; color: #000; background: none; }
}
