/* ============================================
   LANDSCAPE PHOTOGRAPHY WEBSITE
   Dark Theme with Gold Accents
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --lightbox-panel: 400px;   /* width of the lightbox info panel (desktop) */
  --bg-primary:    #090909;
  --bg-secondary:  #111111;
  --bg-sidebar:    #0d0d0d;
  --accent:        #c8a870;
  --accent-hover:  #dbbf8a;
  --text-primary:  #e8e8e8;
  --text-secondary:#999999;
  --text-muted:    #555555;
  --border:        #1e1e1e;
  --border-light:  #2a2a2a;
  --sidebar-width: 270px;
  --transition:    0.3s ease;
}

html, body {
  height: 100%;
}

/* Every size on the site is in rem, so nudging the root size scales the
   whole site together. 16px is right on a laptop; on a 1600px+ monitor
   the same text looks small, and on 1900px+ smaller still. */
@media (min-width: 1600px) {
  html { font-size: 17px; }
  :root { --lightbox-panel: 440px; }
}
@media (min-width: 1900px) {
  html { font-size: 18px; }
  :root { --lightbox-panel: 460px; }
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

/* === SIDEBAR === */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  padding: 0 0 2rem 0;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 2.5rem 2rem 2rem;
  border-bottom: 1px solid var(--border);
}

.vv-icon {
  margin-bottom: 0.9rem;
}

.sidebar-logo .site-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  line-height: 1.3;
  text-transform: uppercase;
}

.sidebar-logo .site-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.sidebar-logo .divider-line {
  width: 30px;
  height: 1px;
  background-color: var(--accent);
  margin: 0.8rem 0 0;
}

/* === NAVIGATION === */
.sidebar-nav {
  flex: 1;
  padding: 2.5rem 0 1rem;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav ul li {
  position: relative;
}

.sidebar-nav ul li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 2rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition), padding-left var(--transition);
}

.sidebar-nav ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background-color: var(--accent);
  transition: height var(--transition);
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
  color: var(--text-primary);
  padding-left: 2.5rem;
}

.sidebar-nav ul li a:hover::before,
.sidebar-nav ul li a.active::before {
  height: 100%;
}

.sidebar-nav ul li a.active {
  color: var(--accent);
}

.nav-icon {
  width: 16px;
  opacity: 0.6;
  flex-shrink: 0;
}

/* === SIDEBAR FOOTER === */
.sidebar-footer {
  padding: 1.5rem 2rem 0;
  border-top: 1px solid var(--border);
}

.sidebar-footer p {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), color var(--transition);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* === MAIN CONTENT === */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
}

/* === PAGE HERO === */
.page-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-secondary); /* fallback shown until js/featured-loader.js sets a real photo */
  filter: brightness(0.55);
  transition: transform 8s ease;
  transform: scale(1.05);
}

.page-hero:hover .hero-bg {
  transform: scale(1);
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.2) 50%,
    rgba(0,0,0,0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 5rem;
  max-width: 800px;
}

.hero-label {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 450px;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn:hover {
  background: var(--accent);
  color: #000;
}

.btn-solid {
  background: var(--accent);
  color: #000;
}

.btn-solid:hover {
  background: var(--accent-hover);
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* === FEATURED SECTION (Home) === */
.section {
  padding: 6rem 5rem;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  width: 25px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.1;
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

/* === FEATURED GRID === */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
}

.featured-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.featured-item:first-child {
  grid-row: span 2;
}

.featured-item img,
.featured-item canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  filter: brightness(0.85);
}

.featured-item:hover img,
.featured-item:hover canvas {
  transform: scale(1.04);
  filter: brightness(1);
}

.featured-item .item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.featured-item:hover .item-overlay {
  opacity: 1;
}

.item-overlay-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 300;
}

/* === STATS STRIP === */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  padding: 3rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* === ABOUT PAGE === */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6rem;
  align-items: start;
}

.about-image-wrapper {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.05);
}

.about-image-accent {
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid var(--accent);
  z-index: -1;
  opacity: 0.3;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-text h2 em {
  font-style: italic;
  color: var(--accent);
}

.about-text p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-text .highlight-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-primary);
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  line-height: 1.6;
}

.equipment-list {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.equipment-list h4 {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.equipment-list ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.equipment-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.equipment-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* === PHOTOGRAPHY GALLERY === */
.gallery-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Lato', sans-serif;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
}

.gallery-item canvas,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.8) saturate(0.9);
}

.gallery-item:hover canvas,
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(0,0,0,0.5);
}

.gallery-item-overlay .view-icon {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.gallery-item-overlay .view-icon svg {
  width: 28px;
  height: 28px;
}

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

/* Print quality / editions / shipping strip under the gallery grid */
.print-info-strip {
  margin-top: 4rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: rgba(0,0,0,0.97);
  overflow-y: auto;
}

.lightbox.open {
  display: block;
}

.lightbox-inner {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.lightbox-image-panel {
  flex: 1;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 5rem;
  position: relative;
}

.lightbox-image-panel canvas,
.lightbox-image-panel img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.lightbox-info-panel {
  width: var(--lightbox-panel);
  flex-shrink: 0;
  background: var(--bg-sidebar);
  border-left: 1px solid var(--border);
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  align-self: flex-start;
  max-height: 100vh;
  overflow-y: auto;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 1.2rem;
  font-family: 'Lato', sans-serif;
}

.lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 1rem;
}

.lightbox-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-nav.prev { left: 1.5rem; }
.lightbox-nav.next { right: calc(var(--lightbox-panel) + 1.5rem); }

.lightbox-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.lightbox-location {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.lightbox-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex: 1;
}

.lightbox-meta {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.lightbox-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.lightbox-meta-row:last-child {
  border-bottom: none;
}

.lightbox-meta-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.lightbox-meta-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  color: var(--text-secondary);
}

.lightbox-pricing {
  margin-bottom: 1.5rem;
}

.lightbox-pricing h4 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.print-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.print-option {
  padding: 0.85rem 0.5rem;
  border: 1px solid var(--border-light);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: none;
  color: var(--text-secondary);
  font-family: 'Lato', sans-serif;
}

.print-option:hover,
.print-option.selected {
  border-color: var(--accent);
  color: var(--accent);
}

.print-option .size {
  font-size: 0.95rem;
  font-weight: 400;
  display: block;
}

.print-option .price {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: block;
  margin-top: 0.2rem;
}

.print-option.selected .price {
  color: var(--accent);
}

.buy-btn {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: #000;
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  margin-bottom: 0.75rem;
}

.buy-btn:hover {
  background: var(--accent-hover);
}

.enquire-btn {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 0.6rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.enquire-btn:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.lightbox-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  line-height: 1.6;
}

.lightbox-counter {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* === CONTACT PAGE === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.contact-info h2 em {
  font-style: italic;
  color: var(--accent);
}

.contact-info p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-detail-text .label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-detail-text .value {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* === CONTACT FORM === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 0.9rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.form-success {
  display: none;
  padding: 1rem 1.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  margin-top: 1rem;
}

.form-error {
  display: none;
  padding: 1rem 1.5rem;
  border: 1px solid #c0392b;
  color: #e0685a;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

/* Honeypot wrapper — moved off-screen rather than display:none, because
   some bots skip fields that are display:none but still fill in ones
   that are merely positioned out of view. */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacy-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.75rem;
}

.form-privacy-note a,
.page-footer a {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition), border-color var(--transition);
}

.form-privacy-note a:hover,
.page-footer a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Deliberately unobtrusive admin sign-in link: a single dot after the
   privacy link that only reveals itself on hover/focus. */
.page-footer .footer-admin {
  border-bottom: none;
  color: var(--text-muted);
  padding: 0 0.4rem;
  opacity: 0.6;
}

.page-footer .footer-admin:hover,
.page-footer .footer-admin:focus-visible {
  color: var(--accent);
  opacity: 1;
}

/* === PRIVACY PAGE === */
.legal-text {
  max-width: 720px;
}

.legal-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--text-primary);
  margin: 2.5rem 0 0.75rem;
}

.legal-text h2:first-child {
  margin-top: 0;
}

.legal-text p,
.legal-text li {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-text ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-text li {
  margin-bottom: 0.4rem;
}

.legal-text a {
  color: var(--accent);
}

.legal-text .updated {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* === PAGE HEADER (inner pages) === */
.page-header {
  padding: 5rem 5rem 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3rem;
  margin-bottom: 0;
}

.page-header .section-label {
  margin-bottom: 0.6rem;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-primary);
}

.page-header h1 em {
  font-style: italic;
  color: var(--accent);
}

/* === MOBILE MENU TOGGLE === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  background: var(--bg-sidebar);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text-secondary);
  transition: all 0.3s;
}

/* === TOAST NOTIFICATION === */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--accent);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  font-size: 0.92rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 300px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  border-color: #c0392b;
}

.toast.error .toast-title {
  color: #e0685a;
}

.toast-title {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

/* === FOOTER === */
.page-footer {
  padding: 2rem 5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === IMAGE PROTECTION === */
/* Pairs with initImageProtection() in js/main.js: no drag ghost, no text
   selection highlight, and no long-press "Save Image" sheet on iOS. */
.gallery-item img, .gallery-item canvas,
.featured-item img, .featured-item canvas,
.lightbox-image-panel img, .lightbox-image-panel canvas,
.about-image-wrapper img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* === KEYBOARD FOCUS === */
/* Visible focus ring for keyboard users only (:focus-visible skips mouse
   clicks). Gallery tiles show their hover overlay too, so a Tab through
   the grid reads the same as a mouse pass. */
.gallery-item:focus-visible,
.featured-item:focus-visible,
.filter-btn:focus-visible,
.print-option:focus-visible,
.buy-btn:focus-visible,
.enquire-btn:focus-visible,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible,
.btn:focus-visible,
.sidebar-nav a:focus-visible,
.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gallery-item:focus-visible .gallery-item-overlay {
  background: rgba(0,0,0,0.5);
}

.gallery-item:focus-visible .gallery-item-overlay .view-icon {
  opacity: 1;
  transform: translateY(0);
}

.featured-item:focus-visible .item-overlay {
  opacity: 1;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  :root {
    --lightbox-panel: 340px;
  }
  .lightbox-image-panel {
    padding: 3rem 4.5rem;
  }
}

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section, .page-header {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .hero-content {
    padding: 3rem 2rem;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-item:first-child {
    grid-row: auto;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 2rem;
  }
  .lightbox-inner {
    flex-direction: column;
  }
  .lightbox-info-panel {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border);
    position: static;
    max-height: none;
    overflow: visible;
    padding: 2.5rem 1.5rem 3rem;
  }
  .lightbox-image-panel {
    min-height: 0;
  }
  .lightbox-nav.next {
    right: 1.5rem;
  }
  /* Arrows sit beside the photo, not halfway down the page over the panel */
  .lightbox-nav {
    top: 40vh;
  }
  .lightbox-image-panel {
    padding: 4rem 1rem 1rem;
    flex: 0 0 auto;
  }
  /* Image fills the phone's width; the canvas is drawn at full resolution
     (see createLightboxCanvas in js/watermark.js) and scaled here. */
  .lightbox-image-panel canvas,
  .lightbox-image-panel img {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
  }
  .print-info-strip {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .page-footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 1.5rem 2rem;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}
