/* ==========================================================================
   DRG | D Roger Group

   6-block architecture:
   1. Mark + Descriptor + Scope
   2. Credential
   3. LinkedIn interstitial
   4. Positioning + "Still building."
   5. Engagement (Engage label + accent line + grouped links)
   6. Contact row

   Type system:
   Mark — 6rem / 700 / 0.25em tracking
   Body — 1rem / 400 / #1A1A1A (uniform across all body content)
   Engage primary — 1.0625rem / 400 / #1A1A1A
   Engage secondary — 0.875rem / 400 / #6B6B6B
   Links — 0.875rem / 400 / #6B6B6B

   Palette: #FFFFFF bg, #1A1A1A ink, #6B6B6B muted, #555555 scope
   Font swap: change 'Inter' to 'Soehne' on the next line.
   ========================================================================== */

:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --bg: #FFFFFF;
  --ink: #1A1A1A;
  --mid: #6B6B6B;
  --col: 640px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

main {
  max-width: var(--col);
  margin: 0 auto;
  padding: 120px 28px 100px;
}

/* ---- Block 1: Mark + Descriptor ---- */

.block-mark { margin-bottom: 80px; }

.mark {
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  line-height: 1;
  margin-bottom: 32px;
}

.body-text {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.7;
}

.descriptor { margin-bottom: 4px; }

.scope {
  color: #555555;
}

.pipe {
  color: var(--mid);
  padding: 0 3px;
}

/* ---- Block 2: Credential ---- */

.block-credential { margin-bottom: 96px; }

.credential-body {
  margin-bottom: 20px;
}

/* ---- Blocks 3+4: LinkedIn + Positioning (grouped) ---- */

.block-interstitial { margin-bottom: 20px; }

.interstitial-link {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--mid);
}

.interstitial-link:hover {
  text-decoration-color: var(--ink);
}

.block-positioning { margin-bottom: 72px; }

.still-building {
  margin-top: 32px;
}

/* ---- Block 5: Engagement ---- */

.block-engagement {
  margin-bottom: 72px;
}

.engage-label {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--mid);
  letter-spacing: 0.06em;
  margin-bottom: 0;
  padding-bottom: 8px;
}

.engage-label-line {
  width: 40px;
  height: 1px;
  background: #D4D4D4;
  margin-bottom: 14px;
}

.engage-groups {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding: 0;
}

.engage-group {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.engage-link {
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.15s ease;
}

.engage-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  opacity: 0.3;
  transition: opacity 0.15s ease;
}

.engage-link:hover::after {
  opacity: 1;
}

.engage-link-primary {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--ink);
}

.engage-link-secondary {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--mid);
}

.engage-link-secondary:hover {
  color: var(--ink);
}

.engage-divider {
  width: 1px;
  height: 16px;
  background: #D4D4D4;
  align-self: center;
}

/* ---- Block 6: Contact + Links ---- */

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: baseline;
}

.contact-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--mid);
  text-decoration: none;
}

.contact-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  main { padding: 80px 22px 72px; }
  .mark { font-size: 3.75rem; letter-spacing: 0.2em; margin-bottom: 24px; }
  .block-mark { margin-bottom: 64px; }
  .block-credential { margin-bottom: 64px; }
  .block-interstitial { margin-bottom: 16px; }
  .block-positioning { margin-bottom: 56px; }
  .block-engagement { margin-bottom: 56px; }
  .engage-groups { gap: 10px 28px; }
  .engage-divider { display: none; }
  .contact-row { flex-direction: column; gap: 14px; }
}
