/* Self-hosted fonts (SIL OFL 1.1; licenses in assets/fonts/). Latin subset only. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/manrope-variable.woff2") format("woff2"); }
/* Kannon Korp — IT services site. Light theme only (per Brand Standards v1.0). */
:root {
  --bg: #ffffff;
  --bg-tint: #f7f4ee;          /* warm ivory for alternating sections */
  --text: #23252a;             /* charcoal body text: ~15:1 on white, ~14:1 on ivory */
  --text-muted: #4a4a4a;       /* secondary text: 8.9:1 on white */
  --gold-text: #7a5c1e;        /* gold for text and links: 6.2:1 on white, 5.8:1 on tint */
  --gold-strong: #5e4614;      /* hover / pressed */
  --gold-line: #c9a96e;        /* rules, borders, accents only (not text) */
  --gold-wash: #f4ebdd;        /* badge and highlight backgrounds */
  --dark: #17191c;             /* the one dark section + footer */
  --on-dark: #e9e4da;          /* ivory text on dark: ~14:1 */
  --on-dark-muted: #b9b3a8;    /* secondary text on dark: ~8:1 */
  --champagne: #c9a96e;        /* champagne on dark: ~7.9:1; decoration only on light */
  --border: #e6e0d6;
  --focus: #1a4fd6;            /* focus ring: 6.9:1 on white */
  --todo-bg: #fff3b0;
  --todo-text: #3d2f00;
  --draft-bg: #8a1c1c;

  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 8px;
  --shadow: 0 1px 2px rgba(23, 25, 28, 0.04);
  --container: 75rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-pad: clamp(3.5rem, 8vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -0.015em; }
h1 em { font-style: italic; color: var(--gold-text); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.15; max-width: 24ch; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }

a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--gold-strong); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow > * { max-width: 46rem; }

.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--text); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--text); min-height: 44px; }
.brand img { width: auto; height: 40px; }
.wordmark {
  font-family: var(--font-serif);
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0.16em;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}
.wordmark { white-space: nowrap; }
.brand:hover .wordmark { color: var(--gold-strong); }
@media (max-width: 24rem) {
  .brand { gap: 0.45rem; }
  .brand img { height: 34px; }
  .wordmark { font-size: 1.05rem; letter-spacing: 0.1em; }
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem;
  color: var(--text); text-decoration: none; font-size: 0.98rem; border-radius: 6px;
}
.site-nav a:hover { color: var(--gold-text); }
.site-nav a[aria-current="page"] { color: var(--gold-text); box-shadow: inset 0 -2px 0 var(--gold-line); }
.site-nav .btn { margin-left: 0.5rem; color: #fff; }
.site-nav .btn[aria-current="page"] { box-shadow: none; color: #fff; }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0 0.9rem;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--text-muted); border-radius: var(--radius);
  font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

@media (max-width: 60rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.5rem var(--gutter) 1rem; gap: 0; }
  .site-nav a { width: 100%; padding: 0 0.25rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold-line); padding-left: 0.75rem; }
  .site-nav .btn { margin: 0.75rem 0 0; justify-content: center; border-radius: var(--radius); }
  /* with JS off, show the menu inline so it is never unreachable */
  .no-js .site-nav { display: block; position: static; box-shadow: none; }
  .no-js .nav-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.4rem;
  background: var(--text); color: #fff;
  border: 2px solid var(--text); border-radius: var(--radius);
  font-weight: 600; text-decoration: none; line-height: 1.2; text-align: center;
}
.btn:hover { background: var(--gold-strong); border-color: var(--gold-strong); color: #fff; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--text); }
.btn-secondary:hover { background: var(--gold-wash); border-color: var(--gold-strong); color: var(--text); }
.btn-small { min-height: 44px; padding: 0.45rem 1rem; }
.btn-block { display: flex; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.link-arrow { font-weight: 600; }
.link-arrow::after { content: " \2192"; }

/* ---------- Sections ---------- */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%); }
.hero h1 { max-width: 22ch; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
/* White art background blends into the tinted hero; the radial mask fades the image edges so no box shows. */
.hero-art {
  width: 100%; max-width: 40rem; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
}
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .hero-art { margin-right: -1rem; }
}
@media (max-width: 59.99rem) {
  .hero-art { max-width: 30rem; margin: 0 auto; }
}
.eyebrow, .card-kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 0.75rem;
}
.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 42rem; }
.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; border-bottom: 1px solid var(--border); background: var(--bg-tint); }
.page-head h1 { margin-bottom: 0.4em; }
.page-head-art { padding-bottom: 2rem; }
.page-head-art .hero-art { max-width: 34rem; }
.section { padding: var(--section-pad) 0; }
.section-tint { background: var(--bg-tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band { text-align: center; }
.cta-band .cta-row { justify-content: center; }
.note, .small { font-size: 0.95rem; color: var(--text-muted); }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow);
}
.card > :last-child { margin-bottom: 0; }
.path-card { border-top: 3px solid var(--gold-line); }
.price { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 600; line-height: 1.1; margin-bottom: 0.4rem; }
.price-unit { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.price-from { font-size: 1.05rem; }

.packages { align-items: start; margin-bottom: 2.5rem; }
.package { display: flex; flex-direction: column; }
.package-featured { border: 2px solid var(--gold-text); position: relative; }
.badge {
  display: inline-block; align-self: flex-start;
  background: var(--gold-wash); color: var(--gold-strong);
  border: 1px solid var(--gold-line); border-radius: 999px;
  padding: 0.2rem 0.75rem; font-size: 0.85rem; font-weight: 700;
}
.package-for { color: var(--text-muted); font-size: 0.98rem; }

.check-list { list-style: none; padding-left: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.45rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.55em;
  width: 0.55rem; height: 0.3rem;
  border-left: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text);
  transform: rotate(-45deg);
}

.badge-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge-list li {
  border: 1px solid var(--gold-line); background: var(--bg); border-radius: 999px;
  padding: 0.3rem 0.9rem; font-weight: 600; font-size: 0.95rem;
}

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.steps li { counter-increment: step; position: relative; padding-top: 3.1rem; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gold-text); color: var(--gold-text);
  font-family: var(--font-serif); font-weight: 600;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.steps p { color: var(--text-muted); font-size: 0.98rem; margin: 0; }

.founder { display: grid; gap: 2rem; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); align-items: start; }
@media (max-width: 40rem) { .founder { grid-template-columns: 1fr; } }
.photo-placeholder {
  display: grid; place-items: center; text-align: center;
  min-height: 14rem; padding: 1rem;
  border: 2px dashed var(--gold-line); border-radius: var(--radius); background: var(--bg);
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
table { width: 100%; border-collapse: collapse; min-width: 34rem; }
caption { text-align: left; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; padding: 1rem 1rem 0.5rem; }
th, td { text-align: left; vertical-align: top; padding: 0.75rem 1rem; border-top: 1px solid var(--border); }
thead th { background: var(--gold-wash); border-top: 0; }
thead td { background: var(--gold-wash); }
tbody th { font-weight: 600; }

/* ---------- FAQ, callouts ---------- */
.faq-item { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.faq-item h2, .faq-item h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.faq-item p { margin: 0; }
.callout { border-left: 4px solid var(--gold-text); background: var(--gold-wash); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 1.5rem; }
.callout h2 { font-size: 1.2rem; }
.callout p { margin: 0; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }

/* ---------- Draft markers ---------- */
mark.todo {
  background: var(--todo-bg); color: var(--todo-text);
  border: 1px dashed #8a6d00; border-radius: 4px; padding: 0.05rem 0.35rem;
  font-family: var(--font-sans); font-size: 0.9em; font-weight: 600;
}
.draft-banner { background: var(--draft-bg); color: #fff; text-align: center; padding: 0.75rem var(--gutter); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #1c1c1c; color: #e9e4da; padding: 3rem 0 2.5rem; margin-top: 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.site-footer p { margin: 0 0 0.35rem; font-size: 0.95rem; }
.footer-brand { font-family: var(--font-serif); font-variant: small-caps; text-transform: lowercase; letter-spacing: 0.14em; font-size: 1.15rem !important; color: #e3c995; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-links a { color: #e9e4da; display: inline-flex; min-height: 44px; align-items: center; }
.footer-links a:hover { color: #e3c995; }
.site-footer :focus-visible { outline-color: #8fb0ff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .skip-link { display: none; }
}

/* ================= v2 design layer (2026-10-10, per Perplexity premium-design research) ================= */

/* Numbered section labels: 01 / Services */
.section-label {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 1rem;
}
.section-num { font-variant-numeric: tabular-nums; }
.section-num::after { content: ""; display: inline-block; width: 2rem; height: 1px; background: var(--gold-line); vertical-align: middle; margin-left: 0.6rem; }

.lead-sm { font-size: 1.1rem; color: var(--text-muted); }
.icon { color: var(--gold-text); display: block; margin-bottom: 1rem; }

/* Gold primary button: charcoal text on champagne (~7.9:1) */
.btn-gold { background: var(--champagne); border-color: var(--champagne); color: var(--dark); }
.btn-gold:hover { background: #b8955a; border-color: #b8955a; color: var(--dark); }

/* Arrow links nudge on hover */
.link-arrow::after { display: inline-block; transition: transform 180ms ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Open, ruled two-column service layout (replaces cards on the home page) */
.split { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--border); margin-top: 2rem; }
.split-item { padding: 2rem 0; border-bottom: 1px solid var(--border); }
.split-item h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.split-price { font-size: 1.1rem; margin-top: 1.25rem; }
.split-price strong { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }
.split-price .sep { color: var(--gold-text); margin: 0 0.4rem; }
@media (min-width: 52rem) {
  .split { grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
  .split-item { padding: 2.5rem 3rem 2.5rem 0; border-bottom: 0; }
  .split-item + .split-item { padding: 2.5rem 0 2.5rem 3rem; border-left: 1px solid var(--border); }
}

/* Cards: thin warm border, barely-there shadow */
.card { box-shadow: var(--shadow); }
.path-card { border-top: 1px solid var(--border); }
.check-list li.includes { padding-left: 0; font-weight: 600; color: var(--text); }
.check-list li.includes::before { display: none; }

/* The one dark section */
.section-dark {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--on-dark);
}
.section-dark::before {
  /* large, faint KK watermark */
  content: ""; position: absolute; right: -10rem; top: 50%; transform: translateY(-50%);
  width: 34rem; height: 32rem; background: url("../img/logo-mark.png") center / contain no-repeat;
  opacity: 0.045; pointer-events: none;
}
.section-dark .container { position: relative; }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark p { color: var(--on-dark-muted); }
.section-dark .section-label { color: var(--champagne); }
.section-dark .steps li::before { border-color: var(--champagne); color: var(--champagne); }
.section-dark .steps p { color: var(--on-dark-muted); }
.section-dark .icon { color: var(--champagne); }
.section-dark a { color: var(--champagne); }
.section-dark a:hover { color: #e3c995; }
.section-dark :focus-visible { outline-color: #8fb0ff; }
.steps { margin-top: 2.5rem; }
.dark-promise {
  display: flex; gap: 1.25rem; align-items: flex-start;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(201, 169, 110, 0.35); max-width: 46rem;
}
.dark-promise .icon { margin: 0.2rem 0 0; flex: none; }
.dark-promise h3 { font-size: 1.3rem; }

/* Ruled price row (replaces price cards on the home page) */
.price-row { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 2rem 0 1.5rem; }
.price-cell { padding: 1.5rem 0; }
.price-cell + .price-cell { border-top: 1px solid var(--border); }
.price-cell .price { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.price-cell > :last-child { margin-bottom: 0; }
@media (min-width: 52rem) {
  .price-row { grid-template-columns: repeat(3, 1fr); }
  .price-cell { padding: 2rem 2rem 2rem 0; }
  .price-cell + .price-cell { border-top: 0; border-left: 1px solid var(--border); padding-left: 2rem; }
}

/* Closing call to action */
.cta-mark { display: block; width: 56px; height: auto; margin: 0 auto 1.25rem; }
.cta-band h2 { margin-left: auto; margin-right: auto; }

.site-footer { background: var(--dark); }
.badge-list li { background: transparent; }

/* ================= Typography layer: Instrument Serif (display) + Manrope (text) ================= */
body { font-synthesis: none; }
h1, h2 { font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 5.6vw, 5rem); line-height: 1.04; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1.08; }
h3 { font-family: var(--font-sans); font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.split-item h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.3rem); letter-spacing: 0; }
.price, .split-price strong { font-weight: 400; }
.price { font-size: 2.4rem; }
.site-nav a { font-weight: 500; }
.btn { font-weight: 650; }
.wordmark, .footer-brand { font-variant: normal; text-transform: uppercase; font-weight: 400; }
.wordmark { font-size: 1.2rem; letter-spacing: 0.2em; }
.footer-brand { font-size: 1.05rem !important; letter-spacing: 0.2em; }
caption { font-weight: 400; font-size: 1.45rem; }
@media (max-width: 24rem) { .wordmark { font-size: 1rem; letter-spacing: 0.14em; } }
/* Owner photo: 4:5 portrait with a thin offset champagne frame */
.founder-photo, .about-photo { position: relative; align-self: start; height: max-content; }
.owner-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); position: relative; z-index: 1;
}
.founder-photo::after, .about-photo::after {
  content: ""; position: absolute; inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  border: 1px solid var(--gold-line); border-radius: var(--radius); z-index: 0;
}
.founder-photo { max-width: 14rem; }
.about-photo { max-width: 26rem; justify-self: center; }
@media (max-width: 40rem) { .founder-photo { max-width: 16rem; } }

/* ================= Contracting layer (2026-10-10) ================= */
.capstat { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.capstat-col > .section-label:not(:first-child) { margin-top: 2.25rem; }
@media (min-width: 60rem) { .capstat { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }
table.kv { min-width: 0; }
table.kv th { width: 42%; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; }
table.kv tr:first-child th, table.kv tr:first-child td { border-top: 0; }
.engage-row h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 0.3rem; }
.section-dark .check-list li::before { border-color: var(--champagne); }
.section-dark .check-list li { color: var(--on-dark); margin-bottom: 0.8rem; }
.section-dark mark.todo { color: var(--todo-text); }
.avail-list { max-width: 50rem; margin-top: 2rem; }

.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }

/* CompTIA certification logos: white background only, clear space, >= 5/8 inch wide (CompTIA rules) */
.cert-logos { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 1.75rem; }
.cert-logos li { background: #ffffff; padding: 0.5rem; }
.cert-logos img { display: block; width: 104px; height: auto; }

/* Résumé: skills grid and job history */
.skills-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 0.4rem 1.25rem; }
.skills-grid li { position: relative; padding-left: 1rem; }
.skills-grid li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-text); }
.job { padding: 1.25rem 0; border-top: 1px solid var(--border); }
.job:first-of-type { border-top: 0; padding-top: 0.25rem; }
.job h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.job-sub { font-weight: 500; color: var(--text-muted); font-size: 0.95rem; }
.job-meta { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.6rem; }
.job ul { margin-bottom: 0; }
.job li { margin-bottom: 0.3rem; }

/* long email addresses and URLs may wrap on narrow phones */
a[href^="mailto:"], table.kv td { overflow-wrap: anywhere; }

.capstat > * { min-width: 0; }
