/* Claybrook Properties — public site */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Playfair+Display+SC:wght@400;700&display=swap');

:root {
  --navy: #0A1628;
  --navy-deep: #060e19;
  --navy-mid: #142238;
  --gold: #c9a227;
  --gold-light: #f5d77a;
  --cream: #f8f4eb;
  --text: #0A1628;
  --text-muted: #5c6570;
  --border: #d8dee6;
  --bg: #f4f6f9;
  --card: #ffffff;
  --success: #1b7f4e;
  --error: #b42318;
  --header-h: 64px;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-headline: 'Playfair Display SC', Georgia, serif;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 22, 40, 0.15);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

[data-theme="dark"] {
  --text: #f0f2f5;
  --text-muted: #9aa3ad;
  --border: #2a3548;
  --bg: #060e19;
  --card: #0A1628;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 1rem;
  padding-bottom: calc(72px + var(--safe-b));
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; }
a:hover { color: var(--gold-light); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--navy-deep); padding: 0.75rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-deep);
  border-bottom: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 1rem; gap: 1rem;
  min-height: var(--header-h);
}
.logo-link { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; flex-shrink: 0; }
.logo-link img { height: 40px; width: auto; }
.logo-text { display: none; }
@media (min-width: 480px) {
  .logo-text { display: block; }
  .logo-link img { height: 44px; }
}
.logo-name {
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; line-height: 1.15;
}
.logo-name span { display: block; font-size: 0.65rem; color: var(--gold); font-weight: 600; letter-spacing: 0.1em; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 0.5rem; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.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); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.main-nav {
  display: none; position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--navy); padding: 1rem; overflow-y: auto;
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}
.main-nav.is-open { display: block; }
@media (min-width: 900px) {
  .main-nav {
    display: flex !important; position: static; background: none;
    padding: 0; align-items: center; gap: 0.15rem; overflow: visible;
    border: none;
  }
}
.main-nav a {
  display: block; padding: 0.75rem 0.85rem; color: rgba(255,255,255,0.9);
  text-decoration: none; font-weight: 600; font-size: 0.88rem;
  border-radius: 8px;
}
.main-nav a:hover, .main-nav a.active { background: rgba(201,162,39,0.15); color: var(--gold-light); }
@media (min-width: 900px) {
  .main-nav a { padding: 0.45rem 0.65rem; font-size: 0.82rem; }
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-btn {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; border-radius: 8px; padding: 0.45rem 0.6rem; cursor: pointer; font-size: 1rem;
}
.header-cta {
  display: none;
  background: var(--gold); color: var(--navy-deep) !important;
  padding: 0.55rem 1rem !important; border-radius: 8px; font-weight: 700 !important;
  font-size: 0.78rem !important; text-transform: uppercase; letter-spacing: 0.04em;
  white-space: nowrap;
}
.header-cta:hover { background: var(--gold-light) !important; }
@media (min-width: 900px) { .header-cta { display: inline-block; } }

/* Mobile sticky CTA */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: flex; gap: 0.5rem; padding: 0.65rem 1rem calc(0.65rem + var(--safe-b));
  background: var(--card); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
}
@media (min-width: 768px) { .mobile-cta-bar { display: none; } }
.mobile-cta-bar a {
  flex: 1; text-align: center; padding: 0.75rem; border-radius: 8px;
  font-weight: 700; font-size: 0.82rem; text-decoration: none;
}
.mobile-cta-bar .btn-primary { background: var(--gold); color: var(--navy-deep); }
.mobile-cta-bar .btn-secondary { background: var(--navy); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 1.35rem; border-radius: 8px; font-weight: 700;
  font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
  transition: background 0.15s, transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn-secondary { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-secondary:hover { background: rgba(201,162,39,0.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); color: #fff; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.78rem; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 3rem 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
[data-theme="dark"] .section-alt { background: var(--navy-mid); }

.section-head { margin-bottom: 2rem; }
.section-head h2 {
  font-family: var(--font-headline); font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem; color: var(--text);
}
.section-head p { margin: 0; color: var(--text-muted); max-width: 52ch; }

/* Hero */
.hero {
  position: relative; background: var(--navy-deep); color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../assets/photos/tulsa-skyline-illustration.png') center/cover no-repeat;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,14,25,0.92) 0%, rgba(10,22,40,0.75) 50%, rgba(10,22,40,0.55) 100%);
}
.hero-glow {
  position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,162,39,0.15) 0%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 3rem 1rem 3.5rem;
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 800px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; padding: 4rem 1rem; }
}
.hero h1 {
  font-family: var(--font-headline); font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08; margin: 0 0 1rem;
}
.hero-lead { font-size: 1.05rem; opacity: 0.92; margin: 0 0 1.5rem; max-width: 42ch; }
.hero-tagline {
  font-style: italic; color: var(--gold-light); font-size: 0.95rem; margin-bottom: 1.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(201,162,39,0.25);
}
.hero-card img { width: 100%; }

/* Cards grid */
.card-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-card .icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(201,162,39,0.15); border: 1px solid rgba(201,162,39,0.35);
  display: grid; place-items: center; font-size: 1.35rem;
}
.service-card h3 { margin: 0; font-size: 1.1rem; }
.service-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; flex: 1; }

/* Process steps */
.steps { display: grid; gap: 1rem; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; position: relative;
}
.step-num {
  font-family: var(--font-headline); font-size: 1.75rem; color: var(--gold);
  line-height: 1; margin-bottom: 0.5rem;
}
.step h3 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.step p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

/* Highlight strip */
.highlight-strip {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff; padding: 2rem 0; text-align: center;
}
.highlight-strip p { margin: 0; font-size: 1.05rem; max-width: 60ch; margin-inline: auto; }
.highlight-strip strong { color: var(--gold-light); }

/* Testimonial */
.testimonial {
  background: var(--card); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
}
.testimonial blockquote { margin: 0 0 0.75rem; font-size: 1.05rem; font-style: italic; }
.testimonial cite { font-size: 0.85rem; color: var(--text-muted); font-style: normal; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.65rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1rem 1.15rem; font-family: inherit; font-weight: 600; font-size: 0.95rem;
  color: var(--text); cursor: pointer; display: flex; justify-content: space-between; gap: 1rem;
}
.faq-q::after { content: '+'; color: var(--gold); font-size: 1.25rem; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  display: none; padding: 0 1.15rem 1rem; color: var(--text-muted); font-size: 0.92rem;
}
.faq-item.open .faq-a { display: block; }

/* Forms */
.form-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
label {
  display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.35rem;
}
input, select, textarea {
  width: 100%; padding: 0.75rem 0.85rem; border: 1px solid var(--border);
  border-radius: 8px; font: inherit; background: var(--bg); color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }
.form-success {
  display: none; padding: 1rem; background: rgba(27,127,78,0.12);
  border: 1px solid var(--success); border-radius: 8px; color: var(--success);
  font-weight: 600;
}
.form-success.show { display: block; }
.honeypot { position: absolute; left: -9999px; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff; padding: 2.5rem 0; border-bottom: 3px solid var(--gold);
}
.page-hero h1 {
  font-family: var(--font-headline); font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
}
.page-hero p { margin: 0; opacity: 0.9; max-width: 50ch; }

/* Two column content */
.split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; } }

/* IDX placeholder */
.idx-placeholder {
  background: var(--card); border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 3rem 1.5rem; text-align: center; color: var(--text-muted);
}
.idx-placeholder h3 { margin: 0 0 0.5rem; color: var(--text); }

.idx-embed {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow: hidden;
}

/* Resource cards */
.resource-list { display: grid; gap: 1rem; }
.resource-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.15rem;
}
.resource-item h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.resource-item p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

/* About */
.about-photo { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* Footer */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,0.85);
  padding: 2.5rem 0 1.5rem; margin-top: 2rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand img { height: 56px; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.88rem; opacity: 0.8; margin: 0; max-width: 28ch; }
.footer-col h4 {
  margin: 0 0 0.75rem; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold);
}
.footer-col a, .footer-col p {
  display: block; color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.88rem; margin-bottom: 0.4rem;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem; opacity: 0.65; text-align: center;
}
.eho { margin-top: 0.5rem; }

/* Legal prose */
.legal h2 { font-size: 1.15rem; margin: 2rem 0 0.75rem; }
.legal h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { color: var(--text-muted); font-size: 0.92rem; }

/* Keyword pills */
.keyword-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.keyword {
  padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  background: rgba(201,162,39,0.12); border: 1px solid rgba(201,162,39,0.35);
  color: var(--gold); text-decoration: none;
}
.keyword:hover { background: rgba(201,162,39,0.22); color: var(--gold-light); }