/* Custom CSS Variables - Domain Relevant & Unique Names */
:root {
  --glyco-canvas-bg: #F7F5F0;
  --glyco-surface-tone: #FFFFFF;
  --glyco-ink-deep: #12161A;
  --glyco-vibrant-accent: #E05A2B;
  --glyco-subtle-border: #D8D2C6;
  --glyco-highlight-gold: #C28B38;
  --glyco-dark-footer: #181C20;
  
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --scale-padding: 10dvh;
}

/* Reset & Base Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.glyco-editorial-body {
  background-color: var(--glyco-canvas-bg);
  color: var(--glyco-ink-deep);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Header Component - Preset H Style: White bg, big display title, small-caps nav */
.glyco-head-bar {
  background-color: var(--glyco-surface-tone);
  border-bottom: 2px solid var(--glyco-ink-deep);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.glyco-head-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.glyco-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--glyco-ink-deep);
}

.glyco-brand-icon {
  width: 32px;
  height: 32px;
  color: var(--glyco-vibrant-accent);
}

.glyco-brand-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.glyco-main-nav {
  display: flex;
  gap: 2.5rem;
}

.glyco-nav-item {
  text-decoration: none;
  color: var(--glyco-ink-deep);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.2s ease;
}

.glyco-nav-item:hover,
.glyco-nav-item.active {
  color: var(--glyco-vibrant-accent);
}

.glyco-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--glyco-vibrant-accent);
}

/* Mobile Hamburger CSS-Only */
.glyco-nav-check {
  display: none;
}

.glyco-burger-icon {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.glyco-burger-icon span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--glyco-ink-deep);
}

/* Scroll Progress Bar (CSS Scroll-Driven) */
.glyco-scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--glyco-vibrant-accent);
  width: 100%;
  transform-origin: 0 50%;
  z-index: 1001;
}

@supports (animation-timeline: scroll()) {
  .glyco-scroll-bar {
    animation: glyco-progress linear;
    animation-timeline: scroll(root block);
  }

  @keyframes glyco-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}

/* HERO PRESET H: Word-by-word layout */
.glyco-hero-asym {
  position: relative;
  padding: var(--scale-padding) 2rem;
  overflow: hidden;
  background-color: var(--glyco-canvas-bg);
}

.glyco-hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}

.glyco-hero-shell {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.glyco-word-stagger {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-bottom: 3rem;
}

.glyco-word-line {
  display: block;
}

.glyco-align-left { text-align: left; }
.glyco-align-right { text-align: right; }
.glyco-align-center { text-align: center; }

.glyco-vibrant-highlight {
  color: var(--glyco-vibrant-accent);
  text-decoration: underline;
  text-decoration-color: var(--glyco-ink-deep);
  text-underline-offset: 8px;
}

.glyco-hero-sub-wrap {
  max-width: 600px;
  margin-left: auto;
  border-left: 3px solid var(--glyco-ink-deep);
  padding-left: 1.5rem;
}

.glyco-hero-subtext {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 1.8rem;
}

.glyco-action-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--glyco-vibrant-accent);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 2px solid var(--glyco-vibrant-accent);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.glyco-action-link:hover {
  opacity: 0.8;
}

/* CONTENT PRESET H: 3-Col Masonry Text */
.glyco-masonry-zone {
  padding: var(--scale-padding) 0 0 0;
}

.glyco-masonry-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem 2rem;
}

.glyco-asym-section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
  border-bottom: 2px solid var(--glyco-ink-deep);
  padding-bottom: 0.5rem;
}

.glyco-masonry-columns {
  column-count: 3;
  column-gap: 3rem;
  column-rule: 1px solid var(--glyco-subtle-border);
}

.glyco-column-block {
  break-inside: avoid;
  margin-bottom: 2rem;
}

.glyco-column-head {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.glyco-column-p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 1rem;
}

.glyco-column-icon {
  font-size: 1.5rem;
}

/* BG2 Stripe Overlay Section */
.glyco-bg2-stripe {
  width: 100%;
  height: 50vh;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.glyco-stripe-content {
  background-color: var(--glyco-surface-tone);
  padding: 3rem;
  max-width: 550px;
  margin-left: max(2rem, calc((100vw - 1200px)/2));
  border: 2px solid var(--glyco-ink-deep);
}

.glyco-stripe-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.glyco-stripe-desc {
  font-size: 1rem;
}

/* FEATURES PRESET H: Inline Manifesto Lines */
.glyco-manifesto-zone {
  padding: var(--scale-padding) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.glyco-manifesto-list {
  display: flex;
  flex-direction: column;
}

.glyco-manifesto-item {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--glyco-ink-deep);
}

.glyco-manifesto-item:last-child {
  border-bottom: none;
}

.glyco-manifesto-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--glyco-vibrant-accent);
  min-width: 45px;
}

.glyco-manifesto-text {
  font-size: 1.25rem;
}

.glyco-manifesto-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
}

/* HOW IT WORKS PRESET H: Rotated Step Numbers */
.glyco-steps-zone {
  padding: var(--scale-padding) 2rem;
  background-color: var(--glyco-surface-tone);
  border-top: 2px solid var(--glyco-ink-deep);
  border-bottom: 2px solid var(--glyco-ink-deep);
}

.glyco-steps-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.glyco-steps-row {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.glyco-step-card {
  flex: 1;
  position: relative;
  padding-top: 2rem;
}

.glyco-step-offset-1 { transform: translateY(20px); }
.glyco-step-offset-2 { transform: translateY(40px); }

.glyco-step-giant {
  position: absolute;
  top: -30px;
  left: -10px;
  font-family: var(--font-display);
  font-size: 6.5rem;
  font-weight: 900;
  color: var(--glyco-ink-deep);
  opacity: 0.12;
  transform: rotate(-10deg);
  pointer-events: none;
  line-height: 1;
}

.glyco-step-body {
  position: relative;
  z-index: 2;
}

.glyco-step-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.glyco-step-p {
  font-size: 0.95rem;
  color: #444;
}

/* CTA Strip */
.glyco-cta-strip {
  background-color: var(--glyco-ink-deep);
  color: var(--glyco-surface-tone);
  padding: 4rem 2rem;
}

.glyco-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.glyco-cta-heading {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.glyco-ghost-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 2px solid var(--glyco-surface-tone);
  color: var(--glyco-surface-tone);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.glyco-ghost-button:hover {
  background-color: var(--glyco-surface-tone);
  color: var(--glyco-ink-deep);
}

/* EXPERT PAGE PRESET H: Editorial 50/50 Split */
.glyco-expert-editorial {
  display: flex;
  min-height: calc(100vh - 80px);
}

.glyco-expert-left {
  flex: 1;
  padding: var(--scale-padding) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.glyco-expert-right {
  flex: 1;
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.glyco-expert-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.glyco-editorial-dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  float: left;
  line-height: 0.8;
  margin-right: 0.8rem;
  color: var(--glyco-vibrant-accent);
}

.glyco-expert-p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.glyco-plain-stats {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glyco-stat-unit {
  border-top: 1px solid var(--glyco-subtle-border);
  padding-top: 0.8rem;
}

.glyco-stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--glyco-vibrant-accent);
  display: block;
  line-height: 1;
}

.glyco-stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--glyco-ink-deep);
}

/* RESERVE PAGE PRESET H: Underline-Only Centered Form */
.glyco-reserve-wrap {
  padding: var(--scale-padding) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.glyco-form-section {
  max-width: 640px;
  margin: 0 auto 5rem auto;
}

.glyco-reserve-giant-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.glyco-reserve-lead {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #555;
}

.glyco-editorial-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.glyco-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.glyco-input-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.glyco-underline-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--glyco-ink-deep);
  padding: 0.8rem 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}

.glyco-underline-input:focus {
  border-color: var(--glyco-vibrant-accent);
}

.glyco-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.85rem;
}

.glyco-checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--glyco-vibrant-accent);
}

.glyco-checkbox-group a {
  color: var(--glyco-vibrant-accent);
}

.glyco-submit-btn {
  background-color: var(--glyco-ink-deep);
  color: var(--glyco-surface-tone);
  border: none;
  padding: 1.2rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.glyco-submit-btn:hover {
  background-color: var(--glyco-vibrant-accent);
}

.glyco-direct-contact {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.glyco-direct-contact a {
  color: var(--glyco-vibrant-accent);
  font-weight: 600;
  text-decoration: none;
}

/* Feature Cards Grid (Reserve Page) */
.glyco-cards-zone {
  margin-bottom: 5rem;
}

.glyco-feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.glyco-fcard {
  background-color: var(--glyco-surface-tone);
  border: 2px solid var(--glyco-ink-deep);
  padding: 2.5rem;
}

.glyco-fcard-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.glyco-fcard-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.glyco-fcard-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: #444;
}

.glyco-fcard-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.glyco-fcard-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.glyco-badge {
  width: 22px;
  height: 22px;
  background-color: var(--glyco-vibrant-accent);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
}

/* FAQ Zone */
.glyco-faq-zone {
  max-width: 800px;
  margin: 0 auto;
}

.glyco-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glyco-faq-item {
  border-bottom: 1px solid var(--glyco-ink-deep);
  padding-bottom: 1.2rem;
}

.glyco-faq-question {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
}

.glyco-faq-answer {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #333;
}

/* THANK YOU PAGE */
.glyco-thank-zone {
  padding: var(--scale-padding) 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.glyco-thank-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.glyco-thank-p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.glyco-thank-img-wrap {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border: 2px solid var(--glyco-ink-deep);
}

.glyco-thank-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* LEGAL PAGES (Privacy & Terms) */
.glyco-legal-page {
  padding: var(--scale-padding) 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.glyco-legal-heading {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--glyco-ink-deep);
  padding-bottom: 0.5rem;
}

.glyco-legal-subheading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 3rem 0 1.5rem 0;
  border-bottom: 1px solid var(--glyco-subtle-border);
  padding-bottom: 0.3rem;
}

.glyco-legal-p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #222;
}

/* FOOTER */
.glyco-foot-zone {
  background-color: var(--glyco-dark-footer);
  color: #E0E0E0;
  padding: 4rem 2rem 2rem 2rem;
  border-top: 2px solid var(--glyco-ink-deep);
  margin-top: auto;
}

.glyco-foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.glyco-foot-brand .glyco-brand-text {
  color: #FFFFFF;
}

.glyco-foot-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.glyco-foot-links a {
  color: #BBB;
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.glyco-foot-links a:hover {
  color: var(--glyco-vibrant-accent);
}

.glyco-foot-disclaimer {
  max-width: 700px;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  line-height: 1.4;
}

.glyco-foot-copy {
  font-size: 0.8rem;
  color: #666;
}

/* COOKIE BANNER */
.glyco-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--glyco-ink-deep);
  color: var(--glyco-surface-tone);
  padding: 1.5rem;
  z-index: 9999;
  border-top: 2px solid var(--glyco-vibrant-accent);
}

.glyco-cookie-box {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.glyco-cookie-text {
  font-size: 0.9rem;
}

.glyco-cookie-actions {
  display: flex;
  gap: 1rem;
}

.glyco-cookie-btn {
  padding: 0.6rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
}

.glyco-cookie-accept {
  background-color: var(--glyco-vibrant-accent);
  color: white;
}

.glyco-cookie-decline {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .glyco-masonry-columns {
    column-count: 1;
    column-rule: none;
  }

  .glyco-steps-row {
    flex-direction: column;
    gap: 3.5rem;
  }

  .glyco-step-offset-1, .glyco-step-offset-2 {
    transform: translateY(0);
  }

  .glyco-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .glyco-expert-editorial {
    flex-direction: column;
  }

  .glyco-expert-left {
    padding: 3rem 1.5rem;
  }

  .glyco-expert-right {
    min-height: 300px;
  }

  .glyco-cookie-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .glyco-burger-icon {
    display: flex;
  }

  .glyco-main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--glyco-surface-tone);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 2px solid var(--glyco-ink-deep);
  }

  .glyco-nav-check:checked ~ .glyco-main-nav {
    display: flex;
  }

  .glyco-word-stagger {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .glyco-hero-sub-wrap {
    margin-left: 0;
  }

  .glyco-stripe-content {
    margin: 1.5rem;
    padding: 2rem;
  }

  .glyco-manifesto-item {
    flex-direction: column;
    gap: 0.5rem;
  }
}