/* Di-Hy site polish, 2026-11-15 (DESIGN-PASS-2026-11B).
   Shared by static pages and blog pages. Every rule is scoped by class (dh-, sp-, or an existing component class). */
:root {
  --dh-ink: #0D0D0D; --dh-slate: #2A2D35; --dh-cream: #F5F4F0; --dh-soft: #EDECE8; --dh-mist: #D6D3CC;
  --dh-charcoal: #1C1C1C; --dh-gold: #C8902A; --dh-gold-h: #A8761F; --dh-gold-text: #8A5E10;
  --dh-font-h: 'Playfair Display', Georgia, serif; --dh-font-b: 'Inter', system-ui, sans-serif;
  --dh-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dh-radius-btn: 4px; --dh-radius-card: 8px;
  --dh-btn-h: 48px; --dh-btn-h-hero: 52px; --dh-btn-h-nav: 44px;
}

/* ---------- Type ---------- */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.section-label, .eyebrow, .footer-col h4, .step-tag, .scroll-label, .nav-group, .team-role { font-size: max(0.75rem, 12px); }
.footer-col h4 { font-size: 0.75rem; }
.step-tag, .scroll-label { font-size: 0.75rem; }
.nav-dropdown-menu .nav-group { font-size: 0.75rem; }
/* gold text on light sections: darker gold so it reads */
.sp-cream .section-label, .sp-cream .team-link, .sp-cream .team-role, .sp-cream .impl-go, .sp-cream .card-link { color: var(--dh-gold-text); }
.sp-cream .team-link:hover { color: var(--dh-ink); }

/* dark sections: body at least 17px on desktop, contrast 4.5:1 or better */
.sp-dark :is(.stat-label, .step-desc, .svc-desc, .impl-desc, .team-intro) { color: var(--dh-mist); opacity: 1; }
.sp-dark .stat-source, .sp-dark .stat-source a { color: var(--dh-mist); opacity: 0.85; }
.footer-brand p, .footer-col a { opacity: 0.8; }
.footer-copy, .footer-logo { opacity: 0.7; }
@media (min-width: 900px) {
  .sp-dark :is(p, li):not(.stat-source):not(.cta-sub):not(.hero-loc):not(.dh-label-line),
  .sp-dark :is(.stat-label, .step-desc, .svc-desc, .impl-desc, .team-intro) { font-size: 1.0625rem; line-height: 1.7; }
  .sp-dark .stat-source { font-size: 0.8125rem; }
  .hero-sub, .hero p { font-size: max(1.0625rem, 17px); }
}

/* ---------- Focus ---------- */
:where(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid var(--dh-gold); outline-offset: 3px; }
.sp-cream :where(a, button):focus-visible, .cta-bar :where(a, button):focus-visible, .cta-band :where(a, button):focus-visible { outline-color: var(--dh-ink); }

/* ---------- Buttons ---------- */
/* primary (gold): .btn-gold .tbtn .btn-submit .nav-cta. secondary outline: .btn-ghost (on dark) .btn-gold-outline .tbtn-alt (on light). dark: .btn-ink */
.btn-gold, .btn-ghost, .btn-gold-outline, .btn-ink, .tbtn, .tbtn-alt, .btn-submit, .dh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--dh-btn-h); padding: 0 32px; border-radius: var(--dh-radius-btn);
  font-family: var(--dh-font-b); font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.01em;
  text-decoration: none; text-align: center; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--dh-ease);
}
.btn-gold, .tbtn, .btn-submit, .dh-btn--gold { background: var(--dh-gold); color: var(--dh-ink); border-color: var(--dh-gold); }
.btn-gold:hover, .tbtn:hover, .btn-submit:hover, .dh-btn--gold:hover { background: var(--dh-gold-h); border-color: var(--dh-gold-h); color: var(--dh-ink); }
.btn-ink, .dh-btn--ink { background: var(--dh-ink); color: var(--dh-soft); border-color: var(--dh-ink); }
.btn-ink:hover, .dh-btn--ink:hover { background: var(--dh-slate); border-color: var(--dh-slate); color: var(--dh-soft); }
.btn-ghost, .dh-btn--ghost { background: transparent; color: var(--dh-mist); border-color: rgba(214,211,204,0.45); }
.btn-ghost:hover, .dh-btn--ghost:hover { border-color: var(--dh-gold); color: var(--dh-gold); background: transparent; }
.btn-gold-outline, .tbtn-alt, .dh-btn--outline { background: transparent; color: var(--dh-charcoal); border-color: var(--dh-gold); margin-top: 0; }
.btn-gold-outline:hover, .tbtn-alt:hover, .dh-btn--outline:hover { background: var(--dh-gold); color: var(--dh-ink); border-color: var(--dh-gold); }
.tbtn-alt { border-color: var(--dh-charcoal); }
.tbtn[disabled], .btn-submit[disabled] { opacity: 0.6; cursor: default; }
.btn-gold-outline { margin-top: 8px; }
.nav-cta { display: inline-flex; align-items: center; min-height: var(--dh-btn-h-nav); padding: 0 24px !important; border-radius: var(--dh-radius-btn) !important; }
.hero .btn-gold, .hero .btn-ghost, .hero .tbtn, .hero .hero-cta a { min-height: var(--dh-btn-h-hero); padding: 0 36px; }
.btn-arrow { display: inline-block; transition: transform 0.2s var(--dh-ease); }
:is(.btn-gold, .btn-ghost, .btn-gold-outline, .btn-ink, .tbtn, .dh-btn):hover .btn-arrow { transform: translateX(4px); }
.cta-bar .btn-ink:hover { background: var(--dh-slate); }
@media (max-width: 760px) {
  .btn-gold, .btn-ghost, .btn-gold-outline, .btn-ink, .tbtn, .tbtn-alt, .btn-submit, .dh-btn { min-height: 48px; padding-left: 24px; padding-right: 24px; }
  .hero .btn-gold, .hero .btn-ghost { min-height: 52px; }
  .nav-cta { min-height: 48px; }
  .hero-actions .btn-gold, .hero-actions .btn-ghost { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .btn-arrow { transition: none; } :is(.btn-gold, .btn-ghost, .btn-gold-outline, .btn-ink, .tbtn, .dh-btn):hover .btn-arrow { transform: none; } }

/* ---------- Hero (home) ---------- */
@media (min-width: 900px) { .hero-content { max-width: min(860px, 56vw); } .hero h1 { font-size: clamp(3rem, 5.2vw, 5rem); margin-bottom: 28px; } .hero { padding-top: 120px; padding-bottom: 130px; } .hero-sub { margin-bottom: 40px; } }
.hero-rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 12px 20px; border: 1px solid rgba(200,144,42,0.45); border-radius: 999px; background: rgba(13,13,13,0.45);
  color: var(--dh-soft); text-decoration: none; font-size: 1rem; font-weight: 600; min-height: 48px; transition: border-color 0.2s, background-color 0.2s; opacity: 0; animation: fadeUp 0.9s var(--dh-ease) 0.9s forwards; }
.hero-rating:hover { border-color: var(--dh-gold); background: rgba(200,144,42,0.12); }
.hero-rating .dh-stars { color: var(--dh-gold); letter-spacing: 0.12em; font-size: 1.0625rem; }
.hero-loc { margin-top: 18px; font-size: 1rem; line-height: 1.6; color: var(--dh-mist); max-width: 520px; opacity: 0; animation: fadeUp 0.9s var(--dh-ease) 1s forwards; }
@media (prefers-reduced-motion: reduce) { .hero-rating, .hero-loc { animation: none; opacity: 1; } }
@media (max-width: 600px) { .hero-rating { font-size: 0.9375rem; padding: 12px 16px; flex-wrap: wrap; } }

/* ---------- Texture and section boundaries ---------- */
.sp-sec { position: relative; isolation: isolate; }
.sp-sec::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sp-cream::before {
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48'%3E%3Cg fill='none' stroke='%231C1C1C' stroke-width='1.4'%3E%3Cpath d='M0 0.7H96M0 24.7H96M0.7 0V24M48.7 0V24M24.7 24V48M72.7 24V48'/%3E%3C/g%3E%3C/svg%3E");
}
.sp-dark::before {
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1.1' fill='%23EDECE8'/%3E%3C/svg%3E");
}
.sp-rule { position: absolute; top: 0; left: max(24px, calc((100% - 1200px) / 2)); width: min(1200px, calc(100% - 48px)); height: 7px; margin-top: -3px; pointer-events: none; z-index: 2; }
.sp-rule::before { content: ''; position: absolute; left: 3px; right: 0; top: 3px; height: 1px; background: linear-gradient(90deg, var(--dh-gold), rgba(200,144,42,0)); transform-origin: left; }
.sp-rule i { position: absolute; left: 0; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--dh-gold); }
html.sp-js .sp-rule::before { transform: scaleX(0); transition: transform 1.3s var(--dh-ease); }
html.sp-js .sp-rule i { transform: scale(0); transition: transform 0.4s var(--dh-ease); }
html.sp-js .sp-rule.sp-in::before { transform: scaleX(1); }
html.sp-js .sp-rule.sp-in i { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { html.sp-js .sp-rule::before, html.sp-js .sp-rule i { transition: none; } }

/* ---------- Founder band ---------- */
.founder-band { background: var(--dh-cream); padding: 120px 56px; color: var(--dh-charcoal); }
.founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; }
.founder-photo { position: relative; margin: 0; max-width: 420px; justify-self: center; width: 100%; }
.founder-photo::after { content: ''; position: absolute; inset: 0; transform: translate(14px, 14px); border: 1px solid var(--dh-gold); border-radius: 12px; z-index: 0; pointer-events: none; }
.founder-photo picture { position: relative; z-index: 1; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--dh-slate); box-shadow: 0 18px 44px rgba(13,13,13,0.18); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.founder-note .section-label { display: block; margin-bottom: 18px; }
.founder-note h2 { font-family: var(--dh-font-h); font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 24px; color: var(--dh-charcoal); }
.founder-note h2 em { font-style: italic; color: var(--dh-gold-text); }
.founder-note p { font-size: 1.0625rem; line-height: 1.75; color: #3d3d3d; margin-bottom: 18px; max-width: 640px; }
.founder-sign { font-family: var(--dh-font-h); font-style: italic; font-size: 1.125rem !important; color: var(--dh-charcoal) !important; margin-top: 8px; }
.founder-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@media (max-width: 900px) {
  .founder-band { padding: 80px 24px; }
  .founder-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .founder-photo { max-width: 360px; }
  .founder-photo::after { transform: translate(10px, 10px); }
  .founder-actions .dh-btn { width: 100%; }
}

/* ---------- Reviews strip ---------- */
.reviews-band { background: var(--dh-soft); padding: 110px 56px; color: var(--dh-charcoal); }
.reviews-band .section-label { display: block; margin-bottom: 18px; }
.reviews-band h2 { font-family: var(--dh-font-h); font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 48px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.review-card { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--dh-mist); border-radius: var(--dh-radius-card); padding: 32px 28px 28px; background: rgba(245,244,240,0.7); position: relative; overflow: hidden; }
.review-card .dh-stars { color: var(--dh-gold); letter-spacing: 0.14em; font-size: 1.125rem; margin-bottom: 18px; }
.review-card blockquote { margin: 0 0 22px; font-family: var(--dh-font-h); font-size: 1.1875rem; line-height: 1.55; color: var(--dh-charcoal); }
.review-card figcaption { margin-top: auto; font-size: 0.9375rem; font-weight: 600; color: var(--dh-charcoal); }
.review-card .review-src { display: block; margin-top: 4px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #5c5c5c; }
.reviews-more { margin-top: 36px; }
.reviews-more a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 600; font-size: 1rem; color: var(--dh-gold-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(138,94,16,0.4); }
.reviews-more a:hover { color: var(--dh-ink); text-decoration-color: var(--dh-gold); }
@media (max-width: 900px) { .reviews-band { padding: 80px 24px; } .reviews-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Team avatar photo ---------- */
.team-avatar { width: 72px; height: 72px; }
.team-avatar--photo { padding: 0; overflow: hidden; background: var(--dh-slate); border: 2px solid var(--dh-gold); }
.team-avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }

/* ---------- Who we work with ---------- */
.wwo-section { background: var(--dh-ink); padding: 110px 56px; color: var(--dh-soft); }
.wwo-section .section-label { display: block; margin-bottom: 18px; }
.wwo-section h2 { font-family: var(--dh-font-h); font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--dh-soft); margin-bottom: 16px; }
.wwo-sub { font-size: 1.0625rem; line-height: 1.7; color: var(--dh-mist); max-width: 640px; margin-bottom: 40px; }
.wwo-pills { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.wwo-pills a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid rgba(214,211,204,0.3); border-radius: 999px; color: var(--dh-soft); text-decoration: none; font-size: 1rem; font-weight: 500; transition: border-color 0.2s, color 0.2s, background-color 0.2s, transform 0.2s var(--dh-ease); }
.wwo-pills a:hover { border-color: var(--dh-gold); color: var(--dh-gold); background: rgba(200,144,42,0.08); transform: translateY(-2px); }
.wwo-end { margin-top: 36px; font-size: 1.0625rem; color: var(--dh-mist); }
.wwo-end a { color: var(--dh-gold); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 900px) { .wwo-section { padding: 80px 24px; } }

/* ---------- Home: dead space, steps, icons, cards ---------- */
@media (min-width: 1100px) {
  .gap-section .section-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .gap-head { position: sticky; top: 120px; }
  .gap-section .gap-body { max-width: none; }
}
.gap-head .section-h2 { margin-bottom: 0 !important; }
.gap-head .section-label { margin-bottom: 18px; }
.impl-card .dh-icon, .dh-icon { display: block; width: 20px; height: 20px; margin-bottom: 14px; color: var(--dh-gold); }
.impl-card .impl-name { margin-bottom: 8px; }

@media (min-width: 961px) {
  .process-grid { position: relative; }
  .process-step { position: relative; }
  .process-step::before { content: ''; position: absolute; top: 20px; left: 32px; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--dh-gold); z-index: 2; }
  .process-grid::before { content: ''; position: absolute; top: 20px; left: 32px; right: 32px; height: 1px; background: linear-gradient(90deg, var(--dh-gold), rgba(200,144,42,0.25)); transform-origin: left; z-index: 1; }
  html.sp-js .process-grid::before { transform: scaleX(0); transition: transform 1.6s var(--dh-ease); }
  html.sp-js .process-grid.sp-in::before { transform: scaleX(1); }
  html.sp-js .process-step::before { transform: scale(0); transition: transform 0.4s var(--dh-ease); }
  html.sp-js .process-grid.sp-in .process-step::before { transform: scale(1); }
  html.sp-js .process-grid.sp-in .process-step:nth-child(2)::before { transition-delay: 0.45s; }
  html.sp-js .process-grid.sp-in .process-step:nth-child(3)::before { transition-delay: 0.9s; }
  html.sp-js .process-grid.sp-in .process-step:nth-child(4)::before { transition-delay: 1.35s; }
}
@media (max-width: 600px) {
  .process-grid { position: relative; padding-left: 20px; }
  .process-grid::before { content: ''; position: absolute; left: 4px; top: 28px; bottom: 28px; width: 1px; background: linear-gradient(180deg, var(--dh-gold), rgba(200,144,42,0.2)); transform-origin: top; }
  .process-step { position: relative; padding-left: 16px !important; }
  .process-step::before { content: ''; position: absolute; left: -20px; top: 32px; width: 9px; height: 9px; border-radius: 50%; background: var(--dh-gold); }
  html.sp-js .process-grid::before { transform: scaleY(0); transition: transform 1.6s var(--dh-ease); }
  html.sp-js .process-grid.sp-in::before { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) { html.sp-js .process-grid::before, html.sp-js .process-step::before { transition: none !important; } }

/* card lift and spotlight */
.sp-lift { background-image: radial-gradient(260px circle at var(--mx, -400px) var(--my, -400px), rgba(200,144,42,0.12), rgba(200,144,42,0) 70%); }
.sp-lift.sp-lift:hover { transform: translateY(-3px); background-image: radial-gradient(260px circle at var(--mx, -400px) var(--my, -400px), rgba(200,144,42,0.14), rgba(200,144,42,0) 70%); }
.sp-lift { transition: transform 0.25s var(--dh-ease), border-color 0.25s var(--dh-ease), box-shadow 0.25s var(--dh-ease), background-color 0.25s var(--dh-ease), opacity 0.7s var(--dh-ease); }
.sp-lift.sp-settled { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .sp-lift.sp-lift:hover { transform: none; } }

/* ---------- /tampa/ industry grid ---------- */
.tp-grid.tp-4, .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .tp-grid.tp-4 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; } .tp-grid.tp-4 .way-card { padding: 32px 24px; } .tp-grid.tp-4 .way-card h3 { font-size: 1.2rem; } }
@media (max-width: 640px) { .tp-grid.tp-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Location panel ---------- */
.loc-panel { background: var(--dh-soft); padding: 100px 56px; color: var(--dh-charcoal); }
.loc-panel .loc-inner { max-width: 1200px; margin: 0 auto; }
.loc-panel h2 { font-family: var(--dh-font-h); font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; }
.loc-panel .loc-sub { font-size: 1.0625rem; line-height: 1.7; color: #3d3d3d; max-width: 560px; margin-bottom: 36px; }
.loc-list { list-style: none; columns: 4; column-gap: 40px; }
.loc-list li { break-inside: avoid; padding: 9px 0 9px 22px; position: relative; font-size: 1rem; color: var(--dh-charcoal); border-bottom: 1px solid rgba(28,28,28,0.1); }
.loc-list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--dh-gold); }
@media (max-width: 960px) { .loc-list { columns: 2; } .loc-panel { padding: 72px 24px; } }
@media (max-width: 420px) { .loc-list { columns: 1; } }

/* ---------- Generic ---------- */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* about page founder photo */
.founder-avatar--photo { padding: 0; overflow: hidden; border: 2px solid var(--dh-gold); background: var(--dh-slate); }
.founder-avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.founder-role-sm, .f-role { font-size: 0.75rem; }

/* guards found in the audit */
.sp-dark p.impl-note, .sp-dark p.impl-note a { font-size: 1.0625rem !important; }
.wwo-pills a { font-size: 1.0625rem; }
.cta-bar p, .cta-band p, .cta-bar .cta-sub, .cta-band .cta-sub { color: var(--dh-ink); }
.cta-bar .cta-sub a, .cta-band .cta-sub a { color: var(--dh-ink); }
