/* --- DESIGN SYSTEM & CUSTOM COLOR VARIABLE PALETTE --- */
:root {
  --joint-body-bg: #faf9f6;
  --joint-slab-surface: #ffffff;
  --joint-brand-green: #26543c;
  --joint-brand-green-hover: #1b3d2b;
  --joint-accent-warm: #e67e22;
  --joint-accent-warm-hover: #cf711f;
  --joint-text-slate: #1e293b;
  --joint-text-muted: #64748b;
  --joint-border-tint: #e2e8f0;
  --joint-deco-glow: rgba(38, 84, 60, 0.05);
  
  /* Typography derived from custom configuration prompt */
  --joint-font-display: 'Montserrat', sans-serif;
  --joint-font-body: 'Poppins', sans-serif;
  
  /* Adaptive Layout Variables */
  --joint-outer-pad: 10dvh; /* Normal padding scale */
  --joint-soft-radius: 16px; /* Soft corner style */
  --joint-raised-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* --- BASE STYLES & RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--joint-font-body);
  color: var(--joint-text-slate);
  background-color: var(--joint-body-bg);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--joint-font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--joint-brand-green);
  line-height: 1.2;
}

p {
  line-height: 1.7;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* --- SCROLL-DRIVEN ANIMATIONS --- */
.joint-scroll-tracker {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--joint-accent-warm);
  width: 0;
  z-index: 10001;
  animation: joint-grow linear;
  animation-timeline: scroll();
}

@keyframes joint-grow {
  to { width: 100%; }
}

.joint-reveal-element {
  animation: joint-slide-up linear both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

@keyframes joint-slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- SHARED STRUCTURES --- */
.joint-main-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* --- TOP ANNOUNCEMENT BAR --- */
.joint-top-alert {
  background-color: var(--joint-brand-green);
  color: #ffffff;
  padding: 10px 0;
  font-size: 0.85rem;
  font-family: var(--joint-font-display);
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 100;
}

.joint-top-alert a {
  color: var(--joint-accent-warm);
  margin-left: 5px;
  text-decoration: underline;
}

.joint-top-alert a:hover {
  color: #ffffff;
}

/* --- HEADER NAVIGATION --- */
.joint-nav-header {
  background-color: var(--joint-slab-surface);
  border-bottom: 2px solid var(--joint-border-tint);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: var(--joint-raised-shadow);
  transition: box-shadow 0.3s ease;
}

.joint-nav-header:focus-within {
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15);
}

.joint-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.joint-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.joint-brand-icon {
  width: 38px;
  height: 38px;
  fill: var(--joint-accent-warm);
}

.joint-nav-text-logo {
  font-family: var(--joint-font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.joint-nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.joint-nav-item {
  font-family: var(--joint-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--joint-text-slate);
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding: 6px 0;
}

.joint-nav-item:hover, .joint-nav-item.active {
  color: var(--joint-brand-green);
  border-bottom-color: var(--joint-brand-green);
}

/* Hamburger mechanism (CSS-only) */
.joint-hamburger-checkbox {
  display: none;
}

.joint-hamburger-label {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  width: 30px;
  height: 24px;
}

.joint-hamburger-bar {
  height: 3px;
  background-color: var(--joint-brand-green);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- CALL TO ACTION BUTTON ARSENAL --- */
.joint-call-lead {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--joint-accent-warm);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--joint-soft-radius);
  font-family: var(--joint-font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
  box-shadow: var(--joint-raised-shadow);
}

.joint-call-lead:hover {
  background-color: var(--joint-accent-warm-hover);
  transform: translateY(-2px);
}

.joint-call-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--joint-brand-green);
  padding: 12px 26px;
  border-radius: var(--joint-soft-radius);
  font-family: var(--joint-font-display);
  font-weight: 700;
  text-transform: uppercase;
  border: 2px solid var(--joint-brand-green);
  cursor: pointer;
  transition: all 0.3s ease;
}

.joint-call-secondary:hover {
  background-color: var(--joint-brand-green);
  color: #ffffff;
}

/* --- HERO SPLIT VIEW (PRESET B) --- */
.joint-hero-split-wrapper {
  background-color: var(--joint-slab-surface);
  border-bottom: 1px solid var(--joint-border-tint);
}

.joint-hero-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 70vh;
}

.joint-hero-split-content {
  background-color: var(--joint-deco-glow);
  padding: var(--joint-outer-pad) 8% var(--joint-outer-pad) 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.joint-hero-subtitle {
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  color: var(--joint-accent-warm);
  font-weight: 600;
}

.joint-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.joint-hero-description {
  font-size: 1.1rem;
  color: var(--joint-text-slate);
  max-width: 600px;
}

.joint-hero-split-media {
  position: relative;
  overflow: hidden;
}

.joint-hero-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- EDITORIAL JOURNAL BAND SECTION --- */
.joint-journal-stripe {
  height: 45vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.joint-journal-stripe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.joint-journal-grid-holder {
  padding: var(--joint-outer-pad) 0;
}

.joint-journal-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.joint-journal-col-card {
  border-top: 3.5px solid var(--joint-brand-green);
  padding-top: 24px;
}

.joint-journal-col-num {
  font-family: var(--joint-font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--joint-accent-warm);
  line-height: 1;
  margin-bottom: 12px;
}

.joint-journal-col-title {
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.joint-journal-col-text {
  color: var(--joint-text-muted);
}

/* --- MASONRY FEATURES (PRESET B) --- */
.joint-features-scented {
  background-color: var(--joint-slab-surface);
  padding: var(--joint-outer-pad) 0;
}

.joint-features-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.joint-features-intro h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.joint-masonry-gallery {
  columns: 3 320px;
  column-gap: 24px;
}

.joint-masonry-item {
  background-color: var(--joint-body-bg);
  border-radius: var(--joint-soft-radius);
  padding: 32px;
  margin-bottom: 24px;
  break-inside: avoid;
  border: 1px solid var(--joint-border-tint);
  box-shadow: var(--joint-raised-shadow);
  transition: transform 0.3s ease;
}

.joint-masonry-item:hover {
  transform: translateY(-5px);
}

.joint-masonry-badge {
  display: inline-block;
  background-color: var(--joint-deco-glow);
  color: var(--joint-brand-green);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.joint-masonry-icon-nest {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--joint-brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.joint-masonry-icon {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.joint-masonry-item h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.joint-masonry-item p {
  color: var(--joint-text-muted);
  font-size: 0.95rem;
}

/* --- PROGRESS TRACK STEPPER (PRESET B) --- */
.joint-step-scroller {
  padding: var(--joint-outer-pad) 0;
}

.joint-horizontal-track {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  margin-top: 40px;
}

.joint-horizontal-line-connector {
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 2px;
  border-top: 2px dashed var(--joint-border-tint);
  z-index: 1;
}

.joint-step-block {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.joint-step-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--joint-slab-surface);
  border: 3px solid var(--joint-border-tint);
  color: var(--joint-text-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--joint-font-display);
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  box-shadow: var(--joint-raised-shadow);
}

.joint-step-block.joint-step-highlight .joint-step-bubble {
  border-color: var(--joint-accent-warm);
  background-color: var(--joint-accent-warm);
  color: #ffffff;
}

.joint-step-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.joint-step-desc {
  color: var(--joint-text-muted);
  font-size: 0.9rem;
  max-width: 260px;
  margin: 0 auto;
}

/* --- CTA ACCENT STRIP --- */
.joint-editorial-strip-block {
  background-color: var(--joint-brand-green);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.joint-strip-inner h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 20px;
}

.joint-strip-inner p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 32px;
  opacity: 0.9;
}

/* --- EXPERT PAGE BIO --- */
.joint-bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  padding: var(--joint-outer-pad) 0;
}

.joint-bio-media {
  border-radius: var(--joint-soft-radius);
  overflow: hidden;
  box-shadow: var(--joint-raised-shadow);
}

.joint-bio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.joint-bio-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

/* --- HORIZONTAL STATS BLOCK --- */
.joint-stats-horizontal-strip {
  background-color: var(--joint-slab-surface);
  border-top: 1px solid var(--joint-border-tint);
  border-bottom: 1px solid var(--joint-border-tint);
  padding: 50px 0;
}

.joint-stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.joint-stat-spot {
  text-align: center;
}

.joint-stat-digit {
  font-family: var(--joint-font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--joint-accent-warm);
}

.joint-stat-label {
  font-family: var(--joint-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--joint-text-muted);
  margin-top: 5px;
}

/* --- ACCORDION SYSTEM (CSS ONLY) --- */
.joint-accordion-deck {
  padding: var(--joint-outer-pad) 0;
}

.joint-accordion-deck-title {
  text-align: center;
  margin-bottom: 50px;
}

.joint-accordion-item {
  background-color: var(--joint-slab-surface);
  border-radius: var(--joint-soft-radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--joint-raised-shadow);
  border: 1px solid var(--joint-border-tint);
}

.joint-accordion-input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.joint-accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  font-family: var(--joint-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--joint-brand-green);
  cursor: pointer;
  user-select: none;
}

.joint-accordion-trigger::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.joint-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background-color: var(--joint-deco-glow);
}

.joint-accordion-body-content {
  padding: 24px;
  border-top: 1px solid var(--joint-border-tint);
}

.joint-accordion-input:checked ~ .joint-accordion-body {
  max-height: 500px;
}

.joint-accordion-input:checked ~ .joint-accordion-trigger::after {
  transform: rotate(45deg);
}

/* --- TWO COLUMN BOOKING GRID (PRESET B) --- */
.joint-register-deck {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  padding: var(--joint-outer-pad) 0;
}

.joint-info-column-nest {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.joint-info-card-spot {
  background-color: var(--joint-slab-surface);
  border-radius: var(--joint-soft-radius);
  padding: 32px;
  box-shadow: var(--joint-raised-shadow);
  border: 1px solid var(--joint-border-tint);
}

.joint-info-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.joint-info-card-icon {
  width: 32px;
  height: 32px;
  fill: var(--joint-accent-warm);
}

.joint-info-bullet-list {
  list-style: none;
}

.joint-info-bullet-item {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.joint-info-bullet-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--joint-brand-green);
  font-weight: 900;
}

/* --- BOOKING FORM WRAPPER --- */
.joint-booking-form-panel {
  background-color: var(--joint-slab-surface);
  border-radius: var(--joint-soft-radius);
  padding: 48px;
  box-shadow: var(--joint-raised-shadow);
  border: 1px solid var(--joint-border-tint);
}

.joint-booking-form-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  border-bottom: 3.5px solid var(--joint-accent-warm);
  padding-bottom: 12px;
  display: inline-block;
}

.joint-form-row {
  margin-bottom: 24px;
}

.joint-form-row label {
  display: block;
  font-family: var(--joint-font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--joint-text-slate);
}

.joint-form-row input[type="text"],
.joint-form-row input[type="tel"],
.joint-form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--joint-border-tint);
  border-radius: var(--joint-soft-radius);
  font-family: var(--joint-font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.joint-form-row input:focus,
.joint-form-row textarea:focus {
  outline: none;
  border-color: var(--joint-brand-green);
}

.joint-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.joint-checkbox-group input[type="checkbox"] {
  margin-top: 4px;
}

.joint-checkbox-group label {
  font-size: 0.85rem;
  text-transform: none;
  font-weight: 400;
  color: var(--joint-text-muted);
}

.joint-form-link {
  color: var(--joint-brand-green);
  text-decoration: underline;
}

.joint-company-mail-contact {
  margin-top: 32px;
  text-align: center;
  font-family: var(--joint-font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.joint-company-mail-contact a {
  color: var(--joint-accent-warm);
  text-decoration: underline;
}

/* --- LEGAL AND POLICIES SHELL --- */
.joint-legal-canvas {
  padding: var(--joint-outer-pad) 0;
  min-height: 80vh;
}

.joint-legal-heading {
  margin-bottom: 40px;
}

.joint-legal-paragraph {
  margin-bottom: 24px;
  color: var(--joint-text-slate);
  font-size: 1rem;
}

.joint-legal-accent-sub {
  margin: 40px 0 20px;
  color: var(--joint-brand-green);
}

/* --- THANK YOU SECTION --- */
.joint-gratitude-slab {
  padding: var(--joint-outer-pad) 0;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.joint-gratitude-card {
  background-color: var(--joint-slab-surface);
  border-radius: var(--joint-soft-radius);
  padding: 60px 40px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--joint-raised-shadow);
  border: 1px solid var(--joint-border-tint);
}

.joint-gratitude-illustration {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--joint-soft-radius);
  margin-bottom: 30px;
}

.joint-gratitude-card h1 {
  margin-bottom: 16px;
}

.joint-gratitude-card p {
  color: var(--joint-text-muted);
  margin-bottom: 32px;
}

/* --- FOOTER STRUCTURE --- */
.joint-footer-shield {
  background-color: var(--joint-slab-surface);
  border-top: 2px solid var(--joint-border-tint);
  padding: 60px 0 30px;
  margin-top: auto;
}

.joint-footer-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.joint-footer-disclaimer {
  max-width: 800px;
  font-size: 0.85rem;
  color: var(--joint-text-muted);
  line-height: 1.6;
}

.joint-footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.joint-footer-nav-link {
  font-family: var(--joint-font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--joint-text-slate);
  text-transform: uppercase;
}

.joint-footer-nav-link:hover {
  color: var(--joint-brand-green);
}

.joint-footer-copyright {
  font-family: var(--joint-font-body);
  font-size: 0.85rem;
  color: var(--joint-text-muted);
}

/* --- COOKIE CONSENT DRAWER --- */
.joint-cookie-scabbard {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--joint-slab-surface);
  border-top: 3.5px solid var(--joint-accent-warm);
  padding: 24px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
  z-index: 99999;
  display: none;
}

.joint-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.joint-cookie-text {
  font-size: 0.95rem;
  color: var(--joint-text-slate);
  line-height: 1.5;
}

.joint-cookie-controls {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.joint-cookie-btn {
  padding: 10px 20px;
  border-radius: var(--joint-soft-radius);
  font-family: var(--joint-font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  border: none;
}

.joint-cookie-btn-accept {
  background-color: var(--joint-brand-green);
  color: #ffffff;
}

.joint-cookie-btn-accept:hover {
  background-color: var(--joint-brand-green-hover);
}

.joint-cookie-btn-refuse {
  background-color: transparent;
  border: 1.5px solid var(--joint-border-tint);
  color: var(--joint-text-muted);
}

.joint-cookie-btn-refuse:hover {
  background-color: var(--joint-border-tint);
}

/* --- ADAPTIVITY & RESPONSIVENESS --- */
@media (max-width: 992px) {
  .joint-hero-split-grid {
    grid-template-columns: 1fr;
  }
  
  .joint-hero-split-content {
    padding: 60px 24px;
  }
  
  .joint-hero-split-media {
    height: 40vh;
  }
  
  .joint-journal-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .joint-bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .joint-register-deck {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .joint-hamburger-label {
    display: flex;
    z-index: 1000;
  }
  
  .joint-nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--joint-slab-surface);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: right 0.4s ease;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.05);
  }
  
  .joint-hamburger-checkbox:checked ~ .joint-nav-links {
    right: 0;
  }
  
  .joint-hamburger-checkbox:checked ~ .joint-hamburger-label .joint-hamburger-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .joint-hamburger-checkbox:checked ~ .joint-hamburger-label .joint-hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  
  .joint-hamburger-checkbox:checked ~ .joint-hamburger-label .joint-hamburger-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  .joint-horizontal-track {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
  }
  
  .joint-horizontal-line-connector {
    display: none;
  }
  
  .joint-cookie-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}