:root {
  --black: #0b0b0b;
  --black-soft: #111111;
  --panel: #171717;
  --white: #f5f5f2;
  --muted: #aaa9a4;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(11, 11, 11, 0.14);
  --max-width: 1180px;
  --header-height: 76px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}



::selection {
  color: var(--black);
  background: var(--white);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--black);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.nav-shell,
.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(11, 11, 11, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(11, 11, 11, 0.97);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}
.brand-logo {
  display: block;
  width: auto;
  height: 60px;
  object-fit: contain;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  line-height: 1;
}

.brand-name {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.82rem;
  font-weight: 700;
}

.site-nav a {
  color: #d5d5d1;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a.active {
  color: var(--white);
}

.site-nav .nav-button {
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
}

.site-nav .nav-button:hover {
  color: var(--black);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(4rem, 8vw, 7.2rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 5.2vw, 4.9rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: 64px;
  min-height: calc(100svh - var(--header-height));
  padding-block: 74px 96px;
}

.hero-copy {
  max-width: 720px;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--black);
  background: var(--white);
}

.button-light:hover {
  background: #deded9;
}

.button-outline {
  border-color: var(--line);
  color: var(--white);
  background: transparent;
}

.button-outline:hover {
  color: var(--black);
  background: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--black);
}

.button-dark:hover {
  background: #2a2a2a;
}

.button-copy {
  border-color: var(--line-dark);
  color: var(--black);
  background: transparent;
}

.button-copy:hover {
  border-color: var(--black);
}

.image-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #d8d8d4;
  background: var(--panel);
  text-align: center;
}


.image-placeholder span,
.image-placeholder small {
  position: relative;
  z-index: 1;
  padding-inline: 10px;
  background: var(--panel);
}

.image-placeholder span {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.13em;
}

.image-placeholder small {
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-placeholder {
  min-height: 570px;
}
.hero-media {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-sound-button {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;

  min-height: 44px;
  padding: 0 17px;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;

  color: #ffffff;
  background: rgba(11, 11, 11, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  cursor: pointer;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.video-sound-button:hover {
  background: rgba(11, 11, 11, 0.96);
  transform: translateY(-2px);
}

.video-sound-button[aria-pressed="true"] {
  color: #ffffff;
  background: rgba(11, 11, 11, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 680px) {
  .video-sound-button {
    right: 12px;
    bottom: 12px;
    width: auto;
    min-height: 42px;
    padding-inline: 15px;
  }
}
.services-section {
  padding-block: 120px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.45fr);
  align-items: end;
  column-gap: 60px;
  row-gap: 16px;
  margin-bottom: 52px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading > p:last-child {
  margin-bottom: 5px;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-card {
  padding: 34px 34px 36px 0;
  border-bottom: 1px solid var(--line);
}

.service-card:nth-child(odd) {
  padding-right: 42px;
  border-right: 1px solid var(--line);
}

.service-card:nth-child(even) {
  padding-left: 42px;
}


.service-card p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
}

.packages-section {
  padding-block: 120px;
  border-top: 1px solid var(--line);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.package-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black-soft);
}

.package-featured {
  border-color: rgba(255, 255, 255, 0.38);
  background: #181818;
}

.package-label {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.package-card h3 {
  margin-bottom: 22px;
  font-size: 1.45rem;
}

.package-card ul {
  display: grid;
  gap: 11px;
  padding-left: 19px;
  margin: 0 0 28px;
  color: var(--muted);
}

.package-card .button {
  width: 100%;
  margin-top: auto;
}

.packages-disclaimer {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.work-section {
  padding-block: 120px;
  color: var(--black);
  background: var(--white);
}

.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.work-heading .eyebrow {
  color: #71716d;
}

.text-link {
  min-height: 44px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--black);
  font-size: 0.78rem;
  font-weight: 700;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.work-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--black);
  background: #ffffff;
  transition: transform 160ms ease;
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-card-large {
  grid-row: span 2;
}

.work-card .image-placeholder {
  min-height: 320px;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  color: #2d2d2d;
  background: #e7e7e3;
}


.work-card .image-placeholder span,
.work-card .image-placeholder small {
  background: #e7e7e3;
}

.work-card-large .image-placeholder {
  min-height: 690px;
}

.work-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;

  display: grid;
  gap: 4px;

  padding: 64px 20px 20px;

  color: #ffffff;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.82)
  );
}

.work-card .work-copy span {
  color: rgba(255, 255, 255, 0.7);
}

.work-card .work-copy strong {
  color: #ffffff;
}


.home-comparison-layout {
  display: grid;
  grid-template-columns:
    minmax(260px, 0.68fr)
    minmax(0, 1.32fr);
  align-items: start;
  gap: 58px;
}

.home-comparison-copy {
  max-width: 440px;
}

.home-comparison-copy .eyebrow {
  color: #71716d;
}

.home-comparison-copy h3 {
  margin-bottom: 18px;
  color: var(--black);
  font-family:
    Impact,
    Haettenschweiler,
    "Arial Narrow Bold",
    sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.home-comparison-copy > p:not(.eyebrow) {
  margin-bottom: 0;
  color: #64645f;
}

.comparison.home-comparison {
  width: 100%;
  max-width: 720px;
  justify-self: end;
  border-color: rgba(11, 11, 11, 0.18);
}

@media (max-width: 960px) {
  .home-comparison-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-comparison-copy {
    max-width: 620px;
  }

  .comparison.home-comparison {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 680px) {
  .home-comparison-layout {
    gap: 28px;
  }

  .home-comparison-copy h3 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }
}

.home-gallery-section {
  padding-block: 120px;
  border-top: 1px solid var(--line);
  background: var(--black);
}

.home-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 46px;
}

.home-gallery-heading h2 {
  margin-bottom: 0;
}

.home-gallery-link {
  min-height: 44px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--white);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 20px;
}

.home-gallery-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.home-gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.home-gallery-card:hover img {
  transform: scale(1.025);
}

.home-gallery-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  display: grid;
  gap: 4px;

  padding: 90px 24px 24px;

  color: #ffffff;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.88)
  );
}

.home-gallery-overlay span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-gallery-overlay strong {
  font-size: 1rem;
}

@media (max-width: 960px) {
  .home-gallery-card,
  .home-gallery-card img {
    min-height: 440px;
  }
}

@media (max-width: 680px) {
  .home-gallery-section {
    padding-block: 86px;
  }

  .home-gallery-heading {
    display: grid;
    gap: 22px;
    margin-bottom: 32px;
  }

  .home-gallery-link {
    width: max-content;
    margin-bottom: 0;
  }

  .home-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-gallery-card,
  .home-gallery-card img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .home-gallery-overlay {
    padding: 70px 18px 18px;
  }
}

.contact-section {
  padding-block: 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1fr);
  gap: 82px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.contact-list a {
  display: grid;
  gap: 3px;
  min-height: 76px;
  align-content: center;
  border-bottom: 1px solid var(--line);
}

.contact-list a:hover strong {
  color: var(--muted);
}

.contact-list span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list strong {
  font-size: 0.94rem;
  overflow-wrap: anywhere;
  transition: color 160ms ease;
}

.quote-form {
  padding: 30px;
  border-radius: var(--radius);
  color: var(--black);
  background: var(--white);
}

.quote-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
  color: #353532;
  font-size: 0.7rem;
  font-weight: 700;
}

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

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #cacac5;
  border-radius: 10px;
  color: var(--black);
  background: #ffffff;
  outline: none;
}

input,
select {
  padding: 0 14px;
}

textarea {
  min-height: 135px;
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 2px rgba(11, 11, 11, 0.08);
}

.field-error {
  border-color: #a60000 !important;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-note {
  margin: 16px 0 0;
  color: #74746f;
  font-size: 0.72rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 34px;
  padding-block: 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-brand {
  color: var(--white);
}

.gallery-hero {
  max-width: 800px;
  padding-block: 90px 64px;
}

.gallery-hero h1 {
  margin-bottom: 24px;
}

.gallery-hero > p:last-child {
  max-width: 640px;
  color: var(--muted);
}

.gallery-section {
  padding-bottom: 120px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black-soft);
}

.gallery-placeholder {
  min-height: 430px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.gallery-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.gallery-card > div:last-child {
  display: grid;
  gap: 4px;
  padding: 18px 20px 21px;
}

.gallery-cta {
  padding-block: 94px;
  color: var(--black);
  background: var(--white);
}

.gallery-cta h2 {
  max-width: 720px;
  margin-bottom: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 960px) {
  .section-shell,
  .nav-shell,
  .site-footer {
    width: min(calc(100% - 30px), var(--max-width));
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 15px;
    left: 15px;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 14px;
    background: rgba(11, 11, 11, 0.99);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 220ms ease, opacity 160ms ease, transform 160ms ease, border-color 160ms ease;
  }

  .site-nav.open {
    max-height: 380px;
    border-color: var(--line);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav .nav-button {
    border: 0;
    border-radius: 0;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
  }

  .hero-placeholder {
    min-height: 520px;
  }
.hero-media {
  min-height: 520px;
}
  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading .eyebrow {
    grid-column: auto;
    margin-bottom: -8px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .copyright {
    text-align: right;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
    --radius: 14px;
  }
.brand-logo {
  height: 55px;
}
  .section-shell,
  .nav-shell,
  .site-footer {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .brand-name {
    font-size: 1.04rem;
  }

  .hero {
    gap: 38px;
    padding-block: 50px 72px;
  }

  h1 {
    font-size: clamp(3.35rem, 15vw, 4.65rem);
  }

  h2 {
    font-size: clamp(2.55rem, 12vw, 3.65rem);
  }

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

  .button {
    width: 100%;
    min-height: 52px;
  }

  .hero-placeholder {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
.hero-media {
  min-height: 0;
  aspect-ratio: 4 / 5;
}
  .services-section,
.packages-section,
.work-section,
.contact-section {
  padding-block: 86px;
}

 
  
  
  .services-grid {
    grid-template-columns: 1fr;
  }
.packages-grid {
  grid-template-columns: 1fr;
}
  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-child(even) {
    padding: 28px 0;
    border-right: 0;
  }

  .work-heading {
    display: grid;
    gap: 22px;
  }

  .text-link {
    width: max-content;
  }

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

  .work-card-large {
    grid-row: auto;
  }

  .work-card .image-placeholder,
  .work-card-large .image-placeholder {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

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

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .quote-form {
    padding: 22px 16px;
  }

  .form-actions {
    display: grid;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 42px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .site-footer .copyright {
    text-align: left;
  }

  .gallery-hero {
    padding-block: 58px 46px;
  }

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

  .gallery-placeholder {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .gallery-section {
    padding-bottom: 86px;
  }

  .gallery-cta {
    padding-block: 76px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 3.1rem;
  }

  .brand-sub {
    letter-spacing: 0.15em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
.hidden-field {
  position: absolute;
  left: -9999px;
}
.success-page {
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-height));
  padding-block: 90px;
}

.success-card {
  max-width: 820px;
  text-align: center;
}

.success-card h1 {
  max-width: 820px;
  margin-inline: auto;
}

.success-message {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.05rem;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 680px) {
  .success-page {
    padding-block: 70px;
  }

  .success-actions {
    display: grid;
  }
}

@media (max-width: 680px) {
  .site-header .button {
    width: auto;
    min-height: 44px;
    padding-inline: 14px;
    flex: 0 0 auto;
  }
}
.footer-credit {
  grid-column: 1 / -1;
  margin: -14px 0 0;
  color: #71716d;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.footer-credit a {
  color: var(--white);
  transition: opacity 160ms ease;
}

.footer-credit a:hover {
  opacity: 0.65;
}

@media (max-width: 680px) {
  .footer-credit {
    width: 100%;
    margin-top: 4px;
    justify-self: center;
    text-align: center;
  }
}
/* =========================================
   HOME + GALLERY FINAL SPACING CLEANUP
========================================= */

.home-page h1,
.home-page h2,
.home-page h3,
.gallery-page h1,
.gallery-page h2,
.gallery-page h3 {
  text-wrap: balance;
}

.home-page p,
.gallery-page p {
  text-wrap: pretty;
}

/* HOME HERO */

.home-page .hero {
  gap: clamp(42px, 5vw, 64px);
  padding-block: 72px 96px;
}

.home-page .hero-copy .eyebrow {
  margin-bottom: 18px;
}

.home-page .hero-copy h1 {
  margin-bottom: 24px;
}

.home-page .hero-text {
  margin-bottom: 30px;
  line-height: 1.7;
}

/* SERVICES + PACKAGES HEADINGS */

.home-page .section-heading {
  margin-bottom: 54px;
}

.home-page .section-heading .eyebrow {
  margin-bottom: 14px;
}

.home-page .section-heading h2 {
  margin-bottom: 0;
}

.home-page .section-heading > p:last-child {
  margin: 0 0 4px;
  line-height: 1.7;
}

/* BEFORE AND AFTER HOMEPAGE PREVIEW */

.home-page .work-heading {
  margin-bottom: 46px;
}

.home-page .work-heading .eyebrow {
  margin-bottom: 14px;
}

.home-page .work-heading h2 {
  margin-bottom: 0;
}

.home-page .home-comparison-layout {
  align-items: start;
  gap: clamp(36px, 5vw, 62px);
}

.home-page .home-comparison-copy {
  padding-top: 6px;
}

.home-page .home-comparison-copy .eyebrow {
  margin-bottom: 12px;
}

.home-page .home-comparison-copy h3 {
  margin-bottom: 16px;
  line-height: 1.02;
}

.home-page .home-comparison-copy > p:not(.eyebrow) {
  max-width: 40ch;
  margin: 0;
  line-height: 1.7;
}

.home-page .comparison.home-comparison {
  width: 100%;
  max-width: 720px;
  margin: 0;
  justify-self: end;
}

/* HOMEPAGE GALLERY PREVIEW */

.home-page .home-gallery-heading {
  margin-bottom: 46px;
}

.home-page .home-gallery-heading .eyebrow {
  margin-bottom: 14px;
}

.home-page .home-gallery-heading h2 {
  margin-bottom: 0;
}

.home-page .home-gallery-grid {
  gap: 24px;
}

.home-page .home-gallery-card {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.home-page .home-gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

/* HOME CONTACT */

.home-page .contact-grid {
  align-items: start;
}

.home-page .contact-copy .eyebrow {
  margin-bottom: 14px;
}

.home-page .contact-copy h2 {
  margin-bottom: 22px;
}

.home-page .contact-copy > p:not(.eyebrow) {
  margin-bottom: 0;
  line-height: 1.7;
}

/* FULL GALLERY PAGE */

.gallery-page .gallery-hero {
  max-width: 900px;
  padding-block: 88px 52px;
}

.gallery-page .gallery-hero .eyebrow {
  margin-bottom: 14px;
}

.gallery-page .gallery-hero h1 {
  margin-bottom: 22px;
  line-height: 0.94;
}

.gallery-page .gallery-hero > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  line-height: 1.7;
}

.gallery-page .gallery-section {
  padding-bottom: 112px;
}

.gallery-page .gallery-grid {
  gap: 24px;
}

.gallery-page .gallery-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.gallery-page .gallery-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.gallery-page .gallery-card > div:last-child {
  display: grid;
  gap: 5px;
  padding: 20px 22px 24px;
}

.gallery-page .gallery-card > div:last-child span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-page .gallery-card > div:last-child strong {
  font-size: 1.05rem;
  line-height: 1.35;
}

/* TABLET */

@media (max-width: 960px) {
  .home-page .hero {
    gap: 42px;
    padding-block: 64px 84px;
  }

  .home-page .section-heading {
    margin-bottom: 42px;
  }

  .home-page .work-heading,
  .home-page .home-gallery-heading {
    margin-bottom: 34px;
  }

  .home-page .home-comparison-layout {
    gap: 30px;
  }

  .gallery-page .gallery-hero {
    padding-block: 70px 42px;
  }
}

/* MOBILE */

@media (max-width: 680px) {
  .home-page h1 {
    font-size: clamp(3.1rem, 14.5vw, 4.25rem);
    line-height: 0.94;
  }

  .home-page h2,
  .gallery-page h2 {
    font-size: clamp(2.4rem, 11.5vw, 3.35rem);
    line-height: 0.97;
  }

  /* Mobile hero */

  .home-page .hero {
    gap: 30px;
    padding-block: 44px 66px;
  }

  .home-page .hero-copy .eyebrow {
    margin-bottom: 12px;
  }

  .home-page .hero-copy h1 {
    margin-bottom: 18px;
  }

  .home-page .hero-text {
    margin-bottom: 24px;
    line-height: 1.65;
  }

  /* Mobile section spacing */

  .home-page .services-section,
  .home-page .packages-section,
  .home-page .work-section,
  .home-page .home-gallery-section,
  .home-page .contact-section {
    padding-block: 72px;
  }

  /* Mobile standard headings */

  .home-page .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .home-page .section-heading .eyebrow {
    margin-bottom: 12px;
  }

  .home-page .section-heading h2 {
    margin-bottom: 16px;
  }

  .home-page .section-heading > p:last-child {
    margin-bottom: 0;
    line-height: 1.65;
  }

  /* Mobile Before and After heading */

  .home-page .work-heading {
    display: block;
    margin-bottom: 30px;
  }

  .home-page .work-heading .eyebrow {
    margin-bottom: 12px;
  }

  .home-page .work-heading h2 {
    margin-bottom: 18px;
  }

  .home-page .text-link {
    display: inline-flex;
    width: max-content;
    min-height: 0;
    margin: 0;
    padding-bottom: 7px;
  }

  .home-page .home-comparison-layout {
    gap: 24px;
  }

  .home-page .home-comparison-copy {
    padding-top: 0;
  }

  .home-page .home-comparison-copy .eyebrow {
    margin-bottom: 12px;
  }

  .home-page .home-comparison-copy h3 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 10vw, 2.9rem);
  }

  .home-page .home-comparison-copy > p:not(.eyebrow) {
    line-height: 1.65;
  }

  .home-page .comparison.home-comparison {
    max-width: none;
    aspect-ratio: 1 / 1;
    justify-self: stretch;
  }

  /* Mobile Gallery preview */

  .home-page .home-gallery-heading {
    display: block;
    margin-bottom: 30px;
  }

  .home-page .home-gallery-heading .eyebrow {
    margin-bottom: 12px;
  }

  .home-page .home-gallery-heading h2 {
    margin-bottom: 18px;
  }

  .home-page .home-gallery-link {
    display: inline-flex;
    width: max-content;
    min-height: 0;
    margin: 0;
    padding-bottom: 7px;
  }

  .home-page .home-gallery-grid {
    gap: 14px;
  }

  .home-page .home-gallery-card {
    aspect-ratio: 4 / 3;
  }

  .home-page .home-gallery-overlay {
    padding: 64px 18px 18px;
  }

  /* Mobile contact */

  .home-page .contact-grid {
    gap: 40px;
  }

  /* Mobile full gallery */

  .gallery-page .gallery-hero {
    padding-block: 52px 34px;
  }

  .gallery-page .gallery-hero .eyebrow {
    margin-bottom: 12px;
  }

  .gallery-page .gallery-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(3.4rem, 15vw, 4.5rem);
  }

  .gallery-page .gallery-hero > p:last-child {
    line-height: 1.65;
  }

  .gallery-page .gallery-section {
    padding-bottom: 72px;
  }

  .gallery-page .gallery-grid {
    gap: 16px;
  }

  .gallery-page .gallery-card > div:last-child {
    padding: 17px 18px 20px;
  }

  .gallery-page .gallery-cta {
    padding-block: 66px;
  }

  .gallery-page .gallery-cta h2 {
    margin-bottom: 24px;
  }
}

/* =========================================
   INDEX FINAL SPACING + MOBILE CLEANUP
========================================= */

/* Prevent sticky header from covering anchor sections */

.home-page #services,
.home-page #packages,
.home-page #work,
.home-page #gallery-preview,
.home-page #contact {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

/* Remove excessive empty space after Services */

.home-page .services-section {
  padding-top: 92px;
  padding-bottom: 58px;
}

.home-page .packages-section {
  padding-top: 82px;
  padding-bottom: 96px;
}

/* Cleaner desktop section headings */

.home-page .section-heading {
  grid-template-columns:
    minmax(0, 1fr)
    minmax(320px, 430px);
  column-gap: 72px;
  margin-bottom: 42px;
}

.home-page .section-heading h2 {
  max-width: 10ch;
  margin-bottom: 0;
}

.home-page .section-heading > p:last-child {
  max-width: 42ch;
  margin: 0;
  line-height: 1.7;
}

/* Tighten Services cards */

.home-page .service-card {
  padding-top: 30px;
  padding-bottom: 30px;
}

.home-page .services-grid {
  margin-bottom: 0;
}

/* Cleaner homepage Before & After section */

.home-page .work-section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.home-page .work-heading {
  margin-bottom: 38px;
}

.home-page .work-heading h2 {
  max-width: 12ch;
}

.home-page .home-comparison-layout {
  gap: 48px;
}

.home-page .home-comparison-copy {
  padding-top: 4px;
}

.home-page .home-comparison-copy .eyebrow {
  margin-bottom: 10px;
}

.home-page .home-comparison-copy h3 {
  max-width: 13ch;
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1;
}

.home-page .home-comparison-copy > p:not(.eyebrow) {
  max-width: 38ch;
  line-height: 1.65;
}

/* Tablet */

@media (max-width: 960px) {
  .home-page .services-section {
    padding-top: 76px;
    padding-bottom: 52px;
  }

  .home-page .packages-section {
    padding-top: 72px;
    padding-bottom: 82px;
  }

  .home-page .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }

  .home-page .section-heading h2 {
    max-width: 12ch;
  }

  .home-page .home-comparison-layout {
    gap: 28px;
  }
}

/* Mobile */

@media (max-width: 680px) {
  /* Reduce giant empty gaps between homepage sections */

  .home-page .services-section {
    padding-top: 58px;
    padding-bottom: 42px;
  }

  .home-page .packages-section,
  .home-page .work-section,
  .home-page .home-gallery-section,
  .home-page .contact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  /* Standard mobile section headings */

  .home-page .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .home-page .section-heading .eyebrow {
    margin-bottom: 10px;
  }

  .home-page .section-heading h2 {
    max-width: 100%;
    margin-bottom: 15px;
    font-size: clamp(2.35rem, 11vw, 3.05rem);
    line-height: 0.96;
    text-wrap: normal;
  }

  .home-page .section-heading > p:last-child {
    max-width: 100%;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  /* Services mobile spacing */

  .home-page .service-card,
  .home-page .service-card:nth-child(odd),
  .home-page .service-card:nth-child(even) {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .home-page .service-card h3 {
    margin-bottom: 8px;
  }

  .home-page .service-card p {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  /* Before & After mobile heading */

  .home-page .work-heading {
    display: block;
    margin-bottom: 26px;
  }

  .home-page .work-heading .eyebrow {
    margin-bottom: 10px;
  }

  .home-page .work-heading h2 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(2.4rem, 11.5vw, 3.2rem);
    line-height: 0.94;
    text-wrap: normal;
  }

  .home-page .text-link {
    display: inline-flex;
    width: max-content;
    min-height: 0;
    margin: 0;
    padding-bottom: 6px;
  }

  /* Before & After project text */

  .home-page .home-comparison-layout {
    gap: 20px;
  }

  .home-page .home-comparison-copy {
    padding-top: 0;
  }

  .home-page .home-comparison-copy .eyebrow {
    margin-bottom: 8px;
  }

  .home-page .home-comparison-copy h3 {
    max-width: 18ch;
    margin-bottom: 11px;
    font-size: clamp(1.55rem, 7.4vw, 2.1rem);
    line-height: 1.04;
    text-wrap: balance;
  }

  .home-page .home-comparison-copy > p:not(.eyebrow) {
    max-width: 100%;
    font-size: 0.93rem;
    line-height: 1.58;
  }

  .home-page .comparison.home-comparison {
    width: 100%;
    max-width: none;
    aspect-ratio: 1 / 1;
  }

  /* Gallery preview mobile heading */

  .home-page .home-gallery-heading {
    display: block;
    margin-bottom: 26px;
  }

  .home-page .home-gallery-heading .eyebrow {
    margin-bottom: 10px;
  }

  .home-page .home-gallery-heading h2 {
    margin-bottom: 16px;
    font-size: clamp(2.4rem, 11.5vw, 3.2rem);
    line-height: 0.94;
  }

  .home-page .home-gallery-link {
    display: inline-flex;
    width: max-content;
    min-height: 0;
    margin: 0;
    padding-bottom: 6px;
  }
}

/* =========================================
   GALLERY CARDS + FULLSCREEN VIEWER
========================================= */

.gallery-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 26px;
}

.gallery-page .gallery-card {
  appearance: none;
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;

  color: inherit;
  text-align: left;
  font: inherit;

  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  cursor: pointer;

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.gallery-page .gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.gallery-page .gallery-card:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.gallery-page .gallery-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #171717;
}

.gallery-page .gallery-card-copy {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 92px;
  padding: 18px 20px 21px;
}

.gallery-page .gallery-card-copy > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gallery-page .gallery-card-copy strong {
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.3;
}

/* Popup */

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;

  display: grid;
  place-items: center;

  padding: 24px;
  overflow-y: auto;

  opacity: 0;
  transition: opacity 200ms ease;
}

.gallery-modal.is-open {
  opacity: 1;
}

.gallery-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.gallery-modal-content {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;

  width: min(100%, 980px);
  margin: auto;
  overflow: hidden;

  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.75);
}

.gallery-modal-image {
  grid-column: 2;
  display: block;

  width: 100%;
  height: min(68vh, 700px);
  min-height: 420px;

  object-fit: contain;
  background: #070707;
  cursor: default;
}



.gallery-modal-copy {
  grid-column: 1 / -1;
  padding: 19px 24px 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-modal-copy h2 {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1;
}

.gallery-modal-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.6;
}

.gallery-modal-close,
.gallery-modal-arrow {
  appearance: none;
  display: grid;
  place-items: center;

  color: #ffffff;
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;

  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.gallery-modal-close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;

  width: 42px;
  height: 42px;

  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
}

.gallery-modal-arrow {
  z-index: 2;

  width: 42px;
  height: 62px;
  margin-inline: 7px;

  border-radius: 999px;
  font-size: 1.8rem;
}

.gallery-modal-prev {
  grid-column: 1;
}

.gallery-modal-next {
  grid-column: 3;
}

.gallery-modal-close:hover,
.gallery-modal-arrow:hover {
  color: #000000;
  background: #ffffff;
  border-color: #ffffff;
}

.gallery-modal-close:focus-visible,
.gallery-modal-arrow:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.gallery-modal-open {
  overflow: hidden;
}

/* Tablet */

@media (max-width: 900px) {
  .gallery-page .gallery-grid {
    gap: 20px;
  }

  .gallery-modal-content {
    grid-template-columns: 50px minmax(0, 1fr) 50px;
  }

  .gallery-modal-image {
    height: 64vh;
    min-height: 360px;
  }
}

/* Mobile */

@media (max-width: 680px) {
  .gallery-page .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-page .gallery-card {
    border-radius: 15px;
  }

  .gallery-page .gallery-image {
    aspect-ratio: 4 / 3;
  }

  .gallery-page .gallery-card-copy {
    min-height: 0;
    padding: 16px 17px 19px;
  }

  .gallery-modal {
    display: block;
    padding: 10px;
  }

  .gallery-modal-content {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;

    width: 100%;
    min-height: calc(100svh - 20px);
    margin: 0;

    border-radius: 16px;
  }

  .gallery-modal-image {
    grid-column: 1 / -1;
    grid-row: 1;

    width: 100%;
    height: 65svh;
    min-height: 0;

    object-fit: contain;
  }

  
  .gallery-modal-arrow {
    width: auto;
    height: 48px;
    margin: 10px 6px 4px;

    border-radius: 12px;
  }

  .gallery-modal-prev {
    grid-column: 1;
    grid-row: 2;
  }

  .gallery-modal-next {
    grid-column: 2;
    grid-row: 2;
  }

  .gallery-modal-copy {
    grid-column: 1 / -1;
    grid-row: 3;

    padding: 15px 18px 21px;
  }

  .gallery-modal-copy h2 {
    padding-right: 36px;
    font-size: 1.75rem;
  }

  .gallery-modal-copy p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .gallery-modal-close {
    position: fixed;
    top: 18px;
    right: 18px;
  }
}
.gallery-modal-counter {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 24px 0;

  color: rgba(255, 255, 255, 0.54);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .gallery-modal-counter {
    grid-column: 1 / -1;
    grid-row: 3;
    padding: 12px 18px 0;
  }

  .gallery-modal-copy {
    grid-row: 4;
  }
}
/* =========================================
   POLICIES PAGE
========================================= */

.policies-page h1,
.policies-page h2 {
  text-wrap: balance;
}

.policies-page p,
.policies-page li {
  text-wrap: pretty;
}

.policies-hero {
  max-width: 900px;
  padding-block: 88px 54px;
}

.policies-hero .eyebrow {
  margin-bottom: 14px;
}

.policies-hero h1 {
  margin-bottom: 22px;
  line-height: 0.94;
}

.policies-hero > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.policies-section {
  padding-bottom: 120px;
}

.policies-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: 54px;
}

.policies-navigation {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black-soft);
}

.policies-navigation-title {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.policies-navigation nav {
  display: grid;
}

.policies-navigation a {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color 160ms ease;
}

.policies-navigation a:last-child {
  border-bottom: 0;
}

.policies-navigation a:hover {
  color: var(--white);
}

.policies-list {
  display: grid;
  gap: 18px;
}

.policy-card {
  scroll-margin-top: calc(var(--header-height) + 28px);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black-soft);
}

.policy-number {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.policy-card h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  line-height: 0.98;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.7;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 20px;
}

@media (max-width: 960px) {
  .policies-hero {
    padding-block: 70px 44px;
  }

  .policies-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .policies-navigation {
    position: static;
  }

  .policies-navigation nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
  }
}

@media (max-width: 680px) {
  .policies-hero {
    padding-block: 52px 34px;
  }

  .policies-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(3.35rem, 15vw, 4.4rem);
  }

  .policies-hero > p:last-child {
    font-size: 0.95rem;
    line-height: 1.64;
  }

  .policies-section {
    padding-bottom: 72px;
  }

  .policies-navigation {
    padding: 18px;
    border-radius: 14px;
  }

  .policies-navigation nav {
    grid-template-columns: 1fr;
  }

  .policies-navigation a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .policies-list {
    gap: 14px;
  }

  .policy-card {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .policy-card h2 {
    margin-bottom: 15px;
    font-size: clamp(1.9rem, 10vw, 2.65rem);
  }

  .policy-card p,
  .policy-card li {
    font-size: 0.93rem;
    line-height: 1.62;
  }
}

/* Align Gallery and Policies heroes with the main site container */

.gallery-page .gallery-hero,
.policies-page .policies-hero {
  max-width: none;
}
/* =========================================
   PREMIUM DESKTOP GALLERY VIEWER
   Mobile remains unchanged
========================================= */

@media (min-width: 901px) {
  .gallery-page .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .gallery-page .gallery-card {
    border-radius: 20px;
  }

  .gallery-page .gallery-card-copy {
    min-height: 96px;
    padding: 20px 22px 23px;
  }

  .gallery-modal {
    padding: 32px;
  }

  .gallery-modal-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-rows: auto 1fr;

    width: min(94vw, 1320px);
    height: min(88vh, 820px);
    max-height: none;

    overflow: hidden;
    background: #090909;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    box-shadow: 0 36px 120px rgba(0, 0, 0, 0.82);
  }

  .gallery-modal-image {
    grid-column: 1;
    grid-row: 1 / 3;

    width: 100%;
    height: 100%;
    min-height: 0;

    object-fit: contain;
    background: #050505;
  }

  .gallery-modal-counter {
    grid-column: 2;
    grid-row: 1;

    align-self: end;
    margin: 0;
    padding: 30px 28px 8px;

    color: rgba(255, 255, 255, 0.48);
    border-left: 1px solid rgba(255, 255, 255, 0.1);

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-align: left;
  }

  .gallery-modal-copy {
    grid-column: 2;
    grid-row: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 14px 28px 32px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .gallery-modal-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 0.96;
  }

  .gallery-modal-copy p {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .gallery-modal-close {
    top: 18px;
    right: 18px;

    width: 44px;
    height: 44px;

    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .gallery-modal-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;

    width: 48px;
    height: 48px;
    margin: 0;

    border-radius: 50%;
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transform: translateY(-50%);
  }

  .gallery-modal-prev {
    left: 18px;
  }

  .gallery-modal-next {
    right: 338px;
  }
}
/* =========================================
   PREMIUM MOBILE GALLERY VIEWER
========================================= */

@media (max-width: 680px) {
  .gallery-modal {
    display: block;
    padding: 0;
    overflow: hidden;
    background: #050505;
  }

  /*
   * Removing live blur improves mobile rendering performance.
   */
  .gallery-modal-backdrop {
    background: #050505;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .gallery-modal-content {
    position: relative;
    display: block;

    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    margin: 0;

    overflow: hidden;

    background: #050505;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    opacity: 0;
    transform: translateY(10px) translateZ(0);

    transition:
      opacity 180ms ease,
      transform 180ms cubic-bezier(0.22, 1, 0.36, 1);

    contain: layout paint;
  }

  .gallery-modal.is-open .gallery-modal-content {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }

  .gallery-modal-image {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding:
      calc(62px + env(safe-area-inset-top))
      0
      calc(150px + env(safe-area-inset-bottom));

    object-fit: contain;
    background: #050505;

    opacity: 1;
    transform: scale(1) translateZ(0);

    transition:
      opacity 140ms ease,
      transform 160ms cubic-bezier(0.22, 1, 0.36, 1);

    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;

    will-change: opacity, transform;
  }

  .gallery-modal-image.is-switching {
    opacity: 0.22;
    transform: scale(0.985) translateZ(0);
  }

  .gallery-modal-counter {
    position: absolute;
    top: calc(16px + env(safe-area-inset-top));
    left: 16px;
    z-index: 5;

    width: auto;
    margin: 0;
    padding: 8px 11px;

    color: rgba(255, 255, 255, 0.76);
    background: rgba(12, 12, 12, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;

    font-size: 0.66rem;
    letter-spacing: 0.11em;
    text-align: left;
  }

  .gallery-modal-close {
    position: absolute;
    top: calc(10px + env(safe-area-inset-top));
    right: 12px;
    z-index: 6;

    width: 44px;
    height: 44px;

    background: rgba(12, 12, 12, 0.88);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .gallery-modal-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 44px;
    height: 56px;
    margin: 0;

    color: #ffffff;
    background: rgba(12, 12, 12, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 999px;

    transform: translateY(-50%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .gallery-modal-prev {
    left: 10px;
  }

  .gallery-modal-next {
    right: 10px;
  }

  .gallery-modal-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;

    display: block;
    padding:
      82px
      20px
      calc(20px + env(safe-area-inset-bottom));

    background: linear-gradient(
      to bottom,
      transparent,
      rgba(5, 5, 5, 0.82) 36%,
      #050505 76%
    );

    border: 0;
    pointer-events: none;
  }

  .gallery-modal-copy h2 {
    max-width: 88%;
    margin-bottom: 8px;
    padding: 0;

    font-size: clamp(1.65rem, 8vw, 2.2rem);
    line-height: 0.98;
  }

  .gallery-modal-copy p {
    max-width: 38ch;
    margin: 0;

    color: rgba(255, 255, 255, 0.67);
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .gallery-modal-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  /*
   * Avoid sticky hover effects on touchscreen devices.
   */
  .gallery-page .gallery-card:hover {
    transform: none;
    box-shadow: none;
  }
}