/* ==========================================================
   SHARED STYLES FOR THE SIDE PAGES (/portfolio/ and /resume/)
   Think of this as the parent theme: fonts, colors, the header,
   headings and buttons both pages use. Each page then loads its
   own small file (portfolio.css, resume.css) for what's unique,
   like a child theme. Change the look of both pages here.
   ========================================================== */
@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo"; font-weight: 100 900; src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Yellowtail"; src: url("../fonts/yellowtail-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Mr Dafoe"; src: url("../fonts/mr-dafoe-latin-400-normal.woff2") format("woff2"); font-display: swap; }

:root {
  --ink: #121010; --char: #1B1817; --bone: #ECE5D8; --muted: #A99D95; --line: #3a3330; --red: #B3241B; --red-hi: #D23A2C;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --signature: "Mr Dafoe", "Yellowtail", cursive;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--ink); color: var(--bone); font: 17px/1.6 var(--body); }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
a { color: inherit; text-decoration-color: var(--red-hi); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; }

/* Header: the same signature logo as the main site */
.p-head { max-width: 1240px; margin: 0 auto; padding: 18px 28px; border-bottom: 2px solid var(--red); }
.brand { display: inline-flex; align-items: center; gap: 2px;   /* tight: the stars belong to the signature */ color: var(--bone); text-decoration: none; }
.brand .sig { font: 32px/1 var(--signature); word-spacing: .22em; display: inline-block; transform: rotate(-3deg); padding: 4px 6px 10px 0; }

/* Page intro: mono kicker, big Anton headline, tattoo-script line */
.kicker { display: flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.page-title { margin-top: 18px; font: clamp(3.6rem, 11vw, 7.5rem)/.9 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.script { font: clamp(2rem, 5vw, 3rem)/1.1 var(--script); color: var(--red-hi); transform: rotate(-3deg); transform-origin: left; margin: 10px 0 6px; }

/* Section labels: small mono caps with a rule running off to the right */
.label { font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* "Board": a boxed panel styled like a studio track sheet */
.board { border: 2px solid var(--line); background: var(--char); padding: 22px 24px; }

/* Buttons: same shape as the main site's */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 24px; font: 700 15px/1.25 var(--body); text-decoration: none; color: var(--bone); background: none; border: 2px solid currentColor; cursor: pointer; transition: background-color .15s ease; }
.btn:hover { background: rgba(236,229,216,.08); color: var(--bone); }
.btn-accent { background: var(--red); border-color: var(--red); color: #fff; }
.btn-accent:hover { background: var(--red-hi); border-color: var(--red-hi); color: #fff; }

@media (max-width: 600px) {
  .p-head { padding: 14px 20px; }
  .brand .sig { font-size: 26px; }
}
