/* ============================================================
   DWAIN THOMAS PHOTOGRAPHY — Legal Pages Stylesheet
   css/dtp-legal.css  |  v1.0
   Shared by: privacy, accessibility, usage-disclosure, business-policy
   ============================================================ */

.legal-hero {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 48px;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
  border-bottom: 1px solid var(--rule);
}

.legal-hero .page-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.15s forwards;
}

.legal-hero h1 {
  font-size: clamp(28px, 3vw, 44px);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.25s forwards;
}

.legal-meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--brown);
  letter-spacing: 0.08em;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.35s forwards;
}

/* Main content column */
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px var(--page-padding) 100px;
}

/* Section headings */
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--near-black);
  margin-top: 52px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  color: var(--near-black);
  margin-top: 28px;
  margin-bottom: 10px;
}

/* Paragraphs */
.legal-body p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* Lists */
.legal-body ul,
.legal-body ol {
  margin: 12px 0 20px 0;
  padding-left: 20px;
}

.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }

.legal-body li {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 6px;
  padding-left: 4px;
}

/* Strong text */
.legal-body strong {
  font-weight: 400;
  color: var(--near-black);
}

/* Links */
.legal-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.legal-body a:hover {
  color: var(--near-black);
}

/* Policy table */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 15px;
}

.policy-table th {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 10px 16px;
  border-bottom: 2px solid var(--rule);
  background: var(--bg-mid);
}

.policy-table td {
  padding: 12px 16px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  line-height: 1.6;
}

.policy-table tr:last-child td {
  border-bottom: none;
}

.policy-table td:first-child {
  color: var(--near-black);
  white-space: nowrap;
}

/* Callout box */
.legal-callout {
  background: var(--bg-mid);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-callout p {
  margin-bottom: 0;
  font-size: 15px;
}

/* Legal subnav */
.legal-subnav {
  background: var(--bg-mid);
  padding: 20px var(--page-padding);
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--rule);
}

.legal-subnav::-webkit-scrollbar { display: none; }

.legal-subnav a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  padding: 6px 16px 6px 0;
  white-space: nowrap;
  transition: color 0.2s;
}

.legal-subnav a:first-child { padding-left: 0; }

.legal-subnav a::after {
  content: '·';
  margin-left: 16px;
  color: var(--rule);
}

.legal-subnav a:last-child::after { display: none; }

.legal-subnav a:hover,
.legal-subnav a.active {
  color: var(--gold);
}
