:root {
  --ink: #0d1014;
  --muted: #65716f;
  --paper: #f3eee6;
  --white: #ffffff;
  --steel: #18342f;
  --slate: #2c3937;
  --line: rgba(17, 20, 23, 0.12);
  --gold: #c9872e;
  --copper: #b45c35;
  --green: #224f43;
  --brick: #7e2e28;
  --mist: #e7ded1;
  --shadow: 0 26px 80px rgba(13, 16, 20, 0.2);
  --radius: 8px;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(201, 135, 46, 0.16), transparent 28rem),
    linear-gradient(180deg, #fbf8f2 0%, var(--paper) 44%, #ede5da 100%);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex: 0 0 auto;
  width: 1.08em;
  height: 1.08em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.scrolled {
  padding-block: 10px;
  background: rgba(13, 16, 20, 0.9);
  box-shadow: 0 18px 46px rgba(13, 16, 20, 0.28);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 82px;
  height: 82px;
  padding: 9px;
  object-fit: contain;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(201, 135, 46, 0.28);
  filter: drop-shadow(0 12px 26px rgba(13, 16, 20, 0.32));
}

.brand span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand strong {
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  white-space: nowrap;
}

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

.site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  font-weight: 700;
  padding: 10px 15px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(201, 135, 46, 0.16);
  border-color: rgba(201, 135, 46, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  place-items: center;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  align-items: end;
  gap: clamp(20px, 4vw, 52px);
  padding: 132px clamp(18px, 5vw, 72px) clamp(28px, 5vw, 64px);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.12);
  opacity: 0.82;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 16, 20, 0.96), rgba(24, 52, 47, 0.74) 46%, rgba(126, 46, 40, 0.25)),
    linear-gradient(0deg, rgba(13, 16, 20, 0.94), transparent 50%);
}

.blueprint-lines {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.72) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, black, transparent 80%);
}

.hero-content {
  max-width: 820px;
  padding-bottom: 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 5.8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions,
.statement-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, #e0a943, var(--gold) 54%, var(--copper));
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(180, 92, 53, 0.32);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.hero-panel {
  display: grid;
  gap: 1px;
  background: rgba(201, 135, 46, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.hero-panel div {
  position: relative;
  padding: 24px;
  background: rgba(13, 16, 20, 0.64);
}

.panel-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--gold);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  color: var(--gold);
  font-size: 1.04rem;
}

.hero-panel span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
}

.section-pad {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.method-content h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  background:
    linear-gradient(135deg, rgba(201, 135, 46, 0.18), transparent 38%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.18)),
    var(--paper);
}

.intro-copy {
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.services {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: rgba(13, 16, 20, 0.1);
  border: 1px solid rgba(13, 16, 20, 0.1);
  box-shadow: 0 22px 66px rgba(13, 16, 20, 0.08);
}

.service-card {
  min-height: 380px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(13, 16, 20, 0.1);
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 42px;
}

.service-number {
  display: inline-flex;
  color: var(--copper);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
}

.service-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: var(--brick);
  background: rgba(201, 135, 46, 0.13);
  border: 1px solid rgba(201, 135, 46, 0.32);
}

.service-icon .icon {
  width: 24px;
  height: 24px;
}

.service-card h3,
.timeline h3,
.contact-card h3,
.project-card h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

.service-card p,
.timeline p,
.contact-copy p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 22px;
  color: var(--steel);
  font-size: 0.94rem;
  font-weight: 700;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

.method {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  background:
    radial-gradient(circle at 15% 10%, rgba(201, 135, 46, 0.18), transparent 26rem),
    linear-gradient(135deg, #10221f 0%, var(--steel) 56%, #171412 100%);
  color: var(--white);
}

.service-areas {
  background:
    radial-gradient(circle at 84% 12%, rgba(126, 46, 40, 0.12), transparent 24rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--paper) 100%);
}

.area-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.area-card,
.faq-item {
  min-height: 230px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(13, 16, 20, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(13, 16, 20, 0.08);
}

.area-card h3,
.faq-item h3 {
  margin-bottom: 12px;
  line-height: 1.15;
}

.area-card p,
.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.method-image {
  align-self: stretch;
  min-height: 620px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.method-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.08);
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.timeline div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.timeline span {
  display: inline-grid;
  grid-row: span 2;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: var(--gold);
  background: rgba(201, 135, 46, 0.13);
  border: 1px solid rgba(201, 135, 46, 0.32);
}

.timeline span .icon {
  width: 22px;
  height: 22px;
}

.timeline h3 {
  margin-bottom: 5px;
}

.timeline p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.projects {
  background:
    linear-gradient(180deg, var(--paper), #efe6da);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 24px;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 28px rgba(13, 16, 20, 0.06);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.filter-button.active {
  border-color: var(--steel);
  background: var(--steel);
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.project-card {
  position: relative;
  min-height: 380px;
  grid-column: span 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 22px 54px rgba(13, 16, 20, 0.16);
  transition: transform 220ms ease, opacity 180ms ease;
}

.project-card:nth-child(1),
.project-card:nth-child(6) {
  grid-column: span 6;
}

.project-card:hover {
  transform: translateY(-5px);
}

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

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.06);
  transition: transform 500ms ease, filter 500ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.12) contrast(1.1);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(13, 16, 20, 0.86), transparent 58%),
    linear-gradient(135deg, rgba(126, 46, 40, 0.26), transparent 48%);
}

.project-card div {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: var(--white);
}

.project-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
}

.statement {
  padding: clamp(42px, 7vw, 76px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, var(--brick), var(--green) 58%, #10221f);
  color: var(--white);
}

.statement-inner {
  justify-content: space-between;
  gap: 24px;
}

.statement p {
  max-width: 860px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.2vw, 4rem);
  line-height: 1.08;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  background:
    radial-gradient(circle at 12% 12%, rgba(201, 135, 46, 0.17), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f8f2e9 100%);
}

.faq {
  background:
    linear-gradient(180deg, #fffdf8 0%, #f4ecdf 100%);
}

.contact-copy {
  max-width: 760px;
}

.contact-copy p {
  max-width: 620px;
  margin-top: 24px;
  font-size: 1.06rem;
}

.contact-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(180deg, #fffdf8 0%, var(--mist) 100%);
  box-shadow: 0 22px 58px rgba(13, 16, 20, 0.1);
}

.contact-card h3 {
  margin-bottom: 0;
  font-size: 1.7rem;
}

.contact-card p,
.contact-card address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
}

.contact-card address,
.contact-card a {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-card a {
  width: fit-content;
  border-bottom: 1px solid rgba(17, 20, 23, 0.24);
  color: var(--steel);
  font-weight: 900;
}

.contact-card .icon {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--copper);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  background: #090b0e;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 900;
}

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

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

@media (max-width: 1080px) {
  .site-header {
    gap: 18px;
  }

  .hero,
  .intro,
  .method,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-panel {
    max-width: 760px;
  }

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

  .area-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 330px;
  }

  .project-card,
  .project-card:nth-child(1),
  .project-card:nth-child(6) {
    grid-column: span 6;
  }

  .method-image {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    padding: 10px 14px;
  }

  .brand img {
    width: 64px;
    height: 64px;
    padding: 7px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: 86px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(13, 16, 20, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

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

  .hero {
    min-height: 100svh;
    align-content: end;
    padding: 112px 16px 28px;
    gap: 18px;
  }

  .hero-media img {
    object-position: 62% 50%;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(13, 16, 20, 0.95), rgba(24, 52, 47, 0.82)),
      linear-gradient(0deg, rgba(13, 16, 20, 0.95), transparent 55%);
  }

  h1 {
    font-size: clamp(2.55rem, 13.5vw, 4.4rem);
    line-height: 0.94;
  }

  .hero-copy {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-actions .button,
  .statement-inner .button {
    width: 100%;
  }

  .hero-panel {
    display: grid;
    max-width: none;
  }

  .hero-panel div {
    padding: 18px;
  }

  .panel-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
  }

  .section-pad {
    padding: 58px 16px;
  }

  .section-heading h2,
  .method-content h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.03;
  }

  .intro {
    gap: 18px;
  }

  .service-grid,
  .project-grid,
  .area-grid,
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-card,
  .project-card,
  .project-card:nth-child(1),
  .project-card:nth-child(6) {
    grid-column: auto;
  }

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .service-top {
    margin-bottom: 24px;
  }

  .project-card {
    min-height: 320px;
  }

  .method {
    gap: 28px;
  }

  .method-image {
    min-height: 300px;
    aspect-ratio: 4 / 3;
  }

  .timeline div {
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
  }

  .timeline span {
    width: 38px;
    height: 38px;
  }

  .timeline span .icon {
    width: 19px;
    height: 19px;
  }

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

  .filter-button {
    width: 100%;
    min-height: 44px;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-card a,
  .contact-card address {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .statement p {
    font-size: clamp(1.75rem, 10vw, 3rem);
  }

  .site-footer {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 10px;
  }

  .brand img {
    width: 58px;
    height: 58px;
    padding: 7px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    top: 78px;
    left: 10px;
    right: 10px;
  }

  .hero {
    padding: 96px 12px 22px;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.25rem);
  }

  .button {
    min-height: 46px;
    padding: 12px 16px;
  }

  .section-pad {
    padding: 48px 12px;
  }

  .hero-panel div,
  .service-card,
  .area-card,
  .faq-item,
  .contact-card {
    padding: 18px;
  }

  .service-icon {
    width: 42px;
    height: 42px;
  }

  .service-icon .icon {
    width: 21px;
    height: 21px;
  }

  .project-card {
    min-height: 270px;
  }

  .project-card div {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

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