/* peasedesign.com — Kevin Pease portfolio
   Visual language follows the 2026 resume: white ground, coral accent,
   charcoal footer band. One typeface throughout: Figtree, standing in for
   Proxima Nova. Emphasis is coral color; labels are small bold uppercase.
   (Swap in Proxima Nova via an Adobe Fonts kit if you'd like an exact match.) */

:root{
  --bg:#ffffff;
  --bg-soft:#f4f4f4;
  --slide-gray:#e8e8e8;    /* background of the PowerPoint portfolio exports */
  --surface:var(--bg-soft); /* panels and cards: gray on white sections, white on gray ones */
  --line:#e3e3e3;
  --ink:#1c1c1e;
  --ink-soft:#55565b;
  --ink-faint:#8a8b90;
  --accent:#e8513e;        /* the one coral used everywhere: no tints or shades */
  --on-dark-soft:#b4b4b8;  /* gray for small accent text on charcoal (coral is too low-contrast there) */
  --charcoal:#2e2e30;
  --charcoal-2:#3a3a3d;
  --radius:14px;
  --sans:'Figtree', 'Segoe UI', Helvetica, Arial, sans-serif;
  --shadow:0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:84px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}

body{
  margin:0;
  /* keep the footer at the bottom of the window on short pages (Contact) */
  min-height:100vh; display:flex; flex-direction:column;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ display:block; max-width:100%; height:auto; }
main{ flex:1 0 auto; }
a{ color:var(--accent); text-underline-offset:3px; }
a:hover{ color:var(--ink); }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }

h1,h2,h3{ margin:0; line-height:1.1; letter-spacing:-0.02em; text-wrap:balance; font-weight:800; }
h1{ font-size:clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing:-0.035em; line-height:1; }
h2{ font-size:clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing:-0.03em; }
h3{ font-size:clamp(1.4rem, 2.2vw, 1.85rem); }
h1 em, h2 em{ font-style:normal; color:var(--accent); } /* emphasis is coral, same font and weight */
p{ margin:0 0 1em; }

.wrap{ max-width:1200px; margin:0 auto; padding:0 40px; }
@media (max-width:720px){ .wrap{ padding:0 20px; } }

.skip-link{ position:absolute; left:-999px; top:8px; background:var(--ink); color:#fff; padding:8px 14px; border-radius:8px; z-index:100; }
.skip-link:focus{ left:8px; color:#fff; }

.eyebrow{
  font-weight:600; font-size:.85rem; letter-spacing:.09em; text-transform:uppercase; /* shared label size: see .case-meta, .brands-label */
  color:var(--accent); margin:0 0 8px;
}
.eyebrow-light{ color:var(--on-dark-soft); }

/* ---------- buttons & links ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 24px; border-radius:999px;
  background:var(--charcoal); color:#fff; text-decoration:none;
  font-weight:700; font-size:1rem; line-height:1;
  border:2px solid var(--charcoal);
  transition:background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover{ background:var(--accent); border-color:var(--accent); color:#fff; transform:translateY(-1px); }
.btn-small{ padding:10px 18px; font-size:.92rem; }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-outline:hover{ background:var(--ink); border-color:var(--ink); color:#fff; }
.btn-ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.4); }
.btn-ghost:hover{ background:#fff; border-color:#fff; color:var(--charcoal); }
.link-arrow{ font-weight:700; color:var(--ink); text-decoration:none; }
.link-arrow span{ display:inline-block; transition:transform .2s; color:var(--accent); }
.link-arrow:hover{ color:var(--ink); }
.link-arrow:hover span{ transform:translateX(4px); }

/* ---------- nav ---------- */
.site-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(1.4) blur(10px); -webkit-backdrop-filter:saturate(1.4) blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .2s;
}
.site-nav.is-scrolled{ border-bottom-color:var(--line); }
.nav-row{ display:flex; align-items:center; gap:32px; height:72px; }
.wordmark{ font-weight:800; font-size:1.25rem; color:var(--ink); text-decoration:none; letter-spacing:-0.02em; margin-right:auto; white-space:nowrap; }
.wordmark:hover{ color:var(--ink); }
.wordmark-dot{ color:var(--accent); }
.nav-links{ display:flex; gap:28px; list-style:none; margin:0; padding:0; }
.nav-links a{ color:var(--ink); text-decoration:none; font-weight:600; font-size:.98rem; position:relative; }
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px;
  background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform .2s;
}
.nav-links a:hover::after, .nav-links a.is-current::after{ transform:scaleX(1); }
.nav-toggle{ display:none; }

@media (max-width:720px){
  .nav-row{ gap:12px; height:64px; }
  html{ scroll-padding-top:72px; }
  .nav-toggle{
    display:inline-flex; flex-direction:column; justify-content:center; gap:6px;
    width:44px; height:44px; padding:0 11px; background:none; border:0; cursor:pointer;
  }
  .nav-toggle span{ display:block; height:2px; background:var(--ink); border-radius:2px; transition:transform .2s; }
  .nav-toggle[aria-expanded="true"] span:first-child{ transform:translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child{ transform:translateY(-4px) rotate(-45deg); }
  .nav-links{
    position:absolute; top:64px; left:0; right:0;
    flex-direction:column; gap:0; padding:8px 20px 16px;
    background:#fff; border-bottom:1px solid var(--line); box-shadow:var(--shadow);
    display:none;
  }
  .nav-links.is-open{ display:flex; }
  .nav-links a{ display:block; padding:12px 0; font-size:1.1rem; }
  .nav-links a::after{ display:none; }
}

/* ---------- hero ---------- */
.hero{ padding:72px 0 0; }
.hero-grid{ display:grid; grid-template-columns:1.35fr 1fr; gap:64px; align-items:center; }
.hero-sub{ font-size:1.2rem; color:var(--ink-soft); max-width:40ch; margin:24px 0 32px; text-wrap:pretty; }
.nowrap{ white-space:nowrap; }
.hero-actions{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.hero-portrait{ position:relative; justify-self:center; width:min(100%, 400px); }
.hero-portrait img{
  width:100%; aspect-ratio:1; object-fit:cover; border-radius:50%;
  border:6px solid var(--accent); background:var(--charcoal);
}
.portrait-tag{
  position:absolute; left:50%; bottom:8px; transform:translateX(-50%);
  margin:0; white-space:nowrap;
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:1px solid var(--line); box-shadow:var(--shadow);
  padding:8px 16px; border-radius:999px; font-size:.9rem; font-weight:600;
}
.status-dot{ width:9px; height:9px; border-radius:50%; background:#2fa36b; box-shadow:0 0 0 4px rgba(47,163,107,.18); }

.stats{
  display:grid; grid-template-columns:repeat(4, 1fr);
  margin:72px 0 0; padding:32px 0; border-top:1px solid var(--line);
}
.stat{ display:flex; flex-direction:column-reverse; justify-content:flex-end; gap:6px; padding:0 24px; border-left:1px solid var(--line); }
.stat:first-child{ padding-left:0; border-left:0; }
.stat dd{ margin:0; font-size:clamp(2rem, 3.4vw, 2.8rem); font-weight:800; letter-spacing:-0.03em; line-height:1; color:var(--ink); font-variant-numeric:tabular-nums; }
.stat dt{ font-size:.92rem; color:var(--ink-soft); line-height:1.4; }

@media (max-width:900px){
  .hero{ padding-top:40px; }
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-portrait{ grid-row:1; width:min(70%, 280px); justify-self:start; }
  .stats{ grid-template-columns:repeat(2, 1fr); row-gap:28px; margin-top:48px; }
  .stat:nth-child(3){ padding-left:0; border-left:0; }
}

/* ---------- brands strip ---------- */
.brands{ background:var(--charcoal); color:#fff; padding:30px 0; }
.brands-row{ display:flex; align-items:center; gap:40px; }
.brands-label{
  margin:0; padding:6px 40px 6px 0; border-right:1px solid rgba(255,255,255,.22);
  font-weight:600; font-size:.85rem; letter-spacing:.09em; text-transform:uppercase; color:var(--on-dark-soft); white-space:nowrap;
}
.brands-list{
  flex:1; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px 36px;
  list-style:none; margin:0; padding:0;
  font-weight:700; letter-spacing:-0.01em; color:rgba(255,255,255,.88);
}
.brands-list li{ display:flex; align-items:center; }
/* Logos: each SVG sets its own optical height with --h (see index.html),
   and the filter renders any logo color as solid white on the charcoal band.
   --shift nudges a logo up (positive) or down (negative) by a fraction of
   its height, so the main lettering sits on the row's center line instead
   of the whole logo box. Varonis: its brand mark is taller than the
   wordmark. Dell: the "g" descender pulls the box below the type. */
.brands-list img{
  height:calc(var(--h, 22px) * var(--scale, 1)); width:auto; max-width:200px;
  transform:translateY(calc(var(--h, 22px) * var(--scale, 1) * var(--shift, 0) * -1));
  filter:brightness(0) invert(1); opacity:.82; transition:opacity .2s;
}
.brands-list li:hover img{ opacity:1; }
@media (max-width:1100px){
  .brands-row{ flex-direction:column; align-items:flex-start; gap:18px; }
  .brands-label{ padding:0; border-right:0; } /* label sits above the logos here, so no divider */
  .brands-list{ width:100%; }
}
@media (max-width:900px){
  .brands-list{ display:grid; grid-template-columns:repeat(3, auto); justify-content:space-between; gap:22px 24px; }
}
@media (max-width:480px){
  .brands-list{ grid-template-columns:repeat(2, auto); }
  .brands-list{ --scale:.85; }
}

/* ---------- sections ---------- */
.section{ padding:112px 0; }
.section-soft{ background:var(--bg-soft); --surface:#fff; }
.section-head{ margin-bottom:56px; max-width:720px; }
.section-head-row{ max-width:none; display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; }
@media (max-width:720px){ .section{ padding:72px 0; } .section-head{ margin-bottom:36px; } }

/* ---------- media placeholders ---------- */
.media{
  display:block; position:relative; margin:0; overflow:hidden;
  border-radius:var(--radius); background:var(--bg-soft);
  aspect-ratio:4 / 3;
}
.media-wide{ aspect-ratio:16 / 10; }
.media img{ width:100%; height:100%; object-fit:cover; }
/* Slide exports (16:9 from PowerPoint on a #E8E8E8 background): show the whole
   image, never cropped, and fill the leftover frame with the same gray so the
   bars disappear into the slide's own background. */
.media-fit{ background:var(--slide-gray); }
.media-fit img{ object-fit:contain; }
.media.is-missing img{ display:none; }
.media.is-missing{
  display:flex; align-items:center; justify-content:center; text-align:center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,.035) 14px 28px),
    #ebebeb;
  border:1.5px dashed #c6c6c6;
}
.media.is-missing::after{
  content:"Add image\A" attr(data-file);
  white-space:pre; padding:16px;
  font-size:.85rem; line-height:1.5; color:var(--ink-faint); font-weight:600;
}
.section-soft .media.is-missing{ background-color:#e4e4e4; }

/* ---------- case studies ---------- */
.case{
  display:grid; grid-template-columns:1.25fr 1fr; gap:64px; align-items:center;
  padding:72px 0; border-top:1px solid var(--line);
}
.case:first-of-type{ border-top:0; padding-top:0; }
.case-flip .case-media{ order:2; }

/* ---------- case-study carousel (home page) ----------
   The four case studies sit side by side in a sideways-scrolling track, one large card
   at a time with the next one peeking in. All cards share one width, and the row
   stretches them to the tallest card's height, so every card is the same size.
   Dots and arrows are built in main.js. */
.case-carousel{ --gutter:max(40px, calc((100vw - 1200px) / 2 + 40px)); } /* lines up with .wrap */
.case-track{
  display:flex; gap:24px; overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory; scroll-padding-inline:var(--gutter);
  padding:4px var(--gutter) 8px; scrollbar-width:none;
}
.case-track::-webkit-scrollbar{ display:none; }
.case-track:focus-visible{ outline:2px solid var(--accent); outline-offset:-2px; }
.case-track .case{
  flex:0 0 min(1040px, calc(100vw - 2 * var(--gutter) - 72px)); scroll-snap-align:start;
  grid-template-columns:1fr 1fr; /* wider text column keeps the cards from getting too tall */
  margin:0; padding:40px 48px; gap:40px; border:0; border-radius:28px; background:var(--surface);
}
.case-track .case:first-of-type{ padding-top:40px; }
.case-track .case{ cursor:pointer; } /* clicking a card moves the carousel (main.js) */
/* before/after sliders only work on the card that has finished sliding into place */
.case-track .case:not(.is-settled) .compare-range{ pointer-events:none; }
.case-track .results{ margin:20px 0; padding:16px 0; }
.case-track .case-body h3{ margin-bottom:14px; }
.case-track .case-flip .case-media{ order:0; } /* same layout on every card: images left, text right */

.case-controls{ display:flex; justify-content:center; align-items:center; gap:12px; margin-top:32px; }
.case-dots{ display:flex; align-items:center; gap:10px; padding:16px 20px; border-radius:999px; background:var(--surface); }
.case-dot{
  position:relative; width:8px; height:8px; padding:0; border:0; border-radius:999px; cursor:pointer;
  background:#b8b8bc; transition:width .35s ease, background .35s ease;
}
.case-dot::after{ content:""; position:absolute; inset:-10px -6px; } /* bigger tap area */
.case-dot:hover{ background:var(--ink-soft); }
.case-dot.is-active{ width:32px; background:var(--ink); }
.case-arrow{
  width:44px; height:44px; border:0; border-radius:50%; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  background:var(--surface); color:var(--ink); font:inherit; font-size:1.3rem; line-height:1;
  transition:background .2s, opacity .2s;
}
.case-arrow:hover{ background:var(--line); }
.case-arrow:disabled{ opacity:.35; cursor:default; }
.case-arrow:disabled:hover{ background:var(--surface); }
@media (max-width:900px){
  .case-track .case{ flex-basis:calc(100vw - 2 * var(--gutter) - 32px); grid-template-columns:1fr; align-content:start; padding:32px 28px; gap:28px; }
}
@media (max-width:720px){
  .case-carousel{ --gutter:20px; }
  .case-track{ gap:14px; }
  .case-track .case{ padding:24px 20px; border-radius:22px; }
}
.case-media{ display:grid; gap:16px; }
.media-pair{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
/* case-study images open in the lightbox (set up in main.js) */
.media.is-zoomable{ cursor:zoom-in; transition:transform .25s, box-shadow .25s; }
.media.is-zoomable:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.media.is-zoomable.is-missing{ cursor:default; }
.media.is-zoomable.is-missing:hover{ transform:none; box-shadow:none; }
.media-caption{ margin:0; font-size:.88rem; color:var(--ink-faint); }
/* Side-by-side layout: hang the slider caption below the slider so the slider
   itself (not slider + caption) is vertically centered against the text. */
@media (min-width:901px){
  .case-media{ position:relative; }
  .case-media > .media-caption{ position:absolute; top:100%; left:0; right:0; margin-top:12px; }
}
.case-body > .case-meta{ margin:0 0 10px; font-size:.85rem; font-weight:600; text-transform:uppercase; letter-spacing:.09em; color:var(--ink-soft); }
.case-body h3{ margin-bottom:18px; }
.case-body > p{ color:var(--ink-soft); }

.results{ display:flex; flex-wrap:wrap; gap:16px 36px; list-style:none; margin:28px 0; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.results li{ display:flex; flex-direction:column; gap:4px; min-width:120px; }
.results strong{ font-size:1.7rem; font-weight:800; letter-spacing:-0.03em; line-height:1; color:var(--ink); font-variant-numeric:tabular-nums; }
.results span{ font-size:.88rem; color:var(--ink-soft); line-height:1.35; max-width:22ch; }
.results li.is-wide{ flex-basis:100%; }
.results li.is-wide span{ max-width:52ch; }
/* Award row: winner badge beside the award name (a <b>, not <strong>, so the count-up skips it) */
.results li.result-award{ flex-direction:row; align-items:center; gap:14px; }
.result-award img{ height:60px; width:auto; flex:none; }
.result-award div{ display:flex; flex-direction:column; gap:3px; }
.result-award b{ font-size:1rem; font-weight:700; color:var(--ink); line-height:1.2; }

.pull-quote{ margin:0 0 24px; padding:4px 0 4px 20px; border-left:4px solid var(--accent); }
.pull-quote p{ font-weight:600; font-size:1.05rem; line-height:1.5; margin-bottom:8px; }
.pull-quote footer{ font-size:.88rem; color:var(--ink-soft); }

.tags{ display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:0; padding:0; }
.tags li{ font-size:.82rem; font-weight:600; padding:5px 12px; border-radius:999px; background:var(--bg-soft); color:var(--ink-soft); }

@media (max-width:900px){
  .case{ grid-template-columns:1fr; gap:32px; padding:56px 0; }
  .case-flip .case-media{ order:0; }
}

/* ---------- before / after compare ---------- */
.compare{ position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:16 / 10; user-select:none; touch-action:pan-y; }
.compare-square{ aspect-ratio:1; max-width:520px; }
.compare .media{ position:absolute; inset:0; aspect-ratio:auto; border-radius:0; }
.compare-before{ clip-path:inset(0 calc(100% - var(--pos)) 0 0); }
.compare .media.is-missing{ border:0; align-items:flex-end; padding-bottom:12px; }
.compare-before.is-missing{ justify-content:flex-start; text-align:left; }
.compare-after.is-missing{ justify-content:flex-end; text-align:right; }
@media (max-width:720px){ .compare .media.is-missing::after{ font-size:.7rem; padding:10px; } }
.compare-after.is-missing{ background-color:#d9d9d9; }
.compare-handle{
  position:absolute; top:0; bottom:0; left:var(--pos); width:3px; margin-left:-1.5px;
  background:#fff; box-shadow:0 0 0 1px rgba(0,0,0,.08); pointer-events:none;
}
.compare-handle::after{
  content:"‹ ›"; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:46px; height:46px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#fff; color:var(--ink); font-weight:800; font-size:1.05rem; letter-spacing:2px;
  box-shadow:var(--shadow);
}
.compare-range{
  position:absolute; inset:0; width:100%; height:100%; margin:0;
  opacity:0; cursor:ew-resize; -webkit-appearance:none; appearance:none;
}
.compare-range:focus-visible ~ .compare-handle::after,
.compare:has(.compare-range:focus-visible) .compare-handle::after{ outline:3px solid var(--accent); outline-offset:2px; }
.compare-label{
  position:absolute; top:14px; z-index:2; pointer-events:none;
  padding:5px 12px; border-radius:999px; font-size:.8rem; font-weight:700;
  background:rgba(28,28,30,.78); color:#fff;
}
.compare-label-before{ left:14px; }
.compare-label-after{ right:14px; background:var(--accent); }

/* ---------- gallery ---------- */
.filters{ display:flex; flex-wrap:wrap; gap:8px; }
.filter{
  font:inherit; font-size:.92rem; font-weight:600; cursor:pointer;
  padding:9px 16px; border-radius:999px;
  background:#fff; color:var(--ink); border:1.5px solid var(--line);
  transition:background .2s, border-color .2s, color .2s;
}
.filter:hover{ border-color:var(--ink); }
.filter.is-active{ background:var(--ink); border-color:var(--ink); color:#fff; }

.gallery{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; list-style:none; margin:0; padding:0; }
.gallery li[hidden]{ display:none; }
.gallery-item{
  display:block; width:100%; padding:0; border:0; background:none; text-align:left; cursor:zoom-in;
  font:inherit; color:inherit;
}
.gallery-item .media{ transition:transform .25s, box-shadow .25s; }
.gallery-item:hover .media{ transform:translateY(-3px); box-shadow:var(--shadow); }
.gallery-item.is-placeholder{ cursor:default; }
.gallery-item.is-placeholder:hover .media{ transform:none; box-shadow:none; }
.gallery-title{ display:block; margin-top:12px; font-weight:700; line-height:1.3; }
.gallery-meta{ display:block; font-size:.85rem; color:var(--ink-soft); }
.gallery-more{ display:flex; justify-content:center; margin-top:48px; }
.gallery-more .btn[hidden]{ display:none; }
@media (max-width:900px){ .gallery{ grid-template-columns:repeat(2, 1fr); gap:18px; } }
@media (max-width:540px){ .gallery{ grid-template-columns:1fr; } }

/* List view (Work page): one large piece per row, like a scrolling portfolio */
.gallery.is-list{ grid-template-columns:1fr; gap:64px; max-width:1000px; margin:0 auto; }
.gallery.is-list .media{ aspect-ratio:16 / 9; }
.gallery.is-list .gallery-item:hover .media{ transform:none; }
.gallery.is-list .gallery-title{ margin-top:16px; font-size:1.15rem; }
@media (max-width:720px){ .gallery.is-list{ gap:40px; } }

/* ---------- Contact page ---------- */
.contact-page{ padding-top:64px; }
.contact-page-grid{ display:grid; grid-template-columns:1.2fr 1fr; gap:72px; align-items:center; }
.contact-page-actions{ margin-top:32px; }
.contact-card{ margin:0; background:var(--bg-soft); border-radius:var(--radius); padding:8px 32px; }
.contact-row{ display:grid; grid-template-columns:96px 1fr; gap:16px; align-items:baseline; padding:18px 0; border-top:1px solid var(--line); }
.contact-row:first-child{ border-top:0; }
.contact-row dt{ font-size:.85rem; font-weight:600; letter-spacing:.09em; text-transform:uppercase; color:var(--ink-soft); }
.contact-row dd{ margin:0; font-weight:600; overflow-wrap:anywhere; display:flex; align-items:center; gap:10px; }
.contact-row dd a{ color:var(--ink); text-decoration:none; border-bottom:1.5px solid var(--accent); }
.contact-row dd a:hover{ color:var(--accent); }
@media (max-width:900px){
  .contact-page{ padding-top:40px; }
  .contact-page-grid{ grid-template-columns:1fr; gap:40px; }
}
@media (max-width:540px){
  .contact-card{ padding:4px 20px; }
  .contact-row{ grid-template-columns:1fr; gap:4px; }
}

/* ---------- Work page ---------- */
.work-page{ padding-top:64px; }
.work-title{ font-size:clamp(2.4rem, 5vw, 3.8rem); }
.work-intro{ color:var(--ink-soft); font-size:1.15rem; max-width:52ch; margin:18px 0 0; }
/* filters + view toggle stay pinned under the nav while scrolling the list */
.work-controls{
  position:sticky; top:72px; z-index:10;
  display:flex; justify-content:space-between; align-items:center; gap:12px 16px; flex-wrap:wrap;
  margin:-16px 0 40px; padding:12px 0;
  background:rgba(255,255,255,.94); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
.view-toggle{ display:inline-flex; gap:2px; padding:4px; border-radius:999px; background:var(--bg-soft); border:1.5px solid var(--line); }
.view-btn{
  display:inline-flex; align-items:center; gap:6px;
  font:inherit; font-size:.88rem; font-weight:600; color:var(--ink-soft);
  padding:7px 14px; border:0; border-radius:999px; background:transparent; cursor:pointer;
  transition:background .2s, color .2s;
}
.view-btn svg{ fill:currentColor; }
.view-btn:hover{ color:var(--ink); }
.view-btn.is-active{ background:#fff; color:var(--ink); box-shadow:0 1px 2px rgba(0,0,0,.08); }
@media (max-width:720px){
  .work-page{ padding-top:40px; }
  .work-controls{ position:static; margin-top:-8px; } /* wrapped filters would take too much screen if pinned */
  .view-toggle{ display:none; } /* phones always use the list view */
}

/* ---------- about ---------- */
.about-grid{ display:grid; grid-template-columns:1.4fr 1fr; gap:80px; align-items:start; }
.about-copy h2{ margin-bottom:28px; }
.about-copy > p:not(.eyebrow){ color:var(--ink-soft); max-width:62ch; }
.mini-head{ font-size:1rem; letter-spacing:.08em; text-transform:uppercase; margin:36px 0 14px; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:0; padding:0; }
.chips li{ padding:7px 14px; border:1.5px solid var(--line); border-radius:999px; font-size:.92rem; font-weight:600; }
.tools{ color:var(--ink-soft); font-size:.98rem; }

.timeline{ position:sticky; top:104px; background:var(--surface); border-radius:var(--radius); padding:8px 32px 32px; }
.timeline ol{ list-style:none; margin:0 0 28px; padding:0; }
.timeline li{ position:relative; padding:0 0 22px 22px; border-left:2px solid var(--line); display:flex; flex-direction:column; }
.timeline li:last-child{ padding-bottom:0; }
.timeline li::before{ content:""; position:absolute; left:-7px; top:6px; width:12px; height:12px; border-radius:50%; background:var(--accent); border:2px solid var(--surface); }
.tl-years{ font-size:.85rem; font-weight:700; color:var(--accent); }
.tl-role{ font-weight:700; }
.tl-org{ font-size:.92rem; color:var(--ink-soft); }
@media (max-width:900px){
  .about-grid{ grid-template-columns:1fr; gap:48px; }
  .timeline{ position:static; padding:8px 24px 28px; }
}

/* ---------- testimonials ---------- */
.quotes{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.quote{ margin:0; background:var(--surface); border-left:5px solid var(--accent); border-radius:0 var(--radius) var(--radius) 0; padding:28px; display:flex; flex-direction:column; justify-content:space-between; gap:20px; }
.quote p{ margin:0; font-weight:700; font-size:1.1rem; line-height:1.45; }
.quote footer{ font-size:.9rem; color:var(--ink-soft); line-height:1.4; }
.quote footer strong{ display:block; color:var(--ink); }
@media (max-width:900px){ .quotes{ grid-template-columns:1fr; } }

/* ---------- contact ---------- */
.contact{ background:var(--charcoal); color:#fff; padding:112px 0; text-align:center; position:relative; overflow:hidden; }
.contact::before{ content:""; position:absolute; left:0; right:0; top:0; height:6px; background:var(--accent); }
.contact-inner{ max-width:820px; }
.contact h2{ color:#fff; }
.contact h2 em{ display:block; } /* coral phrase on its own line(s), never sharing a line with the white */
.contact-sub{ color:rgba(255,255,255,.75); font-size:1.15rem; max-width:48ch; margin:20px auto 36px; }
.contact-actions{ display:flex; justify-content:center; flex-wrap:wrap; gap:12px; }
.contact .btn:not(.btn-ghost){ background:var(--accent); border-color:var(--accent); }
.contact .btn:not(.btn-ghost):hover{ background:#fff; border-color:#fff; color:var(--charcoal); }
@media (max-width:720px){ .contact{ padding:80px 0; } .contact-actions .btn{ width:100%; justify-content:center; } }

/* ---------- footer ---------- */
.site-footer{ background:#232325; color:rgba(255,255,255,.65); font-size:.9rem; }
.footer-row{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-top:22px; padding-bottom:22px; }
.site-footer a{ color:#fff; text-decoration:none; }
.footer-arrow{ margin:0 .2em; }
/* text for screen readers only (e.g. reads the footer arrow as "to") */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.site-footer a:hover{ color:var(--on-dark-soft); }

/* ---------- lightbox ---------- */
.lightbox{
  width:100vw; height:100vh; max-width:none; max-height:none; margin:0; padding:0; border:0;
  background:rgba(20,20,22,.94); color:#fff;
}
.lightbox[open]{ display:flex; align-items:center; justify-content:center; }
.lightbox::backdrop{ background:transparent; }
.lb-figure{ margin:0; max-width:min(1100px, 86vw); display:flex; flex-direction:column; align-items:center; gap:14px; }
.lb-img{ max-height:80vh; width:auto; border-radius:8px; }
.lb-caption{ text-align:center; font-size:.95rem; color:rgba(255,255,255,.85); }
.lb-caption strong{ color:#fff; }
.lb-caption a{ color:var(--on-dark-soft); }
.lb-close, .lb-nav{
  position:absolute; background:rgba(255,255,255,.1); color:#fff; border:0; cursor:pointer;
  width:48px; height:48px; border-radius:50%; font-size:1.8rem; line-height:1;
  display:flex; align-items:center; justify-content:center; transition:background .2s;
}
.lb-close:hover, .lb-nav:hover{ background:rgba(255,255,255,.22); }
.lb-nav[hidden]{ display:none; }
.lb-close{ top:20px; right:20px; }
.lb-prev{ left:20px; top:50%; transform:translateY(-50%); }
.lb-next{ right:20px; top:50%; transform:translateY(-50%); }
@media (max-width:720px){
  .lb-figure{ max-width:92vw; }
  .lb-prev, .lb-next{ top:auto; bottom:20px; transform:none; }
}
