/* michaelkennedy.ca — site styles */
:root {
  --bg: #0E0D0B;
  --bg-2: #13110E;
  --surface: #171511;
  --line: #2B2620;
  --line-strong: #4A433A;
  --text: #F3EEE4;
  --body: #D8D0C2;
  --muted: #A69D8E;
  --gold: #C9A253;
  --ink: #15110B;
  --display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Banner ---------- */
.banner {
  background: var(--gold); color: var(--ink);
  padding: 12px 24px; text-align: center;
  font-size: 15px; font-weight: 600;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
}
.banner a { color: var(--ink); text-underline-offset: 3px; }
.banner[hidden] { display: none; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px 40px; padding-top: 18px; padding-bottom: 18px;
}
.wordmark { text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.wordmark-name { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; color: var(--gold); }
.wordmark-tag { font-family: var(--display); font-size: 11px; letter-spacing: 0.22em; color: var(--muted); }
.menu-toggle {
  display: none;
  background: transparent; color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 2px;
  font: inherit; font-size: 15px; font-weight: 500;
  min-height: 44px; padding: 0 16px; cursor: pointer;
}
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; }
.site-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.site-nav .nav-cta {
  border: 1px solid var(--gold); color: var(--gold); border-radius: 2px;
  padding: 0 18px; min-height: 44px; display: inline-flex; align-items: center;
}
.site-nav .nav-cta:hover { background: var(--gold); color: var(--ink); }

@media (max-width: 1060px) {
  .header-inner { gap: 12px 16px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .site-nav .nav-cta { margin-top: 14px; justify-content: center; min-height: 48px; }
  .no-js .site-nav { display: flex; }
}

/* ---------- Type ---------- */
.label { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; color: var(--gold); }
.label--muted { color: var(--muted); font-size: 12px; }
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(42px, 5.6vw, 80px); line-height: 1; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.05; }
.h3 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.tagline { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 26px); color: var(--gold); }
.lede { font-size: 19px; line-height: 1.65; color: var(--body); max-width: 36em; }
.text { color: var(--body); line-height: 1.7; max-width: 38em; }
.muted { color: var(--muted); font-size: 15px; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack--sm { gap: 12px; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 2px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--gold); color: var(--ink); border: 1px solid var(--gold);
}
.btn:hover { background: #D8B468; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--ink); }
.text-link { color: var(--gold); font-weight: 600; font-size: 15px; padding: 10px 0; display: inline-block; }
.text-link:hover { color: #E3C27A; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--tight-top { padding-top: 56px; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); }
.section--rule { border-top: 1px solid var(--line); }
.page-head { padding: 64px 0 40px; }
.page-head .stack { gap: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-logo { width: 100%; max-width: 580px; aspect-ratio: 1200 / 508; }
.hero-art { flex: 0 1 420px; min-width: 0; margin: 0 auto; }
.hero-art img { width: 100%; max-width: 420px; aspect-ratio: 600 / 1050; object-fit: cover; border: 1px solid var(--line); }

/* ---------- Awards ---------- */
.awards { display: flex; flex-wrap: wrap; gap: 20px 40px; padding: 4px 0; }
.award { display: flex; align-items: center; gap: 14px; }
.award svg { flex: none; color: var(--gold); }
.award svg.flip { transform: scaleX(-1); }
.award-text { display: flex; flex-direction: column; gap: 4px; text-align: center; max-width: 210px; }
.award-kind { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; color: var(--gold); }
.award-title { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.2; }
.award-from { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- Highlights ---------- */
.highlights { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.highlights-row { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; }
.highlight { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.highlight-big { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--gold); }
.highlight-small { font-size: 15px; color: var(--muted); }

/* ---------- Cards / columns ---------- */
.card-row { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
  flex: 1 1 200px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 180px;
}
.card:hover { border-color: var(--line-strong); }
.card-title { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--text); }
.card-text { font-size: 16px; line-height: 1.5; color: var(--muted); flex-grow: 1; }
.card-go { font-weight: 600; font-size: 15px; color: var(--gold); }

.cols { display: flex; flex-wrap: wrap; gap: 40px; }
.col { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.col p { color: var(--body); line-height: 1.65; }

.panel {
  background: var(--surface); border: 1px solid var(--line);
  padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
}

/* ---------- Writing ---------- */
.wgrid { display: flex; flex-wrap: wrap; gap: 24px; }
.wcard {
  flex: 1 1 460px; background: var(--surface); border: 1px solid var(--line);
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.wcard img { width: 100%; aspect-ratio: 2000 / 894; object-fit: cover; margin-bottom: 8px; }
.wcard p { color: var(--body); flex-grow: 1; }
.wcard .accolade { font-size: 14px; color: var(--gold); }

/* ---------- Credits ---------- */
.split { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.credit-list { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.credit {
  border-top: 1px solid var(--line); padding: 18px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px;
}
.credit-name { font-family: var(--display); font-weight: 600; font-size: 26px; }
.credit--stacked { flex-direction: column; align-items: flex-start; gap: 4px; }
.credit--stacked .credit-name { font-weight: 700; font-size: 21px; }
.credit-role { font-size: 15px; color: var(--muted); }
.credit-note { font-size: 14px; line-height: 1.5; color: var(--gold); }

/* ---------- Video ---------- */
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.vertical-video { flex: 0 1 380px; min-width: 0; width: 100%; margin: 0 auto; aspect-ratio: 9 / 16; background: #000; border: 1px solid var(--line); }
.vertical-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.feature-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }

/* ---------- Images ---------- */
.framed { width: 100%; border: 1px solid var(--line); }
.about-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: center; }
@media (max-width: 800px) { .about-head { grid-template-columns: minmax(0, 1fr); } .about-head .photo { max-width: 480px; } }
.photo { margin: 0; }
.photo figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.contact-info { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.info { display: flex; flex-direction: column; gap: 2px; }
.info-value { font-size: 18px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.form-row .field { flex: 1 1 220px; }
.field label { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea {
  background: #1A1814; border: 1px solid var(--line-strong); color: var(--text);
  font: inherit; font-size: 16px; border-radius: 2px; padding: 0 14px; height: 50px; width: 100%;
}
.field textarea { padding: 14px; height: auto; min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 1px var(--gold); }
.form .btn { align-self: flex-start; }
.form-status { font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: #9BC48A; }
.form-status.err { color: #E89A8A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.footer-name { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wordmark-name { font-size: 22px; }
  .wordmark-tag { font-size: 10px; letter-spacing: 0.12em; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 56px; }
  .hero-grid { gap: 40px; }
  .award svg { width: 26px; height: 62px; }
  .panel, .wcard { padding: 24px; }
  .credit-name { font-size: 22px; }
}
