:root {
  --ink: #111313;
  --paper: #f4f2ed;
  --white: #ffffff;
  --muted: #6f716f;
  --line: #d8d5ce;
  --brand: #a5322e;
  --brand-dark: #681e1b;
  --brass: #b9965b;
  --shell: 1180px;
  --pad: 56px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--brand);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(calc(100% - (2 * var(--pad))), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 14px var(--pad);
  color: var(--white);
  background: rgba(17, 19, 19, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 190px;
  height: 56px;
  overflow: hidden;
  background: var(--white);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.site-nav a {
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #f0c477;
}

.menu-toggle {
  display: none;
  min-width: 72px;
  min-height: 44px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: min(820px, 86svh);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

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

.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: rgba(8, 10, 10, 0.52);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(820px, 86svh);
  padding-top: 150px;
  padding-bottom: clamp(58px, 8vh, 96px);
}

.eyebrow {
  margin: 0 0 18px;
  color: #efc981;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.02;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: 7.2rem;
}

h2 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: 4.1rem;
}

h3 {
  line-height: 1.25;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.22rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--brand);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #c23e38;
}

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

.button-quiet:hover,
.button-quiet:focus-visible {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.hero-location {
  position: absolute;
  right: var(--pad);
  bottom: 34px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section {
  padding-block: 118px;
}

.intro {
  background: var(--paper);
}

.intro-grid,
.qualification-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: clamp(44px, 8vw, 120px);
}

.intro-copy {
  padding-top: 40px;
  color: #3f4240;
  font-size: 1.08rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(54px, 8vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

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

.facts strong,
.facts span {
  display: block;
}

.facts strong {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
}

.facts span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.project-tool {
  color: var(--white);
  background: #171b1a;
  border-top: 6px solid var(--brand);
}

.project-tool-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 64px;
}

.project-tool-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.project-tool-heading > p {
  max-width: 470px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

.project-tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.project-form {
  padding: 42px 48px 48px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.project-form fieldset {
  margin: 0 0 38px;
  padding: 0;
  border: 0;
}

.project-form legend {
  width: 100%;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-form legend span {
  display: inline-block;
  min-width: 34px;
  color: #efc981;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.choice-grid button {
  min-height: 54px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.68);
  background: #171b1a;
  border: 0;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.choice-grid button:hover,
.choice-grid button:focus-visible {
  color: var(--white);
  background: #242a28;
}

.choice-grid button[aria-pressed="true"] {
  color: #171b1a;
  background: #efc981;
}

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

.project-details legend {
  grid-column: 1 / -1;
}

.project-details label span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.74rem;
  font-weight: 700;
}

.project-details input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--white);
  background: #101312;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  font: inherit;
}

.project-details input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.project-submit {
  min-width: 270px;
}

.project-output {
  display: grid;
  min-height: 560px;
  padding: 42px 0 48px 48px;
}

.output-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 38px;
  background: var(--paper);
  color: var(--ink);
  border-top: 6px solid var(--brass);
}

.output-placeholder span,
.project-report header p {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.output-placeholder strong {
  max-width: 470px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.08;
}

.output-placeholder p {
  max-width: 420px;
  margin: 18px 0 0;
  color: var(--muted);
}

.project-report {
  min-height: 100%;
  padding: 38px;
  color: var(--ink);
  background: var(--paper);
  border-top: 6px solid var(--brass);
}

.project-report[hidden] {
  display: none;
}

.project-report header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.project-report header strong,
.project-report header span {
  display: block;
}

.project-report header strong {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  font-weight: 400;
  line-height: 1.12;
}

.project-report header span {
  color: var(--muted);
}

.project-report dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.project-report dl div {
  min-width: 0;
  padding: 22px 18px 22px 0;
}

.project-report dt,
.project-report section h3 {
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-report dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.project-report section {
  padding-block: 26px;
}

.project-report section h3 {
  margin-bottom: 15px;
}

.project-report ul {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: report-actions;
}

.project-report li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 10px 0;
  color: #3f4240;
  border-bottom: 1px solid var(--line);
  counter-increment: report-actions;
}

.project-report li::before {
  color: var(--brand);
  font-weight: 700;
  content: "0" counter(report-actions);
}

.project-report footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
}

.project-report footer p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.report-print {
  flex: 0 0 auto;
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
  cursor: pointer;
}

.report-print:hover,
.report-print:focus-visible {
  color: var(--white);
  background: var(--ink);
}

.services {
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 20px;
  min-height: 240px;
  padding: 38px 34px 38px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article:nth-child(odd) {
  padding-right: 48px;
  border-right: 1px solid var(--line);
}

.service-list article:nth-child(even) {
  padding-left: 48px;
}

.service-number {
  grid-row: 1 / span 2;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 700;
}

.service-list h3 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
}

.service-list p {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--muted);
}

.qualifications {
  color: var(--white);
  background: var(--brand-dark);
}

.qualifications h2 {
  color: var(--white);
}

.qualification-intro {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
}

.qualification-data {
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.data-group {
  padding-block: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.data-group h3 {
  margin-bottom: 20px;
  color: #efc981;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.data-group p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.code-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
}

.code-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  background: var(--brand-dark);
}

.code-list span {
  color: #efc981;
}

.method {
  background: var(--paper);
}

.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.method-list li {
  display: grid;
  grid-template-columns: 70px minmax(180px, 0.7fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.method-list span {
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 700;
}

.method-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.method-list p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.contact h2 {
  margin-bottom: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-details a {
  width: 100%;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 160ms ease;
}

.office-contact {
  width: 100%;
  padding-block: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.office-contact a {
  padding: 7px 0;
  border-bottom: 0;
}

.contact-label {
  margin-bottom: 5px;
  color: #efc981;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: #efc981;
}

.site-footer {
  color: rgba(255, 255, 255, 0.62);
  background: #090a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer-inner p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid #efc981;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  :root {
    --pad: 28px;
  }

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

  .brand {
    width: 152px;
    height: 48px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 18px var(--pad) 28px;
    color: var(--white);
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

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

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero,
  .hero-content {
    min-height: min(760px, 82svh);
  }

  .hero-content {
    padding-top: 122px;
  }

  h1 {
    font-size: 5.1rem;
  }

  h2 {
    font-size: 3.25rem;
  }

  .section {
    padding-block: 84px;
  }

  .intro-grid,
  .qualification-grid,
  .contact-grid,
  .project-tool-heading,
  .project-tool-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-tool-heading {
    margin-bottom: 42px;
  }

  .project-form {
    padding: 38px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .project-output {
    min-height: 0;
    padding: 38px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-heading h2 {
    max-width: 100%;
  }

  .intro-copy,
  .contact-details {
    padding-top: 0;
  }

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

  .service-list article,
  .service-list article:nth-child(odd),
  .service-list article:nth-child(even) {
    min-height: 0;
    padding: 30px 0;
    border-right: 0;
  }

  .method-list li {
    grid-template-columns: 54px 1fr;
  }

  .method-list p {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  :root {
    --pad: 20px;
  }

  body {
    font-size: 15px;
  }

  .hero-media {
    object-position: 61% center;
  }

  .hero,
  .hero-content {
    min-height: 78svh;
  }

  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .section {
    padding-block: 66px;
  }

  .choice-grid,
  .choice-grid-three,
  .project-details,
  .project-report dl {
    grid-template-columns: 1fr;
  }

  .project-submit {
    width: 100%;
    min-width: 0;
  }

  .output-placeholder,
  .project-report {
    padding: 26px 22px;
  }

  .output-placeholder {
    min-height: 360px;
  }

  .output-placeholder strong {
    font-size: 2rem;
  }

  .project-report dl div {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .project-report footer {
    align-items: stretch;
    flex-direction: column;
  }

  .report-print {
    width: 100%;
  }

  .hero-location {
    display: none;
  }

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

  .facts div,
  .facts div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .facts span {
    margin-top: 0;
    text-align: right;
  }

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

  .method-list li {
    gap: 12px;
  }

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

@media print {
  @page {
    size: A4;
    margin: 18mm;
  }

  body {
    color: #111313;
    background: #ffffff;
  }

  body * {
    visibility: hidden;
  }

  .project-report,
  .project-report * {
    visibility: visible;
  }

  .project-report {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 0;
    padding: 0;
    background: #ffffff;
    border-top: 5px solid #a5322e;
  }

  .project-report footer {
    margin-top: 32px;
  }

  .report-print {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
