:root {
  color-scheme: light;
  --ink: #14211c;
  --ink-soft: #45534d;
  --paper: #f5f4ef;
  --paper-deep: #e7e5dc;
  --white: #fffefa;
  --green: #143c32;
  --green-mid: #285f4f;
  --mint: #c8dfd6;
  --line: #c9cbc3;
  --focus: #b34b22;
  --shell: min(1180px, calc(100% - 48px));
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

address {
  font-style: normal;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 244, 239, 0.96);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

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

.header-context {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.header-context a {
  color: var(--ink);
  font-weight: 700;
}

.hero {
  padding: clamp(78px, 12vw, 156px) 0 clamp(76px, 10vw, 128px);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: clamp(64px, 10vw, 144px);
  align-items: end;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--green-mid);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 34px;
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 700px;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 2vw, 1.36rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--green-mid);
  text-decoration: none;
}

.text-link {
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-note {
  padding: 30px 0 2px 30px;
  border-top: 2px solid var(--green);
  border-left: 1px solid var(--line);
}

.hero-note-label {
  margin-bottom: 14px;
  color: var(--green-mid);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-note-text {
  margin-bottom: 34px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.35;
}

.compact-facts {
  margin-bottom: 0;
}

.compact-facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.compact-facts dt {
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.compact-facts dd {
  margin-bottom: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.section {
  padding: clamp(76px, 10vw, 128px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 64px minmax(0, 760px);
  gap: 34px;
  align-items: start;
  margin-bottom: clamp(54px, 8vw, 88px);
}

.section-number {
  margin: 6px 0 0;
  color: var(--green-mid);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.section h2,
.contact-section h2 {
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.service-list {
  margin-left: 98px;
  border-bottom: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 28px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.service-index {
  margin: 3px 0 0;
  color: var(--green-mid);
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.service h3 {
  margin-bottom: 12px;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  font-weight: 650;
}

.service p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.pan-section {
  padding: clamp(82px, 11vw, 140px) 0;
  background: var(--green);
  color: var(--white);
}

.pan-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(64px, 10vw, 150px);
  align-items: center;
}

.pan-label {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pan-label span {
  display: grid;
  min-height: 150px;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.pan-label span:last-child {
  border-right: 0;
}

.eyebrow-light {
  color: var(--mint);
}

.pan-copy h2 {
  margin-bottom: 32px;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.pan-copy p {
  max-width: 760px;
  color: #d8e4df;
}

.pan-copy .pan-lead {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(1.22rem, 2.1vw, 1.55rem);
  line-height: 1.5;
}

.company-section {
  background: var(--white);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(58px, 10vw, 150px);
  align-items: start;
}

.company-heading {
  margin-bottom: 0;
}

.fact-list {
  margin-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.fact-list > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(0, 1.3fr);
  gap: 30px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.fact-list dt {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fact-list dd {
  margin-bottom: 0;
  font-weight: 620;
}

.activities h3 {
  margin-bottom: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.activities ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activities li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--paper-deep);
  color: var(--ink-soft);
}

.activities li span {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.contact-section {
  padding: clamp(74px, 10vw, 120px) 0;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.contact-details {
  padding-top: 13px;
}

.contact-details > p:first-child {
  max-width: 560px;
  margin-bottom: 26px;
  color: var(--ink-soft);
}

.contact-email {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 30px;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-contact {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.admin-contact a {
  color: var(--ink);
}

.site-footer {
  padding: 42px 0 48px;
  background: var(--ink);
  color: #dce3df;
  font-size: 0.76rem;
  line-height: 1.65;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 44px;
}

.site-footer p {
  margin-bottom: 2px;
}

.footer-brand {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 750;
}

@media (max-width: 900px) {
  .hero-grid,
  .pan-grid,
  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .company-grid,
  .contact-grid {
    gap: 56px;
  }

  .hero-note {
    max-width: 560px;
  }

  .pan-label {
    max-width: 430px;
  }

  .pan-label span {
    min-height: 110px;
  }

  .company-heading {
    margin-bottom: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 32px, 1180px);
  }

  .header-inner {
    min-height: 74px;
  }

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

  .header-context span {
    display: none;
  }

  .hero {
    padding-top: 66px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .hero-note {
    padding-left: 22px;
  }

  .section-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .service-list {
    margin-left: 0;
  }

  .service {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .pan-grid {
    gap: 52px;
  }

  .pan-label span {
    min-height: 92px;
  }

  .fact-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 420px) {
  .brand-name {
    max-width: 116px;
    line-height: 1.2;
  }

  .header-context {
    gap: 14px;
  }

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

  .button {
    width: 100%;
  }

  .compact-facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

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

@media print {
  .site-header,
  .hero-actions,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero,
  .section,
  .pan-section,
  .contact-section {
    padding: 36px 0;
  }

  .pan-section,
  .site-footer {
    background: #fff;
    color: #000;
    border-top: 1px solid #000;
  }

  .pan-copy p,
  .pan-copy .pan-lead,
  .eyebrow-light,
  .site-footer,
  .footer-brand {
    color: #000;
  }
}
