:root {
  --ink: #111827;
  --muted: #4b5563;
  --bg: #ffffff;
  --blue: #1d4ed8;
  --border: #e5e7eb;
  --max: 1040px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  line-height: 1.5;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  padding: 22px 0;
  background: #fff;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Brand: name only */
.brand {
  min-width: 240px;
}

.brand .name {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 999;
  font-size: 22px;
  letter-spacing: 0.2px;
  color: var(--ink);
  grid-column: 2;
  justify-self: center;
}

.header-actions .link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.header-actions {
    grid-column: 3;
    justify-self: end;
}

.link:hover {
  border-bottom-color: var(--ink);
}

.divider {
  height: 4px;
  background: var(--blue);
  position: relative;
  overflow: hidden;

  /* test (exaggerated). Later set --fade-w: 5px; --step: 1.25px; */
  --fade-w: 50px;
  --step: calc(var(--fade-w) / 4);
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: var(--fade-w);
}

.divider::before {
  left: 0;
  background: linear-gradient(
    to right,
    #ffffff 0, #ffffff var(--step),
    #dbeafe var(--step), #dbeafe calc(var(--step) * 2),
    #93c5fd calc(var(--step) * 2), #93c5fd calc(var(--step) * 3),
    #3b82f6 calc(var(--step) * 3), #3b82f6 calc(var(--step) * 4)
  );
}

.divider::after {
  right: 0;
  background: linear-gradient(
    to left,
    #ffffff 0, #ffffff var(--step),
    #dbeafe var(--step), #dbeafe calc(var(--step) * 2),
    #93c5fd calc(var(--step) * 2), #93c5fd calc(var(--step) * 3),
    #3b82f6 calc(var(--step) * 3), #3b82f6 calc(var(--step) * 4)
  );
}
.main {
  padding: 42px 20px 32px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.hero-content h1 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.15;
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
}

.lead p {
  margin: 0;
}

.lead p + p {
  margin-top: 5px; /* adjust: 6px–12px is usually nice */
}

.hero-media {
  width: 100%;
}

/* If you use a real img, this keeps it responsive and styled */
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f9fafb;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
}

.photo-placeholder span {
  border: 1px dashed #cbd5e1;
  padding: 10px 12px;
  border-radius: 8px;
}

.details {
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.detail-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.detail-row:first-child {
  border-top: none;
}

dt {
  font-weight: 600;
  color: #111827;
}

dd {
  margin: 0;
  color: var(--muted);
}

dd a {
  color: var(--blue);
  text-decoration: none;
}

dd a:hover {
  text-decoration: underline;
}

.sep {
  margin: 0 8px;
  color: #9ca3af;
}

.note {
  margin-top: 14px;
  color: #6b7280;
  font-size: 12.5px;
}

.footer {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: #6b7280;
  font-size: 13px;
}

/* Mobile */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 1fr; }
}