/* ======================================================
   OPEX Design Partners — Landing page styles
   Brand: logo orange + deep charcoal + warm off-white
   ====================================================== */

:root {
  /* Brand palette (orange sampled from logo) */
  --orange:        #ED8B1F;
  --orange-600:    #D9781040;
  --orange-dark:   #C9760F;
  --orange-soft:   #FBEBD6;
  --orange-tint:   #FFF6EC;

  --ink:           #1C2530;  /* deep charcoal-navy */
  --ink-700:       #2B3947;
  --ink-500:       #51606E;
  --ink-300:       #8A97A3;

  --paper:         #FFFFFF;
  --paper-warm:    #FCFAF7;
  --line:          #ECE7E0;

  --radius:        16px;
  --radius-sm:     11px;
  --shadow-sm:     0 1px 2px rgba(28,37,48,.06), 0 6px 18px rgba(28,37,48,.05);
  --shadow-md:     0 10px 30px rgba(28,37,48,.10);
  --shadow-orange: 0 14px 30px rgba(237,139,31,.30);

  --container:     1140px;
  --ease:          cubic-bezier(.16,.84,.44,1);

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
.accent { color: var(--orange); }

.section { padding: clamp(64px, 9vw, 112px) 0; }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}
.kicker-light { color: var(--orange); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head p { color: var(--ink-500); font-size: 1.07rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-dark); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(28,37,48,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--orange); color: #fff;
  box-shadow: var(--shadow-orange);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; letter-spacing: .02em; color: var(--ink); }
.brand-sub { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-300); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: .96rem; color: var(--ink-700); transition: color .2s; }
.nav-links a:not(.nav-cta):hover { color: var(--orange-dark); }
.nav-cta { padding: 10px 20px; border-radius: 100px; background: var(--ink); color: #fff !important; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--orange); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(60px, 8vw, 104px) 0 clamp(64px, 8vw, 96px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 88% 0%, rgba(237,139,31,.16), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(237,139,31,.08), transparent 60%),
    var(--paper-warm);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent 75%);
  opacity: .5;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .04em; color: var(--orange-dark);
  background: var(--orange-soft); padding: 8px 16px; border-radius: 100px; margin-bottom: 22px;
}
.hero h1 { margin-bottom: 22px; }
.lead { font-size: 1.16rem; color: var(--ink-500); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.hero-stats span { font-size: .84rem; color: var(--ink-500); max-width: 160px; }

/* Hero card */
.hero-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-md);
}
.hero-card-badge {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff;
  box-shadow: var(--shadow-orange); margin-bottom: 20px;
}
.hero-card h3 { margin-bottom: 10px; }
.hero-card > p { color: var(--ink-500); font-size: .98rem; margin-bottom: 20px; }

.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-700); font-weight: 500; font-size: .96rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9760F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Trust strip ---------- */
.trust { background: var(--ink); color: #fff; padding: 30px 0; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; justify-content: center; }
.trust-label { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-300); font-weight: 600; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: center; }
.trust-tags li {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: #fff;
  border: 1px solid rgba(255,255,255,.18); padding: 7px 16px; border-radius: 100px;
}

/* ---------- Services ---------- */
.services { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--orange-soft); }
.card-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: var(--orange-tint); color: var(--orange-dark); margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card > p { color: var(--ink-500); font-size: .98rem; margin-bottom: 18px; }
.mini-list li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--ink-700); margin-bottom: 8px; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* ---------- Approach ---------- */
.approach { background: var(--paper-warm); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step::after { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step:hover::after { transform: scaleY(1); }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--orange-soft); display: block; margin-bottom: 8px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--ink-500); }

/* ---------- Industries ---------- */
.industries { background: var(--ink); color: #fff; }
.industries-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.industries h2 { color: #fff; }
.industries-copy p { color: rgba(255,255,255,.74); font-size: 1.07rem; margin: 16px 0 30px; }
.industries-cards { display: grid; gap: 18px; }
.ind-card {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 26px 28px; transition: background .3s, transform .3s var(--ease);
}
.ind-card:hover { background: rgba(255,255,255,.09); transform: translateX(4px); }
.ind-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: var(--orange); color: #fff; }
.ind-card h3 { color: #fff; margin-bottom: 6px; }
.ind-card p { color: rgba(255,255,255,.72); font-size: .96rem; }

/* ---------- Leadership ---------- */
.leadership { background: var(--paper); }
.leadership-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.leader-photo { position: relative; }
.leader-photo-inner {
  aspect-ratio: 4/5; border-radius: var(--radius); display: grid; place-content: center; gap: 10px; text-align: center;
  background: linear-gradient(155deg, var(--orange), var(--orange-dark));
  color: #fff; box-shadow: var(--shadow-orange);
}
.leader-initials { font-family: var(--font-head); font-weight: 800; font-size: 4.4rem; letter-spacing: .04em; }
.leader-photo-note { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.leader-badge {
  position: absolute; right: -14px; bottom: -18px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-md);
  max-width: 180px;
}
.leader-badge strong { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--orange-dark); }
.leader-badge span { font-size: .8rem; color: var(--ink-500); }

.leader-role { font-family: var(--font-head); font-weight: 600; color: var(--orange-dark); margin: 4px 0 18px; }
.leader-copy h2 { margin-bottom: 2px; }
.leader-copy > p { color: var(--ink-500); margin-bottom: 16px; }
.leader-creds { display: grid; gap: 12px; margin-top: 24px; }
.leader-creds li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-700); font-size: .96rem; }
.leader-creds svg { color: var(--orange-dark); flex-shrink: 0; }

/* ---------- Why ---------- */
.why { background: var(--paper-warm); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; border-top: 4px solid var(--orange); }
.why-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-item p { font-size: .94rem; color: var(--ink-500); }

/* ---------- Contact ---------- */
.contact { background: var(--paper-warm); }
.contact-cta {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: var(--ink); color: #fff;
  border-radius: calc(var(--radius) + 6px); padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.contact-cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 80% at 50% -10%, rgba(237,139,31,.30), transparent 60%);
}
.contact-cta > * { position: relative; z-index: 1; }
.contact-cta h2 { color: #fff; margin-bottom: 14px; }
.contact-cta > p { color: rgba(255,255,255,.75); font-size: 1.07rem; max-width: 520px; margin: 0 auto; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 32px 0 30px; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.contact-points { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: rgba(255,255,255,.9); font-size: .96rem; }
.contact-points svg { color: var(--orange); flex-shrink: 0; }
.contact-points a:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 0 30px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { background: var(--orange); }
.footer-brand .brand-name { color: #fff; font-size: 1.12rem; }
.footer-brand .llc { color: var(--orange); font-weight: 700; }
.footer-tag { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { font-weight: 600; font-size: .94rem; color: rgba(255,255,255,.8); transition: color .2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-top: 22px; font-size: .86rem; }
.footer-credit { color: var(--orange); font-style: italic; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 520px; }
  .leadership-grid, .industries-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .leader-photo-inner { aspect-ratio: 16/10; }
  .leader-badge { right: 16px; bottom: -18px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 24px 22px; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .35s var(--ease); pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .cards, .steps, .why-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .hero-stats { gap: 18px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
