/* ============================================
   Beatrice Randazzo — Make-Up Artist
   Warm Atelier Elegance
   ============================================ */

/* --- Design Tokens --- */
:root {
  --bg: #f3f1ed;
  --bg-warm: #ebe7e0;
  --bg-overlay: #f8f6f3;
  --text: #1a1a1a;
  --text-light: #6b6560;
  --accent: #c9a96e;
  --accent-dark: #b8944f;
  --white: #ffffff;
  --cream: #faf8f5;
  --border: rgba(26, 26, 26, 0.1);
  --border-dark: rgba(26, 26, 26, 0.2);

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --header-h: 80px;
  --section-pad: clamp(80px, 12vw, 160px);
  --side-pad: clamp(20px, 5vw, 80px);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

::selection {
  background-color: var(--accent);
  color: var(--white);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side-pad);
  background-color: transparent;
  transition: background-color 0.5s var(--ease-out-quart),
              box-shadow 0.5s var(--ease-out-quart);
}

.site-header.scrolled {
  background-color: rgba(243, 241, 237, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 101;
}

.logo:hover {
  opacity: 0.6;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 101;
}

/* Language Switcher */
.lang-switch {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4em 0.9em;
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.lang-switch:hover {
  background-color: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* Hamburger */
.hamburger {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--text);
  transition: all 0.4s var(--ease-out-expo);
  transform-origin: center;
}

.hamburger.active span:first-child {
  transform: translateY(4.75px) rotate(45deg);
}

.hamburger.active span:last-child {
  transform: translateY(-4.75px) rotate(-45deg);
}

/* ============================================
   MENU OVERLAY
   ============================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-out-expo),
              visibility 0.6s;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.menu-close {
  position: absolute;
  top: 24px;
  right: var(--side-pad);
  font-size: 2.5rem;
  color: var(--text);
  line-height: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  display: none; /* Using hamburger X instead */
}

.menu-list {
  text-align: center;
}

.menu-list li {
  overflow: hidden;
}

.menu-list li a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  padding: 0.25em 0;
  transform: translateY(110%);
  transition: transform 0.7s var(--ease-out-expo),
              opacity 0.7s var(--ease-out-expo);
  opacity: 0;
  position: relative;
}

.menu-overlay.open .menu-list li a {
  transform: translateY(0);
  opacity: 1;
}

.menu-overlay.open .menu-list li:nth-child(1) a { transition-delay: 0.08s; }
.menu-overlay.open .menu-list li:nth-child(2) a { transition-delay: 0.14s; }
.menu-overlay.open .menu-list li:nth-child(3) a { transition-delay: 0.2s; }
.menu-overlay.open .menu-list li:nth-child(4) a { transition-delay: 0.26s; }

.menu-list li a::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 50%;
  width: 0;
  height: 1.5px;
  background-color: var(--accent);
  transform: translateX(-50%);
  transition: width 0.4s var(--ease-out-expo);
}

.menu-list li a:hover::after {
  width: 60%;
}

.menu-footer {
  position: absolute;
  bottom: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s var(--ease-out-expo) 0.35s;
}

.menu-overlay.open .menu-footer {
  transform: translateY(0);
  opacity: 1;
}

.menu-footer a {
  color: var(--text-light);
  transition: color 0.3s ease;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--header-h) var(--side-pad) 0;
  overflow: hidden;
}

/* --- Video Hero --- */
.hero-video {
  padding: 0;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1a1a1a;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.25) 0%,
    rgba(26, 26, 26, 0.1) 40%,
    rgba(26, 26, 26, 0.4) 100%
  );
}

.hero-content-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  padding: 0;
  grid-template-columns: none;
  gap: 0;
}

.hero-content-centered .hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content-centered .hero-initials {
  padding-left: 0.03em;
}

.hero-content-centered .hero-subtitle {
  padding-left: 0.4em;
}

.hero-content-centered .hero-location {
  padding-left: 0.05em;
}

.hero-video .hero-initials,
.hero-video .hero-subtitle,
.hero-video .hero-location {
  color: var(--white);
}

.hero-video .hero-subtitle {
  letter-spacing: 0.4em;
}

.hero-video .initial-outline {
  -webkit-text-stroke-color: var(--white);
}

.hero-video .hero-cta a {
  color: var(--white);
}

.hero-video .hero-cta a::after {
  color: var(--white);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: var(--white);
  opacity: 0.5;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 0.6; transform: scaleY(1); }
}

/* Header on video hero — white text */
.hero-video ~ .site-header .logo,
body:has(.hero-video) .site-header:not(.scrolled) .logo {
  color: var(--white);
}

body:has(.hero-video) .site-header:not(.scrolled) .lang-switch {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

body:has(.hero-video) .site-header:not(.scrolled) .lang-switch:hover {
  background-color: var(--white);
  color: var(--text);
  border-color: var(--white);
}

body:has(.hero-video) .site-header:not(.scrolled) .hamburger span {
  background-color: var(--white);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

.hero-text {
  position: relative;
}

/* Decorative Initials */
.hero-initials {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 400;
  line-height: 0.85;
  color: var(--text);
  letter-spacing: -0.03em;
  position: relative;
  margin-bottom: 1.5rem;
}

.hero-initials .initial-outline {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 1.2vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.hero-location {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.hero-cta {
  margin-top: 2.5rem;
}

.hero-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: gap 0.4s var(--ease-out-expo);
}

.hero-cta a:hover {
  gap: 1.25rem;
}

.hero-cta a::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform 0.4s var(--ease-out-expo);
}

.hero-cta a:hover::after {
  transform: translateX(4px);
}

/* Hero Visual — Arched Photo */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-arch {
  width: clamp(260px, 28vw, 400px);
  height: clamp(360px, 40vw, 560px);
  border-radius: 50% 50% 4px 4px / 35% 35% 2px 2px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    160deg,
    var(--bg-warm) 0%,
    #d4cec4 40%,
    var(--accent) 70%,
    #b8944f 100%
  );
  box-shadow:
    0 40px 80px -20px rgba(26, 26, 26, 0.15),
    0 20px 40px -10px rgba(26, 26, 26, 0.08);
}

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

/* Small floating image */
.hero-image-float {
  position: absolute;
  bottom: -30px;
  right: -40px;
  width: clamp(100px, 10vw, 150px);
  height: clamp(120px, 12vw, 180px);
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #d4cec4 0%,
    var(--accent) 50%,
    var(--bg-warm) 100%
  );
  box-shadow: 0 20px 50px -15px rgba(26, 26, 26, 0.2);
}

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

/* Decorative ® */
.hero-registered {
  position: absolute;
  top: 10%;
  right: 20%;
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--text-light);
  opacity: 0.5;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   SELECTED WORKS (Home)
   ============================================ */
.selected-works {
  padding: var(--section-pad) var(--side-pad);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header h2 {
  letter-spacing: 0.08em;
}

.section-header p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 1200px;
  margin: 0 auto;
}

.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  background: linear-gradient(
    145deg,
    var(--bg-warm) 0%,
    #d4cec4 100%
  );
}

.work-item:nth-child(2) {
  background: linear-gradient(145deg, #d4cec4 0%, var(--accent) 100%);
}

.work-item:nth-child(3) {
  background: linear-gradient(145deg, var(--accent) 0%, #e8e0d4 100%);
}

.work-item:nth-child(4) {
  background: linear-gradient(145deg, #c4bdb3 0%, var(--bg-warm) 100%);
}

.work-item:nth-child(5) {
  background: linear-gradient(145deg, #b8944f 0%, var(--accent) 100%);
}

.work-item:nth-child(6) {
  background: linear-gradient(145deg, #e8e0d4 0%, #d4cec4 100%);
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.work-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.5) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-item:hover img {
  transform: scale(1.04);
}

.work-item:hover::after {
  opacity: 1;
}

.work-item-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out-expo) 0.05s;
}

.work-item:hover .work-item-label {
  opacity: 1;
  transform: translateY(0);
}

.works-cta {
  text-align: center;
  margin-top: clamp(2.5rem, 4vw, 4rem);
}

.btn-outline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1em 2.5em;
  border: 1px solid var(--text);
  border-radius: 100px;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-outline:hover {
  background-color: var(--text);
  color: var(--bg);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--section-pad) var(--side-pad);
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 60px -20px rgba(201, 169, 110, 0.15);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--section-pad) var(--side-pad);
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
}

.cta-section h2 {
  font-style: italic;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.btn-solid {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.1em 3em;
  background-color: var(--text);
  color: var(--bg);
  border-radius: 100px;
  border: 1px solid var(--text);
  transition: all 0.4s var(--ease-out-expo);
}

.btn-solid:hover {
  background-color: transparent;
  color: var(--text);
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.page-hero {
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) var(--side-pad) clamp(2rem, 4vw, 4rem);
  text-align: center;
}

.page-hero h1 {
  letter-spacing: 0.1em;
}

.page-hero-sub {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Filters */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 var(--side-pad) clamp(2rem, 4vw, 3.5rem);
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6em 1.5em;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-light);
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* Masonry Grid */
.masonry-grid {
  column-count: 3;
  column-gap: clamp(0.75rem, 1.5vw, 1.25rem);
  padding: 0 var(--side-pad);
  max-width: 1400px;
  margin: 0 auto;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--bg-warm);
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--ease-out-expo);
}

.masonry-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.masonry-item:hover img {
  transform: scale(1.03);
}

.masonry-item:hover::after {
  opacity: 1;
}

.masonry-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out-expo);
}

.masonry-item:hover .masonry-item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.masonry-item-overlay h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
}

.masonry-item-overlay span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.masonry-item-desc {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-top: 0.3rem;
}

/* Masonry video items */
.masonry-item-video {
  position: relative;
}

.masonry-item-video video {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--ease-out-expo);
}

.masonry-item-video:hover video {
  transform: scale(1.03);
}

.masonry-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  opacity: 0.85;
  transition: all 0.4s var(--ease-out-expo);
  pointer-events: none;
}

.masonry-item-video:hover .masonry-video-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.masonry-item-video.playing .masonry-video-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

/* Featured Spot */
.spot-featured {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--section-pad) var(--side-pad) 0;
}

.spot-featured-label {
  margin-bottom: 2rem;
  text-align: center;
}

.spot-featured-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.spot-featured-video {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.spot-featured-video video {
  width: 100%;
  display: block;
}

.spot-featured-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0.4rem;
}

.spot-featured-location {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.spot-featured-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .spot-featured-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .spot-featured-info {
    text-align: center;
  }
}

/* Portfolio bottom spacing */
.portfolio-bottom {
  padding-bottom: var(--section-pad);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out-expo);
  cursor: zoom-out;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  transform: scale(0.92);
  opacity: 0;
  transition: all 0.5s var(--ease-out-expo) 0.1s;
}

.lightbox.open .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) var(--side-pad) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    var(--bg-warm) 0%,
    #d4cec4 40%,
    var(--accent) 100%
  );
  box-shadow: 0 40px 80px -20px rgba(26, 26, 26, 0.12);
}

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

.about-intro h1 {
  margin-bottom: 0.3em;
}

.about-intro .hero-subtitle {
  margin-bottom: 1.5rem;
}

.about-intro p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Bio Section */
.about-bio {
  padding: var(--section-pad) var(--side-pad);
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg);
}

.about-bio-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.about-bio-text p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-bio-text p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.5em;
  float: left;
  line-height: 0.8;
  margin-right: 0.08em;
  margin-top: 0.05em;
  color: var(--text);
}

/* Brands */
.about-brands {
  padding: var(--section-pad) var(--side-pad);
  background-color: var(--white);
}

.about-brands .section-header {
  max-width: 900px;
  margin: 0 auto;
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  max-width: 900px;
  margin: 2rem auto 0;
}

.brand-tag {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  opacity: 0.4;
  transition: opacity 0.4s ease;
  padding: 0.3em 0;
}

.brand-tag:hover {
  opacity: 1;
}

/* Highlights */
.about-highlights {
  padding: var(--section-pad) var(--side-pad);
  background-color: var(--bg);
}

.about-highlights .section-header {
  max-width: 700px;
  margin: 0 auto;
}

.highlights-list {
  list-style: none;
  max-width: 700px;
  margin: 2rem auto 0;
}

.highlights-list li {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-light);
  padding: 1rem 0 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.highlights-list li:first-child {
  border-top: 1px solid var(--border);
}

.highlights-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Timeline */
.timeline {
  padding: var(--section-pad) var(--side-pad);
  background-color: var(--white);
}

.timeline-inner {
  max-width: 700px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--accent);
}

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

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) var(--side-pad) var(--section-pad);
  max-width: 1000px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 6rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.contact-info h2 {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
}

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.contact-detail a,
.contact-detail p {
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-group {
  position: relative;
  margin-bottom: 0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 1.8rem 0 0.8rem 0;
  border: none;
  border-bottom: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
}

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

.form-group label {
  position: absolute;
  top: 1.8rem;
  left: 0;
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  pointer-events: none;
  transition: all 0.3s var(--ease-out-expo);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.form-group textarea {
  min-height: 120px;
}

.contact-form .btn-solid {
  align-self: flex-start;
  margin-top: 2.5rem;
}

/* Message sent confirmation */
.form-success {
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--accent-dark);
  font-style: italic;
}

.form-error {
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: #b44;
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 2.5rem var(--side-pad);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
}

.footer-role {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.footer-center {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-center a {
  color: var(--text-light);
  transition: color 0.3s ease;
}

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

.footer-divider {
  color: var(--border-dark);
}

.footer-right {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

.footer-credit {
  width: 100%;
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-credit a {
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.footer-heart {
  color: var(--accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    gap: 2rem;
  }

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

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

  .services-grid .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .masonry-grid {
    column-count: 2;
  }

  .about-bio-content {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 3rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 1rem;
  }

  .hero-image-arch {
    width: 220px;
    height: 300px;
  }

  .hero-image-float {
    right: -10px;
    bottom: -15px;
    width: 80px;
    height: 100px;
  }

  .hero-initials {
    font-size: clamp(4.5rem, 20vw, 8rem);
  }

  .hero-cta a {
    justify-content: center;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card:last-child {
    max-width: 100%;
  }

  .masonry-grid {
    column-count: 2;
    padding: 0 clamp(12px, 3vw, 20px);
  }

  .masonry-item-overlay {
    opacity: 1;
    transform: translateY(0);
    padding: 0.75rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  }

  .masonry-item-overlay h4 {
    font-size: 0.8rem;
  }

  .masonry-item-desc {
    font-size: 0.65rem;
    margin-top: 0.15rem;
  }

  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
  }

  .about-photo {
    max-width: 280px;
    margin: 0 auto;
  }

  .about-intro p {
    font-size: 0.88rem;
  }

  .about-bio-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-bio-text p:first-child::first-letter {
    font-size: 2.8em;
  }

  .brands-list {
    gap: 0.6rem 1.2rem;
  }

  .brand-tag {
    font-size: clamp(0.8rem, 3.5vw, 1rem);
    opacity: 0.5;
  }

  .highlights-list li {
    font-size: 0.82rem;
    padding: 0.85rem 0 0.85rem 1.25rem;
  }

  .highlights-list li::before {
    width: 5px;
    height: 5px;
    top: 1.15rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 1.25rem 0;
  }

  .timeline-year {
    font-size: 1rem;
  }

  .timeline-text {
    font-size: 0.88rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-left {
    align-items: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .masonry-grid {
    column-count: 1;
  }

  .portfolio-filters {
    gap: 0.4rem;
  }

  .filter-btn {
    font-size: 0.65rem;
    padding: 0.5em 1em;
  }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background-color: var(--white);
  box-shadow: 0 -4px 30px rgba(26, 26, 26, 0.1);
  padding: 1.5rem var(--side-pad);
  transform: translateY(0);
  transition: transform 0.5s var(--ease-out-expo);
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cookie-banner-inner p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-light);
  flex: 1;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner-actions .btn-solid,
.cookie-banner-actions .btn-outline {
  font-size: 0.65rem;
  padding: 0.9em 1.8em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding-bottom: var(--section-pad);
}

.legal-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.legal-updated {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-light);
  list-style: disc;
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  transition: opacity 0.3s ease;
}

.legal-content a:hover {
  opacity: 0.7;
}

.legal-content h3 {
  font-size: 1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content ol li {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-light);
}

.legal-content ul ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.85rem;
}

.cookie-table th,
.cookie-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  line-height: 1.6;
}

.cookie-table th {
  color: var(--text);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--border-dark);
}

.cookie-table td strong {
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 768px) {
  .cookie-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* ============================================
   GRAIN / TEXTURE OVERLAY
   ============================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================
   LOADING / PAGE ENTER
   ============================================ */
.page-enter .hero-initials,
.page-enter .hero-subtitle,
.page-enter .hero-location,
.page-enter .hero-cta,
.page-enter .hero-visual {
  opacity: 0;
  transform: translateY(30px);
}

body:not(.page-enter) .hero-initials {
  animation: fadeUp 0.8s var(--ease-out-expo) 0.1s both;
}

body:not(.page-enter) .hero-subtitle {
  animation: fadeUp 0.8s var(--ease-out-expo) 0.25s both;
}

body:not(.page-enter) .hero-location {
  animation: fadeUp 0.8s var(--ease-out-expo) 0.35s both;
}

body:not(.page-enter) .hero-cta {
  animation: fadeUp 0.8s var(--ease-out-expo) 0.45s both;
}

body:not(.page-enter) .hero-visual {
  animation: fadeUp 0.9s var(--ease-out-expo) 0.2s both;
}

/* About page animations */
body:not(.page-enter) .about-photo {
  animation: fadeUp 0.9s var(--ease-out-expo) 0.1s both;
}

body:not(.page-enter) .about-intro {
  animation: fadeUp 0.9s var(--ease-out-expo) 0.25s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   CONTEXT MENU PROTECTION
   ============================================ */
.work-item img,
.masonry-item img,
.hero-image-arch img,
.about-photo img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}
