/* ===== SELF-HOSTED FONTS ===== */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/FiraSans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/FiraSans-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/CormorantGaramond-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Caveat-400.woff2') format('woff2');
}

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

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== BODY ===== */
body {
  font-family: 'Fira Sans', sans-serif;
  background: var(--bg);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition:
    background var(--transition),
    color var(--transition);
}

/* ===== LINKS ===== */
a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-thickness var(--transition);
}

a:visited {
  color: var(--accent);
}

a:hover {
  color: var(--accent-strong);
  text-decoration-thickness: 2px;
}

/* Ensure dark mode visibility for hover */
html.dark a:hover {
  color: #c4966e;
  /* Lighter gold for dark mode hover */
}


/* ===== Materials Grid v2 ===== */
.materials-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  width: 100%;
  justify-items: stretch;
}

.material-card-v2 {
  background-color: var(--bg-alt);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* Brushed metal texture - Simurai technique (vertical brush lines) */
.material-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    /* Layer 1: Fine white lines */
    repeating-linear-gradient(to right,
      hsla(0, 0%, 100%, 0) 0%,
      hsla(0, 0%, 100%, 0) 6%,
      hsla(0, 0%, 100%, 0.1) 7.5%),
    /* Layer 2: Fine dark lines */
    repeating-linear-gradient(to right,
      hsla(0, 0%, 0%, 0) 0%,
      hsla(0, 0%, 0%, 0) 4%,
      hsla(0, 0%, 0%, 0.03) 4.5%),
    /* Layer 3: Extra fine white lines */
    repeating-linear-gradient(to right,
      hsla(0, 0%, 100%, 0) 0%,
      hsla(0, 0%, 100%, 0) 1.2%,
      hsla(0, 0%, 100%, 0.15) 2.2%),
    /* Metallic gradient */
    linear-gradient(180deg,
      hsl(0, 0%, 78%) 0%,
      hsl(0, 0%, 90%) 47%,
      hsl(0, 0%, 78%) 53%,
      hsl(0, 0%, 70%) 100%);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
  opacity: 0.5;
}

/* Dark mode brushed metal */
html.dark .material-card-v2::before {
  background-image:
    repeating-linear-gradient(to right,
      hsla(0, 0%, 100%, 0) 0%,
      hsla(0, 0%, 100%, 0) 6%,
      hsla(0, 0%, 100%, 0.08) 7.5%),
    repeating-linear-gradient(to right,
      hsla(0, 0%, 100%, 0) 0%,
      hsla(0, 0%, 100%, 0) 4%,
      hsla(0, 0%, 100%, 0.04) 4.5%),
    repeating-linear-gradient(to right,
      hsla(0, 0%, 100%, 0) 0%,
      hsla(0, 0%, 100%, 0) 1.2%,
      hsla(0, 0%, 100%, 0.12) 2.2%),
    linear-gradient(180deg,
      hsla(0, 0%, 30%, 1) 0%,
      hsla(0, 0%, 40%, 1) 47%,
      hsla(0, 0%, 30%, 1) 53%,
      hsla(0, 0%, 25%, 1) 100%);
  opacity: 0.6;
}

/* Remove brushed metal effect from Carbon cards */
.material-card-v2[data-material*="carbon"]::before,
.material-card-v2[data-material*="kolfiber"]::before {
  display: none;
}

/* Ensure content stays above the texture */
.material-icon-v2,
.material-name-v2 {
  position: relative;
  z-index: 2;
}

.material-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.material-icon-v2 {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  color: var(--text-main);
}

.material-icon-v2 svg {
  width: 100%;
  height: 100%;
}

.material-name-v2 {
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  color: var(--text-main);
}

@media (max-width: 560px) {
  .materials-grid-v2 {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
  }

  .material-card-v2 {
    padding: 1.1rem 0.9rem;
    border-radius: 12px;
  }

  .material-icon-v2 {
    width: 64px;
    height: 64px;
    margin-bottom: 0.75rem;
  }

  .material-name-v2 {
    font-size: 0.95rem;
  }
}

/* Material-specific styles */
.material-card-v2[data-material="aluminum"],
.material-card-v2[data-material="aluminium"] {
  background-color: #f0f2f5;
  color: #333;
}

html.dark .material-card-v2[data-material="aluminum"],
html.dark .material-card-v2[data-material="aluminium"] {
  background-color: #3e4247;
  color: #f0f2f5;
}

.material-card-v2[data-material="stainless-steel"],
.material-card-v2[data-material="rostfritt-stål"] {
  background-color: #e2e6e9;
  color: #2c3e50;
}

html.dark .material-card-v2[data-material="stainless-steel"],
html.dark .material-card-v2[data-material="rostfritt-stål"] {
  background-color: #4a4a4a;
  color: #e2e6e9;
}

.material-card-v2[data-material="brass"],
.material-card-v2[data-material="mässing"] {
  background-color: #f7e7c9;
  color: #8a5a33;
}

html.dark .material-card-v2[data-material="brass"],
html.dark .material-card-v2[data-material="mässing"] {
  background-color: #5a4833;
  color: #f7e7c9;
}

.material-card-v2[data-material="copper"],
.material-card-v2[data-material="koppar"] {
  background-color: #f6dcd3;
  color: #b87333;
}

html.dark .material-card-v2[data-material="copper"],
html.dark .material-card-v2[data-material="koppar"] {
  background-color: #6e4c3c;
  color: #f6dcd3;
}

.material-card-v2[data-material="titanium"],
.material-card-v2[data-material="titan"] {
  background-color: #d1d8e0;
  color: #4b6584;
}

html.dark .material-card-v2[data-material="titanium"],
html.dark .material-card-v2[data-material="titan"] {
  background-color: #3b4d61;
  color: #d1d8e0;
}

.material-card-v2[data-material*="carbon-fiber"],
.material-card-v2[data-material*="kolfiber"] {
  background-color: #333;
  color: #fff;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

html.dark .material-card-v2[data-material*="carbon-fiber"],
html.dark .material-card-v2[data-material*="kolfiber"] {
  background-color: #1a1a1a;
}

.material-card-v2[data-material*="carbon-fiber"] .material-icon-v2,
.material-card-v2[data-material*="carbon-fiber"] .material-name-v2,
.material-card-v2[data-material*="kolfiber"] .material-icon-v2,
.material-card-v2[data-material*="kolfiber"] .material-name-v2 {
  color: #f2f2f2;
}


/* SVG Text Styling for Material Cards */
.material-card-v2 svg text {
  font-family: 'Fira Sans', sans-serif;
  pointer-events: none;
}

.material-card-v2 .symbol {
  font-size: 40px;
  font-weight: 600;
  fill: currentColor;
}

.material-card-v2 .brass-symbol {
  font-size: 30px;
}

.material-card-v2 .number {
  font-size: 16px;
  font-weight: 400;
  fill: currentColor;
  opacity: 0.85;
}

.material-card-v2 .name {
  font-size: 13px;
  font-weight: 400;
  fill: currentColor;
  opacity: 0.85;
}


/* ===== PAGE WRAPPER ===== */
.page {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1rem 1rem;
}

/* ===== CARD ===== */
.card {
  background: var(--bg-alt);
  border-radius: 1.75rem;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(17, 17, 17, 0.03);

  padding: 2rem 1.8rem 1.7rem;
  gap: 1.5rem;
  max-width: 720px;
  width: 100%;
  display: grid;
  position: relative;
}

.card::before {
  content: none;
}

/* ===== THEME BUTTON ===== */
#theme-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.25rem;
  padding: 0.25rem;
  border-radius: 0.5rem;
  transition:
    color var(--transition),
    transform var(--transition);
}

#theme-toggle:hover {
  color: var(--accent);
  transform: scale(1.08);
}

#theme-toggle:focus-visible,
#lang-toggle.lang-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(156, 108, 62, 0.25);
}

/* ===== BRAND ===== */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.brand-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  text-align: left;
  color: inherit;
}

.brand-link:visited,
.brand-link:hover,
.brand-link:active {
  color: inherit !important;
  text-decoration: none;
  outline: none;
}

html.dark .brand-link,
html.dark .brand-link:visited,
html.dark .brand-link:hover,
html.dark .brand-link:active {
  color: inherit !important;
  text-decoration: none;
  outline: none;
}

.logo {
  width: clamp(95px, 13vw, 110px);
  height: auto;
  aspect-ratio: 1.084;
  /* exact ratio */
  object-fit: contain;
  content-visibility: auto;
}

/* ===== WORDMARK ===== */
.wordmark {
  text-align: center;
}

.wordmark h1,
.wordmark .brand-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
}

.wordmark .tagline {
  margin-top: 0.25rem;
  font-size: 0.86rem;
  letter-spacing: 0.32em;
  color: var(--accent-strong);
  /* improved contrast */
  font-weight: 600;
  text-align: center;
}

/* ===== CONTENT ===== */
.content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.content h2 {
  margin: 0 0 0.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  font-weight: 600;
}

.content p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.content ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-muted);
  list-style: disc;
  list-style-position: outside;
}

.content ul li {
  margin: 0;
}

.lead {
  font-size: 1.02rem;
  color: var(--text-main);
  margin: 0 0 1rem;
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 1.2rem;
}

.service-body h2 {
  margin: 0 0 0.4rem;
}

.service-body h3 {
  margin: 1.8rem 0 0.4rem;
}

.approach-heading {
  margin-top: 0.9rem !important;
  margin-bottom: .4rem !important;
}

.service-body p {
  margin: 0;
  line-height: 1.6;
}

.service-body ul {
  margin: 0 0 0.5rem;
  padding-left: 1rem;
  display: block;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-family: inherit;
  list-style: disc;
  list-style-position: inside;
  text-align: left;
}

.service-body ul li {
  margin: 0 0 0.4rem;
  padding-left: 0.6rem;
  text-indent: -0.35rem;
}

/* Studio page specific centered headings */
.studio-manifesto-heading {
  text-align: center !important;
}

.studio-intro-heading {
  text-align: center !important;
  font-weight: 600;
}

.service-page {
  display: grid;
  gap: 1.4rem;
  text-align: left;
}

.service-page h1,
.service-page h2,
.service-page h3 {
  text-align: left;
  margin: 0 0 0.4rem;
}

.service-hero h1,
.service-hero h2,
.service-hero .lead,
.section-title-center {
  text-align: center;
}

.service-page .section-title-center {
  text-align: center !important;
}

.service-body .section-title-center {
  display: block;
  width: 100%;
}

.heading-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.heading-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-strong);
  flex-shrink: 0;
}

.service-hero {
  display: grid;
  gap: 0.4rem;
}

.about-hero {
  justify-content: center;
  text-align: center;
  padding: 0 0 1.2rem;
  overflow: hidden;
}

.about-page {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.about-hero-figure {
  margin: 0 auto;
  width: min(90vw, 900px);
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
}

.about-hero-figure img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  display: block;
  object-fit: contain;
}

div.stance-list div.stance-item {
  margin-bottom: 1em;
}

.service-hero-text {
  text-align: center;
  padding: 0 1.5rem 1rem;
}

.service-copy .location-copy {
  margin: 0 auto 0;
  max-width: 560px;
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
}

.service-visual-block {
  display: block;
  width: 100%;
}

.service-visual-block .service-visual {
  float: none;
  margin: 0;
  width: 100%;
  max-width: 780px;
}

.service-visual-block img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.service-copy h2 {
  margin-top: 0;
}

.service-flow.tight {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 320px);
  align-items: flex-start;
  gap: 1.2rem;
}

.service-flow.tight .service-visual {
  float: none;
  display: block;
  margin: 0;
  max-width: 320px;
  width: 100%;
}

@media (max-width: 700px) {
  .service-flow.tight {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .service-flow.tight .service-visual {
    justify-self: center;
    max-width: 100%;
    width: 100%;
  }
}

.process-steps,
.materials-list,
.faq-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-steps li,
.materials-list li,
.faq-list li {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.process-steps li strong,
.faq-list li h4 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--text-main);
}

.process-steps li p,
.faq-list li p,
.materials-list li {
  margin: 0;
  color: var(--text-muted);
}

.step-icon {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.step-icon svg {
  width: 19px;
  height: 19px;
  color: var(--accent-strong);
  flex-shrink: 0;
  margin-top: 2px;
}

.materials-list {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Split layout for hero-adjacent sections */
.service-split {
  margin: 1.8rem 0 -0.4rem;
}

.section-title-center {
  text-align: center;
  justify-content: center;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  align-items: center;
}

.split-text p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.split-media {
  width: 100%;
}

.split-media .service-visual {
  width: 100%;
  margin: 0;
}

.split-media picture,
.split-media img {
  width: 100%;
  height: auto;
  display: block;
}

.wrap-image {
  position: relative;
}

.wrap-image::after {
  content: '';
  display: block;
  clear: both;
}

.wrap-image .service-visual.is-float {
  float: right;
  max-width: 340px;
  margin: 0.2rem 0 1rem 1.4rem;
}

@media (max-width: 720px) {
  .wrap-image .service-visual.is-float {
    float: none;
    margin: 0.8rem 0 0.6rem;
    max-width: 100%;
  }
}

.service-flow {
  position: relative;
  display: block;
}

.service-flow p {
  margin: 0 0 0.85rem;
  text-align: left;
}

.service-visual {
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--transition), border-color var(--transition);
  width: 100%;
  text-align: left;
}

.service-visual.is-float {
  float: right;
  max-width: 360px;
  margin: 0.2rem 0 0.9rem 1.2rem;
}

.service-flow::after {
  content: '';
  display: block;
  clear: both;
}

.service-visual[data-lightbox-src],
button.service-visual {
  cursor: zoom-in;
}

.service-visual[data-lightbox-src]:hover,
.service-visual[data-lightbox-src]:focus-visible,
button.service-visual:hover,
button.service-visual:focus-visible {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  outline: none;
}

html.dark .service-visual {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

html.dark .service-visual[data-lightbox-src]:hover,
html.dark .service-visual[data-lightbox-src]:focus-visible,
html.dark button.service-visual:hover,
html.dark button.service-visual:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.service-visual picture,
.service-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.service-visual .service-visual-label {
  display: inline-block;
  padding: 0.5rem 0.75rem 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .service-body {
    gap: 0.75rem;
  }

  .service-visual.is-float {
    float: none;
    margin: 0.8rem 0 0.4rem;
    max-width: 100%;
  }
}

.service-cta {
  margin-top: 0.4rem;
  display: flex;
  justify-content: center;
}

/* Add breathing room when the CTA follows paragraph text */
.service-body > p + .service-cta {
  margin-top: 0.75rem;
}

/* ===== PILL ===== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 1em;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Hammer icon in the pill */
.pill .icon-hammer {
  width: 36px;
  height: 36px;
  display: block;
  margin-right: 0rem;
  stroke-width: 2;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .2s ease, color .2s ease;
}


.pill:hover .icon-hammer {
  transform: scale(1.15);
  color: var(--accent);
}

.services-links {
  margin: 1.4rem 0 1.2rem;
}

.services-links h3 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.service-cards {
  display: grid;
  gap: 0.7rem;
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}

.service-cards .chip {
  align-items: flex-start;
  text-align: left;
  gap: 0.35rem;
}

a.chip-link {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

a.chip-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.chip {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

a.chip-link:hover .chip {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

a.chip-link:hover::after,
a.chip-link:focus-visible::after {
  border-color: rgba(99, 79, 58, 0.45);
  box-shadow: 0 0 0 6px rgba(99, 79, 58, 0.15);
}


/* ===== GRID ===== */
.grid {
  margin-top: 1.2rem;
  gap: 0.8rem;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.chip {
  font-size: 0.92rem;
  padding: 0.55rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chip strong {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.chip-desc {
  color: var(--text-muted);
}

/* (coming soon) */
.coming-soon {
  color: var(--accent-strong);
  /* stronger contrast */
  font-size: 0.92em;
  opacity: 0.95;
  font-weight: 600;
}

/* ===== LIGHTBOX ===== */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
}

.lightbox-backdrop.is-open {
  display: flex;
}

.lightbox-dialog {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: 88vh;
}

.lightbox-dialog img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(0, 0, 0, 0.82);
  transform: scale(1.04);
  outline: none;
}

/* ===== CONTACT ===== */
.contact {
  margin-top: 1.1rem;
  padding-top: 1.0rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

#contact-email {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

#contact-email a {
  color: var(--accent-strong);
  /* accessible */
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  margin-top: 0.1rem;
  padding-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-powered {
  margin-top: 1.5rem;
}

.footer-links {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-link .icon {
  width: 16px;
  height: 16px;
}

.footer-link-cloudflare .icon path {
  fill: currentColor;
}

.footer-link-cloudflare:hover .icon path:nth-child(1) {
  fill: #fbad41;
}

.footer-link-cloudflare:hover .icon path:nth-child(2) {
  fill: #f6821f;
}

.main-lcp {
  contain-intrinsic-size: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.6rem;
}

.process,
.faq {
  margin-top: 1.6rem;
}

.process h3,
.faq h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
}

.process p.lead {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.process-steps,
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.process-steps li,
.faq-list li {
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.015);
}

.process-steps h4,
.faq-list h4 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--text-main);
}

.process-steps p,
.faq-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.comparison {
  margin: 1.6rem 0;
}

.comparison h3 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
}

.comparison-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.comparison-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  background: rgba(0, 0, 0, 0.015);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.comparison-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text-main);
}

.comparison-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.comparison-card li {
  margin-bottom: 0.2rem;
}

.comparison-table {
  margin: 1.8rem 0;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, #ffffff, #f9f7f4);
  color: var(--text-main);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.comparison-title {
  display: block;
}

.comparison-table h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-title svg {
  color: var(--accent-strong);
  background: rgba(138, 90, 51, 0.1);
  border-radius: 999px;
  padding: 0.25rem;
}

.comparison-table .table-lead {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.comparison-table .table-block {
  width: 100%;
  border-collapse: collapse;
  display: grid;
  gap: 0.4rem;
}

.comparison-table .table-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table .table-head {
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.comparison-table .table-label {
  color: var(--text-main);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.comparison-table .table-row div {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.comparison-table .table-row:not(.table-head) {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 700px) {
  .comparison-table .table-head {
    display: none;
  }

  .comparison-table .table-row {
    grid-template-columns: 1fr;
    /* a single column for the row itself */
    gap: 0.5rem;
    padding: 1rem;
  }

  .comparison-table .table-row div {
    padding: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .comparison-table .table-row div[data-title] {
    display: block;
  }

  .comparison-table .table-label {
    grid-column: 1 / -1;
    /* Make label span full width */
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    text-transform: none;
    /* remove uppercase */
  }

  .comparison-table .table-row div:not(:first-child) {
    padding-left: 0.5rem;
    position: relative;
  }

  .comparison-table .table-row div[data-title]::before {
    content: attr(data-title);
    display: block;
    font-weight: 600;
    color: var(--accent-strong);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
  }

  /* Add a separator between the two technique descriptions */
  .comparison-table .table-row div:nth-child(2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }
}

html.dark .comparison-table {
  background: radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.06), transparent 28%), #111;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f7f7f7;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

html.dark .comparison-table .table-row {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .comparison-table .table-row div {
  color: #eaeaea;
}

html.dark .comparison-table .table-head {
  background: rgba(255, 255, 255, 0.08);
}

.waitlist {
  margin: 0.6rem auto 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.01);
  max-width: 460px;
  text-align: center;
}

.waitlist h3 {
  margin: 0 0 0.35rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.waitlist-copy {
  margin: 0 0 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.waitlist-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding-top: 2.5em;
}

.waitlist-form .sr-only {
  grid-column: 1 / -1;
}

.waitlist-form input {
  width: 100%;
  padding: 0.58rem 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.waitlist-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(156, 108, 62, 0.18);
}

.waitlist-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.58rem 1.05rem;
  border: none;
  border-radius: 0.7rem;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    opacity var(--transition),
    background var(--transition);
}

.waitlist-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  background: var(--accent);
}

.waitlist-form button:focus-visible,
.waitlist-form input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.waitlist-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.waitlist-submit-icon {
  width: 18px;
  height: 18px;
  display: block;
  stroke-width: 1.8;
  color: #fff;
  transform-origin: 50% 10%;
  transition: transform 0.3s ease;
}

html.dark .waitlist-cta .waitlist-form input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f5f5f5;
}

html.dark .waitlist-cta .waitlist-form input::placeholder {
  color: rgba(245, 245, 245, 0.7);
}

.waitlist-form button:hover .waitlist-submit-icon,
.waitlist-form button:focus-visible .waitlist-submit-icon {
  animation: bell-wiggle 0.6s ease;
}

.waitlist-message {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 1rem;
}

.waitlist-message.success {
  color: #1f7a3d;
  font-weight: 600;
}

.waitlist-message.error {
  color: #b03030;
  font-weight: 600;
}

.why {
  padding: clamp(1rem, 3vw, 2rem) 0;
}

@media (max-width: 640px) {
  .why {
    padding: 2rem 0;
  }
}

.waitlist-note {
  margin: 1.1rem auto 0;
  max-width: 520px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.waitlist-context {
  margin: 1.5rem auto 0;
  max-width: 620px;
  display: grid;
  gap: 0.7rem;
  line-height: 1.65;
  text-align: left;
}

.waitlist-note h2,
.waitlist-note h3 {
  margin: 0 0 0.35rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.waitlist-context h2 {
  margin: 0 0 0.35rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
}

.waitlist-context h4 {
  margin: 0.4rem 0 0.2rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.waitlist-context-subtitle {
  margin: 0.4rem 0 0.2rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.waitlist-context .waitlist-bullets {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  list-style: disc;
  list-style-position: outside;
  justify-items: start;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.waitlist-context .waitlist-bullets li {
  text-align: left;
  width: 100%;
  max-width: 480px;
}

.waitlist-context p {
  margin: 0;
}

.waitlist-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.9rem 0 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(154, 106, 60, 0.14), rgba(154, 106, 60, 0.05));
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.waitlist-cta-text {
  display: grid;
  gap: 0.2rem;
  text-align: center;
}

.is-homepage .waitlist-cta-text {
  gap: 0.15rem;
}

.waitlist-cta-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--accent-strong);
}

.waitlist-cta-copy {
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 0.2rem 0 0;
  color: var(--text-main);
  font-weight: 600;
}

.why-footer-note {
  margin-top: 1.5rem !important;
  opacity: 0.8 !important;
  font-size: 1.1em !important;
}

.waitlist-cta .pill {
  margin: 0 auto 0.6rem;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  padding: 0;
  color: var(--text-muted);
}

.waitlist-cta .waitlist-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  justify-content: center;
  width: 100%;
}

.waitlist-cta .waitlist-pill svg {
  animation: hourglass-spin 3.8s ease-in-out infinite;
  transform-origin: center;
  color: var(--accent-strong);
}

/* ensure waitlist copy wins over .content p inheritance */
.waitlist-cta .waitlist-cta-copy {
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 0.35rem 0 0;
  color: var(--text-main);
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.waitlist-cta .waitlist-form {
  width: 100%;
  max-width: 340px;
  margin: 0.2rem auto 0;
}

.is-homepage .waitlist-cta .waitlist-form {
  padding-top: 0.3rem;
  margin-top: 0;
}

.waitlist .waitlist-form {
  padding-top: 0.3rem;
}

.is-homepage .waitlist-cta {
  gap: 0.15rem;
  margin: 0.9rem 0 0.9rem;
}

.is-homepage .waitlist-cta > .waitlist-cta-copy:first-of-type {
  margin-top: 0rem;
}

.is-homepage .waitlist-cta .waitlist-cta-eyebrow {
  margin-bottom: 1em;
}

@keyframes hourglass-spin {
  0% {
    transform: rotate(0deg);
  }

  45% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  95% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

a.waitlist-cta-button,
a.waitlist-cta-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.95rem;
  border-radius: 0.9rem;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 12px 28px rgba(138, 90, 51, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 140px;
  text-align: center;
  max-width: 100%;
  line-height: 1.1;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    opacity var(--transition);
}

a.waitlist-cta-button:hover,
a.waitlist-cta-button:active {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 540px) {
  .waitlist-cta-button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    justify-content: center;
  }
}

a.waitlist-cta-button svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  color: currentColor;
  transform-origin: 50% 10%;
  transition: transform 0.3s ease;
}

a.waitlist-cta-button:hover svg,
a.waitlist-cta-button:focus-visible svg {
  animation: bell-wiggle 0.6s ease;
}

a.waitlist-cta-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

a.waitlist-cta-button:active {
  transform: translateY(0);
  opacity: 0.9;
}

@keyframes bell-wiggle {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(-12deg);
  }

  40% {
    transform: rotate(12deg);
  }

  60% {
    transform: rotate(-8deg);
  }

  80% {
    transform: rotate(6deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.waitlist-cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(138, 90, 51, 0.38);
}

.waitlist-link {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.95rem;
}

.waitlist-link a {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 2px;
}

.waitlist-link a:hover {
  opacity: 0.8;
}

.waitlist-link-note {
  display: block;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-size: 0.89rem;
  line-height: 1.5;
}

#now-playing-section {
  margin: 0.9rem 0 0.4rem;
  min-height: 80px;
}

#av-nowplaying {
  min-height: 160px;
}

.av-nowplaying {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem 1.15rem 0.95rem;
  border-radius: 1rem;
  background: radial-gradient(140% 180% at 20% 20%, #fff8ed 0%, #f2e8dc 52%, #f8f4ee 100%);
  border: 1px solid rgba(158, 108, 62, 0.28);
  box-shadow:
    0 12px 30px rgba(49, 33, 19, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #23160e;
  text-decoration: none;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.av-nowplaying-cover {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 22px;
  margin-top: 0;
  overflow: visible;
  background: linear-gradient(145deg, #f2e8dc, #e6d8c9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 10px 20px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.av-nowplaying-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.av-cover-preview {
  display: none;
}

.av-nowplaying-ring {
  position: absolute;
  inset: -5px;
  border-radius: 1.1rem;
  border: 1px solid rgba(158, 108, 62, 0.35);
  box-shadow:
    0 0 16px rgba(158, 108, 62, 0.25),
    0 0 0 6px rgba(158, 108, 62, 0.12);
  animation: av-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

.av-nowplaying-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.av-nowplaying-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(138, 90, 51, 0.9);
  padding: 2px 0;
}

.av-nowplaying-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(138, 90, 51, 0.9);
  margin-bottom: 0.25rem;
  align-self: flex-start;
}

.av-nowplaying-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  width: 100%;
  padding-left: 0.15rem;
}

.av-nowplaying-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.av-nowplaying-content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  flex: 1;
  padding-left: 6px;
}

.av-nowplaying-link {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 0;
}

.av-nowplaying-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  width: 100%;
}

.av-nowplaying-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #c17a4b;
  box-shadow: 0 0 0 5px rgba(193, 122, 75, 0.14);
  animation: av-dot-pulse 1.6s ease-in-out infinite;
  margin-left: 5px;
  will-change: transform, opacity;
}

.av-nowplaying-dot.is-static {
  animation: none;
  box-shadow:
    0 0 0 4px rgba(193, 122, 75, 0.1),
    0 0 6px rgba(193, 122, 75, 0.16);
}

.av-line-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  flex: 1;
  min-width: 0;
}

.av-nowplaying-line {
  --av-scroll-distance: 0px;
  --av-scroll-duration: 12s;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1f120b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
  text-align: left;
}

@media (max-width: 480px) {
  #av-nowplaying {
    min-height: 150px;
  }

  .av-nowplaying {
    gap: 0.45rem;
    padding: 0.75rem 0.95rem 0.85rem;
  }

  .av-nowplaying-cover {
    width: 110px;
    height: 110px;
    border-radius: 18px;
  }

  .av-nowplaying-row {
    gap: 0.65rem;
    align-items: flex-start;
  }

  .av-nowplaying-content {
    padding-left: 4px;
  }

  .av-nowplaying-header {
    font-size: 0.78rem;
  }

  .av-nowplaying-line {
    font-size: 0.98rem;
  }
}

@media (max-width: 360px) {
  #av-nowplaying {
    min-height: 120px;
  }

  .av-nowplaying-cover {
    display: none;
  }

  .av-nowplaying-row {
    align-items: flex-start;
  }

  .av-nowplaying-content {
    padding-left: 0;
  }

  .av-nowplaying-header {
    align-self: flex-start;
  }
}

.av-nowplaying-line.is-scroll {
  animation: av-marquee var(--av-scroll-duration) linear infinite;
  will-change: transform;
  text-overflow: clip;
}

.av-progress {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.av-progress-track {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 6px;
  /* <<< bar ve dot yüksekliği buradan yönetilir */
  border-radius: 999px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.18);
}

/* Actual bar (thin copper line) */
.av-progress-bar {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  /* <<< gerçek çizgi yüksekliği */
  width: 0%;
  transform: translateY(-50%);
  /* çizgiyi wrapper'ın ortasına al */
  border-radius: 999px;
  background: linear-gradient(90deg,
      rgba(189, 121, 52, 0.9),
      rgba(189, 121, 52, 0.55));
}

/* Progress dot */
.av-progress-dot {
  position: absolute;
  top: 0px !important;
  /* reset all overrides */
  bottom: 0px !important;
  margin: auto 0 !important;
  /* vertical centering trick */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(189, 121, 52, 0.9);
  box-shadow: 0 0 0 6px rgba(189, 121, 52, 0.16);
  transform: translate(-50%);
  /* <<< OPTİK MERKEZ TAM BURASI */
  animation: av-dot-pulse 1.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.av-paused-tag {
  margin-left: 6px;
  font-weight: 600;
  color: #b46a2d;
  letter-spacing: 0.01em;
}

.av-nowplaying.is-paused .av-progress-dot {
  animation: none;
  box-shadow:
    0 0 0 4px rgba(189, 121, 52, 0.16),
    0 0 8px rgba(189, 121, 52, 0.35);
}

.av-nowplaying.is-paused .av-progress-bar {
  background: linear-gradient(90deg, rgba(189, 121, 52, 0.7), rgba(189, 121, 52, 0.4));
}

.av-progress-times {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.01em;
  color: rgba(31, 18, 11, 0.65);
}

.av-progress-time {
  display: inline-block;
  min-width: 36px;
}

html.dark .av-progress-times {
  color: rgba(246, 240, 232, 0.75);
}

.av-nowplaying-arrow {
  margin-left: auto;
  color: #8a5a33;
  font-size: 0.8rem;
  background: rgba(138, 90, 51, 0.12);
  border-radius: 999px;
  padding: 6px;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.av-nowplaying:hover .av-nowplaying-arrow,
.av-nowplaying:focus-visible .av-nowplaying-arrow {
  transform: translateX(2px);
  background: rgba(138, 90, 51, 0.18);
  color: #6f3f1d;
}

.av-nowplaying.av-state-empty {
  justify-content: flex-start;
  gap: 0.55rem;
  color: #2d1b12;
  background: linear-gradient(135deg, #f7efe3, #f0e4d6);
  border-color: rgba(158, 108, 62, 0.22);
}

.av-nowplaying-empty {
  margin: 0;
  font-size: 0.88rem;
  color: #2d1b12;
}

.av-nowplaying-empty .av-nowplaying-dot {
  margin-right: 0.4rem;
}

@keyframes av-pulse {
  0% {
    transform: scale(0.96);
    opacity: 0.42;
  }

  50% {
    transform: scale(1.03);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.05);
    opacity: 0.4;
  }
}

@keyframes av-dot-pulse {
  0% {
    transform: scale(0.96);
    opacity: 0.82;
  }

  50% {
    transform: scale(1.12);
    opacity: 1;
  }

  100% {
    transform: scale(0.96);
    opacity: 0.82;
  }
}

@keyframes av-marquee {

  0%,
  12% {
    transform: translateX(0);
  }

  88% {
    transform: translateX(calc(var(--av-scroll-distance) * -1));
  }

  100% {
    transform: translateX(0);
  }
}

html.dark .av-nowplaying {
  background: radial-gradient(140% 170% at 15% 25%, #22120f 0%, #090708 70%);
  border-color: rgba(224, 158, 96, 0.7);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.38),
    0 0 18px rgba(224, 158, 96, 0.22);
  color: #f6f0e8;
}

html.dark .av-nowplaying-cover {
  background: linear-gradient(145deg, #1f1109, #0f0805);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 6px 14px rgba(0, 0, 0, 0.38);
}

html.dark .av-nowplaying-ring {
  border-color: rgba(193, 122, 75, 0.48);
  box-shadow:
    0 0 16px rgba(193, 122, 75, 0.24),
    0 0 0 6px rgba(193, 122, 75, 0.08);
}

html.dark .av-nowplaying-label {
  color: rgba(246, 240, 232, 0.75);
}

html.dark .av-nowplaying-line {
  color: #ffffff;
}

html.dark .av-nowplaying-header {
  color: #f5d7b3;
}

html.dark .av-nowplaying-arrow {
  color: rgba(246, 240, 232, 0.82);
  background: rgba(193, 122, 75, 0.16);
}

html.dark .av-nowplaying:hover .av-nowplaying-arrow,
html.dark .av-nowplaying:focus-visible .av-nowplaying-arrow {
  color: rgba(246, 240, 232, 0.9);
  background: rgba(193, 122, 75, 0.26);
}

html.dark .av-nowplaying.av-state-empty {
  background: radial-gradient(140% 170% at 15% 25%, #22120f 0%, #090708 70%);
  border-color: rgba(224, 158, 96, 0.7);
  color: rgba(246, 240, 232, 0.9);
}

html.dark .av-nowplaying-empty {
  color: rgba(246, 240, 232, 0.9);
}

html.dark .av-progress-track {
  background: rgba(255, 255, 255, 0.16);
}

html.dark .av-progress-bar {
  background: linear-gradient(90deg, rgba(193, 122, 75, 0.9), rgba(193, 122, 75, 0.6));
}

html.dark .av-cover-preview {
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
  .av-nowplaying {
    padding: 0.6rem 0.75rem;
    gap: 0.6rem;
  }

  .av-nowplaying-line {
    font-size: 0.92rem;
    white-space: normal;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .av-progress-times {
    font-size: 0.68rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#lang-toggle.lang-pill {
  position: relative;
  top: auto;
  right: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  backdrop-filter: blur(6px);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

#lang-toggle.lang-pill .lang-option.active {
  color: var(--accent-strong);
  font-weight: 700;
}

#lang-toggle.lang-pill .lang-option.target {
  color: var(--accent-strong);
}

#lang-toggle.lang-pill .lang-divider {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Nav actions (lang/theme/menu grouping) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}

#theme-toggle {
  position: relative;
  top: auto;
  right: auto;
}

/* ===== Main Navigation ===== */
.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.75rem 0 1rem;
  gap: 0.5rem;
  position: absolute;
  top: 0.35rem;
  right: 0.75rem;
  z-index: 50;
}

.nav-controls {
  margin-top: 0.35rem;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.nav-control-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  top: 1.25rem;
  bottom: auto;
  padding: 0.25rem 1.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  z-index: 30;
  list-style: none;
  margin: 0;
  align-items: stretch;
  max-width: var(--max-width);
  width: min(var(--max-width), 90vw, 48rem);
  margin: 0 auto;
  max-height: min(80vh, calc(100vh - 2.5rem));
  border-radius: 1rem;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(17, 17, 17, 0.06);
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.nav-links li {
  margin: 0;
  padding: 0.1rem 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  transition: color 0.3s ease;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(17, 17, 17, 0.04);
  display: block;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-links a.is-active,
.dropbtn.is-active {
  color: var(--accent);
  background: var(--bg);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(17, 17, 17, 0.06);
}

.dropdown-content a.is-active {
  color: var(--accent);
  background: rgba(199, 142, 84, 0.08);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(17, 17, 17, 0.06);
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--bg);
}

html.dark .nav-links a:hover,
html.dark .dropdown-content a:hover,
html.dark .dropbtn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

html.dark .nav-links a.is-active,
html.dark .dropbtn.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #f5d7b3;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.07);
}

html.dark .dropdown-content a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #f5d7b3;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.nav-links.active {
  display: flex;
}

html.nav-open,
body.nav-open {
  overflow: hidden;
  touch-action: none;
  width: 100%;
  height: 100%;
}

#nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 20;
}

.main-nav.is-open+#nav-backdrop {
  display: block;
}

.nav-close-row {
  display: flex;
  justify-content: flex-end;
  padding: 0.4rem 0;
}

.nav-close {
  background: #111;
  color: #f2f2f2;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(17, 17, 17, 0.08);
}

.menu-toggle {
  position: relative;
  display: block;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  border-radius: 999px;
  padding: 0.55rem 0.65rem;
  background: #ffffff;
  color: var(--text-main);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(17, 17, 17, 0.03);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

html.dark .menu-toggle {
  background: #0f0f10;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f2f2f2;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.menu-toggle:active {
  transform: scale(0.97);
}

.hamburger {
  width: 24px;
  height: 24px;
  color: var(--text-main);
}

/* Dropdown */
.dropdown {
  position: static;
}

.dropdown-content {
  position: static;
  display: none;
  padding: 0.25rem 0 0;
  background: transparent;
  box-shadow: none;
  border: none;
  margin-left: 0.35rem;
  list-style: none;
}

.dropdown-content a {
  color: var(--text-main);
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.6rem;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(17, 17, 17, 0.03);
  background: #fff;
}

.dropdown.is-open .dropdown-content {
  display: block;
}

.dropbtn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--text-main);
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(17, 17, 17, 0.04);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .main-nav {
    justify-content: flex-end;
    align-items: center;
    padding: 0;
  }

  .main-nav.is-open {
    z-index: 32;
  }

  .main-nav.is-open .menu-toggle {
    position: fixed;
    top: 0.9rem;
    right: 0.9rem;
  }

  .dropdown {
    position: static;
  }

  .dropbtn {
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.08),
      0 0 0 1px rgba(17, 17, 17, 0.04);
  }

  .dropdown-content {
    position: static;
    display: none;
    padding: 0.25rem 0 0;
    background: transparent;
    box-shadow: none;
    border: none;
    margin-left: 0.35rem;
  }

  .dropdown-content li {
    width: 100%;
  }

  .dropdown-content a {
    padding: 0.65rem 0.9rem;
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.05),
      0 0 0 1px rgba(17, 17, 17, 0.03);
    background: #fff;
  }

  .nav-controls {
    margin-top: 0.6rem;
    width: 100%;
    justify-content: flex-end;
  }

  .nav-control-row {
    width: 100%;
    justify-content: flex-end;
    gap: 0.75rem;
  }

  #lang-toggle.lang-pill {
    margin: 0;
  }

  .dropdown.is-open .dropdown-content {
    display: block;
  }
}

/* Dark Mode */
html.dark {
  --bg: #1a1a1a;
  --bg-alt: #2a2a2a;
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
}


#lang-toggle.lang-pill:hover {
  color: var(--text-main);
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
  transform: translateY(-1px);
}

#lang-toggle.lang-pill .lang-option {
  padding: 0 0.15rem;
}

/* === LANG PILL TOOLTIP === */
#lang-toggle.lang-pill[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -42px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 10px;
  font-size: 0.72rem;
  color: #fff;
  background: rgba(17, 17, 17, 0.85);
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  z-index: 999;
}

#lang-toggle.lang-pill[data-tooltip]::before {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(17, 17, 17, 0.85);
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: 998;
}

#lang-toggle.lang-pill:hover::after,
#lang-toggle.lang-pill:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
  .brand {
    margin-top: 3rem;
    padding-right: 0;
    justify-content: center;
    text-align: center;
  }

  #theme-toggle {
    width: 36px;
    height: 36px;
    padding: 0.2rem;
  }

  #theme-toggle svg {
    width: 18px;
    height: 18px;
  }

  #lang-toggle.lang-pill {
    font-size: 0.78rem;
    padding: 0.28rem 0.5rem;
  }

  .brand .logo {
    max-width: 110px;
    height: auto;
  }

  .main-nav {
    top: 0.35rem;
    right: 0.75rem;
  }
}

.follow-us {
  text-align: center;
  margin-top: -1.5rem;
}

.follow-label {
  font-family: 'Caveat', cursive;
  font-size: 1.5em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}


.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .9rem;
  margin-top: .6rem;
}

.social-links a svg {
  display: block;
  stroke-width: 1.6;
  color: var(--text-muted);
  transition: transform .2s ease, color .2s ease;
}

.social-links a.youtube svg {
  width: 24px;
  height: 24px;
}

.social-links a.instagram svg {
  width: 18px;
  height: 18px;
}

.social-links a:hover svg {
  transform: scale(1.15);
  color: var(--accent);
}

.social-title {
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

/* ===== DARK MODE ===== */
html.dark {
  --bg: #0f0f10;
  --bg-alt: #1c1c1f;
  /* Lighter value for better card distinction */
  --text-main: #f2f2f2;
  --text-muted: #b5b5b5;
  --accent: #d1a06a;
  --accent-strong: #c89555;
}

html.dark body {
  background: var(--bg);
}

html.dark .card {
  background: var(--bg-alt);
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark #lang-toggle.lang-pill {
  background: rgba(24, 24, 25, 0.75);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

html.dark .nav-links {
  background: rgba(16, 16, 17, 0.9);
}

html.dark .nav-links a,
html.dark .dropbtn {
  background: #111;
  color: #f2f2f2;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

html.dark .dropdown-content a {
  background: #161616;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

html.dark .nav-close {
  background: #0f0f10;
  color: #f2f2f2;
  border-color: rgba(255, 255, 255, 0.12);
}

html.dark .chip {
  background: #1a1a1b;
  border-color: #2a2a2b;
}



html.dark .pill svg {
  fill: var(--accent-strong);
}

html.dark .waitlist-cta {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}



html.dark .waitlist-cta-eyebrow {
  color: var(--accent);
}

html.dark a.waitlist-cta-button,
html.dark a.waitlist-cta-button:visited {
  color: #fff;
  background: var(--accent-strong);
  box-shadow: 0 12px 28px rgba(200, 149, 85, 0.32);
}

html.dark a.waitlist-cta-button:hover {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 34px rgba(200, 149, 85, 0.38);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }

  .waitlist-cta-button svg,
  .waitlist-cta-button:hover svg,
  .waitlist-cta-button:focus-visible svg {
    animation: none !important;
    transform: none !important;
  }
}

/* ===== TABLET & DOWN ===== */
@media (max-width: 900px) {
  body {
    align-items: flex-start;
    padding-top: 0.9rem;
  }

  .page {
    padding: 1.6rem 1.2rem 2.2rem;
  }
}

/* ===== MOBILE ===== */
@media (min-width: 600px) {
  .follow-us {
    margin-top: -2rem;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 0.8rem 1.1rem 2.2rem;
  }

  .card {
    padding: 1.9rem 1.3rem 1.8rem;
    gap: 1.5rem;
    border-radius: 1.5rem;
  }

  #theme-toggle {
    top: 0.65rem;
    right: 0.65rem;
  }

  #lang-toggle.lang-pill {
    top: 0.65rem;
    right: 2.8rem;
    padding: 0.26rem 0.5rem;
    font-size: 0.78rem;
    gap: 0.25rem;
  }

  .brand {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.8rem;
    margin-top: 1.6rem;
  }

  .wordmark {
    text-align: left;
  }

  .wordmark .tagline,
  .wordmark h1,
  .wordmark .brand-title {
    text-align: left;
  }

  .wordmark h1,
  .wordmark .brand-title {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin: 0;
  }

  .wordmark .tagline {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-top: 0.1rem;
  }

  .logo {
    width: 45px;
    flex-shrink: 0;
  }

  .waitlist {
    margin-top: 0.6rem;
    padding: 0.7rem 0.85rem;
  }

  .waitlist-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    margin: 1rem 0 1.6rem;
  }

  .waitlist-cta-button {
    width: 100%;
    justify-content: center;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .waitlist-form button {
    width: 100%;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .content h1,
  .content h2 {
    font-size: 1.45rem;
    margin-bottom: 0.9rem;
  }

  .chip {
    padding: 1rem 1rem;
    border-radius: 1.1rem;
  }

  .contact {
    margin-top: 2.2rem;
    padding-top: 1.8rem;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  footer {
    margin-top: 1.8rem;
    padding-top: 1.6rem;
    font-size: 0.78rem;
  }
}

/* === CENTER PAGE FIX === */
body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.page {
  margin: 0 auto;
  width: 100%;
  max-width: var(--max-width);
}

/* === PERFECT CARD CENTER FIX === */
.page {
  display: flex;
  justify-content: center;
}

.card {
  margin-left: auto;
  margin-right: auto;
}

/* ===== ICON LIST ===== */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.icon-list .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--accent-strong);
  margin-top: 2px;
}

/* Ensure specific paragraphs within service-body are left-aligned */
.service-body p.faq-question-text,
.service-body p.faq-response-title {
  text-align: left;
}

/* ===== SHARE COMPONENT (FAB) ===== */
.share-heading-wrapper {
  position: relative;
}

.share-fab {
  position: fixed;
  /* JS updates top/left to track the heading */
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.28s ease;
}

.share-toggle {
  background: var(--bg-alt);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 2;
}

.share-toggle svg {
  width: 18px;
  height: 18px;
}

.share-toggle:hover {
  color: var(--accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px) scale(1.02);
}

.share-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: var(--bg-alt);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-width: 44px;
  align-items: center;
}

/* Open State */
.share-fab.is-open .share-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.share-fab.is-ready {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hide share button when nav is open to avoid overlap */
body.nav-open #share-fab {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.share-fab.is-open .share-toggle {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.share-menu .share-link {
  color: var(--text-muted);
  padding: 0.5rem;
  border-radius: 4px;
  display: flex;
  transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  width: 100%;
  justify-content: center;
}

.share-menu .share-link:hover {
  color: var(--accent);
  background: rgba(0, 0, 0, 0.03);
}

.share-menu .share-link svg {
  width: 20px;
  height: 20px;
}

/* Dark Mode - using html.dark class */
html.dark .share-toggle,
html.dark .share-menu {
  background: #1e1e1e;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

html.dark .share-menu .share-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Mobile: Hide the share FAB */
@media (max-width: 1024px) {
  .share-fab {
    display: none;
  }
}

.social-links a.x-twitter svg {
  width: 17px;
  height: 17px;
}

.social-links a.devto svg {
  width: 20px;
  height: 20px;
}
