:root {
  --bg: #07080a;
  --bg-2: #101317;
  --surface: rgba(17, 20, 24, 0.82);
  --surface-2: rgba(28, 31, 35, 0.56);
  --surface-button: #242426;
  --steel: #d8dde0;
  --text: #f6f2e8;
  --muted: #a9afb2;
  --muted-2: #757c80;
  --line: rgba(216, 221, 224, 0.1);
  --line-strong: rgba(216, 221, 224, 0.2);
  --orange: #f36b2d;
  --orange-dark: #d95820;
  --orange-2: #ff9a4d;
  --blue: #8edbff;
  --red: #7f2720;
  --brass: #c59b57;
  --green: #6f8b65;
  --max: 1180px;
  --gutter: 20px;
  --nav-h: 76px;
  --radius: 8px;
  --font: "Roboto", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Roboto Condensed", "Arial Narrow", Impact, Haettenschweiler, "Arial Black", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

html.nav-open,
html.nav-open body {
  overflow: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 22% 0%, rgba(142, 219, 255, 0.08), transparent 28rem),
    radial-gradient(circle at 84% 12%, rgba(243, 107, 45, 0.09), transparent 22rem),
    linear-gradient(180deg, #08090b 0%, #101214 46%, #07080a 100%);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.55;
}

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

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.7rem 0.9rem;
  background: var(--text);
  color: #07080a;
}

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

.site-shell {
  overflow: clip;
}

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

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  min-height: var(--nav-h);
  border-bottom: 1px solid rgba(216, 221, 224, 0.08);
  background: rgba(7, 8, 10, 0.8);
  backdrop-filter: blur(16px);
}

.site-nav {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
  position: relative;
  z-index: 70;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}

.brand__meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: var(--surface-button);
  color: var(--text);
  position: relative;
  z-index: 72;
}

.nav-toggle__lines {
  width: 1.25rem;
  display: grid;
  gap: 0.3rem;
}

.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  display: block;
  height: 2px;
  background: currentColor;
}

.nav-panel {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 3vw, 3rem);
}

.nav-link {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.nav-link {
  color: var(--muted);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
}

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

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h) - 70px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgba(216, 221, 224, 0.08);
}

.hero--subpage {
  min-height: 460px;
  align-items: center;
}

.hero__media,
.hero__media picture,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.92) 0%, rgba(7, 8, 10, 0.76) 34%, rgba(7, 8, 10, 0.18) 76%, rgba(7, 8, 10, 0.55) 100%),
    linear-gradient(0deg, rgba(7, 8, 10, 0.84), transparent 44%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 4.5rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  color: var(--orange-2);
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  max-width: 780px;
  margin: 1.2rem 0 0;
  font-family: var(--display);
  font-size: 5.2rem;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero__lede {
  max-width: 650px;
  margin: 1.35rem 0 0;
  color: var(--steel);
  font-size: 1.15rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.65rem;
}

.button {
  min-height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.86rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

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

.button--primary {
  border-color: rgba(243, 107, 45, 0.65);
  background: var(--orange);
  color: #130b07;
  font-weight: 800;
}

.button--primary:hover {
  border-color: rgba(217, 88, 32, 0.78);
  background: var(--orange-dark);
  color: #130b07;
}

.button--dark {
  background: #08090b;
}

.section {
  padding: 6.5rem 0;
  border-bottom: 0;
}

.section--tight {
  padding: 4.5rem 0;
}

.section--dark {
  background: rgba(4, 6, 8, 0.46);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.section-heading h2,
.split-copy h2,
.contact-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 3.25rem;
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-heading p,
.split-copy p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

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

.service-card,
.process-step,
.review-card,
.contact-card,
.project-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.044), rgba(255, 255, 255, 0.022)),
    var(--surface);
}

.service-card {
  min-height: 260px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
}

.process-step__num,
.meta-label {
  color: var(--orange-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.service-card h3,
.project-card h3,
.process-step h3,
.review-card h3,
.contact-card h3 {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.service-card p,
.process-step p,
.review-card p,
.contact-card p,
.project-card p {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.service-tags span,
.category-pill {
  display: inline-flex;
  min-height: 1.85rem;
  align-items: center;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.055);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.section--showcase .section-heading h2 {
  max-width: 620px;
  font-size: 2.7rem;
}

.section--showcase .section-heading p {
  max-width: 540px;
  font-size: 1.05rem;
}

.feature-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 0;
  background: var(--surface);
}

.feature-panel picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.feature-panel:hover img {
  transform: scale(1.025);
}

.feature-panel__content {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0;
  background: rgba(7, 8, 10, 0.78);
  backdrop-filter: blur(14px);
}

.feature-panel__content h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.feature-panel__content p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.feature-stack .feature-panel {
  min-height: 252px;
}

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

.process-step,
.review-card,
.contact-card {
  min-height: 220px;
  padding: 1.35rem;
}

.review-card strong {
  display: block;
  color: var(--text);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.split-copy {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.detail-list {
  display: grid;
  gap: 1rem;
}

.detail-row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(216, 221, 224, 0.08);
}

.detail-row dt {
  color: var(--orange-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.09rem;
  text-transform: uppercase;
}

.detail-row dd {
  margin: 0;
  color: var(--steel);
}

.gallery-toolbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 12;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(216, 221, 224, 0.08);
  background: rgba(10, 12, 14, 0.9);
  backdrop-filter: blur(14px);
}

.filter-list {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 2.45rem;
  padding: 0.52rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.filter-button[aria-pressed="true"],
.filter-button:hover {
  color: var(--text);
  background: rgba(243, 107, 45, 0.14);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  padding-top: 2rem;
}

.project-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 0;
}

.project-card button {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.project-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #101317;
}

.project-card__media picture {
  width: 100%;
  height: 100%;
}

.project-card--tall .project-card__media {
  aspect-ratio: 1 / 1;
}

.project-card--wide .project-card__media {
  aspect-ratio: 1 / 1;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.project-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.project-card__body {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  min-height: auto;
  padding: 0.85rem;
  border-radius: 0;
  background: rgba(7, 8, 10, 0.82);
  backdrop-filter: blur(12px);
}

.project-card h3 {
  margin: 0;
  font-family: var(--font);
  font-size: calc(1.15rem - 3px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.02rem;
}

.project-card p {
  display: none;
}

.project-card[hidden] {
  display: none;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 2rem;
  align-items: start;
}

.contact-panel {
  padding: 1.4rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022)),
    var(--surface);
}

.contact-methods {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact-method {
  display: block;
  padding: 1rem;
  border-radius: var(--radius);
  color: var(--steel);
  background: rgba(255, 255, 255, 0.05);
}

.contact-method span {
  display: block;
  color: var(--orange-2);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.09rem;
  text-transform: uppercase;
}

.contact-method strong {
  display: block;
  margin-top: 0.25rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.025)),
    var(--surface);
}

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

.field {
  display: grid;
  gap: 0.42rem;
}

.field label {
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(3, 4, 5, 0.72);
  color: var(--text);
  padding: 0.78rem 0.85rem;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.trap {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5rem;
  color: var(--blue);
}

.form-status.is-error {
  color: var(--orange-2);
}

.map-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(243, 107, 45, 0.14), rgba(142, 219, 255, 0.07));
}

.map-strip p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 3rem 0;
  color: var(--muted);
  background: #050607;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a:hover {
  color: var(--text);
}

.footer-copy {
  justify-self: center;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(3, 4, 5, 0.92);
}

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

.lightbox__inner {
  position: relative;
  width: min(1280px, 100%);
  max-height: calc(100svh - 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  overflow: hidden;
  background: #07080a;
}

.lightbox__media {
  position: relative;
  min-height: min(76svh, 720px);
  background: #050607;
}

.lightbox__media img {
  width: 100%;
  height: 100%;
  max-height: calc(100svh - 2rem);
  object-fit: contain;
}

.lightbox__copy {
  padding: 4.1rem 1.2rem 1.2rem;
  border-left: 1px solid var(--line);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  min-height: 2.8rem;
  padding: 0.72rem 0.9rem;
  border: 0;
  border-radius: 0;
  background: rgba(7, 8, 10, 0.78);
  color: var(--text);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.lightbox__nav:hover {
  background: rgba(243, 107, 45, 0.82);
  color: #130b07;
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

.lightbox__copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.lightbox__copy p {
  color: var(--muted);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(7, 8, 10, 0.78);
  color: var(--text);
  font-size: 1.25rem;
}

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

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

@media (max-width: 980px) {
  :root {
    --gutter: 18px;
    --nav-h: 70px;
  }

  .site-shell {
    overflow: visible;
    padding-top: var(--nav-h);
  }

  .site-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    inset: 0;
    z-index: 65;
    width: 100vw;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    padding: 5.5rem var(--gutter) 2rem;
    background: rgba(7, 8, 10, 0.97);
    transform: translateY(-100%);
    transition: transform 260ms ease;
  }

  .nav-panel.is-open {
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    border-top: 0;
  }

  .nav-link {
    padding: 0;
    border-bottom: 0;
    color: var(--text);
    font-family: var(--display);
    font-size: clamp(3.2rem, 15vw, 6rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 0.03rem;
  }

  .nav-link::after {
    display: none;
  }

  .hero h1,
  .page-title {
    font-size: 4rem;
  }

  .section-heading,
  .feature-grid,
  .split,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .split-copy {
    position: static;
  }

  .service-grid,
  .process-grid,
  .review-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .lightbox__copy {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .brand__name {
    font-size: 1.14rem;
  }

  .brand__meta {
    font-size: 0.55rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero--subpage {
    min-height: 380px;
  }

  .hero__content {
    padding: 4.5rem 0 3rem;
  }

  .hero h1,
  .page-title {
    font-size: 3rem;
  }

  .hero__lede {
    font-size: 1rem;
  }

  .filter-list {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .service-grid,
  .process-grid,
  .review-grid,
  .contact-grid,
  .gallery-grid,
  .form-row,
  .map-strip {
    grid-template-columns: 1fr;
  }

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

  .footer-copy {
    justify-self: start;
    text-align: left;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-heading h2,
  .split-copy h2,
  .contact-panel h2 {
    font-size: 2.45rem;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .feature-panel,
  .feature-stack .feature-panel {
    min-height: 360px;
  }
}

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

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