@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,300;0,6..96,400;0,6..96,500;1,6..96,300;1,6..96,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Pinyon+Script&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --crimson: #601616;
  --crimson-dark: #601616;
  --crimson-deeper: #601616;
  --cream: #efecde;
  --cream-dark: #efecde;
  --dark: #601616;
  --gold: #842020;
  --text: #601616;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════
   SPLASH
═══════════════════════════════════════ */

#splash {
  position: fixed;
  inset: 0;
  background-color: #601616 !important;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 1s ease, visibility 1s ease;
}
#splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.splash-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

/* Logo wrap — grid so halves + name all stack in the same cell */
.splash-logo-wrap {
  display: grid;
  place-items: center;
  width: clamp(22rem, 52vw, 64rem);
  opacity: 0;
  transition: opacity 0.8s ease;
}
.splash-logo-wrap.visible { opacity: 1; }

.splash-logo-half {
  grid-area: 1 / 1;
  width: 100%;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.6s ease;
}
.splash-logo-half img {
  width: 100%;
  height: auto;
  display: block;
}

/* Split at 64% — A on left, G on right */
#splash-logo-left  { clip-path: inset(0 36% 0 0); }
#splash-logo-right { clip-path: inset(0 0 0 64%); }

/* Split animation — A flies left, G flies right */
.splash-logo-wrap.animate #splash-logo-left  { transform: translateX(-65vw); opacity: 0; }
.splash-logo-wrap.animate #splash-logo-right { transform: translateX(65vw);  opacity: 0; }

.splash-name {
  grid-area: 1 / 1;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0.88;
  transition: opacity 0.8s ease;
}
.splash-name.visible { opacity: 1; }

.splash-name-line1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.5em;
  padding-right: 0.5em;
  color: #efecde;
  text-transform: uppercase;
}
.splash-name-line2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 8.5rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  padding-right: 0.4em;
  color: #efecde;
  text-transform: uppercase;
}

.splash-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(0.9rem, 1.8vw, 1.4rem);
  color: rgba(239,236,222,0.5);
  letter-spacing: 0.08em;
  margin-top: 0.8rem;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.splash-tagline.visible { opacity: 1; }

.splash-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.8s ease;
  cursor: pointer;
}
.splash-scroll.visible { opacity: 1; }
.splash-scroll span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(239,236,222,0.4);
}
.splash-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(239,236,222,0.3);
  animation: scrollPulse 1.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 3.5rem;
  transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
}
nav.scrolled {
  background: rgba(239,236,222,0.97);
  padding: 1.2rem 3.5rem;
  box-shadow: 0 1px 0 #601616;
}

.nav-logo {
  line-height: 1;
}
.nav-logo a { text-decoration: none; display: flex; align-items: center; }
.nav-logo-img {
  height: 2.8rem;
  width: auto;
  /* On scrolled (cream) nav: make logo dark red */
  filter: brightness(0) sepia(1) saturate(4) hue-rotate(310deg) brightness(0.45);
  transition: opacity 0.2s ease;
}
nav:not(.scrolled) .nav-logo-img {
  /* On dark red nav: make logo cream */
  filter: brightness(0) invert(1) sepia(0.1);
}
.nav-logo-img:hover { opacity: 0.75; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}
nav:not(.scrolled) .nav-links a { color: rgba(239,236,222,0.8); }
nav:not(.scrolled) .nav-links a:hover { color: var(--cream); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--crimson); }

/* ═══════════════════════════════════════
   NAV DROPDOWN
═══════════════════════════════════════ */

.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  color: var(--dark);
  position: relative;
  transition: color 0.3s ease;
}
nav:not(.scrolled) .nav-dropdown-toggle { color: rgba(239,236,222,0.8); }
nav:not(.scrolled) .nav-dropdown-toggle:hover { color: var(--cream); }
.nav-dropdown-toggle:hover { color: var(--crimson); }
.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-dropdown:hover .nav-dropdown-toggle::after { width: 100%; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: #efecde;
  border-top: 2px solid #601616;
  min-width: 10rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #601616;
  text-decoration: none;
  padding: 0.85rem 1.2rem;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: #601616;
  color: #efecde;
}
.nav-dropdown-menu a::after { display: none; }
/* Override cream-on-dark-nav rule — dropdown is always cream bg with dark text */
nav:not(.scrolled) .nav-dropdown-menu a { color: #601616; }
nav:not(.scrolled) .nav-dropdown-menu a:hover { color: #efecde; }

/* ═══════════════════════════════════════
   CAROUSEL
═══════════════════════════════════════ */

.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--crimson-dark);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide.active { opacity: 1; visibility: visible; }

/* ── Slide backgrounds ── */

.slide-bg {
  position: absolute;
  inset: 0;
}

.slide-home {
  background: #601616;
}

.slide-fashion {
  background: linear-gradient(145deg, #601616 0%, #842020 100%);
}

.slide-art {
  background: var(--cream);
}

.slide-editorial {
  background: linear-gradient(150deg, var(--crimson-deeper) 0%, var(--crimson-dark) 100%);
}

.slide-marketing {
  background: linear-gradient(135deg, var(--dark) 0%, var(--crimson-deeper) 100%);
}

/* ── Decorative frame inside each slide ── */

.carousel-slide::before {
  content: '';
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(239,236,222,0.12);
  z-index: 1;
  pointer-events: none;
}

/* Art slide (cream bg) gets a crimson frame */
.carousel-slide:nth-child(3)::before {
  border-color: #842020;
}

/* ── Slide content ── */

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  z-index: 2;
  padding: 6rem 5rem;
}

.slide-content-center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide-content-bottom {
  justify-content: flex-end;
  padding-bottom: 7rem;
}

/* ── Slide typography ── */

.slide-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(239,236,222,0.45);
  margin-bottom: 2rem;
}

.slide-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}
.slide-name em { font-style: italic; font-weight: 300; }

.slide-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: rgba(239,236,222,0.5);
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

.slide-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(239,236,222,0.4);
  margin-bottom: 1rem;
}

.slide-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 0.95;
  margin-bottom: 0.8rem;
}

.slide-title-dark { color: var(--crimson); }

.slide-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: rgba(239,236,222,0.5);
  margin-bottom: 2.5rem;
  max-width: 380px;
}
.slide-desc-dark { color: #601616; }

/* ── Dark-text variant for light bg slides ── */
.slide-content-dark .slide-label { color: #601616; }

/* ── CTAs ── */

.slide-cta {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  transition: all 0.35s ease;
  align-self: flex-start;
}
.slide-content-center .slide-cta { align-self: center; }

.slide-cta-light {
  color: var(--cream);
  border: 1px solid rgba(239,236,222,0.3);
}
.slide-cta-light:hover {
  background: var(--cream);
  color: var(--crimson-dark);
  border-color: var(--cream);
}

.slide-cta-dark {
  color: var(--crimson);
  border: 1px solid rgba(96,22,22,0.5);
}
.slide-cta-dark:hover {
  background: var(--crimson);
  color: var(--cream);
  border-color: var(--crimson);
}

/* ── Arrows ── */

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  color: rgba(239,236,222,0.35);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem;
  transition: color 0.3s ease;
}
.carousel-arrow:hover { color: var(--cream); }
.carousel-prev { left: 2rem; }
.carousel-next { right: 2rem; }

/* ── Dots ── */

.carousel-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.carousel-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1px solid rgba(239,236,222,0.35);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.carousel-dot.active {
  background: var(--cream);
  border-color: var(--cream);
  transform: scale(1.4);
}

/* ── Counter ── */

.carousel-counter {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 10;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: rgba(239,236,222,0.3);
}
#carousel-current { color: rgba(239,236,222,0.7); font-weight: 500; }
.carousel-counter-sep {
  width: 20px;
  height: 1px;
  background: rgba(239,236,222,0.2);
}

/* ── Progress bar ── */

.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(239,236,222,0.06);
  z-index: 10;
}
.carousel-progress-bar {
  height: 100%;
  background: rgba(239,236,222,0.4);
  width: 0%;
  transition: width linear;
}


/* ═══════════════════════════════════════
   MARQUEE
═══════════════════════════════════════ */

.marquee-strip {
  background: var(--crimson);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  animation: marquee 25s linear infinite;
}
.marquee-inner span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(239,236,222,0.7);
  padding: 0 1.5rem;
}
.marquee-inner .dot {
  color: rgba(239,236,222,0.25);
  font-style: normal;
  font-size: 0.6rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   SECTION PRIMITIVES
═══════════════════════════════════════ */

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--crimson);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark);
  margin-top: 0.5rem;
}
.section-title em { font-style: italic; color: var(--crimson); }
.section-rule {
  width: 40px;
  height: 1px;
  background: var(--crimson);
  margin: 1.2rem 0;
}

/* ═══════════════════════════════════════
   PORTFOLIOS GRID
═══════════════════════════════════════ */

.portfolios-section {
  padding: 6rem 3.5rem;
  background: var(--cream);
}
.portfolios-section .section-label,
.portfolios-section .section-title { text-align: center; }
.portfolios-section .section-rule { margin: 1.2rem auto; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 3.5rem;
}

.portfolio-card {
  display: flex;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:nth-child(odd)  { background: var(--crimson); }
.portfolio-card:nth-child(even) { background: var(--crimson-dark); }

.portfolio-card:hover { transform: scale(0.98); }

.portfolio-card::before {
  content: attr(data-number);
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: rgba(239,236,222,0.2);
  z-index: 2;
}

/* Thin inner frame */
.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0.8rem;
  border: 1px solid rgba(239,236,222,0.08);
  z-index: 1;
  pointer-events: none;
  transition: border-color 0.4s ease;
}
.portfolio-card:hover::after { border-color: rgba(239,236,222,0.2); }

.portfolio-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Great Vibes', cursive;
  font-size: 6rem;
  color: rgba(239,236,222,0.04);
  transition: transform 0.6s ease;
}
.portfolio-card:hover .portfolio-card-bg { transform: scale(1.05); }

.portfolio-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
}
.portfolio-card-content span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.45rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(239,236,222,0.35);
  margin-bottom: 0.4rem;
}
.portfolio-card-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
}
.portfolio-card-content p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(239,236,222,0.45);
  margin-top: 0.15rem;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */

footer {
  background: var(--dark);
  padding: 4.5rem 3.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
}
.footer-logo {
  line-height: 1;
}
.footer-logo-img {
  height: 5rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-center { text-align: center; }
.footer-center p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239,236,222,0.25);
  margin-top: 2rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
.footer-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239,236,222,0.35);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--cream); }

/* ═══════════════════════════════════════
   INNER PAGE HEADER
═══════════════════════════════════════ */

.page-header {
  padding: 6rem 3.5rem 3rem;
  background: var(--crimson);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(239,236,222,0.08);
  pointer-events: none;
}
.page-header .section-label {
  color: rgba(239,236,222,0.85);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
}
.page-header .section-title { color: var(--cream); }
.page-header .section-title em { color: rgba(239,236,222,0.6); }
.page-header .section-rule { background: rgba(239,236,222,0.2); }
.page-header p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(239,236,222,0.5);
  max-width: 440px;
  line-height: 1.7;
  margin-top: 0.75rem;
}

/* ═══════════════════════════════════════
   EMBED
═══════════════════════════════════════ */

.embed-section { padding: 0.6rem 3.5rem; background: var(--cream); }
.embed-section .embed-wrapper {
  width: 85%;
  margin: 0 auto;
  padding-top: calc(56.25% * 0.85);
}

/* ── Editorial side-by-side ── */
.editorial-embeds {
  padding: 4.5rem 3.5rem;
  background: var(--cream);
}
.editorial-embed-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.editorial-embed-item {
  width: 100%;
}
/* Portrait aspect ratio for editorial documents */
.editorial-embed-item .embed-wrapper {
  padding-top: 141%;
  border: 1.5px solid #601616;
}
@media (max-width: 768px) {
  .editorial-embed-pair {
    grid-template-columns: 1fr;
  }
}
.embed-title { margin-bottom: 2.5rem; }

/* ── Projects asymmetric side-by-side ── */
.projects-embeds {
  padding: 3rem 3.5rem;
  background: var(--cream);
}
.projects-embed-pair {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2rem;
  align-items: start;
}
/* Left: Google Doc — portrait */
.projects-doc-wrapper {
  position: relative;
  width: 100%;
  padding-top: 141%;
  border: 1.5px solid #601616;
}
.projects-doc-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* Right: Canva PPT inside laptop frame */
.laptop-frame-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 — matches the SVG */
}
.laptop-frame-container .laptop-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
}
.laptop-frame-container .laptop-screen-iframe {
  position: absolute;
  left: 19.4%;
  top: 9.1%;
  width: 61.2%;
  height: 70.2%;
  border: none;
}
@media (max-width: 768px) {
  .projects-embed-pair {
    grid-template-columns: 1fr;
  }
}

.embed-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--cream-dark);
  border: 1px solid #601616;
}
.embed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.embed-notice {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: #601616;
  margin-top: 0.75rem;
}

/* ═══════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════ */

.about-fullwidth {
  background: var(--cream);
  padding: 5rem 3.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

/* Photo grid — kept for when a photo is added back
.about-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh; }
.about-photo { background: var(--crimson); position: relative; display: flex; align-items: center; justify-content: center; min-height: 450px; overflow: hidden; }
.about-photo::before { content: ''; position: absolute; inset: 1.5rem; border: 1px solid rgba(239,236,222,0.08); pointer-events: none; }
.about-photo-placeholder { font-family: 'Great Vibes', cursive; font-size: 8rem; color: rgba(239,236,222,0.06); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
*/

.about-text {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-collage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-collage-img {
  width: 100%;
  height: auto;
  display: block;
}

.about-name-img {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0.4rem 0 0.5rem;
  mix-blend-mode: multiply;
}

.about-bio {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text);
  margin-top: 1.2rem;
}
.about-bio p + p { margin-top: 1rem; }

/* ═══════════════════════════════════════
   EDUCATION
═══════════════════════════════════════ */

.education-section { padding: 5rem 3.5rem; background: var(--crimson); }
.education-section .section-label { color: rgba(239,236,222,0.6); }
.education-section .section-title { color: var(--cream); }
.education-section .section-rule { border-color: rgba(239,236,222,0.25); }

.edu-items {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
}
.edu-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(239,236,222,0.2);
}
.edu-item:first-child { border-top: 1px solid rgba(239,236,222,0.2); }
.edu-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(239,236,222,0.55);
  padding-top: 0.2rem;
}
.edu-details h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cream);
}
.edu-details p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(239,236,222,0.75);
  margin-top: 0.15rem;
}
.edu-details span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  color: rgba(239,236,222,0.5);
  margin-top: 0.4rem;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════
   CONTACT + RESUME
═══════════════════════════════════════ */

.contact-section {
  padding: 6rem 3.5rem;
  background: var(--crimson);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(239,236,222,0.06);
  pointer-events: none;
}

.contact-left .section-label { color: rgba(239,236,222,0.4); }
.contact-left .section-title { color: var(--cream); }
.contact-left .section-title em { color: rgba(239,236,222,0.6); }
.contact-left .section-rule { background: rgba(239,236,222,0.2); }
.contact-left p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(239,236,222,0.5);
  line-height: 1.7;
  margin-top: 0.75rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.contact-item { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-item-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(239,236,222,0.3);
}
.contact-item a,
.contact-item span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--cream);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.contact-item a:hover { opacity: 0.6; }

.resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson);
  background: var(--cream);
  padding: 0.9rem 2rem;
  text-decoration: none;
  margin-top: 1.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.resume-btn:hover {
  background: var(--cream-dark);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   PLACEHOLDER (Coming Soon)
═══════════════════════════════════════ */

.placeholder-section {
  padding: 7rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 45vh;
  background: var(--cream);
}
.placeholder-section .big-script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 8vw, 8rem);
  color: #601616;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.placeholder-section p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #601616;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

@media (max-width: 900px) {
  nav { padding: 1.5rem 2rem; }
  nav.scrolled { padding: 1rem 2rem; }
  .nav-links { gap: 1.5rem; }

  .slide-content { padding: 5rem 2.5rem; }
  .slide-content-bottom { padding-bottom: 6rem; }
  .carousel-slide::before { inset: 1.2rem; }

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

  .contact-section { grid-template-columns: 1fr; }
  .contact-section::before { inset: 1.2rem; }

  footer { grid-template-columns: 1fr; padding: 3.5rem 2rem 2rem; }
  .footer-links { align-items: flex-start; }

  .portfolios-section,
  .education-section,
  .embed-section { padding: 4.5rem 2rem; }

  .page-header { padding: 9rem 2rem 4rem; }
  .page-header::before { inset: 1.2rem; }
  .about-fullwidth { padding: 3.5rem 2rem; grid-template-columns: 1fr; }
  .about-collage { display: none; }
}

@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .carousel-arrow { display: none; }
  .slide-content { padding: 4rem 1.5rem; }
  .slide-content-bottom { padding-bottom: 5rem; }
  .carousel-slide::before { inset: 0.8rem; }
}

/* ═══════════════════════════════════════
   HAMBURGER & MOBILE NAV
═══════════════════════════════════════ */

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled .nav-hamburger span { background: var(--dark); }

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--crimson-dark);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav.open { opacity: 1; visibility: visible; }

.mobile-nav-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: rgba(239,236,222,0.5);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}
.mobile-nav-close:hover { color: var(--cream); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.mobile-nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  color: rgba(239,236,222,0.7);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}
.mobile-nav-links a:hover { color: var(--cream); }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none !important; }
}

/* ═══════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════ */

.back-to-top {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 42px;
  height: 42px;
  background: var(--crimson);
  border: 1px solid rgba(239,236,222,0.15);
  color: var(--cream);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover { background: var(--crimson-dark); }

/* ═══════════════════════════════════════
   AG WATERMARK (fixed, ultra-faint)
═══════════════════════════════════════ */

.ag-watermark {
  position: fixed;
  bottom: -2rem;
  left: -1rem;
  font-family: 'Great Vibes', cursive;
  font-size: 18rem;
  color: var(--crimson);
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  transition: opacity 0.5s ease;
  user-select: none;
}

/* ═══════════════════════════════════════
   PAGE TRANSITION OVERLAY
═══════════════════════════════════════ */

.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--crimson-dark);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

/* ═══════════════════════════════════════
   FADE-IN ON SCROLL
═══════════════════════════════════════ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.fade-in-stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.fade-in-stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.fade-in-stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }

/* ═══════════════════════════════════════
   GRAIN TEXTURE (crimson sections)
═══════════════════════════════════════ */

.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

/* ═══════════════════════════════════════
   PORTFOLIO CARD — enhanced hover
═══════════════════════════════════════ */

/* Corner accent lines that draw in on hover */
.portfolio-card .card-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 3;
  transition: all 0.4s ease;
}
.portfolio-card .card-corner::before,
.portfolio-card .card-corner::after {
  content: '';
  position: absolute;
  background: rgba(239,236,222,0.4);
  transition: all 0.4s ease;
}
.card-corner.tl { top: 1.2rem; left: 1.2rem; }
.card-corner.tr { top: 1.2rem; right: 1.2rem; }
.card-corner.bl { bottom: 1.2rem; left: 1.2rem; }
.card-corner.br { bottom: 1.2rem; right: 1.2rem; }

.card-corner.tl::before, .card-corner.tr::before { top: 0; height: 1px; width: 0; }
.card-corner.bl::before, .card-corner.br::before { bottom: 0; height: 1px; width: 0; }
.card-corner.tl::after, .card-corner.bl::after { left: 0; width: 1px; height: 0; }
.card-corner.tr::after, .card-corner.br::after { right: 0; width: 1px; height: 0; }

.card-corner.tl::before { left: 0; }
.card-corner.tr::before { right: 0; }

.portfolio-card:hover .card-corner::before { width: 20px; }
.portfolio-card:hover .card-corner::after { height: 20px; }

/* ═══════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(96,22,22, 0.95);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(96,22,22,0.5);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  background: none;
  border: none;
  color: rgba(239,236,222,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}
.lightbox-close:hover { color: var(--cream); }

/* ═══════════════════════════════════════
   FULLSCREEN BUTTON (Canva)
═══════════════════════════════════════ */

.embed-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.fullscreen-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson);
  background: none;
  border: 1px solid rgba(96,22,22,0.5);
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.fullscreen-btn:hover {
  background: var(--crimson);
  color: var(--cream);
  border-color: var(--crimson);
}

/* ═══════════════════════════════════════
   FOOTER SOCIAL ICONS
═══════════════════════════════════════ */

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(239,236,222,0.15);
  color: rgba(239,236,222,0.4);
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  border-color: rgba(239,236,222,0.4);
  color: var(--cream);
}
.footer-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
