/* ===== FONTS ===== */
@font-face {
  font-family: 'Oceanic';
  src: url('/fonts/Oceanic/Oceanic-Light.woff') format('woff'),
       url('/fonts/Oceanic/Oceanic-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oceanic';
  src: url('/fonts/Oceanic/Oceanic-Regular.woff') format('woff'),
       url('/fonts/Oceanic/Oceanic-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oceanic';
  src: url('/fonts/Oceanic/Oceanic-Medium.woff') format('woff'),
       url('/fonts/Oceanic/Oceanic-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oceanic';
  src: url('/fonts/Oceanic/Oceanic-Bold.woff') format('woff'),
       url('/fonts/Oceanic/Oceanic-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oceanic';
  src: url('/fonts/Oceanic/Oceanic-Extrabold.woff') format('woff'),
       url('/fonts/Oceanic/Oceanic-Extrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PF Bague Sans Pro';
  src: url('/fonts/PF Bague/PFBagueSansPro-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PF Bague Sans Pro';
  src: url('/fonts/PF Bague/PFBagueSansPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PF Bague Sans Pro';
  src: url('/fonts/PF Bague/PFBagueSansPro-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PF Bague Sans Pro';
  src: url('/fonts/PF Bague/PFBeauSansPro-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --olive: #b2ae86;
  --burgundy: #800020;
  --burgundy-dark: #660019;
  --beige: #f5f5dc;
  --warm-bg: #faf4f0;
  --dark-section: #2e3e4b;
  --dark: #111;
  --white: #fff;
  --text: #333;
  --text-light: #666;
  --nav-height: 80px;
  --transition: 0.3s ease;
  --font-heading: 'Oceanic', sans-serif;
  --font-body: 'PF Bague Sans Pro', sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  padding-top: var(--nav-height);
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--olive);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  width: 100%;
}

.navbar__logo {
  flex-shrink: 0;
  margin-right: 40px;
}

.navbar__logo img {
  height: 44px;
  width: auto;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.navbar__menu a {
  color: var(--beige);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 4px 0;
  transition: opacity var(--transition);
}

.navbar__menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--beige);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.navbar__menu a:hover::after,
.navbar__menu a.active::after {
  transform: scaleX(1);
}

.navbar__menu a .external-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 4px;
  vertical-align: middle;
  opacity: 0.7;
}

.navbar__social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.navbar__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.navbar__social a:hover {
  opacity: 1;
}

.navbar__social svg {
  width: 20px;
  height: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--beige);
  transition: var(--transition);
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--compact {
  min-height: 40vh;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 40px 32px;
}

.hero__content h1 {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__content .subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.9;
}

.hero__content .hero-cta {
  margin-top: 40px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn--primary:hover {
  background: var(--burgundy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(128, 0, 32, 0.3);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section--warm {
  background: var(--warm-bg);
}

.section--dark {
  background: var(--dark-section);
  color: var(--white);
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__header h2 {
  font-size: 2.4rem;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section--dark .section__header h2 {
  color: var(--white);
}

.section__header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section--dark .section__header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== HOME: INTRO ===== */
.intro {
  max-width: 740px;
  margin: 0 auto;
}

.intro .uptitle {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--burgundy);
  margin-bottom: 20px;
}

.intro h2 {
  font-size: 2.6rem;
  color: var(--dark);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}

/* ===== HOME: FULL-WIDTH IMAGE ===== */
.full-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* ===== HOME: PILLARS ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.pillar {
  text-align: center;
  padding: 0 16px;
}

.pillar__icon {
  margin-bottom: 20px;
}

.pillar__icon svg {
  width: 56px;
  height: 56px;
}

.pillar h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.pillar .pillar__time {
  font-size: 0.75rem;
  color: var(--burgundy);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== HOME: CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--warm-bg);
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ===== ABOUT: LETTER ===== */
.about-letter {
  max-width: 700px;
  margin: 0 auto;
  padding: 100px 32px;
}

.about-letter h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 48px;
  color: var(--dark);
}

.about-letter p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 24px;
}

.about-letter .pull-quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--burgundy);
  line-height: 1.5;
  padding: 32px 0;
  margin: 40px 0;
  border-top: 1px solid var(--olive);
  border-bottom: 1px solid var(--olive);
  text-align: center;
}

.about-letter .signoff {
  margin-top: 48px;
}

.about-letter .signoff p {
  margin-bottom: 4px;
}

/* ===== TEAM MEMBERS ===== */
.team-member {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid #e8e4de;
}

.team-member:nth-child(even) {
  flex-direction: row-reverse;
}

.team-member:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.team-member__photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--olive);
}

.team-member__info h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-member__info .role {
  font-size: 0.8rem;
  color: var(--burgundy);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.team-member__info p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e8e4de;
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  text-align: left;
  transition: color var(--transition);
}

.faq-item__question:hover {
  color: var(--burgundy);
}

.faq-item__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--burgundy);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-item__question::after {
  content: '\2212';
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 400px;
  padding-bottom: 28px;
}

.faq-item__answer p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item__answer a {
  color: var(--burgundy);
  font-weight: 500;
}

/* ===== LEGAL ===== */
.legal-content {
  max-width: 700px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.legal-content .legal-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ===== 404 ===== */
.page-404 {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
}

.page-404 h1 {
  font-size: 7rem;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 16px;
  font-weight: 300;
}

.page-404 h2 {
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.page-404 p {
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--burgundy);
  color: var(--beige);
  padding: 48px 0 40px;
}

.footer .container {
  max-width: 1100px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245, 245, 220, 0.15);
}

.footer__tagline {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--beige);
  opacity: 0.8;
}

.footer__logo img {
  height: 48px;
  width: auto;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  gap: 24px;
}

.footer__social {
  display: flex;
  gap: 14px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer__social a:hover {
  opacity: 1;
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__links {
  display: flex;
  gap: 24px;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__links a {
  color: var(--beige);
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer__links a:hover {
  opacity: 1;
}

.footer__copyright {
  font-size: 0.7rem;
  color: rgba(245, 245, 220, 0.5);
  font-family: var(--font-body);
}

/* ===== SCROLL FADE-IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .navbar {
    background: var(--burgundy);
  }

  .navbar__menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--burgundy);
    flex-direction: column;
    padding: 24px 32px;
    gap: 0;
  }

  .navbar__menu.open {
    display: flex;
  }

  .navbar__menu a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(245, 245, 220, 0.1);
    width: 100%;
  }

  .navbar__menu a::after {
    display: none;
  }

  .navbar__social {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero__content h1 {
    font-size: 2.6rem;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-member,
  .team-member:nth-child(even) {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-member__photo {
    width: 180px;
    height: 180px;
  }

  .full-image {
    height: 350px;
  }
}

@media (max-width: 640px) {
  .hero__content h1 {
    font-size: 2.2rem;
  }

  .hero__content .subtitle {
    font-size: 1.05rem;
  }

  .section {
    padding: 64px 0;
  }

  .section__header h2,
  .intro h2 {
    font-size: 2rem;
  }

  .about-letter {
    padding: 64px 24px;
  }

  .about-letter h2 {
    font-size: 1.8rem;
  }

  .about-letter .pull-quote {
    font-size: 1.2rem;
  }

  .footer__top {
    flex-direction: column;
    gap: 12px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}
