:root {
  --ink: #101418;
  --slate: #1a2329;
  --steel: #5c6b75;
  --line: #d8d2c8;
  --sand: #f3eee6;
  --paper: #fbf8f3;
  --white: #ffffff;
  --amber: #c99212;
  --amber-deep: #a6750a;
  --safety: #e8b423;
  --shadow: 0 18px 40px rgba(16, 20, 24, 0.12);
  --radius: 4px;
  --max: 1180px;
  --nav: 84px;
}

*,
*::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.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--amber-deep);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber);
}

h1,
h2,
.h-display {
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.lead {
  font-size: 1.08rem;
  color: var(--steel);
  max-width: 42rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav);
  display: flex;
  align-items: center;
  background: rgba(16, 20, 24, 0.94);
  color: var(--white);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--amber);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.logo span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.nav a:hover,
.nav a.active {
  color: var(--white);
}

.nav a.active {
  box-shadow: inset 0 -2px 0 var(--amber);
  padding-bottom: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--safety);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #2a333a;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav));
  color: var(--white);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 18, 0.88) 0%, rgba(10, 14, 18, 0.45) 55%, rgba(10, 14, 18, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 14, 18, 0.75), transparent 40%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 80px 0 72px;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  margin: 22px 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 64px;
  max-width: 640px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 24px;
}

.hero-meta strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  color: var(--amber);
}

.hero-meta span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 92px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.section-sand {
  background: var(--sand);
}

.section-dark {
  background: var(--slate);
  color: var(--white);
}

.section-dark .lead {
  color: rgba(255, 255, 255, 0.7);
}

.grid-3,
.grid-2,
.projects {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
  margin: 10px 0 12px;
}

.card .num {
  font-family: "Barlow Condensed", sans-serif;
  color: var(--amber);
  font-size: 1.4rem;
  font-weight: 700;
}

.service-list {
  margin-top: 16px;
  color: var(--steel);
}

.service-list li {
  list-style: none;
  padding: 6px 0 6px 18px;
  position: relative;
}

.service-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--amber);
  position: absolute;
  left: 0;
  top: 12px;
}

.projects {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  color: var(--white);
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.project:hover img {
  transform: scale(1.06);
}

.project figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  background: linear-gradient(transparent, rgba(10, 14, 18, 0.9));
}

.project small {
  color: var(--amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.72rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process article {
  border-top: 3px solid var(--amber);
  padding-top: 18px;
}

.process h3 {
  font-size: 1.15rem;
  margin: 8px 0;
}

.quote {
  font-size: 1.45rem;
  line-height: 1.4;
  font-weight: 500;
}

.cite {
  margin-top: 18px;
  color: var(--steel);
  font-size: 0.92rem;
}

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 56px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 14px;
  max-width: 40rem;
}

.split-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

form {
  display: grid;
  gap: 14px;
}

label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 14px;
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-note {
  display: none;
  padding: 14px;
  background: #e8f4ea;
  border: 1px solid #b7d8bd;
  color: #215c2c;
}

.form-note.show {
  display: block;
}

.contact-aside {
  background: var(--ink);
  color: var(--white);
  padding: 32px;
}

.contact-aside a {
  color: var(--amber);
}

.site-footer {
  background: #0b0f12;
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin: 8px 0;
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 24px;
    gap: 14px;
  }

  .nav.open {
    display: flex;
  }

  .grid-3,
  .projects,
  .process,
  .values,
  .grid-2,
  .footer-grid,
  .form-row,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}
