/*
  SERPENT VAULT WEBSITE
  Main colours and spacing can be changed in :root below.
  Built as plain HTML/CSS/JS for easy editing in Adobe Dreamweaver.
*/
:root {
  --black: #050505;
  --black-soft: #0b0b0b;
  --panel: #111111;
  --panel-light: #181818;
  --white: #f6f3ef;
  --muted: #aaa6a0;
  --line: rgba(255,255,255,.12);
  --red: #bf0909;
  --red-bright: #e21b1b;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --section: clamp(78px, 10vw, 150px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.wrap { width: min(var(--max), calc(100% - (var(--pad) * 2))); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(42px, 6vw, 78px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; transform: translateY(-150%); background: white; color: black; padding: 10px 14px; }
.skip-link:focus { transform: none; }
.eyebrow { margin: 0 0 16px; color: var(--red-bright); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 700; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { line-height: 1.08; }
h1 { max-width: 1000px; margin-bottom: 28px; font-size: clamp(3.1rem, 8vw, 7.6rem); font-weight: 300; letter-spacing: -.055em; }
h2 { margin-bottom: 24px; font-size: clamp(2.35rem, 5vw, 5rem); font-weight: 300; letter-spacing: -.04em; }
h3 { font-size: 1.25rem; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.scrolled { background: rgba(5,5,5,.94); border-color: var(--line); backdrop-filter: blur(12px); }
.header-inner { width: min(1400px, calc(100% - 36px)); min-height: 92px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 150px; height: 68px; object-fit: cover; object-position: center; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.site-nav a { text-decoration: none; color: #ddd; font-size: .83rem; text-transform: uppercase; letter-spacing: .11em; transition: color .2s; }
.site-nav a:hover, .site-nav a:focus-visible { color: white; }
.site-nav .nav-cta { border: 1px solid rgba(255,255,255,.45); padding: 13px 18px; }
.site-nav .nav-cta:hover { border-color: var(--red-bright); background: var(--red); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 9px; background: transparent; border: 0; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: white; transition: transform .2s, opacity .2s; }

.hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url('../images/hero.jpg') center 38%/cover no-repeat; transform: scale(1.03); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.68) 48%, rgba(0,0,0,.1) 100%), linear-gradient(0deg, rgba(0,0,0,.85), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 160px; padding-bottom: clamp(95px, 12vh, 150px); }
.hero-copy { max-width: 680px; margin-bottom: 34px; color: #d5d1ca; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 14px 25px; border: 1px solid transparent; text-decoration: none; text-transform: uppercase; letter-spacing: .11em; font-size: .78rem; font-weight: 700; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); border-color: var(--red); color: white; }
.button-primary:hover { background: var(--red-bright); border-color: var(--red-bright); }
.button-secondary { border-color: rgba(255,255,255,.5); background: rgba(0,0,0,.15); }
.button-secondary:hover { border-color: white; background: rgba(255,255,255,.08); }
.scroll-cue { position: absolute; z-index: 3; right: 34px; bottom: 35px; text-decoration: none; color: #bbb; text-transform: uppercase; letter-spacing: .18em; font-size: .65rem; writing-mode: vertical-rl; }
.scroll-cue span { color: var(--red-bright); font-size: 1rem; }

.intro { background: var(--white); color: #111; }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(45px, 9vw, 130px); align-items: start; }
.intro h2 { margin-bottom: 0; }
.prose { padding-top: 12px; color: #4b4844; font-size: clamp(1.02rem, 1.4vw, 1.19rem); }
.prose p + p { margin-top: 22px; }
.feature-band { background: #0a0a0a; border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid article { padding: 18px 30px; border-left: 1px solid var(--line); }
.stats-grid article:first-child { border-left: 0; padding-left: 0; }
.stats-grid strong, .stats-grid span { display: block; }
.stats-grid strong { margin-bottom: 5px; font-size: 1rem; }
.stats-grid span { color: var(--muted); font-size: .85rem; }

.collection { background: var(--black-soft); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 60px; align-items: end; margin-bottom: clamp(45px, 7vw, 85px); }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 8px; color: var(--muted); }
.species-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 12px; }
.species-card { position: relative; overflow: hidden; min-width: 0; padding: 0; border: 0; background: #222; color: white; text-align: left; cursor: zoom-in; }
.species-card-wide { grid-column: span 2; }
.species-card-tall { grid-row: span 2; }
.species-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease, filter .3s; }
.species-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.9), transparent 65%); }
.species-card span { position: absolute; z-index: 2; inset: auto 24px 22px; }
.species-card b, .species-card small { display: block; }
.species-card b { font-size: clamp(1.15rem, 2vw, 1.55rem); }
.species-card small { margin-top: 4px; color: #c7c3bd; }
.species-card:hover img { transform: scale(1.055); filter: brightness(1.08); }
.centered-action { margin-top: 48px; text-align: center; }

.shows { background: var(--white); color: #111; }
.shows .section-heading > p { color: #595650; }
.show-list { border-top: 1px solid #cbc7c0; }
.show-card { display: grid; grid-template-columns: 125px 1fr auto; gap: 28px; align-items: center; padding: 27px 5px; border-bottom: 1px solid #cbc7c0; }
.show-card time { display: flex; align-items: baseline; gap: 10px; }
.show-card time span { color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; }
.show-card time strong { font-size: 1.75rem; line-height: 1; }
.show-type { margin: 0 0 3px; color: var(--red); text-transform: uppercase; letter-spacing: .11em; font-size: .7rem; font-weight: 700; }
.show-card h3 { margin: 0 0 4px; }
.show-card div > p:last-child { margin: 0; color: #66625d; font-size: .9rem; }
.show-card > a { text-decoration: none; border-bottom: 1px solid #777; font-size: .82rem; }
.show-card > a:hover { color: var(--red); border-color: var(--red); }
.featured-show { background: #111; color: white; margin-inline: -18px; padding-inline: 23px; border-color: #333; }
.featured-show div > p:last-child { color: #bbb; }

.shipping { background: #0a0a0a; }
.shipping-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(48px, 8vw, 115px); align-items: center; }
.shipping-image { min-height: 690px; overflow: hidden; }
.shipping-image img { width: 100%; height: 100%; min-height: 690px; object-fit: cover; object-position: 58% center; }
.shipping-copy h2 { font-size: clamp(2.4rem, 4.8vw, 4.8rem); }
.info-list { margin: 45px 0 35px; border-top: 1px solid var(--line); }
.info-list article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.info-list article > span { color: var(--red-bright); font-size: .78rem; }
.info-list h3 { margin: 0 0 7px; }
.info-list p { margin: 0; color: var(--muted); }
.text-link { color: white; text-underline-offset: 6px; text-decoration-color: var(--red); }

.contact { background: var(--red); }
.contact-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; }
.contact .eyebrow { color: #1a0000; }
.contact h2 { margin-bottom: 22px; }
.contact-panel > div:first-child > p:last-child { max-width: 700px; color: #ffe7e7; font-size: 1.05rem; }
.contact-actions { padding-top: 12px; }
.email-link { display: inline-block; margin-bottom: 24px; font-size: clamp(1.3rem, 3vw, 2.3rem); text-decoration-thickness: 1px; text-underline-offset: 8px; }
.contact-actions p { color: white; }
.contact-actions p span { color: #ffd1d1; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.social-links a { padding: 9px 13px; border: 1px solid rgba(255,255,255,.55); text-decoration: none; text-transform: uppercase; letter-spacing: .09em; font-size: .7rem; }
.social-links a:hover { background: white; color: var(--red); }
.site-footer { padding: 45px 0; background: #030303; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 30px; }
.footer-inner img { width: 140px; height: 70px; object-fit: cover; }
.footer-inner p { margin: 0; color: #8d8984; font-size: .82rem; }

.lightbox { max-width: min(1100px, 92vw); max-height: 92vh; padding: 0; border: 1px solid #333; background: #050505; color: white; }
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(5px); }
.lightbox img { max-height: 78vh; width: 100%; object-fit: contain; }
.lightbox p { margin: 0; padding: 16px 20px; text-align: center; }
.lightbox-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(0,0,0,.75); color: white; font-size: 2rem; line-height: 1; cursor: pointer; }

@media (max-width: 980px) {
  .header-inner { min-height: 76px; }
  .brand img { width: 126px; height: 58px; }
  .menu-toggle { display: block; z-index: 3; }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 90px 10vw; background: rgba(5,5,5,.98); transform: translateX(100%); transition: transform .3s ease; }
  .site-nav.open { transform: none; }
  .site-nav a { font-size: 1.15rem; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.38)), linear-gradient(0deg, rgba(0,0,0,.8), transparent 55%); }
  .intro-grid, .shipping-grid, .contact-panel { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .stats-grid article:nth-child(3) { border-left: 0; padding-left: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .species-grid { grid-template-columns: repeat(2, 1fr); }
  .shipping-image, .shipping-image img { min-height: 480px; }
  .contact-panel { gap: 35px; }
  .footer-inner { grid-template-columns: 130px 1fr; }
  .footer-inner p:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --pad: 18px; }
  h1 { font-size: clamp(2.9rem, 16vw, 4.6rem); }
  .hero { min-height: 760px; }
  .hero-media { background-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.98) 5%, rgba(0,0,0,.55) 75%, rgba(0,0,0,.25)); }
  .hero-content { padding-bottom: 78px; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid article, .stats-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0; }
  .stats-grid article:first-child { border-top: 0; }
  .species-grid { display: block; }
  .species-card { width: 100%; height: 330px; margin-bottom: 12px; }
  .show-card, .featured-show { grid-template-columns: 88px 1fr; gap: 15px; margin-inline: 0; padding-inline: 0; }
  .featured-show { padding-inline: 12px; }
  .show-card > a { grid-column: 2; justify-self: start; }
  .show-card time { display: block; }
  .show-card time span, .show-card time strong { display: block; }
  .show-card time strong { margin-top: 5px; font-size: 1.45rem; }
  .shipping-image, .shipping-image img { min-height: 380px; }
  .footer-inner { display: block; text-align: center; }
  .footer-inner img { margin: 0 auto 18px; }
  .footer-inner p + p { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
