/* ═══════════════════════════════════════════════
   P3 Consulting — shared stylesheet
   ═══════════════════════════════════════════════ */

/* ── FONTS (self-hosted) ── */
@font-face { font-family:'PT Serif'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/pt-serif-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family:'PT Serif'; font-style:italic; font-weight:400; font-display:swap; src:url('fonts/pt-serif-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family:'PT Serif'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/pt-serif-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family:'PT Serif'; font-style:italic; font-weight:700; font-display:swap; src:url('fonts/pt-serif-latin-700-italic.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:300; font-display:swap; src:url('fonts/dm-sans-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/dm-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }

/* ── TOKENS ── */
:root {
  --ink: #101708;
  --deep: #1C2B0A;
  --forest: #2D5016;
  --moss: #3A5A18;
  --leaf: #5A7A28;
  --sage: #8AAA60;
  --mist: #EEF3E4;
  --line: #E4E7DA;
  --paper: #FAFAF7;
  --white: #ffffff;
  --gold: #B8860B;
  --gold-soft: #D4A843;
  --text: #1A2010;
  --text-mid: #55604A;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'DM Sans',sans-serif; background:var(--white); color:var(--text); overflow-x:hidden; }
::selection { background:var(--mist); }

/* ── ACCESSIBILITY ── */
:focus-visible { outline:2px solid var(--gold); outline-offset:3px; border-radius:2px; }
.skip-link {
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--deep); color:var(--white); padding:12px 20px;
  font-size:13px; font-weight:600; text-decoration:none; border-radius:0 0 10px 0;
}
.skip-link:focus { left:0; }

/* ── NAV ── */
.nav {
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner {
  max-width:1200px; margin:0 auto; padding:18px 32px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand { display:flex; align-items:center; gap:8px; text-decoration:none; }
.brand-img { height:40px; width:auto; display:block; }
footer .brand-img { height:38px; }
.brand-p3 { font-family:'PT Serif',serif; font-weight:700; font-size:24px; color:var(--deep); letter-spacing:0.5px; }
.brand-word { font-size:11px; font-weight:600; letter-spacing:3.5px; color:var(--text-mid); text-transform:uppercase; }
.nav-links { display:flex; align-items:center; gap:28px; }
.nav-link { font-size:13.5px; font-weight:500; color:var(--text-mid); text-decoration:none; padding:4px 0; border-bottom:2px solid transparent; transition:color .15s, border-color .15s; }
.nav-link:hover { color:var(--deep); }
.nav-link.active { color:var(--deep); border-color:var(--forest); }
.nav-right { display:flex; align-items:center; gap:14px; }
.nav-cta {
  font-size:13px; font-weight:600; color:var(--white); text-decoration:none;
  background:var(--deep); padding:10px 22px; border-radius:30px;
  transition:background .18s, transform .18s; white-space:nowrap;
}
.nav-cta:hover { background:var(--forest); transform:scale(1.03); }
.nav-toggle { display:none; background:none; border:0; cursor:pointer; padding:8px 6px; }
.nav-toggle span { display:block; width:22px; height:2px; background:var(--deep); margin:5px 0; border-radius:2px; transition:transform .2s ease, opacity .2s ease; }
.nav.open .nav-toggle span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity:0; }
.nav.open .nav-toggle span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn-solid {
  padding:14px 30px; background:var(--white); color:var(--deep);
  border-radius:30px; font-size:14px; font-weight:600; text-decoration:none;
  transition:transform .18s, box-shadow .18s; white-space:nowrap;
}
.btn-solid:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,0.25); }
.btn-ghost {
  padding:14px 30px; background:transparent; color:var(--white);
  border:1px solid rgba(250,250,247,0.35); border-radius:30px;
  font-size:14px; font-weight:500; text-decoration:none;
  transition:background .18s, border-color .18s;
}
.btn-ghost:hover { background:rgba(250,250,247,0.1); border-color:rgba(250,250,247,0.6); }
.text-link { font-size:13.5px; font-weight:600; color:var(--forest); text-decoration:none; white-space:nowrap; }
.text-link:hover { text-decoration:underline; }

/* ── HERO (home) ── */
.hero {
  background:linear-gradient(160deg,var(--ink) 0%,var(--deep) 55%,#233613 100%);
  position:relative; overflow:hidden;
}
.hero::before {
  content:''; position:absolute; right:-160px; top:-160px;
  width:560px; height:560px; border-radius:50%;
  border:1px solid rgba(250,250,247,0.14);
}
.hero::after {
  content:'P3'; position:absolute; right:-40px; bottom:-120px;
  font-family:'PT Serif',serif; font-weight:700; font-size:380px; line-height:1;
  color:rgba(250,250,247,0.045); pointer-events:none;
}
.hero-inner { max-width:1200px; margin:0 auto; padding:110px 32px 90px; position:relative; z-index:1; }
.hero-tag {
  font-size:11.5px; font-weight:600; color:var(--gold-soft);
  letter-spacing:3px; text-transform:uppercase; margin-bottom:22px;
  display:flex; align-items:center; gap:12px;
}
.hero-tag::before { content:''; display:block; width:36px; height:1px; background:var(--gold-soft); }
.hero h1 {
  font-family:'PT Serif',serif; font-weight:700;
  font-size:clamp(32px,3.9vw,54px); color:var(--white); line-height:1.12;
  margin-bottom:26px;
}
.hero h1 em { font-style:italic; color:var(--sage); }
.hero-payoff { font-size:22px; line-height:1.55; color:rgba(250,250,247,0.92); font-weight:400; max-width:680px; margin-bottom:40px; }
.hero-sub { font-size:15px; line-height:1.75; color:rgba(250,250,247,0.68); font-weight:300; max-width:560px; margin-bottom:42px; }
.hero-ctas { display:flex; gap:14px; flex-wrap:wrap; }
.hero-stats { display:flex; gap:0; margin-top:64px; border-top:1px solid rgba(250,250,247,0.15); padding-top:32px; flex-wrap:wrap; }
.stat { padding-right:56px; margin-right:56px; border-right:1px solid rgba(250,250,247,0.15); }
.stat:last-child { border-right:none; margin-right:0; padding-right:0; }
.stat-num { font-family:'PT Serif',serif; font-size:34px; font-weight:700; color:var(--white); line-height:1; }
.stat-label { font-size:12px; color:rgba(250,250,247,0.55); margin-top:8px; font-weight:300; letter-spacing:0.3px; }
a.stat { text-decoration:none; display:block; }
a.stat:hover .stat-num, a.stat:focus-visible .stat-num { color:var(--sage); }
#what, #cases, #why { scroll-margin-top:80px; }

/* ── PAGE HEADER (sub pages) ── */
.page-head { background:var(--paper); border-bottom:1px solid var(--line); position:relative; overflow:hidden; }
.page-head::after {
  content:'P3'; position:absolute; right:-30px; bottom:-110px;
  font-family:'PT Serif',serif; font-weight:700; font-size:300px; line-height:1;
  color:rgba(28,43,10,0.04); pointer-events:none;
}
.page-head-inner { max-width:1200px; margin:0 auto; padding:80px 32px 64px; position:relative; z-index:1; }
.page-tag { font-size:11.5px; font-weight:600; color:var(--forest); letter-spacing:2.5px; text-transform:uppercase; margin-bottom:16px; display:flex; align-items:center; gap:10px; }
.page-tag::before { content:''; display:block; width:30px; height:1px; background:var(--forest); }
.page-head h1 { font-family:'PT Serif',serif; font-size:clamp(32px,4.4vw,54px); font-weight:700; color:var(--ink); line-height:1.1; margin-bottom:20px; max-width:760px; }
.page-head h1 em { font-style:italic; color:var(--forest); }
.page-lede { font-size:15px; line-height:1.75; color:var(--text-mid); font-weight:300; max-width:660px; }
.page-lede strong { color:var(--ink); font-weight:600; }
.page-lede p + p { margin-top:12px; }

/* ── SHARED SECTION BITS ── */
.section { max-width:1200px; margin:0 auto; padding:88px 32px; }
.section-tag {
  font-size:11px; font-weight:600; color:var(--forest); letter-spacing:2.5px;
  text-transform:uppercase; margin-bottom:14px;
  display:flex; align-items:center; gap:10px;
}
.section-tag::before { content:''; display:block; width:30px; height:1px; background:var(--forest); }
h2.section-title {
  font-family:'PT Serif',serif; font-size:clamp(28px,3.4vw,42px);
  font-weight:700; color:var(--ink); line-height:1.12; margin-bottom:18px;
}
h2.section-title em { font-style:italic; color:var(--forest); }
.section-lede { font-size:15px; line-height:1.75; color:var(--text-mid); font-weight:300; max-width:620px; }

/* ── MISSION / PHILOSOPHY (home) ── */
.mission { display:grid; grid-template-columns:420px 1fr; gap:72px; align-items:start; }
.pillar-card {
  background:linear-gradient(165deg,var(--ink),var(--deep) 70%);
  border-radius:18px; padding:48px 42px; color:var(--white);
  position:relative; overflow:hidden;
}
.pillar-card::after {
  content:''; position:absolute; right:-70px; bottom:-70px;
  width:220px; height:220px; border-radius:50%; border:1px solid rgba(250,250,247,0.12);
}
.pillar-head { font-size:11px; font-weight:600; color:var(--gold-soft); letter-spacing:2.5px; text-transform:uppercase; margin-bottom:26px; }
.philosophy-statement {
  font-family:'PT Serif',serif; font-size:27px; font-weight:700;
  line-height:1.4; color:var(--white); position:relative; z-index:1;
}
.philosophy-statement em { font-style:italic; color:var(--sage); }
.philosophy-footnote { margin-top:26px; font-size:13px; color:rgba(250,250,247,0.6); font-weight:300; line-height:1.65; position:relative; z-index:1; }

.mission-points { display:flex; flex-direction:column; gap:8px; margin-top:34px; }
.m-point { display:flex; gap:22px; padding:22px 0; border-bottom:1px solid var(--line); align-items:flex-start; }
.m-point:last-child { border-bottom:none; }
.m-num { font-family:'PT Serif',serif; font-size:22px; font-weight:700; color:var(--sage); line-height:1.2; min-width:38px; }
.m-title { font-size:16px; font-weight:600; color:var(--ink); margin-bottom:6px; }
.m-desc { font-size:14px; line-height:1.7; color:var(--text-mid); font-weight:300; }

/* ── SERVICES TEASER (home) ── */
.services-band { background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.services-header { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:44px; flex-wrap:wrap; }
.svc-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.svc-card {
  background:var(--white); border:1px solid var(--line); border-radius:16px;
  padding:34px 30px; display:flex; flex-direction:column; gap:16px;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration:none;
}
.svc-card:hover { transform:translateY(-5px); box-shadow:0 14px 40px rgba(16,23,8,0.1); border-color:var(--sage); }
.svc-badge {
  width:52px; height:52px; border-radius:14px; color:var(--white);
  font-family:'PT Serif',serif; font-weight:700; font-size:17px;
  display:flex; align-items:center; justify-content:center;
}
.svc-card:nth-child(1) .svc-badge { background:var(--deep); }
.svc-card:nth-child(2) .svc-badge { background:var(--forest); }
.svc-card:nth-child(3) .svc-badge { background:var(--leaf); }
.svc-card:nth-child(4) .svc-badge { background:var(--sage); }
.svc-name { font-family:'PT Serif',serif; font-size:21px; font-weight:700; color:var(--ink); }
.svc-desc { font-size:13.5px; line-height:1.7; color:var(--text-mid); font-weight:300; }
.svc-list { list-style:none; display:flex; flex-direction:column; gap:8px; margin-top:2px; }
.svc-list li { display:flex; gap:10px; align-items:flex-start; font-size:13px; color:var(--text-mid); line-height:1.5; }
.svc-list li::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--sage); margin-top:6px; flex-shrink:0; }

/* ── QUOTE STRIP (home) ── */
.quote-strip {
  background:linear-gradient(160deg,var(--ink),var(--deep));
  padding:76px 32px; text-align:center; position:relative; overflow:hidden;
}
.quote-strip.has-photo {
  background:
    linear-gradient(160deg, rgba(16,23,8,0.88), rgba(28,43,10,0.82)),
    url('images/workshop.jpg') center 30%/cover no-repeat,
    linear-gradient(160deg,var(--ink),var(--deep));
  padding:96px 32px;
}
.quote-strip::before {
  content:''; position:absolute; left:-120px; top:-120px;
  width:380px; height:380px; border-radius:50%; border:1px solid rgba(250,250,247,0.1);
}
.quote-text {
  font-family:'PT Serif',serif; font-style:italic; font-weight:700;
  font-size:clamp(26px,3.6vw,44px); color:var(--white); position:relative; z-index:1;
}
.quote-text em { font-style:italic; color:var(--gold-soft); }
.quote-sub { margin-top:14px; font-size:12px; letter-spacing:2.5px; text-transform:uppercase; color:rgba(250,250,247,0.5); position:relative; z-index:1; }

/* ── CASES (home) ── */
.case-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:44px; }
.case-card {
  background:var(--white); border:1px solid var(--line); border-radius:16px;
  padding:28px 26px; display:flex; flex-direction:column; gap:12px;
}
.case-client { font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--gold); }
.case-title { font-family:'PT Serif',serif; font-size:17px; font-weight:700; color:var(--ink); line-height:1.3; }
.case-desc { font-size:12.5px; line-height:1.65; color:var(--text-mid); font-weight:300; flex:1; }
.case-who { display:flex; align-items:center; gap:10px; padding-top:14px; border-top:1px solid var(--line); }
.case-avatar {
  width:34px; height:34px; border-radius:50%; background:var(--mist); color:var(--forest);
  font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.case-name { font-size:12.5px; font-weight:600; color:var(--ink); line-height:1.3; }
.case-role { font-size:11px; color:var(--text-mid); font-weight:300; }

/* ── VALUES (home) ── */
.values-band { background:linear-gradient(160deg,var(--ink),var(--deep) 80%); position:relative; overflow:hidden; }
.values-band::after { content:''; position:absolute; right:-110px; top:-110px; width:360px; height:360px; border-radius:50%; border:1px solid rgba(250,250,247,0.1); }
.values-band .section { position:relative; z-index:1; }
.values-band .section-tag { color:var(--gold-soft); }
.values-band .section-tag::before { background:var(--gold-soft); }
.values-band .section-title { color:var(--white); }
.values-band .section-title em { color:var(--sage); }
.values-band .value-card { background:rgba(250,250,247,0.05); border-color:rgba(250,250,247,0.15); }
.values-band .value-name { color:var(--white); }
.values-band .value-desc { color:rgba(250,250,247,0.68); }
.values-band .value-icon { color:var(--mist); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M55 9 C76 6 93 24 92 47 C91 73 70 92 46 91 C22 90 7 70 9 45 C11 22 30 8 52 8 C60 8 68 10 74 15' fill='none' stroke='%238AAA60' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.values-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:18px; margin-top:44px; }
.value-card {
  background:var(--white); border:1px solid var(--line); border-radius:16px;
  padding:28px 22px;
}
.value-icon {
  width:52px; height:52px; display:flex; align-items:center; justify-content:center;
  margin-bottom:16px; color:var(--deep);
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M55 9 C76 6 93 24 92 47 C91 73 70 92 46 91 C22 90 7 70 9 45 C11 22 30 8 52 8 C60 8 68 10 74 15' fill='none' stroke='%237C8374' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  border:none;
}
.value-icon svg { width:20px; height:20px; }
.value-name { font-family:'PT Serif',serif; font-size:16px; font-weight:700; color:var(--ink); margin-bottom:8px; }
.value-desc { font-size:12.5px; color:var(--text-mid); line-height:1.6; font-weight:300; }

/* ── FOCUS (home) ── */
.focus-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:44px; }
.focus-card {
  border:1px solid var(--line); border-radius:16px; padding:24px 20px;
  display:flex; align-items:center; gap:16px; background:var(--white);
}
.focus-dot {
  width:44px; height:44px; border-radius:12px; background:var(--mist); color:var(--forest);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.focus-dot svg { width:20px; height:20px; }
.focus-name { font-size:14.5px; font-weight:600; color:var(--ink); margin-bottom:2px; }
.focus-sub { font-size:12px; color:var(--text-mid); font-weight:300; }

/* ── SERVICES PAGE ── */
.pills-row { display:flex; gap:10px; margin-top:26px; flex-wrap:wrap; }
.pill { display:flex; align-items:center; gap:8px; padding:8px 16px; border-radius:30px; font-size:12.5px; font-weight:600; background:var(--white); border:1px solid var(--line); color:var(--text); text-decoration:none; transition:border-color .18s ease, background .18s ease; }
a.pill:hover { border-color:var(--leaf); background:var(--mist); }
.pill-dot { width:8px; height:8px; border-radius:50%; }
.pill:nth-child(1) .pill-dot { background:var(--deep); }
.pill:nth-child(2) .pill-dot { background:var(--forest); }
.pill:nth-child(3) .pill-dot { background:var(--leaf); }
.pill:nth-child(4) .pill-dot { background:var(--sage); }

.services { max-width:1200px; margin:0 auto; padding:72px 32px 88px; display:flex; flex-direction:column; gap:28px; }
.service-card {
  scroll-margin-top:96px;
  background:var(--white); border:1px solid var(--line); border-radius:20px; overflow:hidden;
  display:grid; grid-template-columns:340px 1fr;
  transition:transform .22s ease, box-shadow .22s ease;
}
.service-card:hover { transform:translateY(-4px); box-shadow:0 16px 44px rgba(16,23,8,0.1); }
.service-left { padding:40px 36px; display:flex; flex-direction:column; justify-content:space-between; position:relative; overflow:hidden; color:var(--white); }
.service-card.ba .service-left { background:linear-gradient(160deg,var(--ink),var(--deep) 75%); }
.service-card.pm .service-left { background:linear-gradient(160deg,var(--deep),var(--forest) 85%); }
.service-card.bt .service-left { background:linear-gradient(160deg,var(--forest),var(--moss) 85%); }
.service-card.gg .service-left { background:linear-gradient(160deg,var(--moss),var(--leaf) 90%); }
.service-left::after { content:''; position:absolute; bottom:-60px; right:-60px; width:200px; height:200px; border-radius:50%; border:1px solid rgba(250,250,247,0.14); }
.service-badge {
  display:inline-flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:12px; background:rgba(250,250,247,0.14);
  font-family:'PT Serif',serif; font-weight:700; font-size:15px; color:var(--white);
  margin-bottom:22px; position:relative; z-index:1;
}
.service-name { font-family:'PT Serif',serif; font-size:25px; font-weight:700; line-height:1.15; margin-bottom:12px; position:relative; z-index:1; }
.service-tagline { font-size:13px; color:rgba(250,250,247,0.7); line-height:1.6; font-style:italic; position:relative; z-index:1; }
.service-outcome { margin-top:28px; padding:15px 18px; background:rgba(250,250,247,0.1); border-radius:12px; border-left:3px solid var(--gold-soft); position:relative; z-index:1; }
.outcome-label { font-size:9.5px; font-weight:600; text-transform:uppercase; letter-spacing:1.2px; color:var(--gold-soft); margin-bottom:5px; }
.outcome-text { font-family:'PT Serif',serif; font-style:italic; font-size:14px; color:rgba(250,250,247,0.92); line-height:1.5; }
.service-right { padding:40px 40px 36px; display:flex; flex-direction:column; gap:24px; }
.service-intro { font-size:14px; line-height:1.75; color:var(--text-mid); font-weight:300; padding-bottom:20px; border-bottom:1px solid var(--line); }
.delivers-label { font-size:10.5px; font-weight:600; text-transform:uppercase; letter-spacing:1px; color:var(--ink); margin-bottom:14px; }
.delivers-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.deliver-item {
  display:flex; align-items:flex-start; gap:11px;
  padding:13px 15px; border-radius:10px; background:var(--paper); border:1px solid var(--line);
  font-size:12.5px; color:var(--text); line-height:1.5; font-weight:400;
}
.deliver-dot { width:7px; height:7px; border-radius:50%; margin-top:5px; flex-shrink:0; }
.service-card.ba .deliver-dot { background:var(--deep); }
.service-card.pm .deliver-dot { background:var(--forest); }
.service-card.bt .deliver-dot { background:var(--leaf); }
.service-card.gg .deliver-dot { background:var(--sage); }

/* ── TEAM PAGE ── */
.cards { max-width:1200px; margin:0 auto; padding:64px 32px 88px; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.card {
  background:var(--white); border:1px solid var(--line); border-radius:18px; overflow:hidden;
  display:flex; flex-direction:column;
  transition:transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform:translateY(-5px); box-shadow:0 14px 40px rgba(16,23,8,0.11); }
.photo-area { position:relative; height:230px; display:flex; align-items:flex-end; justify-content:center; overflow:hidden; }
.card:nth-child(1) .photo-area { background:linear-gradient(160deg,var(--ink),var(--deep) 80%); }
.card:nth-child(2) .photo-area { background:linear-gradient(160deg,var(--deep),var(--forest) 85%); }
.card:nth-child(3) .photo-area { background:linear-gradient(160deg,var(--forest),var(--moss) 90%); }
.card:nth-child(4) .photo-area { background:linear-gradient(160deg,var(--moss),var(--leaf) 95%); }
.photo-area img { width:100%; height:100%; object-fit:cover; object-position:center 20%; }
.silhouette { width:120px; height:160px; flex-shrink:0; }
.bubble {
  position:absolute; top:14px; right:12px;
  background:rgba(16,23,8,0.82); color:var(--white);
  font-size:10.5px; font-weight:400; line-height:1.45;
  padding:8px 11px; border-radius:10px 10px 2px 10px;
  max-width:130px; backdrop-filter:blur(4px); font-style:italic; z-index:2;
}
.card:nth-child(2) .bubble, .card:nth-child(4) .bubble { border-radius:10px 10px 10px 2px; right:auto; left:12px; }
.card-body { padding:22px 20px 18px; flex:1; display:flex; flex-direction:column; }
.card-name { font-family:'PT Serif',serif; font-size:19px; font-weight:700; color:var(--ink); margin-bottom:10px; }
.card-title { font-size:10.5px; font-weight:700; color:var(--gold); text-transform:uppercase; letter-spacing:1.2px; margin-bottom:12px; }
.card-intro { font-size:12.5px; line-height:1.62; color:var(--text-mid); margin-bottom:15px; font-weight:300; }
.section-label { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:1px; color:var(--ink); margin-bottom:8px; }
.skills-list { list-style:none; display:flex; flex-direction:column; gap:6px; margin-bottom:15px; }
.skills-list li { display:flex; align-items:flex-start; gap:9px; font-size:12px; color:var(--text-mid); line-height:1.45; }
.skills-list li::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--sage); margin-top:5px; flex-shrink:0; }
.why-block { background:var(--paper); border:1px solid var(--line); border-radius:10px; padding:12px 14px; margin-bottom:13px; }
.why-label { font-size:9.5px; font-weight:600; text-transform:uppercase; letter-spacing:1px; color:var(--forest); margin-bottom:5px; }
.why-text { font-family:'PT Serif',serif; font-size:12px; line-height:1.58; color:var(--text); font-style:italic; }
.fun-block { display:flex; align-items:flex-start; gap:10px; background:var(--mist); border-radius:10px; padding:11px 13px; margin-top:auto; }
.fun-icon { flex-shrink:0; width:26px; height:26px; border-radius:8px; background:var(--white); display:flex; align-items:center; justify-content:center; color:var(--forest); }
.fun-icon svg { width:14px; height:14px; }
.fun-label { font-size:9.5px; font-weight:600; text-transform:uppercase; letter-spacing:1px; color:var(--gold); margin-bottom:3px; }
.fun-text { font-size:11.5px; color:var(--text-mid); line-height:1.5; font-weight:300; }

/* ── CAREERS PAGE ── */
.perks-band { background:linear-gradient(160deg,var(--forest),var(--moss) 85%); position:relative; overflow:hidden; }
.perks-band::before { content:''; position:absolute; left:-120px; bottom:-120px; width:340px; height:340px; border-radius:50%; border:1px solid rgba(250,250,247,0.1); }
.perks-head { max-width:1200px; margin:0 auto; padding:56px 32px 0; position:relative; z-index:1; }
.perks-head .core-label { color:var(--mist); }
.perks-head .core-label::before { background:var(--mist); }
.perks { max-width:1200px; margin:0 auto; padding:56px 32px 64px; display:grid; grid-template-columns:repeat(4,1fr); gap:18px; position:relative; z-index:1; }
.perk-card { border-radius:16px; padding:26px 24px; }
.perk-icon { width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.perk-icon svg { width:19px; height:19px; }
.perk-title { font-size:14.5px; font-weight:600; margin-bottom:7px; }
.perk-desc { font-size:12.5px; line-height:1.65; font-weight:300; }
.perk-card { background:var(--paper); }
.perk-card .perk-title { color:var(--ink); }
.perk-card .perk-desc { color:var(--text-mid); }
.perk-card .perk-icon { background:var(--mist); color:var(--forest); }

.section-label-row { max-width:1200px; margin:0 auto; padding:48px 32px 24px; }
.core-label { display:inline-flex; align-items:center; gap:10px; font-size:11px; font-weight:600; color:var(--forest); text-transform:uppercase; letter-spacing:2.5px; }
.core-label::before { content:''; display:block; width:30px; height:1px; background:var(--forest); }
.apply-note { margin-top:12px; font-size:13px; color:var(--text-mid); font-weight:300; line-height:1.6; max-width:560px; }
.apply-note strong { color:var(--ink); font-weight:600; }

.jobs { max-width:1200px; margin:0 auto; padding:0 32px 72px; display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.job-card {
  background:var(--white); border:1px solid var(--line); border-radius:16px; overflow:hidden;
  display:flex; flex-direction:column;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  cursor:pointer; text-decoration:none;
}
.job-card:hover { transform:translateY(-5px); box-shadow:0 14px 40px rgba(16,23,8,0.11); border-color:var(--sage); }
.job-card:hover .job-arrow { background:var(--deep); color:var(--white); border-color:var(--deep); }
.job-body { padding:24px 22px 18px; flex:1; display:flex; flex-direction:column; gap:14px; }
.job-tags { display:flex; gap:7px; flex-wrap:wrap; }
.job-tag { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:0.8px; padding:5px 11px; border-radius:20px; }
.tag-insurance { background:var(--mist); color:var(--forest); }
.tag-general { background:#F1EEE3; color:var(--gold); }
.tag-data { background:#EDEDE8; color:var(--ink); }
.tag-level { background:var(--paper); border:1px solid var(--line); color:var(--text-mid); }
.job-title { font-family:'PT Serif',serif; font-size:18px; font-weight:700; color:var(--ink); line-height:1.25; }
.job-desc { font-size:12.5px; line-height:1.65; color:var(--text-mid); font-weight:300; flex:1; }
.job-footer { display:flex; align-items:center; justify-content:space-between; padding-top:14px; border-top:1px solid var(--line); }
.job-meta { display:flex; gap:14px; }
.job-meta-item { display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--text-mid); }
.job-meta-item svg { width:13px; height:13px; color:var(--sage); }
.job-arrow {
  width:34px; height:34px; border-radius:50%; border:1.5px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-size:15px; color:var(--deep);
  transition:background .18s ease, color .18s ease, border-color .18s ease;
}
.open-application {
  max-width:1136px; margin:0 auto 80px;
  background:linear-gradient(160deg,var(--ink),var(--deep) 70%);
  border-radius:20px; padding:48px 48px;
  display:flex; align-items:center; justify-content:space-between; gap:32px;
  position:relative; overflow:hidden;
}
.open-application::before { content:''; position:absolute; top:-60px; right:-60px; width:240px; height:240px; border-radius:50%; border:1px solid rgba(250,250,247,0.13); }
.open-left { flex:1; position:relative; z-index:1; }
.open-tag { font-size:11px; font-weight:600; color:var(--gold-soft); text-transform:uppercase; letter-spacing:2px; margin-bottom:12px; }
.open-title { font-family:'PT Serif',serif; font-size:27px; font-weight:700; color:var(--white); line-height:1.15; margin-bottom:12px; }
.open-desc { font-size:13.5px; color:rgba(250,250,247,0.7); line-height:1.7; font-weight:300; max-width:520px; }
.open-desc a { color:var(--gold-soft); text-decoration:none; font-weight:500; }
.open-desc a:hover { text-decoration:underline; }
.open-application .btn-solid { flex-shrink:0; position:relative; z-index:1; }

/* ── FAQ (home) ── */
.faq-band { background:var(--paper); border-top:1px solid var(--line); }
.faq-list { max-width:840px; margin-top:36px; display:flex; flex-direction:column; gap:12px; }
.faq-item { background:var(--white); border:1px solid var(--line); border-radius:12px; }
.faq-item summary {
  cursor:pointer; padding:18px 22px; font-size:14.5px; font-weight:600; color:var(--ink);
  list-style:none; display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-mark { font-family:'PT Serif',serif; font-size:20px; color:var(--leaf); line-height:1; transition:transform .2s ease; flex-shrink:0; }
.faq-item[open] .faq-mark { transform:rotate(45deg); }
.faq-item[open] { border-color:var(--sage); }
.faq-a { padding:0 22px 20px; font-size:13.5px; line-height:1.75; color:var(--text-mid); font-weight:300; max-width:720px; }
.faq-a a { color:var(--forest); font-weight:500; text-decoration:none; }
.faq-a a:hover { text-decoration:underline; }

/* ── CTA BAND ── */
.cta-band { background:linear-gradient(160deg,var(--ink),var(--deep)); }
.cta-inner { max-width:1200px; margin:0 auto; padding:80px 32px; display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.cta-title { font-family:'PT Serif',serif; font-size:clamp(24px,3.2vw,38px); font-weight:700; color:var(--white); line-height:1.15; margin-bottom:12px; }
.cta-sub { font-size:14.5px; color:rgba(250,250,247,0.68); font-weight:300; line-height:1.7; max-width:480px; }

/* ── PRIVACY / PROSE ── */
.prose { max-width:760px; margin:0 auto; padding:64px 32px 88px; }
.prose h2 { font-family:'PT Serif',serif; font-size:21px; font-weight:700; color:var(--ink); margin:36px 0 12px; }
.prose h2:first-child { margin-top:0; }
.prose p { font-size:14.5px; line-height:1.8; color:var(--text-mid); font-weight:300; margin-bottom:14px; }
.prose a { color:var(--forest); font-weight:500; text-decoration:none; }
.prose a:hover { text-decoration:underline; }

/* ── FOOTER ── */
footer { background:var(--ink); color:var(--white); }
.footer-inner { max-width:1200px; margin:0 auto; padding:64px 32px 0; display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:48px; }
.f-brand .brand-p3 { color:var(--white); font-size:26px; }
.f-brand .brand-word { color:rgba(250,250,247,0.55); }
.f-tagline { margin-top:16px; font-family:'PT Serif',serif; font-style:italic; font-size:15px; color:var(--sage); line-height:1.6; }
.f-head { font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:rgba(250,250,247,0.5); margin-bottom:18px; }
.f-links { list-style:none; display:flex; flex-direction:column; gap:10px; }
.f-links a { font-size:13.5px; color:rgba(250,250,247,0.78); text-decoration:none; font-weight:300; }
.f-links a:hover { color:var(--white); }
.f-links li { font-size:13.5px; color:rgba(250,250,247,0.78); font-weight:300; }
.footer-bottom {
  max-width:1200px; margin:48px auto 0; padding:24px 32px;
  border-top:1px solid rgba(250,250,247,0.12);
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.f-heart { font-size:13px; color:rgba(250,250,247,0.72); font-weight:300; }
.f-heart .heart { color:var(--gold-soft); }
.f-copy { font-size:12px; color:rgba(250,250,247,0.4); font-weight:300; }
.f-copy a { color:rgba(250,250,247,0.55); text-decoration:none; }
.f-copy a:hover { color:var(--white); text-decoration:underline; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
.hero-inner > * { animation:fadeUp .55s ease both; }
.hero-inner > *:nth-child(2) { animation-delay:.08s; }
.hero-inner > *:nth-child(3) { animation-delay:.16s; }
.hero-inner > *:nth-child(4) { animation-delay:.24s; }
.hero-inner > *:nth-child(5) { animation-delay:.32s; }
.hero-inner > *:nth-child(6) { animation-delay:.4s; }
.page-head-inner { animation:fadeUp .5s ease both; }
.service-card, .card, .perks, .section-label-row, .jobs, .open-application { animation:fadeUp .5s ease both; }
.service-card:nth-child(1) { animation-delay:.1s; }
.service-card:nth-child(2) { animation-delay:.2s; }
.service-card:nth-child(3) { animation-delay:.3s; }
.card:nth-child(1) { animation-delay:.1s; }
.card:nth-child(2) { animation-delay:.18s; }
.card:nth-child(3) { animation-delay:.26s; }
.card:nth-child(4) { animation-delay:.34s; }
.perks { animation-delay:.1s; }
.section-label-row { animation-delay:.15s; }
.jobs { animation-delay:.2s; }
.open-application { animation-delay:.3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation:none !important; transition:none !important; }
  html { scroll-behavior:auto; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
  .svc-grid, .case-grid { grid-template-columns:repeat(2,1fr); }
  .focus-grid { grid-template-columns:repeat(2,1fr); }
  .values-grid { grid-template-columns:repeat(3,1fr); }
  .focus-grid, .perks, .cards { grid-template-columns:repeat(2,1fr); }
  .jobs { grid-template-columns:repeat(2,1fr); }
  .mission { grid-template-columns:1fr; gap:44px; }
  .footer-inner { grid-template-columns:1fr 1fr; }
  .open-application { flex-direction:column; align-items:flex-start; margin-left:32px; margin-right:32px; }
}
@media (max-width: 960px) {
  .service-card { grid-template-columns:1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display:block; }
  .nav-links {
    display:none; position:absolute; top:100%; left:0; right:0;
    background:var(--white); border-bottom:1px solid var(--line);
    flex-direction:column; align-items:flex-start;
    padding:18px 32px 22px; gap:16px;
    box-shadow:0 16px 32px rgba(16,23,8,0.1);
  }
  .nav.open .nav-links { display:flex; }
  .nav-link { font-size:15px; }
}
@media (max-width: 640px) {
  .brand-img { height:32px; }
  .nav-inner { padding:14px 20px; }
  .svc-grid, .case-grid, .values-grid, .focus-grid, .perks, .cards, .jobs { grid-template-columns:1fr; }
  .delivers-grid { grid-template-columns:1fr; }
  .stat { padding-right:28px; margin-right:28px; }
  .section { padding:64px 24px; }
  .hero-inner { padding:80px 24px 64px; }
  .page-head-inner { padding:60px 24px 48px; }
  .services { padding:56px 24px 64px; }
  .cards { padding:48px 24px 64px; }
  .perks { padding:44px 24px 48px; }
  .perks-head { padding:44px 24px 0; }
  .jobs { padding:0 24px 56px; }
  .open-application { margin:0 24px 56px; padding:36px 28px; }
  .footer-inner { grid-template-columns:1fr; gap:32px; }
  .philosophy-statement { font-size:23px; }
}


/* ── PHOTO BAND (careers) ── */
.photo-band { max-width:1200px; margin:0 auto; padding:44px 32px 52px; }
.photo-band img {
  width:100%; aspect-ratio:3/1; object-fit:cover; object-position:center 30%;
  display:block; border-radius:20px;
}
@media (max-width:640px) {
  .photo-band { padding:36px 24px 44px; }
  .photo-band img { aspect-ratio:16/10; border-radius:14px; }
}

/* ── JOB DETAIL ── */
.btn-dark {
  padding:14px 30px; background:var(--deep); color:var(--white);
  border-radius:30px; font-size:14px; font-weight:600; text-decoration:none;
  transition:background .18s, transform .18s; white-space:nowrap; display:inline-block;
}
.btn-dark:hover { background:var(--forest); transform:translateY(-2px); }
.job-head-meta { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:22px; }
.job-detail { max-width:840px; margin:0 auto; padding:60px 32px 24px; }
.job-section + .job-section { margin-top:44px; }
.job-section h2 { font-family:'PT Serif',serif; font-size:22px; font-weight:700; color:var(--ink); margin-bottom:16px; }
.job-list { list-style:none; display:flex; flex-direction:column; gap:12px; }
.job-list li { display:flex; gap:12px; align-items:flex-start; font-size:14px; line-height:1.7; color:var(--text-mid); font-weight:300; }
.job-list li::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--sage); margin-top:8px; flex-shrink:0; }
.job-apply-row { max-width:840px; margin:0 auto; padding:28px 32px 80px; display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.back-link { font-size:13.5px; font-weight:600; color:var(--forest); text-decoration:none; }
.back-link:hover { text-decoration:underline; }
