/* ===== Michael McKenzie — "Playful color blocks" (Direction 2) ===== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  --cream:   #F6EFE6;
  --cream-2: #FFFDF9;
  --ink:     #161311;
  --muted:   #56504A;
  --pink:    #ED93B1;
  --pink-d:  #4B1528;
  --green:   #97C459;
  --green-d: #173404;
  --blue:    #85B7EB;
  --blue-d:  #042C53;
  --yellow:  #F4C04F;
  --yellow-d:#5A3E05;
  --border:  #161311;
  --maxw:    1080px;
  --shadow:  6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Highlight marker ===== */
.mark { padding: 0 8px; border-radius: 6px; }
.mark.y { background: var(--yellow); }
.mark.g { background: var(--green); }
.mark.p { background: var(--pink); }
.mark.b { background: var(--blue); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; cursor: pointer; border: 2px solid var(--ink);
  background: var(--ink); color: var(--cream);
  padding: 13px 26px; border-radius: 999px; font: inherit; font-weight: 500; font-size: 1rem;
  box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: .92rem; box-shadow: 3px 3px 0 var(--ink); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream); border-bottom: 2px solid var(--ink);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; }
.brand-mark { display: block; flex: none; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-weight: 500; font-size: .95rem; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.nav-links a.btn { color: var(--cream); }

/* ===== Hero ===== */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-photo img { width: 100%; border: 2px solid var(--ink); border-radius: 20px; box-shadow: var(--shadow); display: block; }
.about-photo { width: 100%; border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); display: block; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 22px; }
.tag { padding: 6px 15px; border-radius: 999px; font-size: .82rem; font-weight: 500; border: 2px solid var(--ink); }
.tag.p { background: var(--pink); color: var(--pink-d); }
.tag.g { background: var(--green); color: var(--green-d); }
.tag.b { background: var(--blue); color: var(--blue-d); }
.tag.y { background: var(--yellow); color: var(--yellow-d); }
.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.9rem); line-height: 1.08; letter-spacing: -.03em;
  font-weight: 700; margin: 0 0 22px; max-width: 760px;
}
.lede { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Sections ===== */
.section { padding: 76px 0; }
.section.alt { background: var(--cream-2); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; }
.section-sub { color: var(--muted); font-size: 1.12rem; max-width: 620px; margin: 0 0 44px; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--cream-2); border: 2px solid var(--ink); border-radius: 18px;
  padding: 30px 26px; box-shadow: var(--shadow);
  transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.card .chip { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center;
  border-radius: 12px; border: 2px solid var(--ink); font-size: 1.5rem; margin-bottom: 16px; }
.card.c1 .chip { background: var(--pink); }
.card.c2 .chip { background: var(--green); }
.card.c3 .chip { background: var(--blue); }
.card h3 { margin: 0 0 10px; font-size: 1.3rem; font-weight: 700; }
.card p { margin: 0; color: var(--muted); }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--cream-2); border: 2px solid var(--ink); border-radius: 16px; padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step .num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); font-weight: 700; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ===== Portfolio ===== */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work {
  background: var(--cream-2); border: 2px solid var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .14s ease, box-shadow .14s ease; display: flex; flex-direction: column;
}
.work:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.work-thumb { height: 200px; border-bottom: 2px solid var(--ink); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; text-align: center; padding: 20px; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.work.w4 .work-thumb { padding: 0; }
.work.w4 .work-thumb img { object-position: center; }
.work.w1 .work-thumb { background: var(--pink); color: var(--pink-d); }
.work.w2 .work-thumb { background: var(--blue); color: var(--blue-d); }
.work.w3 .work-thumb { background: var(--green); color: var(--green-d); }
.work.w4 .work-thumb { background: var(--yellow); color: var(--yellow-d); }
.work-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.work-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.work-tags span { font-size: .76rem; font-weight: 500; padding: 3px 11px; border-radius: 999px; border: 1.5px solid var(--ink); }
.work h3 { margin: 0 0 8px; font-size: 1.3rem; }
.work p { margin: 0 0 18px; color: var(--muted); font-size: .98rem; flex: 1; }
.work-link { font-weight: 500; border-bottom: 2px solid var(--ink); align-self: flex-start; padding-bottom: 2px; }

/* ===== Photo placeholder ===== */
.photo-ph {
  border: 2px dashed var(--ink); border-radius: 18px; background: var(--blue);
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  color: var(--blue-d); font-weight: 500; text-align: center; padding: 20px;
}

/* ===== Split (about) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.prose p { color: var(--muted); font-size: 1.1rem; }

/* ===== CTA band ===== */
.cta-band { background: var(--ink); color: var(--cream); border-radius: 24px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: var(--cream); margin: 0 0 14px; }
.cta-band p { color: #C9C2B8; max-width: 520px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .btn { background: var(--yellow); border-color: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 #000; }
.cta-band .btn:hover { box-shadow: 6px 6px 0 #000; }

/* ===== Contact form ===== */
.contact-wrap { max-width: 660px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; background: var(--cream-2);
  border: 2px solid var(--ink); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 500; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  background: var(--cream); border: 2px solid var(--ink); border-radius: 10px; padding: 13px 14px;
  color: var(--ink); font: inherit; font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; }
.contact-form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { color: var(--muted); font-size: .92rem; margin: 4px 0 0; }
.form-note a { font-weight: 500; border-bottom: 2px solid var(--ink); }

/* ===== Footer ===== */
.site-footer { border-top: 2px solid var(--ink); padding: 40px 0; background: var(--cream-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-inner .brand { font-size: 1.05rem; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: .92rem; }
.footer-nav a:hover { color: var(--ink); }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 360px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .nav-links a:not(.btn):not(.brand) { display: none; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 54px 0 60px; }
  .section { padding: 56px 0; }
  .cta-band { padding: 40px 24px; }
}
