/* ========================================
   helloalisha.com — shared stylesheet
   Sourced from helloalisha-v2.html (the SPA build).
   Multi-page refactor: SPA section-swap rules removed,
   View Transitions API added. No visual changes.
   ======================================== */

/* ========================================
   VIEW TRANSITIONS — cross-document fade
   Modern browsers (Chrome 126+, Edge 126+, Safari 18+) will
   cross-fade between same-origin page loads. Older browsers
   ignore this rule and fall back to standard navigation.
   ======================================== */
@view-transition {
  navigation: auto;
}

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

:root {
  --cream: #F5F0E8;
  --charcoal: #1A1A18;
  --stone: #8B6F47;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;
  --transition: 0.3s ease;
}

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

body {
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--charcoal);
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.6;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========================================
   UTILITY
   ======================================== */
.spaced-caps {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
}

.serif-heading {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
}

.thin-rule {
  width: 100%;
  height: 1px;
  background-color: var(--charcoal);
  margin-bottom: 32px;
}

.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  min-height: 44px;
  text-align: center;
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  opacity: 1;
}

/* Visually hidden but available to screen readers + crawlers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.site-footer a {
  font-size: 11px;
}

.site-footer .footer-nap {
  opacity: 0.7;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 40px;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 20px 60px;
  }
}

/* ========================================
   NAV
   ======================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
  background: transparent;
}

.site-nav.nav-solid {
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(14px, 2vw, 16px);
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0;
}

.nav-links a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-links a.active-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--charcoal);
}

.nav-pipe {
  margin: 0 16px;
  font-size: 11px;
  opacity: 0.4;
  user-select: none;
}

@media (min-width: 1024px) {
  .site-nav {
    padding: 32px 60px;
  }
  .nav-links {
    display: flex;
  }
  .hamburger {
    display: none !important;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--charcoal);
  transition: all var(--transition);
}

.hamburger span + span {
  margin-top: 6px;
}

/* Mobile overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-overlay a {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-weight: 400;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  color: var(--charcoal);
}

/* ========================================
   HOMEPAGE
   ======================================== */
#page-home {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.slide-active {
  opacity: 1;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  text-align: center;
  padding: 20px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--white);
  font-size: clamp(32px, 7vw, 64px);
  letter-spacing: clamp(8px, 2vw, 18px);
  text-transform: uppercase;
  margin-bottom: 32px;
  line-height: 1.1;
}

.hero-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-links a {
  color: var(--white);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.hero-links .hero-pipe {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  user-select: none;
}

@media (min-width: 768px) {
  .hero-links {
    flex-direction: row;
    gap: 0;
  }
  .hero-links .hero-pipe {
    margin: 0 20px;
  }
}

.home-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.home-footer .site-footer {
  color: rgba(255, 255, 255, 0.6);
}

.home-footer .site-footer a {
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   PORTFOLIO INDEX (formerly "interiors")
   ======================================== */
#page-portfolio,
#page-interiors {
  padding-top: 80px;
}

@media (min-width: 1024px) {
  #page-portfolio,
  #page-interiors {
    padding-top: 100px;
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.project-cell {
  position: relative;
  height: 70vh;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

@media (min-width: 768px) {
  .project-cell {
    height: 80vh;
  }
}

@media (min-width: 1024px) {
  .project-cell {
    height: 100vh;
  }
}

.project-cell img {
  transition: transform 0.8s ease;
}

.project-cell:hover img {
  transform: scale(1.03);
}

.project-cell-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.5s ease;
}

.project-cell:hover .project-cell-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.project-cell-name {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--white);
  font-size: clamp(18px, 3vw, 24px);
  letter-spacing: clamp(3px, 0.8vw, 6px);
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
  line-height: 1.4;
}

/* ========================================
   PROJECT DETAIL PAGE
   ======================================== */
#page-project-detail {
  padding-top: 80px;
}

@media (min-width: 1024px) {
  #page-project-detail {
    padding-top: 100px;
  }
}

.project-detail-layout {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .project-detail-layout {
    flex-direction: row;
  }
}

.project-info {
  padding: 40px 20px;
  order: -1;
}

@media (min-width: 768px) {
  .project-info {
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  .project-info {
    width: 40%;
    min-width: 380px;
    max-width: 480px;
    position: sticky;
    top: 100px;
    height: calc(100vh - 100px);
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    order: 1;
    overflow-y: auto;
  }
}

.project-info .thin-rule {
  margin-bottom: 28px;
}

.project-info-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  margin-bottom: 24px;
}

.project-meta {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.7;
  margin-bottom: 32px;
  line-height: 2;
}

.project-description {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: var(--charcoal);
}

.project-description p + p {
  margin-top: 16px;
}

.project-credits {
  margin-bottom: 40px;
}

.project-credits h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}

.project-credits p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  line-height: 2;
}

.project-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(26, 26, 24, 0.15);
}

.project-nav a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.project-photos {
  order: 1;
}

@media (min-width: 1024px) {
  .project-photos {
    width: 60%;
    flex: 1;
    order: 0;
  }
}

.project-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

@media (min-width: 768px) {
  .project-photo-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.project-photo-grid .photo-item {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.project-photo-grid .photo-item img {
  transition: transform 0.6s ease;
}

.project-photo-grid .photo-item:hover img {
  transform: scale(1.02);
}

/* ========================================
   ABOUT / SERVICE PAGES (shared split-layout)
   ======================================== */
#page-about,
#page-interior-design {
  padding-top: 80px;
}

@media (min-width: 1024px) {
  #page-about,
  #page-interior-design {
    padding-top: 0;
    height: 100vh;
    overflow: hidden;
  }
}

.about-layout {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .about-layout {
    flex-direction: row;
    height: 100vh;
  }
}

.about-image {
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.about-image img {
  object-position: top center;
}

@media (min-width: 1024px) {
  .about-image {
    width: 50%;
    height: 100vh;
  }
}

.about-content {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .about-content {
    padding: 60px 40px;
  }
}

@media (min-width: 1024px) {
  .about-content {
    width: 50%;
    padding: 80px 80px;
    height: 100vh;
    overflow-y: auto;
  }
}

.about-content .thin-rule {
  margin-bottom: 28px;
  max-width: 100%;
}

.about-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 32px;
  line-height: 1.2;
}

.about-bio {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 480px;
}

.about-bio + .about-bio {
  margin-top: 0;
}

.about-specialties {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 48px;
  opacity: 0.6;
}

.about-content .btn-outline {
  align-self: flex-start;
}

@media (max-width: 1023px) {
  .about-content .btn-outline {
    align-self: center;
  }
}

/* ========================================
   GET IN TOUCH PAGE
   ======================================== */
#page-contact {
  padding-top: 80px;
}

@media (min-width: 1024px) {
  #page-contact {
    padding-top: 0;
    height: 100vh;
    overflow: hidden;
  }
}

.contact-layout {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .contact-layout {
    flex-direction: row;
    height: 100vh;
  }
}

.contact-image {
  display: none;
}

@media (min-width: 1024px) {
  .contact-image {
    display: block;
    width: 45%;
    height: 100vh;
    overflow: hidden;
  }
}

.contact-content {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .contact-content {
    padding: 60px 40px;
  }
}

@media (min-width: 1024px) {
  .contact-content {
    width: 55%;
    padding: 80px 80px;
    height: 100vh;
    overflow-y: auto;
  }
}

.contact-content .thin-rule {
  margin-bottom: 28px;
}

.contact-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-intro {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
  opacity: 0.8;
}

.contact-form {
  max-width: 520px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .form-row.form-row-double {
    flex-direction: row;
    gap: 24px;
  }
}

.form-group {
  flex: 1;
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.6;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 24, 0.3);
  background: transparent;
  padding: 8px 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition);
  min-height: 44px;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--charcoal);
}

.form-group textarea {
  resize: none;
  height: 100px;
  line-height: 1.7;
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .form-submit-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--charcoal);
  stroke-width: 1.5;
}

.form-thankyou {
  display: none;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  padding: 40px 0;
  text-align: center;
}

/* ========================================
   PHOTOGRAPHY PAGE
   ======================================== */
#page-photography {
  padding-top: 0;
}

.photo-hero {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

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

.photography-intro {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .photography-intro {
    padding: 100px 40px;
  }
}

.photography-intro p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.9;
  color: var(--charcoal);
  opacity: 0.85;
}

.photography-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 0;
}

@media (min-width: 768px) {
  .photography-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .photography-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.photography-grid .photo-grid-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  cursor: pointer;
}

.photography-grid .photo-grid-item img {
  transition: transform 0.6s ease;
}

.photography-grid .photo-grid-item:hover img {
  transform: scale(1.03);
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: none;
  display: block;
}

@media (min-width: 1024px) {
  .lightbox-img {
    max-width: 75vw;
    max-height: 85vh;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  z-index: 1010;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
  z-index: 1010;
  user-select: none;
}

.lightbox-arrow:hover {
  opacity: 1;
}

.lightbox-arrow.arrow-left {
  left: 10px;
}

@media (min-width: 768px) {
  .lightbox-arrow.arrow-left {
    left: 24px;
  }
}

.lightbox-arrow.arrow-right {
  right: 10px;
}

@media (min-width: 768px) {
  .lightbox-arrow.arrow-right {
    right: 24px;
  }
}
</content>
</invoke>