/* shawneeoklahoma.com — shared stylesheet
   Plain CSS, no build step. Design tokens from the Homefront brand.
   Mobile-first. Root-relative link (/styles.css) so it serves from
   both / and /4903-n-harrison/. */

:root {
  --ink:   #0B1B33;
  --gold:  #C8A33C;
  --cream: #F6F2E8;
  --ink-2: #152B4C;
  --rule:  #D8D0BE;
  --grey:  #5B6472;

  --measure: 68ch;         /* readable line length */
  --pad: clamp(1.25rem, 5vw, 3rem);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;                 /* lighter display weight reads more editorial */
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.15rem, 6.5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 4vw, 2.35rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); letter-spacing: -0.01em; }

p { margin: 0 0 1rem; max-width: var(--measure); }
a { color: var(--ink-2); }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: 62rem;
  margin-inline: auto;
  padding-inline: var(--pad);
}
section { padding-block: clamp(3rem, 9vw, 6rem); }
.section-rule { border-top: 1px solid var(--rule); }

/* editorial section label: gold hairline + letter-spaced kicker */
.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--gold);
  display: inline-block;
}

/* ---------- masthead (reads like a document cover, not a hero block) ---------- */
.masthead {
  background: var(--ink);
  color: var(--cream);
  border-bottom: 3px solid var(--gold);   /* single hairline accent, not a slab */
}
.masthead h1, .masthead h2 { color: var(--cream); }
.masthead .eyebrow { color: var(--gold); border-top-color: var(--gold); }
.masthead p { color: #C9D2E0; }

/* ---------- CTA (one button, repeated — color as keyline, not fill) ---------- */
.cta {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  transition: background-color .15s ease, color .15s ease;
}
.cta:hover { background: var(--ink); color: var(--cream); }
/* on the navy cover, the primary CTA inverts to a gold keyline */
.masthead .cta {
  color: var(--gold);
  border-color: var(--gold);
}
.masthead .cta:hover { background: var(--gold); color: var(--ink); }
.cta--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246,242,232,0.4);
}
.cta--ghost:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* ---------- infrastructure ledger (signature element) ---------- */
.ledger {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  margin: 1.5rem 0;
}
.ledger-row {
  display: grid;
  grid-template-columns: 1.1rem 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .mark {
  color: var(--gold);
  font-size: 0.7rem;
  line-height: 1.9;
}
.ledger-row .mark::before { content: "\25C6"; }  /* ◆ diamond */
.ledger-row .item { color: var(--ink); }
.ledger-row .status {
  text-align: right;
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--grey);
  white-space: nowrap;
}
.ledger-caption { font-size: 0.85rem; color: var(--grey); }

/* ---------- pricing options (editorial statement, not a SaaS pricing table) ---------- */
.options { display: grid; gap: 2.5rem; margin-top: 2rem; }
@media (min-width: 640px) { .options { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.option {
  border: 0;
  border-top: 1px solid var(--ink);
  background: transparent;
  padding: 1.5rem 0 0;
}
.option .price {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.option .price small {
  display: block;
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.7rem;
}
.option .caveat {
  font-size: 0.9rem;
  color: var(--grey);
  border-left: 2px solid var(--gold);
  padding-left: 0.9rem;
  margin-top: 1.25rem;
}

/* ---------- fact grid ---------- */
.facts { display: grid; gap: 0.9rem 1.5rem; margin-top: 1rem; }
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { border-bottom: 1px solid var(--rule); padding-bottom: 0.7rem; }
.fact dt {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); font-weight: 600;
}
.fact dd { margin: 0.15rem 0 0; font-size: 1.05rem; }

/* ---------- traffic table ---------- */
.traffic { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.95rem; }
.traffic caption { text-align: left; color: var(--grey); font-size: 0.85rem; margin-bottom: 0.5rem; }
.traffic th, .traffic td { text-align: left; padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--rule); }
.traffic th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey); }
.traffic td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.traffic .station { color: var(--grey); font-variant-numeric: tabular-nums; }
.traffic tfoot td { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; }

/* ---------- media placeholder (degrades gracefully; no broken images) ---------- */
.media {
  display: grid;
  place-content: center;
  text-align: center;
  aspect-ratio: 3 / 2;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 10px, rgba(11,27,51,0.03) 10px, rgba(11,27,51,0.03) 20px);
  border: 2px dashed var(--rule);
  color: var(--grey);
  font-size: 0.85rem;
  padding: 1rem;
}
.media code { font-size: 0.8rem; color: var(--ink-2); }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
figcaption { font-size: 0.85rem; color: var(--grey); margin-top: 0.5rem; }
.media-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .media-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .media-grid--3 { grid-template-columns: 1fr 1fr 1fr; } }

/* real photos: full 4:3 frame, thin rule, no crop */
.photo {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  background: var(--ink);
}

/* hero establishing shot: a band under the masthead cover */
.hero-shot { margin: 0; }
.hero-shot img {
  display: block;
  width: 100%;
  height: clamp(220px, 42vh, 460px);
  object-fit: cover;
  border-bottom: 3px solid var(--gold);
}

/* ---------- founder video (vertical 9:16, click to play) ---------- */
.video-frame {
  margin-top: 1.75rem;
  max-width: 340px;                 /* phone-native portrait */
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  background: var(--ink);
  border: 1px solid var(--rule);
}

/* ---------- Cal.com inline embed ---------- */
.cal-embed {
  margin-top: 2rem;
  min-height: 3.5rem;               /* holds the fallback button before the iframe mounts */
  background: rgba(246,242,232,0.04);
  border: 1px solid rgba(200,163,60,0.25);
}
.cal-embed:has(iframe) {
  min-height: 0;
  padding: 0.25rem;
}
/* once the calendar iframe is present, the link fallback is redundant */
.cal-embed:has(iframe) .cal-fallback { display: none; }
.cal-fallback { margin: 1rem; }
.cal-embed iframe { display: block; width: 100%; border: 0; }

/* ---------- direct contact (phone + email, set editorial on the navy cover) ---------- */
.contact {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
  display: grid;
  gap: 1.25rem;
}
.contact li { display: flex; flex-direction: column; gap: 0.2rem; }
.contact .contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
}
.contact a {
  font-family: var(--display);
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.01em;
  width: max-content;
  max-width: 100%;
}
.contact a:hover { color: var(--gold); }

/* ---------- footer (compliance — on every page) ---------- */
.site-footer {
  background: var(--ink);
  color: #C9D2E0;
  font-size: 0.85rem;
  line-height: 1.55;
}
.site-footer .wrap { padding-block: clamp(2rem, 5vw, 3rem); }
.site-footer strong { color: var(--cream); }
.site-footer a { color: var(--gold); }
.site-footer .broker { font-size: 0.95rem; margin-bottom: 1rem; }
.site-footer .disclaimer { color: #93A0B5; max-width: 60ch; }
.site-footer .disclaimer p { max-width: none; }

/* ---------- accessibility ---------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: 0.6rem 1rem; font-weight: 700; z-index: 10;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
