:root {
  --ink: #252729;
  --text: #3e3d3a;
  --muted: #746e66;
  --line: #ded3c4;
  --paper: #f7f3ee;
  --surface: #fffdfa;
  --soft: #eee5d8;
  --soft-warm: #d8c7af;
  --deep: #252729;
  --petrol: #0f2f33;
  --petrol-2: #0b2528;
  --sage: #d8c7af;
  --brass: #a10f19;
  --clay: #a10f19;
  --crimson: #a10f19;
  --sand: #d8c7af;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(37, 39, 41, 0.14);
  --focus: #a10f19;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
}

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

.site-shell {
  min-height: 100vh;
}

.visual-panel {
  position: relative;
  display: grid;
  min-height: 44vh;
  overflow: hidden;
  background: var(--petrol);
  color: var(--white);
}

.visual-panel::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 47, 51, 0.18), rgba(37, 39, 41, 0.84)),
    linear-gradient(120deg, rgba(161, 15, 25, 0.26), transparent 48%);
  content: "";
}

.visual-panel img.keyvisual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  opacity: 0.95;
}

.brand-box,
.visual-copy,
.visual-signals {
  position: relative;
  z-index: 1;
}

.brand-box {
  align-self: start;
  padding: 24px;
}

.brand-box img {
  display: block;
  width: min(360px, 76vw);
  height: auto;
  border: 1px solid rgba(216, 199, 175, 0.72);
  background: rgba(247, 243, 238, 0.96);
  padding: 8px 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.visual-copy {
  align-self: end;
  max-width: 360px;
  padding: 0 24px 22px;
}

.visual-kicker {
  margin: 0 0 10px;
  color: var(--sand);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.45;
}

.visual-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(330px, calc(100% - 48px));
  margin: 0 24px 24px;
  border: 1px solid rgba(216, 199, 175, 0.26);
  background: rgba(37, 39, 41, 0.76);
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.visual-signals span {
  border: 1px solid rgba(216, 199, 175, 0.26);
  background: rgba(247, 243, 238, 0.08);
  padding: 7px 10px;
  color: rgba(247, 243, 238, 0.88);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.content-panel {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 199, 175, 0.72);
  background: rgba(247, 243, 238, 0.94);
  padding: 14px clamp(20px, 4vw, 48px);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-name {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.35vw, 18px);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.nav a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: var(--crimson);
  color: var(--crimson);
}

.main-content {
  flex: 1;
}

.section {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 64px);
}

.section + .section {
  border-top: 1px solid rgba(216, 199, 175, 0.68);
}

.section.alt {
  background: linear-gradient(180deg, var(--soft), var(--paper));
}

.section.deep {
  background:
    linear-gradient(135deg, rgba(161, 15, 25, 0.18), transparent 38%),
    var(--deep);
  color: var(--paper);
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.narrow {
  width: min(780px, 100%);
  margin: 0 auto;
}

.center {
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--crimson);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.deep .eyebrow {
  color: var(--sand);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
}

.deep h1,
.deep h2,
.deep h3 {
  color: var(--white);
}

h1 {
  max-width: 940px;
  font-size: clamp(1.95rem, 3.35vw, 2.85rem);
  font-weight: 800;
}

.page-title {
  font-size: clamp(1.8rem, 2.7vw, 2.25rem);
}

h2 {
  font-size: clamp(1.5rem, 2.55vw, 2.2rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
}

.lead {
  margin: 24px 0 0;
  max-width: 760px;
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  line-height: 1.72;
}

.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.subtle {
  color: var(--muted);
}

.deep .subtle {
  color: #d8cec0;
}

.hero,
.page-hero {
  padding-top: clamp(62px, 8vw, 108px);
}

.hero-grid,
.page-hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.page-hero-grid {
  gap: clamp(28px, 4vw, 48px);
}

.hero-note,
.insight-panel {
  border-left: 4px solid var(--brass);
  background: rgba(255, 253, 250, 0.64);
  padding: clamp(20px, 3vw, 28px);
  color: var(--text);
  box-shadow: 0 18px 45px rgba(37, 39, 41, 0.07);
}

.hero-note {
  font-size: 1.04rem;
}

.insight-panel .lead,
.insight-panel .hero-note {
  border: 0;
  margin: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.metric {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.metric strong {
  display: block;
  color: var(--crimson);
  font-size: 1.55rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.page-visual {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.page-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(37, 39, 41, 0.56));
  content: "";
}

.page-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.page-visual figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.center .actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-width: 220px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--crimson);
  border-radius: 4px;
  background: var(--crimson);
  color: var(--white);
  padding: 0 22px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.deep .button.secondary {
  color: var(--white);
}

.button.secondary:hover {
  color: var(--white);
}

.grid {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 12px 34px rgba(37, 39, 41, 0.055);
}

.card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  background: var(--brass);
  content: "";
}

.alt .card {
  background: rgba(255, 253, 250, 0.84);
}

.deep .card {
  border-color: rgba(216, 199, 175, 0.22);
  background: rgba(247, 243, 238, 0.07);
  box-shadow: none;
}

.card p {
  margin: 14px 0 0;
  font-size: 0.98rem;
  line-height: 1.62;
}

.card h2 {
  font-size: clamp(1.25rem, 1.5vw, 1.62rem);
  line-height: 1.22;
}

.card h3 {
  font-size: clamp(1.08rem, 1.2vw, 1.22rem);
  line-height: 1.24;
}

.card-label {
  margin: 0 0 14px;
  color: var(--crimson);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.deep .card-label {
  color: var(--sand);
}

.service-list,
.plain-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.service-list li + li,
.plain-list li + li {
  margin-top: 8px;
}

.split {
  display: grid;
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.statement {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 22px;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.8vw, 1.36rem);
  font-weight: 800;
  line-height: 1.35;
}

.deep .statement {
  border-color: rgba(216, 199, 175, 0.24);
  color: var(--white);
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
}

.process .card::after {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  right: 22px;
  top: 20px;
  color: rgba(161, 15, 25, 0.15);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.profile-box {
  display: grid;
  gap: 20px;
  border-left: 4px solid var(--brass);
  background: var(--surface);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
}

.legal-copy,
.rich-text {
  text-align: left;
}

.main-content > .legal-copy {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 64px);
}

.legal-copy h2,
.rich-text h2 {
  margin-top: 44px;
  font-size: 1.55rem;
}

.legal-copy h3,
.rich-text h3 {
  margin-top: 28px;
  color: var(--crimson);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-copy p,
.rich-text p {
  margin: 12px 0;
}

.contact-grid {
  display: grid;
  gap: 42px;
  margin-top: 48px;
}

.contact-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li + li {
  margin-top: 10px;
}

.contact-list a,
.footer-links a {
  text-decoration: none;
}

.contact-list a:hover,
.footer-links a:hover {
  color: var(--crimson);
}

.form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(22px, 3vw, 32px);
  text-align: left;
  box-shadow: 0 16px 42px rgba(37, 39, 41, 0.07);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  padding: 13px 14px;
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #eee5d8;
  padding: 34px clamp(20px, 5vw, 64px);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (min-width: 980px) {
  .site-shell {
    display: grid;
    grid-template-columns: minmax(300px, 30vw) 1fr;
  }

  .visual-panel {
    align-self: start;
    height: 100vh;
    min-height: 100vh;
    position: sticky;
    top: 0;
    grid-template-rows: auto 1fr auto auto;
  }

  .brand-box {
    padding: 34px;
  }

  .visual-copy {
    padding: 0 34px 24px;
  }

  .visual-signals {
    margin: 0 34px 34px;
  }

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

  .page-hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.64fr);
  }
}

@media (max-width: 820px) {
  body {
    line-height: 1.58;
  }

  .visual-panel {
    min-height: clamp(330px, 48vh, 420px);
  }

  .brand-box {
    padding: 22px 20px 0;
  }

  .brand-box img {
    width: min(310px, 76vw);
    padding: 7px 9px;
  }

  .visual-copy {
    max-width: 340px;
    padding: 0 20px 18px;
  }

  .visual-kicker {
    margin-bottom: 8px;
    font-size: 0.7rem;
  }

  .visual-copy p:last-child {
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .visual-signals {
    width: min(340px, calc(100% - 40px));
    margin: 0 20px 22px;
    padding: 12px;
  }

  .visual-signals span {
    padding: 7px 9px;
    font-size: 0.68rem;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .topbar {
    padding: 15px 20px 12px;
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .nav {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 0.7rem;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
  }

  .button {
    min-height: 48px;
    min-width: 0;
    width: 100%;
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .metric-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section {
    padding: 48px 20px;
  }

  .hero,
  .page-hero {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(1.95rem, 8vw, 2.25rem);
    line-height: 1.08;
  }

  .page-title {
    font-size: clamp(1.82rem, 7.2vw, 2.12rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(1.48rem, 6vw, 1.82rem);
    line-height: 1.16;
  }

  h3 {
    font-size: 1.08rem;
    line-height: 1.22;
  }

  .lead {
    margin-top: 20px;
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .contact-grid {
    gap: 28px;
  }

  .insight-panel,
  .hero-note {
    padding: 18px;
  }

  .page-visual {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .page-visual img {
    min-height: 220px;
  }

  .page-visual figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 0.82rem;
  }

  .grid {
    gap: 14px;
    margin-top: 28px;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .card,
  .profile-box,
  .form {
    padding: 20px;
  }

  .statement {
    margin-top: 22px;
    padding-top: 18px;
    font-size: 1.08rem;
  }

  .contact-grid {
    margin-top: 34px;
  }

  .field input,
  .field textarea,
  .field select {
    padding: 12px 13px;
  }

  .site-footer {
    padding: 28px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 460px) {
  .visual-panel {
    min-height: clamp(315px, 45vh, 380px);
  }

  .brand-box img {
    width: min(285px, 76vw);
  }

  .section {
    padding: 42px 18px;
  }

  .hero,
  .page-hero {
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(1.78rem, 7.6vw, 2.02rem);
  }

  .page-title {
    font-size: clamp(1.66rem, 7vw, 1.95rem);
  }

  .lead {
    font-size: 0.98rem;
  }

  .button {
    min-height: 46px;
  }

  .page-visual {
    min-height: 190px;
  }

  .page-visual img {
    min-height: 190px;
  }

  .visual-copy {
    padding-bottom: 16px;
  }

  .visual-signals {
    margin-bottom: 18px;
  }
}
