/* Design tokens lifted from the Das Studio template: Inter display type at -0.03em,
   Fragment Mono for labels, near-black on white with a light surface. */
:root {
  --ink: #0a0a0a;
  --muted: #0a0a0ab3;
  --hairline: #5a627133;
  --surface: #f5f5f5;
  --page: #fff;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* mono label: the template's uppercase caption style */
.label {
  font-family: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.brand {
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav { display: flex; gap: clamp(14px, 2.2vw, 32px); }
.site-nav a {
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.site-nav a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
}
.btn:hover { opacity: 0.82; }
.btn--ghost { background: transparent; color: var(--ink); padding-left: 4px; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.hero h1 {
  margin: 0;
  font-size: clamp(52px, 12vw, 168px);
  line-height: 0.92;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-top: clamp(32px, 5vw, 64px);
}
.hero-lede { max-width: 30ch; font-size: 15px; color: var(--muted); margin: 0 0 24px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* label/value rows with hairline rules, straight from the template's hero */
.meta { border-top: 1px solid var(--hairline); }
.meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.meta dt, .meta dd { margin: 0; }
.meta dd {
  font-family: "Fragment Mono", ui-monospace, monospace;
  font-size: 12px;
  text-transform: uppercase;
  text-align: right;
}

/* ---------- sections ---------- */
section { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--hairline); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(16px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 5.5vw, 68px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.section-head p { margin: 0; color: var(--muted); font-size: 15px; max-width: 60ch; }
.count { display: block; margin-bottom: 10px; }

/* ---------- work grids ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.grid > * { min-width: 0; }
/* the photography assets are wide contact-sheet composites; a 3-up grid renders them
   as unreadable slivers, so they get their own full-width stack. */
.grid--stack { grid-template-columns: minmax(0, 1fr); }
/* Instagram's embed script injects a fixed-width iframe; keep it inside its cell. */
.grid iframe, .grid .instagram-media { width: 100% !important; min-width: 0 !important; margin: 0 !important; }
.frame { background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
.frame video { width: 100%; }
figure { margin: 0; }
figcaption { margin-top: 10px; }

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.portrait { border-radius: 12px; width: 100%; background: var(--surface); }
.about p { font-size: 16px; max-width: 68ch; }
.capabilities { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--hairline); }
.capabilities li { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.capabilities strong { display: block; margin-bottom: 6px; font-weight: 600; }
.capabilities span { color: var(--muted); font-size: 15px; }

/* ---------- contact ---------- */
.contact-link {
  display: block;
  margin: 0 0 clamp(24px, 4vw, 48px);
  font-size: clamp(28px, 6vw, 84px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-decoration: none;
  word-break: break-word;
}
.contact-link:hover { color: var(--muted); }

/* ---------- resume ---------- */
.resume-intro { max-width: 80ch; }
.resume-block { border-top: 1px solid var(--hairline); padding-top: 28px; margin-top: 40px; }
.resume-block h3 {
  margin: 0 0 20px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.job { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(12px, 3vw, 48px); padding: 26px 0; border-bottom: 1px solid var(--hairline); }
.job h4 { margin: 0 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.job ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.job li { margin-bottom: 8px; }
.skills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px 32px; }
.skills li { padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.skills strong { display: block; font-weight: 600; margin-bottom: 4px; }
.skills span { color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding: clamp(40px, 6vw, 72px) 0 40px; }
.site-footer .wordmark {
  font-size: clamp(40px, 13vw, 190px);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0 0 clamp(24px, 4vw, 56px);
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--hairline); padding-top: 20px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }

@media (max-width: 860px) {
  .hero-body, .section-head, .about, .job { grid-template-columns: minmax(0, 1fr); }
  .about { gap: 28px; }
  .portrait { max-width: 220px; }
}
