html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
}

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 10%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 26rem),
    var(--background);
  color: var(--foreground);
}

.page-frame {
  width: min(1400px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 84%, transparent);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: min(1400px, calc(100% - 32px));
  height: 72px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  flex: 0 0 auto;
}

.brand__mark svg,
.mobile-toggle svg {
  width: 18px;
  height: 18px;
}

.brand__name,
h1,
h2,
h3,
.service-link-list a,
.gallery-tile figcaption span {
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.brand__name {
  display: block;
  font-size: 1rem;
}

.brand__sub,
.eyebrow,
.desktop-nav,
.nav-location,
.footer-links,
.gallery-tile figcaption em,
.service-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand__sub {
  display: block;
  color: var(--muted-foreground);
  line-height: 1.1;
}

.desktop-nav,
.nav-location {
  display: none;
}

.desktop-nav a {
  transition: color 150ms ease, border-color 150ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.desktop-nav a[aria-current="page"],
.text-link:hover,
.footer-links a:hover {
  color: var(--accent);
}

.nav-book {
  border: 1px solid var(--border);
  padding: 11px 14px;
}

.nav-book:hover {
  border-color: var(--accent);
}

.nav-location {
  align-items: center;
  gap: 8px;
  color: var(--muted-foreground);
}

.nav-location span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.mobile-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 72px 0 auto;
  z-index: 45;
  display: none;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 94%, transparent);
  backdrop-filter: blur(14px);
}

.mobile-menu[data-open="true"] {
  display: block;
}

.mobile-menu__inner {
  width: min(1400px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  gap: 4px;
  padding: 18px 0 22px;
}

.mobile-menu__inner a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}

.mobile-menu__inner a[aria-current="page"] {
  color: var(--accent);
}

.mobile-menu__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  color: var(--muted-foreground);
}

.mobile-menu__meta span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-section,
.page-hero {
  padding: 112px 0 64px;
}

.hero-grid,
.page-hero__grid,
.story-grid,
.split-grid,
.cta-grid,
.portfolio-hero-grid,
.project-index {
  display: grid;
  gap: 36px;
}

.hero-copy,
.story-copy,
.page-hero,
.cta-section {
  min-width: 0;
}

.eyebrow {
  color: var(--muted-foreground);
  margin-bottom: 18px;
}

h1 {
  max-width: 12ch;
  font-size: 3.25rem;
}

h2 {
  font-size: 2.7rem;
}

h3 {
  font-size: 1.5rem;
}

h1 span,
h2 span {
  color: var(--accent);
}

.hero-copy p,
.page-hero p,
.section-copy,
.story-copy p,
.cta-section p,
.service-detail p,
.process-grid p,
.project-list p,
.gallery-note {
  color: var(--muted-foreground);
  line-height: 1.72;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button-link,
.outline-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  padding: 0 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: opacity 150ms ease, border-color 150ms ease, background 150ms ease;
}

.button-link {
  background: var(--accent);
  color: var(--accent-foreground);
}

.button-link:hover {
  opacity: 0.9;
}

.outline-link {
  border-color: var(--border);
}

.outline-link:hover {
  border-color: var(--accent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 150ms ease;
}

.text-link span {
  color: var(--accent);
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap img,
.image-panel img,
.cta-grid > img,
.service-hero-stack img,
.service-detail img,
.portfolio-hero-image img,
.portfolio-hero-side img,
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-wrap img {
  aspect-ratio: 4 / 5;
}

.orbital-badge {
  position: absolute;
  left: -8px;
  bottom: -20px;
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  color: var(--accent);
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.marquee-band {
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding: 18px 0;
}

.marquee-band div {
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.split-section,
.story-section,
.portfolio-preview,
.reviews-section,
.cta-section,
.services-detail-section,
.process-section,
.gallery-section,
.portfolio-index-section {
  border-top: 1px solid var(--border);
  padding: 64px 0;
}

.service-link-list {
  border-block: 1px solid var(--border);
}

.service-link-list a {
  display: flex;
  gap: 18px;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  font-size: 1.4rem;
  transition: color 150ms ease, padding 150ms ease;
}

.service-link-list a:last-child {
  border-bottom: 0;
}

.service-link-list a:hover {
  color: var(--accent);
  padding-left: 10px;
}

.service-link-list span,
.service-number,
.process-grid span {
  color: var(--accent);
  flex: 0 0 auto;
}

.image-panel {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.image-panel--tall {
  min-height: 520px;
}

.image-panel--wide {
  min-height: 260px;
  margin-top: 32px;
}

.image-panel figcaption,
.portfolio-hero-image figcaption,
.gallery-tile figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: linear-gradient(to top, color-mix(in oklab, var(--background) 92%, transparent), transparent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.image-panel figcaption span:last-child,
.gallery-tile figcaption em {
  color: var(--accent);
  font-style: normal;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}

.preview-grid,
.reviews-grid,
.process-grid {
  display: grid;
  gap: 16px;
}

.preview-grid .image-panel {
  min-height: 360px;
}

.reviews-grid blockquote,
.process-grid div,
.project-list div {
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 88%, transparent);
  padding: 24px;
}

.reviews-grid p {
  color: color-mix(in oklab, var(--foreground) 90%, transparent);
  line-height: 1.72;
}

.reviews-grid footer {
  margin-top: 28px;
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.reviews-grid footer span {
  display: block;
  margin-top: 6px;
  color: var(--muted-foreground);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.cta-grid > img {
  aspect-ratio: 4 / 5;
}

.page-hero h1 {
  max-width: 13ch;
}

.service-hero-stack {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
  align-items: end;
}

.service-hero-stack img:first-child {
  aspect-ratio: 4 / 5;
}

.service-hero-stack img:last-child {
  aspect-ratio: 3 / 4;
  margin-bottom: 34px;
}

.service-detail-list {
  display: grid;
  gap: 1px;
  background: var(--border);
}

.service-detail {
  display: grid;
  gap: 24px;
  background: var(--background);
  padding: 28px 0;
}

.service-detail h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-detail ul {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: var(--foreground);
}

.service-detail li::before {
  content: "/";
  margin-right: 10px;
  color: var(--accent);
}

.service-detail img {
  aspect-ratio: 4 / 5;
}

.process-grid span,
.project-list span {
  display: block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.portfolio-hero-image,
.gallery-tile {
  position: relative;
  overflow: hidden;
}

.portfolio-hero-image {
  min-height: 520px;
}

.portfolio-hero-side {
  display: grid;
  gap: 14px;
}

.portfolio-hero-side img {
  aspect-ratio: 4 / 5;
}

.gallery-note {
  max-width: 30rem;
}

.rich-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.gallery-tile {
  min-height: 360px;
}

.gallery-tile img {
  transition: transform 700ms ease;
}

.gallery-tile:hover img {
  transform: scale(1.045);
}

.gallery-tile figcaption {
  align-items: start;
  flex-direction: column;
}

.gallery-tile figcaption span {
  font-size: 1.05rem;
}

.project-list {
  display: grid;
  gap: 14px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
}

.footer-inner {
  display: grid;
  gap: 20px;
  align-items: center;
}

.site-footer p {
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 640px) {
  .page-frame,
  .site-header__inner,
  .mobile-menu__inner {
    width: min(1400px, calc(100% - 48px));
  }

  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 3.6rem;
  }

  .marquee-band div {
    font-size: 3.4rem;
  }

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

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

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

@media (min-width: 900px) {
  .hero-grid,
  .page-hero__grid,
  .story-grid,
  .split-grid,
  .cta-grid,
  .project-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

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

  .service-detail {
    grid-template-columns: 80px minmax(0, 1fr) 34%;
    align-items: center;
    gap: 34px;
    padding: 34px 0;
  }

  .portfolio-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(180px, 0.38fr);
  }

  .rich-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
  }

  .gallery-tile {
    min-height: 420px;
  }

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

  .gallery-tile--tall {
    grid-row: span 2;
    min-height: 700px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .footer-links {
    justify-content: flex-end;
  }
}

@media (min-width: 1100px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .nav-location {
    display: flex;
  }

  .mobile-toggle,
  .mobile-menu {
    display: none !important;
  }

  .hero-section,
  .page-hero {
    padding: 128px 0 80px;
  }

  h1 {
    font-size: 6.3rem;
  }

  h2 {
    font-size: 4.4rem;
  }

  .split-section,
  .story-section,
  .portfolio-preview,
  .reviews-section,
  .cta-section,
  .services-detail-section,
  .process-section,
  .gallery-section,
  .portfolio-index-section {
    padding: 92px 0;
  }
}

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

  h2 {
    font-size: 2.25rem;
  }

  .service-link-list a {
    font-size: 1.1rem;
  }

  .orbital-badge {
    width: 86px;
    height: 86px;
    font-size: 0.64rem;
  }
}
