:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --surface-soft: #fff3e1;
  --surface-warm: #fff7ec;
  --ink: #241309;
  --muted: #6d6258;
  --line: #f0ddc3;
  --accent: #ff7f11;
  --accent-soft: #ffe1bd;
  --accent-dark: #b94f00;
  --accent-deep: #823600;
  --deep: #5b2600;
  --deep-2: #7a3400;
  --ok: #5f753e;
  --shadow: 0 22px 56px rgba(130, 54, 0, 0.10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dark); }
p { margin: 0 0 1rem; color: var(--muted); font-size: 1.03rem; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.55rem, 5.6vw, 5rem); max-width: 1040px; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.26rem; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; }

.wrap { width: min(1160px, calc(100% - 44px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 44px)); }
.section { padding: clamp(64px, 8.5vw, 104px) 0; }
.quiet { background: var(--surface-soft); }
.contrast {
  background:
    radial-gradient(circle at 92% 12%, rgba(255,255,255,.22), transparent 30%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 58%, var(--accent-deep) 100%);
  color: #fff;
}
.contrast p, .contrast span, .contrast li, .contrast dd { color: rgba(255,255,255,.86); }
.contrast h2, .contrast h3, .contrast strong, .contrast dt { color: #fff; }
.contrast .eyebrow { color: #fff7ec; }
.contrast .text-link { color: #fff; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--accent-deep);
  color: #fff;
  padding: 10px 14px;
  z-index: 99;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 5px solid var(--accent);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(130, 54, 0, .06);
}
.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 255px;
}
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
.brand-text { display: grid; line-height: 1.12; }
.brand-text strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-text small { color: var(--muted); font-size: .82rem; margin-top: 2px; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: .88rem;
  flex-wrap: wrap;
}
.nav-links a {
  padding: 8px 9px;
  border-radius: 999px;
  color: #4a3728;
  font-weight: 650;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: var(--accent-soft); color: var(--accent-deep); }
.nav-links .nav-button {
  border: 1px solid var(--accent);
  padding: 9px 15px;
  margin-left: 4px;
  color: var(--accent-deep);
  background: #fff;
}
.nav-links .nav-button:hover, .nav-links .nav-button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.hero {
  padding-top: clamp(78px, 9.5vw, 122px);
  background:
    radial-gradient(circle at 86% 18%, rgba(255,127,17,.20), transparent 34%),
    linear-gradient(180deg, #fff 0%, var(--surface-warm) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}
.eyebrow {
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .78rem;
}
.lead { font-size: clamp(1.18rem, 2vw, 1.52rem); max-width: 880px; color: #453529; margin-top: 24px; }
.microcopy { margin-top: 20px; max-width: 760px; font-size: .98rem; color: #776b60; }
.hero-actions, .contact-actions, .section-link-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.section-link-row.left { margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 760;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); color: inherit; }
.primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 14px 30px rgba(255,127,17,.24); }
.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.secondary { background: #fff; color: var(--accent-deep); border-color: var(--line); }
.secondary:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-deep); }
.light { background: #fff; color: var(--accent-deep); border-color: #fff; box-shadow: 0 14px 30px rgba(130,54,0,.16); }
.light:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-deep); }
.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.48); }
.ghost-light:hover { background: rgba(255,255,255,.13); color: #fff; }
.text-link { display: inline-flex; color: var(--accent-dark); font-weight: 850; border-bottom: 1px solid currentColor; margin-top: 8px; }

.truth-card, .fit-box, .content-panel, .note-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(25px, 3.5vw, 34px);
  box-shadow: var(--shadow);
}
.truth-card { position: relative; overflow: hidden; }
.truth-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -64px;
  width: 190px;
  height: 190px;
  background: url('../img/ps-sun-logo.jpg') center/contain no-repeat;
  opacity: .09;
}
.truth-card h2 { font-size: 1.58rem; margin-bottom: 14px; }
.truth-card p, .truth-card ul { position: relative; z-index: 1; }
.truth-card li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 760;
}
.truth-card ul { margin-top: 18px; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(66px, 8.5vw, 100px);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: max(20px, calc((100vw - 1160px) / 2));
  top: 50%;
  width: clamp(150px, 20vw, 260px);
  height: clamp(150px, 20vw, 260px);
  transform: translateY(-50%);
  background: url('../img/ps-sun-logo.jpg') center/contain no-repeat;
  opacity: .09;
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.35rem, 5.2vw, 4.5rem); max-width: 940px; }

.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading.compact { max-width: 900px; }
.section-heading p { font-size: 1.08rem; }
.cards { display: grid; gap: 18px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-number, .story-kicker {
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card p { margin: 0; }
.dark-cards .card { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.22); }
.dark-cards .card-number { color: #fff7ec; }
.dark-cards .card p { color: rgba(255,255,255,.84); }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}
.steps { display: grid; gap: 14px; }
.step {
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 19px 20px;
}
.step strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.step span { display: block; color: rgba(255,255,255,.84); }
.light-steps .step { background: var(--surface); border-color: var(--line); box-shadow: 0 10px 30px rgba(130,54,0,.05); }
.light-steps .step span { color: var(--muted); }

.proof { background: var(--surface); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
blockquote {
  margin: 0;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}
blockquote p { margin: 0; color: #3d2d21; font-size: 1.06rem; }

.check-list { margin: 18px 0 22px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
}
.reverse li { color: rgba(255,255,255,.88); }
.reverse li::before { background: #fff; }
.split-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.not-fit { padding-top: 20px; border-top: 1px solid var(--line); margin-bottom: 0; }

.service-detail h3, .content-panel h3 { margin-top: 26px; margin-bottom: 6px; }
.service-copy p:last-child, .content-panel p:last-child { margin-bottom: 0; }
.approach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.approach-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(25px, 3.5vw, 34px);
}
.approach-card h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); margin: 12px 0 18px; }
.timeline { display: grid; gap: 16px; }
.timeline-item { padding: 0 0 18px 28px; border-left: 2px solid var(--line); position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -7px; top: 0.35em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline-item strong { display: block; font-size: 1.13rem; margin-bottom: 4px; }
.timeline-item p { margin: 0; }

.stories-list { display: grid; gap: 22px; }
.story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(25px, 3.5vw, 38px);
  box-shadow: 0 18px 42px rgba(130,54,0,.07);
}
.story-card h2 { font-size: clamp(1.65rem, 2.8vw, 2.55rem); margin: 10px 0 22px; }
.story-card dl { display: grid; grid-template-columns: 150px 1fr; gap: 13px 24px; }
.story-card dt { font-weight: 850; color: var(--accent-dark); }
.story-card dd { color: var(--muted); }

.fit-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.fit-box.large h2 { font-size: clamp(1.55rem, 2.8vw, 2.28rem); margin-bottom: 20px; }
.warning-box { background: #fff8ef; }

.conversation { background: linear-gradient(180deg, var(--surface-soft), var(--bg)); }
.conversation-box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 98% 0%, rgba(255,255,255,.24), transparent 32%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 65%, var(--accent-deep) 100%);
  color: #fff;
  border-radius: 30px;
  padding: clamp(32px, 5.5vw, 58px);
  box-shadow: var(--shadow);
}
.conversation-box::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 230px;
  height: 230px;
  background: url('../img/ps-sun-logo.jpg') center/contain no-repeat;
  opacity: .12;
}
.conversation-box > * { position: relative; z-index: 1; }
.conversation-box p { color: rgba(255,255,255,.88); max-width: 820px; }
.conversation-box .eyebrow { color: #fff7ec; }
.conversation-box .secondary { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.38); }
.conversation-box .primary { background: #fff; color: var(--accent-deep); border-color: #fff; box-shadow: 0 14px 30px rgba(130,54,0,.18); }
.conversation-box .primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-deep); }
.contact-line { margin-top: 22px; margin-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 6vw, 74px); align-items: start; }
.contact-card-list { display: grid; gap: 14px; }
.contact-card { display: grid; gap: 4px; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); }
.contact-card:hover { background: rgba(255,255,255,.18); color: #fff; }
.contact-card span { color: #fff7ec; font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 850; }
.contact-card strong { color: #fff; font-size: 1.08rem; }
.note-panel { text-align: center; }
.note-panel p { max-width: 760px; margin-left: auto; margin-right: auto; }

.site-footer { border-top: 1px solid var(--line); padding: 42px 0 26px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 42px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.16rem; font-weight: 850; margin-bottom: 12px; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; color: var(--accent-dark); }
.site-footer a { display: block; color: var(--muted); margin: 6px 0; }
.site-footer a:hover { color: var(--accent-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom p, .site-footer p { margin: 0; font-size: .95rem; }

@media (max-width: 1080px) {
  .nav-wrap { min-height: auto; padding: 14px 0; align-items: flex-start; display: grid; }
  .brand { min-width: 0; }
  .nav-links { justify-content: flex-start; gap: 6px; font-size: .86rem; }
  .nav-links a { padding: 7px 8px; }
  .hero-grid, .two-column, .contact-grid { grid-template-columns: 1fr; }
  .truth-card { max-width: 640px; }
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.three, .quotes, .footer-grid, .fit-columns, .approach-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .brand-logo { width: 54px; height: 54px; }
  .brand-text strong { font-size: 1rem; }
  .nav-links { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: thin; }
  .nav-links a { flex: 0 0 auto; }
  .split-list, .story-card dl { grid-template-columns: 1fr; }
  .story-card dl { gap: 6px; }
  .story-card dd { margin-bottom: 12px; }
  .page-hero::after { opacity: .055; width: 180px; height: 180px; right: -34px; }
}

@media (max-width: 560px) {
  .wrap, .narrow { width: min(100% - 30px, 1160px); }
  .section { padding: 56px 0; }
  .cards.four { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .button { width: 100%; }
  .footer-bottom { flex-direction: column; }
  h1 { font-size: clamp(2.2rem, 11vw, 3.15rem); }
  .page-hero h1 { font-size: clamp(2.1rem, 10vw, 2.9rem); }
}

/* =========================================================
   Above-the-fold hero and spacing refinement
   Added after saffron-white theme
   ========================================================= */

@media (min-width: 900px) {
  .nav-wrap {
    min-height: 70px;
    gap: 20px;
  }

  .brand {
    gap: 12px;
    min-width: 230px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text small {
    font-size: 0.78rem;
  }

  .nav-links {
    gap: 4px;
    font-size: 0.84rem;
  }

  .nav-links a {
    padding: 7px 8px;
  }

  .nav-links .nav-button {
    padding: 8px 14px;
  }

  .hero.section {
    padding-top: clamp(26px, 3.5vw, 46px);
    padding-bottom: clamp(42px, 6vw, 70px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(28px, 4.5vw, 58px);
    align-items: center;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.45rem);
    line-height: 1.07;
    max-width: 900px;
  }

  .lead {
    margin-top: 18px;
    font-size: clamp(1.08rem, 1.75vw, 1.36rem);
    line-height: 1.55;
    max-width: 820px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .microcopy {
    margin-top: 14px;
    font-size: 0.93rem;
    max-width: 700px;
  }

  .truth-card {
    padding: 28px;
    border-radius: 22px;
  }

  .truth-card h2 {
    font-size: 1.42rem;
    margin-bottom: 10px;
  }

  .truth-card p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .truth-card li {
    padding: 10px 0;
  }
}

@media (max-width: 899px) {
  .nav-wrap {
    min-height: 74px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .hero.section {
    padding-top: 44px;
  }
}


/* =========================================================
   LinkedIn recommendation cards
   ========================================================= */

.recommendations-section {
  background:
    radial-gradient(circle at top right, rgba(255, 119, 0, 0.10), transparent 34%),
    #ffffff;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.recommendation-card {
  background: #fffaf4;
  border: 1px solid rgba(255, 119, 0, 0.18);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(67, 34, 16, 0.08);
}

.recommendation-label {
  margin: 0 0 14px;
  color: #b24b00;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recommendation-card blockquote {
  margin: 0;
  color: #241008;
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 600;
}

.recommendation-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 119, 0, 0.16);
}

.person-initials {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #ff7700;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: 0 0 auto;
}

.recommendation-person strong {
  display: block;
  color: #241008;
  font-size: 0.98rem;
}

.recommendation-person span,
.recommendation-person small {
  display: block;
  color: #6f5a4d;
  font-size: 0.86rem;
  line-height: 1.35;
}

.recommendation-link {
  margin-top: 32px;
  text-align: center;
}

.recommendation-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: #ff7700;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(255, 119, 0, 0.22);
}

.recommendation-link a:hover {
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .recommendation-card {
    padding: 22px;
  }
}