:root {
  color-scheme: dark;
  --ink: #120f17;
  --ink-2: #1d1722;
  --ink-3: #2a202d;
  --cream: #fff7e7;
  --muted: #cfc4b7;
  --soft: #a99c91;
  --gold: #d8b36a;
  --gold-2: #f1d996;
  --rose: #b86f71;
  --green: #87a987;
  --line: rgba(255, 247, 231, 0.16);
  --glass: rgba(255, 247, 231, 0.075);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(circle at top left, rgba(184, 111, 113, 0.22), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(135, 169, 135, 0.15), transparent 30rem),
    linear-gradient(145deg, var(--ink), #08070a 62%, #141017);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 247, 231, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 247, 231, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

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

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

.site-shell {
  position: relative;
  overflow: hidden;
}

.home-page .site-header,
.home-page main,
.home-page .site-footer {
  position: relative;
  z-index: 1;
}

.page-stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-stars span {
  position: absolute;
  inset: -10%;
  opacity: 0.78;
  background:
    radial-gradient(circle, rgba(255, 247, 231, 0.95) 0 1.4px, rgba(255, 247, 231, 0.34) 1.8px, transparent 4px) 6% 12% / 280px 240px,
    radial-gradient(circle, rgba(241, 217, 150, 0.95) 0 1.2px, rgba(241, 217, 150, 0.32) 1.7px, transparent 3.8px) 32% 78% / 330px 260px,
    radial-gradient(circle, rgba(255, 247, 231, 0.88) 0 1.6px, rgba(255, 247, 231, 0.28) 2px, transparent 4.5px) 76% 42% / 380px 310px,
    radial-gradient(circle, rgba(241, 217, 150, 0.85) 0 1.1px, rgba(241, 217, 150, 0.28) 1.7px, transparent 3.6px) 92% 18% / 240px 220px;
  filter: drop-shadow(0 0 5px rgba(255, 247, 231, 0.5));
  animation: star-twinkle 3.6s ease-in-out infinite alternate;
}

.page-stars span:nth-child(2) {
  opacity: 0.55;
  transform: translate3d(70px, 40px, 0) scale(1.18);
  filter: drop-shadow(0 0 7px rgba(241, 217, 150, 0.54));
  animation-duration: 5.4s;
  animation-delay: -1.6s;
}

.page-stars span:nth-child(3) {
  opacity: 0.42;
  transform: translate3d(-90px, 120px, 0) scale(0.9);
  filter: drop-shadow(0 0 4px rgba(255, 247, 231, 0.42));
  animation-duration: 6.8s;
  animation-delay: -3.2s;
}

@keyframes star-twinkle {
  from {
    opacity: 0.28;
    filter: drop-shadow(0 0 2px rgba(255, 247, 231, 0.22)) brightness(0.8);
  }

  50% {
    opacity: 0.86;
    filter: drop-shadow(0 0 7px rgba(241, 217, 150, 0.48)) brightness(1.28);
  }

  to {
    opacity: 0.48;
    filter: drop-shadow(0 0 4px rgba(255, 247, 231, 0.36)) brightness(1);
  }
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-180%);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: var(--cream);
  color: var(--ink);
  font-weight: 800;
}

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

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

.nav-wrap {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(216, 179, 106, 0.45);
  border-radius: 50%;
  color: var(--gold-2);
  background:
    linear-gradient(145deg, rgba(216, 179, 106, 0.22), rgba(184, 111, 113, 0.12)),
    rgba(255, 247, 231, 0.06);
  box-shadow: 0 0 32px rgba(216, 179, 106, 0.12);
  font-family: Georgia, serif;
  font-weight: 700;
}

.brand-name {
  display: block;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand-sub {
  display: block;
  color: var(--soft);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  border-radius: 999px;
  padding: 0.7rem 0.88rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--cream);
  background: rgba(255, 247, 231, 0.08);
  outline: none;
}

.nav-cta {
  border: 1px solid rgba(216, 179, 106, 0.48);
  color: var(--gold-2) !important;
}

.mobile-menu-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(255, 247, 231, 0.08);
  cursor: pointer;
}

.mobile-menu-button span,
.mobile-menu-button span::before,
.mobile-menu-button span::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-button span {
  position: relative;
}

.mobile-menu-button span::before,
.mobile-menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-menu-button span::before {
  top: -6px;
}

.mobile-menu-button span::after {
  top: 6px;
}

.mobile-menu-button[aria-expanded="true"] span {
  background: transparent;
}

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

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

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 1rem;
}

.mobile-nav.is-open {
  display: grid;
  gap: 0.45rem;
}

.mobile-nav a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  background: rgba(255, 247, 231, 0.06);
  color: var(--cream);
  font-weight: 800;
}

.section,
.hero-inner,
.page-hero-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(500px, 62svh, 640px);
  display: grid;
  align-items: start;
  isolation: isolate;
  padding: 2rem 0 2.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(10, 8, 12, 0.3), rgba(10, 8, 12, 0.58) 38%, rgba(10, 8, 12, 0.96) 62%, #08070a 82%, #08070a),
    linear-gradient(to right, rgba(10, 8, 12, 0.85), rgba(10, 8, 12, 0.3) 58%, rgba(10, 8, 12, 0.62));
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

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

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.75rem, 7vw, 5.6rem);
}

.hero-lede {
  max-width: 650px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.24rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.08rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #23180c;
  box-shadow: 0 16px 50px rgba(216, 179, 106, 0.24);
}

.button-secondary {
  border-color: rgba(255, 247, 231, 0.3);
  background: rgba(255, 247, 231, 0.08);
  color: var(--cream);
}

.hero-panel {
  align-self: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(18, 15, 23, 0.66);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.hero-panel-summary {
  margin-top: 0.85rem;
  border-top: 1px solid rgba(255, 247, 231, 0.14);
  padding-top: 0.8rem;
}

.hero-panel-summary span {
  display: block;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-panel-summary strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255, 247, 231, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.62rem;
  background: rgba(255, 247, 231, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.section {
  padding: clamp(1.5rem, 3.5vw, 2.75rem) 0;
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.section-heading.center {
  text-align: center;
  justify-items: center;
}

.section-heading h2 {
  max-width: 780px;
  font-size: clamp(2rem, 5.2vw, 3.8rem);
}

.section-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.feature-card,
.project-card,
.price-card,
.contact-card,
.process-card,
.notice-card {
  position: relative;
  transform: translateY(var(--reveal-y, 0)) scale(var(--hover-scale, 1));
  --hover-scale: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 247, 231, 0.09), rgba(255, 247, 231, 0.035));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.project-card:hover,
.price-card:hover,
.contact-card:hover,
.process-card:hover,
.notice-card:hover,
.feature-card.is-hovered,
.project-card.is-hovered,
.price-card.is-hovered,
.contact-card.is-hovered,
.process-card.is-hovered,
.notice-card.is-hovered,
.feature-card:focus-visible,
.project-card:focus-visible {
  --hover-scale: 1.06;
  border-color: rgba(216, 179, 106, 0.86);
  background: linear-gradient(145deg, rgba(216, 179, 106, 0.22), rgba(255, 247, 231, 0.08));
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(216, 179, 106, 0.22);
  z-index: 2;
}

.feature-card,
.project-card {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: end;
  overflow: hidden;
}

.feature-card img,
.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.feature-card::after,
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 8, 12, 0.93), rgba(10, 8, 12, 0.16) 60%),
    linear-gradient(to right, rgba(10, 8, 12, 0.5), transparent);
}

.feature-card:hover img,
.project-card:hover img,
.feature-card:focus-visible img,
.project-card:focus-visible img {
  transform: scale(1.055);
}

.feature-card:focus-visible,
.project-card:focus-visible {
  outline: none;
}

.card-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.15rem;
}

.card-kicker {
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.card-content h3 {
  margin-top: 0.4rem;
  font-size: clamp(1.85rem, 5vw, 2.6rem);
}

.card-content p {
  margin: 0.55rem 0 0;
  max-width: 28rem;
  color: var(--muted);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--cream);
  font-weight: 900;
}

.arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 247, 231, 0.24);
  border-radius: 50%;
  background: rgba(255, 247, 231, 0.08);
}

.price-grid,
.contact-grid,
.process-grid,
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.price-card,
.contact-card,
.process-card,
.notice-card {
  padding: 1.15rem;
}

.price-card h3,
.contact-card h3,
.process-card h3,
.notice-card h3 {
  font-size: 1.55rem;
}

.price {
  display: block;
  margin: 0.45rem 0 0.6rem;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
  font-weight: 700;
  line-height: 1;
}

.popular-pill {
  display: flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(216, 179, 106, 0.52);
  border-radius: 999px;
  margin: 0 0 0.8rem;
  padding: 0.32rem 0.68rem;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #23180c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  box-shadow: 0 10px 26px rgba(216, 179, 106, 0.18);
}

.price-card p,
.contact-card p,
.process-card p,
.notice-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.note-band {
  margin-top: 1rem;
  border: 1px solid rgba(216, 179, 106, 0.28);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(216, 179, 106, 0.08);
  color: var(--muted);
}

.page-hero {
  position: relative;
  min-height: 300px;
  display: grid;
  align-items: end;
  isolation: isolate;
  padding: 2.5rem 0 2.25rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.72;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(10, 8, 12, 0.35), rgba(10, 8, 12, 0.95)),
    linear-gradient(to right, rgba(10, 8, 12, 0.82), rgba(10, 8, 12, 0.38));
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 8vw, 5rem);
}

.page-hero p {
  max-width: 650px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--gold-2);
  font-weight: 900;
}

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

.project-card {
  min-height: 380px;
}

.coming-soon {
  min-height: 300px;
  display: grid;
  align-content: center;
  gap: 0.75rem;
}

.gallery-layout {
  display: grid;
  gap: 1rem;
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #050405;
  box-shadow: var(--shadow);
  touch-action: pan-y;
  user-select: none;
}

.gallery-stage img {
  width: 100%;
  height: clamp(260px, 62vw, 720px);
  object-fit: cover;
}

.gallery-image {
  transition: opacity 160ms ease;
}

.gallery-image.is-changing {
  opacity: 0.28;
}

.gallery-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem;
  pointer-events: none;
}

.gallery-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 247, 231, 0.25);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(10, 8, 12, 0.6);
  backdrop-filter: blur(12px);
  cursor: pointer;
  pointer-events: auto;
}

.gallery-button:hover,
.gallery-button:focus-visible {
  border-color: rgba(216, 179, 106, 0.7);
  outline: none;
}

.gallery-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  background: rgba(255, 247, 231, 0.06);
}

.gallery-title {
  margin: 0;
  font-weight: 900;
}

.gallery-count {
  color: var(--gold-2);
  font-weight: 900;
}

.thumb-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(96px, 138px);
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.15rem 0.05rem 0.55rem;
  scrollbar-color: rgba(216, 179, 106, 0.55) rgba(255, 247, 231, 0.08);
}

.thumb {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.58;
}

.thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.thumb.is-active,
.thumb:focus-visible {
  border-color: var(--gold-2);
  opacity: 1;
  outline: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 4, 5, 0.92);
  touch-action: pan-y;
  user-select: none;
}

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

.lightbox img {
  width: min(100%, 1400px);
  max-height: 82svh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(255, 247, 231, 0.1);
  cursor: pointer;
}

.contact-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--gold-2);
  font-weight: 900;
  word-break: break-word;
}

.contact-card .popular-pill {
  margin-top: 3px;
  margin-bottom: 0.25rem;
}

.contact-card .contact-link {
  margin-top: 0.25rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  color: var(--soft);
}

.footer-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-inner a {
  color: var(--gold-2);
  font-weight: 800;
}

[data-reveal] {
  --reveal-y: 18px;
  transform: translateY(var(--reveal-y)) scale(var(--hover-scale, 1));
  opacity: 0;
  transition: transform 600ms ease, opacity 600ms ease;
}

[data-reveal].is-visible {
  --reveal-y: 0;
  opacity: 1;
}

@media (min-width: 680px) {
  .portfolio-grid,
  .price-grid,
  .contact-grid,
  .process-grid,
  .stats-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-content,
  .price-card,
  .contact-card,
  .process-card,
  .notice-card {
    padding: 1.35rem;
  }
}

@media (min-width: 920px) {
  .mobile-menu-button,
  .mobile-nav {
    display: none !important;
  }

  .nav-links {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
  }

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

  .feature-card:first-child {
    grid-column: auto;
    min-height: 330px;
  }

  .portfolio-grid .feature-card {
    min-height: 330px;
  }

  .portfolio-grid .card-content h3 {
    font-size: clamp(1.55rem, 1.9vw, 2.05rem);
  }

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

  .contact-grid,
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 520px) {
  .nav-wrap,
  .mobile-nav,
  .section,
  .hero-inner,
  .page-hero-inner,
  .footer-inner {
    width: min(100% - 1rem, 1180px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    min-height: 560px;
    padding: 1.25rem 0 1.5rem;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .gallery-controls {
    align-items: end;
  }

  .gallery-button {
    width: 46px;
    height: 46px;
  }
}

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

  [data-reveal] {
    --reveal-y: 0;
    opacity: 1;
  }

  .page-stars span {
    animation: none;
  }
}
