:root {
  --rm-black: #0A0A0A;
  --rm-charcoal: #1A1A1A;
  --rm-charcoal-light: #242424;
  --rm-gold: #D4AF37;
  --rm-gold-bright: #FFD700;
  --rm-orange: #FF6B1A;
  --rm-cream: #F5F1E8;
  --rm-grey: #8B8680;
  --rm-grey-light: #B5B0A8;
  --rm-white: #FFFFFF;
  --rm-success: #4ADE80;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  --space-2xl: 128px;
  --radius: 4px;
  --radius-lg: 8px;
  --max-w: 1200px;
  --transition: 300ms ease-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--rm-black);
  color: var(--rm-white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: var(--rm-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--rm-gold-bright);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: all var(--transition);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--rm-white);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--rm-gold) 0%, var(--rm-orange) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--rm-black);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--rm-white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rm-gold);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--rm-gold);
}

.nav-links a.is-current {
  color: var(--rm-gold);
}

.nav-links a.is-current::after {
  width: 100%;
}

.nav-cta {
  background: var(--rm-gold);
  color: var(--rm-black) !important;
  padding: var(--space-sm) var(--space-md) !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 13px !important;
  letter-spacing: 0.05em;
}

.nav-cta:hover {
  background: var(--rm-gold-bright);
  color: var(--rm-black) !important;
}

.nav-cta::after {
  display: none;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-2xl) var(--space-lg);
  background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(255, 107, 26, 0.05) 0%, transparent 50%),
              var(--rm-black);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-opacity='0.04'%3E%3Cpath d='M30 0L60 30L30 60L0 30z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.hero-pre {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rm-gold);
  margin-bottom: var(--space-md);
  display: inline-block;
  position: relative;
}

.hero-pre::before, .hero-pre::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--rm-gold);
}

.hero-pre::before {
  left: -60px;
}

.hero-pre::after {
  right: -60px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--rm-white) 0%, var(--rm-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--rm-grey-light);
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--rm-gold);
  color: var(--rm-black);
}

.btn-primary:hover {
  background: var(--rm-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.3);
  color: var(--rm-black);
}

.btn-secondary {
  background: transparent;
  color: var(--rm-white);
  border: 1px solid var(--rm-gold);
}

.btn-secondary:hover {
  background: var(--rm-gold);
  color: var(--rm-black);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
  padding: var(--space-2xl) 0;
  position: relative;
}

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

.section-pre {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rm-gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: var(--space-md);
}

.section-sub {
  font-size: 18px;
  color: var(--rm-grey-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== THESIS ===== */
.thesis {
  background: var(--rm-black);
}

.thesis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.thesis-card {
  background: var(--rm-charcoal);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.thesis-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--rm-gold) 0%, var(--rm-orange) 100%);
  transition: height var(--transition);
}

.thesis-card:hover {
  border-color: var(--rm-gold);
  transform: translateY(-4px);
}

.thesis-card:hover::before {
  height: 100%;
}

.thesis-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--rm-gold) 0%, var(--rm-orange) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-md);
}

/* ===== THESIS CARD SLIDESHOW ===== */
.thesis-card-media {
  position: relative;
  width: calc(100% + var(--space-lg) * 2);
  height: 200px;
  margin: calc(var(--space-xl) * -1) calc(var(--space-lg) * -1) var(--space-lg);
  overflow: hidden;
  background: var(--rm-charcoal-light);
}

.thesis-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 50%, rgba(10,10,10,0.85) 100%);
  pointer-events: none;
  z-index: 2;
}

.thesis-card-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease-in-out, transform 6s linear;
}

.thesis-card-slide.active {
  opacity: 1;
  transform: scale(1);
}

.thesis-card-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.thesis-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all var(--transition);
}

.thesis-card-dot.active {
  background: var(--rm-gold);
  width: 18px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .thesis-card-media {
    width: calc(100% + var(--space-lg) * 2);
    margin: calc(var(--space-xl) * -1) calc(var(--space-lg) * -1) var(--space-md);
    height: 180px;
  }
}

.thesis-card h3 {
  font-size: 24px;
  margin-bottom: var(--space-sm);
  color: var(--rm-white);
}

.thesis-card .brand-name {
  color: var(--rm-gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  font-family: 'Inter', sans-serif;
}

.thesis-card p {
  color: var(--rm-grey-light);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== NUMBERS ===== */
.numbers {
  background: var(--rm-charcoal);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stat {
  padding: var(--space-lg);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  background: linear-gradient(135deg, var(--rm-gold) 0%, var(--rm-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rm-grey-light);
}

/* ===== BRANDS ===== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.brand-tile {
  background: var(--rm-charcoal);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition);
  cursor: pointer;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.brand-tile::after {
  content: '→';
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  font-size: 32px;
  color: var(--rm-gold);
  transition: transform var(--transition);
}

.brand-tile:hover {
  border-color: var(--rm-gold);
  transform: translateY(-4px);
  background: var(--rm-charcoal-light);
}

.brand-tile:hover::after {
  transform: translateX(8px);
}

.brand-tile-name {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--rm-white);
  margin-bottom: var(--space-sm);
}

.brand-tile-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rm-gold);
  margin-bottom: var(--space-md);
}

.brand-tile-desc {
  color: var(--rm-grey-light);
  font-size: 15px;
  margin-bottom: var(--space-xl);
  padding-right: var(--space-xl);
}

/* ===== STORY ===== */
.story {
  background: var(--rm-black);
}

.story-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  color: var(--rm-cream);
  line-height: 1.5;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--rm-gold);
  border-bottom: 1px solid var(--rm-gold);
  margin: var(--space-xl) 0;
}

.story-text {
  font-size: 16px;
  color: var(--rm-grey-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  text-align: left;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--rm-charcoal) 0%, var(--rm-black) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: var(--space-xl);
}

.cta-band-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--rm-black);
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: var(--rm-grey);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rm-gold);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: var(--space-sm);
}

.footer-col a {
  color: var(--rm-grey-light);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--rm-gold);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: var(--rm-grey);
  font-size: 13px;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rm-gold);
  transition: all var(--transition);
  font-size: 14px;
}

.footer-social a:hover {
  background: var(--rm-gold);
  color: var(--rm-black);
  border-color: var(--rm-gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container { padding: 0 var(--space-md); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius);
    color: var(--rm-white);
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
    position: relative;
    z-index: 10000;
  }

  .nav-toggle.is-active {
    border-color: var(--rm-gold);
    background: rgba(212, 175, 55, 0.2);
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--rm-gold);
    outline: none;
  }

  .nav-toggle svg {
    width: 22px;
    height: 22px;
    stroke: var(--rm-white);
  }

  /* Mobile menu drawer */
  .nav-links.is-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    z-index: 9999;
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
    margin: 0;
    animation: fadeIn 200ms ease-out both;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.is-open li {
    width: 100%;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 400ms ease-out both;
  }

  .nav-links.is-open li:nth-child(1) { animation-delay: 80ms; }
  .nav-links.is-open li:nth-child(2) { animation-delay: 130ms; }
  .nav-links.is-open li:nth-child(3) { animation-delay: 180ms; }
  .nav-links.is-open li:nth-child(4) { animation-delay: 230ms; }
  .nav-links.is-open li:nth-child(5) { animation-delay: 280ms; }
  .nav-links.is-open li:nth-child(6) { animation-delay: 330ms; }
  .nav-links.is-open li:nth-child(7) { animation-delay: 380ms; }

  .nav-links.is-open a {
    font-size: 18px;
    padding: var(--space-sm) var(--space-md);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links.is-open .nav-cta {
    margin-top: var(--space-md);
    padding: var(--space-md) var(--space-lg) !important;
    min-width: 200px;
  }

  .hero {
    min-height: 92vh;
    padding: var(--space-xl) var(--space-md) calc(var(--space-xl) * 1.5);
  }

  .hero::before {
    background-size: 30px 30px;
  }

  .hero-pre {
    font-size: 11px;
    letter-spacing: 0.2em;
  }

  .hero-pre::before, .hero-pre::after {
    display: none;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 52px);
    line-height: 1.1;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: var(--space-lg);
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: var(--space-sm);
  }

  .hero-ctas .btn {
    width: 100%;
    padding: 16px var(--space-md);
    font-size: 15px;
  }

  /* Sections */
  section {
    padding: var(--space-xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-lg);
  }

  .section-pre {
    font-size: 11px;
    letter-spacing: 0.25em;
  }

  .section-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .section-sub {
    font-size: 15px;
  }

  /* Thesis cards */
  .thesis-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }

  .thesis-card {
    padding: var(--space-lg) var(--space-md);
  }

  .thesis-card-media {
    width: calc(100% + var(--space-md) * 2);
    margin: calc(var(--space-lg) * -1) calc(var(--space-md) * -1) var(--space-md);
    height: 220px;
  }

  .thesis-card h3 {
    font-size: 22px;
  }

  .thesis-card p {
    font-size: 14.5px;
  }

  /* Buttons */
  .btn {
    padding: 14px var(--space-md);
    font-size: 14px;
    min-height: 48px;
  }

  /* Numbers/stats grid */
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat {
    padding: var(--space-md);
  }

  .stat-number {
    font-size: clamp(28px, 8vw, 40px);
  }

  .stat-label {
    font-size: 12px;
  }

  /* Brands grid */
  .brands-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Story section */
  .story {
    padding: var(--space-xl) var(--space-md);
  }

  .story-quote {
    font-size: 20px;
  }

  .story-text {
    font-size: 14.5px;
  }

  /* Footer */
  .footer {
    padding: var(--space-xl) 0 var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: left;
  }

  .footer-col h4 {
    margin-bottom: var(--space-sm);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 32px;
  }

  .thesis-card-media {
    height: 190px;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .nav-toggle { display: none; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .thesis-card-slide {
    transition: opacity 600ms ease-in-out;
    transform: none !important;
  }
  .hero-inner > * {
    animation: none;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===== DAMANFIT-IN-R&M VISUAL RULE (§1.7) ===== */
/* Only the display font swaps (§1.7.2). Body, palette, spacing inherit the
   R&M system above. Druk Wide isn't on Google Fonts; we use a heavy condensed
   system stack that reads athletic + bold without adding a new dependency. */

.damanfit-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-md) auto var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  max-width: 620px;
}

.damanfit-strip-divider {
  flex: 0 0 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--rm-gold) 100%);
}

.damanfit-strip-divider:last-child {
  background: linear-gradient(90deg, var(--rm-gold) 0%, transparent 100%);
}

.damanfit-strip-mark {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rm-gold);
  padding: 4px 10px;
  border: 1px solid var(--rm-gold);
  border-radius: var(--radius);
}

.damanfit-strip-wordmark {
  font-family: 'Anton', 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rm-white);
  text-transform: uppercase;
}

.damanfit-strip-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--rm-gold-bright);
  margin: 0 auto var(--space-xl);
  max-width: 640px;
  font-style: italic;
}

/* Flagship badge — sits inline next to the DAMANFIT wordmark on the thesis card */
.flagship-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rm-black);
  background: var(--rm-gold);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: var(--space-sm);
  vertical-align: middle;
  position: relative;
  top: -2px;
}

/* The credit line at the bottom of the DAMANFIT thesis card (§1.7.7) */
.card-credit {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rm-gold);
  font-style: italic;
}

/* Footer credit line (§1.7.7) */
.footer-credit {
  margin-top: var(--space-md);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rm-gold);
  font-style: italic;
}

/* Mobile tightening for the hero strip */
@media (max-width: 768px) {
  .damanfit-strip {
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
  }

  .damanfit-strip-divider {
    flex-basis: 16px;
  }

  .damanfit-strip-tagline {
    font-size: 12px;
    padding: 0 var(--space-md);
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner > * {
  animation: fadeInUp 800ms ease-out both;
}

.hero-inner > *:nth-child(1) { animation-delay: 100ms; }
.hero-inner > *:nth-child(2) { animation-delay: 250ms; }
.hero-inner > *:nth-child(3) { animation-delay: 400ms; }
.hero-inner > *:nth-child(4) { animation-delay: 550ms; }

/* ===== ACCESSIBILITY ===== */
/* Visually hidden until focused, then a fixed-position skip link. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 1000;
  padding: var(--space-md) var(--space-lg);
  background: var(--rm-gold);
  color: var(--rm-black);
  font-weight: 600;
  text-decoration: none;
  border-bottom-right-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  transition: top var(--transition);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  color: var(--rm-black);
  outline: 2px solid var(--rm-gold-bright);
  outline-offset: 2px;
}

/* Make <main> focusable without showing the focus ring. */
main:focus {
  outline: none;
}

/* Respect prefers-reduced-motion. */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
