:root {
  --ink: #111318;
  --ink-soft: #1a1d24;
  --paper: #f4f3ef;
  --white: #ffffff;
  --gold: #efb94f;
  --gold-dark: #b87e18;
  --muted: #6c7078;
  --line: rgba(17, 19, 24, 0.15);
  --max: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--gold);
  padding: .75rem 1rem;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(calc(100% - 4rem), 1360px);
  min-height: 132px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(370px, 1fr) auto auto;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 0 0 100vmax var(--white);
  clip-path: inset(0 -100vmax);
}
.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 2%;
  width: clamp(370px, 32vw, 460px);
}
.brand-seal {
  display: block;
  width: 26%;
  height: auto;
  flex: 0 0 auto;
  filter: contrast(1.1) saturate(1.12);
}
.brand-wordmark-text {
  display: inline-flex;
  align-items: baseline;
  flex: 1 1 auto;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 4.2vw, 4rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.brand-wordmark-text > span { color: var(--gold); }
.brand-wordmark-text small {
  margin-left: .28em;
  font-family: inherit;
  font-size: .47em;
  font-weight: 600;
  letter-spacing: -.025em;
}
nav { display: flex; gap: clamp(1rem, 1.7vw, 2rem); }
nav a, .header-contact {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
nav a { color: #3e424a; }
nav a:hover, nav a:focus-visible { color: var(--gold-dark); }
.header-contact {
  justify-self: end;
  padding-bottom: .25rem;
  border-bottom: 2px solid var(--gold);
}

.hero {
  position: relative;
  overflow: hidden;
  width: min(calc(100% - 4rem), var(--max));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17,19,24,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,19,24,.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
}
.eyebrow, .section-index {
  margin: 0 0 1.5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: .75rem; }
.eyebrow span { width: 2.75rem; height: 2px; background: var(--gold-dark); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 1.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 6.4vw, 6rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}
.lead {
  max-width: 650px;
  margin-bottom: 2.2rem;
  color: #444850;
  font-size: 1.18rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 54px;
  padding: 0 1.25rem;
  text-decoration: none;
  font-weight: 700;
}
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: var(--gold-dark); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.4); }

.technical-panel {
  position: relative;
  background: var(--ink);
  color: var(--white);
  box-shadow: 22px 22px 0 var(--gold);
}
.technical-panel::after {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  right: -1px;
  top: -1px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.panel-head, .panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 1.25rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.panel-head { border-bottom: 1px solid rgba(255,255,255,.18); }
.panel-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 38px;
}
.panel-brand-seal {
  display: block;
  width: 42px;
  height: 32px;
  flex: 0 0 auto;
}
.panel-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: none;
  white-space: nowrap;
}
.panel-wordmark > span { color: var(--gold); }
.panel-wordmark small {
  margin-left: .25em;
  font: inherit;
  font-size: .55em;
}
.system-line {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.system-number { color: var(--gold); font-family: Georgia, serif; font-size: 1.35rem; }
.system-line strong {
  display: block;
  margin-bottom: .15rem;
  letter-spacing: .08em;
}
.system-line small { color: #abb0b9; font-size: .83rem; }
.panel-foot { color: #888e98; }

.profile-strip {
  background: var(--gold);
  min-height: 64px;
  padding: 0 max(2rem, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.profile-strip span {
  position: relative;
  padding-left: 1.15rem;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.profile-strip span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--ink);
  transform: translateY(-50%) rotate(45deg);
}

.scope-section {
  width: min(calc(100% - 4rem), var(--max));
  margin: 0 auto;
  padding: 8rem 0 1rem;
}
.scope-heading {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}
.scope-heading h2 { max-width: 900px; }
.scope-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.scope-track article {
  position: relative;
  min-height: 245px;
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--line);
}
.scope-track article:last-child { border-right: 0; }
.scope-track article::before {
  content: "";
  position: absolute;
  left: -.32rem;
  top: -.32rem;
  width: .64rem;
  height: .64rem;
  background: var(--gold);
  transform: rotate(45deg);
}
.scope-track article:first-child::before { left: 0; }
.scope-track span {
  display: block;
  margin-bottom: 4rem;
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}
.scope-track h3 { margin-bottom: .6rem; font-family: Georgia, serif; font-size: 1.35rem; }
.scope-track p { margin: 0; color: var(--muted); font-size: .9rem; }

.section {
  width: min(calc(100% - 4rem), var(--max));
  margin: 0 auto;
  padding: 8rem 0;
}
.section-intro {
  display: grid;
  grid-template-columns: .58fr 1.42fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4.5rem;
}
.section-index { color: var(--gold-dark); }
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 4.15rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.045em;
}
.section-intro > p:last-child { color: var(--muted); font-size: 1.05rem; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  min-height: 360px;
  padding: 2.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.26);
}
.card-number {
  display: block;
  margin-bottom: 4rem;
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-size: 1.5rem;
}
.service-card h3 {
  margin-bottom: 1rem;
  font-family: Georgia, serif;
  font-size: 1.8rem;
}
.service-card p { max-width: 46ch; color: var(--muted); }
.service-card ul { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.service-card li {
  padding: .55rem 0;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 700;
}
.accent-card { background: var(--gold); }
.accent-card .card-number, .accent-card p { color: var(--ink); }
.accent-card li { border-color: rgba(17,19,24,.22); }

.method-section {
  background: var(--ink);
  color: var(--white);
  padding: 8rem max(2rem, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(4rem, 8vw, 9rem);
}
.section-index.light { color: var(--gold); }
.method-copy > p:last-child { max-width: 57ch; color: #aeb3bd; font-size: 1.06rem; }
.profile-signature {
  margin-top: 2.3rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}
.profile-signature strong, .profile-signature span { display: block; }
.profile-signature strong { font-family: Georgia, serif; font-size: 1.25rem; }
.profile-signature span { margin-top: .2rem; color: #9ea4ae; font-size: .85rem; }
.method-list { margin: 0; padding: 0; list-style: none; }
.method-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.method-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.method-list li > span { color: var(--gold); font-family: Georgia, serif; font-size: 1.35rem; }
.method-list strong { font-size: 1.1rem; }
.method-list p { margin: .35rem 0 0; color: #9ea4ae; }

.fields-section {
  width: min(calc(100% - 4rem), var(--max));
  margin: 0 auto;
  padding: 8rem 0 1rem;
}
.fields-heading {
  display: grid;
  grid-template-columns: .55fr 1fr .75fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}
.fields-heading > p:last-child { color: var(--muted); }
.fields-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.fields-grid article { min-height: 265px; padding: 1.5rem; background: var(--white); }
.fields-grid span {
  display: block;
  margin-bottom: 4rem;
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-size: 1.3rem;
}
.fields-grid h3 { font-family: Georgia, serif; font-size: 1.35rem; }
.fields-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.references-section {
  width: min(calc(100% - 4rem), var(--max));
  margin: 0 auto;
  padding: 8rem 0 1rem;
}
.references-heading {
  display: grid;
  grid-template-columns: .55fr 1.15fr .85fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}
.references-heading > p:last-child { color: var(--muted); }
.reference-feature-grid,
.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.reference-card {
  min-height: 340px;
  padding: 2rem;
  background: var(--white);
}
.reference-feature-grid .reference-card { min-height: 430px; padding: clamp(2rem, 4vw, 3.5rem); }
.reference-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3.75rem;
  color: var(--gold-dark);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.reference-card h3 {
  margin-bottom: .8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  font-weight: 500;
  line-height: 1.08;
}
.reference-building {
  max-width: 54ch;
  margin-bottom: 1.5rem;
  color: #41454d;
  font-size: 1.02rem;
}
.reference-card > p:last-child { max-width: 68ch; margin-bottom: 0; color: var(--muted); }
.reference-card > p:last-child strong { color: var(--ink); }
.reference-card-dark { background: var(--ink); color: var(--white); }
.reference-card-dark .reference-meta { color: var(--gold); }
.reference-card-dark .reference-building { color: #d0d3d8; }
.reference-card-dark > p:last-child { color: #aeb3bd; }
.reference-card-dark > p:last-child strong { color: var(--white); }
.reference-card-accent { background: var(--gold); }
.reference-card-accent .reference-meta,
.reference-card-accent > p:last-child { color: var(--ink); }
.reference-spectrum {
  margin-top: 4rem;
  padding: 3rem;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
  background: #e8e6df;
}
.reference-spectrum h3 {
  max-width: 15ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
}
.reference-spectrum ul { margin: 0; padding: 0; list-style: none; }
.reference-spectrum li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.reference-spectrum li:last-child { border-bottom: 1px solid var(--line); }
.reference-spectrum li span { color: var(--muted); }
.reference-note {
  max-width: 100ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.contact-section {
  width: min(calc(100% - 4rem), var(--max));
  margin: 0 auto;
  padding: 8rem 0;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(4rem, 10vw, 10rem);
}
.contact-card {
  padding: 2rem;
  border-top: 5px solid var(--gold);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(17,19,24,.08);
}
.contact-card > p {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-card h3 { font-family: Georgia, serif; font-size: 1.85rem; }
.contact-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
}
.contact-link:hover, .contact-link:focus-visible { color: var(--gold-dark); }
address {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-style: normal;
}

footer {
  background: #090b0e;
  color: var(--white);
  padding: 3.5rem max(2rem, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}
.footer-brand {
  padding: 0;
  background: transparent;
}
.footer-brand .brand-lockup {
  width: clamp(340px, 36vw, 470px);
  gap: 3%;
}
.footer-brand .brand-seal { width: 24%; }
.footer-brand .brand-wordmark-text {
  color: var(--white);
  font-size: clamp(2.7rem, 3.5vw, 3.55rem);
}
.footer-brand .brand-wordmark-text > span { color: var(--gold); }
.footer-brand .brand-wordmark-text small { color: var(--white); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem 2rem; color: #9aa0aa; font-size: .78rem; }

@media (max-width: 1100px) {
  .site-header { width: min(calc(100% - 2rem), var(--max)); grid-template-columns: 1fr auto; gap: 1rem; }
  nav { display: none; }
  .brand-lockup { width: clamp(300px, 48vw, 410px); }
}

@media (max-width: 900px) {
  .hero {
    width: min(calc(100% - 2rem), var(--max));
    min-height: auto;
    padding: 5.5rem 0 6rem;
    grid-template-columns: 1fr;
  }
  .technical-panel { max-width: 620px; }
  .profile-strip { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
  .section, .scope-section, .fields-section, .references-section, .contact-section { width: min(calc(100% - 2rem), var(--max)); padding: 6rem 0; }
  .section-intro, .scope-heading, .fields-heading, .references-heading { grid-template-columns: 1fr; gap: 1rem; }
  .scope-track { grid-template-columns: repeat(2, 1fr); border-bottom: 0; }
  .scope-track article { border-bottom: 1px solid var(--line); }
  .fields-grid { grid-template-columns: repeat(2, 1fr); }
  .method-section, .contact-section, .reference-spectrum { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { min-height: 104px; }
  .brand-lockup { width: clamp(205px, 58vw, 290px); }
  .brand-wordmark-text { font-size: clamp(2.15rem, 10vw, 2.9rem); }
  .header-contact { font-size: .72rem; }
  h1 { font-size: clamp(2.75rem, 15vw, 4rem); }
  .lead { font-size: 1.05rem; }
  .hero-actions, .button { width: 100%; }
  .profile-strip { grid-template-columns: 1fr; }
  .scope-track, .fields-grid { grid-template-columns: 1fr; }
  .reference-feature-grid, .reference-grid { grid-template-columns: 1fr; }
  .reference-card, .reference-feature-grid .reference-card { min-height: auto; padding: 1.5rem; }
  .reference-meta { margin-bottom: 2.5rem; }
  .reference-spectrum { padding: 1.5rem; gap: 1.5rem; }
  .reference-spectrum li { grid-template-columns: 1fr; gap: .25rem; }
  .scope-track article { min-height: 210px; border-right: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 1.5rem; }
  .card-number { margin-bottom: 2.5rem; }
  .method-section { padding: 6rem 1rem; }
  .contact-section { gap: 2rem; }
  footer { align-items: flex-start; flex-direction: column; }
  .footer-brand .brand-wordmark-text { font-size: clamp(2.05rem, 10vw, 2.45rem); }
  .footer-meta { justify-content: flex-start; }
}

@media (max-width: 460px) {
  .site-header { grid-template-columns: 1fr; }
  .site-header .brand { justify-self: center; }
  .site-header .brand-lockup { width: min(285px, 88vw); }
  .header-contact { display: none; }
  .footer-brand .brand-lockup { width: min(300px, 76vw); }
}

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