/*
Theme Name: Oracle Offsite
Theme URI: https://oracleoffsite.com
Author: Jeremy Rubio
Description: A modern consulting theme for Oracle Offsite, serving managed service providers with expert-led, AI-assisted Oracle incident analysis.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: oracle-offsite
*/

:root {
  --navy-950: #081a2e;
  --navy-900: #0b223d;
  --navy-800: #123553;
  --slate-700: #415466;
  --slate-500: #6e7d8b;
  --slate-200: #d9e1e7;
  --slate-100: #edf2f5;
  --teal-600: #147b82;
  --teal-500: #1a9198;
  --red-600: #c53b44;
  --cream: #f8fafb;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(8, 26, 46, .12);
  --radius: 18px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy-950);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--teal-600); }
img { display: block; max-width: 100%; height: auto; }
.site-shell { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; padding: 10px 14px; background: white; color: var(--navy-950); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8,26,46,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.09); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { color: white; text-decoration: none; letter-spacing: -.03em; font-size: 1.32rem; font-weight: 780; }
.brand span { color: #58c4c7; }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 26px; }
.primary-nav a { color: #d9e8ef; text-decoration: none; font-size: .92rem; font-weight: 650; }
.primary-nav a:hover, .primary-nav a:focus { color: white; }
.primary-nav .nav-cta { padding: 10px 16px; border-radius: 999px; color: white; background: var(--red-600); }

.hero { overflow: hidden; color: white; background: radial-gradient(circle at 82% 28%, rgba(26,145,152,.25), transparent 28%), linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 60px; padding-block: 88px; }
.eyebrow { margin: 0 0 16px; color: #71d1d3; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.035em; }
h1 { max-width: 760px; margin: 0 0 25px; font-size: clamp(2.7rem, 5vw, 5.1rem); }
h2 { margin: 0 0 18px; font-size: clamp(2rem, 3.6vw, 3.25rem); }
h3 { margin: 0 0 10px; font-size: 1.22rem; }
.hero-copy { max-width: 680px; color: #d2e0e8; font-size: 1.18rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-block; padding: 13px 21px; border-radius: 999px; text-decoration: none; font-weight: 750; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--red-600); }
.button-secondary { color: white; border: 1px solid rgba(255,255,255,.35); }
.signal-card { position: relative; padding: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; background: rgba(255,255,255,.07); box-shadow: 0 30px 70px rgba(0,0,0,.18); }
.signal-card::before { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 5px; border-radius: 26px 0 0 26px; background: var(--teal-500); }
.signal-line { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
.signal-line:last-child { border: 0; }
.signal-line strong { display: block; margin-bottom: 2px; color: white; }
.signal-line span { color: #b9cad5; font-size: .92rem; }

.section { padding-block: 96px; }
.section-soft { background: var(--cream); }
.section-dark { color: white; background: var(--navy-950); }
.section-intro { max-width: 730px; margin-bottom: 46px; color: var(--slate-700); }
.section-dark .section-intro { color: #c9d7df; }
.kicker { margin-bottom: 12px; color: var(--teal-600); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .76rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 30px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: white; box-shadow: 0 10px 35px rgba(8,26,46,.05); }
.card-number { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 22px; border-radius: 10px; color: white; background: var(--teal-600); font-size: .85rem; font-weight: 800; }
.card p { margin-bottom: 0; color: var(--slate-700); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--slate-200); }
.trust-item { padding: 28px 25px; background: white; }
.trust-item strong { display: block; font-size: 1.03rem; }
.trust-item span { color: var(--slate-700); font-size: .92rem; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: process; }
.process article { counter-increment: process; }
.process article::before { content: "0" counter(process); display: block; margin-bottom: 28px; color: #58c4c7; font-size: 1.9rem; font-weight: 800; }
.process p { color: #c9d7df; }

.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; }
.portrait-frame { overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); background: var(--navy-900); }
.portrait-frame img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 48% 35%; }
.credential { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 9px 13px; border-radius: 999px; background: var(--slate-100); color: var(--navy-800); font-size: .86rem; font-weight: 700; }
.credential::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); }

.cta-band { padding: 62px; border-radius: 26px; color: white; background: linear-gradient(120deg, var(--teal-600), #105a66); box-shadow: var(--shadow); }
.cta-band h2 { max-width: 740px; }
.cta-band p { max-width: 700px; color: #e2f4f4; }
.cta-band .button { color: var(--navy-950); background: white; }

.page-hero { padding-block: 88px 60px; color: white; background: linear-gradient(140deg, var(--navy-950), var(--navy-800)); }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.page-content { max-width: 820px; padding-block: 75px 100px; }
.page-content h2 { margin-top: 50px; font-size: 2rem; }
.page-content h3 { margin-top: 32px; }
.page-content li { margin-bottom: 9px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-block: 35px; }
.contact-card { padding: 28px; border-radius: var(--radius); background: var(--slate-100); }
.contact-card a { font-weight: 750; }
.notice { padding: 20px 22px; border-left: 4px solid var(--teal-500); background: var(--slate-100); }

.site-footer { padding-block: 55px 34px; color: #c1d0da; background: #061525; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: start; }
.footer-brand { color: white; font-size: 1.22rem; font-weight: 780; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-links a { color: #d8e5ec; text-decoration: none; font-size: .9rem; }
.legal { margin-top: 35px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10); color: #889daa; font-size: .78rem; }

@media (max-width: 900px) {
  .hero-grid, .founder-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; }
  .signal-card { max-width: 620px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .trust-grid, .process { grid-template-columns: 1fr 1fr; }
  .portrait-frame { max-width: 560px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-shell { width: min(calc(100% - 28px), var(--content)); }
  .header-inner { padding-block: 16px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .primary-nav { gap: 13px 18px; justify-content: flex-start; }
  .primary-nav .nav-cta { padding: 6px 11px; }
  .hero-grid, .section { padding-block: 68px; }
  .cards, .trust-grid, .process, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .cta-band { padding: 36px 26px; }
}
