:root {
  /* Main brand controls for quick visual edits. */
  --bg: #1b1c20;
  --surface: #24262b;
  --surface-2: #2b2d33;
  --text: #f8f4ef;
  --muted: #bbb5ad;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff7e23;
  --accent-soft: rgba(255, 126, 35, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(27, 28, 32, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 176px;
}

.brand img {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  /* First viewport is an actual working landing section, not a separate splash page. */
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.78) 42%, rgba(5, 5, 5, 0.24) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.72), transparent 48%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 110px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 770px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.96;
  font-weight: 760;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-copy {
  max-width: 700px;
  color: #d6dbdf;
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: #160900;
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-grid,
.quote-layout,
.about-location,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro p:last-child {
  color: var(--muted);
  font-size: 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.card,
.project-card,
.quote-form,
.about-location article {
  background: var(--surface);
  border: 1px solid var(--line);
}

.card {
  min-height: 210px;
  overflow: hidden;
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.card h3,
.card p {
  padding-right: 26px;
  padding-left: 26px;
}

.card h3 {
  margin-top: 24px;
}

.card p {
  padding-bottom: 26px;
}

.card p,
.quote-copy p,
.about-location p,
.contact-list {
  color: var(--muted);
}

.process-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 190px;
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.steps span {
  display: block;
  margin-bottom: 32px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.steps p {
  margin: 0;
  font-size: 18px;
}

.quote-section {
  width: 100%;
  max-width: none;
  padding: 92px max(20px, calc((100vw - var(--max)) / 2));
  background: #202126;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-copy {
  position: sticky;
  top: 112px;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

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

.form-row {
  display: grid;
  gap: 8px;
}

label {
  color: #d9dee2;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #17181c;
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-submit {
  width: fit-content;
  border-radius: 0;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

.project-slider {
  position: relative;
  overflow: hidden;
  margin: 0 calc((100vw - min(var(--max), calc(100vw - 40px))) / -2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #18191d;
}

.project-slider::before,
.project-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(16vw, 180px);
  pointer-events: none;
}

.project-slider::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.project-slider::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.project-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 24px 18px;
  animation: slideProjects 38s linear infinite;
}

.project-track img {
  width: clamp(260px, 32vw, 430px);
  aspect-ratio: 1.52;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--surface);
}

.project-slider:hover .project-track {
  animation-play-state: paused;
}

.instagram-callout {
  max-width: 850px;
  margin: 36px auto 18px;
  color: var(--text);
  font-size: clamp(28px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 780;
  text-align: center;
}

.instagram-button {
  margin: 0 auto;
}

@keyframes slideProjects {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 54px));
  }
}

.about-location article {
  min-height: 300px;
  padding: 30px;
}

.contact-section {
  grid-template-columns: 1fr auto auto;
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact-list {
  display: grid;
  gap: 8px;
}

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

.site-footer {
  padding: 28px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 73px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #202126;
    border: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.78) 72%, rgba(5, 5, 5, 0.45) 100%),
      linear-gradient(0deg, rgba(5, 5, 5, 0.82), transparent 52%);
  }

  .section-grid,
  .quote-layout,
  .about-location,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .quote-copy {
    position: static;
  }

  .contact-section {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .brand {
    width: 132px;
  }

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

  .site-nav {
    top: 67px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding-top: 92px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .button,
  .form-submit {
    width: 100%;
  }

  .cards,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 64px 0;
  }

  .quote-section {
    padding: 64px 16px;
  }

  .quote-form {
    padding: 18px;
  }
}
