:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --text-main: #151515;
  --text-muted: #6f6f75;
  --accent: #111111;
  --accent-soft: #f0f0f2;
  --border-soft: #e1e1e6;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
  --transition-fast: 180ms ease-out;
}

* { box-sizing: border-box; margin: 0; padding: 0; cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="black" stroke="white" stroke-width="1.5" transform="scale(-1,1)"><line x1="22" y1="2" x2="11" y2="13"/><polygon points="22 2 15 22 11 13 2 9 22 2"/></svg>') 2 2, auto; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  position: relative;
}
img { max-width: 100%; display: block; }
a { 
  color: inherit; 
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
}
button {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
}

/* Page Transitions */
.page { 
  min-height: 100vh; 
  display: flex; 
  flex-direction: column;
}

body {
  background: #fff;
}

body .page {
  opacity: 0;
  transition: opacity 0.7s ease;
}

body.page-loaded .page {
  opacity: 1;
}

body.initial-home-reveal .page {
  opacity: 0;
  transform: translateY(8px);
  filter: none;
  transition: opacity 1.6s ease, transform 1.6s ease, filter 1.8s ease;
}

body.initial-home-reveal.page-loaded .page {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

body.initial-home-reveal::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #fff;
  opacity: 1;
  pointer-events: none;
  z-index: 2500;
  transition: opacity 1.9s ease;
}

body.initial-home-reveal.page-loaded::before {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  body .page {
    transition: none;
    opacity: 1;
  }

  body.initial-home-reveal .page {
    transform: none;
    filter: none;
  }

  body.initial-home-reveal .hero-kicker,
  body.initial-home-reveal .hero-title,
  body.initial-home-reveal .hero-sub,
  body.initial-home-reveal .hero-actions,
  body.initial-home-reveal .hero-meta,
  body.initial-home-reveal .hero-scroll-indicator {
    animation-delay: 0s;
  }

  body.initial-home-reveal header,
  body.initial-home-reveal .nav-left,
  body.initial-home-reveal .nav-links,
  body.initial-home-reveal .nav-actions,
  body.initial-home-reveal .mobile-menu-toggle {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.initial-home-reveal::before {
    transition: none;
    opacity: 0;
  }
}

main { 
  flex: 1;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

main.fade-out {
  opacity: 0;
}

.parallax-section:not(:first-of-type),
.approach,
.contact,
.gallery-grid,
.gallery-cta {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

body:is(.ios-device, .constrained-device) .parallax-section:not(:first-of-type),
body:is(.ios-device, .constrained-device) .approach,
body:is(.ios-device, .constrained-device) .contact,
body:is(.ios-device, .constrained-device) .gallery-grid,
body:is(.ios-device, .constrained-device) .gallery-cta {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header / Nav */
header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

body.initial-home-reveal header,
body.initial-home-reveal .nav-left,
body.initial-home-reveal .nav-links,
body.initial-home-reveal .nav-actions,
body.initial-home-reveal .mobile-menu-toggle {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 1s ease, transform 1s ease;
}

body.initial-home-reveal.page-loaded header,
body.initial-home-reveal.page-loaded .nav-left,
body.initial-home-reveal.page-loaded .nav-links,
body.initial-home-reveal.page-loaded .nav-actions,
body.initial-home-reveal.page-loaded .mobile-menu-toggle {
  opacity: 1;
  transform: translateY(0);
}

body.initial-home-reveal header {
  transition-delay: 0.85s;
}

body.initial-home-reveal .nav-left {
  transition-delay: 1s;
}

body.initial-home-reveal .nav-links,
body.initial-home-reveal .mobile-menu-toggle {
  transition-delay: 1.12s;
}

body.initial-home-reveal .nav-actions {
  transition-delay: 1.22s;
}

.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; width: 100%; }
.nav-left { display: flex; align-items: center; gap: 12px; }
.nav-logo { height: 52px; width: auto; transition: height 0.3s ease; }
.nav-logo.scrolled { height: 42px; }
.nav-insta { height: 20px; width: auto; }
.nav-links { display: flex; align-items: baseline; gap: 28px; font-size: .94rem; letter-spacing: 0; text-transform: capitalize; }
.nav-links > a { position: relative; padding-bottom: 3px; }
.nav-links > a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--accent); transition:width var(--transition-fast); }
.nav-links > a:hover::after { width:100%; }

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  position: relative;
  padding-bottom: 3px;
  cursor: pointer;
}

.dropdown-toggle::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:1px;
  background:var(--accent);
  transition:width var(--transition-fast);
}

.dropdown:hover .dropdown-toggle::after {
  width:100%;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  text-transform: capitalize;
  letter-spacing: 0;
  transition: background 0.15s ease;
}

.dropdown-menu a:hover {
  background: var(--bg-soft);
}

.nav-actions { display:flex; align-items:center; gap:10px; }
.btn {
  border-radius: 0; padding: 8px 18px; font-size: .9rem;
  border: 1px solid var(--border-soft); background: var(--bg-soft);
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
  color: #151515;
}
.btn:hover { background:#fff; box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.btn-primary { background: transparent; color: #000; border: 1px solid #000; }
.btn-primary:hover { background:#000; color: #fff; box-shadow: var(--shadow-soft); }
.btn-icon { 
  font-size: 1rem; 
  line-height: 1; 
  padding: 8px;
  background: transparent;
  border: none;
}
.btn-icon:hover {
  background: var(--bg-soft);
  transform: translateY(-1px);
}
.btn-icon .nav-insta {
  margin: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Hero */
.hero { 
  position: relative; 
  min-height: 100vh;
  min-height: 100svh; /* Safari mobile fix */
  display: flex; 
  align-items: center; 
  justify-content: center; 
  padding: 120px 0 80px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.hero-bg-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: 0;
  will-change: transform;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  will-change: transform, opacity;
  filter: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-bg-image.active {
  opacity: 1;
  z-index: 1;
}

/* Hero Navigation Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero:hover .hero-arrow {
  opacity: 0.6;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(1.05);
  opacity: 1;
}

.hero-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-arrow-prev {
  left: 30px;
}

.hero-arrow-next {
  right: 30px;
}

.hero-arrow svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .hero-arrow {
    width: 44px;
    height: 44px;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .hero-arrow-prev {
    left: 10px;
  }
  
  .hero-arrow-next {
    right: 10px;
  }
  
  .hero-arrow svg {
    width: 22px;
    height: 22px;
  }
  
  .hero-arrow:active {
    transform: translateY(-50%) scale(0.9);
    background: rgba(255, 255, 255, 0.2);
  }

  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex;
  }

  body.ios-device .nav-left {
    margin-left: 18px !important;
  }

  #nav-links.nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    height: 100svh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 80px 30px 30px;
    transform: translateX(110%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
    will-change: transform;
  }

  #nav-links.nav-links.active {
    transform: translateX(0);
  }

  .nav-links > a,
  .nav-links .dropdown {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1rem;
  }

  .nav-links > a::after {
    display: none;
  }

  /* Dropdown adjustments for mobile */
  .dropdown {
    width: 100%;
  }
  
  .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  .dropdown-toggle::after {
    display: none;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 8px;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    min-width: auto;
    width: 100%;
  }

  .dropdown.active .dropdown-menu {
    max-height: 500px;
  }
  
  .dropdown-menu a {
    padding: 12px 0 12px 20px;
    font-size: 0.9rem;
    border-bottom: none;
  }

  .dropdown-menu a:hover {
    background: transparent;
  }

  /* Hero adjustments for mobile */
  .hero {
    padding: 80px 0 60px;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-bg-parallax {
    height: 100%;
  }

  .hero-bg-image {
    object-fit: cover;
    object-position: center center;
  }

  .hero-text {
    padding: 0 20px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .hero-scroll-indicator {
    bottom: 20px;
    font-size: 0.75rem;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-text {
  color: #fff;
  max-width: 800px;
}

.hero-kicker { 
  font-size:.8rem; 
  letter-spacing:.02em; 
  text-transform:capitalize; 
  color: rgba(255,255,255,0.7); 
  margin-bottom:14px; 
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-title { 
  font-size: clamp(3rem, 6vw, 4.5rem); 
  letter-spacing:-.01em; 
  text-transform:capitalize; 
  margin-bottom:24px; 
  font-weight: 700;
  color: #fff;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  line-height: 1.15;
}

.hero-sub { 
  font-size:1.3rem; 
  color: rgba(255,255,255,0.8); 
  max-width: 34rem;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero-meta { 
  display:flex; 
  flex-wrap:wrap; 
  gap:32px; 
  margin-top:32px; 
  font-size:.9rem; 
  color: rgba(255,255,255,0.75);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-meta strong { 
  color: #fff; 
  font-weight:600; 
  display: block;
  margin-bottom: 4px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: capitalize;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.2s forwards;
}

.hero-scroll-indicator svg {
  margin-top: 8px;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

body.initial-home-reveal .hero-kicker {
  animation-delay: 1.05s;
}

body.initial-home-reveal .hero-title {
  animation-delay: 1.25s;
}

body.initial-home-reveal .hero-sub {
  animation-delay: 1.45s;
}

body.initial-home-reveal .hero-actions {
  animation-delay: 1.6s;
}

body.initial-home-reveal .hero-meta {
  animation-delay: 1.75s;
}

body.initial-home-reveal .hero-scroll-indicator {
  animation-delay: 2.1s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Parallax Portfolio */
.portfolio { 
  padding: 80px 0 60px; 
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.section-heading {
  text-align: left;
  margin-bottom: 60px;
  position: relative;
  z-index: 3;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.section-heading h2 { 
  font-size:1.8rem; 
  letter-spacing:0; 
  text-transform:capitalize; 
  color:var(--text-main); 
  font-weight: 700;
  margin-bottom: 16px;
}

.section-heading p { 
  margin-top:10px; 
  font-size:1rem; 
  color:var(--text-muted); 
  max-width:50rem;
  line-height: 1.7;
}

.parallax-section {
  position: relative;
  z-index: 1;
  height: min(85vh, 600px);
  margin-bottom: 80px;
  border-radius: 0;
  overflow: hidden;
  background: #000;
  isolation: isolate;
  opacity: 0;
  animation: fadeInScale 0.9s ease-out 0.4s forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.parallax-image {
  position: absolute;
  top: -25%;
  left: 0;
  width: 100%;
  height: 150%;
  max-height: 150%;
  object-fit: cover;
  object-position: center top;
  transform: translateY(0);
  will-change: transform;
  transition: transform 80ms linear;
  filter: saturate(1.1) brightness(0.95);
}

.parallax-section:hover .parallax-image {
  filter: saturate(1.2) brightness(1);
}

.parallax-overlay { 
  position:absolute; 
  inset:0; 
  background: linear-gradient(135deg, rgba(0,0,0,.3), rgba(0,0,0,.15) 50%, rgba(0,0,0,.25));
  z-index: 1;
}

.parallax-content { 
  position:relative; 
  z-index:2; 
  height:100%; 
  display:flex; 
  align-items:flex-end; 
  padding:40px clamp(20px, 5vw, 80px) 45px; 
  color:#fff;
}

.parallax-content > div {
  max-width: 600px;
  animation: slideUpContent 0.8s ease-out forwards;
  opacity: 0;
}

@keyframes slideUpContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.parallax-label { 
  text-transform:capitalize; 
  letter-spacing:.02em; 
  font-size:.9rem; 
  opacity:.8; 
  margin-bottom:12px;
  font-weight: 600;
}

.parallax-title { 
  font-size:2rem; 
  letter-spacing:-.01em; 
  text-transform:capitalize; 
  margin-bottom:14px; 
  font-weight: 700;
  line-height: 1.2;
}

.parallax-caption { 
  font-size:.95rem; 
  opacity:.88; 
  max-width:32rem;
  line-height: 1.7;
}

.pill { 
  display:inline-flex; 
  align-items:center; 
  gap:6px; 
  padding:8px 16px; 
  border-radius:0; 
  border:1px solid rgba(255,255,255,.3); 
  font-size:.8rem; 
  margin-top:14px; 
  backdrop-filter: blur(12px); 
  background: rgba(0,0,0,.4);
  text-transform: capitalize;
  letter-spacing: 0;
  transition: all 300ms ease-out;
}

.pill-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.pill-link {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.5);
  font-weight: 600;
  cursor: pointer;
}

.pill-link:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-2px);
}

.parallax-section:hover .pill {
  border-color: rgba(255,255,255,.6);
  background: rgba(0,0,0,.55);
  transform: translateY(-2px);
}

.parallax-section:hover .pill-link {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.8);
}

/* Property teaser */
.property-teaser {
  margin-top: 12px; padding: 20px 22px; border-radius: 0;
  background: var(--accent-soft); border: 1px solid var(--border-soft);
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  font-size:.9rem; color:var(--text-muted);
}
.property-teaser strong { color:var(--text-main); font-weight:600; }

/* Contact */
.contact { padding: 60px 0 70px; background: var(--bg-soft); border-top: 1px solid var(--border-soft); }
.contact-grid { display:grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr); gap:40px; align-items:flex-start; }
.contact-heading h2 { font-size:1.35rem; letter-spacing:0; text-transform:capitalize; color:var(--text-muted); margin-bottom:12px; font-weight: 600; }
.contact-heading h3 { font-size:1.75rem; letter-spacing:-.01em; text-transform:capitalize; margin-bottom:12px; font-weight: 600; }
.contact-heading p { font-size:.96rem; color:var(--text-muted); max-width:26rem; margin-bottom:18px; }
.contact-list { list-style:none; font-size:.9rem; color:var(--text-muted); }
.contact-list li + li { margin-top:4px; }
.contact-list strong { color:var(--text-main); }

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  transition: opacity var(--transition-fast);
}

.instagram-link:hover {
  opacity: 0.7;
}

.instagram-icon {
  height: 24px;
  width: 24px;
}

form { background:#fff; padding:24px 22px 22px; border-radius: 0; box-shadow: var(--shadow-soft); border: 1px solid #f0f0f5; }
.field { margin-bottom:14px; }

/* Honeypot field - hidden from humans but visible to bots */
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.field-label { font-size:.85rem; font-weight:500; margin-bottom:6px; display:block; }
.field-label span { color:#c84141; }
.field-input, .field-select, .field-textarea {
  width:100%; border-radius:0; border:1px solid var(--border-soft);
  padding:10px 13px; font-size:16px; outline:none; background:#fbfbfd;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.field-textarea { border-radius:0; min-height:110px; resize:vertical; }
.field-input:focus, .field-select:focus, .field-textarea:focus { 
  border-color:#111; 
  background:#fff; 
  box-shadow: 0 0 0 1px #11111111;
  font-size: 16px;
}
.field-small { font-size:.76rem; color:var(--text-muted); margin-top:6px; }
.field-inline { display:flex; align-items:flex-start; gap:8px; font-size:.8rem; color:var(--text-muted); margin-bottom:14px; }
.field-inline input { margin-top:2px; }
.form-actions { display:flex; align-items:center; gap:10px; justify-content:flex-end; margin-top:6px; }

/* Form messages */
.form-message {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: all 0.4s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.form-message.success { background:#ecfdf5; border:1px solid #a7f3d0; color:#065f46; }
.form-message.error   { background:#fef2f2; border:1px solid #fecaca; color:#7f1d1d; }
.form-message a { color:inherit; text-decoration: underline; }
.form-message.show { display:block; opacity:1; animation: fadeIn .4s ease; }
@keyframes fadeIn { from{opacity:0; transform: translateY(8px);} to{opacity:1; transform: translateY(0);} }

/* ===== GALLERY PAGES ===== */

/* Gallery Hero */
.gallery-hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.gallery-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-hero:hover .gallery-hero-image {
  transform: scale(1);
}

.gallery-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
  z-index: 1;
  mix-blend-mode: multiply;
}

.gallery-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 0 30px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.gallery-hero-content h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.gallery-hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  opacity: 0.92;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* Gallery Introduction */
.gallery-intro {
  padding: 100px 0 80px;
  text-align: center;
  background: #fff;
}

.gallery-intro .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-intro h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 28px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.gallery-intro p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 900px;
  margin: 0 auto;
}

/* Gallery Grid */
.gallery-grid {
  padding: 0;
  background: #0a0a0a;
  max-width: 100%;
  width: 100%;
  margin: 0;
  overflow: visible;
  line-height: 0;
}

.gallery-grid .container {
  padding: 0;
  margin: 0;
  max-width: 100%;
  width: 100%;
  line-height: 0;
}

.gallery-section {
  margin-bottom: 0;
}

.gallery-section:last-child {
  margin-bottom: 0;
}

.gallery-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.gallery-section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-style: italic;
}

/* Photo Grid - Full Width with Natural Aspect Ratios */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  grid-auto-rows: 20px;
  gap: 10px;
  padding: 10px;
  background: #0a0a0a;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  align-items: start;
  align-content: start;
  padding-bottom: 0;
  margin-bottom: 0;
  line-height: 0;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease, border-color 0.3s ease;
  cursor: pointer;
  grid-row-end: span var(--row-span);
}

.photo-item:hover {
  transform: scale(0.98);
  border-color: rgba(255, 255, 255, 0.35);
  z-index: 10;
}

.photo-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.95);
}

.photo-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

body:is(.ios-device, .constrained-device) .photo-item {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

body:is(.ios-device, .constrained-device) .photo-item:hover {
  transform: none;
}

body:is(.ios-device, .constrained-device) .photo-item img {
  filter: none;
  transition: opacity 0.2s ease;
  background: #111;
}

body:is(.ios-device, .constrained-device) .photo-item:hover img {
  transform: none;
  filter: none;
}

.photo-item.photo-large {
  grid-column: span 2;
  border-width: 2px;
}

.photo-item.photo-large img {
  width: 100%;
  height: 100%;
}

/* Text Quote Items */
.quote-item {
  position: relative;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  grid-row-end: span 50;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.quote-item:hover {
  background: #181818;
  border-color: rgba(255, 255, 255, 0.25);
}

.quote-item blockquote {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  font-style: italic;
  text-align: center;
  quotes: """ """ "'" "'";
  position: relative;
  max-width: 100%;
}

.quote-item blockquote::before {
  content: open-quote;
  font-size: 3em;
  line-height: 0;
  vertical-align: -0.4em;
  color: rgba(255, 255, 255, 0.15);
  margin-right: 8px;
}

.quote-item blockquote::after {
  content: close-quote;
  font-size: 3em;
  line-height: 0;
  vertical-align: -0.4em;
  color: rgba(255, 255, 255, 0.15);
  margin-left: 8px;
}

body.lightbox-open {
  overflow: hidden;
}

.photo-item[role="button"]:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body:is(.ios-device, .constrained-device) .hero-bg-image {
  will-change: auto;
}

body:is(.ios-device, .constrained-device) .lightbox-backdrop {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body:is(.ios-device, .constrained-device) .hero-arrow {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1400px);
  max-height: 92vh;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  touch-action: pan-y;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(92vh - 90px);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #111;
  touch-action: pan-y;
}

.lightbox-caption {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  min-height: 1.5em;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.lightbox-close {
  position: absolute;
  top: -56px;
  right: 0;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav {
  width: 52px;
  height: 52px;
  font-size: 1.8rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .lightbox-dialog {
    width: min(96vw, 1400px);
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    z-index: 2;
  }

  .lightbox-figure {
    gap: 10px;
    padding-top: 56px;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-image {
    max-height: calc(88vh - 120px);
  }
}

/* Gallery Call to Action */
.gallery-cta {
  padding: 80px 0 120px;
  background: #000;
  color: #fff;
  text-align: center;
  margin-top: 0;
}

.gallery-cta .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-cta h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gallery-cta p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 40px;
  opacity: 0.85;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 18px 48px;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
  letter-spacing: 0.02em;
  border: 2px solid #fff;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255,255,255,0.25);
  background: transparent;
  color: #fff;
}

/* Responsive Gallery Styles */
@media (max-width: 1024px) {
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-auto-rows: 16px;
    gap: 8px;
    padding: 8px;
  }
  
  .photo-item.photo-large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .gallery-hero {
    height: 75vh;
    min-height: 500px;
  }
  
  .gallery-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .gallery-hero-content p {
    font-size: 1.1rem;
  }
  
  .gallery-intro {
    padding: 80px 0 60px;
  }
  
  .gallery-intro h2 {
    font-size: 2rem;
  }
  
  .gallery-intro p {
    font-size: 1rem;
  }
  
  .gallery-grid {
    padding: 0;
    overflow: visible;
  }
  
  .gallery-grid .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
  }
  
  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 8px;
    padding: 8px;
    width: 100%;
    margin-left: 0;
  }
  
  .photo-item {
    border-width: 1px;
    grid-row-end: auto !important;
  }
  
  .photo-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .photo-item.photo-large {
    grid-column: span 1;
    border-width: 1px;
  }
  
  .quote-item {
    grid-row-end: auto !important;
    min-height: 200px;
    padding: 30px 20px;
  }
  
  .gallery-cta {
    padding: 80px 0;
  }
  
  .gallery-cta h2 {
    font-size: 1.75rem;
  }
  
  .gallery-cta p {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 16px 36px;
  }
}

/* Footer */
footer { padding:22px 0 28px; background:#fff; border-top:1px solid var(--border-soft); font-size:.8rem; color:var(--text-muted); }
.footer-inner { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px; }
.wch { display:flex; align-items:center; gap:10px; }
.wch-logo { height:28px; width:auto; }
.footer-meta { display:flex; gap:14px; flex-wrap:wrap; }

/* Responsive */
@media (max-width: 880px) {
  .hero {
    padding: 60px 0 40px;
    min-height: 100vh;
    min-height: 100svh;
  }
  
  .hero-bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }
  
  .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none !important;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .contact-grid { 
    grid-template-columns: minmax(0,1fr); 
  }
}

@media (max-width: 720px) {
  .nav { flex-wrap: nowrap; gap:12px; }
  .nav-links { display: flex; }
  
  .nav-logo {
    height: 38px;
  }
  
  /* Keep drawer/dropdown behavior consistent with the main mobile nav rules */
  .dropdown-menu {
    min-width: auto;
    left: 0;
    transform: none;
  }
  
  .dropdown:hover .dropdown-menu {
    transform: none;
  }
  
  .hero {
    padding: 50px 0 30px;
    min-height: 100vh;
    min-height: 100svh;
  }
  
  .hero-bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }
  
  .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none !important;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 14px;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-meta {
    gap: 20px;
    font-size: 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .parallax-section { 
    height: 65vh;
    margin-bottom: 50px;
  }

  .parallax-content {
    padding: 24px 20px 28px;
  }

  .parallax-title {
    font-size: 1.4rem;
  }

  .parallax-caption {
    font-size: 0.9rem;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 1.4rem;
  }

  .section-heading p {
    font-size: 0.95rem;
  }

  .portfolio { 
    padding: 50px 0 40px; 
  }

  .approach {
    padding: 80px 0;
  }

  .approach-header {
    margin-bottom: 50px;
  }

  .approach-header h2 {
    font-size: 1.4rem;
  }

  .approach-header p {
    font-size: 1rem;
  }

  .process-timeline::before {
    left: 30px;
  }

  .process-item {
    grid-template-columns: 70px 1fr;
    gap: 24px;
    padding: 28px 0;
  }

  .process-number {
    width: 70px;
    height: 70px;
    font-size: 1.3rem;
  }

  .process-item:hover .process-number {
    transform: scale(1.1) translateY(-3px);
  }

  .process-details h3 {
    font-size: 1.1rem;
  }

  .process-details p {
    font-size: 0.95rem;
  }

  .approach-closing {
    padding: 30px 0 0;
  }

  .approach-closing p {
    font-size: 1rem;
  }

  form { padding: 20px 18px 18px; }
}
.approach {
  padding: 80px 0 140px;
  background: var(--bg);
  color: var(--text-main);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Parallax background for approach section */
.approach-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  will-change: transform;
}

.approach-bg-image {
  width: 100%;
  height: 140%;
  object-fit: cover;
  transform: translateY(0);
  will-change: transform;
  filter: saturate(0.5) brightness(1.2);
}

.approach-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.91) 50%, rgba(255,255,255,0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

.approach-content {
  position: relative;
  z-index: 2;
}

.approach-header {
  position: relative;
  z-index: 3;
  margin-bottom: 80px;
  text-align: left;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.approach-header h2 {
  font-size: 1.8rem;
  letter-spacing: 0;
  text-transform: capitalize;
  color: var(--text-main);
  margin-bottom: 16px;
  font-weight: 700;
}

.approach-header p {
  font-size: 1.05rem;
  max-width: 50rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Timeline layout */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 80px;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 45px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  z-index: 1;
}

.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 48px;
  padding: 40px 0;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.process-item:not(:last-child) {
  border-bottom: 1px solid var(--border-soft);
}

.process-marker {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.process-number {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 3;
}

.process-item:hover .process-number {
  transform: scale(1.2) translateY(-6px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
}

.process-details {
  padding-top: 8px;
}

.process-details h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.process-details p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 50rem;
}

.approach-closing {
  padding: 60px 0 0;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.approach-closing p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 45rem;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 500;
}

/* Timeline responsive */
@media (max-width: 720px) {
  .approach {
    padding: 80px 0;
  }

  .approach-header {
    margin-bottom: 40px;
  }

  .approach-header h2 {
    font-size: 1.2rem;
  }

  .process-timeline::before {
    left: 25px;
  }

  .process-item {
    grid-template-columns: 60px 1fr;
    gap: 24px;
    padding: 24px 0;
  }

  .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.1rem;
  }

  .process-item:hover .process-number {
    transform: scale(1.1) translateY(-2px);
  }

  .process-details h3 {
    font-size: 1.05rem;
  }

  .process-details p {
    font-size: 0.9rem;
  }

  .approach-closing {
    padding: 32px 0 0;
  }

  .approach-closing p {
    font-size: 0.95rem;
  }
}

/* Portfolio Page Styles */
.portfolio-hero {
  padding: 100px 0 60px;
  background: var(--bg);
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.1s forwards;
}

.portfolio-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -.01em;
  text-transform: capitalize;
  margin-bottom: 20px;
  font-weight: 700;
}

.portfolio-hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.portfolio-grid-section {
  padding: 80px 0;
}

.portfolio-category {
  margin-bottom: 100px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.portfolio-category:nth-child(1) { animation-delay: 0.3s; }
.portfolio-category:nth-child(2) { animation-delay: 0.5s; }
.portfolio-category:nth-child(3) { animation-delay: 0.7s; }
.portfolio-category:nth-child(4) { animation-delay: 0.9s; }
.portfolio-category:nth-child(5) { animation-delay: 1.1s; }
.portfolio-category:nth-child(6) { animation-delay: 1.3s; }

.portfolio-category:last-child {
  margin-bottom: 0;
}

.portfolio-category h2 {
  font-size: 1.8rem;
  letter-spacing: 0;
  text-transform: capitalize;
  margin-bottom: 12px;
  font-weight: 700;
}

.category-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 700px;
  line-height: 1.7;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: #000;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease-out, filter 300ms ease-out;
  filter: brightness(0.95);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

@media (max-width: 720px) {
  .portfolio-gallery {
    grid-template-columns: 1fr;
  }
  
  .portfolio-hero {
    padding: 80px 0 50px;
  }
  
  .portfolio-category {
    margin-bottom: 70px;
  }
}
