/* ==========================================================================
   Strangelund — CSS Custom Properties & Base Styles
   ========================================================================== */

/* ==========================================================================
   Font Faces
   ========================================================================== */

@font-face {
  font-family: 'Titillium Web';
  src: url('/fonts/TitilliumWeb-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Titillium Web';
  src: url('/fonts/TitilliumWeb-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Titillium Web';
  src: url('/fonts/TitilliumWeb-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Titillium Web';
  src: url('/fonts/TitilliumWeb-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Titillium Web';
  src: url('/fonts/TitilliumWeb-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/SourceSans3-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/SourceSans3-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/SourceSans3-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/SourceSans3-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/SourceSans3-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors — placeholder palette, swap later for branding */
  --color-bg: #08081a;
  --color-bg-secondary: #141414;
  --color-text: #e8e8e8;
  --color-text-muted: #888;
  --color-accent: #c4f04d;
  --color-border: #333;

  /* Typography */
  --font-body: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Titillium Web', var(--font-body);
  --font-mono: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;

  --text-base: 1.25rem;
  --text-sm: 1rem;
  --text-lg: 1.5rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3rem;

  --line-height: 1.6;
  --line-height-tight: 1.2;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Layout */
  --max-width: 42rem;
  --max-width-wide: 64rem;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

* {
  margin: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Texture applied only to main content area - see .main::before */

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--line-height-tight);
  font-weight: 600;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }

p, ul, ol {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   Layout
   ========================================================================== */

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

.container--wide {
  max-width: var(--max-width-wide);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  padding-block: var(--space-2xl) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
  background-image: url('/images/home-header.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.6;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-sm);
  min-height: 50vh;
}

.site-title {
  font-size: clamp(3rem, 14vw, 9rem);
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
  margin: 0;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-title a:hover {
  text-decoration: none;
}

.site-title a:hover {
  color: #4de8ff;
}

.site-tagline {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-style: italic;
  color: var(--color-text);
  margin: -1rem 0 0 0;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.site-nav {
  display: flex;
  gap: var(--space-md);
}

.site-nav a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #4de8ff;
}

/* ==========================================================================
   Main Content
   ========================================================================== */

.main {
  padding-block: var(--space-2xl);
}

/* ==========================================================================
   Home Page
   ========================================================================== */

.hero {
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.hero__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.hero__lede {
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.hero__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

.thesis {
  max-width: var(--max-width);
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  position: relative;
}

.thesis::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: var(--max-width-wide);
  height: 1px;
  background-color: rgba(77, 232, 255, 0.3);
}

.thesis p {
  margin-bottom: var(--space-sm);
}

.thesis p:last-child {
  margin-bottom: 0;
}

.case-study-card--featured {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text);
  text-decoration: none;
  margin-bottom: var(--space-2xl);
  position: relative;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.25s ease;
}


.case-study-card--featured:hover {
  text-decoration: none;
  border-color: var(--color-accent);
  background-color: #1a1a1a;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.case-study-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.25s ease;
}

.case-study-card:hover {
  text-decoration: none;
  border-color: var(--color-accent);
  background-color: #1a1a1a;
}

.case-study-card__label {
  display: inline-block;
  width: fit-content;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(77, 232, 255, 0.9);
  background-color: transparent;
  padding: 0;
  margin-top: auto;
  margin-bottom: 0;
}

.case-study-card__label--orange {
  color: rgba(255, 166, 77, 0.9);
}

.case-study-card__label--pink {
  background-color: transparent;
  color: rgba(255, 77, 166, 0.9);
  font-weight: 700;
  padding: 0;
}

.case-study-card__client {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.case-study-card__summary {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height);
  margin-bottom: var(--space-sm);
}

.case-study-card__summary em {
  display: block;
  font-weight: 400;
  color: #a0a0a0;
  margin-top: var(--space-xs);
}

/* Past Work Section */
.case-studies-past {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(77, 232, 255, 0.3);
}

.case-studies-past__heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

/* Primary Card — Hover Glow */
.case-study-card--current-work:hover {
  border-color: rgba(77, 232, 255, 0.6);
  box-shadow: 0 0 20px rgba(77, 232, 255, 0.1);
}

.case-study-card--drip:hover {
  border-color: rgba(255, 77, 200, 0.6);
  box-shadow: 0 0 20px rgba(255, 77, 200, 0.1);
}

.case-study-card--soco:hover {
  border-color: rgba(77, 200, 255, 0.6);
  box-shadow: 0 0 20px rgba(77, 200, 255, 0.1);
}

.case-study-card--mad-branch:hover {
  border-color: rgba(255, 166, 77, 0.6);
  box-shadow: 0 0 20px rgba(255, 166, 77, 0.1);
}

.case-study-card--grammarly:hover {
  border-color: rgba(77, 255, 130, 0.6);
  box-shadow: 0 0 20px rgba(77, 255, 130, 0.1);
}

/* Compact Card Variant */
.case-study-card--compact {
  background-color: transparent;
  border-color: rgba(51, 51, 51, 0.5);
}

.case-study-card--compact:hover {
  background-color: var(--color-bg-secondary);
}

/* ==========================================================================
   Article / Case Study Pages
   ========================================================================== */

.article {
  max-width: var(--max-width);
  margin-inline: auto;
}

.article-header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.article-header__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.article-header__lede {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text-muted);
}

/* Case Study Header (replaces site header on case study pages) */
.page-header {
  padding-block: var(--space-xl) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.page-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 12vw, 5rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

.case-study-header {
  padding-block: var(--space-xl) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.case-study-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xs);
}

.case-study-header__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 12vw, 7rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

.case-study-header__title--lg {
  font-size: clamp(2rem, 10vw, 6rem);
}

.case-study-header__title--md {
  font-size: clamp(1.75rem, 8vw, 5rem);
}

.case-study-header__title--sm {
  font-size: clamp(1.5rem, 6vw, 4rem);
}

.case-study-header__lede {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.case-study-header--rock-hall {
  background-image: url('/images/rock-hall-header.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.case-study-header--rock-hall::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.6;
}

.case-study-header--rock-hall .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header--super-deluxe {
  background-image: url('/images/super-deluxe-header.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.case-study-header--super-deluxe::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.6;
}

.case-study-header--super-deluxe .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header--drip {
  background-image: url('/images/drip-header.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.case-study-header--drip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.6;
}

.case-study-header--drip .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header--mailchimp {
  background-image: url('/images/mailchimp-header.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.case-study-header--mailchimp::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.6;
}

.case-study-header--mailchimp .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header--boston-gov {
  background-image: url('/images/boston-gov-header.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.case-study-header--boston-gov::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.6;
}

.case-study-header--boston-gov .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header--southern-company-gas {
  background-image: url('/images/southern-company-gas-header.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.case-study-header--southern-company-gas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.6;
}

.case-study-header--southern-company-gas .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header--grammarly {
  background-image: url('/images/grammarly-header.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.case-study-header--grammarly::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.6;
}

.case-study-header--grammarly .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header--stash-wealth {
  background-image: url('/images/stash-wealth-header.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.case-study-header--stash-wealth::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.6;
}

.case-study-header--stash-wealth .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header--current-work {
  background-image: url('/images/og-current-work-2.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.case-study-header--current-work::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.6;
}

.case-study-header--current-work .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header--mad-branch {
  background-image: url('/images/mad-branch-header.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.case-study-header--mad-branch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.55;
}

.case-study-header--mad-branch .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header--about {
  background-image: url('/images/about-header.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.case-study-header--about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.6;
}

.case-study-header--about .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header--contact {
  background-image: url('/images/contact-header.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
  position: relative;
}

.case-study-header--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.5;
}

.case-study-header--contact .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header--404 {
  background-image: url('/images/headers/404-grove.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 50vh;
}

.case-study-header--404::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-bg);
  opacity: 0.5;
}

.case-study-header--404 .case-study-header__inner {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  justify-content: center;
}

.case-study-header__sub {
  font-size: var(--text-lg);
  color: var(--color-text);
}

.breadcrumb {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding-block: var(--space-sm);
  padding-inline: var(--space-md);
  max-width: var(--max-width);
  margin-inline: auto;
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.breadcrumb span {
  margin-inline: 0.5em;
}

.article-content section {
  margin-bottom: var(--space-xl);
}

.article-content h2 {
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-content h3 {
  font-size: var(--text-base);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.article-content p {
  margin-bottom: var(--space-sm);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
}

.article-content li {
  margin-bottom: var(--space-xs);
}

.article-content strong {
  font-weight: 400;
  color: var(--color-text);
}

.article-content blockquote {
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-md);
  margin-block: var(--space-md);
  font-style: italic;
  color: var(--color-text-muted);
}

.contact-callout {
  margin-block: var(--space-2xl);
  padding: var(--space-lg);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.contact-callout__statement {
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.contact-callout__invite {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.article-content .callout {
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-md);
  margin-block: var(--space-xl);
  font-size: var(--text-lg);
}

.article-content .footnote {
  font-size: 0.4375rem;
  color: var(--color-text-muted);
  margin-top: var(--space-lg);
}

/* ==========================================================================
   Figures & Images
   ========================================================================== */

.article-content figure {
  --breakout-width: min(64rem, 100vw - var(--space-md) * 2);
  --content-width: min(var(--max-width), 100%);
  --breakout-margin: calc((var(--breakout-width) - var(--content-width)) / 2 * -1);

  width: var(--breakout-width);
  margin-block: calc(var(--space-2xl) * 1.5);
  margin-inline: var(--breakout-margin);
}

.article-content figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.article-content figcaption {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.article-content .figure-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-block: var(--space-xl);
}

@media (max-width: 600px) {
  .article-content .figure-group {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-page {
  max-width: 640px;
  margin-inline: auto;
  padding-block: var(--space-2xl);
}

.contact-page__statement {
  margin-bottom: var(--space-2xl);
}

.contact-page__headline {
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0;
}

.contact-page__headline--primary {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: var(--space-lg);
}

.contact-page__headline--secondary {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  color: var(--color-text-muted);
}

.contact-page__headline--secondary:first-of-type {
  margin-bottom: var(--space-xs);
}

.contact-page__criteria {
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.contact-page__criteria h2 {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.contact-page__criteria ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-page__criteria li {
  position: relative;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  font-size: var(--text-base);
}

.contact-page__criteria li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 1px;
  background-color: var(--color-accent);
}

.contact-page__criteria li:last-child {
  margin-bottom: 0;
}

.contact-page__action {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding-block: var(--space-xl);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.contact-page__invite {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.contact-page__email {
  display: inline-block;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.contact-page__email:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
}

.contact-page__location {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.contact-page__location p {
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-block: var(--space-lg);
  background-color: #000;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-align: center;
}

.site-footer a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

.site-footer a:hover {
  color: var(--color-text);
}

.site-footer__social {
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.visually-hidden {
  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 (Accessibility)
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

/* ==========================================================================
   Semantic Breadcrumb (Accessibility)
   ========================================================================== */

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  margin: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: "\203A";
  margin-inline: 0.5em;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 640px) {
  :root {
    --text-3xl: 2.25rem;
    --text-2xl: 1.75rem;
  }
}
