/* ========================================
   STUDIO ELEVEN — Main Stylesheet
   Blue-led palette with lavender accent
   ======================================== */

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

:root {
  --primary: #002CDF;
  --cream: #F0F2F8;
  --accent: #C8A2FF;
  --white: #ffffff;
  --black: #0A0A1A;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background-color: var(--cream);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
}

.header-logo {
  display: flex;
  align-items: center;
}

/* Text logo in header */
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.15em;
}

.logo-divider {
  font-weight: 300;
  margin: 0 6px;
  opacity: 0.6;
}

.header-nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--primary);
  position: relative;
  transition: opacity 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

/* --- SECTIONS (shared) --- */
.section {
  width: 100%;
}

/* --- HERO SECTION --- */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 48px 80px;
  background-color: var(--cream);
}

.hero-logo-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.hero-divider {
  font-weight: 300;
  margin: 0 0.15em;
  opacity: 0.5;
}

/* --- MARQUEE TAGLINE BAR --- */
.marquee-bar {
  width: 100%;
  overflow: hidden;
  background-color: var(--accent);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}

.marquee-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--black);
  white-space: nowrap;
  text-transform: uppercase;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- WHO WE ARE SECTION --- */
.who-section {
  background-color: var(--primary);
  color: var(--white);
  padding: 0;
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.who-text {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.who-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
}

.who-heading em {
  font-style: italic;
}

.who-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  margin-bottom: 32px;
}

.who-description {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.who-description em {
  font-style: italic;
}

.who-image {
  position: relative;
  overflow: hidden;
}

.who-image .placeholder-image {
  height: 100%;
}

.who-image img,
.mission-image-left img,
.mission-image-right img,
.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- MISSION / DEFINITION SECTION --- */
.mission-section {
  background-color: var(--cream);
  padding: 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  min-height: 80vh;
}

.mission-image-left {
  position: relative;
  overflow: hidden;
}

.mission-image-left .placeholder-image {
  height: 100%;
}

.mission-text {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 28px;
}

.mission-heading em {
  font-style: italic;
}

.mission-description {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 40px;
}

.mission-description em {
  font-style: italic;
  font-family: var(--font-display);
}

.mission-image-right {
  position: relative;
  overflow: hidden;
}

.mission-image-right .placeholder-image {
  height: 100%;
}

/* --- CTA / CONTACT SECTION --- */
.cta-section {
  background-color: var(--primary);
  color: var(--white);
  padding: 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}

.cta-text {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-heading em {
  font-style: italic;
}

.cta-description {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-image {
  position: relative;
  overflow: hidden;
}

.cta-image .placeholder-image {
  height: 100%;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 18px 48px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-align: center;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  width: fit-content;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--black);
}

.btn-accent:hover {
  background-color: #b88aef;
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #0035ff;
  transform: translateY(-1px);
}

/* --- PLACEHOLDER IMAGES --- */
.placeholder-image {
  width: 100%;
  min-height: 400px;
  background-color: #c8cce0;
  background-image:
    linear-gradient(45deg, #b8bcd0 25%, transparent 25%),
    linear-gradient(-45deg, #b8bcd0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #b8bcd0 75%),
    linear-gradient(-45deg, transparent 75%, #b8bcd0 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.placeholder-image::after {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #4a4e6a;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: 4px;
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 36px 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Text logo in footer */
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.social-link {
  color: var(--white);
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 0.6;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

/* --- ABOUT BLOCKS (shared) --- */
.about-block {
  padding: 0;
}

.about-hero-block {
  padding-top: 100px;
  background-color: var(--cream);
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.about-text {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text-center {
  text-align: center;
  align-items: center;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0;
}

.about-subtitle {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 28px;
}

.about-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 20px;
}

.about-body em {
  font-style: italic;
  font-family: var(--font-display);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.about-accent-line {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--black);
  margin-top: 12px;
}

.about-accent-line em {
  font-style: italic;
  font-family: var(--font-display);
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image .placeholder-image {
  height: 100%;
  min-height: 450px;
}

.about-image img,
.about-contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- PHILOSOPHY BLOCK --- */
.about-philosophy-block {
  background-color: var(--cream);
}

.about-philosophy {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* --- SERVICES BLOCK --- */
.about-services-block {
  background-color: var(--cream);
}

.about-services-list {
  margin-top: 20px;
}

.services-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.about-services-list ul {
  list-style: none;
  padding: 0;
}

.about-services-list li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 44, 223, 0.12);
}

.about-services-list li:last-child {
  border-bottom: none;
}

/* --- CONTACT BLOCK --- */
.about-contact-block {
  background-color: var(--cream);
  padding: 80px 0 0;
}

.about-contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.8fr;
  gap: 0;
  min-height: 60vh;
}

.about-contact-heading {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-prompt {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--black);
  margin-bottom: 12px;
}

.contact-big-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.05;
}

.contact-big-text em {
  font-style: italic;
  font-weight: 400;
}

/* --- CONTACT FORM --- */
.contact-form {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--black);
  margin-bottom: 6px;
}

.form-group label span {
  opacity: 0.5;
  font-style: italic;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  background: transparent;
  color: var(--black);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.about-contact-image {
  position: relative;
  overflow: hidden;
}

.about-contact-image .placeholder-image {
  height: 100%;
  min-height: 400px;
}

/* --- ABOUT PAGE RESPONSIVE --- */
@media (max-width: 1024px) {
  .about-contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-contact-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .about-row {
    grid-template-columns: 1fr;
  }

  .about-hero-block {
    padding-top: 80px;
  }

  .about-text {
    padding: 48px 24px;
  }

  .about-image .placeholder-image {
    min-height: 300px;
  }

  .about-contact-grid {
    grid-template-columns: 1fr;
  }

  .about-contact-heading {
    padding: 48px 24px 0;
  }

  .contact-form {
    padding: 32px 24px 48px;
  }

  .about-contact-image {
    display: none;
  }

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

/* --- FADE-IN ANIMATION --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children slightly */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .mission-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mission-image-right {
    display: none;
  }

  .site-header {
    padding: 20px 32px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 16px 24px;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 99;
  }

  .header-nav.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 101;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
  }

  .hero-section {
    padding: 100px 24px 60px;
    min-height: 70vh;
  }

  .who-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .who-text,
  .cta-text,
  .mission-text {
    padding: 48px 24px;
  }

  .who-image,
  .cta-image {
    min-height: 350px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-image-left {
    min-height: 350px;
  }

  .mission-image-right {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .site-footer {
    padding: 28px 24px;
  }

}
