:root {
  --black: #151617;
  --graphite: #25282a;
  --steel: #5e666b;
  --concrete: #ece8df;
  --paper: #fbfaf6;
  --line: #d5cec0;
  --amber: #d99b29;
  --amber-dark: #a56816;
  --rust: #9e5133;
  --sage: #6f8277;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(21, 22, 23, 0.18);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(21, 22, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 22, 23, 0.035) 1px, transparent 1px),
    var(--concrete);
  background-size: 44px 44px;
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body::selection {
  background: var(--amber);
  color: var(--black);
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  background: rgba(21, 22, 23, 0.94);
  color: var(--white);
  border-bottom: 3px solid var(--amber);
}

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

.brand-symbol {
  position: relative;
  width: 34px;
  height: 34px;
  border-left: 4px solid var(--amber);
  border-top: 4px solid var(--amber);
}

.brand-symbol::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  border-right: 4px solid var(--amber);
  border-bottom: 4px solid var(--amber);
  content: "";
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: #c6c1b6;
  font-size: 0.68rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #ded8ca;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--amber);
}

.nav-cta {
  padding: 10px 13px;
  background: var(--amber);
  color: var(--black) !important;
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  border-radius: var(--radius);
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 22, 23, 0.95) 0%, rgba(21, 22, 23, 0.72) 45%, rgba(21, 22, 23, 0.2) 100%),
    linear-gradient(0deg, rgba(21, 22, 23, 0.85), transparent 45%);
  content: "";
}

.hero-media img {
  height: 100%;
  min-height: calc(100vh - 72px);
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto 110px clamp(18px, 8vw, 110px);
}

.kicker {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.15;
}

.hero-content p {
  max-width: 640px;
  color: #ddd7c9;
  font-size: 1.12rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(21, 22, 23, 0.2);
}

.button.primary {
  background: var(--amber);
  color: var(--black);
}

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

.hero-proof {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 32px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(116px, 1fr));
  background: rgba(21, 22, 23, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-proof div {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof span,
.contact-details span,
.project-card span,
.service span,
.portfolio-download span,
.process-list span {
  display: block;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-proof strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 1.08rem;
  text-transform: uppercase;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--amber);
  color: var(--black);
  border-bottom: 1px solid rgba(21, 22, 23, 0.25);
}

.trust-strip span {
  padding: 18px;
  border-right: 1px solid rgba(21, 22, 23, 0.24);
  font-size: 0.83rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.trust-strip span:last-child {
  border-right: 0;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(28px, 6vw, 92px);
  border-bottom: 1px solid var(--line);
}

.section-label {
  color: var(--amber-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.intro-copy p,
.work-heading p,
.service p,
.project-card p,
.process-list p,
.company-copy p,
.contact-panel p {
  color: var(--steel);
}

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

.service-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.service {
  min-height: 300px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(217, 155, 41, 0.08), transparent 44%),
    var(--paper);
  transition: background 160ms ease, transform 160ms ease;
}

.service:last-child {
  border-right: 0;
}

.service:hover {
  transform: translateY(-4px);
  background: var(--white);
}

.service span {
  margin-bottom: 70px;
  color: var(--rust);
}

.work-section {
  background: var(--graphite);
  color: var(--white);
  padding: 86px 0;
}

.work-section .section {
  padding: 0;
}

.work-heading p {
  max-width: 640px;
  color: #cfc8b9;
}

.project-filters {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #d8d0c1;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
}

.filter.is-active {
  background: var(--amber);
  color: var(--black);
  border-color: var(--amber);
}

.project-showcase {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: #f4efe6;
  color: var(--black);
  border-radius: var(--radius);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
}

.project-card.is-hidden {
  display: none;
}

.project-card img {
  height: 310px;
  object-fit: cover;
}

.project-card div {
  padding: 28px;
}

.project-card span {
  color: var(--rust);
  margin-bottom: 10px;
}

.project-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--steel);
}

.portfolio-download {
  width: min(1160px, calc(100% - 36px));
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background: var(--black);
  border-left: 6px solid var(--amber);
  border-radius: var(--radius);
}

.portfolio-download strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 1.1rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--paper);
}

.process-list li {
  min-height: 260px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  margin-bottom: 54px;
  color: var(--amber-dark);
}

.company {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto 88px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.company-image img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.company-copy {
  padding: clamp(32px, 5vw, 62px);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto 82px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: clamp(32px, 5vw, 62px);
}

.contact-panel p {
  color: #d7d0c1;
}

.contact-details {
  display: grid;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-details article {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-details article:last-child {
  border-bottom: 0;
}

.contact-details strong,
.contact-details a {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 58px);
  background: var(--black);
  color: #c6c1b6;
  border-top: 3px solid var(--amber);
}

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

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

@media (max-width: 1040px) {
  .service-board,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .service,
  .process-list li {
    border-bottom: 1px solid var(--line);
  }

  .service:nth-child(2n),
  .process-list li:nth-child(2n) {
    border-right: 0;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }
}

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

  .nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 10px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media img {
    min-height: 760px;
  }

  .hero-content {
    margin: 0 auto 230px;
    width: min(100% - 36px, 720px);
  }

  .hero-proof {
    right: 18px;
    left: 18px;
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .trust-strip,
  .intro-grid,
  .company,
  .contact {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(21, 22, 23, 0.24);
  }

  .contact-details {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

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

  h2 {
    font-size: 2.05rem;
  }

  .service-board,
  .process-list {
    grid-template-columns: 1fr;
  }

  .service,
  .process-list li {
    min-height: auto;
    border-right: 0;
  }

  .service span,
  .process-list span {
    margin-bottom: 28px;
  }

  .portfolio-download,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
