:root {
  /* Light Mode Palette */
  --bg-body: #F4F7F9;
  --bg-surface: #FFFFFF;
  --bg-nav: #0F172A;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-inverse: #F8FAFC;
  
  --primary: #1A6B6B;       /* Deep Teal */
  --primary-hover: #145252;
  --accent: #FF8C5A;        /* Warm Coral */
  --accent-hover: #E07545;
  
  --border: #E2E8F0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-full: 9999px;
  
  --container-width: 1200px;
}

/* Dark Mode Overrides */
html.dark-mode {
  --bg-body: #0F172A;
  --bg-surface: #1E293B;
  --bg-nav: #020617;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-inverse: #0F172A;
  
  --primary: #2DD4BF;       /* Lighter Teal for contrast */
  --primary-hover: #14B8A6;
  --accent: #FF8C5A;
  --accent-hover: #FF7043;
  
  --border: #334155;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -999px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text-inverse);
  padding: 0.5rem 1rem;
  z-index: 1000;
  font-weight: bold;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-nav);
  color: var(--text-inverse);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  transition: background-color 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand:hover {
  color: var(--accent);
}

.logo {
  height: 40px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav nav {
  display: flex;
  gap: 1.5rem;
}

.nav nav a {
  color: var(--text-inverse);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav nav a:hover::after {
  width: 100%;
}

/* Theme Toggle Button */
.theme-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-inverse);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.theme-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.theme-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.icon-sun, .icon-moon {
  font-size: 1.2rem;
  transition: opacity 0.3s ease;
}

/* Hide moon by default in light mode */
html:not(.dark-mode) .icon-moon {
  display: none;
}

/* Hide sun by default in dark mode */
html.dark-mode .icon-sun {
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-nav) 0%, #1A6B6B 100%);
  color: var(--text-inverse);
  padding: 6rem 1.5rem;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.dark-mode .hero {
  background: linear-gradient(135deg, #020617 0%, #115E59 100%);
}

.hero-content {
  max-width: 800px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.lede {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-family: var(--font-display);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:not(.btn-ghost) {
  background-color: var(--accent);
  color: var(--text-inverse);
}

.btn:not(.btn-ghost):hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 90, 0.4);
}

.btn-ghost {
  background-color: transparent;
  border: 2px solid var(--text-inverse);
  color: var(--text-inverse);
}

.btn-ghost:hover {
  background-color: var(--text-inverse);
  color: var(--bg-nav);
  transform: translateY(-2px);
}

/* Layout Utilities */
.wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.about-grid h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.about-visual {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
}

.blob {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, var(--primary), var(--accent));
  opacity: 0.8;
  animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.6; }
}

/* Work/Gallery Section */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.shot {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shot:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.shot img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.shot figcaption {
  padding: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-main);
  text-align: center;
}

/* Hours & Contact Split */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.hours-block,
.contact-block {
  background-color: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.hours-block h2,
.contact-block h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 0.75rem 0;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.hours th {
  font-weight: 600;
  color: var(--text-main);
  width: 40%;
}

.hours td {
  color: var(--text-muted);
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: none;
}

.contact-details {
  margin-top: 1.5rem;
}

.contact-details p {
  margin-bottom: 1rem;
}

.contact-details strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--bg-nav);
  color: var(--text-inverse);
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 4rem;
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

footer a:hover {
  color: var(--text-inverse);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .nav nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }
  
  .hero {
    padding: 4rem 1rem;
    min-height: 60vh;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  .wrap {
    padding: 3rem 1rem;
  }
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}