/*
Theme Name: Saiko Prime Holdings
Theme URI: https://saikoph.com
Author: James Callos Jordan
Description: Custom-coded theme for Saiko Prime Holdings — investor funnel and hub site linking to Saiko Builders, Saiko Media, Saiko Elements, and Saiko Tech. Gold/black/white brand.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: saiko-prime
*/

:root {
  --black:        #0a0908;
  --black-2:      #141210;
  --panel:        #17140f;
  --white:        #f7f5f0;
  --ink-soft:     #d9d4c7;
  --ink-muted:    #a39c8c;
  --gold-1:       #f6d67a;
  --gold-2:       #d4a537;
  --gold-3:       #9c7a20;
  --gold-line:    rgba(212,165,55,0.35);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.gold-text {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 60%, var(--gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.mark { display: block; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,9,8,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .wordmark { font-family: var(--serif); line-height: 1.1; }
.brand .wordmark .l1 { font-size: 17px; letter-spacing: 2.5px; font-weight: 700; }
.brand .wordmark .l2 { font-size: 10.5px; letter-spacing: 5px; color: var(--gold-2); }
.brand img.custom-logo { height: 40px; width: auto; }

nav.primary-nav ul { list-style: none; display: flex; gap: 40px; align-items: center; }
nav.primary-nav a {
  font-size: 13px; letter-spacing: 1.5px; font-weight: 600; color: var(--ink-soft);
  padding-bottom: 6px; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav.primary-nav a:hover, nav.primary-nav .current-menu-item > a { color: var(--gold-1); border-color: var(--gold-2); }
.cta-btn {
  font-size: 12px; letter-spacing: 1.5px; font-weight: 700;
  border: 1px solid var(--gold-2); color: var(--gold-1);
  padding: 11px 22px; border-radius: 3px;
  transition: background .2s, color .2s;
  white-space: nowrap; display: inline-block;
}
.cta-btn:hover { background: var(--gold-2); color: var(--black); }
.cta-btn.solid {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  color: var(--black); border: none;
}
.cta-btn.solid:hover { filter: brightness(1.08); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 96px 0 120px;
  background:
    radial-gradient(1100px 520px at 82% 8%, rgba(212,165,55,0.16), transparent 60%),
    linear-gradient(180deg, #0a0908 0%, #0f0d0a 55%, #0a0908 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--gold-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold-line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: 0.05; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow-line { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.eyebrow-line .rule { width: 46px; height: 1px; background: var(--gold-2); }
.eyebrow-line span { font-size: 12px; letter-spacing: 3px; color: var(--gold-2); font-weight: 700; }
h1.headline { font-family: var(--serif); font-size: 52px; line-height: 1.14; font-weight: 400; color: var(--white); }
h1.headline .accent { display: block; font-style: italic; }
.hero-sub { margin-top: 26px; max-width: 460px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.hero-ctas { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 56px; }
.hero-stats .stat .num { font-family: var(--serif); font-size: 28px; }
.hero-stats .stat .lbl { font-size: 11px; letter-spacing: 1.5px; color: var(--ink-muted); margin-top: 4px; }
.hero-mark-panel {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 20px; border: 1px solid var(--gold-line); border-radius: 8px;
  background: linear-gradient(180deg, rgba(212,165,55,0.06), rgba(212,165,55,0.01));
}
.hero-mark-panel .mark { width: 150px; height: 150px; }
.hero-mark-panel .word { font-family: var(--serif); text-align: center; margin-top: 18px; }
.hero-mark-panel .word .l1 { font-size: 26px; letter-spacing: 4px; font-weight: 700; }
.hero-mark-panel .word .l2 { font-size: 13px; letter-spacing: 8px; color: var(--gold-2); margin-top: 6px; }

/* ---------- Our Business ---------- */
.business { background: linear-gradient(180deg, var(--white), #efece3); color: var(--black); padding: 100px 0 110px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .kicker { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 14px; }
.section-head .kicker .rule { width: 60px; height: 1px; background: var(--gold-2); }
.section-head h2 { font-family: var(--serif); font-size: 34px; letter-spacing: 1px; }
.section-head p { margin-top: 14px; color: #5c5748; font-size: 15px; }
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-card {
  position: relative; background: var(--black); border-radius: 8px; overflow: hidden; min-height: 300px;
  padding: 26px 22px 24px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid rgba(0,0,0,0.06); transition: transform .25s ease, box-shadow .25s ease;
}
.biz-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.25); }
.biz-card .art { position: absolute; inset: 0; background: var(--card-bg, radial-gradient(120% 100% at 100% 0%, rgba(212,165,55,0.25), transparent 60%)); opacity: 0.9; }
.biz-card .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,0.15) 0%, rgba(10,9,8,0.55) 55%, rgba(10,9,8,0.92) 100%); }
.biz-card .content { position: relative; z-index: 2; }
.biz-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold-2); border-radius: 50%; margin-bottom: 16px; }
.biz-icon svg { width: 22px; height: 22px; stroke: var(--gold-1); fill: none; }
.biz-card h3 { font-family: var(--serif); font-size: 19px; letter-spacing: 1px; line-height: 1.3; color: var(--white); margin-bottom: 8px; }
.biz-card p.desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; max-width: 90%; }
.biz-card .know { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 1.5px; font-weight: 700; color: var(--gold-1); }
.biz-card .know svg { width: 12px; height: 12px; }

/* ---------- Investor CTA ---------- */
.investor { background: var(--black); padding: 96px 0; position: relative; overflow: hidden; border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.investor::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 340px at 12% 30%, rgba(212,165,55,0.12), transparent 60%); }
.investor-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.investor h2 { font-family: var(--serif); font-size: 32px; line-height: 1.3; margin-bottom: 18px; }
.investor p { color: var(--ink-soft); font-size: 15px; line-height: 1.75; max-width: 480px; }
.investor-points { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.investor-points .pt { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.investor-points .pt .dot { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--gold-2); flex: none; }
.invest-form { background: var(--panel); border: 1px solid var(--gold-line); border-radius: 10px; padding: 34px; }
.invest-form h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.invest-form .sub { font-size: 13px; color: var(--ink-muted); margin-bottom: 24px; }
.invest-form label { display: block; font-size: 11px; letter-spacing: 1.2px; color: var(--ink-muted); margin-bottom: 6px; margin-top: 16px; }
.invest-form label:first-of-type { margin-top: 0; }
.invest-form input, .invest-form textarea {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(212,165,55,0.25); border-radius: 5px;
  padding: 11px 13px; color: var(--white); font-family: var(--sans); font-size: 14px;
}
.invest-form input:focus, .invest-form textarea:focus { outline: none; border-color: var(--gold-2); }
.invest-form button {
  margin-top: 24px; width: 100%; padding: 13px; border: none; border-radius: 5px;
  font-size: 13px; letter-spacing: 1.5px; font-weight: 700;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); color: var(--black); cursor: pointer;
}
.invest-form button:hover { filter: brightness(1.06); }
.invest-form .note { margin-top: 12px; font-size: 11px; color: var(--ink-muted); text-align: center; }
.form-flash { margin-bottom: 18px; padding: 12px 16px; border-radius: 6px; font-size: 13px; }
.form-flash.success { background: rgba(12,163,12,0.12); border: 1px solid rgba(12,163,12,0.4); color: #7fe07f; }
.form-flash.error { background: rgba(208,59,59,0.12); border: 1px solid rgba(208,59,59,0.4); color: #ef9a9a; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, #0a0908, #0d0b08); padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about .kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.about .kicker .rule { width: 46px; height: 1px; background: var(--gold-2); }
.about .kicker span { font-size: 12px; letter-spacing: 3px; color: var(--gold-2); font-weight: 700; }
.about h2 { font-family: var(--serif); font-size: 30px; line-height: 1.35; margin-bottom: 18px; }
.about p { color: var(--ink-soft); font-size: 15px; line-height: 1.8; max-width: 480px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-stats .card { border: 1px solid var(--gold-line); border-radius: 8px; padding: 26px 18px; text-align: center; background: rgba(212,165,55,0.03); }
.about-stats .card .num { font-family: var(--serif); font-size: 30px; }
.about-stats .card .lbl { margin-top: 8px; font-size: 11.5px; color: var(--ink-muted); letter-spacing: 0.5px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--black-2); border-top: 1px solid var(--gold-line); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(212,165,55,0.15); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: var(--ink-muted); line-height: 1.7; max-width: 320px; }
footer h4 { font-size: 12px; letter-spacing: 1.5px; color: var(--gold-2); margin-bottom: 16px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
footer ul a { font-size: 13.5px; color: var(--ink-soft); transition: color .2s; }
footer ul a:hover { color: var(--gold-1); }
.socials { display: flex; gap: 10px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold-line); display: flex; align-items: center; justify-content: center; }
.socials a svg { width: 14px; height: 14px; fill: var(--gold-1); }
.socials a:hover { background: var(--gold-2); }
.socials a:hover svg { fill: var(--black); }
.copyright { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 12px; color: var(--ink-muted); flex-wrap: wrap; gap: 8px; }

/* ---------- Generic page (About/Contact/etc built via WP editor) ---------- */
.page-content-wrap { padding: 120px 0 90px; max-width: 820px; }
.page-content-wrap h1 { font-family: var(--serif); font-size: 40px; margin-bottom: 24px; }
.page-content-wrap .entry-content { color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.page-content-wrap .entry-content h2 { font-family: var(--serif); color: var(--white); margin: 32px 0 14px; font-size: 24px; }
.page-content-wrap .entry-content a { color: var(--gold-1); text-decoration: underline; }

@media (max-width: 980px) {
  nav.primary-nav { display: none; }
  .hero-grid, .investor-grid, .about-grid { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  h1.headline { font-size: 38px; }
}
