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

/* HERO SECTION - Split Screen Design */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 85vh;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-left {
  background-color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xxxl) var(--space-xl);
  width: 100%;
  box-sizing: border-box;
}

.hero-text-content {
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h1);  /* Fluid 36px → 72px */
  font-weight: var(--font-weight-bold);  /* 700 */
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-tight);  /* 1.1 */
  letter-spacing: -0.01em;
  text-transform: uppercase;  /* ADDED */
}

.about-hero p {
  font-family: var(--font-body);
  font-size: 22px;  /* Intentional hero tagline size */
  line-height: var(--line-height-body);
  color: var(--color-white);
  opacity: 0.85;
  letter-spacing: 0.2px;
}

.hero-right {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--color-linen);
}

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

/* STORY SECTION */
.story-section {
  background-color: var(--color-linen);
  padding: var(--space-xxxl) var(--space-xl);
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-xxl);
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.story-content {
  width: 100%;
  box-sizing: border-box;
}

.story-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--font-size-small);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  display: block;
}

.story-content h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: var(--line-height-heading);
  color: var(--color-charcoal);
  margin-bottom: var(--space-lg);
}

.story-content p {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-charcoal);
  line-height: var(--line-height-comfortable);
  margin-bottom: var(--space-lg);
}

.story-quote {
  font-style: italic;
  font-size: 19px;  /* Intentional hero quote emphasis size */
  color: var(--color-gold);
  padding-left: var(--space-lg);
  border-left: 3px solid var(--color-gold);
}

.story-signature {
  font-family: var(--font-heading);
  font-size: var(--font-size-medium);
  font-weight: 500;
  color: var(--color-charcoal);
  opacity: 0.7;
  margin-top: var(--space-xl);
}

.story-image {
  width: 100%;
  box-sizing: border-box;
}

.story-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* PHILOSOPHY SECTION */
.philosophy-section {
  background-color: var(--color-white);
  padding: var(--space-xxxl) var(--space-xl);
  text-align: center;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.philosophy-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.philosophy-container h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: var(--line-height-heading);
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
}

.philosophy-intro {
  font-family: var(--font-body);
  font-size: var(--font-size-body-large);
  color: var(--color-charcoal);
  opacity: 0.8;
  margin-bottom: var(--space-xxl);
  line-height: var(--line-height-body);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xxl);
  width: 100%;
  box-sizing: border-box;
}

.pillar {
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.pillar-icon {
  width: 72px;  /* Intentional icon container size */
  height: 72px;
  margin: 0 auto var(--space-lg) auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-linen);
  border-radius: 50%;
}

.pillar-icon svg {
  width: 36px;  /* Intentional icon size */
  height: 36px;
  stroke: var(--color-gold);
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
}

.pillar p {
  font-family: var(--font-body);
  font-size: var(--font-size-medium);
  color: var(--color-charcoal);
  opacity: 0.7;
  line-height: var(--line-height-body);
}

/* TEAM SECTION */
.team-section {
  background-color: #E8E4D8;
  padding: var(--space-xxxl) var(--space-xl);
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.team-section .section-header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.team-section .section-header h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: var(--line-height-heading);
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}

.team-section .section-header p {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-charcoal);
  opacity: 0.7;
}

.team-members {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxl);
}

.team-member {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.member-image {
  width: 100%;
  height: 100%;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  padding: var(--space-xxl);
  width: 100%;
  box-sizing: border-box;
}

.member-info h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
}

.member-title {
  font-family: var(--font-body);
  font-size: var(--font-size-medium);
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.member-certifications {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
}

.member-certifications li {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--color-charcoal);
  opacity: 0.6;
  padding: var(--space-xs) 0;
  padding-left: var(--space-md);
  position: relative;
}

.member-certifications li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 600;
}

.member-bio p {
  font-family: var(--font-body);
  font-size: var(--font-size-medium);
  color: var(--color-charcoal);
  line-height: var(--line-height-comfortable);
  margin-bottom: var(--space-md);
}

.member-quote {
  font-style: italic;
  color: var(--color-gold);
  font-size: var(--font-size-body);
}

.member-specialties {
  font-family: var(--font-body);
  font-size: var(--font-size-medium);
  color: var(--color-charcoal);
  margin-top: var(--space-md);
}

.member-contact {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.member-contact a {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--color-gold);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.member-contact a:hover {
  opacity: 0.7;
}

/* STUDIO FEATURES SECTION */
.studio-features {
  background-color: var(--color-linen);
  padding: var(--space-xxxl) var(--space-xl);
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.studio-features .section-header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.studio-features .section-header h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: var(--line-height-heading);
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}

.studio-features .section-header p {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-charcoal);
  opacity: 0.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xxl);
  width: 100%;
  box-sizing: border-box;
}

.feature-item {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  width: 100%;
  box-sizing: border-box;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}

.feature-item p {
  font-family: var(--font-body);
  font-size: var(--font-size-medium);
  color: var(--color-charcoal);
  opacity: 0.7;
  line-height: var(--line-height-body);
}

.studio-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

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

/* WHY SOEST SECTION */
.why-soest {
  background-color: var(--color-white);
  padding: var(--space-xxxl) var(--space-xl);
  text-align: center;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.soest-container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.soest-container h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: var(--line-height-heading);
  color: var(--color-charcoal);
  margin-bottom: var(--space-lg);
}

.soest-container p {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-charcoal);
  line-height: var(--line-height-comfortable);
  margin-bottom: var(--space-lg);
}

.soest-container .btn {
  margin-top: var(--space-xl);
}

/* VALUES SECTION */
.values-section {
  background-color: #E8E4D8;
  padding: var(--space-xxxl) var(--space-xl);
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.values-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.values-container h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: var(--line-height-heading);
  color: var(--color-charcoal);
  margin-bottom: var(--space-xxl);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  width: 100%;
  box-sizing: border-box;
}

.value-item {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF9F6 100%);
  padding: var(--space-xxl) var(--space-xl);
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(201, 168, 118, 0.15);
  width: 100%;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(201, 168, 118, 0.3);
}

.value-item:hover::before {
  opacity: 1;
}

.value-icon {
  width: var(--space-xxl);
  height: var(--space-xxl);
  margin: 0 auto var(--space-lg) auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201, 168, 118, 0.08) 0%, rgba(201, 168, 118, 0.02) 100%);
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 118, 0.2);
  transition: all 0.4s ease;
}

.value-item:hover .value-icon {
  background: linear-gradient(135deg, rgba(201, 168, 118, 0.15) 0%, rgba(201, 168, 118, 0.05) 100%);
  border-color: rgba(201, 168, 118, 0.35);
  transform: scale(1.05);
}

.value-icon svg {
  width: 28px;  /* Intentional icon size */
  height: 28px;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  transition: all 0.4s ease;
}

.value-item:hover .value-icon svg {
  stroke: #B8965E;
  transform: scale(1.1);
}

.value-item h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  letter-spacing: 0.5px;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
  transition: color 0.3s ease;
}

.value-item:hover h3 {
  color: var(--color-gold);
}

.value-item p {
  font-family: var(--font-body);
  font-size: var(--font-size-medium);
  color: var(--color-charcoal);
  opacity: 0.75;
  line-height: var(--line-height-comfortable);
  letter-spacing: 0.2px;
}

/* FINAL CTA SECTION */
.about-final-cta {
  background: linear-gradient(135deg, #1A1D23 0%, #3D3D3D 100%);
  padding: var(--space-xxxl) var(--space-xl);
  text-align: center;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.about-final-cta .final-cta-content {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.about-final-cta h2 {
  font-family: var(--font-display);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: var(--line-height-heading);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.about-final-cta p {
  font-family: var(--font-body);
  font-size: var(--font-size-body-large);
  color: var(--color-white);
  opacity: 0.85;
  margin-bottom: var(--space-xl);
  line-height: var(--line-height-body);
}

.final-cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   TABLET RESPONSIVE (768px - 1023px)
   ============================================ */

@media (max-width: 1023px) {
  .story-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .philosophy-pillars {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .team-member {
    grid-template-columns: 1fr;
  }

  .member-image {
    height: 400px;
  }

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

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero {
    min-height: 70vh;
  }

  /* H1 uses fluid clamp() - no override needed */

  .about-hero p {
    font-size: 19px;  /* Intentional hero tagline size */
  }

  /* H2 uses fluid clamp() - no override needed */
}

/* ============================================
   MOBILE RESPONSIVE (< 768px)
   ============================================ */

@media (max-width: 767px) {
  /* CRITICAL: Prevent ALL horizontal overflow */
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Hero - Stack vertically on mobile */
  .about-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    width: 100%;
    overflow: hidden;
  }

  .hero-left {
    padding: var(--space-xxxl) var(--space-md);
    min-height: 50vh;
  }

  .hero-text-content {
    width: 100%;
    max-width: 100%;
  }

  /* H1 uses fluid clamp() - no override needed */
  .about-hero h1 {
    word-wrap: break-word;
    margin-bottom: var(--space-md);
  }

  .about-hero p {
    font-size: var(--font-size-body);
  }

  .hero-right {
    min-height: 400px;
    width: 100%;
  }

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

  /* Story */
  .story-section {
    padding: var(--space-xl) var(--space-md);
    width: 100%;
    overflow-x: hidden;
  }

  .story-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    width: 100%;
    max-width: 100%;
  }

  .story-content {
    width: 100%;
    max-width: 100%;
  }

  /* H2 uses fluid clamp() - no override needed */

  /* Uses CSS variable - no override needed */

  .story-quote {
    font-size: var(--font-size-medium);
    padding-left: var(--space-md);
  }

  .story-image {
    width: 100%;
    max-width: 100%;
  }

  .story-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* Philosophy */
  .philosophy-section {
    padding: var(--space-xl) var(--space-md);
    width: 100%;
    overflow-x: hidden;
  }

  .philosophy-container {
    width: 100%;
    max-width: 100%;
  }

  /* H2 uses fluid clamp() - no override needed */

  /* Uses CSS variable - no override needed */
  .philosophy-intro {
    max-width: 100%;
  }

  .philosophy-pillars {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .pillar {
    width: 100%;
    max-width: 100%;
  }

  .pillar-icon {
    width: 60px;  /* Intentional icon container size */
    height: 60px;
  }

  .pillar-icon svg {
    width: 30px;  /* Intentional icon size */
    height: 30px;
  }

  /* H3 uses fluid clamp() - no override needed */

  /* Uses CSS variable - no override needed */

  /* Team */
  .team-section {
    padding: var(--space-xl) var(--space-md);
    width: 100%;
    overflow-x: hidden;
  }

  .team-container {
    width: 100%;
    max-width: 100%;
  }

  /* H2 uses fluid clamp() - no override needed */

  /* Uses CSS variable - no override needed */

  .team-members {
    gap: var(--space-lg);
  }

  .team-member {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .member-image {
    height: 350px;
    width: 100%;
  }

  .member-image img {
    width: 100%;
    max-width: 100%;
  }

  .member-info {
    padding: var(--space-lg);
    width: 100%;
    max-width: 100%;
  }

  /* H3 uses fluid clamp() - no override needed */

  /* Uses CSS variable - no override needed */

  /* Uses CSS variable - no override needed */

  .member-contact {
    flex-direction: column;
    gap: var(--space-xs);
  }

  /* Studio Features */
  .studio-features {
    padding: var(--space-xl) var(--space-md);
    width: 100%;
    overflow-x: hidden;
  }

  .features-container {
    width: 100%;
    max-width: 100%;
  }

  /* H2 uses fluid clamp() - no override needed */

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    width: 100%;
    max-width: 100%;
  }

  .feature-item {
    padding: var(--space-lg);
    width: 100%;
    max-width: 100%;
  }

  /* H3 uses fluid clamp() - no override needed */

  .feature-item p {
    font-size: var(--font-size-small);
  }

  .studio-image {
    width: 100%;
    max-width: 100%;
  }

  .studio-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* Why Soest */
  .why-soest {
    padding: var(--space-xl) var(--space-md);
    width: 100%;
    overflow-x: hidden;
  }

  .soest-container {
    width: 100%;
    max-width: 100%;
  }

  /* H2 uses fluid clamp() - no override needed */

  /* Uses CSS variable - no override needed */

  .soest-container .btn {
    width: 100%;
    max-width: 100%;
  }

  /* Values */
  .values-section {
    padding: var(--space-xl) var(--space-md);
    width: 100%;
    overflow-x: hidden;
  }

  .values-container {
    width: 100%;
    max-width: 100%;
  }

  /* H2 uses fluid clamp() - no override needed */

  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    width: 100%;
    max-width: 100%;
  }

  .value-item {
    padding: var(--space-xl) var(--space-lg);
    width: 100%;
    max-width: 100%;
  }

  .value-icon {
    width: 56px;  /* Intentional icon container size */
    height: 56px;
  }

  .value-icon svg {
    width: 24px;  /* Intentional icon size */
    height: 24px;
  }

  /* H3 uses fluid clamp() - no override needed */

  .value-item p {
    font-size: var(--font-size-small);
  }

  /* Final CTA */
  .about-final-cta {
    padding: var(--space-xl) var(--space-md);
    width: 100%;
    overflow-x: hidden;
  }

  .about-final-cta .final-cta-content {
    width: 100%;
    max-width: 100%;
  }

  /* H2 uses fluid clamp() - no override needed */

  /* Uses CSS variable - no override needed */

  .final-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .final-cta-buttons .btn {
    width: 100%;
    max-width: 100%;
  }
}
