:root {
  --orange: #ff6600;
  --orange-hot: #ff7a1a;
  --black: #0a0a0a;
  --ink: #141414;
  --paper: #f4f2ee;
  --paper-deep: #e8e4de;
  --line: #cfc9c0;
  --white: #f7f5f2;
  --error: #8d1d00;
  --header-height: 4.5rem;
  --wrap: 72rem;
  --font-body: "Barlow", "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
.brand-name,
.button,
.eyebrow,
.service-index,
.area-home,
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
}

.wrap {
  width: min(100% - 3rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--orange);
  color: var(--black);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.mark {
  display: block;
  position: relative;
  overflow: hidden;
}

.mark img {
  position: absolute;
  width: 190.9%;
  height: 137.3%;
  max-width: none;
  left: -45.45%;
  top: -18.76%;
}

.mark-small {
  width: 3.25rem;
  aspect-ratio: 550 / 437;
  flex: 0 0 auto;
}

.mark-hero {
  width: min(100%, 28rem);
  aspect-ratio: 550 / 437;
}

.site-header {
  background: var(--black);
  color: var(--white);
  border-bottom: 3px solid var(--orange);
  height: var(--header-height);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand-name {
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--orange);
}

.hero {
  background: var(--black);
  color: var(--white);
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: flex-start;
  padding: 3rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--orange);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1rem;
  max-width: 20ch;
  font-size: clamp(3.4rem, 6.4vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.015em;
}

.lede {
  max-width: 36rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.65rem 1.2rem;
  border: 0;
  border-radius: 0;
  background: var(--orange);
  color: var(--black);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.button:hover {
  background: var(--orange-hot);
}

.button:active {
  transform: translateY(1px);
}

.button:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.hero .button:focus-visible {
  outline-color: var(--white);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.services,
.area,
.consult,
.site-footer {
  padding: 4.5rem 0;
}

.services h2,
.area h2,
.consult h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
}

.services h2 {
  max-width: 14ch;
}

.service-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 28rem;
  border-top: 4px solid var(--orange);
}

.service {
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.service-lead {
  grid-row: 1 / span 2;
  background: var(--black);
  color: var(--white);
  border-bottom: 0;
  padding: 2rem 2rem 2.25rem;
}

.service h3 {
  margin-bottom: 0.45rem;
  font-size: 2.4rem;
  line-height: 0.95;
}

.service-lead h3 {
  font-size: 3.4rem;
}

.service p:last-child {
  max-width: 32ch;
  margin-bottom: 0;
  font-size: 1.1rem;
}

.service-index {
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.service-lead .service-index {
  color: var(--orange);
}

.area {
  background: var(--paper-deep);
  border-top: 4px solid var(--orange);
}

.area-home {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  border-bottom: 4px solid var(--orange);
  padding-bottom: 0.2rem;
}

.area h2 {
  max-width: 16ch;
  margin-bottom: 1rem;
}

.area-copy {
  max-width: 42rem;
  margin-bottom: 0;
  font-size: 1.15rem;
}

.consult-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.consult-intro p {
  max-width: 32ch;
  margin-bottom: 0;
  font-size: 1.15rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field label {
  font-weight: 600;
  font-size: 0.98rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.8rem;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

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

.field-error {
  margin: 0;
  color: var(--error);
  font-size: 0.92rem;
  font-weight: 600;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  font-weight: 600;
}

.form-status.is-error {
  color: var(--error);
}

.site-footer {
  padding-top: 2rem;
  padding-bottom: 2.25rem;
  border-top: 4px solid var(--orange);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.footer-name {
  margin-bottom: 0.15rem;
  font-size: 2rem;
  line-height: 1;
}

.footer-role {
  margin-bottom: 0;
  font-weight: 600;
}

.footer-contact {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 860px) {
  .site-header {
    height: auto;
  }

  .header-bar {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 0;
    row-gap: 0.55rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 0.45rem;
    border-top: 1px solid #2a2a2a;
  }

  .hero {
    min-height: 0;
    align-items: start;
    padding-top: 1.75rem;
  }

  .hero-grid,
  .service-layout,
  .consult-grid {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    display: none;
  }

  .service-lead {
    grid-row: auto;
  }

  .service-layout {
    min-height: 0;
  }

  .footer-grid,
  .footer-contact {
    text-align: left;
  }

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

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

  .button:active {
    transform: none;
  }
}
