:root {
  --ink: #050505;
  --paper: #fbfaf7;
  --muted: #66615a;
  --line: #ddd7cc;
  --gold: #c5a24a;
  --gold-dark: #8a6b21;
  --soft: #f1eee8;
  --white: #ffffff;
  --max: 1160px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", Arial, Verdana, sans-serif;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: 0;
}

.brand-name {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.site-nav a {
  opacity: 0.86;
  transition: opacity 180ms ease, color 180ms ease;
}

.site-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.03);
  animation: imageSettle 1600ms ease-out forwards;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.48) 34%, rgba(0, 0, 0, 0.14) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 112px);
  padding-top: var(--header);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

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

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

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

.intro,
.services,
.sectors,
.contact {
  max-width: var(--max);
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
}

.section-label {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-copy p,
.section-heading p,
.notice-copy p,
.contact-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.section-heading {
  max-width: 800px;
  margin-bottom: clamp(34px, 6vw, 70px);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 80px 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-item span {
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.service-item p,
.step p,
.sector p {
  color: var(--muted);
  line-height: 1.55;
}

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

.approach-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.approach .section-heading h2 {
  color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.step {
  min-height: 230px;
  padding: 28px;
  background: var(--ink);
}

.step strong {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.step p {
  color: rgba(255, 255, 255, 0.72);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 4vw, 48px);
}

.sector {
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.notice {
  background: var(--soft);
}

.notice-copy {
  max-width: var(--max);
  margin: 0 auto;
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(34px, 7vw, 96px);
}

address {
  margin-top: 30px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-self: start;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid rgba(5, 5, 5, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: #2a2824;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8d2c7;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 13px 12px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(197, 162, 74, 0.18);
}

.full {
  grid-column: 1 / -1;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 1px;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note.is-ok {
  color: #356b2f;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

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

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

@keyframes imageSettle {
  to {
    transform: scale(1);
  }
}

@media (max-width: 920px) {
  .site-nav {
    position: absolute;
    inset: var(--header) 18px auto;
    display: grid;
    gap: 4px;
    padding: 16px;
    color: var(--ink);
    background: rgba(251, 250, 247, 0.96);
    border: 1px solid rgba(5, 5, 5, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .nav-toggle {
    display: block;
  }

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

  .service-item {
    grid-template-columns: 58px 1fr;
  }

  .service-item p {
    grid-column: 2;
  }

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

@media (max-width: 640px) {
  :root {
    --header: 68px;
  }

  .brand-name {
    font-size: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 94svh;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.58) 62%, rgba(0, 0, 0, 0.26) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0));
  }

  .hero-content {
    margin-left: 18px;
    padding-right: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-item,
  .steps,
  .sector-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-item p {
    grid-column: auto;
  }

  .service-item {
    gap: 10px;
  }

  .step {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
