/* GPS Fest 2026 refresh: page styles (loaded only on refreshed pages,
 * without the Tailwind build). Header and footer live in chrome.css. */

:root {
  --teal: #218197;
  --teal-dark: #1a6478;
  --teal-deep: #134b5a;
  --sage: #6eac5d;
  --yellow: #ffcb03;
  --peach: #f89962;
  --cyan: #b1fcf9;
  --lavender: #d5afd5;
  --cream: #faf1de;
  --white: #ffffff;
  --ink: #2b2e34;
  --ink-muted: #4a4f58;
  --line: rgb(43 46 52 / 0.32);

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-label: var(--font-display);

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --pad: clamp(4.5rem, 9vw, 7.5rem);
  --wave-h: clamp(28px, 4.5vw, 64px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1 6.5 5 10.8 12 12-7 1.2-11 5.5-12 12-1-6.5-5-10.8-12-12C7 10.8 11 6.5 12 0Z'/%3E%3C/svg%3E");
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 12'%3E%3Cpath d='M2 6c4-5 8-5 12 0s8 5 12 0 8-5 12 0 8 5 12 0 8-5 12 0 8 5 10 1' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --squiggle-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 6'%3E%3Cpath d='M0 3C4 0 8 0 12 3S20 6 24 3' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
  --wave-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 36C110 18 230 8 380 20S650 60 820 48 1090 6 1250 12 1400 34 1440 32V64H0Z'/%3E%3C/svg%3E");
  --wave-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 22C150 40 300 54 470 42S760 6 930 14 1230 54 1440 30V64H0Z'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  @media (prefers-reduced-motion: reduce) {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  /* Lavender sits behind the header so the first section's wave can dip into it
     while the header stays on top for its dropdown. */
  background: linear-gradient(var(--lavender) 0 0) top / 100% 24rem no-repeat, var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1.1em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------------------------------------------------------------
 * Type
 * ------------------------------------------------------------- */

.display {
  font-weight: 800;
  font-size: clamp(3rem, 8.5vw, 7.25rem);
  line-height: var(--display-leading, 0.92);
  letter-spacing: var(--display-track, -0.035em);
  text-transform: uppercase;
}

.display .line {
  display: block;
}

.h2 {
  font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1;
  letter-spacing: var(--heading-track, -0.03em);
  color: var(--heading, var(--teal));
}

.h2 .line {
  display: block;
}

.h3 {
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading, var(--teal));
}

.lede {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink);
}

.muted {
  color: var(--ink-muted);
}

/* One accent word per section: a yellow marker swash, not colored text. */
.mark {
  padding-inline: 0.08em;
  margin-inline: -0.04em;
  color: var(--mark-ink, inherit);
  background: linear-gradient(
    176deg,
    transparent 0 52%,
    var(--mark, var(--yellow)) 52% 90%,
    transparent 90%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* On photos and dark bands a half-height swash leaves dark letters unreadable,
   so the accent becomes a solid tilted tag. */
.mark-solid,
.bg-teal .mark {
  display: inline-block;
  padding: 0.02em 0.14em 0.06em;
  margin-inline: 0;
  color: var(--ink);
  background: var(--yellow);
  rotate: -1.5deg;
}

/* Section labels are little stickers: tilted pill, sparkle, squiggle tail. */
.eyebrow {
  position: relative;
  display: flex;
  width: fit-content;
  max-width: calc(100% - 5.5rem);
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.9rem;
  padding: 0.5rem 0.95rem 0.45rem 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--tag, var(--yellow));
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  rotate: var(--tilt, -2deg);
  &::before {
    content: "";
    flex: none;
    width: 0.85rem;
    height: 0.85rem;
    background: currentColor;
    -webkit-mask: var(--sparkle) center / contain no-repeat;
    mask: var(--sparkle) center / contain no-repeat;
  }
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 0.7rem);
    width: 4.5rem;
    height: 0.8rem;
    translate: 0 -50%;
    background: var(--eyebrow, var(--teal-dark));
    -webkit-mask: var(--squiggle) left center / contain no-repeat;
    mask: var(--squiggle) left center / contain no-repeat;
  }
}

.band:nth-of-type(even) .eyebrow {
  --tilt: 1.5deg;
}

.eyebrow.center {
  margin-inline: auto;
  max-width: 100%;
  &::after {
    display: none;
  }
}

.mono {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------
 * Buttons & links
 * ------------------------------------------------------------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  transition:
    translate 250ms var(--ease-out),
    box-shadow 250ms var(--ease-out);
  &:hover {
    translate: -2px -2px;
    box-shadow: 5px 5px 0 var(--ink);
  }
  &:active {
    translate: 1px 1px;
    box-shadow: 1px 1px 0 var(--ink);
  }
  @media (prefers-reduced-motion: reduce) {
    transition: none;
  }
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color 250ms var(--ease-out);
  &:hover {
    text-decoration-color: currentColor;
  }
  &::after {
    content: "→";
    transition: translate 250ms var(--ease-out);
  }
  &:hover::after {
    translate: 3px 0;
  }
}

/* ---------------------------------------------------------------
 * Section bands + waves
 *
 * A wavy section cuts its own top edge out of its own background
 * with a CSS mask and tucks up under the previous section, so the
 * wave always matches the section (flat color, gradient, or photo)
 * and no per-color rules or spacer elements are needed.
 * ------------------------------------------------------------- */

.band {
  position: relative;
  padding-block: var(--pad);
  background: var(--bg, var(--cream));
  color: var(--fg, var(--ink));
}

.band.wave {
  margin-top: calc(var(--wave-h) * -1);
  padding-top: calc(var(--pad) + var(--wave-h));
  -webkit-mask:
    var(--wave, var(--wave-a)) top / 100% var(--wave-h) no-repeat,
    linear-gradient(#000 0 0) 0 calc(var(--wave-h) - 1px) / 100% calc(100% - var(--wave-h) + 1px) no-repeat;
  mask:
    var(--wave, var(--wave-a)) top / 100% var(--wave-h) no-repeat,
    linear-gradient(#000 0 0) 0 calc(var(--wave-h) - 1px) / 100% calc(100% - var(--wave-h) + 1px) no-repeat;
}

.band.wave-alt {
  --wave: var(--wave-b);
}

.band:has(+ .wave) {
  padding-bottom: calc(var(--pad) + var(--wave-h));
}

.bg-cream { --bg: var(--cream); }
.bg-white { --bg: var(--white); --tag: var(--cyan); }
.bg-cyan { --bg: var(--cyan); }
.bg-lavender { --bg: var(--lavender); --eyebrow: var(--ink); --heading: var(--teal-deep); }
.bg-yellow { --bg: var(--yellow); --eyebrow: var(--ink); --heading: var(--ink); --mark: var(--white); --tag: var(--white); }
.bg-peach { --bg: var(--peach); --eyebrow: var(--ink); --heading: var(--ink); --tag: var(--cream); }
.bg-sage { --bg: var(--sage); --eyebrow: var(--ink); --heading: var(--ink); --tag: var(--cream); }
.bg-teal {
  --bg: var(--teal);
  --fg: var(--white);
  --heading: var(--white);
  --eyebrow: var(--cyan);
  --line: rgb(255 255 255 / 0.42);
  --ink-muted: rgb(255 255 255 / 0.82);
  --mark-ink: var(--ink);
}

/* ---------------------------------------------------------------
 * Layout helpers
 * ------------------------------------------------------------- */

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  @media (min-width: 900px) {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
}

.split > :last-child:not(.frame) {
  @media (min-width: 900px) {
    padding-left: clamp(0rem, 2vw, 2rem);
  }
}

.split.reverse {
  @media (min-width: 900px) {
    grid-template-columns: 7fr 5fr;
  }
}

.split.center {
  align-items: center;
}

.sticky-col {
  @media (min-width: 900px) {
    position: sticky;
    top: 2rem;
  }
}

.measure {
  max-width: 40rem;
}

.stack-lg > * + * {
  margin-top: 2.5rem;
}

/* Numbered list with hairline dividers */
.numlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.numlist > li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.25rem 1.25rem;
  padding: 1.5rem 0;
  @media (min-width: 640px) {
    grid-template-columns: 3.5rem 1fr;
    padding: 1.75rem 0;
  }
}

:is(.numlist, .faq) .num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--badge, var(--yellow));
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  rotate: -6deg;
}

:is(.numlist > li, .faq > details):nth-child(5n + 2) .num { --badge: var(--peach); rotate: 4deg; }
:is(.numlist > li, .faq > details):nth-child(5n + 3) .num { --badge: var(--cyan); rotate: -3deg; }
:is(.numlist > li, .faq > details):nth-child(5n + 4) .num { --badge: var(--lavender); rotate: 6deg; }
:is(.numlist > li, .faq > details):nth-child(5n + 5) .num { --badge: var(--sage); rotate: -4deg; }
.bg-yellow .numlist > li:nth-child(5n + 1) .num,
.bg-lavender .numlist > li:nth-child(5n + 4) .num { --badge: var(--white); }

.numlist .h3 + p {
  margin-top: 0.4rem;
  color: var(--ink-muted);
}

.numlist.two-col {
  @media (min-width: 760px) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }
}

/* Hand-drawn squiggle rules instead of straight hairlines */
.numlist,
.numlist > li,
.faq,
.faq > details,
.rows,
.rows > div,
.facts,
.stage li,
.footer-bottom {
  position: relative;
}

.numlist::before,
.faq::before,
.rows::before,
.facts::before,
.footer-bottom::before,
.numlist > li::after,
.faq > details::after,
.rows > div::after,
.stage li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--line);
  -webkit-mask: var(--squiggle-rule) left center / 24px 6px repeat-x;
  mask: var(--squiggle-rule) left center / 24px 6px repeat-x;
}

.numlist::before,
.faq::before,
.rows::before,
.facts::before,
.footer-bottom::before {
  top: -3px;
}

.numlist > li::after,
.faq > details::after,
.rows > div::after,
.stage li::after {
  bottom: -3px;
}

/* Inside the small cards a full squiggle is too busy; use a soft dotted rule. */
.stage li::after {
  bottom: 0;
  height: 0;
  border-bottom: 2px dotted rgb(43 46 52 / 0.2);
  background: none;
  -webkit-mask: none;
  mask: none;
}

.stage li:last-child::after {
  display: none;
}

/* Fact / stat strip */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
  margin: 0;
  padding-top: 1.75rem;
  @media (min-width: 900px) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.facts dt {
  margin-bottom: 0.45rem;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--eyebrow, var(--teal-dark));
}

.facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.3;
}

.facts.stats dd {
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--heading, var(--teal));
}

.facts.stats dd small {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-muted);
}

/* Definition rows (contact details, etc.) */
.rows {
  margin: 0;
}

.rows > div {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.6rem 0;
  @media (min-width: 640px) {
    grid-template-columns: 11rem 1fr;
  }
}

.rows dt {
  padding-top: 0.25rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--eyebrow, var(--teal-dark));
}

.rows dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.45;
}

.rows dd .muted {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.98rem;
}

/* Media frame */
.frame {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--white);
}

.frame img {
  width: 100%;
}

.caption {
  margin-top: 1rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------------------------------------------------------------
 * Page hero (interior) — gradient band
 * ------------------------------------------------------------- */

.page-hero {
  --bg:
    linear-gradient(100deg, rgb(19 33 40 / 0.72) 0%, rgb(19 33 40 / 0.35) 55%, rgb(19 33 40 / 0.1) 100%),
    var(--hero-img) center / cover;
  --fg: var(--white);
  --eyebrow: var(--yellow);
  --pad: clamp(3.5rem, 7vw, 6rem);
}

.page-hero .display {
  font-size: clamp(3rem, 9vw, 7.5rem);
}

.hero-facts {
  --line: rgb(255 255 255 / 0.5);
  --eyebrow: var(--yellow);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.page-hero .lede {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: rgb(255 255 255 / 0.92);
}

/* ---------------------------------------------------------------
 * Load-in motion (hero only, one shot)
 * ------------------------------------------------------------- */

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }
}

.rise {
  @media (prefers-reduced-motion: no-preference) {
    animation: rise 700ms var(--ease-out) both;
    animation-delay: var(--d, 0ms);
  }
}

/* ---------------------------------------------------------------
 * Home
 * ------------------------------------------------------------- */

.home-hero {
  --bg:
    linear-gradient(180deg, rgb(15 24 30 / 0.15) 0%, rgb(15 24 30 / 0.35) 45%, rgb(15 24 30 / 0.86) 100%),
    var(--hero-img) center 35% / cover;
  --fg: var(--white);
  --eyebrow: var(--yellow);
  --line: rgb(255 255 255 / 0.5);
  --pad: clamp(4rem, 8vw, 6.5rem);
  display: flex;
  min-height: min(92svh, 880px);
  align-items: flex-end;
}

.home-hero .container {
  width: 100%;
}

.home-hero .display {
  font-size: clamp(3rem, 9vw, 8rem);
}

.home-hero .lede {
  max-width: 34rem;
  margin-top: 1.75rem;
  color: rgb(255 255 255 / 0.92);
}

.home-hero .facts {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.home-hero .facts dd img {
  height: 1.6rem;
  margin-top: 0.15rem;
  filter: invert(1);
}

.lineup > li {
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center;
  @media (min-width: 640px) {
    grid-template-columns: 9rem 1fr auto;
  }
}

.lineup .time {
  font-family: var(--font-label);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--eyebrow, var(--teal-dark));
}

.lineup .band-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lineup img {
  width: clamp(3.25rem, 6vw, 4.5rem);
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.schedule-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  @media (min-width: 900px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stage {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}

.stage header {
  padding: 1.25rem 1.5rem;
  background: var(--stage, var(--teal));
  color: var(--stage-ink, var(--white));
  border-bottom: 2px solid var(--ink);
}

.stage header .mono {
  font-size: 0.65rem;
  font-weight: 700;
}

.stage h3 {
  margin-top: 0.3rem;
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.stage ul {
  margin: 0;
  padding: 0.25rem 1.5rem 0.75rem;
  list-style: none;
}

.stage li {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  font-size: 0.98rem;
  line-height: 1.35;
  &:last-child {
    border-bottom: 0;
  }
}

.stage li .mono {
  padding-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
}

.stage.workshop {
  --stage: var(--peach);
  --stage-ink: var(--ink);
}

.stage.vendor {
  --stage: var(--lavender);
  --stage-ink: var(--ink);
}

.figure-pair {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.figure-pair figure {
  margin: 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  @media (min-width: 800px) {
    grid-template-columns: repeat(6, 1fr);
  }
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 14px;
}

.photo-grid img:nth-child(even) {
  @media (min-width: 800px) {
    margin-top: 2.5rem;
  }
}

.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 34rem;
}

.signup input {
  flex: 1 1 16rem;
  min-height: 3.2rem;
  padding: 0 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.signup .btn {
  background: var(--white);
}

.social-rows a {
  text-decoration: none;
}

.social-rows .h3 {
  transition: color 200ms ease;
}

.social-rows a:hover .h3 {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cta-final {
  text-align: center;
}

.cta-final .h2 {
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.cta-final .lede {
  max-width: 34rem;
  margin: 1.5rem auto 0;
}

.cta-final .actions {
  justify-content: center;
}

.cta-final .btn.secondary,
.btn.secondary {
  background: var(--white);
}

/* ---------------------------------------------------------------
 * About
 * ------------------------------------------------------------- */

.team > li {
  @media (min-width: 760px) {
    grid-template-columns: 3.5rem 15rem 1fr;
    align-items: baseline;
  }
}

.team .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.team .role {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.team p {
  grid-column: 2 / -1;
  max-width: 34rem;
  color: var(--ink);
  @media (min-width: 760px) {
    grid-column: auto;
  }
}

/* ---------------------------------------------------------------
 * Contact
 * ------------------------------------------------------------- */

.big-email {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}

.big-email:hover .mark {
  --mark: var(--peach);
}

/* ---------------------------------------------------------------
 * Apply
 * ------------------------------------------------------------- */

.apply-list > li {
  grid-template-columns: 2.75rem 1fr auto;
  align-items: center;
  @media (min-width: 640px) {
    grid-template-columns: 3.5rem 1fr auto;
  }
}

.apply-list .num {
  padding-top: 0;
}

.status {
  padding: 0.35rem 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--white);
}

.closed-card {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
  @media (min-width: 800px) {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2.5rem;
  }
}

.closed-card .icon {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.closed-card .icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.closed-card .h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.closed-card p {
  margin-top: 0.5rem;
  color: var(--ink-muted);
}

/* ---------------------------------------------------------------
 * Workshops
 * ------------------------------------------------------------- */

.workshop-list .when {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.workshop-list .host {
  margin-top: 0.35rem;
  color: var(--ink-muted);
}

.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding: 0.35rem 0.8rem 0.35rem 0.6rem;
  border: 2px dashed var(--ink);
  border-radius: 8px 999px 999px 8px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  rotate: -1deg;
  &::before {
    content: "";
    flex: none;
    width: 0.5rem;
    height: 0.5rem;
    border: 2px solid var(--ink);
    border-radius: 50%;
  }
}

.workshop-list .actions {
  margin-top: 1.1rem;
}

.btn.small {
  padding: 0.7rem 1.1rem;
  font-size: 0.92rem;
}

/* ---------------------------------------------------------------
 * FAQ
 * ------------------------------------------------------------- */

.faq summary {
  display: grid;
  grid-template-columns: 2.75rem 1fr 2.4rem;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.3;
  color: var(--heading, var(--teal));
  cursor: pointer;
  list-style: none;
  @media (min-width: 640px) {
    grid-template-columns: 3.5rem 1fr 2.4rem;
  }
  &::-webkit-details-marker {
    display: none;
  }
}

.faq .toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 2px 2px 0 var(--ink);
  transition:
    rotate 300ms var(--ease-out),
    background-color 200ms ease;
  &::before,
  &::after {
    content: "";
    position: absolute;
    width: 0.8rem;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
  }
  &::after {
    rotate: 90deg;
  }
  @media (prefers-reduced-motion: reduce) {
    transition: none;
  }
}

.faq summary:hover .toggle {
  background: var(--cream);
}

.faq details[open] .toggle {
  rotate: 45deg;
  background: var(--yellow);
}

.faq .answer {
  max-width: 40rem;
  padding: 0 0 1.6rem calc(2.75rem + 1rem);
  @media (min-width: 640px) {
    padding-left: calc(3.5rem + 1rem);
  }
}

.faq details[open] .answer {
  @media (prefers-reduced-motion: no-preference) {
    animation: rise 400ms var(--ease-out) both;
  }
}

.faq .answer a {
  color: var(--teal-dark);
  font-weight: 600;
}
