/* Haddad Consulting — minimal single-column page. No build step, no external requests. */

:root {
  --bg: #fcfcfa;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e6e4df;
  --accent: #b4441b;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --text: #e8e6e1;
    --muted: #9a9893;
    --line: #2a2a2a;
    --accent: #f08a5d;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.page { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 96px 24px 64px; }

/* Background: straight two-beam interference fringes along the right edge, fading toward the text */
body { position: relative; overflow-x: hidden; }
.fringes { position: fixed; top: 0; right: 0; width: 370px; height: 100vh; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 25%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, #000 25%, transparent 100%); }
.fringes line { stroke: var(--accent); stroke-opacity: 0.22; stroke-width: 1.5; }
@media (max-width: 1000px) { .fringes { display: none; } }
@media (max-width: 600px) { .page { padding: 56px 16px 48px; } }

a { color: var(--text); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Intro */
.brand { display: flex; align-items: center; gap: 10px; margin: 0 0 40px; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.mark { width: 24px; height: 24px; flex: none; color: var(--accent); }
h1 { margin: 0 0 20px; font-size: clamp(30px, 5vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; text-wrap: balance; }
/* Let the headline run past the 760px body column (up to 120px, never off-screen) so it stays on two lines */
@media (min-width: 760px) { h1 { margin-right: calc(-1 * min(120px, (100vw - 760px) / 2 + 8px)); } }
.lede { margin: 0 0 20px; color: var(--muted); font-size: 18px; }
.byline { margin: 0; font-size: 15px; }

/* Sections */
section { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
h2 { margin: 0 0 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
section p { margin: 0 0 12px; }

.list { margin: 0; }
.list > div { margin-bottom: 22px; }
.list > div:last-child { margin-bottom: 0; }
dt { font-weight: 600; }
dd { margin: 2px 0 0; color: var(--muted); }
@media (min-width: 601px) { section[aria-labelledby="work"] dd { text-align: justify; hyphens: auto; -webkit-hyphens: auto; } }
.example { display: block; margin-top: 6px; text-align: left; }
.example a { color: var(--muted); }
.when { font-weight: 400; color: var(--muted); font-size: 15px; margin-left: 6px; }

.links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }

footer { margin-top: 72px; font-size: 14px; color: var(--muted); }
footer p { margin: 0; }
