/* ======================================================================
   SABOTEUR — MAIN STYLESHEET
   Swiss grid · Neue Haas Display · White background · Cool gray accents
   6 breakpoints: 320, 480, 768, 1024, 1280, 1440
   ====================================================================== */

/* ======================================================================
   1. CUSTOM PROPERTIES
   ====================================================================== */
:root {
  --font: 'Neue Haas Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --black: #000000;
  --white: #ffffff;
  --accent: #FF3000;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --charcoal: #1a1a1a;
  --max-w: 1320px;
  --gutter: 20px;
  --border: 1px solid var(--black);
}

@media (min-width: 480px)  { :root { --gutter: 28px; } }
@media (min-width: 768px)  { :root { --gutter: 40px; } }
@media (min-width: 1024px) { :root { --gutter: 56px; } }
@media (min-width: 1280px) { :root { --gutter: 72px; } }
@media (min-width: 1440px) { :root { --gutter: 80px; } }

/* ======================================================================
   2. @FONT-FACE
   ====================================================================== */
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayXXThin.woff2') format('woff2'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayXXThinItalic.woff2') format('woff2'); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayXThin.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayXThinItalic.woff2') format('woff2'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayLight.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayLightItalic.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayRoman.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayRomanItalic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayMediu.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayMediumItalic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayBold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayBoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayBlack.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayBlackItalic.woff2') format('woff2'); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayThin.woff2') format('woff2'); font-weight: 150; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neue Haas Display'; src: url('../assets/fonts/NeueHaasDisplayThinItalic.woff2') format('woff2'); font-weight: 150; font-style: italic; font-display: swap; }

/* ======================================================================
   3. RESET
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

/* ======================================================================
   4. LAYOUT
   ====================================================================== */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .section-label { margin-bottom: 56px; }
}

/* ======================================================================
   5. HEADER — Centered title + dot-separated nav
   ====================================================================== */
.site-header {
  padding: 40px 0 24px;
  position: relative;
  z-index: 100;
  text-align: center;
}

@media (min-width: 768px) {
  .site-header { padding: 48px 0 28px; }
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.header-logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .header-logo svg { width: 40px; height: 40px; }
}

.header-logo-text {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .header-logo-text { font-size: 28px; }
}

@media (max-width: 479px) {
  .header-logo-text { font-size: 16px; letter-spacing: 0.18em; }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 0;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.header-nav a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color 0.2s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--black);
}

.header-nav .nav-dot {
  color: var(--gray-400);
  margin: 0 14px;
  font-size: 11px;
  user-select: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
}

@media (min-width: 768px) {
  .hamburger { display: none; }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color 0.2s ease;
  padding: 8px 0;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--black);
}

/* ======================================================================
   6. HERO
   ====================================================================== */
.hero {
  padding: 80px 0 100px;
  text-align: center;
}

@media (min-width: 480px)  { .hero { padding: 100px 0 120px; } }
@media (min-width: 768px)  { .hero { padding: 140px 0 160px; } }
@media (min-width: 1024px) { .hero { padding: 180px 0 200px; } }
@media (min-width: 1280px) { .hero { padding: 200px 0 220px; } }

.hero-headline {
  font-size: clamp(42px, 8vw, 96px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .hero-headline { margin-bottom: 40px; }
}

.hero-sub {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-500);
  max-width: 420px;
  margin: 0 auto 48px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .hero-sub {
    font-size: 15px;
    max-width: 460px;
    margin-bottom: 56px;
  }
}

.hero-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 48px;
  background: var(--accent);
  border: none;
  color: var(--white);
  transition: opacity 0.25s ease;
}

.hero-cta:hover {
  opacity: 0.85;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-cta-secondary {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
}

/* ======================================================================
   7. OVERVIEW (used on About, Publish subpages)
   ====================================================================== */
.overview {
  padding: 100px 0;
  border-top: 1px solid var(--gray-200);
}
@media (min-width: 768px)  { .overview { padding: 140px 0; } }
@media (min-width: 1024px) { .overview { padding: 160px 0; } }

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) { .overview-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
@media (min-width: 1280px) { .overview-grid { grid-template-columns: 280px 1fr; gap: 120px; } }

.overview-heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.overview-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.overview-body p:last-child { margin-bottom: 0; }

.stat-number {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ======================================================================
   8. CATALOG / GRID
   ====================================================================== */
.catalog {
  padding: 100px 0;
  border-top: 1px solid var(--gray-200);
}

@media (min-width: 768px)  { .catalog { padding: 140px 0; } }
@media (min-width: 1024px) { .catalog { padding: 160px 0; } }

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .catalog-header { margin-bottom: 72px; }
}

.catalog-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.catalog-view-all {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.catalog-view-all:hover { color: var(--black); }

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 480px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (min-width: 768px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

@media (min-width: 1280px) {
  .catalog-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}

.catalog-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.catalog-thumb {
  aspect-ratio: 1 / 1;
  background: var(--gray-100);
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
}

.catalog-thumb-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  text-align: center;
  padding: 20px;
  line-height: 1.4;
}

.catalog-item:hover .catalog-thumb {
  background: var(--gray-200);
}

.catalog-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.catalog-meta {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

/* ======================================================================
   9. DETAIL PREVIEW
   ====================================================================== */
.detail-preview {
  padding: 100px 0;
  border-top: 1px solid var(--gray-200);
}

@media (min-width: 768px)  { .detail-preview { padding: 140px 0; } }
@media (min-width: 1024px) { .detail-preview { padding: 160px 0; } }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
}

@media (min-width: 1280px) {
  .detail-grid { gap: 96px; }
}

.detail-image {
  aspect-ratio: 4 / 5;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
}

.detail-image-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-400);
  text-align: center;
  padding: 32px;
  line-height: 1.6;
}

.detail-info {
  padding-top: 0;
}

@media (min-width: 768px) {
  .detail-info { padding-top: 32px; }
}

.detail-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.detail-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.detail-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
}

.spec-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.spec-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
}

.detail-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 48px;
  background: var(--accent);
  color: var(--white);
  border: none;
  transition: opacity 0.25s ease;
}

.detail-cta:hover { opacity: 0.85; }

/* ======================================================================
   11. NEWSLETTER
   ====================================================================== */
.newsletter {
  padding: 100px 0;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

@media (min-width: 768px)  { .newsletter { padding: 140px 0; } }
@media (min-width: 1024px) { .newsletter { padding: 160px 0; } }

.newsletter-heading {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.newsletter-sub {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 48px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .newsletter-form {
    flex-direction: row;
    gap: 0;
  }
}

.newsletter-form input[type="email"] {
  font-family: var(--font);
  font-size: 14px;
  padding: 14px 20px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color 0.2s ease;
  flex: 1;
}

@media (min-width: 480px) {
  .newsletter-form input[type="email"] {
    border-right: none;
  }
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--gray-400);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--black);
}

.newsletter-form button {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.newsletter-form button:hover { opacity: 0.85; }

.newsletter-status {
  font-size: 13px;
  margin-top: 16px;
  color: var(--gray-500);
}

.newsletter-status.success { color: var(--black); }
.newsletter-status.error { color: #b00; }

/* ======================================================================
   ETHOS (used on About, Shop subpages)
   ====================================================================== */
.ethos {
  padding: 100px 0;
  border-top: 1px solid var(--gray-200);
}
@media (min-width: 768px)  { .ethos { padding: 140px 0; } }
@media (min-width: 1024px) { .ethos { padding: 180px 0; } }

.ethos-statement {
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 900px;
  text-align: center;
  margin: 0 auto 56px;
}
.ethos-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) { .ethos-columns { grid-template-columns: 1fr 1fr 1fr; gap: 48px; } }

.ethos-col-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.ethos-col-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-600);
}

/* ======================================================================
   CTA STRIP (used on Vault, About subpages)
   ====================================================================== */
.cta-strip {
  padding: 80px 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
}
@media (min-width: 768px)  { .cta-strip { padding: 120px 0; } }
@media (min-width: 1024px) { .cta-strip { padding: 140px 0; } }

.cta-strip-heading {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.cta-strip-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 48px;
  line-height: 1.7;
}
.cta-strip-btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 56px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.cta-strip-btn:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ======================================================================
   12. FOOTER — Massive clock + receipt-style info
   Refs: SETIO clock, LCLA Studio, The Anxiettty receipt
   ====================================================================== */
.site-footer {
  padding: 0;
  border-top: 1px solid var(--black);
}

/* World clock grid — full width, 1px borders, massive digits */
.footer-clock {
  width: 100%;
  border-bottom: 1px solid var(--black);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-clock {
    grid-template-columns: repeat(5, 1fr);
  }
}

.clock-city {
  padding: 28px 16px;
  border-bottom: 1px solid var(--black);
  text-align: center;
}

@media (min-width: 768px) {
  .clock-city {
    padding: 32px 12px;
    border-bottom: none;
    border-right: 1px solid var(--black);
  }
  .clock-city:last-child {
    border-right: none;
  }
}

@media (min-width: 1024px) {
  .clock-city { padding: 40px 16px; }
}

.clock-city.current {
  background: var(--gray-50);
}

.clock-city-name {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.clock-city.current .clock-city-name {
  color: var(--black);
}

.clock-current-tag {
  display: inline-block;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-left: 6px;
}

/* Massive clock digits — the hero of the footer */
.clock-time {
  font-size: 36px;
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 480px) {
  .clock-time { font-size: 42px; }
}

@media (min-width: 768px) {
  .clock-time { font-size: 36px; }
}

@media (min-width: 1024px) {
  .clock-time { font-size: 48px; }
}

@media (min-width: 1280px) {
  .clock-time { font-size: 56px; }
}

@media (min-width: 1440px) {
  .clock-time { font-size: 64px; }
}

.clock-weather {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}

.clock-weather svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-400);
  stroke-width: 1;
  fill: none;
}

/* Receipt-style centered info block */
.footer-receipt {
  padding: 48px 20px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
  .footer-receipt { padding: 64px 20px; }
}

.footer-receipt-inner {
  max-width: 300px;
  margin: 0 auto;
}

.receipt-line {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  line-height: 2.2;
}

.receipt-divider {
  color: var(--gray-300);
  letter-spacing: 0.4em;
}

/* Bottom links bar */
.footer-links-bar {
  padding: 16px 0;
}

.footer-links-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-links-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color 0.2s ease;
}

.footer-nav-links a:hover { color: var(--black); }

.footer-copyright {
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}

/* ======================================================================
   13b. FILE COMPLAINT — top-right fixed
   ====================================================================== */
.file-complaint {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  cursor: pointer;
  transition: color 0.2s ease;
}

.file-complaint:hover { color: var(--black); }

.complaint-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.complaint-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.complaint-inner {
  text-align: center;
  max-width: 500px;
  padding: 40px;
}

.complaint-text {
  font-size: 18px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 32px;
}

.complaint-dismiss {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 32px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.complaint-dismiss:hover { border-color: var(--accent); }

/* ======================================================================
   13c. STRAY — bottom-right fixed
   ====================================================================== */
.stray-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 150;
  cursor: pointer;
}

.stray-house-svg {
  transition: transform 0.3s ease;
}

.stray-fixed:hover .stray-house-svg {
  transform: scale(1.05);
}

.stray-bubble {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: var(--white);
  border: 1px solid var(--black);
  padding: 6px 12px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin-bottom: 8px;
}

.stray-bubble.visible {
  opacity: 1;
}

/* ======================================================================
   14. PAGE HERO (SUBPAGES)
   ====================================================================== */
.page-hero {
  padding: 80px 0;
  text-align: center;
}

@media (min-width: 768px)  { .page-hero { padding: 120px 0; } }
@media (min-width: 1024px) { .page-hero { padding: 140px 0; } }

.page-hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-500);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--gray-400);
  transition: color 0.2s ease;
}

.breadcrumb a:hover { color: var(--black); }

.breadcrumb span { margin: 0 8px; }

/* ======================================================================
   15. RESOURCE DETAIL PAGE
   ====================================================================== */
.resource-detail {
  padding: 60px 0 100px;
}

@media (min-width: 768px)  { .resource-detail { padding: 80px 0 140px; } }
@media (min-width: 1024px) { .resource-detail { padding: 100px 0 160px; } }

.resource-detail .detail-image {
  aspect-ratio: 1 / 1;
}

.resource-whats-inside {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 32px;
  padding-top: 24px;
}

.resource-whats-inside strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.resource-audience {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
  font-style: italic;
}

/* Cross-promo */
.cross-promo {
  padding: 100px 0;
  border-top: 1px solid var(--gray-200);
}

@media (min-width: 768px) { .cross-promo { padding: 120px 0; } }

.cross-promo h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

/* ======================================================================
   16. CONTACT PAGE
   ====================================================================== */
.contact-section {
  padding: 0 0 100px;
}

@media (min-width: 768px) { .contact-section { padding: 0 0 140px; } }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

@media (min-width: 1280px) {
  .contact-grid {
    grid-template-columns: 280px 1fr;
    gap: 120px;
  }
}

.contact-heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.contact-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.contact-body a {
  color: var(--black);
  border-bottom: 1px solid var(--gray-300);
  transition: border-color 0.2s ease;
}

.contact-body a:hover {
  border-color: var(--black);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.contact-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  border-bottom: none;
  transition: color 0.2s ease;
}

.contact-links a:hover { color: var(--black); }

/* ======================================================================
   17. ABOUT PAGE
   ====================================================================== */
.about-long p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 28px;
  max-width: 720px;
}

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

/* ======================================================================
   18. TAG FILTER BAR
   ====================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--gray-400);
  color: var(--black);
}

.filter-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ======================================================================
   19. ANIMATIONS
   ====================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > .fade-in:nth-child(1)  { transition-delay: 0s; }
.stagger > .fade-in:nth-child(2)  { transition-delay: 0.06s; }
.stagger > .fade-in:nth-child(3)  { transition-delay: 0.06s; }
.stagger > .fade-in:nth-child(4)  { transition-delay: 0.09s; }
.stagger > .fade-in:nth-child(5)  { transition-delay: 0.12s; }
.stagger > .fade-in:nth-child(6)  { transition-delay: 0.15s; }
.stagger > .fade-in:nth-child(7)  { transition-delay: 0.18s; }
.stagger > .fade-in:nth-child(8)  { transition-delay: 0.21s; }
.stagger > .fade-in:nth-child(9)  { transition-delay: 0.24s; }
.stagger > .fade-in:nth-child(10) { transition-delay: 0.27s; }
.stagger > .fade-in:nth-child(11) { transition-delay: 0.30s; }
.stagger > .fade-in:nth-child(12) { transition-delay: 0.33s; }
.stagger > .fade-in:nth-child(n+13) { transition-delay: 0.36s; }

/* ======================================================================
   20. RULED / BOXY LAYOUT SYSTEM
   Refs: Tinloof grid, Snøhetta rows, LCLA numbered table
   ====================================================================== */

/* Horizontal rule divider (1px black) */
.rule { border-top: 1px solid var(--black); }
.rule-gray { border-top: 1px solid var(--gray-200); }

/* Modular row: label left, content center, stat right */
.mod-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--black);
}

@media (min-width: 768px) {
  .mod-row {
    grid-template-columns: 140px 1fr auto;
    gap: 40px;
    align-items: baseline;
  }
}

@media (min-width: 1280px) {
  .mod-row { grid-template-columns: 180px 1fr auto; }
}

.mod-row-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.mod-row-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-600);
}

.mod-row-stat {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: right;
}

/* Numbered index rows (LCLA-style) */
.index-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--black);
  align-items: baseline;
  font-size: 14px;
}

@media (min-width: 768px) {
  .index-row { grid-template-columns: 40px 1fr 120px 80px; gap: 24px; }
}

.index-row-num {
  font-size: 12px;
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
}

/* Contact form (Say hi) */
.contact-form {
  max-width: 480px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 48px;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-form button[type="submit"]:hover { opacity: 0.85; }

/* ======================================================================
   21. HELPERS
   ====================================================================== */
@media (max-width: 479px) { .hide-xs { display: none !important; } }
@media (max-width: 767px) { .hide-sm { display: none !important; } }

.text-center { text-align: center; }
.border-top { border-top: 1px solid var(--gray-200); }
.border-top-black { border-top: 1px solid var(--black); }

/* ======================================================================
   22. PREVIEW IMAGES IN CATALOG THUMBS
   ====================================================================== */
.catalog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.catalog-item:hover .catalog-thumb img {
  transform: scale(1.03);
}

.catalog-thumb {
  overflow: hidden;
  position: relative;
}

/* ======================================================================
   23. STAR RATINGS
   ====================================================================== */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1;
}

.star-rating .star {
  color: var(--gray-300);
}

.star-rating .star.full {
  color: var(--black);
}

.star-rating .star.half {
  color: var(--gray-400);
}

.star-rating .star.empty {
  color: var(--gray-300);
}

.star-rating .review-count {
  font-size: 11px;
  color: var(--gray-500);
  margin-left: 4px;
  font-weight: 400;
}

/* ======================================================================
   24. MATURE / ADULTS ONLY BADGE
   ====================================================================== */
.badge-mature {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  z-index: 2;
}

/* ======================================================================
   25. CATALOG BLURB + LINK
   ====================================================================== */
.catalog-blurb {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-500);
  margin-top: 6px;
}

.catalog-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  margin-top: 8px;
  display: inline-block;
  text-decoration: none;
}

.catalog-link.muted {
  color: var(--gray-400);
}

/* ======================================================================
   26. STRIPE BUY BUTTON INTEGRATION
   ====================================================================== */
.catalog-item--stripe {
  display: flex;
  flex-direction: column;
  cursor: default;
}

.catalog-note {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 6px;
  line-height: 1.5;
}

.stripe-buy-wrapper {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
}

/* Stripe's button renders in an iframe — control the container width */
.stripe-buy-wrapper stripe-buy-button {
  width: 100%;
  max-width: 300px;
}

@media (max-width: 479px) {
  .stripe-buy-wrapper stripe-buy-button {
    max-width: 100%;
  }
}
