/* Wolfpad Gaming — site styles */

/* ------------------------------------------------------------ settings */
:root {
  --sqs-site-gutter: 3vw;          /* page side padding (desktop) */
  --sqs-mobile-site-gutter: 6vw;   /* page side padding (mobile) */
  --sqs-site-max-width: 1400px;

  --purple: #240d2d;
  --light: #f5f5f5;
  --grey: #d9d9d9;
  --magenta: #e716ee;

  --font-heading: 'Tomorrow', 'Arial Narrow', sans-serif;
  --font-body: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --font-button-header: 'Poppins', 'Helvetica Neue', Arial, sans-serif;

  /* fluid type step: 1.2vw on desktop, 1.2% of viewport height (max 900px) on mobile */
  --step: 1.2vw;
  --header-h: calc(6vw + 65px);
}
@media (max-width: 767px) {
  :root { --step: calc(.012 * min(100vh, 900px)); --header-h: calc(12vw + 37px); }
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; }
@media (max-width: 991px) { html { font-size: 16px; } }
body { overflow-wrap: break-word;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: .01em;
  background: var(--purple);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; }
a { color: inherit; }
strong, b { font-weight: 700; }
button { font: inherit; color: inherit; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: .6em 1em; background: #fff; color: #000; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ------------------------------------------------------------ themes */
.theme-black          { --bg: var(--purple); --text: #fff;          --heading: #fff;          --btn: var(--grey); }
.theme-white          { --bg: #fff;          --text: var(--purple); --heading: var(--purple); --btn: #000; }
.theme-light          { --bg: var(--light);  --text: var(--purple); --heading: #000;          --btn: #000; }
.theme-bright-inverse { --bg: #000;          --text: var(--grey);   --heading: var(--grey);   --btn: var(--grey); }

/* ------------------------------------------------------------ typography */
.rte, .site-header, .site-footer, .contact-form, .accordion, .sec-list { font-family: var(--font-body); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--heading);
  margin: 2rem 0;
}
h1 { font-size: calc(3 * var(--step) + 1rem);   line-height: 1.056; }
h2 { font-size: calc(1.8 * var(--step) + 1rem); line-height: 1.1136; }
h3 { font-size: calc(1.2 * var(--step) + 1rem); line-height: 1.1424; }
h4 { font-size: calc(.6 * var(--step) + 1rem);  line-height: 1.1712; }
p { margin: 1rem 0; }
/* paragraphs and lists always use the body font, even inside embedded code blocks that restyle <body> */
main p, main li, main blockquote { font-family: var(--font-body); letter-spacing: .01em; }
/* list and testimonial text had no extra letter spacing in the original */
main .list-item-desc p, main .slide-desc p { letter-spacing: -.012em; }
.t-large { font-size: calc(.4 * var(--step) + 1rem); }
.t-small { font-size: calc(-.1 * var(--step) + 1rem); }
.rte > :first-child { margin-top: 0; }
.rte > :last-child { margin-bottom: 0; }
.rte p { white-space: pre-wrap; }
.rte a { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.t-accent { color: var(--magenta); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1rem;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0;
  padding: 1em 1.3em;
  border: 1px solid var(--btn);
  color: var(--btn);
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.btn:hover { background: var(--btn); color: var(--bg); }

/* ------------------------------------------------------------ header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  color: var(--text);
}
.site-header.theme-light, .site-header.theme-white { --title: #000; --btn: #000; }
.site-header.theme-black { --title: #fff; }
.hd-inner {
  display: grid;
  grid-template-columns: 1fr 31.8vw 1fr;
  align-items: center;
  padding: 3vw;
}
.hd-nav { display: flex; flex-wrap: wrap; column-gap: 1.6em; font-size: 1rem; line-height: 1.5; letter-spacing: .01em; }
.nav-item { position: relative; }
.nav-link {
  display: inline-block; padding: 0 0 3px; border: 0; background: none; cursor: pointer;
  text-decoration: none; color: inherit; letter-spacing: inherit; line-height: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 calc(100% - 2px); background-size: 0 1px;
  transition: background-size .3s ease;
}
.nav-link:hover, .nav-item.is-active > .nav-link { background-size: 100% 1px; }
.nav-dropdown {
  position: absolute; top: 100%; left: -1em; min-width: 12em; padding: .6em 1em;
  background: var(--bg); color: var(--text); opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; z-index: 5;
}
.site-header.theme-light .nav-dropdown, .site-header.theme-white .nav-dropdown { background: var(--light); }
.nav-dropdown a { display: block; padding: .3em 0; text-decoration: none; white-space: nowrap; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current] { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.nav-folder:hover .nav-dropdown, .nav-folder:focus-within .nav-dropdown, .nav-folder.is-open .nav-dropdown {
  opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease;
}
.hd-title { text-align: center; }
.hd-title a {
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  font-size: calc(.5 * var(--step) + 1rem); line-height: 1.2; color: var(--title, var(--text)); text-decoration: none;
}
.hd-actions { display: flex; justify-content: flex-end; }
.hd-btn { font-family: var(--font-button-header); font-weight: 400; text-transform: none; line-height: 1.5; padding: 1em 1.3em; }
.hd-burger { display: none; }

@media (max-width: 767px) {
  .hd-inner { grid-template-columns: 50px 1fr 50px; padding: 6vw; min-height: var(--header-h); }
  .hd-nav, .hd-actions { display: none; }
  .hd-title { grid-column: 2; }
  .hd-burger {
    display: block; grid-column: 3; position: relative; width: 50px; height: 37px;
    border: 0; background: none; cursor: pointer; padding: 0; z-index: 31;
  }
  .hd-burger span {
    position: absolute; left: 50%; top: 50%; width: 28px; height: 1px; background: var(--title, currentColor);
    transform: translate(-50%, -50%); transition: transform .3s ease;
  }
  .hd-burger span:last-child { transform: translate(-50%, -50%) rotate(90deg); }
  .menu-open .hd-burger span { background: #fff; }
  .menu-open .hd-burger span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
  .menu-open .hd-burger span:last-child { transform: translate(-50%, -50%) rotate(135deg); }
  .menu-open .hd-title a { color: #fff; position: relative; z-index: 31; }
}
.m-menu {
  position: fixed; inset: 0; z-index: 30; background: var(--bg); color: var(--text);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem;
  padding: calc(var(--header-h) + 2rem) 6vw 3rem; opacity: 0; transition: opacity .3s ease;
}
.m-menu[hidden] { display: none; }
.menu-open .m-menu { opacity: 1; }
.menu-open { overflow: hidden; }
.m-nav { display: flex; flex-direction: column; align-items: center; gap: .6em; }
.m-link { font-size: 1.6rem; line-height: 1.4; text-decoration: none; background: none; border: 0; cursor: pointer; letter-spacing: .01em; font-weight: 300; }
.m-sub { display: none; flex-direction: column; align-items: center; gap: .3em; padding: .3em 0 .5em; }
.m-folder.is-open .m-sub { display: flex; }
.m-sublink { font-size: 1.2rem; opacity: .85; }
.m-btn { font-family: var(--font-button-header); font-weight: 400; text-transform: none; }

/* ------------------------------------------------------------ sections */
.sec {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg); color: var(--text);
  overflow: hidden;
}
main > .sec:first-child { padding-top: var(--header-h); }
.sec.h-small  { min-height: 33vh; }
.sec.h-medium { min-height: 66vh; }
.sec.h-large  { min-height: 100vh; }
.sec.has-custom-h { min-height: var(--custom-h); }
.sec-content { position: relative; z-index: 1; width: 100%; }
.h-small  > .sec-content { padding: 3.3vmax 0; }
.h-medium > .sec-content { padding: 6.6vmax 0; }
.h-large  > .sec-content { padding: 10vmax 0; }
.has-custom-h > .sec-content { padding: 1vmax 0; }
.sec.bg-inset { padding-top: 3vw; padding-bottom: 3vw; }
main > .sec.bg-inset:first-child { padding-top: var(--header-h); }
.bg-inset > .sec-content { padding-left: 3vw; padding-right: 3vw; }

.sec-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.bg-inset > .sec-bg { inset: 3vw; }
.sec-bg > img, .sec-bg > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-overlay { position: absolute; inset: 0; background: var(--bg); pointer-events: none; }

/* layout grid: block positions come from each page's own layout rules */
.fluid-engine { width: 100%; }
.fe-block { position: relative; min-width: 0; }
.fe-block > .blk { height: 100%; display: flex; flex-direction: column; }

/* ------------------------------------------------------------ blocks */
.blk-html .rte { width: 100%; }

/* images fill their layout box without changing its size */
.blk-imageFluid { position: relative; }
.img-wrap { position: absolute; inset: 0; overflow: hidden; }
.img-wrap > img { display: block; width: 100%; height: 100%; object-fit: var(--fit, cover); object-position: var(--pos, 50% 50%); }
/* shape-masked images (circle etc.) are square, centred in their block */
.blk-imageFluid:has(> .is-masked) { container-type: size; }
.img-wrap.is-masked { width: min(100cqw, 100cqh); height: min(100cqw, 100cqh); margin: auto; }
.img-overlay { position: absolute; inset: 0; background: var(--bg); pointer-events: none; }
.blk-imageFluid > a { position: absolute; inset: 0; display: block; }
canvas.refract { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.refract-ready > img { visibility: hidden; }

.blk-horizontalrule { justify-content: center; }
.blk-horizontalrule hr { width: 100%; height: 1px; border: 0; margin: 0; background: var(--text); }

.blk-shape .shape { width: 100%; height: 100%; }

.video { width: 100%; }
.video video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.blk-video { justify-content: flex-start; }
.video.has-play { position: relative; }
.video-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 0; border-radius: 50%; background: rgba(40, 40, 40, .75); cursor: pointer; transition: background .2s, opacity .2s; }
.video-play::before { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.video-play:hover, .video-play:focus-visible { background: rgba(40, 40, 40, .95); }
.video.is-playing .video-play { opacity: 0; pointer-events: none; }

/* marquee (scrolling text) */
.blk-scrolling { justify-content: center; }
.marquee {
  overflow: hidden; width: 100%;
  -webkit-mask-image: var(--mq-mask); mask-image: var(--mq-mask);
}
.mq-track { display: flex; width: max-content; will-change: transform; }
.mq-item {
  margin: 0; padding-right: var(--mq-gap); white-space: nowrap;
  font-size: calc((var(--mq-size) - 1) * var(--step) + 1rem);
  line-height: 1.4; letter-spacing: .12em; color: var(--heading);
}
.marquee.is-running .mq-track { animation: mq-left var(--mq-dur, 30s) linear infinite; }
.marquee.is-running[data-dir="right"] .mq-track { animation-name: mq-right; }
@keyframes mq-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* accordion */
.accordion { list-style: none; margin: 0; padding: 0; width: 100%; }
.acc-divider { height: var(--accordion-divider-thickness, 1px); background: var(--text); opacity: var(--accordion-divider-opacity, .2); }
.acc-item > .acc-divider:first-child { display: block; }
.acc-item + .acc-item > .acc-divider:first-child { display: none; }
.acc-title { margin: 0; }
.acc-title button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: var(--accordion-item-padding-top, 10px) var(--accordion-item-padding-right, 0) var(--accordion-item-padding-bottom, 10px) var(--accordion-item-padding-left, 0);
  background: none; border: 0; cursor: pointer; text-align: left; letter-spacing: .01em; font-weight: 300; line-height: normal;
}
.acc-icon { position: relative; flex: none; width: var(--accordion-icon-size, 14px); height: var(--accordion-icon-size, 14px); }
.acc-icon::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 70.7%; height: 70.7%;
  border-right: var(--accordion-icon-thickness, 1px) solid currentColor; border-bottom: var(--accordion-icon-thickness, 1px) solid currentColor;
  transform: translate(-50%, -75%) rotate(45deg); transition: transform .3s ease;
}
[aria-expanded="true"] > .acc-icon::before { transform: translate(-50%, -25%) rotate(-135deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.acc-panel > .acc-desc { overflow: hidden; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-desc { padding: 0 var(--accordion-description-padding-right, 0) 0 var(--accordion-description-padding-left, 0); width: var(--accordion-description-width, 100%); }
.acc-desc > :first-child { margin-top: 0; }
.acc-desc > :last-child { margin-bottom: var(--accordion-description-padding-bottom, 15px); }

/* contact form */
.contact-form { width: 100%; }
.f-field { margin: 0 0 20px; }
.f-field label { display: block; }
.f-req { font-size: calc(-.1 * var(--step) + 1rem); opacity: .7; }
.contact-form input[type="email"], .contact-form input[type="text"], .contact-form input[type="tel"], .contact-form textarea {
  display: block; width: 100%; margin: 0; padding: 5px 0;
  font: inherit; letter-spacing: inherit; color: inherit;
  background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, currentColor 45%, transparent); border-radius: 0;
  transition: border-color .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: currentColor; }
.contact-form textarea { height: 100px; resize: vertical; }
.f-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.f-actions { margin-top: 20px; }
.form-center .f-actions, .btn-center .f-actions { text-align: center; }
.btn-right .f-actions { text-align: right; }
.f-status { min-height: 1.5em; margin: 1rem 0 0; }
.f-status.is-error { color: #ff8a8a; }
.contact-form.is-sent .f-field, .contact-form.is-sent .f-actions { display: none; }

/* code blocks keep their own styling */
.blk-code .code { width: 100%; font-family: var(--font-body); } /* Squarespace overrode the embed's own body font */

/* ------------------------------------------------------------ list sections */
.sec-list { display: block; }
.list-wrap { position: relative; min-height: 100px; }
.list-full { padding-left: 3vw; padding-right: 3vw; }
.list-title p { margin: 0; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; line-height: 1.5;
  font-size: calc(1.8 * var(--step) + 1rem); color: var(--heading); }

/* testimonial slideshow */
.slideshow { position: relative; min-height: 66vh; display: flex; align-items: center; }
.slides { position: relative; width: 100%; display: grid; }
.slide { grid-area: 1 / 1; display: flex; justify-content: center; align-items: center; padding: 0;
  opacity: 0; visibility: hidden; transform: translateX(4%); transition: opacity .6s ease, transform .6s ease, visibility 0s .6s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .6s ease; }
.slide.is-leaving { transform: translateX(-4%); }
.slide-content { width: 48%; text-align: center; }
.slide-title { margin: 0; font-size: calc((var(--title-size) - 1) * var(--step) + 1rem); line-height: 1.1136; }
.slide-desc { font-size: calc((var(--body-size) - 1) * var(--step) + 1rem); letter-spacing: normal; margin-top: 68px; }
.slide-desc p { margin: 0; }
.ss-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: #4a4a4a; color: #fff; display: grid; place-items: center; transition: background-color .2s ease;
}
.ss-arrow:hover { background: #2f2f2f; }
.ss-arrow svg { width: 30px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.ss-prev { left: 3vw; }
.ss-next { right: 3vw; }

/* simple list (columns) */
.simple-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); align-items: start; }
.list-media { aspect-ratio: 4 / 3; overflow: hidden; }
.list-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.list-item-title { margin: 1.375rem 0 0; font-size: calc((var(--title-size) - 1) * var(--step) + 1rem); line-height: 1.1136; }
.list-item-desc { font-size: calc((var(--body-size) - 1) * var(--step) + 1rem); line-height: 1.5; margin-top: 1.375rem; }
.list-item-desc p { margin: 1rem 0; }
.list-item-desc p:first-child { margin-top: 0; }
.list-item-desc p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
  /* the tallest slide sets the height; arrows sit 20px above the bottom edge */
  .slideshow { display: block; min-height: 0; padding: 96px 0; }
  .slide { min-width: 0; }
  .slide-desc { margin-top: 35px; }
  .slide-content { width: 100%; padding: 0 20px; }
  .slideshow .ss-arrows-row { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 18px; }
  .ss-arrow { position: static; transform: none; width: 40px; height: 40px; background: #000; }
  .ss-arrow svg { width: 20px; height: 10px; }
  .simple-list { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ footer */
.site-footer .sec-content { padding: 0; }

/* ------------------------------------------------------------ scroll fade-in */
.js .fade { opacity: 0; transition: opacity .9s ease; }
.js .fade.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .fade { opacity: 1; transition: none; }
  .marquee.is-running .mq-track { animation-duration: 0s; animation: none; }
  .slide, .acc-panel { transition: none; }
}
