/* Mullamagic Technology Inc. — mullamagic.com
   Palette: ink #171D28 · slate #232B3A · gold #C29A45 / #E3C271 · bronze #8C6420 · cream #F6F4EF
   Type: Poppins (300/400/500/600/700) + IBM Plex Mono (400/500) */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #F6F4EF;
  color: #171D28;
  font-family: Poppins, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #8C6420; text-decoration: none; }
a:hover { color: #C29A45; }

img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.band { background: #171D28; }

/* ---------- header ---------- */
.header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 8px;
}
.lockup { display: flex; align-items: center; gap: 16px; color: inherit; }
.lockup:hover { color: inherit; }
.mark { width: 104px; height: 59px; flex: none; }
.lockup-text { display: flex; flex-direction: column; gap: 2px; }
.lockup-name { font-size: 31px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: #FFFFFF; }
.lockup-sub { font-size: 14.5px; font-weight: 300; letter-spacing: 0.03em; color: #DFE3EA; }

.nav {
  display: flex; align-items: center; gap: 28px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav a { color: #AEB5C2; }
.nav a:hover { color: #FFFFFF; }
.nav .nav-gold { color: #E3C271; }
.nav .nav-gold:hover { color: #FFFFFF; }

/* ---------- hero ---------- */
.hero { color: #FFFFFF; }
.hero-inner { padding-top: 76px; padding-bottom: 112px; }
.hero-title {
  font-size: clamp(40px, 5.2vw, 70px); font-weight: 600; letter-spacing: -0.034em;
  line-height: 1.05; margin: 0; max-width: 17em; text-wrap: pretty;
}
.hero-sub {
  font-size: 19px; font-weight: 300; line-height: 1.65; color: #AEB5C2;
  margin: 28px 0 0; max-width: 34em; text-wrap: pretty;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.btn {
  display: inline-block; font-size: 15px; font-weight: 500;
  letter-spacing: 0.01em; padding: 15px 30px; border-radius: 999px;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-gold { background: #C29A45; color: #171D28; }
.btn-gold:hover { background: #E3C271; color: #171D28; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.22); color: #FFFFFF; font-weight: 400; }
.btn-ghost:hover { border-color: #C29A45; color: #E3C271; }
.btn-ink { background: #171D28; color: #FFFFFF; text-align: center; padding: 15px 24px; }
.btn-ink:hover { background: #C29A45; color: #171D28; }

/* ---------- labelled rows ---------- */
.row {
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px; align-items: start; padding-top: 72px;
}
.row-first { padding-top: 96px; }
.row-last { padding-bottom: 96px; }
.label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #B0A899; padding-top: 10px;
}
.lede {
  font-size: clamp(20px, 2vw, 25px); font-weight: 300; line-height: 1.6;
  color: #2C3441; margin: 0; max-width: 32em; text-wrap: pretty;
}
.lede strong { font-weight: 500; color: #171D28; }

/* ---------- services ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: #FFFFFF; border: 1px solid #E6E3DB; border-radius: 22px;
  padding: 32px 30px; display: flex; flex-direction: column; gap: 12px;
}
.rule { width: 34px; height: 2px; }
.rule-gold { background: #C29A45; }
.rule-ink { background: #171D28; }
.card-title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 6px 0 0; }
.card-body { font-size: 16px; font-weight: 300; line-height: 1.6; color: #4A5260; margin: 0; text-wrap: pretty; }

/* ---------- about ---------- */
.about {
  background: #171D28; border-radius: 26px; padding: 44px 48px;
  display: flex; flex-wrap: wrap; gap: 44px; align-items: center;
}
.about-mark { width: clamp(140px, 20%, 196px); height: auto; flex: none; align-self: flex-start; }
.about-body {
  font-size: 20px; font-weight: 300; line-height: 1.7; color: #D6DAE2;
  margin: 0; flex: 1 1 440px; min-width: 0; max-width: 34em; text-wrap: pretty;
}
.about-body strong { font-weight: 500; color: #FFFFFF; }

.bio p strong { font-weight: 500; color: #171D28; }

/* ---------- resume page ---------- */
.page-head { color: #FFFFFF; padding-top: 52px; padding-bottom: 52px; }
.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: #E3C271;
}
.page-title { font-size: clamp(32px, 3.4vw, 46px); font-weight: 600; letter-spacing: -0.032em; line-height: 1.05; margin: 18px 0 0; }
.page-role { font-size: 17.5px; font-weight: 300; color: #AEB5C2; margin-top: 10px; }
.page-byline { font-size: 15px; font-weight: 400; color: #8A93A3; margin-top: 4px; }

.bio-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px;
  align-items: start; padding-top: 76px; padding-bottom: 40px;
}
.bio { display: flex; flex-direction: column; gap: 30px; max-width: 34em; }
.bio p { font-size: 18px; font-weight: 300; line-height: 1.75; color: #2C3441; margin: 0; text-wrap: pretty; }
.bio-lede { font-size: clamp(21px, 2.1vw, 26px) !important; line-height: 1.55 !important; color: #171D28 !important; }
.bio-close { color: #4A5260 !important; border-top: 1px solid #E0DDD5; padding-top: 30px; }
.bio-close a { font-weight: 400; }

.side {
  background: #FFFFFF; border: 1px solid #E6E3DB; border-radius: 24px;
  padding: 34px 30px; display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 32px;
}
.side-label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #B0A899;
}
.side-body { font-size: 16px; font-weight: 300; line-height: 1.6; color: #4A5260; margin: 0; text-wrap: pretty; }
.side-links {
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid #EFEDE6; padding-top: 18px; font-size: 14.5px; font-weight: 300;
}
.side-links .muted { color: #6E7480; }
.side-links .muted:hover { color: #C29A45; }

/* ---------- footer ---------- */
.footer { background: #232B3A; color: #C9CDD6; }
.footer-slim { margin-top: 64px; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between;
  align-items: flex-end; padding-top: 56px; padding-bottom: 56px;
}
.footer-lockup { display: flex; align-items: center; gap: 18px; }
.footer-mark { width: 92px; height: 52px; flex: none; }
.footer-text { display: flex; flex-direction: column; gap: 3px; }
.footer-name { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: #FFFFFF; }
.footer-place { font-size: 15px; font-weight: 300; letter-spacing: 0.02em; color: #9BA3B1; }
.footer-legal { font-size: 13px; font-weight: 300; letter-spacing: 0.02em; color: #949CAA; margin-top: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 300; }
.footer-links a { color: #C9CDD6; }
.footer-links a:hover, .footer a.gold:hover { color: #FFFFFF; }
.footer a.gold { color: #E3C271; font-size: 15px; font-weight: 300; }

/* ---------- legal / prose pages ---------- */
.prose-wrap { padding-top: 72px; padding-bottom: 16px; }
.prose { max-width: 34em; }
.prose > p:first-child { font-size: 20px; font-weight: 300; line-height: 1.7; color: #171D28; margin: 0; text-wrap: pretty; }
.prose h2 {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: #4A5260; margin: 52px 0 0;
}
.prose h2 + p { margin-top: 14px; }
.prose p { font-size: 18px; font-weight: 300; line-height: 1.75; color: #2C3441; margin: 16px 0 0; text-wrap: pretty; }
@media (max-width: 720px) {
  .prose-wrap { padding-top: 52px; }
  .prose h2 { margin-top: 40px; }
}

/* ---------- narrow screens ---------- */
@media (max-width: 900px) {
  .bio-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 56px; }
  .side { position: static; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .row, .row-first { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 56px; }
  .label { padding-top: 0; }
  .hero-inner { padding-top: 52px; padding-bottom: 72px; }
  .about { padding: 32px 28px; gap: 28px; }
  .page-head { padding-top: 44px; padding-bottom: 44px; }
  .lockup-name { font-size: 26px; }
  .mark { width: 88px; height: 50px; }
}
