/* ============================================================
   Corral Communications — base system (theme-agnostic)
   Tokens are defined per direction in themes.css via [data-theme]
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 600);
  letter-spacing: var(--display-spacing, -0.01em);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

/* ---------- layout ---------- */
.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.wrap--narrow { width: min(880px, 92vw); margin-inline: auto; }
.sec { padding: clamp(64px, 9vw, 132px) 0; }
.sec--tight { padding: clamp(48px, 6vw, 84px) 0; }
.sec--tint { background: var(--bg-2); }
.sec--dark {
  background: var(--dark-bg);
  color: var(--dark-ink);
  --ink: var(--dark-ink);
  --ink-2: var(--dark-ink-2);
  --line: var(--dark-line);
}
.sec--accent {
  background: var(--accent);
  color: var(--accent-ink);
  --ink: var(--accent-ink);
  --ink-2: var(--accent-ink-2);
  --line: color-mix(in oklab, var(--accent-ink) 22%, transparent);
}

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong, var(--accent));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .6;
}
.sec--dark .eyebrow, .sec--accent .eyebrow { color: var(--accent-on-dark, var(--accent)); }
.sec--accent .eyebrow { color: var(--accent-ink); }

.display {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  letter-spacing: var(--display-spacing, -0.02em);
  text-transform: var(--display-transform, none);
}
.h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); text-transform: var(--display-transform, none); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 42ch;
}
.muted { color: var(--ink-2); }
.measure { max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  --bh: 54px;
  display: inline-flex; align-items: center; gap: 10px;
  height: var(--bh); padding: 0 26px;
  border-radius: var(--radius-btn, 8px);
  font-family: var(--font-body);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--btn-shadow, none);
}
.btn--primary:hover { background: var(--accent-strong, var(--accent)); transform: translateY(-2px); box-shadow: var(--btn-shadow-hover, var(--btn-shadow, none)); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong, var(--line));
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.sec--dark .btn--ghost, .sec--accent .btn--ghost { color: var(--ink); border-color: color-mix(in oklab, var(--ink) 35%, transparent); }
.btn--lg { --bh: 60px; padding: 0 32px; font-size: 16px; }
.btn--sm { --bh: 44px; padding: 0 18px; font-size: 14px; }
.btn .ar { transition: transform .2s ease; }
.btn:hover .ar { transform: translateX(3px); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.site-head__in {
  display: flex; align-items: center; gap: 28px;
  height: 88px;
}
.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand__mark { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.brand__mark i {
  width: 5px; background: var(--accent); border-radius: 1.5px;
  display: block;
}
.brand__mark i:nth-child(1) { height: 38%; opacity: .55; }
.brand__mark i:nth-child(2) { height: 64%; opacity: .75; }
.brand__mark i:nth-child(3) { height: 100%; }
.brand__mark i:nth-child(4) { height: 78%; background: var(--ink); opacity: .85; }
.brand__txt { line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
  display: block; color: var(--ink);
  text-transform: var(--brand-transform, none);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-2); display: block; margin-top: 4px;
}
.brand__logo { height: 64px; width: auto; display: block; }
.site-foot .brand__logo { height: 60px; margin-bottom: 4px; }
@media (max-width: 720px) { .brand__logo { height: 50px; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px; border-radius: 7px; font-size: 15px; font-weight: 500;
  color: var(--ink-2); transition: color .18s, background .18s;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); background: var(--bg-2); }
.head-cta { display: flex; align-items: center; gap: 18px; }
.head-phone {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
  color: var(--ink);
}
.head-phone svg { width: 15px; height: 15px; opacity: .6; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: transparent; border-radius: 8px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle i { width: 18px; height: 2px; background: var(--ink); transition: .25s; }
.nav-toggle.is-open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open i:nth-child(2) { opacity: 0; }
.nav-toggle.is-open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px);
}
.hero__title { margin: 0 0 26px; }
.hero__title .accentword { color: var(--accent-strong, var(--accent)); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.hero__meta div { line-height: 1.2; }
.hero__meta b {
  font-family: var(--font-display); font-size: 30px; font-weight: 700;
  display: block; color: var(--ink); letter-spacing: -0.02em;
}
.hero__meta span { font-size: 13px; color: var(--ink-2); }
.hero__media { position: relative; }
.hero__media image-slot { width: 100%; height: clamp(360px, 46vw, 560px); }
.hero__badge {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 13px;
  box-shadow: var(--shadow);
  max-width: 240px;
}
.hero__badge .seal {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.hero__badge b { font-size: 14px; display: block; color: var(--ink); }
.hero__badge span { font-size: 12px; color: var(--ink-2); }

/* ---------- trust band ---------- */
.band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.band__cell { background: var(--bg); padding: 32px 30px; }
.sec--dark .band { background: var(--dark-line); border-color: var(--dark-line); }
.sec--dark .band__cell { background: var(--dark-bg); }
.band__cell b {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.9rem); display: block; color: var(--ink);
  letter-spacing: -0.02em;
}
.band__cell span { font-size: 14px; color: var(--ink-2); margin-top: 6px; display: block; }

/* ---------- section heading ---------- */
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head p { margin-top: 20px; }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; max-width: none; }
.sec-head--split > div:first-child { max-width: 640px; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc {
  position: relative;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px 36px 34px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.sec--tint .svc { background: var(--bg); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong, var(--line)); }
.svc__num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--accent-strong, var(--accent));
}
.svc__icon {
  width: 50px; height: 50px; border-radius: var(--radius-btn, 8px);
  display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-strong, var(--accent));
  margin-bottom: 4px;
}
.svc__icon svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.42rem; }
.svc p { color: var(--ink-2); font-size: 15.5px; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 6px; }
.svc__tags span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em;
  padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-2);
}
.svc__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  font-size: 14px; font-weight: 600; color: var(--accent-strong, var(--accent));
}
.svc__link .ar { transition: transform .2s; }
.svc:hover .svc__link .ar { transform: translateX(4px); }

/* ---------- feature / certify split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split--rev .split__media { order: -1; }
.split__media image-slot { width: 100%; height: clamp(340px, 40vw, 480px); }
.feat-list { display: flex; flex-direction: column; gap: 2px; margin-top: 32px; }
.feat-list li {
  list-style: none; display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.feat-list li:last-child { border-bottom: 1px solid var(--line); }
.feat-list .tick {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent-strong, var(--accent));
  display: grid; place-items: center; margin-top: 2px;
}
.feat-list .tick svg { width: 13px; height: 13px; }
.feat-list b { display: block; font-size: 16px; margin-bottom: 3px; color: var(--ink); }
.feat-list span { font-size: 14.5px; color: var(--ink-2); }
ul.feat-list { padding: 0; margin-block: 32px 0; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 0 28px 0 0; }
.step__n {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em;
  color: var(--accent-on-dark, var(--accent)); margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.step__n::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 30px; background: var(--bg);
  display: flex; flex-direction: column; gap: 14px; min-height: 150px;
  transition: border-color .2s, transform .2s;
}
.ind:hover { transform: translateY(-3px); border-color: var(--line-strong, var(--line)); }
.ind svg { width: 26px; height: 26px; color: var(--accent-strong, var(--accent)); }
.ind b { font-size: 17px; color: var(--ink); }
.ind span { font-size: 14px; color: var(--ink-2); margin-top: -6px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery image-slot { width: 100%; height: 100%; }
.gallery > div { border-radius: var(--radius); overflow: hidden; }
.g-tall { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }
.g-wide { grid-column: span 2; aspect-ratio: 16/10; }
.g-sq { grid-column: span 2; aspect-ratio: 4/3; }

/* ---------- logos / certs ---------- */
.logo-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.logo-chip {
  flex: 1 1 150px; min-height: 76px;
  border: 1px solid var(--line); border-radius: var(--radius-btn, 8px);
  display: grid; place-items: center; padding: 18px;
  background: var(--bg);
  font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.02em;
  color: var(--ink-2);
}
.sec--dark .logo-chip { background: transparent; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; background: var(--bg); display: flex; gap: 18px; align-items: flex-start;
}
.cert__badge {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--radius-btn, 8px);
  background: var(--accent-tint); color: var(--accent-strong, var(--accent));
  display: grid; place-items: center;
}
.cert__badge svg { width: 26px; height: 26px; }
.cert b { display: block; font-size: 16px; margin-bottom: 5px; color: var(--ink); }
.cert span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- testimonial ---------- */
.quote { max-width: 940px; margin-inline: auto; text-align: center; }
.quote blockquote {
  font-family: var(--font-display); font-weight: var(--quote-weight, 500);
  font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1.32; margin: 0 0 32px;
  letter-spacing: -0.01em; font-style: var(--quote-style, normal);
}
.quote__mark { font-family: var(--font-display); font-size: 64px; line-height: 0; color: var(--accent); opacity: .5; }
.quote__mark--close { line-height: 1; margin: 10px 0 22px; }
.quote blockquote + .quote__mark--close { margin-top: 22px; }
.quote__by { display: flex; align-items: center; justify-content: center; gap: 14px; }
.quote__by .ava { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; }
.quote__by .ava image-slot { width: 46px; height: 46px; }
.quote__by b { font-size: 19px; color: var(--ink); }
.quote__by span { font-size: 13px; color: var(--ink-2); display: block; }

/* ---------- CTA ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 22px; }
.cta-band .hero__cta { justify-content: center; }

/* ---------- footer ---------- */
.site-foot { background: var(--foot-bg); color: var(--foot-ink); padding: 76px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-foot .brand__name, .site-foot .brand__mark i:nth-child(4) { color: var(--foot-ink); }
.site-foot p { color: var(--foot-ink-2); font-size: 14.5px; margin-top: 18px; max-width: 30ch; }
.foot-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--foot-ink-2); margin-bottom: 18px; font-weight: 500; }
.foot-col a, .foot-col p { display: block; color: var(--foot-ink-2); font-size: 14.5px; margin: 0 0 11px; transition: color .18s; max-width: none; }
.foot-col a:hover { color: var(--foot-ink); }
.foot-contact b { color: var(--foot-ink); font-family: var(--font-mono); font-size: 17px; display: block; margin-bottom: 4px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--foot-line);
  font-size: 13px; color: var(--foot-ink-2); flex-wrap: wrap;
}
.foot-bottom a { color: var(--foot-ink-2); }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 76px); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.field label .req { color: var(--accent-strong, var(--accent)); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px;
  padding: 14px 16px; border: 1px solid var(--line-strong, var(--line));
  border-radius: var(--radius-btn, 8px); background: var(--bg); color: var(--ink);
  transition: border-color .18s, box-shadow .18s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.contact-aside { display: flex; flex-direction: column; gap: 28px; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  background: var(--bg-2);
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: 18px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 0; padding-top: 0; }
.contact-line svg { width: 20px; height: 20px; color: var(--accent-strong, var(--accent)); flex-shrink: 0; margin-top: 2px; }
.contact-line b { display: block; font-size: 15px; color: var(--ink); }
.contact-line span, .contact-line a { font-size: 14px; color: var(--ink-2); }
.form-success {
  display: none; padding: 22px 24px; border-radius: var(--radius);
  background: var(--accent-tint); border: 1px solid var(--accent);
  color: var(--ink); font-size: 15px; margin-bottom: 22px;
}
.form-success.show { display: block; }

/* ---------- page hero (inner) ---------- */
.page-hero { padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 80px); }
.page-hero .display { max-width: 16ch; }
.page-hero .lead { margin-top: 26px; max-width: 56ch; }
.breadcrumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 26px; }
.breadcrumb a { color: var(--accent-strong, var(--accent)); }

/* ---------- about ---------- */
.founder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.founder image-slot { width: 100%; height: clamp(380px, 46vw, 560px); }
.founder__body p + p { margin-top: 20px; }
.founder__sign { margin-top: 28px; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--ink); }
.timeline { display: flex; flex-direction: column; }
.tl { display: grid; grid-template-columns: 160px 1fr; gap: 34px; padding: 30px 0; border-top: 1px solid var(--line); }
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl__year { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--accent-strong, var(--accent)); letter-spacing: -0.02em; }
.tl h3 { font-size: 1.3rem; margin-bottom: 8px; }
.tl p { color: var(--ink-2); font-size: 15px; max-width: 60ch; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.value svg { width: 30px; height: 30px; color: var(--accent-strong, var(--accent)); margin-bottom: 18px; }
.value h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value p { font-size: 15px; color: var(--ink-2); }

/* ---------- services page detail ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 76px); align-items: center; padding: clamp(48px, 6vw, 90px) 0; border-top: 1px solid var(--line); }
.svc-detail:first-of-type { border-top: 0; }
.svc-detail--rev .svc-detail__media { order: -1; }
.svc-detail__media image-slot { width: 100%; height: clamp(320px, 38vw, 460px); }
.svc-detail__num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; color: var(--accent-strong, var(--accent)); margin-bottom: 18px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; margin: 26px 0 0; padding: 0; }
.spec-list li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.spec-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex-shrink: 0; }

/* ---------- credibility bar (under nav) ---------- */
.cred-bar { background: var(--brand); color: #fff; }
.cred-bar .wrap { text-align: center; padding: 11px 16px; }
.cred-bar span {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .03em;
  white-space: nowrap; opacity: .94;
}
.cred-bar span:not(:first-child)::before {
  content: "·"; margin: 0 8px 0 14px; color: var(--accent-on-dark); opacity: .9;
}
@media (max-width: 720px) {
  .cred-bar span { font-size: 11px; }
  .cred-bar span:not(:first-child)::before { margin: 0 6px 0 10px; }
}

/* ---------- trust pills (hero) ---------- */
.trust-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-pills span {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em;
  color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; background: var(--bg);
}
.trust-pills span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ---------- gallery captions (named projects) ---------- */
.gallery > div { position: relative; }
.g-cap {
  position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
  padding: 34px 16px 14px; display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(0deg, rgba(7,16,36,.84), rgba(7,16,36,.25) 60%, transparent);
  border-radius: 0 0 var(--radius) var(--radius);
}
.g-cap b { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.25; }
.g-cap i { color: rgba(255,255,255,.72); font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; }

/* ---------- reveal ----------
   Content is ALWAYS fully visible — no opacity/transform hiding that
   could leave essential content stuck if an animation clock stalls.
   The .reveal / .in classes are retained as harmless hooks. */
.reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero__grid, .split, .founder, .contact-grid, .svc-detail, .sec-head--split { grid-template-columns: 1fr; }
  .split--rev .split__media, .svc-detail--rev .svc-detail__media { order: 0; }
  .svc-grid, .ind-grid, .cert-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .band { grid-template-columns: 1fr 1fr; }
  .hero__media { order: -1; }
  .sec-head--split { align-items: flex-start; }
}
@media (max-width: 720px) {
  .nav, .head-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; position: absolute; top: 88px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 14px 6vw 22px;
  }
  .nav.is-open a { padding: 14px 12px; font-size: 17px; }
  .svc-grid, .ind-grid, .cert-grid, .value-grid, .band { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g-tall { grid-row: span 1; }
  .tl { grid-template-columns: 1fr; gap: 10px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
