@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --black: #070707;
  --ink: #0a0a0a;
  --panel: #101010;
  --panel-strong: #151515;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(220, 38, 38, 0.45);
  --white: #ffffff;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --muted-dark: #737373;
  --red: #dc2626;
  --red-dark: #991b1b;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 6%, rgba(127, 29, 29, 0.1), transparent 30rem),
    var(--black);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-synthesis: none;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #f87171;
  outline-offset: 4px;
}

::selection {
  background: rgba(220, 38, 38, 0.42);
  color: var(--white);
}

.content {
  width: min(var(--content), calc(100% - 3rem));
  margin: 0 auto;
}

.demo-banner {
  position: relative;
  z-index: 70;
  min-height: 34px;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #111111;
  color: #bdbdbd;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.68rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brand img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.brand-detail {
  color: #6f6f6f;
  font-weight: 400;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.desktop-nav a,
.footer-nav a {
  position: relative;
  color: #b4b4b4;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 1px;
  background: var(--red);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current='page'],
.footer-nav a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current='page']::after {
  transform: scaleX(1);
}

.button,
.header-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.header-cta {
  padding: 0 1.35rem;
  border-color: var(--line);
  background: #191919;
  color: var(--white);
}

.button {
  padding: 1rem 1.55rem;
}

.button-primary {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.button-text {
  min-height: 0;
  padding: 0;
  color: #cccccc;
}

.header-cta:hover,
.button-primary:hover {
  border-color: #ef4444;
  background: #b91c1c;
  box-shadow: 0 14px 34px rgba(220, 38, 38, 0.18);
  transform: translateY(-2px);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.button-text:hover {
  color: var(--white);
  transform: translateX(3px);
}

.arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.button:hover .arrow,
.service-link:hover .arrow {
  transform: translateX(3px);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #111111;
  color: var(--white);
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  width: 18px;
  height: 1px;
  background: currentColor;
  content: '';
  transition: transform 180ms ease;
}

.menu-button[aria-expanded='true'] span {
  opacity: 0;
}

.menu-button[aria-expanded='true']::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded='true']::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: max(720px, calc(100dvh - 110px));
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.page-hero-media,
.cta-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  object-position: 68% center;
  filter: grayscale(1) contrast(1.08);
  opacity: 0.76;
  transform: scale(1.015);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.88) 42%, rgba(7, 7, 7, 0.34) 74%, rgba(7, 7, 7, 0.72) 100%),
    linear-gradient(0deg, var(--black) 0%, transparent 42%, rgba(7, 7, 7, 0.35) 100%);
}

.hero::after {
  position: absolute;
  right: -12%;
  bottom: -22%;
  width: 54%;
  height: 52%;
  border-radius: 50%;
  background: rgba(127, 29, 29, 0.16);
  content: '';
  filter: blur(120px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 8rem 0 7rem;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.5rem;
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker::before {
  width: 40px;
  height: 1px;
  background: var(--red);
  content: '';
}

.hero h1,
.page-hero h1,
.section-title,
.service-detail h1 {
  margin: 0;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(4.2rem, 8.4vw, 7.6rem);
  line-height: 0.88;
}

.gradient-line {
  background: linear-gradient(90deg, #ffffff 0%, #737373 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy,
.section-copy,
.page-lead,
.detail-copy {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
}

.hero-copy {
  max-width: 600px;
  margin: 2rem 0 2.2rem;
  font-size: 1.08rem;
}

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

.section {
  position: relative;
  padding: 7.5rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.section-panel {
  background:
    radial-gradient(circle at 62% 18%, rgba(127, 29, 29, 0.1), transparent 28rem),
    var(--black);
}

.section-heading {
  display: grid;
  align-items: end;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2.55rem, 5.4vw, 5.2rem);
  line-height: 0.96;
}

.section-copy {
  max-width: 430px;
  margin: 0;
  font-size: 1rem;
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    transform 260ms ease;
}

.service-card.wide {
  grid-column: span 2;
}

.service-card::before {
  position: absolute;
  inset: auto -25% -65% 15%;
  height: 75%;
  border-radius: 50%;
  background: rgba(127, 29, 29, 0.2);
  content: '';
  filter: blur(70px);
  opacity: 0;
  transition: opacity 300ms ease;
}

.service-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.032);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-index {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: #bcbcbc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 2.2rem 0 0.8rem;
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.service-card p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.72;
}

.service-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  color: #bdbdbd;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card:hover .service-link {
  color: var(--white);
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.split-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.76;
  transition:
    filter 800ms ease,
    opacity 800ms ease,
    transform 900ms ease;
}

.split-media:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.015);
}

.split-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 180px;
  padding: 1.35rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(16px);
}

.split-badge strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--white);
  font-size: 1.1rem;
}

.split-badge span {
  color: var(--muted-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split-copy h2 {
  margin: 0 0 1.8rem;
}

.split-copy .detail-copy {
  margin: 0 0 1.2rem;
  font-size: 1.02rem;
}

.mini-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.mini-grid h3 {
  margin: 0 0 0.5rem;
  color: var(--white);
  font-size: 1rem;
}

.mini-grid p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.82rem;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-auto-rows: 270px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.78;
  transition:
    filter 800ms ease,
    opacity 600ms ease,
    transform 900ms ease;
}

.gallery-item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.055);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 3rem 1.25rem 1.2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

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

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

.process-grid::before {
  position: absolute;
  top: 39px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: var(--line);
  content: '';
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.process-number {
  display: inline-flex;
  width: 78px;
  height: 78px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--black);
  color: var(--muted-dark);
  font-size: 1.1rem;
  font-weight: 800;
  transition:
    border-color 220ms ease,
    color 220ms ease;
}

.process-step:hover .process-number {
  border-color: var(--line-strong);
  color: #ef4444;
}

.process-step h3 {
  margin: 1.7rem 0 0.8rem;
  color: var(--white);
  font-size: 1.12rem;
}

.process-step p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

.cta-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.cta-section-inner {
  position: relative;
  min-height: 520px;
  padding: 7rem 0;
}

.cta-media {
  filter: grayscale(1);
  opacity: 0.22;
}

.cta-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--black) 0%, rgba(7, 7, 7, 0.9) 54%, rgba(7, 7, 7, 0.36) 100%);
}

.cta-copy {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.cta-copy .section-title {
  margin-bottom: 1.5rem;
}

.cta-copy .section-copy {
  margin-bottom: 2rem;
}

.page-hero {
  position: relative;
  display: flex;
  min-height: 540px;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero-media {
  filter: grayscale(1) contrast(1.08);
  opacity: 0.45;
}

.page-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.98), rgba(7, 7, 7, 0.58)),
    linear-gradient(0deg, var(--black), transparent 62%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 9rem 0 5rem;
}

.page-hero h1,
.service-detail h1 {
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  line-height: 0.92;
}

.page-lead {
  max-width: 650px;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
}

.service-detail {
  padding: 7rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-layout {
  display: grid;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
}

.detail-media {
  position: sticky;
  top: 120px;
  min-height: 600px;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  filter: grayscale(0.75);
}

.detail-copy-block {
  padding: 2rem 0;
}

.detail-copy-block h2 {
  margin: 0 0 1.25rem;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.detail-list div {
  display: grid;
  gap: 1rem;
  grid-template-columns: 9rem 1fr;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

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

.quote-card {
  min-height: 180px;
  padding: 1.7rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.quote-card strong {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: 0.9rem;
}

.quote-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.notice {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.025);
  color: #bdbdbd;
  font-size: 0.82rem;
  line-height: 1.6;
}

.site-footer {
  padding: 4rem 0 2rem;
  background: #050505;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.5fr 0.7fr 0.8fr;
}

.footer-description {
  max-width: 440px;
  margin: 1.4rem 0 0;
  color: var(--muted-dark);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-heading {
  margin: 0 0 1.2rem;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-meta {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
  color: #5f5f5f;
  font-size: 0.7rem;
}

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

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

@media (max-width: 980px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: flex;
    min-height: 100dvh;
    flex-direction: column;
    gap: 0;
    padding: 8rem 1.5rem 2rem;
    overflow-y: auto;
    background: #070707;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .mobile-nav a {
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
  }

  .mobile-nav .button {
    margin-top: 1.4rem;
    border-bottom: 0;
  }

  .section-heading,
  .split,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card.wide {
    grid-column: span 2;
  }

  .split-media,
  .split-media img,
  .detail-media,
  .detail-media img {
    min-height: 520px;
  }

  .detail-media {
    position: relative;
    top: auto;
  }

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

@media (max-width: 680px) {
  .content {
    width: min(100% - 2rem, var(--content));
  }

  .demo-banner {
    font-size: 0.59rem;
    letter-spacing: 0.06em;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    font-size: 0.84rem;
  }

  .brand img {
    width: 18px;
    height: 18px;
  }

  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero-media {
    object-position: 70% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 7, 7, 0.99) 6%, rgba(7, 7, 7, 0.86) 58%, rgba(7, 7, 7, 0.42) 100%),
      linear-gradient(90deg, rgba(7, 7, 7, 0.72), transparent);
  }

  .hero-content {
    padding: 7rem 0 4.5rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 13.2vw, 4.4rem);
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section,
  .service-detail {
    padding: 5.5rem 0;
  }

  .section-heading {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .service-grid,
  .process-grid,
  .quote-demo {
    grid-template-columns: 1fr;
  }

  .service-card.wide {
    grid-column: auto;
  }

  .service-card {
    min-height: 290px;
  }

  .split-media,
  .split-media img,
  .detail-media,
  .detail-media img {
    min-height: 430px;
  }

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

  .gallery-grid {
    grid-auto-rows: 210px;
  }

  .gallery-item.featured,
  .gallery-item.wide {
    grid-column: span 2;
  }

  .process-grid::before {
    display: none;
  }

  .page-hero {
    min-height: 500px;
  }

  .page-hero-content {
    padding: 7rem 0 3.5rem;
  }

  .page-hero h1,
  .service-detail h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

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

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (hover: none) {
  .gallery-caption {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
