/* =========================================================================
   Perry Dolmans — component styles (class-based translation of the design)
   ========================================================================= */

/* ---- Base ---- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--pd-black);
  color: var(--pd-white);
  font-family: var(--pd-font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--pd-orange); color: var(--pd-black); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
input, textarea { font-family: inherit; }

/* Accessibility: visible focus + skip link */
:focus-visible { outline: 2px solid var(--pd-orange); outline-offset: 2px; }
.pd-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--pd-orange); color: var(--pd-black);
  padding: 10px 16px; border-radius: 0 0 var(--pd-r-sm) 0;
  font-family: var(--pd-font-display); font-weight: 600;
}
.pd-skip:focus { left: 0; }
.pd-visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Layout helpers ---- */
.pd-wrap { max-width: var(--pd-maxw); margin: 0 auto; padding-left: var(--pd-gutter); padding-right: var(--pd-gutter); }
.pd-section { padding-top: var(--pd-secpad); padding-bottom: var(--pd-secpad); }
.pd-section--alt { border-top: 1px solid var(--pd-line); background: var(--pd-panel); }
.pd-eyebrow { font-family: var(--pd-font-mono); font-size: 12px; letter-spacing: .18em; color: var(--pd-orange); margin-bottom: 14px; }
.pd-mono { font-family: var(--pd-font-mono); }
.pd-h2 { font-family: var(--pd-font-display); font-weight: 600; font-size: var(--pd-h2); line-height: 1.05; margin: 0; color: var(--pd-white); }
.pd-lead { font-size: 17px; color: var(--pd-steel); max-width: 56ch; }

/* ---- Buttons ---- */
.pd-btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  font-family: var(--pd-font-display); font-weight: 600; font-size: 16px;
  padding: 15px 26px; border-radius: var(--pd-r); border: 1px solid transparent;
  transition: .2s; line-height: 1;
}
.pd-btn--primary { background: var(--pd-orange); color: var(--pd-black); border-color: var(--pd-orange); }
.pd-btn--primary:hover { background: var(--pd-orange-hi); transform: translateY(-2px); }
.pd-btn--ghost { background: transparent; color: var(--pd-white); border-color: #2c3338; font-weight: 500; }
.pd-btn--ghost:hover { border-color: #4a545b; background: #13171b; }
.pd-btn--sm { padding: 11px 18px; font-size: 12px; font-family: var(--pd-font-mono); letter-spacing: .1em; }

/* ---- Header / nav ---- */
.pd-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11,13,15,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pd-line);
}
.pd-header__bar { max-width: var(--pd-maxw); margin: 0 auto; padding: 0 var(--pd-gutter); height: var(--pd-header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pd-brand { display: flex; flex-direction: column; gap: 2px; background: none; border: 0; padding: 0; text-decoration: none; text-align: left; }
.pd-brand__name { font-family: var(--pd-font-display); font-weight: 600; font-size: 17px; letter-spacing: .14em; color: var(--pd-white); }
.pd-brand__role { font-family: var(--pd-font-mono); font-size: 9.5px; letter-spacing: .16em; color: var(--pd-steel); }
.pd-nav { display: flex; align-items: center; gap: 8px; }
.pd-nav a { text-decoration: none; }
.pd-nav__link { font-family: var(--pd-font-mono); font-size: 12.5px; letter-spacing: .12em; color: var(--pd-text); padding: 8px 12px; border-radius: var(--pd-r-sm); transition: .18s; background: none; border: 0; cursor: pointer; }
.pd-nav__link:hover, .pd-nav__link[aria-current="page"] { color: var(--pd-white); background: var(--pd-charcoal); }
.pd-nav__cta { margin-left: 10px; }
.pd-burger { display: none; background: var(--pd-charcoal); border: 1px solid var(--pd-graphite); cursor: pointer; width: 42px; height: 42px; border-radius: 9px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.pd-burger span { width: 16px; height: 1.6px; background: var(--pd-white); display: block; }
.pd-mobile-nav { display: none; border-top: 1px solid var(--pd-line); background: var(--pd-black); padding: 14px var(--pd-gutter) 22px; flex-direction: column; gap: 4px; }
.pd-mobile-nav.is-open { display: flex; }
.pd-mobile-nav a { text-align: left; font-family: var(--pd-font-mono); font-size: 15px; letter-spacing: .1em; color: var(--pd-white); padding: 12px 4px; text-decoration: none; }
.pd-mobile-nav .pd-btn { margin-top: 8px; text-align: center; }

@media (max-width: 879px) {
  .pd-nav--desktop { display: none; }
  .pd-burger { display: flex; }
}

/* ---- Hero ---- */
.pd-hero { display: flex; flex-wrap: wrap; gap: clamp(32px,5vw,64px); align-items: center; padding-top: clamp(40px,7vw,92px); padding-bottom: clamp(30px,5vw,64px); }
.pd-hero__copy { flex: 1 1 400px; min-width: 300px; }
.pd-hero__eyebrow { font-family: var(--pd-font-mono); font-size: 12.5px; letter-spacing: .2em; color: var(--pd-orange); margin-bottom: 26px; }
.pd-hero h1 { font-family: var(--pd-font-display); font-weight: 600; font-size: var(--pd-hero); line-height: 1; letter-spacing: -.022em; margin: 0 0 26px; }
.pd-hero h1 .dot { color: var(--pd-orange); }
.pd-hero__sub { font-family: var(--pd-font-display); font-weight: 400; font-size: var(--pd-body-l); line-height: 1.32; color: var(--pd-cream); margin: 0 0 22px; max-width: 30ch; }
.pd-hero__body { font-size: var(--pd-body); line-height: 1.66; color: var(--pd-steel); margin: 0 0 34px; max-width: 46ch; }
.pd-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.pd-hero__visual { flex: 1 1 340px; min-width: 280px; display: flex; justify-content: center; }
.pd-hero__media { width: 100%; max-width: 440px; border-radius: var(--pd-r-md); border: 1px solid var(--pd-graphite); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); }

/* ---- Build console (§16) ---- */
.pd-console { background: var(--pd-field); border: 1px solid var(--pd-graphite); border-radius: var(--pd-r-md); overflow: hidden; max-width: 760px; }
.pd-console__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--pd-line); }
.pd-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.pd-dot--r { background: var(--pd-red); } .pd-dot--a { background: var(--pd-amber); } .pd-dot--g { background: var(--pd-green); }
.pd-console__title { margin-left: 8px; font-family: var(--pd-font-mono); font-size: 11px; color: var(--pd-steel); }
.pd-console__body { padding: 20px clamp(16px,3vw,26px); font-family: var(--pd-font-mono); font-size: clamp(12px,1.4vw,14px); line-height: 1.9; }
.pd-console__head { color: var(--pd-steel); margin-bottom: 8px; }
.pd-console__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px solid #15191d; opacity: 0; animation: pdRowIn .3s ease forwards; }
.pd-console__row .name { color: var(--pd-white); letter-spacing: .04em; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-console__status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; letter-spacing: .1em; flex: 0 0 auto; }
.pd-console__ready { color: var(--pd-green); margin-top: 10px; }
.pd-caret { animation: pdBlink 1s steps(1) infinite; }
.pd-statuslight { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pdPulse 2.4s infinite; }

/* ---- Experience strip (§6.4) ---- */
.pd-strip__items { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; margin-bottom: 18px; }
.pd-strip__item { font-family: var(--pd-font-mono); font-size: 13px; letter-spacing: .1em; color: var(--pd-white); }
.pd-strip__item--ai { color: var(--pd-orange); }
.pd-strip__sep { color: #3a4248; }

/* ---- Section head ---- */
.pd-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px,4vw,44px); }
.pd-sechead h2 { font-family: var(--pd-font-display); font-weight: 600; font-size: var(--pd-h2); line-height: 1.04; margin: 0; max-width: 18ch; color: var(--pd-white); }

/* ---- Cards grid ---- */
.pd-grid { display: grid; gap: clamp(16px,2vw,24px); }
.pd-grid--projects { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.pd-grid--lab { grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.pd-grid--notes { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }

/* Status badge (§17 — text + dot, never colour only) */
.pd-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(11,13,15,.8); border: 1px solid var(--pd-graphite); border-radius: 16px; padding: 5px 10px; }
.pd-badge .dot { width: 6px; height: 6px; border-radius: 50%; }
.pd-badge .label { font-family: var(--pd-font-mono); font-size: 9px; letter-spacing: .08em; }

/* Project card */
.pd-card { background: var(--pd-charcoal); border: 1px solid var(--pd-graphite); border-radius: var(--pd-r-md); overflow: hidden; transition: .25s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.pd-card:hover { transform: translateY(-5px); border-color: #3a4248; }
.pd-card__media { aspect-ratio: 4/3; position: relative; background: repeating-linear-gradient(135deg,#14181c,#14181c 10px,#171c20 10px,#171c20 20px); border-bottom: 1px solid var(--pd-graphite); }
.pd-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pd-card__cat { position: absolute; left: 14px; top: 14px; font-family: var(--pd-font-mono); font-size: 10px; letter-spacing: .1em; color: var(--pd-steel); z-index: 2; }
.pd-card__badge { position: absolute; right: 14px; top: 14px; z-index: 2; }
.pd-card__body { padding: var(--pd-cardpad); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pd-card__body h3 { font-family: var(--pd-font-display); font-weight: 600; font-size: 23px; margin: 0; color: var(--pd-white); }
.pd-card__desc { font-size: 15.5px; line-height: 1.55; color: var(--pd-steel); margin: 0; flex: 1; }
.pd-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.pd-card__cta { font-family: var(--pd-font-mono); font-size: 11px; letter-spacing: .08em; color: var(--pd-orange); }
.pd-card__year { font-family: var(--pd-font-mono); font-size: 11px; color: var(--pd-muted); }

/* Lab card */
.pd-lab { background: var(--pd-charcoal); border: 1px solid var(--pd-graphite); border-radius: var(--pd-r); padding: var(--pd-cardpad); transition: .25s; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.pd-lab:hover { border-color: #3a4248; transform: translateY(-4px); }
.pd-lab__top { display: flex; align-items: center; justify-content: space-between; }
.pd-lab__n { font-family: var(--pd-font-mono); font-size: 11px; letter-spacing: .1em; color: var(--pd-orange); }
.pd-lab h3 { font-family: var(--pd-font-display); font-weight: 600; font-size: 18px; line-height: 1.25; margin: 0; color: var(--pd-white); }
.pd-lab__rule { height: 1px; background: var(--pd-graphite); }
.pd-lab__res { font-family: var(--pd-font-mono); font-size: 11px; letter-spacing: .06em; color: var(--pd-steel); }
.pd-lab__foot { display: flex; align-items: center; justify-content: space-between; }
.pd-lab__meta { font-family: var(--pd-font-mono); font-size: 10px; letter-spacing: .1em; color: var(--pd-muted); }

/* Note card */
.pd-note { border-top: 2px solid var(--pd-orange); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; transition: .2s; text-decoration: none; color: inherit; }
.pd-note:hover { opacity: .82; }
.pd-note__top { display: flex; align-items: center; justify-content: space-between; }
.pd-note__cat { font-family: var(--pd-font-mono); font-size: 10px; letter-spacing: .12em; color: var(--pd-amber); }
.pd-note__read { font-family: var(--pd-font-mono); font-size: 10px; color: var(--pd-muted); }
.pd-note h3 { font-family: var(--pd-font-display); font-weight: 600; font-size: 21px; line-height: 1.22; margin: 0; color: var(--pd-white); }
.pd-note__sum { font-size: 15px; line-height: 1.6; color: var(--pd-steel); margin: 0; }
.pd-note__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.pd-note__more { font-family: var(--pd-font-mono); font-size: 11px; color: var(--pd-orange); }

/* ---- Pillars (§6.6) ---- */
.pd-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1px; background: var(--pd-line); border: 1px solid var(--pd-line); border-radius: var(--pd-r-md); overflow: hidden; }
.pd-pillar { background: var(--pd-charcoal); padding: clamp(24px,3vw,34px); }
.pd-pillar__n { font-family: var(--pd-font-mono); font-size: 11px; letter-spacing: .14em; margin-bottom: 16px; }
.pd-pillar p { font-size: 15.5px; line-height: 1.6; color: var(--pd-text); margin: 0; }

/* ---- Featured case study (home) ---- */
.pd-feature { display: flex; flex-wrap: wrap; gap: clamp(36px,5vw,72px); align-items: center; }
.pd-feature__copy { flex: 1 1 380px; min-width: 300px; }
.pd-feature__copy h2 { font-family: var(--pd-font-display); font-weight: 600; font-size: clamp(28px,3.8vw,46px); line-height: 1.08; margin: 0 0 22px; color: var(--pd-white); }
.pd-feature__meta { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 30px; }
.pd-feature__meta dt { font-family: var(--pd-font-mono); font-size: 10px; letter-spacing: .12em; color: var(--pd-muted); margin-bottom: 6px; }
.pd-feature__meta dd { font-family: var(--pd-font-mono); font-size: 13px; margin: 0; color: var(--pd-text); }
.pd-feature__visual { flex: 1 1 320px; min-width: 280px; border-radius: var(--pd-r-md); overflow: hidden; border: 1px solid var(--pd-graphite); }

/* ---- CTA band (§6.11) ---- */
.pd-ctaband { background: var(--pd-charcoal); border: 1px solid var(--pd-graphite); border-radius: var(--pd-r-lg); padding: clamp(34px,5vw,64px); position: relative; overflow: hidden; }
.pd-ctaband::after { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,107,53,.13), transparent 70%); }
.pd-ctaband__inner { position: relative; max-width: 640px; }
.pd-ctaband h2 { font-family: var(--pd-font-display); font-weight: 600; font-size: clamp(28px,4vw,46px); line-height: 1.08; margin: 0 0 18px; color: var(--pd-white); }
.pd-ctaband p { font-size: 17px; line-height: 1.64; color: var(--pd-steel); margin: 0 0 30px; max-width: 48ch; }

/* ---- About preview (home) / About timeline ---- */
.pd-about-prev { display: flex; flex-wrap: wrap; gap: clamp(30px,5vw,72px); align-items: center; }
.pd-about-prev__copy { flex: 1 1 360px; min-width: 300px; }
.pd-about-prev__copy h2 { font-family: var(--pd-font-display); font-weight: 600; font-size: clamp(28px,3.8vw,46px); line-height: 1.08; margin: 0 0 22px; color: var(--pd-white); }
.pd-about-prev__list { flex: 1 1 280px; min-width: 260px; display: flex; flex-direction: column; gap: 10px; }
.pd-about-prev__row { display: flex; gap: 14px; align-items: baseline; }
.pd-about-prev__row .n { font-family: var(--pd-font-mono); font-size: 12px; color: var(--pd-orange); width: 26px; }
.pd-about-prev__row .l { font-family: var(--pd-font-mono); font-size: 13px; letter-spacing: .06em; color: var(--pd-text); }

/* Timeline (About page §12.4) */
.pd-timeline__item { display: flex; gap: clamp(18px,3vw,30px); }
.pd-timeline__rail { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; }
.pd-timeline__num { font-family: var(--pd-font-mono); font-size: 13px; color: var(--pd-orange); width: 30px; text-align: center; }
.pd-timeline__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--pd-orange); margin-top: 10px; }
.pd-timeline__dot--last { width: 13px; height: 13px; background: var(--pd-green); color: var(--pd-green); animation: pdPulse 2.4s infinite; }
.pd-timeline__line { flex: 1; width: 1px; background: var(--pd-graphite); margin-top: 8px; min-height: 24px; }
.pd-timeline__body { padding-bottom: clamp(28px,4vw,46px); max-width: 660px; }
.pd-timeline__body h3 { font-family: var(--pd-font-display); font-weight: 600; font-size: clamp(21px,2.4vw,28px); margin: 0 0 12px; color: var(--pd-white); }
.pd-timeline__body p { font-size: 16.5px; line-height: 1.7; color: var(--pd-text); margin: 0; }
.pd-pullquote { font-family: var(--pd-font-display); font-weight: 600; font-size: clamp(26px,4vw,48px); line-height: 1.18; letter-spacing: -.01em; margin: 0; color: var(--pd-white); }
.pd-pullquote .accent { color: var(--pd-orange); }

/* ---- Work archive: filters ---- */
.pd-filters { border-top: 1px solid var(--pd-line); border-bottom: 1px solid var(--pd-line); padding: 22px 0; display: flex; flex-direction: column; gap: 16px; }
.pd-filters__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pd-filters__label { font-family: var(--pd-font-mono); font-size: 11px; letter-spacing: .14em; color: var(--pd-muted); width: 54px; }
.pd-chip { cursor: pointer; font-family: var(--pd-font-mono); font-size: 11.5px; letter-spacing: .06em; padding: 8px 14px; border-radius: var(--pd-r-sm); transition: .18s; background: transparent; color: var(--pd-text); border: 1px solid #2c3338; display: inline-flex; align-items: center; gap: 7px; }
.pd-chip:hover { color: var(--pd-white); border-color: #4a545b; }
.pd-chip.is-active { background: var(--pd-orange); color: var(--pd-black); border-color: var(--pd-orange); }
.pd-chip .dot { width: 6px; height: 6px; border-radius: 50%; }
.pd-count { padding: 18px 0 4px; font-family: var(--pd-font-mono); font-size: 12px; letter-spacing: .08em; color: var(--pd-steel); }
.pd-noresults { padding: 70px 0; text-align: center; font-family: var(--pd-font-mono); font-size: 13px; color: var(--pd-steel); }
.pd-card.is-hidden, .pd-lab.is-hidden { display: none; }

/* ---- Case study / project single (§8) ---- */
.pd-cs { max-width: 1080px; margin: 0 auto; padding-left: var(--pd-gutter); padding-right: var(--pd-gutter); }
.pd-cs__back { background: none; border: 0; cursor: pointer; font-family: var(--pd-font-mono); font-size: 12px; letter-spacing: .08em; color: var(--pd-steel); padding: 0; transition: .18s; text-decoration: none; display: inline-block; }
.pd-cs__back:hover { color: var(--pd-orange); }
.pd-cs__title { font-family: var(--pd-font-display); font-weight: 700; font-size: clamp(52px,9vw,108px); line-height: .96; letter-spacing: -.02em; margin: 0 0 18px; color: var(--pd-white); }
.pd-cs__prop { font-family: var(--pd-font-display); font-weight: 400; font-size: clamp(19px,2.4vw,26px); line-height: 1.3; color: var(--pd-cream); margin: 0 0 34px; max-width: 34ch; }
.pd-cs__metabar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 1px; background: var(--pd-line); border: 1px solid var(--pd-line); border-radius: var(--pd-r-md); overflow: hidden; }
.pd-cs__metacell { background: var(--pd-panel); padding: 18px 20px; }
.pd-cs__metacell dt { font-family: var(--pd-font-mono); font-size: 10px; letter-spacing: .12em; color: var(--pd-muted); margin-bottom: 8px; }
.pd-cs__metacell dd { margin: 0; font-size: 14px; color: var(--pd-text); line-height: 1.4; }
.pd-cs__hero { aspect-ratio: 16/9; border-radius: var(--pd-r-md); overflow: hidden; border: 1px solid var(--pd-graphite); }
.pd-cs__hero img { width: 100%; height: 100%; object-fit: cover; }
.pd-cs__intro { max-width: var(--pd-readw); margin: 0 auto; }
.pd-cs__intro p { font-family: var(--pd-font-display); font-weight: 400; font-size: clamp(20px,2.4vw,27px); line-height: 1.45; color: var(--pd-paper); margin: 0; }
.pd-cs__steps { max-width: 920px; margin: 0 auto; }
.pd-cs__step { display: flex; gap: clamp(20px,4vw,56px); flex-wrap: wrap; padding: clamp(24px,3vw,34px) 0; border-top: 1px solid var(--pd-line); }
.pd-cs__step .num { font-family: var(--pd-font-mono); font-size: 13px; letter-spacing: .1em; color: var(--pd-orange); flex: 0 0 50px; padding-top: 7px; }
.pd-cs__step .body { flex: 1 1 460px; min-width: 260px; max-width: 680px; }
.pd-cs__step h3 { font-family: var(--pd-font-display); font-weight: 600; font-size: var(--pd-h3); margin: 0 0 14px; color: var(--pd-white); }
.pd-cs__step p { font-size: 17px; line-height: 1.72; color: var(--pd-text); margin: 0; }
.pd-cs__statuscards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 16px; }
.pd-statuscard { background: var(--pd-charcoal); border: 1px solid var(--pd-graphite); border-radius: var(--pd-r-md); padding: clamp(22px,3vw,30px); }
.pd-statuscard__h { font-family: var(--pd-font-mono); font-size: 11px; letter-spacing: .12em; margin-bottom: 12px; }
.pd-statuscard p { font-size: 16px; line-height: 1.6; color: var(--pd-text); margin: 0; }
.pd-cs__video { margin: 0; }
.pd-cs__video video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border-radius: var(--pd-r-md); border: 1px solid var(--pd-graphite); background: var(--pd-charcoal); }
.pd-cs__videocap { margin: 12px 0 0; text-align: center; font-family: var(--pd-font-mono); font-size: 11px; letter-spacing: .06em; color: var(--pd-muted); }
.pd-cs__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 14px; }
.pd-cs__shot { aspect-ratio: 9/16; border-radius: var(--pd-r); overflow: hidden; border: 1px solid var(--pd-graphite); background: repeating-linear-gradient(135deg,#14181c,#14181c 9px,#171c20 9px,#171c20 18px); display: flex; align-items: flex-end; padding: 12px; }
.pd-cs__shot img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Article (Notes single, §11) ---- */
.pd-article { max-width: var(--pd-readw); margin: 0 auto; padding-left: var(--pd-gutter); padding-right: var(--pd-gutter); }
.pd-article__head { padding: clamp(40px,6vw,80px) 0 clamp(20px,3vw,34px); }
.pd-article__title { font-family: var(--pd-font-display); font-weight: 600; font-size: var(--pd-h1); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 22px; color: var(--pd-white); }
.pd-article__meta { display: flex; flex-wrap: wrap; gap: 16px; font-family: var(--pd-font-mono); font-size: 11px; letter-spacing: .08em; color: var(--pd-muted); }
.pd-article__body { font-size: 18px; line-height: 1.75; color: var(--pd-text); }
.pd-article__body h2 { font-family: var(--pd-font-display); font-weight: 600; font-size: var(--pd-h3); color: var(--pd-white); margin: 2em 0 .6em; }
.pd-article__body h3 { font-family: var(--pd-font-display); font-weight: 600; font-size: 22px; color: var(--pd-white); margin: 1.6em 0 .5em; }
.pd-article__body a { color: var(--pd-orange); text-underline-offset: 3px; }
.pd-article__body img { border-radius: var(--pd-r-md); border: 1px solid var(--pd-graphite); margin: 1.4em 0; }
.pd-article__body blockquote { border-left: 3px solid var(--pd-orange); margin: 1.4em 0; padding: 4px 0 4px 22px; color: var(--pd-cream); font-family: var(--pd-font-display); }
.pd-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--pd-orange); z-index: 80; transition: width .1s linear; }

/* ---- Contact form (§13) ---- */
.pd-contact { display: flex; flex-wrap: wrap; gap: clamp(36px,5vw,72px); }
.pd-contact__intro { flex: 1 1 340px; min-width: 280px; }
.pd-contact__intro h1 { font-family: var(--pd-font-display); font-weight: 600; font-size: clamp(32px,4.6vw,56px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 22px; color: var(--pd-white); }
.pd-contact__line { display: inline-flex; align-items: center; gap: 10px; font-family: var(--pd-font-mono); font-size: 13px; color: var(--pd-text); }
.pd-contact__line .sym { color: var(--pd-orange); }
.pd-form { flex: 1 1 420px; min-width: 300px; background: var(--pd-charcoal); border: 1px solid var(--pd-graphite); border-radius: var(--pd-r-lg); padding: clamp(24px,3vw,36px); display: flex; flex-direction: column; gap: 22px; }
.pd-form__legend { display: block; font-family: var(--pd-font-mono); font-size: 11px; letter-spacing: .12em; color: var(--pd-steel); margin-bottom: 12px; }
.pd-form__reasons { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-form__row { display: flex; gap: 14px; flex-wrap: wrap; }
.pd-form__field { flex: 1 1 160px; }
.pd-form__field label { display: block; font-size: 13px; color: var(--pd-text); margin-bottom: 7px; }
.pd-form__field .opt { color: var(--pd-muted); }
.pd-form__field .req { color: var(--pd-orange); }
.pd-form input, .pd-form textarea { width: 100%; background: var(--pd-field); border: 1px solid var(--pd-graphite); border-radius: 9px; padding: 12px 14px; color: var(--pd-white); font-size: 15px; outline: none; transition: .18s; }
.pd-form textarea { resize: vertical; line-height: 1.5; }
.pd-form input:focus, .pd-form textarea:focus { border-color: var(--pd-orange); }
.pd-form__note { font-family: var(--pd-font-mono); font-size: 10.5px; color: var(--pd-muted); margin: 0; text-align: center; }
.pd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pd-form__error { background: rgba(209,92,74,.12); border: 1px solid var(--pd-red); color: #f0b5ab; border-radius: 9px; padding: 10px 14px; font-size: 14px; }
.pd-confirm { max-width: 560px; margin: 0 auto; text-align: center; padding: clamp(30px,6vw,70px) 0; }
.pd-confirm__check { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--pd-green); display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; font-size: 28px; color: var(--pd-green); }
.pd-confirm h1 { font-family: var(--pd-font-display); font-weight: 600; font-size: clamp(28px,4vw,42px); line-height: 1.1; margin: 0 0 18px; color: var(--pd-white); }
.pd-confirm p { font-size: 18px; line-height: 1.6; color: var(--pd-steel); margin: 0 0 34px; }

/* ---- 404 / search ---- */
.pd-empty { text-align: center; padding: clamp(60px,10vw,140px) 0; }
.pd-empty h1 { font-family: var(--pd-font-display); font-weight: 700; font-size: clamp(60px,12vw,140px); margin: 0; color: var(--pd-white); }

/* ---- Footer ---- */
.pd-footer { border-top: 1px solid var(--pd-line); background: var(--pd-panel); }
.pd-footer__inner { max-width: var(--pd-maxw); margin: 0 auto; padding: clamp(44px,5vw,72px) var(--pd-gutter) 40px; }
.pd-footer__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.pd-footer__brand { max-width: 320px; }
.pd-footer__brand .name { font-family: var(--pd-font-display); font-weight: 600; font-size: 18px; letter-spacing: .12em; color: var(--pd-white); margin-bottom: 12px; }
.pd-footer__brand p { font-size: 14px; line-height: 1.6; color: var(--pd-steel); margin: 0 0 18px; }
.pd-footer__cols { display: flex; gap: 60px; flex-wrap: wrap; }
.pd-footer__col { display: flex; flex-direction: column; gap: 12px; max-width: 220px; }
.pd-footer__col .h { font-family: var(--pd-font-mono); font-size: 10px; letter-spacing: .14em; color: var(--pd-muted); margin-bottom: 2px; }
.pd-footer__col a { font-size: 14px; color: var(--pd-text); text-decoration: none; transition: .18s; }
.pd-footer__col a:hover { color: var(--pd-orange); }
.pd-footer__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--pd-font-mono); font-size: 11px; color: var(--pd-steel); }
.pd-footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--pd-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--pd-font-mono); font-size: 11px; color: var(--pd-muted); }

/* Reveal-on-load helper */
.pd-reveal { animation: pdReveal .6s ease both; }
