/* ============================================
   GLOBAL STYLES & CSS VARIABLES
   ============================================ */

:root {
  --color-navy: #1a2847;
  --color-gold: #d4af37;
  --color-light-gray: #f8f7f5;
  --color-light-beige: #faf8f5;
  --color-text-body: #4a4a4a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: white;
  color: var(--color-text-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--color-navy);
}

h1 {
  letter-spacing: -0.02em;
}

h2 {
  letter-spacing: 0.05em;
}

::selection {
  background-color: rgba(26, 40, 71, 0.1);
  color: var(--color-navy);
}

.italic {
  font-style: italic;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.container-width {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-width {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1024px) {
  .container-width {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

/* ============================================
   HEADER
   ============================================ */

.header-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: white;
  transition: all 0.3s ease;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.header-sticky.scrolled {
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

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

.logo-link {
  position: relative;
  z-index: 50;
  display: block;
}

.logo-img {
  height: 5rem;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .logo-img {
    height: 6rem;
  }
}

.nav-desktop {
  display: none;
}

@media (min-width: 901px) {
  .nav-desktop {
    display: block;
  }
}

/* Mobile nav - shown when menu is open */
@media (max-width: 900px) {
  .header-sticky.nav-open .nav-desktop {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    z-index: 40;
    animation: slideDown 0.3s ease-out;
  }

  .header-sticky.nav-open .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .header-sticky.nav-open .nav-link {
    font-size: 0.875rem;
    width: 100%;
    padding: 0.5rem 0;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Burger button */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 50;
  position: relative;
}

@media (min-width: 901px) {
  .nav-burger {
    display: none;
  }
}

.nav-burger-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Burger animation when menu is open */
.header-sticky.nav-open .nav-burger-line:nth-child(1) {
  transform: rotate(45deg) translate(0.4rem, 0.4rem);
}

.header-sticky.nav-open .nav-burger-line:nth-child(2) {
  opacity: 0;
}

.header-sticky.nav-open .nav-burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(0.4rem, -0.4rem);
}

/* Prevent body scroll when menu is open on mobile */
@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }
}

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

@media (min-width: 1280px) {
  .nav-list {
    gap: 3rem;
  }
}

.nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #C5A059;
  transition: width 0.3s ease;
}

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

.nav-link.active {
  color: var(--color-navy);
}

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

.header-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(197, 160, 89, 0.3);
  transform-origin: left;
  animation: scaleX 1.2s ease-out forwards;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: white;
  overflow: hidden;
}

.hero-texture-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-texture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(100%);
}

.hero-texture-overlay-white {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.6);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: repeat(12, 1fr);
  }
}

.hero-left {
  grid-column: span 7;
  padding-top: 5rem;
}

.hero-badge {
  display: block;
}

.hero-badge-text {
  display: block;
  color: var(--color-gold);
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.05;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.375rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }
}

.hero-right-text {
  max-width: 36rem;
}

.hero-divider {
  height: 1px;
  width: 6rem;
  background-color: var(--color-navy);
  margin-bottom: 2.5rem;
}

.hero-description {
  font-size: 1.25rem;
  font-weight: 300;
  color: #374151;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.5rem;
  }
}

.hero-right-abstract {
  grid-column: span 5;
  display: none;
  position: relative;
  height: 100%;
  min-height: 600px;
}

@media (min-width: 1024px) {
  .hero-right-abstract {
    display: block;
  }
}

.hero-abstract-box {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(212, 175, 55, 0.3);
  animation: fadeInScale 1.5s ease-out forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.hero-abstract-inner {
  position: absolute;
  top: 2rem;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
  background-color: var(--color-light-gray);
  opacity: 0.5;
}

.hero-abstract-line {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-color: rgba(26, 40, 71, 0.1);
}

.hero-bottom-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(212, 175, 55, 0.4);
  z-index: 20;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  background-color: var(--color-light-gray);
  position: relative;
  overflow: hidden;
}

.about-decorative {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 33.333333%;
  opacity: 0.2;
  pointer-events: none;
  display: none;
}

@media (min-width: 1024px) {
  .about-decorative {
    display: block;
  }
}

.about-decorative-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
}

.about-decorative-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-light-gray), transparent, transparent);
}

.about-content {
  position: relative;
  z-index: 10;
}

.about-wrapper {
  position: relative;
}

.about-title-large {
  font-size: 6rem;
  color: rgba(26, 40, 71, 0.1);
  position: absolute;
  top: -6rem;
  left: -1rem;
  user-select: none;
  pointer-events: none;
}

@media (min-width: 768px) {
  .about-title-large {
    font-size: 8rem;
    left: -3rem;
  }
}

.about-title {
  font-size: 2.25rem;
  margin-bottom: 3rem;
  position: relative;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .about-title {
    font-size: 3rem;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    gap: 6rem;
  }
}

.about-text {
  grid-column: span 8;
}

@media (min-width: 1024px) {
  .about-text {
    grid-column: span 7;
  }
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 1.125rem;
  font-weight: 300;
  color: #4b5563;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .about-text-content {
    font-size: 1.25rem;
  }
}

.about-text-content strong {
  color: var(--color-navy);
  font-weight: 500;
}

.about-visual {
  grid-column: span 4;
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .about-visual {
    display: block;
  }
}

@media (min-width: 1024px) {
  .about-visual {
    grid-column: span 5;
  }
}

.about-visual-line {
  position: absolute;
  top: 0;
  left: 2rem;
  width: 1px;
  height: 8rem;
  background-color: var(--color-gold);
}

.about-bottom-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(26, 40, 71, 0.2);
}

/* ============================================
   FOCUS SECTION
   ============================================ */

.focus-section {
  background-color: white;
  position: relative;
}

.focus-header {
  margin-bottom: 6rem;
}

.focus-title {
  font-size: 3rem;
  text-align: center;
  opacity: 0.9;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .focus-title {
    font-size: 4.375rem;
    text-align: left;
  }
}

.focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .focus-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .focus-grid {
    gap: 3rem;
  }
}

.focus-card {
  position: relative;
  padding: 2rem;
  background-color: white;
  border-left: 1px solid rgba(212, 175, 55, 0.3);
  transition: background-color 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
}

@media (min-width: 1024px) {
  .focus-card {
    padding: 2.5rem;
  }
}

.focus-card:hover {
  background-color: #f5f7fa;
}

.focus-card-2 {
  margin-top: 0;
}

@media (min-width: 768px) {
  .focus-card-2 {
    margin-top: 8rem;
  }
}

.focus-card-3 {
  margin-top: 0;
}

@media (min-width: 768px) {
  .focus-card-3 {
    margin-top: 3rem;
  }
}

.focus-number {
  display: block;
  color: var(--color-gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.6;
}

.focus-card-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
  max-width: 90%;
}

@media (min-width: 1024px) {
  .focus-card-title {
    font-size: 1.875rem;
  }
}

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

.focus-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.75;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .focus-item {
    font-size: 1rem;
  }
}

.focus-card:hover .focus-item {
  color: var(--color-navy);
}

.focus-bullet {
  margin-top: 0.625rem;
  width: 4px;
  height: 4px;
  background-color: var(--color-gold);
  flex-shrink: 0;
  border-radius: 50%;
  opacity: 0.6;
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */

.philosophy-section {
  background-color: var(--color-light-beige);
}

.philosophy-header {
  margin-bottom: 6rem;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .philosophy-header {
    margin-bottom: 8rem;
  }
}

.philosophy-title {
  font-size: 2.25rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .philosophy-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .philosophy-title {
    font-size: 3.75rem;
  }
}

.philosophy-divider {
  width: 6rem;
  height: 1px;
  background-color: var(--color-gold);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.philosophy-intro {
  color: #6b7280;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .philosophy-intro {
    font-size: 1.25rem;
  }
}

/* Scoped to #philosophy section for clean 2x2 grid */
#philosophy .philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 768px) {
  #philosophy .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.philosophy-card {
  position: relative;
}

/* Remove scattered positioning - let cards flow naturally in grid */
#philosophy .philosophy-card-1,
#philosophy .philosophy-card-2,
#philosophy .philosophy-card-3,
#philosophy .philosophy-card-4 {
  grid-column: span 1;
  margin-top: 0;
  margin-bottom: 0;
}

/* Subtle vertical offsets for visual rhythm (desktop only) */
@media (min-width: 901px) {
  /* Base offsets - applied after animation completes */
  #philosophy .philosophy-card-1.animate-on-scroll.animate-in {
    transform: translateY(0);
  }
  
  #philosophy .philosophy-card-2.animate-on-scroll.animate-in {
    transform: translateY(24px);
  }
  
  #philosophy .philosophy-card-3.animate-on-scroll.animate-in {
    transform: translateY(-18px);
  }
  
  #philosophy .philosophy-card-4.animate-on-scroll.animate-in {
    transform: translateY(32px);
  }
  
  /* Fallback for cards without animation class */
  #philosophy .philosophy-card-1:not(.animate-on-scroll) {
    transform: translateY(0);
  }
  
  #philosophy .philosophy-card-2:not(.animate-on-scroll) {
    transform: translateY(24px);
  }
  
  #philosophy .philosophy-card-3:not(.animate-on-scroll) {
    transform: translateY(-18px);
  }
  
  #philosophy .philosophy-card-4:not(.animate-on-scroll) {
    transform: translateY(32px);
  }
}

@media (min-width: 768px) {
  #philosophy .philosophy-card-1,
  #philosophy .philosophy-card-2,
  #philosophy .philosophy-card-3,
  #philosophy .philosophy-card-4 {
    grid-column: span 1;
    grid-column-start: auto;
  }
}

/* Reset offsets on mobile/tablet for clean alignment */
@media (max-width: 900px) {
  #philosophy .philosophy-card-1,
  #philosophy .philosophy-card-2,
  #philosophy .philosophy-card-3,
  #philosophy .philosophy-card-4 {
    transform: translateY(0);
  }
}

.philosophy-card-inner {
  padding: 2rem;
  background-color: white;
  border: 1px solid rgba(26, 40, 71, 0.05);
  transition: all 0.5s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .philosophy-card-inner {
    padding: 3rem;
  }
}

.philosophy-card-inner:hover {
  border-color: rgba(212, 175, 55, 0.3);
}

.philosophy-icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.5s ease;
}

.philosophy-card-inner:hover .philosophy-icon-wrapper {
  background-color: var(--color-gold);
}

.philosophy-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.philosophy-card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.philosophy-card-inner:hover .philosophy-card-title {
  color: var(--color-gold);
}

.philosophy-card-desc {
  color: #4b5563;
  line-height: 1.75;
  font-weight: 300;
  font-size: 1rem;
}

/* ============================================
   WHAT WE LOOK FOR SECTION
   ============================================ */

.what-we-look-for-section {
  background-color: var(--color-light-gray);
  position: relative;
  overflow: hidden;
}

.what-we-look-for-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.what-we-look-for-line {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 120%;
  background-color: rgba(26, 40, 71, 0.05);
  transform: rotate(-6deg);
  transform-origin: top right;
}

.what-we-look-for-blur {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -10;
}

.what-we-look-for-content {
  position: relative;
  z-index: 10;
}

.what-we-look-for-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .what-we-look-for-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }
}

.what-we-look-for-left {
  grid-column: span 12;
}

@media (min-width: 1024px) {
  .what-we-look-for-left {
    grid-column: span 4;
  }
}

.what-we-look-for-sticky {
  position: static;
}

@media (min-width: 1024px) {
  .what-we-look-for-sticky {
    position: sticky;
    top: 8rem;
  }
}

.what-we-look-for-title {
  font-size: 3rem;
  line-height: 0.9;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .what-we-look-for-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .what-we-look-for-title {
    font-size: 4.5rem;
  }
}

.what-we-look-for-divider {
  width: 3rem;
  height: 2px;
  background-color: var(--color-gold);
  margin-bottom: 2rem;
}

.what-we-look-for-intro {
  font-size: 1.125rem;
  color: #4b5563;
  font-weight: 300;
  line-height: 1.75;
  max-width: 24rem;
}

.what-we-look-for-right {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding-top: 2rem;
}

@media (min-width: 1024px) {
  .what-we-look-for-right {
    grid-column: span 8;
    padding-top: 0;
  }
}

.what-we-look-for-item {
  width: 100%;
  max-width: 36rem;
}

.what-we-look-for-item-1 {
  margin-left: 0;
  margin-right: auto;
}

.what-we-look-for-item-2 {
  margin-left: 0;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .what-we-look-for-item-2 {
    margin-left: 8rem;
  }
}

.what-we-look-for-item-3 {
  margin-left: 0;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .what-we-look-for-item-3 {
    margin-left: 3rem;
  }
}

.what-we-look-for-item-4 {
  margin-left: 0;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .what-we-look-for-item-4 {
    margin-left: 12rem;
  }
}

.what-we-look-for-item-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.what-we-look-for-item-line {
  width: 2rem;
  height: 1px;
  background-color: rgba(26, 40, 71, 0.3);
  transition: all 0.5s ease;
}

.what-we-look-for-item:hover .what-we-look-for-item-line {
  width: 4rem;
  background-color: var(--color-gold);
}

.what-we-look-for-item-text {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 300;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .what-we-look-for-item-text {
    font-size: 1.875rem;
  }
}

.what-we-look-for-item:hover .what-we-look-for-item-text {
  color: black;
}

/* ============================================
   OUR ROLE SECTION
   ============================================ */

.our-role-section {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.our-role-header {
  margin-bottom: 8rem;
  text-align: center;
}

@media (min-width: 768px) {
  .our-role-header {
    margin-bottom: 12rem;
  }
}

.our-role-badge {
  color: var(--color-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: block;
}

.our-role-title {
  font-size: 2.25rem;
}

@media (min-width: 768px) {
  .our-role-title {
    font-size: 3rem;
  }
}

.our-role-list {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .our-role-list {
    gap: 12rem;
  }
}

.our-role-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 768px) {
  .our-role-item {
    flex-direction: row;
    gap: 6rem;
  }
}

.our-role-item-2 {
  flex-direction: column;
}

@media (min-width: 768px) {
  .our-role-item-2 {
    flex-direction: row-reverse;
  }
}

.our-role-graphic {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .our-role-graphic {
    width: 50%;
  }
}

.our-role-graphic-box {
  position: relative;
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 4 / 3;
}

.our-role-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

.our-role-graphic-bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-light-beige);
}

.our-role-graphic-line-v {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: rgba(26, 40, 71, 0.2);
}

.our-role-item-1 .our-role-graphic-line-v,
.our-role-item-3 .our-role-graphic-line-v {
  left: 0;
}

.our-role-item-2 .our-role-graphic-line-v {
  right: 0;
}

.our-role-graphic-line-h {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(26, 40, 71, 0.2);
}

.our-role-item-1 .our-role-graphic-line-h,
.our-role-item-3 .our-role-graphic-line-h {
  top: 0;
}

.our-role-item-2 .our-role-graphic-line-h {
  bottom: 0;
}

.our-role-graphic-inner {
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  background-color: rgba(26, 40, 71, 0.05);
}

.our-role-item-1 .our-role-graphic-inner,
.our-role-item-3 .our-role-graphic-inner {
  left: 2rem;
  right: 0;
}

.our-role-item-2 .our-role-graphic-inner {
  right: 2rem;
  left: 0;
}

.our-role-text {
  width: 100%;
}

@media (min-width: 768px) {
  .our-role-text {
    width: 50%;
  }
}

.our-role-item-1 .our-role-text,
.our-role-item-3 .our-role-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.our-role-item-2 .our-role-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.our-role-item-title {
  font-size: 1.875rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .our-role-item-title {
    font-size: 2.25rem;
  }
}

.our-role-item-divider {
  width: 4rem;
  height: 1px;
  background-color: var(--color-gold);
  margin-bottom: 2rem;
}

.our-role-item-desc {
  font-size: 1.125rem;
  color: #4b5563;
  font-weight: 300;
  line-height: 1.75;
  max-width: 28rem;
}

@media (min-width: 768px) {
  .our-role-item-desc {
    font-size: 1.25rem;
  }
}

/* ============================================
   WHY LUXEMBOURG SECTION
   ============================================ */

.why-luxembourg-section {
  background-color: #f5f7fa;
  position: relative;
  overflow: hidden;
}

.why-luxembourg-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.why-luxembourg-texture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.03;
  filter: grayscale(100%);
}

.why-luxembourg-content {
  position: relative;
  z-index: 10;
}

.why-luxembourg-wrapper {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.why-luxembourg-badge {
  display: block;
  color: var(--color-gold);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2rem;
}

.why-luxembourg-title {
  font-size: 2.25rem;
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .why-luxembourg-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .why-luxembourg-title {
    font-size: 3.75rem;
  }
}

.why-luxembourg-quote {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.why-luxembourg-quote-line-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 3rem;
  background-color: var(--color-gold);
}

.why-luxembourg-quote-text {
  font-size: 1.25rem;
  color: var(--color-navy);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .why-luxembourg-quote-text {
    font-size: 1.5rem;
  }
}

.why-luxembourg-quote-line-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 3rem;
  background-color: var(--color-gold);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  background-color: white;
  border-top: 1px solid rgba(26, 40, 71, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    gap: 6rem;
  }
}

.contact-details {
  padding-top: 2rem;
}

.contact-title {
  font-size: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .contact-title {
    font-size: 3.75rem;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  font-size: 1.125rem;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9ca3af;
  display: block;
  margin-bottom: 0.75rem;
}

.contact-text {
  color: var(--color-navy);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.75;
}

.contact-link {
  color: var(--color-navy);
  font-size: 1.25rem;
  font-weight: 300;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 40, 71, 0.2);
  padding-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--color-gold);
}

.contact-form-wrapper {
  background-color: var(--color-light-beige);
  padding: 2.5rem;
  border: 1px solid rgba(26, 40, 71, 0.05);
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 4rem;
  }
}

.contact-form-top-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-gold);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(26, 40, 71, 0.6);
  font-weight: 500;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 1px solid rgba(26, 40, 71, 0.2);
  border-radius: 0;
  padding-left: 0;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background-color: transparent;
  color: var(--color-navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  border-bottom-color: var(--color-navy);
  outline: none;
}

.contact-form-textarea {
  min-height: 120px;
  resize: none;
}

.contact-form-button {
  width: 100%;
  background-color: var(--color-navy);
  color: white;
  border: none;
  border-radius: 0;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.contact-form-button:hover:not(:disabled) {
  background-color: #2d3a4f;
}

.contact-form-button:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.6;
}

.contact-form-optional {
  font-weight: 300;
  font-size: 0.9em;
  color: #9ca3af;
}

.contact-form-error {
  display: block;
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  min-height: 1.25rem;
}

/* Show invalid state only after user has interacted (blur) or submit */
#contactForm .contact-form-input.touched:invalid,
#contactForm .contact-form-textarea.touched:invalid {
  border-bottom-color: #ef4444;
}

.contact-form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  display: none;
}

.contact-form-message.success {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.contact-form-message.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ============================================
   CLOSING SECTION & FOOTER
   ============================================ */

.closing-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: var(--color-light-beige);
  text-align: center;
  border-top: 1px solid rgba(26, 40, 71, 0.05);
}

.closing-content {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.closing-line-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 1px;
  background-color: var(--color-navy);
}

.closing-text {
  font-size: 3rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .closing-text {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .closing-text {
    font-size: 5.5rem;
  }
}

.closing-text-italic {
  font-style: italic;
  color: var(--color-gold);
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: 1rem;
  display: block;
}

@media (min-width: 768px) {
  .closing-text-italic {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .closing-text-italic {
    font-size: 3rem;
  }
}

.closing-line-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 1px;
  background-color: var(--color-navy);
}

.footer {
  margin-top: 6rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  font-family: 'DM Sans', sans-serif;
  border-top: 1px solid rgba(26, 40, 71, 0.1);
}

@media (min-width: 768px) {
  .footer {
    flex-direction: row;
    margin-top: 0;
  }
}

.footer-copyright {
  margin: 0;
}

@media (min-width: 768px) {
  .footer-copyright {
    margin: 0;
  }
}

.footer-links {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .footer-links {
    margin-top: 0;
  }
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-navy);
}
