@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

/* ─── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --text-primary: #0f0d0b;
  --text-secondary: #2a2520;
  --text-muted: #3d362f;
  --border-color: rgba(58, 53, 48, 0.35);
  --card-bg: rgba(255, 252, 247, 0.45);
  --card-bg-hover: rgba(255, 252, 247, 0.7);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* scroll-snap-type: y proximity; — disabled: conflicts with anchor nav */
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text-primary);
  background-color: #ede6db;
  -webkit-font-smoothing: antialiased;
}

/* Fixed background texture — always viewport-sized like the hero */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('../assets/background.png');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ─── Logo ──────────────────────────────────────────── */
.logo {
  display: inline-block;
  text-decoration: none;
}

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

/* ─── Sticky Nav ────────────────────────────────────── */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 4rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-nav.visible {
  transform: translateY(0);
  background: rgba(237, 230, 219, 0.5);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(58, 53, 48, 0.15);
  box-shadow: 0 1px 12px rgba(58, 53, 48, 0.06);
}

.sticky-nav .logo-img {
  max-width: 140px;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  position: relative;
  z-index: 1;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db, 0 0 12px #ede6db, 0 0 20px #ede6db;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 10px;
  height: 1px;
  background: var(--text-primary);
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* ─── Hero Section ──────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  padding-bottom: 6rem;
  gap: 0;
  position: relative;
  scroll-snap-align: start;
}

.splash-content {
  width: 85vw;
  max-width: 1100px;
}

.splash-content .logo {
  display: block;
  width: 100%;
}

.hero-nav {
  margin-top: 0.75 rem;
}

.hero-nav .nav-links {
  width: 88%;
  margin: 0 auto 0 4%;
  justify-content: space-between;
}

.hero-nav .nav-links a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  -webkit-text-fill-color: var(--text-secondary);
  opacity: 0.8;
}

.hero-nav .nav-links a::after {
  bottom: 10px;
  height: 1.5px;
}

.hero-nav .nav-links a:hover {
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
  opacity: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bobble 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.scroll-indicator svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 2;
}

@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── Sections ──────────────────────────────────────── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 4rem;
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
  margin-bottom: 2rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db, 0 0 12px #ede6db, 0 0 20px #ede6db;
}

.section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db, 0 0 12px #ede6db, 0 0 20px #ede6db;
}

.divider {
  width: 0;
  height: 1px;
  border: none;
  background: var(--text-primary);
  opacity: 0.5;
  margin-bottom: 2.5rem;
  transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.visible .divider,
.divider.visible {
  width: 120px;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── About ─────────────────────────────────────────── */

/* Graphic Panels (branded image assets) */
.graphic-panel {
  margin-bottom: 1.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.about-right-col .graphic-panel {
  margin-bottom: 1.5rem;
}

.graphic-panel--col {
  margin-bottom: 1.5rem;
  align-self: start;
}

.graphic-panel--col:last-child {
  margin-bottom: 0;
}

.about-right-col {
  display: flex;
  flex-direction: column;
}

.graphic-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Two Column Layout */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db, 0 0 12px #ede6db, 0 0 20px #ede6db;
}

.about-tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: italic;
  color: var(--text-primary) !important;
  margin-top: 1rem;
}

/* ─── Fiber Diagram Overlay ───────────────────────── */
.fiber-panel {
  position: relative;
  padding: 1rem 0;
}

.fiber-overlay {
  position: absolute;
  inset: 2.5rem;
  pointer-events: none;
}

.fiber-logo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  border-radius: 8px;
}

.fiber-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  position: absolute;
  text-shadow: 0 0 3px #ede6db, 0 0 6px #ede6db, 0 0 12px #ede6db;
}

.fiber-label--top {
  top: 0;
  left: 38%;
  text-align: right;
}

.fiber-label--right {
  bottom: 25%;
  right: 0;
  text-align: left;
}

.fiber-box {
  position: absolute;
  top: 42%;
  left: 0;
  width: 30%;
  border: 1px solid rgba(58, 53, 48, 0.3);
  padding: 0.6rem;
  background: rgba(255, 252, 247, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
}

.fiber-box-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(58, 53, 48, 0.2);
}

.fiber-box-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.45rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ─── Blends Grid ─────────────────────────────────── */
.perf-grid {
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.perf-row {
  display: flex;
  justify-content: center;
}

.perf-row + .perf-row {
  margin-top: -2px;
}

.perf-card {
  flex: 1;
  min-width: 0;
  display: block;
  width: 100%;
  height: auto;
  margin: 0 -1px;
  mix-blend-mode: multiply;
}

.blends-section {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 2rem;
}

.blends-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.blends-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blends-dr-logo {
  width: 160px;
  border-radius: 12px;
  margin-bottom: 0.005rem;
  margin-left: -1rem;
}

.blends-fiber-wrap {
  position: relative;
  flex-shrink: 0;
  width: 240px;
  height: 240px;
}

.blends-fiber-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.9;
  display: block;
  object-fit: cover;
}

.blends-fiber-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  line-height: 1.4;
  position: absolute;
}

/* Top-left label with L-bracket pointing down-right to fiber tops */
.blends-fiber-label--tl {
  top: -8px;
  left: -10px;
  text-align: left;
}

/* Horizontal line under text */
.blends-fiber-label--tl::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: -14px;
  height: 1px;
  background: var(--text-muted);
  opacity: 0.6;
}

/* Vertical line going down to image */
.blends-fiber-label--tl::after {
  content: '';
  position: absolute;
  right: -14px;
  bottom: -50px;
  width: 1px;
  height: 50px;
  background: var(--text-muted);
  opacity: 0.6;
}

/* Bottom-right label with L-bracket pointing up-left to fiber base */
.blends-fiber-label--br {
  bottom: -8px;
  right: -10px;
  text-align: right;
}

/* Horizontal line above text */
.blends-fiber-label--br::before {
  content: '';
  position: absolute;
  top: -1px;
  right: 0;
  left: -14px;
  height: 1px;
  background: var(--text-muted);
  opacity: 0.6;
}

/* Vertical line going up to image */
.blends-fiber-label--br::after {
  content: '';
  position: absolute;
  left: -14px;
  top: -50px;
  width: 1px;
  height: 50px;
  background: var(--text-muted);
  opacity: 0.6;
}

.blends-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: var(--text-secondary);
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db;
}

.blends-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1;
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db;
}

.blends-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem 1rem;
}

.blend-item {
  text-align: center;
}

.blend-icon {
  height: 36px;
  width: auto;
  display: block;
  margin: 0 auto 0.4rem;
  opacity: 0.7;
}

.blend-brand {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  opacity: 0.6;
  margin-bottom: 0.15rem;
}
.blend-brand em {
  font-weight: 700;
  font-style: normal;
}

.blend-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.005rem;
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db;
}

.blend-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db;
}

.global-section {
  margin-top: 2rem;
}

.global-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* World Map */
.global-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0 2rem;
}

.map-panel {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.map-container {
  position: relative;
}

.world-map {
  width: 100%;
  height: 75vh;
  min-height: 500px;
}


/* Map tooltip (shown on legend click) */
.map-tooltip {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(58, 53, 48, 0.3);
  border-radius: 8px;
  padding: 0.6rem 0.8rem 0.6rem 1.2rem;
  z-index: 20;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  max-width: 90%;
}
.map-tooltip-text {
}
.map-tooltip-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0 0.2rem;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
}
.map-tooltip-close:hover {
  color: var(--text-primary);
}

.map-hint {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.35;
  font-style: italic;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.map-hint::before,
.map-hint::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

/* Legend */
.map-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 0.25rem;
  padding: 0 1rem;
}
.legend-region {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}
.legend-item {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  color: rgba(58, 53, 48, 0.75);
  line-height: 2.2;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.legend-dot {
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--text-primary);
  opacity: 0.5;
  display: inline-block;
}
.legend-desc {
  opacity: 0.6;
}
.legend-item:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .map-legend {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem 0.8rem;
    margin-top: 1.2rem;
  }
  .legend-region {
    font-size: 0.6rem;
    margin-bottom: 0.3rem;
  }
  .legend-item {
    font-size: 0.55rem;
    line-height: 1.4;
    gap: 0.25rem;
  }
  .legend-desc { display: none; }
  .legend-dot {
    width: 4px;
    height: 4px;
    min-width: 4px;
  }
}

.jvm-tooltip {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #ffffff !important;
  color: #1a1a1a !important;
  padding: 0.75rem 1.2rem !important;
  border: 2px solid #1a1a1a !important;
  border-radius: 0 !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
  z-index: 9999 !important;
  max-width: 85vw !important;
  white-space: normal !important;
  word-wrap: break-word !important;
}

/* ─── Contact ───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-intro {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(58, 53, 48, 0.15);
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
}

.contact-item:not(:last-child) {
  border-bottom: 1px solid rgba(58, 53, 48, 0.08);
}

.contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.contact-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db;
}

.contact-item p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db;
}

.contact-item a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.contact-item a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width 0.3s ease;
}

.contact-item a:hover {
  color: var(--text-primary);
}

.contact-item a:hover::after {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 2.5rem 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding: 1.2rem 0 0.6rem;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  transition: color 0.3s;
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db;
}

.form-group:focus-within label {
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  padding: 0.7rem 0;
  border: none;
  border-bottom: 1.5px solid rgba(58, 53, 48, 0.25);
  background: transparent;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:hover,
.form-group textarea:hover {
  border-bottom-color: rgba(58, 53, 48, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--text-primary);
  box-shadow: 0 1px 0 var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 0.85rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  margin-top: 0.3rem;
}

/* ─── Custom Select Dropdown ───────────────────────── */
.custom-select {
  position: relative;
  user-select: none;
}

.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.8rem;
  border-bottom: 2px solid rgba(58, 53, 48, 0.4);
  background: rgba(255, 252, 247, 0.5);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.select-trigger:hover {
  border-bottom-color: rgba(58, 53, 48, 0.5);
}

.custom-select.open .select-trigger {
  border-bottom-color: var(--text-primary);
}

.select-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.5;
  transition: all 0.3s;
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db, 0 0 12px #ede6db, 0 0 20px #ede6db;
}

.select-value.has-value {
  color: var(--text-primary);
  opacity: 1;
}

.select-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s;
  flex-shrink: 0;
}

.custom-select.open .select-arrow {
  transform: rotate(180deg);
  color: var(--text-primary);
}

.select-options {
  position: relative;
  background: transparent;
  z-index: 50;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.25s ease;
}

.custom-select.open .select-options {
  max-height: 300px;
  opacity: 1;
}

.select-option {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.2rem;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  text-shadow: 0 0 2px #ede6db, 0 0 4px #ede6db, 0 0 8px #ede6db, 0 0 12px #ede6db, 0 0 20px #ede6db;
}

.select-option:not(:last-child) {
  border-bottom: 1px solid rgba(15, 13, 11, 0.15);
}

.select-option:last-child {
  border-bottom: 1px solid var(--border-color);
}

.select-option:hover {
  background: rgba(26, 23, 20, 0.06);
  color: var(--text-primary);
  padding-left: 1.6rem;
}

.select-option.selected {
  color: var(--text-primary);
  font-weight: 700;
}

.select-option.selected::before {
  content: '—';
  position: absolute;
  left: 0.4rem;
  opacity: 0.5;
}

/* ─── Submit Button ────────────────────────────────── */
.submit-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.2rem 3.5rem;
  margin-top: 2rem;
  background: var(--text-primary);
  color: #f0e8dc;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  align-self: flex-start;
  position: relative;
}

.submit-btn:hover {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
  letter-spacing: 0.28em;
  padding-left: 4rem;
  padding-right: 4rem;
}

/* ─── Footer ────────────────────────────────────────── */
.page-footer {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}

.page-footer p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .sticky-nav {
    padding: 0 2rem;
  }

  .section {
    padding: 5rem 2rem;
  }

  .about-two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Scale down fiber overlay on mobile */
  .fiber-overlay { inset: 0.5rem; }
  .fiber-logo-img { width: 25%; }
  .fiber-label { font-size: 0.35rem; letter-spacing: 0.05em; }
  .fiber-box { display: none; }

  .blends-dr-logo {
    width: 80px;
  }

  .blends-fiber-wrap {
    width: 160px;
    height: 160px;
  }

  .blends-fiber-label {
    font-size: 0.32rem;
  }

  .blends-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem 0.6rem;
  }

  .blend-icon { height: 28px; }
  .blend-name { font-size: 0.6rem; }
  .blend-desc { font-size: 0.48rem; }
  .blend-brand { font-size: 0.45rem; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .logo-img {
    max-width: 360px;
  }

  .hero .nav-links {
    gap: 2rem;
  }

  .world-map {
    height: 50vh;
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .hero {
    padding-bottom: 4rem;
  }

  .splash-content {
    width: 90vw;
  }

  .splash-content .logo-img {
    max-width: 100%;
  }

  .logo-img {
    max-width: 260px;
  }

  .sticky-nav {
    padding: 0 1.2rem;
    height: 56px;
  }

  .sticky-nav .logo-img {
    max-width: 90px;
  }

  .sticky-nav .nav-links {
    gap: 1rem;
  }

  .sticky-nav .nav-links a {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .nav-links {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.65rem;
    padding: 0.6rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero .nav-links a,
  .hero-nav .nav-links a {
    font-size: 0.85rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-links a::after {
    bottom: 15px;
  }

  .hero-nav .nav-links a::after {
    bottom: 15px;
  }

  .hero-nav .nav-links {
    width: 95%;
    margin: 0 auto;
    gap: 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section {
    padding: 3rem 1.5rem;
    margin-bottom: 1rem;
  }

  html {
    scroll-padding-top: 60px;
  }

  .global-section {
    padding: 0 1rem;
  }

  .world-map {
    height: 40vh;
    min-height: 250px;
  }

  /* Form: prevent iOS zoom on focus */
  .form-group input,
  .form-group textarea {
    font-size: 16px;
    min-height: 48px;
  }

  .form-group label {
    font-size: 0.6rem;
  }

  .select-trigger {
    min-height: 48px;
  }

  .select-value {
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: none;
  }

  .select-option {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
  }

  .submit-btn {
    width: 100%;
    padding: 1.1rem 2rem;
    min-height: 52px;
    text-align: center;
  }

  .submit-btn:hover {
    padding-left: 2rem;
    padding-right: 2rem;
    letter-spacing: 0.2em;
  }

  .contact-info h3 {
    font-size: 0.68rem;
  }

  .contact-info p {
    padding-left: 0;
  }

  .global-title {
    font-size: 2rem;
  }

  .scroll-indicator {
    bottom: 1.5rem;
  }
}

/* ─── Extra small (< 380px) ────────────────────────── */
@media (max-width: 380px) {
  .logo-img {
    max-width: 200px;
  }

  .sticky-nav .nav-links {
    gap: 0.6rem;
  }

  .sticky-nav .nav-links a {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.6rem;
  }

  .hero-nav .nav-links a {
    font-size: 0.72rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.7rem;
  }

  .section {
    padding: 2.5rem 1.2rem;
  }

  .about-two-col {
    gap: 2rem;
  }

  .blends-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .contact-layout {
    gap: 2rem;
  }
}
