/* =========================================================
   Winter Taxidermy — site styles
   Palette: "trophy room" — dark walnut, aged brass, cream,
   with the old site's maroon kept as the oxblood accent.
   ========================================================= */
/* self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Press Start 2P"; src: url("../fonts/press-start-2p-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #14110d;
  --bg-2: #1c1813;
  --surface: #241f18;
  --surface-2: #2d271f;
  --line: #3b3328;
  --text: #ece3d0;
  --muted: #b5a88f;
  --brass: #c49a4c;
  --brass-hi: #dcb76c;
  --oxblood: #7d2218;
  --oxblood-hi: #9a2c20;
  --moss: #56623f;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 6px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .75);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  /* subtle wood-grain-ish texture */
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(196,154,76,.08), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(125,34,24,.10), transparent 60%);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-hi); text-underline-offset: 3px; }
a:hover { color: #f0d08e; }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--brass); color: #111; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- eyebrow / ornaments ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass); font-weight: 600; margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.rule {
  border: 0; height: 14px; margin: 2.2rem auto; max-width: 260px;
  background:
    linear-gradient(var(--line), var(--line)) left 50%/42% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) right 50%/42% 1px no-repeat,
    radial-gradient(circle, var(--oxblood-hi) 0 4px, transparent 5px) center/14px 14px no-repeat;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 17, 13, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { /* thin oxblood line, nod to the old maroon nav bar */
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--oxblood);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; }
.brand img { height: 58px; width: auto; }
.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .55rem .9rem; text-decoration: none;
  color: var(--text); font-weight: 600; font-size: .98rem; letter-spacing: .03em; border-radius: var(--radius);
}
.nav a:hover { color: var(--brass-hi); background: rgba(255,255,255,.03); }
.nav a[aria-current="page"] { color: var(--brass-hi); box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius); padding: .5rem .7rem; cursor: pointer; font: inherit;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-2); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: .5rem var(--gutter) 1rem; }
  .nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .brand img { height: 48px; }
  .header-inner { min-height: 64px; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); max-width: 60ch; font-size: 1.1rem; margin: 0; }
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .8rem 1.35rem;
  border-radius: var(--radius); font-weight: 700; letter-spacing: .04em; text-decoration: none;
  border: 1px solid var(--brass); color: var(--bg); background: var(--brass);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--brass-hi); color: var(--bg); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--brass-hi); }
.btn.ghost:hover { background: rgba(196,154,76,.12); color: #f0d08e; }

/* ---------- framed photo ---------- */
.frame {
  position: relative; padding: 10px; background: linear-gradient(145deg, #3a2f22, #1d1813);
  border-radius: 4px; box-shadow: var(--shadow);
}
.frame::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(220,183,108,.45); border-radius: 2px; pointer-events: none; }
.frame img { border-radius: 2px; width: 100%; }

.tile.frame { padding: 10px; background: linear-gradient(145deg, #3a2f22, #1d1813); box-shadow: var(--shadow); }
.tile.frame img { transform: none !important; }

/* ---------- home ---------- */
/* hero layout: text left; game button above the photo on the right */
.hero-grid { grid-template-areas: "text game" "text photo"; }
.hero-text { grid-area: text; }
.hero-photo { grid-area: photo; }

/* Terry's Hunt game button (retro arcade look, matches the game's colors) */
.game-btn {
  grid-area: game; justify-self: end; align-self: end;
  display: flex; align-items: center; gap: .85rem; max-width: 440px;
  padding: .5rem 1rem .5rem .5rem; text-decoration: none;
  background: #0b0e2a; color: #f2c83b; border: 3px solid #f2c83b;
  box-shadow: 5px 5px 0 #3b54b3; transition: transform .15s, box-shadow .15s;
}
.game-btn img { width: 104px; height: auto; border: 2px solid #3b54b3; image-rendering: auto; }
.game-btn-text { font-family: "Press Start 2P", monospace; font-size: .72rem; line-height: 1.7; text-transform: uppercase; letter-spacing: .02em; }
.game-btn-arrow { display: inline-block; animation: blink 1s steps(2, start) infinite; }
.game-btn:hover, .game-btn:focus-visible { color: #fff3b0; transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #3b54b3; }
.game-btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #3b54b3; }
@keyframes blink { to { visibility: hidden; } }

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 span { color: var(--brass-hi); font-style: italic; font-weight: 500; }
.lede { font-size: 1.2rem; color: var(--text); }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-photo { max-width: 440px; justify-self: center; width: 100%; }
.hero-photo figcaption, .caption { color: var(--muted); font-size: .9rem; text-align: center; margin-top: .8rem; font-style: italic; }

.creds { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.creds ul { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.creds li { text-align: center; padding: .25rem .5rem; }
.creds li + li { border-left: 1px solid var(--line); }
.creds strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--brass-hi); font-weight: 600; }
.creds span { color: var(--muted); font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.services { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.services li { border: 1px solid var(--line); background: var(--surface); padding: .35rem .8rem; border-radius: 999px; font-size: .93rem; color: var(--text); }
.note { border-left: 3px solid var(--oxblood-hi); background: var(--surface); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); }

.cta-band { background: linear-gradient(120deg, #2a1410, var(--oxblood) 60%, #5d1a12); border-top: 1px solid #a6463a33; border-bottom: 1px solid #00000066; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 2.2rem; padding-bottom: 2.2rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band .btn { background: var(--text); border-color: var(--text); color: #2a1410; }
.cta-band .btn.ghost { background: transparent; color: var(--text); }
.cta-band .btn.ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.filters button {
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
  padding: .5rem 1rem; border-radius: 999px; transition: all .2s;
}
.filters button:hover { border-color: var(--brass); }
.filters button[aria-pressed="true"] { background: var(--brass); color: var(--bg); border-color: var(--brass); }
.filters .count { opacity: .7; font-weight: 500; margin-left: .25em; }
.gallery-group { margin-bottom: 3rem; scroll-margin-top: 100px; }
.gallery-group h2 { display: flex; align-items: baseline; gap: .6rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin-bottom: 1.25rem; }
.gallery-group h2 small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-weight: 400; }
.masonry { columns: 4 230px; column-gap: 14px; }
.tile {
  break-inside: avoid; margin: 0 0 14px; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: var(--surface); border-radius: 4px; overflow: hidden; position: relative;
  box-shadow: 0 0 0 1px var(--line);
}
.tile img { width: 100%; transition: transform .45s ease, filter .3s; filter: saturate(.95); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.035); filter: saturate(1.08); }
.tile .tcap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .75rem .6rem; font-size: .88rem; text-align: left;
  color: var(--text); background: linear-gradient(transparent, rgba(0,0,0,.8));
}
.empty { color: var(--muted); }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(8, 6, 4, .97); }
.lb-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 64px 72px; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px #000; border-radius: 2px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--text); padding: 0 70px; font-size: .95rem; }
.lb-cap .ct { color: var(--muted); margin-left: .6rem; font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; background: rgba(36,31,24,.85); color: var(--text); border: 1px solid var(--line);
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
}
.lb-btn:hover { border-color: var(--brass); color: var(--brass-hi); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lb-stage { padding: 56px 8px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-cap { bottom: 66px; padding: 0 16px; }
}

/* ---------- awards ---------- */
.award-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.award {
  display: grid; grid-template-columns: 170px 1fr; gap: 1.4rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; position: relative;
}
.award .tile { margin: 0; aspect-ratio: 4/3; }
.award .tile img { height: 100%; object-fit: cover; }
.award .year {
  font-family: var(--font-display); color: var(--brass-hi); font-size: 1.9rem; line-height: 1; display: block; margin-bottom: .35rem;
}
.award h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; margin-bottom: .25rem; }
.award p { margin: 0; color: var(--muted); }
.ribbons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 1rem; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.price-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.2rem; }
.price-card h2 { font-size: 1.35rem; color: var(--brass-hi); letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; margin-bottom: .8rem; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: .5rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list .item { flex: 0 1 auto; }
.price-list .dots { flex: 1; border-bottom: 1px dotted #5a4e3d; transform: translateY(-4px); min-width: 1rem; }
.price-list .amt { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.price-list .sub { color: var(--muted); font-size: .92rem; }
.table-wrap { overflow-x: auto; }
table.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 340px; }
table.prices th, table.prices td { padding: .6rem .7rem; text-align: right; border-bottom: 1px solid var(--line); }
table.prices th:first-child, table.prices td:first-child { text-align: left; }
table.prices thead th { color: var(--brass); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
table.prices td.na { color: #6d6252; }
table.prices tbody tr:hover { background: rgba(255,255,255,.02); }
.span-2 { grid-column: 1 / -1; }
.span-2 .price-list { columns: 2; column-gap: 3rem; }
.span-2 .price-list li { break-inside: avoid; }
.span-2 .price-list li:last-child { border-bottom: 1px dashed var(--line); }
.fine { color: var(--muted); font-size: .95rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ccard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.ccard .lbl { display: block; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); font-weight: 700; margin-bottom: .35rem; }
.ccard a, .ccard .val { font-size: 1.18rem; font-weight: 600; color: var(--text); text-decoration: none; word-break: break-word; }
.ccard a:hover { color: var(--brass-hi); }
.ccard.wide { grid-column: 1 / -1; }
.ico { width: 22px; height: 22px; color: var(--brass); margin-bottom: .6rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #0f0d0a; padding: 2.8rem 0 1.6rem; margin-top: 2rem; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 2rem; }
.site-footer img { height: 64px; width: auto; margin-bottom: .8rem; opacity: .9; }
.site-footer h4 { font-family: var(--font-body); color: var(--text); letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .3rem 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brass-hi); }
.legal { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-areas: "game" "text" "photo"; }
  .game-btn { justify-self: stretch; max-width: none; }
  .split.reverse > :first-child { order: 0; }
  .creds ul { grid-template-columns: repeat(2, 1fr); }
  .creds li:nth-child(3) { border-left: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .span-2 .price-list { columns: 1; }
  table.prices { min-width: 0; font-size: .93rem; }
  table.prices th, table.prices td { padding: .55rem .3rem; }
  table.prices thead th { letter-spacing: .04em; font-size: .72rem; }
  .price-card { padding: 1.1rem 1rem 1rem; }
  .creds ul { grid-template-columns: 1fr; }
  .creds li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: .9rem; }
  .award { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .tile { margin-bottom: 10px; }
  .ribbons { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
