/* ============================================
   Brittany Ferrouge — Laugon-style hero
   + parchment resume below
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Inter:wght@400;500;800;900&display=swap');

:root {
  --parchment: #ece5d8;
  --parchment-deep: #e0d7c8;
  --card: #f6f1ea;
  --ink: #1a1613;
  --ink-mid: #3d3530;
  --ink-light: #6b5f54;
  --ink-faint: #99897a;
  --accent: #9e4a2a;
  --accent-hover: #7d3a20;
  --accent-glow: rgba(158, 74, 42, 0.12);
  --rule: #cfc4b4;
  --rule-light: #ddd4c6;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: #0a0a0a;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--accent-hover); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ============================================
   FULL-BLEED HERO — Laugon style
   Black bg, B&W photo, huge scrolling name
   behind photo, nav top, titles bottom
   ============================================ */
.hero-full {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #0a0a0a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Giant scrolling name IN FRONT of photo, blend inverts on image --- */
.hero-bg-text {
  position: absolute;
  top: 48%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  overflow: visible;
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: difference;
}

.bg-text-track {
  display: flex;
  width: max-content;
  animation: scroll-left 40s linear infinite;
  align-items: center;
}

.sig-img {
  height: clamp(66rem, 145vw, 119rem);
  margin-right: -20rem;
  width: auto;
  flex-shrink: 0;
  filter: invert(1) contrast(2) brightness(1.3);
  opacity: 1;
}

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

/* --- Photo fills entire hero --- */
.hero-photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.hero-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(1) contrast(1.15) brightness(0.95);
}

/* --- Nav overlay at top --- */
.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
}

.hero-nav-name {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.hero-nav-links a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.hero-nav-links a:hover {
  color: #fff;
}

/* --- Bottom: location + title stacked, left-aligned --- */
.hero-bottom {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 10;
}

.hero-location {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* --- Hamburger button (hidden on desktop) --- */
.hero-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 11;
}

.hero-menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
}

/* --- Mobile menu overlay --- */
.hero-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.96);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hero-mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.hero-mobile-menu a {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.hero-mobile-menu a:hover {
  color: #fff;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.mobile-menu-close:hover {
  color: #fff;
}

/* ============================================
   BELOW FOLD — Dark, minimal, same aesthetic
   ============================================ */
.below-fold {
  background: #0a0a0a;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 40px 48px;
}

/* --- Sections --- */
.fold-section {
  padding: 36px 0;
}

.fold-rule {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 0;
}

/* --- Labels --- */
.fold-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

/* --- Body text --- */
.fold-text {
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
}

.fold-skills {
  line-height: 2;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* --- Entries (experience / education) --- */
.fold-entries {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fold-entry-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.fold-date {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

.fold-entry-desc {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-top: 2px;
}

/* --- CTA Buttons --- */
.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-icon:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.btn-icon svg {
  flex-shrink: 0;
}

/* --- CTA --- */
.fold-cta {
  text-align: center;
  padding: 48px 0;
}

.fold-cta h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.fold-cta p {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.btn-light {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 28px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-light:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

/* --- Connect links --- */
.fold-connect {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 28px 0;
}

.fold-connect a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.fold-connect a:hover {
  color: #fff;
}

/* --- Recent Work — 3D Carousel --- */
.carousel-wrap {
  position: relative;
  height: 380px;
  perspective: 1400px;
  overflow: hidden;
}

.carousel {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 320px;
  margin-left: -90px;
  margin-top: -160px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
  backface-visibility: hidden;
}

.work-placeholder {
  width: 180px;
  height: 320px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.03em;
}

.work-img {
  width: 180px;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

/* --- Brands --- */
.brands-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.brand-name {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

/* When you have logos, replace .brand-name spans with:
   <img src="assets/logo.png" alt="Brand" class="brand-logo"> */
.brand-logo {
  height: 28px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(1) brightness(2);
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.8;
}

/* --- Pricing --- */
.pricing-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.pricing-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px 36px;
  text-align: center;
  flex: 1;
  min-width: 180px;
}

.pricing-name {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--sans);
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}

/* --- Footer --- */
.fold-footer {
  text-align: center;
  padding: 40px 0 0;
  color: rgba(255,255,255,0.2);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* --- About page (keeps light style) --- */
.profile-header-sm {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 12px;
}

.profile-header-sm img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-header-sm h1 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.profile-header-sm .title {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
}

.references-note {
  color: rgba(255,255,255,0.4);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-style: italic;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .hero-nav { padding: 20px 24px; }
  .hero-nav-name { font-size: 0.75rem; }
  .hero-nav-desktop { display: none; }
  .hero-menu-btn { display: flex; }
  .hero-photo-wrap { inset: 0; }
  .sig-img { height: clamp(53rem, 119vw, 92rem); margin-right: -15rem; }
  .bg-text-track { animation-duration: 50s; }
  .hero-bottom { bottom: 28px; left: 24px; right: 24px; }

  .below-fold { padding: 60px 24px 36px; }

  .carousel-wrap { height: 300px; perspective: 800px; }
  .carousel-item { width: 140px; height: 250px; margin-left: -70px; margin-top: -125px; }
  .work-img { width: 140px; height: 250px; }
  .work-placeholder { width: 140px; height: 250px; }

  .fold-connect { gap: 24px; }

  .fold-entry-head { flex-wrap: wrap; }

  .btn-light {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .fold-connect a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .profile-header-sm {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-nav { padding: 16px 20px; }
  .hero-photo-wrap { inset: 0; }
  .sig-img { height: clamp(46rem, 106vw, 73rem); margin-right: -12rem; }
  .bg-text-track { animation-duration: 50s; }
  .hero-bottom { bottom: 24px; left: 20px; right: 20px; }
  .hero-location { font-size: 0.65rem; }

  .below-fold { padding: 48px 20px 32px; }

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

  .fold-cta h2 { font-size: 1.3rem; }
}
