/* Gruffpuppy: colours carried over from the old WordPress theme */
:root {
  --bg: #1c1c1c;
  --panel: #262626;
  --panel-2: #2e2e2e;
  --line: #3a3a3a;
  --text: #eeeeee;
  --muted: #a8a8a8;
  --gold: #ecce27;      /* old site link colour */
  --gold-soft: #bfad6a; /* logo gold */
  --radius: 10px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(rgba(28,28,28,.6), rgba(28,28,28,.6)), url(../img/texture.jpg) center top / 1600px auto repeat var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 400; line-height: 1.25; margin: 0 0 .5em; }

/* Header */
.site-header { background: rgba(30,30,30,.92); border-bottom: 1px solid var(--line); text-align: center; padding: 28px 16px 0; }
.logo img { margin: 0 auto; width: min(360px, 80vw); }
.site-nav { display: flex; justify-content: center; margin-top: 18px; }
.site-nav a {
  color: #dddddd; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 22px; border-left: 1px solid var(--line);
}
.site-nav a:last-child { border-right: 1px solid var(--line); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); text-decoration: none; background: rgba(255,255,255,.03); }

main { padding-bottom: 40px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section-title { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); text-align: center; margin: 56px 0 24px; }

/* Home */
.hero { max-width: 760px; margin: 0 auto; padding: 56px 16px 8px; text-align: center; }
.hero .lead { font-size: clamp(19px, 2.6vw, 24px); color: #fff; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; color: var(--text);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-top: 2px solid var(--gold-soft); border-radius: var(--radius);
  padding: 22px 22px 20px; transition: transform .15s, border-color .15s;
}
a.card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--gold); }
.card p { margin: 0 0 14px; color: var(--muted); flex: 1; }
.card .go { color: var(--gold); font-size: 14px; }
.card .status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 99px; padding: 4px 12px; border: 1px solid var(--gold); color: var(--gold); }
.card .status-live { background: var(--gold); color: #1c1c1c; }
.card .status-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1c1c1c; }
.card .status-coming-soon { background: rgba(236,206,39,.08); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-logo { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.card-logo-letter { display: grid; place-items: center; background: #333; color: var(--gold-soft); font-size: 30px; font-weight: 700; }
.history-teaser { text-align: center; max-width: 720px; }
.history-teaser p { color: var(--muted); }
.button { display: inline-block; margin-top: 8px; padding: 10px 26px; border: 1px solid var(--gold); border-radius: 99px; color: var(--gold); letter-spacing: .03em; }
.button:hover { background: var(--gold); color: #1c1c1c; text-decoration: none; }

/* Showcase */
.intro { text-align: center; max-width: 760px; }
.intro p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.chips a { border: 1px solid var(--line); border-radius: 99px; padding: 5px 14px; font-size: 14px; color: var(--text); background: var(--panel); }
.chips a:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.group { scroll-margin-top: 16px; }
.group-intro { text-align: center; color: var(--muted); margin: -12px 0 24px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.gallery figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery figure > a { position: relative; display: block; aspect-ratio: 4 / 3; background: #111; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.gallery figure > a:hover img { opacity: .85; }
.play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(0,0,0,.65); color: var(--gold); display: grid; place-items: center; font-size: 22px; }
figcaption { padding: 12px 16px 16px; font-size: 15px; color: var(--muted); }
figcaption strong { color: #fff; font-weight: 600; }
.year { color: var(--gold-soft); font-size: 13px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 95vw; max-height: 95vh; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox img { max-width: 95vw; max-height: 90vh; width: auto; border-radius: 6px; }
.lightbox button { position: fixed; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; line-height: 1; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.about-grid img { border-radius: var(--radius); border: 1px solid var(--line); }
.muted { color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
blockquote { margin: 0; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold-soft); border-radius: var(--radius); padding: 20px 22px; }
blockquote p { margin: 0 0 12px; font-style: italic; }
blockquote footer { color: var(--gold-soft); font-size: 14px; }

/* Footer */
.site-footer { text-align: center; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); background: rgba(30,30,30,.92); padding: 24px 16px; }
.site-footer p { margin: 4px 0; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-nav a { padding: 12px 14px; letter-spacing: .08em; }
  .about-grid { grid-template-columns: 1fr; }
  .section-title { margin-top: 40px; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.card h3 { font-size: 22px; color: #fff; font-weight: 400; margin: 0 0 .5em; }
figcaption .fig-title { display: inline; font-size: 15px; color: #fff; font-weight: 600; margin: 0; }
figcaption .year { margin-left: 4px; }
figcaption .year::after { content: ""; display: block; }

.prose { max-width: 760px; }
.prose h2 { font-size: 20px; color: #fff; font-weight: 600; margin: 32px 0 8px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 4px 0; }
.site-footer a { color: var(--muted); text-decoration: underline; }
.site-footer a:hover { color: var(--gold); }

/* Contact form */
.notice { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold-soft); border-radius: var(--radius); padding: 14px 18px; }
.contact-form { display: grid; gap: 18px; margin-top: 24px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; color: #fff; }
.contact-form label .muted { font-weight: 400; }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px;
  padding: 12px 14px; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold-soft); outline-offset: 1px; border-color: transparent; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { justify-self: start; display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 700; background: var(--gold-soft); color: #1c1c1c; padding: 12px 26px; border-radius: 6px; }
.btn:hover { background: var(--gold); }
.btn:disabled { opacity: .7; cursor: default; }
.form-status { padding: 14px 18px; border-radius: 6px; font-weight: 600; }
.form-status.ok { background: rgba(123,211,137,.12); color: #7bd389; }
.form-status.bad { background: rgba(239,127,108,.12); color: #ef7f6c; }
.small { font-size: 14px; }
