/* mjdc.io — personal site
   Design imported from Claude Design ("Michael Conroy.dc.html").
   Framework-free: system sans body, monospace labels, Lazy Daze display accent. */

@font-face {
  font-family: 'Lazy Daze';
  src: url("fonts/lazy-daze.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --accent: #C25A34;
  --ink: #0a0a0a;
  --paper: #ffffff;
  --line: #ececec;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; }

.script {
  font-family: 'Lazy Daze', 'Helvetica Neue', sans-serif;
  color: var(--accent);
  letter-spacing: 0;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 5vw, 64px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.wordmark {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.topnav {
  display: flex;
  gap: 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.topnav a { color: #9a9a9a; text-decoration: none; transition: color 0.15s; }
.topnav a:hover { color: var(--ink); }

.hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding-bottom: clamp(48px, 9vh, 120px);
}

.eyebrow {
  margin: 0 0 20px 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b4b4b4;
  text-align: right;
}

.hero-copy h1 {
  margin: 0;
  text-align: right;
  font-weight: 700;
  font-size: clamp(30px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.hero-copy .lede {
  margin: 26px 0 0 0;
  text-align: right;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.5;
  color: #6b6b6b;
  max-width: 46ch;
  font-weight: 400;
}

.scroll-hint {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 8px 4px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: #9a9a9a;
  white-space: nowrap;
  transition: color 0.15s;
}
.scroll-hint:hover { color: var(--ink); }
.scroll-hint .good { font-family: 'Lazy Daze', 'Helvetica Neue', sans-serif; font-size: 20px; color: var(--accent); letter-spacing: 0; }
.scroll-hint .arrow { display: inline-block; animation: nudge 1.5s ease-in-out infinite; font-size: 15px; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint .arrow { animation: none; } }

/* ---------- SECTIONS (label + content grid) ---------- */
.section {
  padding: clamp(80px, 16vh, 200px) clamp(28px, 5vw, 64px);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(24px, 5vw, 90px);
}

.section-label {
  margin: 0;
  font-family: 'Lazy Daze', 'Helvetica Neue', sans-serif;
  font-size: 25px;
  letter-spacing: 0;
  line-height: 1;
  color: var(--accent);
}

.about-body { max-width: 64ch; }
.about-body p {
  margin: 0 0 1.1em 0;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  color: #555;
  text-wrap: pretty;
}
/* First paragraph is the lead — larger, ink. */
.about-body > p:first-child {
  margin-bottom: 1.3em;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--ink);
}
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--ink); font-weight: 600; }

/* ---------- WORK / LATELY ---------- */
.work { padding: clamp(40px, 8vh, 100px) clamp(28px, 5vw, 64px); }
.work-inner { max-width: 1200px; margin: 0 auto; }
.work-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(24px, 5vw, 90px);
  margin-bottom: 40px;
}
.work-head .intro { margin: 0; font-size: 15px; color: #9a9a9a; max-width: 44ch; }

.work-list { border-top: 1px solid var(--line); }
.work-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s;
}
.work-item:hover { background: #fafafa; }
.work-item .title {
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.work-item .desc { font-size: 15px; color: #8a8a8a; font-weight: 400; }
.work-item .tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #b4b4b4;
  white-space: nowrap;
}

/* ---------- CONTACT ---------- */
.contact-body { max-width: 560px; width: 100%; }
.contact-body h2 {
  margin: 0 0 8px 0;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.contact-body .direct { margin: 14px 0 40px 0; font-size: 16px; color: #6b6b6b; }
.contact-body .direct a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

form { display: flex; flex-direction: column; gap: 22px; }
form label { display: flex; flex-direction: column; gap: 8px; }
form label span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9a9a9a;
}
form input, form textarea {
  border: none;
  border-bottom: 1px solid #d8d8d8;
  padding: 8px 0;
  font-size: 17px;
  outline: none;
  background: none;
  color: var(--ink);
  font-family: inherit;
}
form textarea { resize: vertical; line-height: 1.5; }
form input:focus, form textarea:focus { border-bottom-color: var(--ink); }

form button {
  align-self: flex-start;
  margin-top: 8px;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 15px 34px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
form button:hover { background: var(--accent); }

.form-success {
  border: 1px solid var(--line);
  padding: 40px;
  text-align: center;
}
.form-success p { margin: 0; font-size: 18px; font-weight: 600; }
.form-success .sub { margin: 10px 0 0 0; font-size: 14px; color: #8a8a8a; font-weight: 400; }

.hidden { display: none; }

/* ---------- FOOTER ---------- */
footer {
  padding: clamp(28px, 5vw, 64px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
}
footer .copy { color: #b4b4b4; }
footer .copy .script { font-size: 18px; }
footer > a { color: #9a9a9a; text-decoration: none; transition: color 0.15s; }
footer > a:hover { color: var(--ink); }

/* ---------- ARTICLE (project write-ups) ---------- */
.article-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.article-bar a { text-decoration: none; }
.article-bar .home { color: var(--ink); font-weight: 500; }
.article-bar .back { color: #9a9a9a; transition: color 0.15s; }
.article-bar .back:hover { color: var(--ink); }

article {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(24px, 6vh, 80px) clamp(28px, 5vw, 40px) clamp(60px, 12vh, 140px);
}
article .kicker {
  margin: 0 0 22px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
article h1 {
  margin: 0 0 22px 0;
  font-weight: 700;
  font-size: clamp(32px, 5.5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
article .standfirst {
  margin: 0 0 40px 0;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.5;
  color: #6b6b6b;
  font-weight: 400;
  text-wrap: pretty;
}
article .hero-figure {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #f2f2f2;
  border: 1px solid var(--line);
}
.article-body {
  margin-top: 52px;
  font-size: clamp(16px, 1.7vw, 18.5px);
  line-height: 1.72;
  color: #2a2a2a;
}
.article-body p { margin: 0 0 1.4em 0; text-wrap: pretty; }
.article-body p:last-child { margin-bottom: 0; }
.article-body h2 {
  margin: 2.2em 0 0.6em 0;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.article-body blockquote {
  margin: 2em 0;
  padding: 0;
  border: none;
}
.article-body blockquote p {
  margin: 0;
  font-family: 'Lazy Daze', 'Helvetica Neue', sans-serif;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.2;
  color: var(--accent);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .section-inner, .work-head { grid-template-columns: 1fr; gap: 16px; }
  .section-label { font-size: 22px; }
}
