/* Deep Creek Mill — legal pages
   Matches the studio site: same fonts, palette, grain, vignette. */

:root {
  --bg: #0a0e12;
  --bg-2: #0e141b;
  --ink: #e8ece7;
  --ink-dim: #a4afa7;
  --ink-faint: #4d574f;
  --accent: #7fb3a3;
  --line: rgba(232, 236, 231, 0.09);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* subtle static atmosphere, kept calm for reading */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 60% at 20% -5%, rgba(127, 179, 163, 0.06), transparent 60%),
    radial-gradient(80% 70% at 100% 0%, rgba(127, 179, 163, 0.04), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(130% 100% at 50% 20%, transparent 55%, rgba(6, 9, 12, 0.6) 100%);
}
body::after { /* film grain */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Nav ---- */
nav {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(24px, 5vw, 64px);
  max-width: 820px;
  margin: 0 auto;
}
.mark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
.mark span { opacity: 0.5; }
.mark:hover span { color: var(--accent); opacity: 1; }
nav .back {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 0.3s ease;
}
nav .back:hover { color: var(--accent); }

/* ---- Article ---- */
main {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 90px) clamp(24px, 5vw, 64px) 40px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.updated {
  font-size: 0.85rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

article { padding-top: 40px; }

article h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 52px 0 18px;
  color: var(--ink);
}
article h2:first-child { margin-top: 0; }

article p {
  color: var(--ink-dim);
  margin: 0 0 18px;
  font-size: 1rem;
}

article ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
article li {
  color: var(--ink-dim);
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 1rem;
}
article li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

article ol {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
  counter-reset: item;
}
article ol > li {
  counter-increment: item;
  padding-left: 34px;
}
article ol > li::before {
  content: counter(item) ".";
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  background: none;
  width: auto;
  height: auto;
  left: 4px;
  top: 0;
}

article strong { color: var(--ink); font-weight: 500; }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 179, 163, 0.35);
  transition: border-color 0.3s ease;
}
a:hover { border-color: var(--accent); }

.callout {
  border-left: 2px solid var(--accent);
  background: rgba(127, 179, 163, 0.04);
  padding: 18px 22px;
  margin: 0 0 18px;
  border-radius: 0 4px 4px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---- Footer ---- */
footer {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px clamp(24px, 5vw, 64px) 48px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
footer nav { padding: 0; margin: 0; max-width: none; gap: 22px; display: flex; }
footer a {
  color: var(--ink-faint);
  border: none;
  transition: color 0.3s ease;
}
footer a:hover { color: var(--accent); }
footer .dot { color: var(--accent); }
