/* 2715 Petaluma — Plaza, Long Beach listing site */
:root {
  --navy: #0e2439;
  --navy-mid: #163552;
  --ink: #12161c;
  --muted: #4a5563;
  --soft: #e8eef3;
  --paper: #f5f7f9;
  --white: #ffffff;
  --brass: #9a7b4f;
  --brass-hover: #826640;
  --line: rgba(14, 36, 57, 0.12);
  --shadow: 0 24px 60px rgba(14, 36, 57, 0.18);
  --radius: 2px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 1180px;
  --header-h: 4.25rem;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--navy);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(154, 123, 79, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(22, 53, 82, 0.08), transparent 50%),
    linear-gradient(180deg, #f8fafb 0%, var(--paper) 40%, #eef2f5 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy-mid);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brass);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  color: var(--white);
  background: transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(14, 36, 57, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
  line-height: 1.1;
}

.brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: inherit;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars {
  width: 1.15rem;
  height: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav a:hover {
  color: #e8d7b8;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  background: var(--brass);
  color: var(--white) !important;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--brass-hover);
  color: var(--white) !important;
  transform: translateY(-1px);
}

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

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(14, 36, 57, 0.98);
    padding: 1rem var(--space) 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.35rem;
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.btn-primary {
  background: var(--brass);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brass-hover);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-mid);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 18, 28, 0.45) 0%, rgba(10, 18, 28, 0.2) 35%, rgba(10, 18, 28, 0.72) 100%),
    linear-gradient(90deg, rgba(10, 18, 28, 0.55) 0%, rgba(10, 18, 28, 0.15) 55%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--space), var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  max-width: 40rem;
  margin-left: max(var(--space), calc((100% - var(--max)) / 2));
  animation: riseIn 1s ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  opacity: 0.9;
}

.hero-address {
  margin: 0 0 0.85rem;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 32rem;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-scroll {
  position: absolute;
  right: var(--space);
  bottom: 1.5rem;
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-scroll:hover {
  color: var(--white);
}

/* Spec bar */
.spec-bar {
  background: var(--navy);
  color: var(--white);
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  text-align: center;
}

.spec-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.15;
}

.spec-item span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

@media (max-width: 800px) {
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spec-item:last-child {
    grid-column: 1 / -1;
  }
}

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

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.65rem;
}

.section-head h2,
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.85rem;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: var(--soft);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split-copy p + p {
  margin-top: 1rem;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--brass);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }
  .split-media,
  .split-media img {
    min-height: 280px;
  }
}

/* Gallery */
.gallery-section {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  border: 0;
  padding: 0;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}

.gallery-item:nth-child(1) {
  grid-column: span 7;
  aspect-ratio: 16 / 10;
}
.gallery-item:nth-child(2) {
  grid-column: span 5;
  aspect-ratio: 16 / 10;
}
.gallery-item:nth-child(n + 3) {
  grid-column: span 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item::after {
  content: "View";
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.35rem 0.65rem;
  background: rgba(14, 36, 57, 0.85);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

@media (max-width: 800px) {
  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(n + 3) {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 520px) {
  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(n + 3) {
    grid-column: span 12;
  }
}

/* Details */
.details-section {
  background:
    linear-gradient(135deg, rgba(14, 36, 57, 0.04), transparent 40%),
    var(--paper);
}

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

.detail-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.detail-block h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.85rem;
}

.detail-block dl {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.detail-block dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-block dd {
  margin: 0 0 0.35rem;
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 800px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
}

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

.place-item {
  padding-top: 1.25rem;
  border-top: 2px solid var(--navy);
}

.place-item h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.55rem;
  color: var(--navy);
}

.place-item p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 800px) {
  .place-grid {
    grid-template-columns: 1fr;
  }
}

.map-frame {
  margin-top: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
  min-height: 360px;
}

.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  filter: grayscale(0.25) contrast(1.05);
}

/* Contact */
.contact-section {
  background: var(--navy);
  color: var(--white);
}

.contact-section .eyebrow {
  color: #e8d7b8;
}

.contact-section h2 {
  color: var(--white);
}

.contact-section .lead {
  color: rgba(255, 255, 255, 0.78);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.agent-card {
  padding: 1.75rem 0;
}

.agent-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.35rem;
  font-weight: 500;
}

.agent-meta {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
}

.agent-meta a {
  color: #e8d7b8;
}

.agent-meta a:hover {
  color: #fff;
}

.agent-meta strong {
  color: var(--white);
  font-weight: 600;
}

.agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.compliance-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
}

.contact-form {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(1.25rem, 3vw, 2rem);
}

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

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field .error-text {
  display: none;
  margin-top: 0.35rem;
  color: #ffc9c9;
  font-size: 0.88rem;
}

.form-field.is-invalid .error-text {
  display: block;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: #ff8f8f;
}

.form-status {
  margin-top: 0.85rem;
  min-height: 1.4rem;
  font-size: 0.95rem;
}

.form-status[data-state="success"] {
  color: #b7f0c5;
}

.form-status[data-state="error"] {
  color: #ffc9c9;
}

.form-disclaimer {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Honeypot — anti-bot trap; must stay invisible to people */
.hp-field {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.hp-field label,
.hp-field input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: transparent !important;
  box-shadow: none !important;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none !important;
}

@media (max-width: 860px) {
  .contact-layout,
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: #091826;
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 500;
  margin: 0 0 0.85rem;
}

.site-footer h2 {
  font-size: 1.8rem;
}

.site-footer h3 {
  font-size: 1.15rem;
}

.site-footer a {
  color: #e8d7b8;
}

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

.site-footer li + li {
  margin-top: 0.45rem;
}

.fair-housing {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fair-housing-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 2px solid #e8d7b8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e8d7b8;
  text-align: center;
  line-height: 1.1;
}

.legal-block {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.legal-block p + p {
  margin-top: 0.75rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 14, 22, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.lightbox-inner {
  width: min(1100px, 100%);
  position: relative;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  margin: 0 auto;
  background: #000;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  cursor: pointer;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: var(--radius);
  font-size: 1.25rem;
  line-height: 1;
}

.lightbox-close {
  top: -3.2rem;
  right: 0;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: -0.25rem;
}

.lightbox-next {
  right: -0.25rem;
}

@media (min-width: 900px) {
  .lightbox-prev {
    left: -3.5rem;
  }
  .lightbox-next {
    right: -3.5rem;
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-media img {
    animation: none;
    transform: none;
  }
}
