:root {
  --ink: #0c141c;
  --ink-2: #15202c;
  --ink-3: #1c2b3a;
  --gold: #c9a24a;
  --gold-2: #e0bb62;
  --gold-dim: rgba(201, 162, 74, 0.16);
  --sand: #f3eee6;
  --paper: #faf8f5;
  --white: #ffffff;
  --stone: #7a7468;
  --muted: #5a6570;
  --line: rgba(12, 20, 28, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(12, 20, 28, 0.12);
  --radius: 4px;
  --header-h: 92px;
  --topbar-h: 40px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
}

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

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

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

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 14px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3,
.display {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
}

h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}

h3 {
  font-size: 1.55rem;
  line-height: 1.15;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 58ch;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s var(--ease);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-2);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--ink-3);
}

.btn:focus-visible,
.nav-link:focus-visible,
.logo:focus-visible,
.icon-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Topbar / Header */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.topbar-inner {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-links,
.topbar-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: var(--gold);
}

.gold {
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 20, 28, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-light);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

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

.nav-link {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
}

.nav > .btn {
  display: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
  transition: 0.2s ease;
}

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

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

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

body.nav-open .menu-toggle span {
  background: transparent;
}

body.nav-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

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

.hero-media img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after,
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 20, 28, 0.88) 0%, rgba(12, 20, 28, 0.55) 52%, rgba(12, 20, 28, 0.28) 100%),
    linear-gradient(180deg, rgba(12, 20, 28, 0.15) 0%, rgba(12, 20, 28, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 72px;
}

.hero-kicker {
  margin-bottom: 18px;
}

.hero p {
  margin-top: 22px;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
}

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

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  max-width: 720px;
}

.hero-meta strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  color: var(--gold);
}

.hero-meta span {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.page-hero {
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 90px 0 56px;
}

.page-hero p {
  margin-top: 16px;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.78);
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-sand {
  background: var(--sand);
}

.section-ink {
  background: var(--ink);
  color: var(--white);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
}

.section-head p {
  max-width: 42ch;
  color: var(--muted);
}

.section-ink .section-head p,
.section-ink .lead {
  color: rgba(255, 255, 255, 0.68);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.split-copy .eyebrow {
  margin-bottom: 16px;
}

.split-copy h2 {
  margin-bottom: 18px;
}

.split-copy p + p {
  margin-top: 14px;
}

.checklist {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
}

.checklist svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}

.frame {
  position: relative;
}

.frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.frame::before {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 22px;
  border: 1px solid var(--gold);
  z-index: -1;
}

.caption-card {
  position: absolute;
  left: -24px;
  bottom: 28px;
  background: var(--ink);
  color: var(--white);
  padding: 22px 24px;
  max-width: 240px;
}

.caption-card strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  color: var(--gold);
}

/* Cards */

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 22px;
}

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

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

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

.card,
.service-card,
.industry-card,
.value-card,
.process-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  padding: 28px 26px 26px;
  transition: 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.service-num {
  font-family: "Barlow Condensed", sans-serif;
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 14px 0 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card a:hover {
  color: var(--gold);
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  color: var(--white);
  border-radius: var(--radius);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: 0.6s var(--ease);
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 20, 28, 0.05) 20%, rgba(12, 20, 28, 0.88) 100%);
}

.project-body {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
}

.project-body p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.45;
}

.tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(201, 162, 74, 0.5);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

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

.industry-card {
  overflow: hidden;
}

.industry-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.industry-card div {
  padding: 22px 22px 24px;
}

.industry-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.process-card,
.value-card {
  padding: 28px 24px;
}

.process-card span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.4rem;
  color: var(--gold);
}

.process-card h3,
.value-card h3 {
  margin: 12px 0 8px;
}

.process-card p,
.value-card p {
  color: var(--muted);
}

.section-ink .value-card {
  background: var(--ink-2);
  border-color: var(--line-light);
}

.section-ink .value-card p {
  color: rgba(255, 255, 255, 0.68);
}

.cta-band {
  background:
    linear-gradient(110deg, rgba(12, 20, 28, 0.88), rgba(12, 20, 28, 0.7)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=70") center/cover;
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}

.cta-band h2 {
  margin: 12px 0 16px;
}

.cta-band p {
  margin-inline: auto;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.78);
}

.cta-band .btn {
  margin-top: 28px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--white);
}

.stat {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--line-light);
}

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

.stat strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.6rem;
  color: var(--gold);
}

.stat span {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.quote {
  padding: 36px;
  background: var(--white);
  border-left: 4px solid var(--gold);
}

.quote p {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}

.quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-details {
  display: grid;
  gap: 22px;
}

.contact-item h3 {
  margin-bottom: 6px;
}

.contact-item a:hover,
.contact-item p {
  color: var(--muted);
}

.contact-item a:hover {
  color: var(--gold);
}

.form {
  display: grid;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
}

.form-fields {
  display: grid;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

label {
  display: grid;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.field-error {
  color: #9b2c2c;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}

.form-success {
  display: none;
  padding: 28px;
  background: var(--sand);
  border: 1px solid var(--gold);
}

.form-success.is-visible,
.form.is-sent .form-success {
  display: block;
}

.form.is-sent .form-fields {
  display: none;
}

.map-frame {
  margin-top: 18px;
  min-height: 220px;
  background:
    linear-gradient(rgba(12, 20, 28, 0.35), rgba(12, 20, 28, 0.35)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1200&q=70") center/cover;
  color: var(--white);
  display: grid;
  place-items: end start;
  padding: 18px;
}

.map-frame span {
  background: var(--ink);
  padding: 10px 14px;
  font-size: 13px;
}

/* Footer / Modal */

.site-footer {
  background: #090f14;
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}

.site-footer .logo-img {
  height: 88px;
  max-width: 210px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 36ch;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 16px;
}

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

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 15, 20, 0.72);
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(92vh, 880px);
  overflow: auto;
  background: var(--paper);
  padding: 40px 36px 36px;
  box-shadow: var(--shadow);
}

.modal-panel .form {
  padding: 0;
  border: 0;
  background: transparent;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
}

.modal-panel h2 {
  margin: 8px 0 8px;
  font-size: 2.2rem;
}

.modal-panel > p {
  margin-bottom: 20px;
  color: var(--muted);
}

body.modal-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s var(--ease) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .reveal,
  .project-card img,
  .service-card {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .nav {
    position: fixed;
    inset: calc(var(--topbar-h) + var(--header-h)) 0 0 auto;
    width: min(340px, 100%);
    background: var(--ink-2);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 18px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.28s var(--ease);
    border-left: 1px solid var(--line-light);
  }

  body.nav-open .nav {
    transform: none;
  }

  .nav-link {
    padding: 14px 12px;
  }

  .nav > .btn {
    display: inline-flex;
    width: 100%;
    margin-top: 16px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-cta .btn {
    display: none;
  }

  .split,
  .contact-grid,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .nav {
    inset: 76px 0 0 auto;
  }

  .header-cta .btn {
    display: inline-flex;
    min-height: 42px;
    padding: 0 12px;
    font-size: 11px;
  }

  .hero-meta,
  .stats-strip,
  .grid-3,
  .grid-4,
  .grid-2,
  .split,
  .contact-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .frame::before,
  .caption-card {
    display: none;
  }

  .frame img {
    height: 340px;
  }

  .section {
    padding: 72px 0;
  }

  .hero-content {
    padding: 64px 0 48px;
  }

  .header-inner {
    min-height: 76px;
  }

  .logo-img {
    height: 56px;
    max-width: 132px;
  }
}
