/* ===== CSS VARIABLES (Design Tokens) ===== */
:root {
  /* Colors */
  --color-canvas: #0F0F12;
  --color-paper: #FBF8F3;
  --color-ink: #161617;
  --color-muted-ink: #4A4A4F;
  --color-accent: #D1A574;
  --color-accent-muted: #B78B5D;
  --color-accent-2: #C7785F;
  --color-hairline: rgba(22, 22, 23, 0.06);
  --color-hairline-dark: rgba(255, 255, 255, 0.08);
  --color-link: #2A6379;
  --color-success: #7BA27D;
  --color-warning: #DCAC6B;
  --color-danger: #B05A5A;
  
  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Source Sans 3', system-ui, sans-serif;
  --font-script: 'Caveat', 'Belinda', cursive;
  
  /* Font Sizes */
  --text-display: clamp(42px, 5vw, 64px);
  --text-h1: clamp(32px, 4vw, 40px);
  --text-h2: clamp(26px, 3vw, 32px);
  --text-h3: 22px;
  --text-body: 18px;
  --text-small: 15px;
  --text-nav: 14px;
  --text-caption: 13px;
  
  /* Font Weights */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  
  /* Letter Spacing */
  --tracking-wide-caps: 0.12em;
  --tracking-normal: 0em;
  
  /* Line Heights */
  --leading-tight: 1.15;
  --leading-normal: 1.5;
  --leading-loose: 1.7;
  
  /* Border Radius */
  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  
  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.18);
  --shadow-raised: 0 6px 18px rgba(0,0,0,0.22);
  --shadow-text-glow: 0 2px 12px rgba(0,0,0,0.55);
  
  /* Spacing */
  --space-0: 0px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  
  /* Container Gutters */
  --gutter-mobile: 16px;
  --gutter-tablet: 24px;
  --gutter-desktop: 40px;
  --gutter-wide: 72px;
  
  /* Breakpoints */
  --breakpoint-xs: 360px;
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-xxl: 1536px;
  
  /* Transitions */
  --transition-fast: 150ms;
  --transition-base: 250ms;
  --transition-slow: 500ms;
  --easing-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  
  /* Max Widths */
  --max-width-text: 840px;
  --max-width-content: 1160px;
  --max-width-wide: 1440px;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  color: var(--color-ink);
  background-color: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  color: var(--color-ink);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p {
  margin-bottom: var(--space-16);
  line-height: var(--leading-normal);
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-base) var(--easing-in-out);
}

a:hover {
  color: var(--color-accent-2);
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--gutter-mobile);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--gutter-tablet);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--gutter-desktop);
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 var(--gutter-wide);
  }
}

/* ===== NAVIGATION ===== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.5);
  transition: background-color var(--transition-base) var(--easing-in-out), backdrop-filter var(--transition-base) var(--easing-in-out);
  backdrop-filter: blur(12px);
}

.top-nav.scrolled {
  background: rgba(247, 245, 242, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-16) var(--gutter-mobile);
  max-width: var(--max-width-content);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .nav-container {
    padding: var(--space-16) var(--gutter-tablet);
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: var(--space-16) var(--gutter-desktop);
  }
}

.nav-left, .nav-right {
  display: flex;
  gap: var(--space-32);
}

.nav-link {
  font-size: var(--text-nav);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide-caps);
  color: #FFFFFF;
  transition: all var(--transition-base) var(--easing-in-out);
}

.top-nav.scrolled .nav-link {
  color: var(--color-ink);
}

.nav-link:hover {
  color: var(--color-accent-2);
}

.logo {
  font-family: 'Belinda', 'Cormorant Garamond', serif;
  font-size: var(--text-h3);
  font-weight: 400;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.top-nav.scrolled .logo {
  color: var(--color-ink);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-8);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  margin: 2px 0;
  transition: var(--transition-base) var(--easing-in-out);
}

.top-nav.scrolled .mobile-menu-toggle span {
  background: var(--color-ink);
}

.mobile-menu {
  display: none;
  background: rgba(247, 245, 242, 0.98);
  backdrop-filter: blur(10px);
  padding: var(--space-24);
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: var(--space-12) 0;
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  color: var(--color-ink);
  border-bottom: 1px solid rgba(22, 22, 23, 0.1);
}

@media (max-width: 1023px) {
  .nav-left, .nav-right {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
  position: relative;
  height: clamp(420px, calc(100vw / 1.85), 90vh);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity var(--transition-slow) var(--easing-in-out);
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
  animation: heroZoom 16s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(140deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.2) 35%, rgba(0,0,0,0.05) 70%, rgba(0,0,0,0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
}

.hero-content {
  color: #FFFFFF;
  max-width: var(--max-width-text);
  padding: 0 var(--space-16);
}
.hero-subtext {
  margin-top: var(--space-12);
  color: rgba(255, 255, 255, 0.78);
  font-size: calc(var(--text-small) + 1px);
  letter-spacing: 0.02em;
  font-family: var(--font-script);
}
.hero-cta {
  margin-top: var(--space-24);
  min-width: 180px;
  box-shadow: var(--shadow-soft);
}

.hero-eyebrow {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide-caps);
  color: var(--color-accent);
  margin-bottom: var(--space-16);
}

.hero-title {
  font-size: var(--text-display);
  font-weight: var(--weight-light);
  line-height: var(--leading-tight);
  color: #FFFFFF;
  text-shadow: var(--shadow-text-glow);
}

.hero-controls {
  position: absolute;
  bottom: var(--space-32);
  right: var(--space-32);
  display: flex;
  gap: var(--space-8);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base) var(--easing-in-out);
}

.hero-dot.active,
.hero-dot:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  border: none;
  color: #FFFFFF;
  font-size: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-base) var(--easing-in-out);
  opacity: 0;
}

.hero-carousel:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

.hero-prev {
  left: var(--space-32);
}

.hero-next {
  right: var(--space-32);
}

/* ===== SECTIONS ===== */
section {
  padding: var(--space-64) 0;
  background: var(--color-paper);
}

@media (min-width: 768px) {
  section {
    padding: var(--space-96) 0;
  }
}

section + section {
  border-top: 1px solid var(--color-hairline);
}

/* ===== INTRO SECTION ===== */
.intro-section {
  background: var(--color-paper);
}

.intro-content {
  text-align: center;
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.intro-eyebrow {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide-caps);
  color: var(--color-accent);
  margin-bottom: var(--space-16);
}

.intro-title {
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  margin-bottom: var(--space-24);
}

.intro-text {
  font-size: var(--text-body);
  line-height: var(--leading-loose);
  color: var(--color-muted-ink);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-64);
}

.section-eyebrow {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide-caps);
  color: var(--color-accent);
  margin-bottom: var(--space-16);
}

.section-title {
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  margin-bottom: var(--space-24);
}

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-48);
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-24);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-32);
  }
}

.portfolio-tile {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-base) var(--easing-in-out);
}

.portfolio-tile:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-raised);
  border: 1px solid var(--color-hairline);
}

.tile-image {
  position: relative;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-24);
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.0) 60%);
  color: #FFFFFF;
}

.tile-title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: var(--weight-regular);
  color: #FFFFFF;
  text-shadow: var(--shadow-text-glow);
  margin-bottom: var(--space-8);
}

.tile-subtitle {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.9);
}

.portfolio-cta {
  text-align: center;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--color-paper);
}

.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: var(--space-48) var(--space-32);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid var(--color-hairline);
}

.testimonial-slide {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms var(--easing-in-out), transform 700ms var(--easing-in-out);
  position: absolute;
  inset: var(--space-32);
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-medium);
  font-style: italic;
  line-height: var(--leading-loose);
  color: var(--color-ink);
  margin-bottom: var(--space-24);
  max-width: var(--max-width-text);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-24);
  border-left: 3px solid var(--color-accent-2);
}

.testimonial-author {
  font-family: var(--font-script);
  font-size: 20px;
  font-weight: var(--weight-medium);
  color: var(--color-muted-ink);
  font-style: normal;
}

.testimonial-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 var(--space-12);
  pointer-events: none;
}

.testimonial-arrow {
  background: rgba(0,0,0,0.08);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--color-ink);
  cursor: pointer;
  transition: background var(--transition-base) var(--easing-in-out), transform var(--transition-base) var(--easing-in-out);
  pointer-events: auto;
}

.testimonial-arrow:hover {
  background: rgba(0,0,0,0.16);
  transform: translateY(-2px);
}

.testimonial-dots {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  margin-top: var(--space-24);
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(22, 22, 23, 0.25);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base) var(--easing-in-out);
}

.testimonial-dot.active,
.testimonial-dot:hover {
  background: var(--color-accent-2);
  border-color: var(--color-accent-2);
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--color-paper);
}

.faq-grid {
  display: grid;
  gap: var(--space-16);
}

.faq-toggle {
  text-align: center;
  margin-bottom: var(--space-16);
}

.faq-content {
  transition: max-height var(--transition-slow) var(--easing-in-out), opacity var(--transition-base) var(--easing-in-out);
}

.faq-item {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-16) var(--space-20);
  background: #fff;
  transition: border-color var(--transition-base) var(--easing-in-out), box-shadow var(--transition-base) var(--easing-in-out), transform var(--transition-base) var(--easing-in-out);
}

.faq-item[open] {
  border-color: var(--color-accent-2);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.faq-item summary {
  cursor: pointer;
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: var(--space-12);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '+';
  font-weight: var(--weight-semibold);
  color: var(--color-accent-2);
  display: inline-block;
}

.faq-item[open] summary::before {
  content: '–';
}

.faq-item p {
  margin: var(--space-12) 0 0 0;
  color: var(--color-muted-ink);
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  gap: var(--space-48);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-64);
  }
}

.about-title {
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  margin-bottom: var(--space-24);
}

.about-description {
  font-size: var(--text-body);
  line-height: var(--leading-loose);
  color: var(--color-muted-ink);
  margin-bottom: var(--space-16);
}

.photographer-portrait {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: rgba(22, 22, 23, 0.35);
  color: #FFFFFF;
  text-align: center;
  padding: var(--space-48) 0;
}

.cta-title {
  font-size: var(--text-h2);
  font-weight: var(--weight-light);
  color: #FFFFFF;
  margin-bottom: var(--space-16);
}

.cta-text {
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-32);
}
.cta-subtext {
  margin-top: var(--space-16);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-script);
  font-size: var(--text-small);
  letter-spacing: 0.03em;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base) var(--easing-in-out);
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-ink);
}

.btn-primary:hover {
  background: var(--color-accent-2);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-secondary {
  background: var(--color-accent-2);
  color: #ffffff;
}
.btn-secondary:hover {
  background: #b56c53;
  transform: translateY(-2px);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
  display: grid;
  gap: var(--space-48);
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-64);
  }
}

/* Centered single-column contact layout */
.contact-content.centered {
  grid-template-columns: 1fr;
  justify-items: center;
}
.contact-content.centered .contact-form { width: 100%; max-width: 720px; }

.contact-title {
  font-size: var(--text-h2);
  font-weight: var(--weight-light);
  margin-bottom: var(--space-24);
}

.contact-description {
  font-size: var(--text-body);
  line-height: var(--leading-loose);
  color: var(--color-muted-ink);
  margin-bottom: var(--space-32);
}

.contact-details {
  display: grid;
  gap: var(--space-24);
}

.contact-item h3 {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-8);
}

.contact-item p {
  font-size: var(--text-body);
  color: var(--color-muted-ink);
  margin-bottom: 0;
}

/* ===== FORMS ===== */
/* Design-system contact form (underline variant) */
.ds-form { max-width: 720px; margin: 0 auto; }
.ds-required-hint { font-size: 12px; color: #6B6B6F; margin-bottom: 16px; }
.ds-field { margin-bottom: 28px; }
@media (max-width: 639px) { .ds-field { margin-bottom: 22px; } }
.ds-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  line-height: 1.2;
  color: #1A1A1A;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}
.ds-required { color: #D1A574; margin-left: 4px; }
.ds-input, .ds-textarea, .ds-select {
  width: 100%;
  background: #FFFFFF;
  color: var(--color-ink);
  font-weight: 500;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  border: none;
  border-bottom: 1px solid #E7E4DF;
  padding: 8px 0;
  outline: none;
  transition: border-color 200ms cubic-bezier(0.4,0,0.2,1), box-shadow 200ms cubic-bezier(0.4,0,0.2,1);
}
.ds-input::placeholder { color: #7E7C77; }
.ds-date { position: relative; }
.ds-select { appearance: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236B6B6F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>'); background-repeat: no-repeat; background-position: right 0.25rem center; padding-right: 28px; }

/* Date input calendar icon spacing (browser native) */
.ds-input[type="date"] { padding-right: 28px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236B6B6F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>'); background-repeat: no-repeat; background-position: right 0.25rem center; }
.ds-input:focus, .ds-textarea:focus, .ds-select:focus {
  border-bottom: 2px solid #D1A574;
  box-shadow: 0 0 0 2px rgba(209,165,116,0.35);
}
.ds-textarea {
  border: 1px solid #E7E4DF;
  border-radius: 8px;
  padding: 12px;
}
.ds-help { font-size: 13px; color: #6B6B6F; margin-top: 6px; }
.ds-error-text { color: #B45353; }

/* Native required indicator for checkbox group */
fieldset[aria-required="true"] .ds-label .ds-required { display: inline; }

/* Checkbox group */
.ds-checkbox-group { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 1024px) { .ds-checkbox-group { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.ds-checkbox { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.ds-checkbox input[type="checkbox"] {
  width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid #CFCBC5; appearance: none; display: grid; place-items: center; background: #FFFFFF; cursor: pointer; position: relative;
}
.ds-checkbox input[type="checkbox"]:checked { background: #D1A574; border-color: #D1A574; }
.ds-checkbox input[type="checkbox"]:checked::after { content: ''; width: 10px; height: 10px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>'); background-repeat: no-repeat; background-position: center; background-size: 10px 10px; }
.ds-checkbox input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 2px rgba(209,165,116,0.35); }

.ds-input-inline { margin-top: 8px; }

/* Submit */
.ds-submit-row { display: flex; justify-content: flex-end; margin-top: 40px; }
.ds-submit-row .ds-submit { width: 100%; }
@media (min-width: 768px) { .ds-submit-row .ds-submit { width: auto; } }
.ds-submit {
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 999px;
  background: #D1A574; color: #1A1A1A; border: none; cursor: pointer;
  transition: background 200ms cubic-bezier(0.4,0,0.2,1);
}
.ds-submit:disabled { background: #D7D5D1; color: #777; cursor: not-allowed; }
.ds-submit:hover { background: #B78B5D; }

/* Panels */
.ds-panel { border: 1px solid #E7E4DF; border-radius: 8px; padding: 12px; margin-top: 16px; }
.ds-success { border-color: #2E7D5B; }
.ds-error { border-color: #B45353; }

.ds-consent { color: #6B6B6F; font-size: 12px; margin-top: 16px; }
.ds-consent a { text-decoration: underline; color: inherit; }
.ds-consent-secondary { color: #9A9893; font-size: 12px; margin-top: 6px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--color-ink);
  color: #FFFFFF;
  padding: var(--space-48) 0 var(--space-24);
}

.footer-content {
  display: grid;
  gap: var(--space-32);
  margin-bottom: var(--space-32);
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-48);
  }
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: var(--weight-regular);
  color: #FFFFFF;
  margin-bottom: var(--space-8);
}

.footer-tagline {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base) var(--easing-in-out);
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.social-link {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base) var(--easing-in-out);
}

.social-link:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-24);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* ===== PORTFOLIO GALLERY ===== */
.portfolio-gallery-section {
  padding: 80px 0;
  background: #f9f5f0;
}

.masonry-gallery-wrapper {
  width: 100%;
  padding: 0 24px 24px;
  box-sizing: border-box;
}

.portfolio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  width: 100%;
}

.masonry-gallery {
  column-count: 3;
  column-gap: 16px;
  width: 100%;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
}

.portfolio-photo {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #0f0f0f;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.portfolio-photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, filter 0.2s ease;
  cursor: zoom-in;
}

.portfolio-photo:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

@media (max-width: 640px) {
  .portfolio-gallery-section {
    padding: 60px 0;
  }
  .masonry-gallery {
    column-count: 1;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .masonry-gallery {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .masonry-gallery {
    column-count: 3;
  }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 24px;
  box-sizing: border-box;
}

.lightbox .lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 28px;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 32px;
  line-height: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

body.lightbox-open {
  overflow: hidden;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-carousel {
    --transition-slow: 0ms;
  }
}

/* Focus states */
button:focus,
input:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }
.mb-32 { margin-bottom: var(--space-32); }
.mb-48 { margin-bottom: var(--space-48); }

.mt-0 { margin-top: 0; }
.mt-16 { margin-top: var(--space-16); }
.mt-24 { margin-top: var(--space-24); }
.mt-32 { margin-top: var(--space-32); }
.mt-48 { margin-top: var(--space-48); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

@media (max-width: 767px) {
  .hidden-mobile { display: none; }
}

@media (min-width: 768px) {
  .hidden-desktop { display: none; }
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

