/* ===== Design tokens ===== */
/* PMI brand palette — Orange #FF6D00 / Black / White.
   Orange is used for accents, headings highlights, and buttons only —
   never for body copy (per PMI brand standards). */
:root {
  --ink:        #000000;   /* PMI black — body copy */
  --ink-soft:   #4c4c4c;   /* PMI gray */
  --ink-faint:  #8a8a8a;
  --paper:      #ffffff;
  --paper-alt:  #f5f5f5;   /* PMI light gray */
  --line:       #e4e4e4;
  --brand:      #ff6d00;   /* PMI Orange — PMS 1505 C */
  --brand-deep: #e65100;   /* PMI dark orange */
  --brand-soft: #fff3e8;   /* PMI light orange */
  --accent:     #000000;   /* black accent for gradients */
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 1px 2px rgba(0,0,0,.05), 0 8px 28px rgba(0,0,0,.09);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.18);
  --maxw:       1080px;
  --font-sans:  "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Poppins", system-ui, -apple-system, Segoe UI, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:#ffffff; --ink-soft:#c4c4c4; --ink-faint:#8a8a8a;
    --paper:#0d0d0d; --paper-alt:#181818; --line:#2a2a2a;
    --brand:#ff7d1a; --brand-deep:#ff6d00; --brand-soft:#2a1606;
    --accent:#000000;
    --shadow:0 1px 2px rgba(0,0,0,.5), 0 8px 28px rgba(0,0,0,.6);
    --shadow-lg:0 20px 60px rgba(0,0,0,.7);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 11px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .18s ease; white-space: nowrap;
}
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.btn--ghost { color: var(--ink-soft); }
.btn--ghost:hover { color: var(--brand); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-stuck { border-color: var(--line); box-shadow: 0 4px 20px rgba(20,24,31,.05); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav__brand { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing:-.01em; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav__mobile { display: none; flex-direction: column; padding: 8px 24px 20px; gap: 4px; border-bottom: 1px solid var(--line); background: var(--paper); }
.nav__mobile a { padding: 12px 4px; color: var(--ink-soft); font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__mobile.is-open { display: flex; }

/* ===== Hero ===== */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(60% 70% at 80% -10%, var(--brand-soft) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 0%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 55%);
}
.hero__inner { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: center; }
.hero__eyebrow { color: var(--brand); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.hero__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; }
.hero__tagline { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink); margin-top: 10px; font-weight: 500; }
.hero__intro { color: var(--ink-soft); font-size: 1.08rem; margin-top: 18px; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__quick { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--ink-faint); font-size: .92rem; }
.hero__quick a { display:inline-flex; align-items:center; gap:7px; color: var(--ink-soft); font-weight:500; }
.hero__quick a:hover { color: var(--brand); }

.hero__photo { display: flex; justify-content: center; }
.avatar {
  width: 280px; height: 280px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-size: 5rem; font-weight: 600;
  box-shadow: var(--shadow-lg); border: 6px solid var(--paper);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section--alt { background: var(--paper-alt); }
.section__eyebrow { color: var(--brand); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.section__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.1; }
.section__lead { color: var(--ink-soft); font-size: 1.1rem; margin-top: 14px; max-width: 60ch; }
.prose { margin-top: 26px; max-width: 64ch; }
.prose p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 18px; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 20px; margin-top: 36px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; min-height: 40px; }
.card__logo { height: 40px; width: auto; max-width: 44px; object-fit: contain; }
.card__tag { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.card__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.card__blurb { color: var(--ink-soft); margin-top: 8px; font-size: .98rem; flex: 1; }
.card__link { margin-top: 16px; color: var(--brand); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 5px; }
.card__link:hover { gap: 9px; }

/* ===== Core values ===== */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.value {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; border-top: 4px solid var(--brand); border-top-left-radius: var(--radius); border-top-right-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.value__name { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.value__statement { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-top: 8px; letter-spacing: -.01em; }
.value__body { color: var(--ink-soft); margin-top: 12px; font-size: .98rem; }

/* team cards */
.member { align-items: stretch; }
.member__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.member__avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--brand), var(--accent)); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:600; font-size:1.15rem; overflow:hidden; }
.member__avatar img { width:100%; height:100%; object-fit: cover; }
.member__name { font-weight: 600; font-size: 1.05rem; }
.member__title { color: var(--ink-soft); font-size: .9rem; }
.member__co { color: var(--ink-faint); font-size: .82rem; }
.member__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chip { display:inline-flex; align-items:center; gap:6px; font-size:.85rem; font-weight:500; padding:8px 13px; border-radius:999px; border:1px solid var(--line); color:var(--ink-soft); transition:.15s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }

/* ===== Schedule / Calendly ===== */
.calendly { margin-top: 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.calendly iframe { width: 100%; min-height: 700px; border: 0; display: block; }
.calendly__fallback { padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.calendly__fallback p { color: var(--ink-soft); margin-bottom: 18px; }

/* ===== Press ===== */
.press { list-style: none; margin-top: 30px; display: grid; gap: 4px; }
.press li { border-bottom: 1px solid var(--line); }
.press a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 18px 4px; }
.press a:hover .press__title { color: var(--brand); }
.press__title { font-weight: 600; font-size: 1.05rem; }
.press__outlet { color: var(--ink-soft); }
.press__date { color: var(--ink-faint); font-size: .85rem; margin-left: auto; }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.contact__list a { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 1.05rem; }
.contact__list a:hover { color: var(--brand); }
.contact__list .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.social { display: flex; gap: 12px; margin-top: 28px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-soft); transition: .15s; }
.social a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; }

.contact__form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.contact__form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.contact__form input, .contact__form textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-alt); transition: .15s;
}
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--brand); background: var(--paper); box-shadow: 0 0 0 3px var(--brand-soft); }
.contact__note { font-size: .9rem; color: var(--ink-faint); }
.contact__note a { color: var(--brand); font-weight: 600; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__brand { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.footer__copy { color: var(--ink-faint); font-size: .9rem; }
.footer__top { margin-left: auto; color: var(--ink-soft); font-weight: 500; font-size: .9rem; }
.footer__top:hover { color: var(--brand); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } html { scroll-behavior:auto; } }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__photo { order: -1; justify-content: flex-start; }
  .avatar { width: 160px; height: 160px; border-radius: 22px; font-size: 3rem; }
  .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 40px; }
}
