/* ==========================================================================
   EDITORIAL DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Editorial Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Classic Luxury B&W Color Palette */
  --text-white: #ffffff;
  --bg-white: #ffffff;
  --bg-light: #fbfbfb;          /* Minimal soft warm grey */
  --text-black: #000000;
  --text-dark: #0d0d0d;          /* Extremely deep charcoal */
  --text-muted: #666666;         /* Elegant gray for captions */
  --text-light-muted: #999999;
  --border-light: #e8e8e8;       /* Subtle elegant gridlines */
  --border-dark: #000000;

  /* Layout, Shadows, & Speeds */
  --radius-editorial: 0px;      /* Modern luxury editorial style utilizes sharp edges */
  --radius-modal: 4px;          /* Minimal curve for high-end feel */
  --shadow-editorial: 0 10px 40px rgba(0, 0, 0, 0.04);
  --shadow-modal: 0 25px 80px rgba(0, 0, 0, 0.12);
  --transition-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bezier: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  padding: 0;
}

/* Large outer layout settings */
section, main {
  padding: 6rem 4rem;
  max-width: 1240px;
  margin: 0 auto;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   HEADER & NAVIGATION BAR (TOP)
   ========================================================================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.25rem 0rem;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 1240px;
    margin: auto;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-black);
  transition: opacity 0.3s var(--transition-editorial);
}

.logo:hover {
  opacity: 0.75;
}

.nav-bar {
  display: flex;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s var(--transition-editorial);
}

.nav-link:hover {
  color: var(--text-black);
}

/* Underline slide effect on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--transition-editorial);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: var(--text-black);
  font-weight: 600;
}

/* Rectangular luxury CTA button */
.btn-contact {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-white);
  background-color: var(--text-black);
  padding: 0.95rem 2.25rem;
  border-radius: var(--radius-editorial);
  border: 1px solid var(--text-black);
  transition: all 0.4s var(--transition-editorial);
}

.btn-contact:hover {
  background-color: transparent;
  color: var(--text-black);
}

/* ==========================================================================
   SECTION 1: HERO MAIN SPREAD
   ========================================================================== */
.hero-section {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Hero left column */
.hero-text-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.hero-intro-para {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 320px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 6.5vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-black);
  margin-top: 1rem;
  /* Pull title out to overlap column slightly */
  width: 140%;
}

/* Hero center image */
.hero-center-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 520px;
  cursor: pointer;
  background-color: var(--bg-light);
}

.hero-center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-editorial);
}

.img-zoom-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: var(--text-white);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  padding: 0.45rem 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--transition-editorial);
}

.hero-center-img-wrapper:hover .hero-center-img {
  transform: scale(1.04);
}

.hero-center-img-wrapper:hover .img-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Hero right column */
.hero-right-block {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.featured-post-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  /* border-top: 1px solid var(--text-black); */
  padding-top: 0rem;
}

.featured-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

.featured-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-black);
}

/* View Architect Text Button */
.view-architect-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-black);
  margin-top: 0.5rem;
  position: relative;
}

.btn-line {
  height: 1px;
  background-color: var(--text-black);
  width: 100%;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.4s var(--transition-editorial);
}

.view-architect-btn:hover .btn-line {
  transform: scaleX(1);
}

.hero-right-img-wrapper {
  overflow: hidden;
  height: 300px;
  background-color: var(--bg-light);
}

.hero-right-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   WHO WE ARE & PROGRAM SECTIONS (2-Column grids)
   ========================================================================== */
.section-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Vertical portrait frame image */
.who-we-are-img-wrapper {
  height: 640px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  background-color: var(--bg-white);
  transition: transform 0.6s var(--transition-editorial);
}

.who-we-are-img-wrapper:hover {
  transform: translateY(-4px);
}

.who-we-are-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Editorial column details */
.who-we-are-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  max-width: 480px;
}

.category-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-black);
}

.section-para {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Bold dark block button */
.btn-block-dark {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-white);
  background-color: var(--text-black);
  padding: 1.1rem 2.75rem;
  border-radius: var(--radius-editorial);
  border: 1px solid var(--text-black);
  cursor: pointer;
  transition: all 0.4s var(--transition-editorial);
}

.btn-block-dark:hover {
  background-color: transparent;
  color: var(--text-black);
  transform: translateY(-1px);
}

/* Interior Design Program Section details */
.program-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.program-content {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 480px;
}

.milestones-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.milestone-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.milestone-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-black);
}

.milestone-text {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.program-img-wrapper {
  height: 480px;
  overflow: hidden;
}

.program-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-editorial);
}

.program-img-wrapper:hover .program-img {
  transform: scale(1.03);
}

/* ==========================================================================
   SECTION 4: ASYMMETRICAL SPACES SPREAD
   ========================================================================== */
.spaces-section {
  padding-bottom: 8rem;
}

/* Asymmetrical Image Collage */
.spaces-collage {
  position: relative;
  height: 380px;
}

.collage-top-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 380px;
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  z-index: 2;
}

.collage-bottom-img-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  height: 340px;
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  z-index: 1;
}

.collage-top-img, .collage-bottom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-editorial);
}

/* Inspect zoom states */
.img-inspectable {
  cursor: pointer;
}

.collage-inspect-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--transition-editorial);
  z-index: 5;
}

.img-inspectable:hover .collage-inspect-overlay {
  opacity: 1;
}

.img-inspectable:hover img {
  transform: scale(1.03);
}

.spaces-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  max-width: 480px;
  padding-left: 2rem;
}

.spaces-para {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.spaces-para.text-muted {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   SECTION 5: OUR MENTORSHIP PROGRAM
   ========================================================================== */
.mentorship-section {
  padding-top: 6rem;
  padding-bottom: 7rem;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-light);
}

.container-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.mentorship-main-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 5rem;
  letter-spacing: -0.03em;
  color: var(--text-black);
}

.mentorship-grid-three {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

/* Col 1 details */
.mentorship-col-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
}

.career-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-light-muted);
}

.course-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-black);
}

.course-desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.price-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.price-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-black);
}

.price-sub {
  font-size: 0.75rem;
  color: var(--text-light-muted);
  letter-spacing: 0.02em;
}

/* Col 2 center image */
.mentorship-col-img {
  height: 480px;
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
}

.mentorship-center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-editorial);
}

.mentorship-col-img:hover .mentorship-center-img {
  transform: scale(1.03);
}

/* Col 3 Syllabus details */
.mentorship-col-syllabus {
  display: flex;
  align-items: center;
}

.syllabus-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 3rem 2.25rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  box-shadow: var(--shadow-editorial);
}

.syllabus-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
}

.syllabus-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.syllabus-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light-muted);
  text-transform: uppercase;
}

.syllabus-val {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-black);
}

/* ==========================================================================
   SECTION 6: FURNITURE SHOULD BE COMFORTABLE
   ========================================================================== */
.furniture-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.furniture-grid-three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

/* Col 1 dining portrait */
.furniture-img-col {
  height: 520px;
  overflow: hidden;
}

.furniture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-editorial);
}

.furniture-img-col:hover .furniture-img {
  transform: scale(1.02);
}

/* Col 2 centered info */
.furniture-text-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0 1.5rem;
}

.furniture-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-black);
}

.furniture-para {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Col 3 secondary */
.furniture-secondary-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.furniture-secondary-img-wrapper {
  height: 280px;
  overflow: hidden;
}

.furniture-secondary-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.furniture-secondary-caption {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-light-muted);
}

/* ==========================================================================
   SECTION 7: LET'S WORK TOGETHER CTA
   ========================================================================== */
.cta-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  padding: 0;
}

.cta-grid-two {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.cta-content {
  padding: 5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-black);
  max-width: 580px;
}

/* Luxury outline action button */
.btn-outline-dark {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-black);
  background-color: transparent;
  padding: 1.1rem 3.25rem;
  border-radius: var(--radius-editorial);
  border: 1px solid var(--text-black);
  transition: all 0.4s var(--transition-editorial);
}

.btn-outline-dark:hover {
  background-color: var(--text-black);
  color: var(--text-white);
  transform: translateY(-2px);
}

.cta-img-wrapper {
  height: 520px;
  overflow: hidden;
}

.cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-editorial);
}

.cta-img-wrapper:hover .cta-img {
  transform: scale(1.02);
}

/* ==========================================================================
   FOOTER (DARK SPREAD)
   ========================================================================== */
.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 6rem;
  margin-bottom: 2rem;
      max-width: 1240px;
    margin: auto;
    padding-bottom: 30px;
}

/* Column 1 Info */
.footer-col-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.footer-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.8;
  color: #888888;
  max-width: 320px;
}

.copyright-desktop {
  font-size: 0.8rem;
  color: #555555;
  margin-top: auto;
}

/* Column 2 Newsletter */
.footer-col-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-heading-tag {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.newsletter-form {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.75rem;
  position: relative;
  transition: border-color 0.3s var(--transition-editorial);
}

.newsletter-form:focus-within {
  border-color: #ffffff;
}

#newsletter-email {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #ffffff;
}

#newsletter-email::placeholder {
  color: #555555;
}

.btn-newsletter-arrow {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: transform 0.3s var(--transition-editorial);
}

.newsletter-form:hover .btn-newsletter-arrow {
  transform: translateX(4px);
}

.btn-newsletter-arrow svg {
  width: 22px;
  height: 22px;
}

.newsletter-success-msg {
  font-size: 0.85rem;
  color: #a4aaa4;
  font-style: italic;
  animation: fadeIn 0.4s forwards;
}

.newsletter-success-msg.hidden {
  display: none;
}

/* Column 3 Links */
.footer-col-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #888888;
  letter-spacing: 0.02em;
  transition: color 0.3s var(--transition-editorial);
}

.footer-link:hover {
  color: #ffffff;
}

/* baseline copyright footer */
.footer-baseline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.25rem;
  max-width: 1240px;
    margin: auto;
}

.copyright-mobile {
  display: none;
  font-size: 0.8rem;
  color: #555555;
}

.footer-social-links {
  display: flex;
  gap: 2rem;
}

.social-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: #888888;
  letter-spacing: 0.08em;
  transition: color 0.3s var(--transition-editorial);
}

.social-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   INTERACTIVE SIDEBAR DRAWER (BOOKING)
   ========================================================================== */
.booking-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  opacity: 1;
  visibility: visible;
  transition: all 0.5s var(--transition-editorial);
}

.booking-sidebar-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.booking-sidebar {
  width: 500px;
  max-width: 90%;
  height: 100%;
  background-color: var(--bg-white);
  padding: 4rem 3.5rem;
  box-shadow: -15px 0 60px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  position: relative;
  transform: translateX(0);
  transition: transform 0.5s var(--transition-editorial);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.booking-sidebar-overlay.hidden .booking-sidebar {
  transform: translateX(100%);
}

.btn-close-sidebar {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: var(--text-black);
  cursor: pointer;
  line-height: 0.5;
  transition: opacity 0.3s var(--transition-editorial);
}

.btn-close-sidebar:hover {
  opacity: 0.5;
}

.sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-light-muted);
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-black);
}

.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

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

.form-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-black);
}

.form-input {
  border: 1px solid var(--border-light);
  background-color: var(--bg-light);
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s var(--transition-editorial);
}

.form-input:focus {
  border-color: var(--text-black);
  background-color: var(--bg-white);
}

/* Radio button styles custom */
.cohort-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cohort-card {
  border: 1px solid var(--border-light);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.3s var(--transition-editorial);
}

.cohort-card.active {
  border-color: var(--text-black);
  background-color: var(--bg-light);
}

.cohort-month {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-black);
}

.cohort-spots {
  font-size: 0.75rem;
  color: var(--text-light-muted);
}

.hidden-radio {
  display: none;
}

/* Installment calculation box */
.installment-box {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.installment-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.installment-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  color: var(--text-black);
}

.w-100 {
  width: 100%;
}

/* Booking Success View */
.booking-success-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 3rem 0;
  animation: fadeIn 0.4s forwards;
}

.success-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #e5ede5;
  color: #3e5a3e;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.booking-success-view h4 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-black);
}

.booking-success-view p {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 320px;
}

/* ==========================================================================
   EDITORIAL LIGHTBOX DETAILS POPUP
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(25px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: all 0.5s var(--transition-editorial);
}

.lightbox-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lightbox-content {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  max-width: 900px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-modal);
  transform: translateY(0) scale(1);
  transition: all 0.5s var(--transition-editorial);
}

.lightbox-overlay.hidden .lightbox-content {
  transform: translateY(30px) scale(0.96);
}

.btn-close-lightbox {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2.25rem;
  color: var(--text-black);
  cursor: pointer;
  line-height: 0.5;
  transition: opacity 0.3s var(--transition-editorial);
  z-index: 10;
}

.btn-close-lightbox:hover {
  opacity: 0.5;
}

.lightbox-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.lightbox-img-wrapper {
  height: 540px;
  overflow: hidden;
  background-color: var(--bg-light);
}

.lightbox-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-details {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.lightbox-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-light-muted);
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-black);
}

.lightbox-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lightbox-subtitle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-black);
}

.lightbox-text {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Material color swatches bubble stack */
.color-palette-swatches {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.color-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
  position: relative;
  cursor: pointer;
  transition: transform 0.3s var(--transition-editorial);
}

.color-bubble:hover {
  transform: translateY(-2px) scale(1.05);
}

.color-bubble::after {
  content: attr(data-color-hex);
  position: absolute;
  bottom: -1.75rem;
  left: 50%;
  transform: translateX(-50%) scale(0);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-white);
  padding: 0.1rem 0.35rem;
  border: 1px solid var(--border-light);
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s var(--transition-editorial);
  pointer-events: none;
}

.color-bubble:hover::after {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

/* ==========================================================================
   SCROLL ANIMS & TRANSITIONS
   ========================================================================== */
.scroll-trigger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--transition-editorial),
              transform 0.8s var(--transition-editorial);
}

.scroll-trigger.active {
  opacity: 1;
  transform: translateY(0);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Large screens (up to 1200px) */
@media (max-width: 1200px) {
  section, main {
    padding: 5rem 3rem;
  }
  
  .header {
    padding: 2rem 3rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 2.5rem;
  }
  
  .hero-title {
    width: 100%;
  }
  
  .hero-center-img-wrapper {
    height: 440px;
  }
  
  .spaces-collage {
    height: 520px;
  }
  
  .collage-top-img-wrapper {
    height: 320px;
  }
  
  .collage-bottom-img-wrapper {
    height: 280px;
  }
  
  .mentorship-grid-three {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .mentorship-col-img {
    height: 380px;
    order: 2;
  }
  
  .mentorship-col-info {
    order: 1;
  }
  
  .mentorship-col-syllabus {
    order: 3;
  }
  
  .footer-grid {
    gap: 3.5rem;
  }
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-text-block {
    align-items: center;
    text-align: center;
  }
  
  .hero-intro-para {
    max-width: 500px;
  }
  
  .hero-center-img-wrapper {
    height: 480px;
  }
  
  .hero-right-block {
    flex-direction: row;
    gap: 2rem;
    align-items: stretch;
  }
  
  .featured-post-card, .hero-right-img-wrapper {
    flex: 1;
  }
  
  .hero-right-img-wrapper {
    height: auto;
  }
  
  .section-grid-two {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .who-we-are-img-wrapper {
    height: 520px;
  }
  
  .who-we-are-content {
    max-width: 100%;
  }
  
  .program-img-wrapper {
    height: 380px;
  }
  
  .program-content {
    max-width: 100%;
  }
  
  /* Collapses reverse orders on mobile */
  .reverse-mobile .program-content {
    order: 2;
  }
  .reverse-mobile .program-img-wrapper {
    order: 1;
  }
  
  .spaces-collage {
    height: 480px;
  }
  
  .spaces-content {
    padding-left: 0;
    max-width: 100%;
  }
  
  .furniture-grid-three {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .furniture-img-col {
    height: 460px;
  }
  
  .furniture-secondary-col {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
  }
  
  .furniture-secondary-img-wrapper {
    flex: 1.2;
    height: 240px;
  }
  
  .furniture-secondary-caption {
    flex: 1;
  }
  
  .cta-grid-two {
    grid-template-columns: 1fr;
  }
  
  .cta-content {
    padding: 5rem 3rem;
  }
  
  .cta-img-wrapper {
    height: 380px;
  }
  
  .footer {
    padding: 5rem 3rem 2rem 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-col-links {
    grid-template-columns: 1fr 1fr;
  }
  
  .copyright-desktop {
    display: none;
  }
  
  .copyright-mobile {
    display: block;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  section, main {
    padding: 4rem 1.5rem;
  }
  
  .header {
    padding: 1.5rem 1.5rem;
    flex-direction: column;
    gap: 1.25rem;
  }
  
  .nav-bar {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }
  
  .nav-links {
    gap: 1.5rem;
    width: 100%;
    justify-content: space-between;
  }
  
  .nav-link {
    font-size: 0.75rem;
    white-space: nowrap;
  }
  
  .btn-contact {
    display: none; /* Hide top contact button on small mobile to avoid clutter */
  }
  
  .hero-right-block {
    flex-direction: column;
  }
  
  .hero-right-img-wrapper {
    height: 200px;
  }
  
  .who-we-are-img-wrapper {
    height: 380px;
    padding: 0.75rem;
  }
  
  .spaces-collage {
    height: 380px;
  }
  
  .collage-top-img-wrapper {
    height: 240px;
  }
  
  .collage-bottom-img-wrapper {
    height: 200px;
  }
  
  .furniture-secondary-col {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .furniture-secondary-img-wrapper {
    width: 100%;
  }
  
  .footer-col-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-baseline {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .lightbox-grid {
    grid-template-columns: 1fr;
  }
  
  .lightbox-img-wrapper {
    height: 280px;
  }
  
  .lightbox-details {
    padding: 2rem 1.5rem;
  }
}
