/*
Theme Name: RNC Enterprises
Theme URI: https://rncenterprisesllc.com
Author: RNC Enterprises LLC
Description: Corporate WordPress theme for RNC Enterprises LLC and its operating companies.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: rnc-enterprises
*/

:root {
  --navy: #07182d;
  --navy-2: #102f50;
  --blue: #2e638e;
  --gold: #d4b05d;
  --cream: #f5f0e5;
  --mist: #edf1f3;
  --ink: #102033;
  --muted: #627082;
  --white: #fff;
  --max: 1180px;
  --shadow: 0 22px 60px rgba(7, 24, 45, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.65; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 1000; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; color: var(--navy); }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; z-index: 90; top: 0; color: #fff; background: rgba(7,24,45,.96); border-bottom: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(14px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(212,176,93,.65); border-radius: 50%; color: var(--gold); font-family: Georgia, serif; font-weight: 700; letter-spacing: -.08em; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; letter-spacing: .02em; }
.brand-type { margin-top: 6px; color: #b8c4cf; font-size: .64rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: #eef4f8; text-decoration: none; font-size: .88rem; font-weight: 700; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold); }
.nav-cta { padding: 11px 18px; border: 1px solid var(--gold); border-radius: 999px; }
.menu-toggle { display: none; padding: 9px 13px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; font: inherit; }

.hero { min-height: 720px; display: grid; align-items: center; position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 82% 20%, rgba(46,99,142,.42), transparent 30%), linear-gradient(125deg, #061427 0%, #0a213a 58%, #123c60 100%); }
.hero::after { content: ""; position: absolute; inset: auto -7vw -34vw auto; width: 65vw; height: 65vw; border: 1px solid rgba(212,176,93,.24); border-radius: 50%; box-shadow: 0 0 0 80px rgba(212,176,93,.025), 0 0 0 160px rgba(212,176,93,.02); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; padding-block: 110px 125px; }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.hero h1 { max-width: 830px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 7vw, 6.6rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.hero h1 em { color: var(--gold); font-weight: inherit; }
.hero-lead { max-width: 680px; margin: 28px 0 34px; color: #c9d4dd; font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.ownership-status { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.ownership-status span { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; color: #f4ead2; background: rgba(212,176,93,.09); border: 1px solid rgba(212,176,93,.38); border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ownership-status span::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.button-row { display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 22px; border: 1px solid var(--gold); border-radius: 999px; background: var(--gold); color: #111a23; font-size: .9rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #e0c477; }
.button-outline { color: #fff; background: transparent; border-color: rgba(255,255,255,.42); }
.button-outline:hover { background: rgba(255,255,255,.08); }
.hero-note { align-self: end; padding: 30px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.055); backdrop-filter: blur(10px); }
.hero-note span { display: block; color: var(--gold); font-family: Georgia, serif; font-size: 3.4rem; line-height: 1; }
.hero-note p { margin: 14px 0 0; color: #d2dbe2; }

.section { padding-block: 105px; }
.section-soft { background: var(--cream); }
.section-dark { color: #fff; background: var(--navy); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: end; margin-bottom: 52px; }
.section h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 4.7vw, 4.3rem); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; }
.section-intro { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.06rem; }
.section-dark .section-intro { color: #bcc8d1; }

.company-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.company-card { position: relative; min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 38px; background: #fff; border: 1px solid rgba(7,24,45,.09); box-shadow: var(--shadow); }
.company-card::before { content: ""; position: absolute; right: -85px; top: -85px; width: 220px; height: 220px; border: 1px solid rgba(212,176,93,.34); border-radius: 50%; }
.company-number { color: var(--gold); font-weight: 800; letter-spacing: .14em; }
.company-card h3 { margin: 40px 0 12px; font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 3rem); font-weight: 500; line-height: 1.08; }
.company-card p { max-width: 520px; color: var(--muted); }
.company-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--navy); font-weight: 800; text-decoration: none; }
.company-link::after { content: "→"; color: var(--gold); font-size: 1.3rem; transition: transform .2s ease; }
.company-link:hover::after { transform: translateX(5px); }
.company-card.consumer { background: var(--navy-2); border: 0; }
.company-card.consumer h3, .company-card.consumer .company-link { color: #fff; }
.company-card.consumer p { color: #c9d3dc; }

.principles { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.16); }
.principle { padding: 34px 26px 12px 0; }
.principle + .principle { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.16); }
.principle strong { display: block; margin-bottom: 10px; color: var(--gold); font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; }
.principle p { margin: 0; color: #bdc8d1; font-size: .94rem; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.story-panel { padding: 50px; background: var(--mist); border-left: 4px solid var(--gold); }
.story-panel blockquote { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(1.6rem, 2.7vw, 2.45rem); line-height: 1.3; }
.story-copy p { color: var(--muted); }

.contact-band { padding-block: 80px; color: #fff; background: linear-gradient(120deg, var(--navy-2), var(--navy)); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.contact-inner h2 { max-width: 770px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.3rem, 4vw, 3.8rem); font-weight: 500; line-height: 1.08; }
.site-footer { padding-block: 58px 28px; color: #b9c4ce; background: #04101f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 60px; padding-bottom: 42px; }
.footer-title { color: #fff; font-family: Georgia, serif; font-size: 1.6rem; }
.footer-heading { margin: 0 0 14px; color: var(--gold); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copyright { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.content-shell { min-height: 55vh; padding-block: 80px; }
.content-shell h1 { font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.entry-content { max-width: 800px; }

@media (max-width: 900px) {
  .hero-inner, .section-head, .story-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-note { max-width: 450px; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(3) { border-left: 0; }
  .company-card { min-height: 380px; }
}
@media (max-width: 760px) {
  body.admin-bar .site-header { top: 46px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; inset: 88px 0 auto; display: none; align-items: stretch; padding: 22px 20px 28px; background: var(--navy); box-shadow: 0 16px 30px rgba(0,0,0,.2); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 7px 0; }
  .nav-cta { text-align: center; }
  .hero { min-height: auto; }
  .hero-inner { padding-block: 85px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .company-grid, .principles, .footer-grid { grid-template-columns: 1fr; }
  .principle + .principle { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .section { padding-block: 78px; }
  .story-panel, .company-card { padding: 30px; }
}
