/* Content Studio Uzh — shared styles */

/* Crossfade between pages instead of a white flash (Chromium; graceful fallback elsewhere) */
@view-transition { navigation: auto; }

:root {
  --dark-2: #17130f;
  --dark: #1e1a15;
  --cream: #efe8dd;
  --white: #f5f1ea;
  --muted: #5c5449;
  --muted-on-dark: #9c968b;
  --gold: #c9a26a;
  --gold-deep: #7a5c34;
  --line-dark: rgba(245, 241, 234, 0.14);
  --line-light: rgba(23, 19, 15, 0.14);

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", Arial, sans-serif;

  --container: 1240px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section--tight {
  padding: clamp(1.75rem, 4vw, 3.25rem) 0;
}

.section--light { background: var(--cream); color: var(--dark-2); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark-2 { background: var(--dark-2); color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero .eyebrow,
.section--dark .eyebrow,
.section--dark-2 .eyebrow { color: var(--gold); }

.section-head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.section-lede {
  margin-top: 1.1rem;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.02rem;
}
.section--dark .section-lede,
.section--dark-2 .section-lede { color: var(--muted-on-dark); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--filled-dark { background: var(--dark-2); color: var(--white); border-color: var(--dark-2); }
.btn--filled-dark:hover { background: var(--dark); }

.btn--filled-light { background: var(--white); color: var(--dark-2); border-color: var(--white); }
.btn--filled-light:hover { background: var(--cream); }

.btn--outline-light { border-color: rgba(245, 241, 234, 0.55); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(245, 241, 234, 0.08); }

.btn--outline-dark { border-color: rgba(23, 19, 15, 0.4); color: var(--dark-2); }
.btn--outline-dark:hover { border-color: var(--dark-2); background: rgba(23, 19, 15, 0.05); }

.btn--icon { padding: 0; width: 46px; height: 46px; border-radius: 50%; }

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.35rem 0;
  background: rgba(23, 19, 15, 0.96);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header.is-solid {
  box-shadow: 0 1px 0 var(--line-dark);
  padding: 0.9rem 0;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0.03em;
  color: var(--white);
  text-transform: uppercase;
}

.logo span { display: block; }

.main-nav { display: flex; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
}

.main-nav a {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover { color: var(--white); }

.main-nav a.is-active {
  color: var(--white);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: var(--dark-2);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video { width: 100%; height: 100%; object-fit: cover; }

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 19, 15, 0.92) 0%, rgba(23, 19, 15, 0.55) 45%, rgba(23, 19, 15, 0.25) 100%);
}

.hero-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(7rem, 14vw, 9rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  align-items: end;
}

.hero-title {
  font-size: clamp(3rem, 8.5vw, 5.6rem);
  text-transform: uppercase;
}

.hero-subline {
  margin-top: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-copy {
  margin-top: 1.4rem;
  max-width: 40ch;
  color: var(--cream);
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-chevron {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-on-dark);
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Breadcrumb hero (inner pages) */

.page-hero {
  padding-top: clamp(8rem, 16vw, 10rem);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.section--dark .breadcrumb,
.section--dark-2 .breadcrumb { color: var(--muted-on-dark); }

.breadcrumb a:hover { color: var(--gold-deep); }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.page-hero-media {
  border-radius: 2px;
  overflow: hidden;
}

.page-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  text-transform: uppercase;
}

.page-subhead {
  margin-top: 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.page-copy {
  margin-top: 1.2rem;
  max-width: 42ch;
  color: var(--muted);
}

/* Photozones hero — a cover photo (~50% of the container) with a
   background-colour gradient blending it into the section, like the home hero.
   The image fills the full height of the section; the text carries the vertical
   spacing (incl. header clearance) so the section height stays content-driven. */
.page-hero--photo { padding-top: 0; padding-bottom: 0; }

.page-hero--photo .page-hero-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.page-hero--photo .page-hero-grid > :first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(8rem, 16vw, 10rem) clamp(3rem, 6vw, 4.5rem);
}

.page-hero--photo .page-hero-media {
  position: relative;
  min-height: 640px;
  aspect-ratio: 4 / 3;
}

.page-hero--photo .page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--photo .page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--cream) 0%,
    rgba(239, 232, 221, 0.55) 28%,
    rgba(239, 232, 221, 0) 68%
  );
}

/* Feature grid */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
}

.feature-card { text-align: left; }

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.4rem;
  color: var(--dark-2);
}

.section--dark .feature-icon,
.section--dark-2 .feature-icon { color: var(--gold); }

.feature-icon svg { width: 100%; height: 100%; }

.feature-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--muted);
}
.section--dark .feature-desc,
.section--dark-2 .feature-desc { color: var(--muted-on-dark); }

.feature-row-4 { grid-template-columns: repeat(4, 1fr); }
.feature-row-4 .feature-card { text-align: center; }
.feature-row-4 .feature-icon { margin: 0 auto 1.4rem; }

/* Split / collage section */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-copy .btn { margin-top: 2rem; }

.collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.collage-stack {
  display: grid;
  gap: 1rem;
}

.collage img,
.collage-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* Pricing */

.pricing {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.price-card {
  border: 1px solid var(--line-light);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4rem);
  line-height: 1;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.price-meta { font-size: 0.78rem; }
.price-unit { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.price-note { display: block; margin-top: 0.5rem; color: var(--muted); max-width: 16ch; }

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
}

.check-list svg {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  color: var(--gold-deep);
}

/* About / contacts block */

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.about-copy .btn { margin-top: 1.8rem; }

.about-media img {
  border-radius: 2px;
  width: 100%;
  height: clamp(360px, 55vh, 620px);
  object-fit: cover;
}

.contact-list { margin-top: 1.6rem; display: grid; gap: 1.1rem; }

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

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 0.2rem;
}

.contact-list .btn { margin-top: 0.6rem; }

.contact-label {
  display: block;
  font-size: 1.15rem;
  line-height: 1.375rem; /* matches icon height so the icon aligns to the label */
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
}

.contact-value {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: var(--muted-on-dark);
}

.contact-value[hidden] { display: none; }

/* Social rows that are whole-item links */
.contact-item--link { transition: color 0.2s ease; }
.contact-item--link .contact-label { transition: color 0.2s ease; }
.contact-item--link:hover .contact-label,
.contact-item--link:hover svg { color: var(--gold); }

/* Phone: label acts as the reveal trigger; number stays hidden until clicked */
.phone-reveal {
  padding: 0;
  border: 0;
  border-bottom: 1px dashed rgba(201, 162, 106, 0.7);
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.phone-reveal:hover { color: var(--gold); border-color: var(--gold); }
.phone-reveal.is-revealed { border-bottom: 0; cursor: default; }
.phone-value:hover { color: var(--gold); }

/* Footer */

.site-footer {
  background: var(--dark-2);
  color: var(--muted-on-dark);
  padding: 2.5rem 0;
}

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

.site-footer .logo { font-size: 0.85rem; }

.footer-copy { font-size: 0.78rem; letter-spacing: 0.02em; }

/* Carousel (photozones) */

/* The photozones carousel fills the viewport (never shorter than 720px) and
   centres its content vertically. */
.photozones-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 720px;
  min-height: max(720px, 100vh);
  /* Tighter than the default section padding so the cards can be larger */
  padding-block: clamp(0.9rem, 1.5vw, 1.4rem);
}

/* As a column flexbox, the stage makes its container a flex item that would
   otherwise grow to the carousel's (very wide) content and overflow the viewport
   horizontally. Pin it to the line width so the track's overflow clips; the
   inherited max-width still caps and centres it on wide screens. */
.photozones-stage > .container { width: 100%; min-width: 0; }

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* Vertical padding leaves room for the active card's lift + shadow, which the
   horizontal overflow-hidden would otherwise clip. */
.carousel-track-wrap { overflow: hidden; flex: 1; min-width: 0; padding: 28px 0; }

.carousel-track {
  position: relative;
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  transition: transform 0.45s ease;
}

.zone-card {
  position: relative;
  flex: 0 0 clamp(260px, 28vw, 360px);
  background: var(--dark);
  color: var(--white);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.zone-card.is-active {
  background: var(--cream);
  color: var(--dark-2);
  transform: translateY(-14px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.35);
}

/* Height scales with the viewport so the cards fill the full-height stage and
   leave only a small margin above/below, instead of a fixed 3/4 ratio. */
.zone-media { position: relative; height: clamp(360px, 62vh, 700px); }

.zone-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.zone-body {
  padding: 1.1rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.zone-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.15;
}

.zone-short {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted-on-dark);
}

/* On the active (cream) card the light gold/muted tones wash out, so darken
   them for legible contrast against the light background. */
.zone-card.is-active .zone-short { color: var(--dark); }
.zone-card.is-active .zone-more { color: var(--gold-deep); }

.zone-more {
  margin-top: 0.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.zone-more svg { width: 15px; height: 15px; transition: transform 0.3s ease; }

.zone-card:hover .zone-more svg,
.zone-card.is-active .zone-more svg { transform: translateX(4px); }

.zone-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--dark-2);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  z-index: 1;
}

.carousel-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  background: transparent;
}

.carousel-nav:hover { border-color: var(--gold); color: var(--gold); }
.carousel-nav svg { width: 16px; height: 16px; }

.carousel-progress {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted-on-dark);
}

.progress-track {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--line-dark);
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.zone-card { cursor: pointer; }

/* Full zone preview — photo + title + full description (lightbox) */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10, 8, 6, 0.92);
}

.lightbox.is-open { display: flex; }

.lightbox-panel {
  display: flex;
  width: min(1080px, 100%);
  max-height: min(88vh, 760px);
  background: var(--dark);
  color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-media { position: relative; flex: 0 0 45%; background: var(--dark-2); }

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 3rem);
  overflow-y: auto;
}

.lightbox-count {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.lightbox-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.15rem;
}

.lightbox-text p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted-on-dark);
  margin-bottom: 0.85rem;
}

.lightbox-text p:last-child { margin-bottom: 0; }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 234, 0.4);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-nav:hover { border-color: var(--white); background: rgba(245, 241, 234, 0.1); }

.lightbox-close {
  top: clamp(1rem, 3vw, 1.75rem);
  right: clamp(1rem, 3vw, 1.75rem);
  width: 46px;
  height: 46px;
  font-size: 1.7rem;
  line-height: 1;
  /* Dark backing so the ✕ stays visible over light photos — matches the nav
     arrows. On mobile the panel fills the screen, so this is the way to close. */
  background: rgba(23, 19, 15, 0.5);
  border-color: rgba(245, 241, 234, 0.55);
  z-index: 2;
}
.lightbox-close:hover { background: rgba(23, 19, 15, 0.8); border-color: var(--white); }

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}

.lightbox-nav svg { width: 22px; height: 22px; }

/* Arrows sit inside the image, near its left/right edges, with a translucent
   dark backing so they stay visible over light photos. */
.lightbox-nav {
  background: rgba(23, 19, 15, 0.5);
  border-color: rgba(245, 241, 234, 0.55);
}
.lightbox-nav:hover { background: rgba(23, 19, 15, 0.8); border-color: var(--white); }
.lightbox-nav--prev { left: 0.85rem; }
.lightbox-nav--next { right: 0.85rem; }

body.lightbox-open { overflow: hidden; }

/* Cards used on equipment / services */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.info-card {
  background: var(--dark);
  border-radius: 2px;
  overflow: hidden;
  color: var(--white);
}

.info-card-media { aspect-ratio: 4/3; }

.info-card-body { padding: 1.5rem; }

.info-card-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.info-card-desc { font-size: 0.86rem; color: var(--muted-on-dark); }

/* Equipment cards — clickable, portrait photo, "N photos" badge */
.equipment-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.4);
}

.equipment-card .info-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
}

.equipment-card .info-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-count {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.55rem;
  background: rgba(23, 19, 15, 0.72);
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  border-radius: 2px;
  backdrop-filter: blur(2px);
}

.equipment-card .info-card-title {
  font-size: 0.98rem;
  transition: color 0.25s ease;
}

.equipment-card:hover .info-card-title { color: var(--gold); }

.tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* CTA section */

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.cta-media img { border-radius: 2px; }

/* Embedded Google map on the contacts page */
.contact-map {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  border: 0;
  border-radius: 2px;
}

.cta-copy .btn { margin-top: 1.8rem; }

/* Centered, image-less CTA */
.cta-centered {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-centered .section-lede { margin-inline: auto; }
.cta-centered .btn { margin-top: 2rem; }

.contact-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Contact form */

.contact-form {
  display: grid;
  gap: 1.1rem;
  max-width: 480px;
}

.field { display: grid; gap: 0.5rem; }

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.field input,
.field textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  padding: 0.6rem 0.1rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form .btn { justify-self: start; margin-top: 0.5rem; }

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Mobile nav overlay */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

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

.nav-overlay ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.nav-overlay a {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  text-transform: uppercase;
  color: var(--white);
}

.nav-overlay a.is-active { color: var(--gold); }

/* Responsive */

/* Services — alternating image + intro feature, then a structured detail body
   that flows into two compact columns. Plus a sticky anchor sub-nav. */
.service-nav {
  position: sticky;
  top: 4.35rem;
  z-index: 20;
  background: rgba(23, 19, 15, 0.96);
  border-block: 1px solid var(--line-dark);
  backdrop-filter: blur(6px);
}

.service-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.75rem);
  padding: 0.85rem 0;
}

.service-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.service-nav a:hover { color: var(--white); }
.service-nav a.is-current { color: var(--white); border-color: var(--gold); }

.service-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* Flip the image to the other side on alternate services */
.service--flip .service-media { order: 2; }

.service-media {
  border-radius: 2px;
  overflow: hidden;
}

/* Show each photo at its natural aspect ratio — no cropping */
.service-media img { width: 100%; height: auto; display: block; }

.service-title { font-size: clamp(1.9rem, 3.6vw, 3rem); }

.service-tagline {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
}

.service-lead {
  margin-top: 1.3rem;
  max-width: 52ch;
  color: var(--cream);
  font-size: 1.02rem;
  line-height: 1.75;
}

.service-body {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  columns: 2;
  column-gap: clamp(2rem, 4vw, 3.5rem);
}

.svc-block,
.svc-package {
  break-inside: avoid;
  margin: 0 0 1.7rem;
}

.svc-block h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line-dark);
}

.svc-block p { color: var(--muted-on-dark); font-size: 0.92rem; line-height: 1.7; }
.svc-block p + p,
.svc-block p + .svc-list,
.svc-block .svc-list + p { margin-top: 0.7rem; }

.svc-list { display: flex; flex-direction: column; gap: 0.5rem; }
.svc-list li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--muted-on-dark);
  font-size: 0.9rem;
  line-height: 1.5;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.svc-check { display: flex; flex-direction: column; gap: 0.55rem; }
.svc-check li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--cream);
  font-size: 0.9rem;
  line-height: 1.5;
}
.svc-check svg {
  width: 15px;
  height: 15px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  color: var(--gold);
}

.svc-package {
  background: rgba(245, 241, 234, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  padding: 1.25rem 1.4rem;
}
.svc-package h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.svc-package p { color: var(--muted-on-dark); font-size: 0.88rem; line-height: 1.6; margin-bottom: 0.9rem; }

/* Rules page — numbered rules flowing into two compact columns */
.rules-list {
  columns: 2;
  column-gap: clamp(2.25rem, 4vw, 3.75rem);
}

.rule {
  break-inside: avoid;
  margin: 0 0 1.9rem;
}

.rule-head {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.65rem;
}

.rule-num {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--gold);
}

.rule-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.35;
}

.rule p { color: var(--muted-on-dark); font-size: 0.92rem; line-height: 1.7; }
.rule p + p { margin-top: 0.55rem; }

.rule-items {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.rule-items li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted-on-dark);
  font-size: 0.9rem;
  line-height: 1.5;
}

.rule-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Prohibition list — small "×" marker instead of a dot */
.rule-items--ban li { padding-left: 1.55rem; }
.rule-items--ban li::before { display: none; }
.rule-items--ban svg {
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 15px;
  height: 15px;
  color: var(--gold);
}

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; text-align: left; }
  .about-media { order: -1; }
  .pricing { grid-template-columns: 1fr; }
  .contact-columns { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .page-hero-grid { grid-template-columns: 1fr; }

  /* Stack the photozones hero and fade the image into the text above it.
     Reset the desktop min-height: with aspect-ratio 1/1 it would otherwise
     force the media 640px wide and blow the layout out horizontally. */
  .page-hero--photo .page-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .page-hero--photo .page-hero-media { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
  .page-hero--photo .page-hero-media::after {
    background: linear-gradient(
      180deg,
      var(--cream) 0%,
      rgba(239, 232, 221, 0.45) 16%,
      rgba(239, 232, 221, 0) 46%
    );
  }

  .split { grid-template-columns: 1fr; }
  .collage { grid-template-columns: 1fr 1fr; }

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

  .cta-grid { grid-template-columns: 1fr; }
  .cta-media { order: -1; }

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

  .check-list { grid-template-columns: 1fr; }

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

  /* Stack service feature (image first) and collapse detail to one column */
  .service-head { grid-template-columns: 1fr; }
  .service--flip .service-media { order: -1; }
  .service-body { columns: 1; }

  .rules-list { columns: 1; }

  .site-footer .container { flex-direction: column; text-align: center; }
}

/* Stack the zone preview (photo over text) on narrow screens */
@media (max-width: 720px) {
  .lightbox { padding: 0; }
  .lightbox-panel {
    flex-direction: column;
    width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
  }
  .lightbox-media { flex: 0 0 42vh; }
}

@media (max-width: 560px) {
  .zone-card { flex: 0 0 78vw; }
  .collage { grid-template-columns: 1fr; }

  /* Anchor nav becomes a horizontally scrollable strip so labels aren't clipped */
  .service-nav ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 1.4rem;
    -webkit-overflow-scrolling: touch;
  }
  .service-nav a { white-space: nowrap; }
}
