/* =========================================================
   Defensible — cyber practice section
   Scoped dark-navy theme. Cream on ink with sharp signal red.
   All rules nested under .defensible-page so this never leaks
   into the rest of Planetiware.
   ========================================================= */
.defensible-page {
  --d-ink:        #081445;
  --d-ink-2:      #0d1a52;
  --d-ink-3:      #12215f;
  --d-line:       #1a2865;
  --d-line-2:     #2a3a7d;

  --d-paper:      #ece8dc;
  --d-paper-2:    #f6f3e9;
  --d-paper-mute: #b8b8c8;
  --d-paper-dim:  #7878a0;

  --d-signal:     #d4a44b;
  --d-signal-2:   #e0b566;

  --d-serif: "EB Garamond", "Times New Roman", Georgia, serif;
  --d-serif-active: var(--d-serif);

  background: var(--d-ink);
  color: var(--d-paper);
}

/* Type ----------------------------------------------------- */
.defensible-page h1,
.defensible-page h2,
.defensible-page h3,
.defensible-page .d-serif {
  font-family: var(--d-serif-active);
  font-weight: 500;
  color: var(--d-paper-2);
  letter-spacing: -0.02em;
  margin: 0;
}
.defensible-page h1 {
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.defensible-page h1 em {
  font-style: italic;
  color: var(--d-signal);
}
.defensible-page h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
}
.defensible-page h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
}
.defensible-page p { color: var(--d-paper); margin: 0; }
.defensible-page p + p { margin-top: 14px; }
.defensible-page .lede {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--d-paper-mute);
  max-width: 620px;
}

/* Eyebrow — re-skin to defensible palette ------------------ */
.defensible-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--d-signal);
  background: transparent;
  padding: 0;
}
.defensible-page .eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--d-signal);
}
.defensible-page .eyebrow.muted { color: var(--d-paper-dim); }
.defensible-page .eyebrow.muted::before { background: var(--d-paper-dim); }

/* Section spacing ----------------------------------------- */
.defensible-page section { padding: clamp(72px, 9vw, 120px) 0; }
.defensible-page section.d-short { padding: clamp(56px, 6vw, 80px) 0; }

/* Wrap ---------------------------------------------------- */
.defensible-page .wrap-tight { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* Buttons ------------------------------------------------- */
.defensible-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s ease;
  background: transparent;
  color: var(--d-paper-2);
  box-shadow: none;
}
.defensible-page .btn-primary {
  background: var(--d-signal);
  color: white;
  border-color: var(--d-signal);
}
.defensible-page .btn-primary:hover {
  background: var(--d-signal-2);
  border-color: var(--d-signal-2);
}
.defensible-page .btn-ghost {
  border-color: var(--d-line-2);
  color: var(--d-paper-2);
  background: transparent;
}
.defensible-page .btn-ghost:hover { border-color: var(--d-paper-mute); background: transparent; }
.defensible-page .d-arrow {
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  line-height: 1;
}

/* Practice header / hero ---------------------------------- */
.d-hero {
  padding-top: 96px;
  padding-bottom: clamp(72px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.d-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 78% 0%, rgba(212, 164, 75, 0.08), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(212, 164, 75, 0.04), transparent 50%);
  pointer-events: none;
}
.d-hero .wrap { position: relative; }
.d-hero-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--d-line);
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.d-hero-logo img {
  height: 72px;
  width: auto;
  display: block;
}
.d-hero-logo .practice {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--d-paper-dim);
  padding-left: 20px;
  border-left: 1px solid var(--d-line-2);
  max-width: 26ch;
  line-height: 1.5;
}

/* Hero badge — Gold cert ----------------------------------- */
.d-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  padding: 10px 16px 10px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--d-line-2);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
  cursor: pointer;
}
.d-cert-badge:hover {
  border-color: rgba(214, 174, 92, 0.6);
  background: rgba(214, 174, 92, 0.05);
}
.d-cert-badge img {
  height: 56px !important;
  width: auto;
  display: block;
}
.d-cert-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}
.d-cert-text strong {
  font-family: var(--d-serif-active);
  font-size: 18px;
  font-weight: 400;
  color: var(--d-paper-2);
  letter-spacing: -0.005em;
}
.d-cert-text span {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-paper-dim);
}
@media (max-width: 900px) {
  .d-cert-badge { margin-left: 0; }
}

/* Self-certification block (SMB1001 section right-hand) ---- */
.d-self-cert {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 24px;
  background: var(--d-ink-2);
  border: 1px solid var(--d-line-2);
  border-radius: 6px;
}
.d-self-cert img {
  width: 84px;
  height: auto;
  display: block;
}
.d-self-cert .k {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d6ae5c;
  margin-bottom: 8px;
}
.d-self-cert p {
  font-size: 14px;
  color: var(--d-paper-mute);
  line-height: 1.55;
  margin: 0;
}
.d-self-cert a:has(img) { display: block; cursor: pointer; }
.d-self-cert a:has(img):hover img { opacity: 0.85; }
.d-self-cert .d-cert-link {
  display: inline-block;
  margin-top: 12px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d6ae5c;
  border-bottom: 1px solid rgba(214, 174, 92, 0.4);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.d-self-cert .d-cert-link:hover {
  color: #e8c376;
  border-bottom-color: #e8c376;
}
.d-hero-sub {
  margin-top: 32px;
  max-width: 640px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--d-paper-mute);
}
.d-hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.d-hero-meta {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--d-line);
}
@media (max-width: 720px) { .d-hero-meta { grid-template-columns: 1fr; } }
.d-hero-meta-cell {
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--d-line);
}
.d-hero-meta-cell:last-child { border-right: 0; }
@media (max-width: 720px) {
  .d-hero-meta-cell { border-right: 0; border-bottom: 1px solid var(--d-line); padding: 24px 0; }
  .d-hero-meta-cell:last-child { border-bottom: 0; }
}
.d-hero-meta-cell .k {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-paper-dim);
  margin-bottom: 8px;
}
.d-hero-meta-cell .v {
  font-family: var(--d-serif-active);
  font-size: 26px;
  line-height: 1.15;
  color: var(--d-paper-2);
}

/* Section head -------------------------------------------- */
.defensible-page .d-section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--d-line);
}
@media (max-width: 800px) {
  .defensible-page .d-section-head { grid-template-columns: 1fr; gap: 24px; }
}
.defensible-page .d-section-head h2 { max-width: 16ch; }
.defensible-page .d-section-head .lede { max-width: 100%; }

/* Stance grid --------------------------------------------- */
.d-stance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--d-line);
  border-left: 1px solid var(--d-line);
}
@media (max-width: 800px) { .d-stance { grid-template-columns: 1fr; } }
.d-stance-cell {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--d-line);
  border-bottom: 1px solid var(--d-line);
  background: var(--d-ink-2);
}
.d-stance-cell .n {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--d-signal);
  margin-bottom: 20px;
  display: block;
}
.d-stance-cell h3 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--d-paper-2);
}
.d-stance-cell p { color: var(--d-paper-mute); font-size: 14.5px; }

/* Service rows -------------------------------------------- */
.d-svc-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--d-line);
}
.d-svc-row {
  display: grid;
  grid-template-columns: 64px 1fr 1fr auto;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--d-line);
  align-items: start;
  cursor: pointer;
  transition: background .2s ease;
}
.d-svc-row:hover { background: rgba(255,255,255,0.015); }
.d-svc-row .num {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: var(--d-paper-dim);
  letter-spacing: 0.08em;
  padding-top: 8px;
}
.d-svc-row .title {
  font-family: var(--d-serif-active);
  font-size: 32px;
  color: var(--d-paper-2);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.d-svc-row .desc {
  color: var(--d-paper-mute);
  font-size: 15px;
  line-height: 1.55;
  max-width: 50ch;
}
.d-svc-row .more {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-paper-mute);
  padding-top: 12px;
  white-space: nowrap;
}
.d-svc-row:hover .more { color: var(--d-signal); }
@media (max-width: 900px) {
  .d-svc-row { grid-template-columns: 40px 1fr; gap: 18px; }
  .d-svc-row .title { font-size: 24px; }
  .d-svc-row .desc, .d-svc-row .more { grid-column: 2; }
}

/* SMB1001 tier grid --------------------------------------- */
.d-tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--d-line);
  border-radius: 6px;
  overflow: hidden;
}
@media (max-width: 900px) { .d-tiers { grid-template-columns: 1fr; } }
.d-tier {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--d-line);
  background: var(--d-ink-2);
  position: relative;
}
.d-tier:last-child { border-right: 0; }
@media (max-width: 900px) {
  .d-tier { border-right: 0; border-bottom: 1px solid var(--d-line); }
  .d-tier:last-child { border-bottom: 0; }
}
.d-tier .n {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--d-paper-dim);
  margin-bottom: 14px;
}
.d-tier h4 {
  font-family: var(--d-serif-active);
  font-size: 22px;
  font-weight: 400;
  color: var(--d-paper-2);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.d-tier .sub {
  font-size: 13px;
  color: var(--d-paper-mute);
  line-height: 1.5;
}
.d-tier.signature { background: var(--d-ink-3); }
.d-tier.signature::before {
  content: "OUR FOCUS";
  position: absolute;
  top: 12px; right: 12px;
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--d-signal);
}

/* Timeline (process) -------------------------------------- */
.d-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--d-line);
  border-left: 1px solid var(--d-line);
}
@media (max-width: 900px) { .d-timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .d-timeline { grid-template-columns: 1fr; } }
.d-timeline-cell {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--d-line);
  border-bottom: 1px solid var(--d-line);
  background: var(--d-ink-2);
}
.d-timeline-cell .week {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--d-signal);
  margin-bottom: 20px;
}
.d-timeline-cell h4 {
  font-family: var(--d-serif-active);
  font-size: 22px;
  font-weight: 400;
  color: var(--d-paper-2);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.d-timeline-cell .b { color: var(--d-paper-mute); font-size: 14px; }

/* Quote --------------------------------------------------- */
.d-quote {
  border-top: 1px solid var(--d-line);
  border-bottom: 1px solid var(--d-line);
  padding: 80px 0;
}
.d-quote blockquote {
  margin: 0;
  font-family: var(--d-serif-active);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  color: var(--d-paper-2);
  letter-spacing: -0.015em;
  max-width: 24ch;
}
.d-quote blockquote::before { content: "“"; color: var(--d-signal); }
.d-quote blockquote::after { content: "”"; color: var(--d-signal); }
.d-quote-attr {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--d-paper-dim);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.d-quote-attr .name { color: var(--d-paper-2); }

/* CTA ----------------------------------------------------- */
.d-cta {
  padding: 96px 0;
  border-top: 1px solid var(--d-line);
  background:
    radial-gradient(circle at 50% 50%, rgba(212, 164, 75, 0.06), transparent 70%),
    var(--d-ink);
}
.d-cta .wrap-tight { text-align: center; }
.d-cta h2 { max-width: 18ch; margin: 0 auto; }
.d-cta p { margin: 24px auto 0; max-width: 52ch; color: var(--d-paper-mute); font-size: 17px; }
.d-cta .actions { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Page footer line — practice attribution ----------------- */
.d-practice-line {
  padding: 28px 0;
  text-align: center;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-paper-dim);
  border-top: 1px solid var(--d-line);
}
.d-practice-line strong {
  color: var(--d-paper-2);
  font-weight: 500;
}

/* Home-page Defensible callout — light/dark crossover ---- */
.d-callout {
  background: #081445;
  color: #ece8dc;
  border-radius: 14px;
  padding: 56px 56px 52px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 800px) {
  .d-callout { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
}
.d-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(212,164,75,0.10), transparent 50%);
  pointer-events: none;
}
.d-callout > * { position: relative; }
.d-callout .eyebrow {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4a44b;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.d-callout .eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: #d4a44b;
}
.d-callout h3 {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f6f3e9;
  margin: 20px 0 18px;
  max-width: 18ch;
}
.d-callout p {
  color: #b8b8c8;
  max-width: 50ch;
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
}
.d-callout .actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.d-callout .btn-primary {
  background: #d4a44b;
  color: #fff;
  border: 1px solid #d4a44b;
  border-radius: 2px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.d-callout .btn-primary:hover { background: #e0b566; border-color: #e0b566; }
.d-callout-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.d-callout-mark img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
}
