/* SpringBreakGuide.com — design v4 (2026-11-07): black page like the logo sticker, yellow accent, PCB sticker buttons and header.
   Every image is a square card except page heroes. */
:root {
  --bg: #000000; --surface: #141414; --surface-2: #1e1e1e;
  --fg: #ffffff; --body: #c9c9c9; --mute: #8a8a8a; --line: #262626;
  --sun: #fff100; --grape: #8e76e6; --grape-deep: #6d4cc7;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --text: "Plus Jakarta Sans", system-ui, sans-serif;
  --label: "Bebas Neue", Impact, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1200px; --gutter: clamp(20px, 4vw, 40px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--text); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--fg); margin: 0; text-wrap: balance; letter-spacing: -.025em; line-height: 1.04; }
h1 { font-weight: 800; font-size: clamp(34px, 5vw, 62px); }
h2 { font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); }
h3 { font-weight: 700; font-size: 17px; line-height: 1.25; }
h4 { font-weight: 700; font-size: 15px; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--sun); color: #000; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 8px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Labels ---------- */
.kick { font-family: var(--label); font-size: 15px; color: var(--sun); letter-spacing: .06em; line-height: 1; }
.when { font-size: 13px; color: var(--mute); }
.kick a:hover, .link-sun:hover { text-decoration: underline; }
.link-sun { font-family: var(--label); font-size: 16px; letter-spacing: .06em; color: var(--sun); }
.link-ink { font-family: var(--display); font-weight: 700; border-bottom: 2px solid #000; padding-bottom: 2px; }

/* ---------- Buttons: the PCB sticker system in SBG colors ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--label); font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
  padding: 13px 24px 11px; border-radius: 999px; border: 2px solid #000; background: var(--sun); color: #000;
  box-shadow: 5px 5px 0 #fff; transition: transform .15s var(--ease), box-shadow .15s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 #fff; }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 #fff; }
.btn--white { background: #fff; box-shadow: 5px 5px 0 var(--grape); }
.btn--white:hover { box-shadow: 3px 3px 0 var(--grape); }
.btn--white:active { box-shadow: 0 0 0 var(--grape); }
.btn--ink { background: #000; color: #fff; box-shadow: 5px 5px 0 #fff; }
.btn--ink:hover { box-shadow: 3px 3px 0 #fff; }
.btn--ink:active { box-shadow: 0 0 0 #fff; }
.maniac .btn--ink { box-shadow: 5px 5px 0 var(--grape-deep); }
.maniac .btn--ink:hover { box-shadow: 3px 3px 0 var(--grape-deep); }
.maniac .btn--ink:active { box-shadow: 0 0 0 var(--grape-deep); }
.btn--sm { padding: 9px 16px 7px; font-size: 1.02rem; box-shadow: 3px 3px 0 #fff; }
.btn--sm:hover { box-shadow: 2px 2px 0 #fff; transform: translate(1px, 1px); }
.btn--sm:active { box-shadow: 0 0 0 #fff; transform: translate(3px, 3px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header (PCB pattern) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 2px solid #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a, .nav button { font-family: var(--text); font-weight: 700; font-size: .95rem; color: #fff; text-decoration: none; padding: 9px 12px; border-radius: 999px; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav a:hover, .nav button:hover { background: rgba(255,241,0,.18); color: #fff; }
.nav a[aria-current="page"] { background: var(--sun); color: #000; }
.nav a.is-ext::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 5px; vertical-align: -1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat; opacity: .55; }
.nav .has-sub { position: relative; }
.nav .sub { position: absolute; right: 0; top: calc(100% + 10px); min-width: 260px; background: #000; border: 2px solid #fff; border-radius: 16px; padding: 8px; display: none; flex-direction: column; box-shadow: 6px 6px 0 var(--sun); }
.nav .has-sub[data-open="true"] .sub { display: flex; }
.nav .sub a { display: block; padding: 9px 12px; border-radius: 10px; }
.nav .sub .sub-label { font-family: var(--label); font-size: .95rem; letter-spacing: .08em; color: var(--sun); padding: 10px 12px 2px; }
.nav .sub hr { border: 0; border-top: 2px dashed #333; margin: 6px 4px; }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; background: #000; color: #fff; border: 2px solid #fff; border-radius: 999px; padding: 8px 14px 6px; cursor: pointer; font-family: var(--label); font-size: 1.1rem; letter-spacing: .06em; box-shadow: 3px 3px 0 var(--sun); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.nav-toggle:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--sun); }
.nav-toggle:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--sun); }
.mobile-cta { display: none; }
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .header-cta { display: none; }
  .mobile-cta { display: inline-flex; margin: 14px 12px 4px; align-self: start; width: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #000; border-bottom: 2px solid #fff; flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; gap: 2px; max-height: calc(100vh - 76px); overflow: auto; }
  .site-header[data-nav-open="true"] .nav { display: flex; }
  .nav a, .nav button { padding: 12px 12px; font-size: 1.05rem; text-align: left; width: 100%; border-radius: 12px; }
  .nav .sub { position: static; display: flex; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; }
  .nav .has-sub > button { display: none; }
  .nav .sub .sub-label { padding-top: 14px; }
}

/* ---------- Heroes (the only non-square images) ---------- */
.hero { position: relative; color: #fff; background: var(--surface); }
.hero > img, .hero > video { display: block; width: 100%; height: min(78vh, 720px); object-fit: cover; }
.hero--page > img, .hero--page > video { height: min(52vh, 460px); }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08) 30%, rgba(0,0,0,.88) 100%); }
.hero .wrap { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 48px; display: grid; gap: 14px; }
.hero h1 { max-width: 18ch; }
.hero--page h1 { max-width: 22ch; }
.hero .dek { font-size: 18px; max-width: 58ch; color: #e4e4e4; }
.hero .row { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding-bottom: 6px; }
.hero .row .when { color: #bdbdbd; }

/* ---------- Sections ---------- */
.sec { padding-block: 56px 8px; }
.sec--tight { padding-block: 32px 8px; }
.sec--last { padding-bottom: 64px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sec-head p { color: var(--mute); margin-top: 6px; max-width: 60ch; }
.sec-head a { font-family: var(--label); font-size: 16px; letter-spacing: .06em; color: var(--sun); white-space: nowrap; }
.sec-head a:hover { text-decoration: underline; }
.lede { font-size: 18px; color: #d6d6d6; max-width: 64ch; }

/* ---------- The one card ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: grid; gap: 10px; align-content: start; }
.card .sq { aspect-ratio: 1; width: 100%; border-radius: 10px; overflow: hidden; background: var(--surface); display: block; position: relative; }
.card .sq img { width: 100%; height: 100%; object-fit: cover; }
.card .t { display: grid; gap: 5px; }
.card h3 a:hover { color: var(--sun); }
.card .sub { font-size: 14px; color: var(--mute); }
.card .tix { font-family: var(--label); font-size: 16px; letter-spacing: .06em; color: var(--sun); }
.card .tix:hover { text-decoration: underline; }
.card .excerpt { font-size: 14px; color: var(--body); }
.load-more { margin: 28px auto 0; display: flex; }

/* destinations: name on the photo */
.place .sq::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.85)); }
.place .name { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; gap: 4px; }
.place .name h3 { font-size: 24px; font-weight: 800; }
.place .name span { font-size: 13px; color: #d5d5d5; }
.place p { font-size: 15px; color: var(--body); }

/* ---------- Maniac block (the one inverse section) ---------- */
.maniac { margin-top: 64px; background: var(--sun); color: #000; }
.maniac .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 56px; }
.maniac__kick { display: block; font-family: var(--label); font-size: 17px; letter-spacing: .06em; color: #000; margin-bottom: 10px; }
.maniac h2 { color: #000; font-size: clamp(32px, 4vw, 52px); line-height: 1; }
.maniac p { font-size: 17px; max-width: 50ch; margin: 16px 0 26px; color: #1a1a1a; }
.maniac img { border-radius: 12px; width: 100%; }
.maniac .cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ---------- Newsletter ---------- */
.news-signup .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px; align-items: center; padding-block: 64px; border-bottom: 1px solid var(--line); }
.news-signup p { color: var(--mute); margin-top: 8px; max-width: 48ch; }
.signup-form { display: flex; gap: 10px; }
.signup-form input[type="email"] { flex: 1; min-width: 0; }
.form-note { grid-column: 1 / -1; font-weight: 600; color: var(--sun); }

/* ---------- Forms ---------- */
input, textarea, select { font: inherit; color: #fff; background: #000; border: 2px solid #fff; border-radius: 12px; padding: 12px 16px; width: 100%; }
input[type="email"], input[type="text"], input[type="tel"] { border-radius: 999px; }
textarea { min-height: 150px; resize: vertical; }
.form { display: grid; gap: 16px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 700; color: #fff; font-size: 14px; }
.form .btn { justify-self: start; }

/* ---------- Article ---------- */
.article { padding-block: 40px 24px; }
.article .wrap { max-width: 820px; }
.article__meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.article h1 { font-size: clamp(30px, 4.2vw, 52px); }
.article .lede { margin-top: 18px; }
.article__hero { margin: 28px 0; border-radius: 14px; overflow: hidden; background: var(--surface); }
.article__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 17.5px; line-height: 1.7; color: #d9d9d9; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose a { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 12px; margin: 1.6em auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 13px; color: var(--mute); text-align: center; margin-top: 8px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { border-left: 4px solid var(--sun); margin: 1.6em 0; padding: 4px 0 4px 20px; color: #fff; font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose iframe { max-width: 100%; }
.article__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.tag { font-family: var(--label); font-size: 15px; letter-spacing: .06em; padding: 7px 12px 5px; border-radius: 999px; border: 2px solid #fff; color: #fff; }
.tag:hover { background: var(--sun); color: #000; border-color: var(--sun); }

/* ---------- Blog post promo sidebar (Maniac VIP Card, StudentEscape) ---------- */
.article--rail .wrap { max-width: var(--wrap); }
.article__grid { display: grid; grid-template-columns: minmax(0, 780px) 300px; gap: 56px; justify-content: center; align-items: start; }
.promo-rail { display: grid; gap: 24px; }
/* Follows the reader down the post. --rail-top is set by site.js: 104px when both cards fit the window,
   negative when they don't, so the rail scrolls until its bottom card is in view and then sticks. */
@media (min-width: 961px) {
  .article__grid > .promo-rail { position: sticky; top: var(--rail-top, 104px); gap: 18px; }
  .article__grid > .promo-rail .promo { gap: 6px; padding: 16px 16px 18px; }
  .article__grid > .promo-rail .promo h3 { font-size: 20px; }
  .article__grid > .promo-rail .promo p { font-size: 14px; margin-bottom: 8px; }
  .article__grid > .promo-rail .promo--maniac img { max-width: 160px; margin-bottom: 2px; }
  .article__grid > .promo-rail .promo--escape img { margin-bottom: 4px; }
}
/* Laptop-height windows: drop the descriptions so both cards fit under the sticky header */
@media (min-width: 961px) and (max-height: 800px) {
  .article__grid > .promo-rail .promo p { display: none; }
  .article__grid > .promo-rail .promo h3 { margin-bottom: 6px; }
}
.promo { display: grid; gap: 8px; padding: 18px 18px 22px; border-radius: 14px; border: 2px solid #fff; background: var(--surface); color: var(--body); }
.promo img { width: 100%; border-radius: 10px; margin-bottom: 8px; }
.promo h3 { font-size: 22px; }
.promo p { font-size: 14.5px; line-height: 1.5; margin-bottom: 10px; }
.promo .btn { justify-self: start; }
.promo:hover .btn { transform: translate(1px, 1px); box-shadow: 2px 2px 0 #fff; }
.promo--maniac { background: var(--sun); border-color: var(--sun); color: #1a1a1a; }
.promo--maniac h3, .promo--maniac .kick { color: #000; }
.promo--maniac img { max-width: 220px; margin-inline: auto; }
.promo--maniac .btn--ink { box-shadow: 3px 3px 0 var(--grape-deep); }
.promo--maniac:hover .btn--ink { box-shadow: 2px 2px 0 var(--grape-deep); }
/* Mid-post copy of the cards (phones/tablets only); undo .prose styles inside it */
.promo-inline { display: none; }
.prose .promo-inline { margin-block: 2em; }
.prose .promo { text-decoration: none; }
.prose .promo--escape { color: var(--body); }
.prose .promo--maniac { color: #1a1a1a; }
.prose .promo h3 { margin-top: 0; font-size: 22px; }
.prose .promo > * + * { margin-top: 0; }
.prose .promo img { margin: 0 0 8px; }
.prose .promo--maniac img { margin-inline: auto; }
@media (max-width: 960px) {
  .article__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .article--rail .wrap { max-width: 820px; }
  .article__grid > .promo-rail { display: none; }
  .promo-inline { display: block; }
  .promo-rail { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .promo-rail { grid-template-columns: 1fr; } }

/* ---------- Copy blocks on pages ---------- */
.copy { padding-block: 48px 8px; }
.copy .wrap { max-width: 820px; }
.copy .prose h2:first-child { margin-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.checks { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; font-size: 16px; color: #e6e6e6; }
.checks li { display: flex; gap: 12px; align-items: start; }
.checks li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--sun); flex: none; margin-top: 7px; }

/* ---------- Events (pre-rendered + widget) ---------- */
.events-note { font-size: 13px; color: var(--mute); margin-top: 14px; }
[data-maniac-events] { min-height: 40px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: 96px; display: grid; gap: 18px; justify-items: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 28px; font-size: 14px; color: var(--mute); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 40ch; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--sun); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maniac .wrap, .news-signup .wrap, .split { grid-template-columns: 1fr; }
  .hero > img, .hero > video { height: min(70vh, 560px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-header .wrap { min-height: 64px; gap: 12px; }
  .brand img { height: 38px; }
  .hero > img, .hero > video { height: min(80vh, 520px); }
  /* Page heroes grow to fit their text on phones instead of letting it run up under the header */
  .hero--page { display: grid; }
  .hero--page > img, .hero--page > video, .hero--page > .wrap { grid-area: 1 / 1; }
  .hero--page > img, .hero--page > video { height: 100%; min-height: 300px; }
  .hero--page > .wrap { position: relative; align-self: end; padding-top: 72px; }
  .hero .wrap { padding-bottom: 28px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cards--3 { grid-template-columns: 1fr; }
  .signup-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .card .sq img { transition: transform .4s ease; }
  .card:hover .sq img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-toggle { transition: none; }
}

/* ---------- Homepage events: swipeable row (up to 8), arrows on desktop ---------- */
.sec-head__end { display: flex; align-items: center; gap: 18px; }
.rail-nav { display: flex; gap: 10px; }
.rail-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 2px solid #000; background: var(--sun); color: #000; box-shadow: 3px 3px 0 #fff; cursor: pointer; padding: 0; transition: transform .15s var(--ease), box-shadow .15s var(--ease), opacity .15s; }
.rail-btn svg { width: 20px; height: 20px; }
.rail-btn:hover:not(:disabled) { transform: translate(1px, 1px); box-shadow: 2px 2px 0 #fff; }
.rail-btn:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: 0 0 0 #fff; }
.rail-btn:disabled { opacity: .3; cursor: default; }
.cards.cards--rail {
  grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.cards--rail::-webkit-scrollbar { display: none; }
.cards--rail > .card { scroll-snap-align: start; }
@media (max-width: 960px) {
  .rail-nav { display: none; }
  /* Row runs to the screen edge so the next card peeks in as a swipe hint */
  .cards.cards--rail { grid-auto-columns: 40%; gap: 16px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}
@media (max-width: 560px) { .cards.cards--rail { grid-auto-columns: 72%; } }
