:root {
  --ink: #0b2722;
  --ink-soft: #12362f;
  --ink-pale: #1c453c;
  --amber: #e4a33a;
  --amber-light: #f0c272;
  --paper: #f3f5f2;
  --paper-deep: #e9ede8;
  --white: #ffffff;
  --text: #15231f;
  --muted: #5e6c67;
  --line: #ccd5d0;
  --max-width: 1180px;
  --shadow: 0 28px 70px rgba(4, 27, 22, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }

.container { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand-mark {
  width: 58px;
  height: 42px;
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 1.16rem; letter-spacing: 0.18em; font-weight: 700; }
.brand-copy small { margin-top: 7px; color: rgba(255, 255, 255, 0.66); font-size: 0.68rem; letter-spacing: 0.2em; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--white); }
.primary-nav .nav-contact { color: var(--ink); background: var(--white); padding: 10px 17px; border-radius: 3px; }
.primary-nav .nav-contact:hover, .primary-nav .nav-contact:focus-visible { background: var(--amber); color: var(--ink); }
.language-link { border-left: 1px solid rgba(255, 255, 255, 0.24); padding-left: 26px; letter-spacing: 0.12em; }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  background:
    radial-gradient(circle at 79% 34%, rgba(228, 163, 58, 0.16), transparent 23%),
    linear-gradient(135deg, #071c18 0%, var(--ink) 55%, #143d35 100%);
  color: var(--white);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent 2%, #000 68%, transparent 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 50%;
  right: -190px;
  bottom: -160px;
  box-shadow: 0 0 0 96px rgba(255,255,255,0.025), 0 0 0 192px rgba(255,255,255,0.018);
}
.hero-layout {
  position: relative;
  z-index: 2;
  min-height: 780px;
  padding-top: 154px;
  padding-bottom: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  align-items: center;
  gap: 90px;
}
.eyebrow, .section-index {
  margin-bottom: 24px;
  color: #9b5d00;
  font-size: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}
.hero .eyebrow { color: var(--amber-light); }
.hero h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 6.1vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.054em;
  font-weight: 630;
}
.hero h1 span { color: var(--amber-light); }
.hero-lead {
  max-width: 690px;
  margin-bottom: 38px;
  color: rgba(255,255,255,0.74);
  font-size: 1.17rem;
  line-height: 1.72;
}
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 750;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--amber); color: var(--ink); }
.button-primary:hover, .button-primary:focus-visible { background: var(--amber-light); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover, .button-dark:focus-visible { background: var(--ink-pale); }
.text-link { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.38); font-weight: 650; }
.text-link span { color: var(--amber-light); padding-left: 6px; }

.hero-card {
  position: relative;
  padding: 30px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(11,39,34,.15);
  border-radius: 3px;
  pointer-events: none;
}
.hero-card-top { position: relative; display: flex; align-items: center; gap: 13px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.hero-card-top img { width: 84px; height: 56px; object-fit: cover; border-radius: 3px; }
.hero-card-top span { font-weight: 800; letter-spacing: .16em; }
.hero-card > p { position: relative; margin: 28px 0 36px; font-size: 1.7rem; line-height: 1.18; letter-spacing: -.035em; font-weight: 650; }
.hero-card dl { position: relative; margin: 0; }
.hero-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-top: 1px solid var(--line); }
.hero-card dt { color: var(--muted); font-size: .82rem; }
.hero-card dd { margin: 0; font-size: .84rem; font-weight: 750; text-align: right; }

.section { padding: 112px 0; }
.section-light { background: var(--white); }
.section-paper { background: var(--paper); }
.split-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 112px; }
.section h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -.042em;
  font-weight: 650;
}
.lead-prose { padding-top: 39px; }
.prose p { color: var(--muted); font-size: 1.08rem; }
.prose p + p { margin-top: 24px; }
.principle { margin-top: 42px; padding: 25px 0 0 26px; border-left: 4px solid var(--amber); }
.principle span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 750; }
.principle strong { display: block; color: var(--ink); font-size: 1.17rem; line-height: 1.48; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, .6fr);
  gap: 90px;
  align-items: end;
  margin-bottom: 64px;
}
.section-heading > p { margin: 0 0 8px; color: var(--muted); }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-card { min-height: 300px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.4); }
.card-number { display: block; margin-bottom: 68px; color: #8b5a0f; font-size: .75rem; letter-spacing: .15em; font-weight: 800; }
.capability-card h3 { margin-bottom: 15px; color: var(--ink); font-size: 1.35rem; line-height: 1.25; }
.capability-card p { margin: 0; color: var(--muted); }

.focus-section { padding-top: 0; background: var(--paper); }
.focus-panel { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 74px; padding: 70px; background: var(--amber); }
.focus-label { align-self: start; padding-top: 8px; border-top: 1px solid rgba(11,39,34,.45); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.focus-copy .section-index { color: rgba(11,39,34,.65); }
.focus-copy h2 { max-width: 790px; }
.focus-copy > p:last-child { max-width: 800px; margin: 26px 0 0; color: rgba(11,39,34,.78); font-size: 1.05rem; }

.section-dark { background: var(--ink); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-index-light { color: var(--amber-light); }
.experience-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); gap: 110px; }
.experience-intro { max-width: 650px; margin: 30px 0 0; color: rgba(255,255,255,.64); font-size: 1.06rem; }
.experience-list { border-top: 1px solid rgba(255,255,255,.22); }
.experience-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.experience-list span { color: var(--amber-light); font-size: .75rem; font-weight: 800; }
.experience-list p { margin: 0; line-height: 1.4; font-size: 1.04rem; font-weight: 650; }
.historical-note { margin-top: 70px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.48); font-size: .78rem; }

.compact-heading { grid-template-columns: minmax(0, 790px); margin-bottom: 52px; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.process-list li { padding: 28px 25px 0 0; border-top: 4px solid transparent; }
.process-list li + li { padding-left: 25px; border-left: 1px solid var(--line); }
.process-list li:first-child { border-top-color: var(--amber); }
.process-list > li > span { display: block; margin-bottom: 62px; color: #8b5a0f; font-size: .75rem; letter-spacing: .15em; font-weight: 800; }
.process-list h3 { color: var(--ink); font-size: 1.05rem; }
.process-list p { margin: 0; color: var(--muted); font-size: .92rem; }

.partnership-section { background: var(--amber); }
.partnership-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr); gap: 100px; align-items: start; }
.partnership-section .section-index { color: rgba(11,39,34,.65); }
.partnership-copy p { color: rgba(11,39,34,.8); font-size: 1.04rem; }
.partnership-copy .button { margin-top: 18px; }

.contact-section { background: #081b17; color: var(--white); }
.contact-section h2 { color: var(--white); }
.contact-section h2 + p { max-width: 520px; margin-top: 24px; color: rgba(255,255,255,.6); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(370px, 1.15fr); gap: 110px; }
.contact-card { border-top: 1px solid rgba(255,255,255,.24); }
.contact-line { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.24); color: var(--white); text-decoration: none; }
a.contact-line:hover strong, a.contact-line:focus-visible strong { color: var(--amber-light); }
.contact-line span { color: rgba(255,255,255,.5); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-line strong { font-size: 1.03rem; line-height: 1.5; }

.site-footer { background: #06130f; color: rgba(255,255,255,.68); }
.footer-main { min-height: 150px; display: flex; justify-content: space-between; gap: 60px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-logo { width: 57px; height: 40px; background: var(--white); border-radius: 3px; overflow: hidden; }
.footer-logo img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { color: var(--white); letter-spacing: .16em; }
.footer-brand small { margin-top: 5px; color: rgba(255,255,255,.42); }
.footer-main > p { max-width: 470px; margin: 0; text-align: right; font-size: .78rem; line-height: 1.5; }
.footer-bottom { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: .76rem; }
.footer-bottom a { color: var(--amber-light); text-decoration: none; }

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

@media (max-width: 980px) {
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: .82rem; }
  .hero-layout { grid-template-columns: 1fr .58fr; gap: 45px; }
  .hero-card { padding: 24px; }
  .hero-card > p { font-size: 1.35rem; }
  .split-layout, .section-heading, .experience-layout, .partnership-layout, .contact-layout { gap: 60px; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .process-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .focus-panel { grid-template-columns: 160px minmax(0, 1fr); gap: 45px; padding: 52px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 32px), var(--max-width)); }
  .header-inner { min-height: 76px; }
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 60;
    width: 46px;
    height: 42px;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 3px;
  }
  .nav-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; background: var(--white); transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav {
    display: none;
    position: absolute;
    inset: 76px 0 auto;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #071c18;
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 38px rgba(0,0,0,.28);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
  .primary-nav .nav-contact { margin-top: 12px; padding: 12px 14px; text-align: center; border-bottom: 0; }
  .language-link { border-left: 0; padding-left: 0; }
  .hero, .hero-layout { min-height: auto; }
  .hero-layout { padding-top: 142px; padding-bottom: 76px; grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.75rem, 12vw, 4.6rem); }
  .hero-card { max-width: 470px; }
  .section { padding: 78px 0; }
  .split-layout, .section-heading, .experience-layout, .partnership-layout, .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .lead-prose { padding-top: 0; }
  .section-heading { margin-bottom: 44px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: auto; }
  .card-number { margin-bottom: 36px; }
  .focus-section { padding-top: 0; }
  .focus-panel { grid-template-columns: 1fr; gap: 24px; padding: 38px 28px; }
  .focus-label { max-width: 180px; }
  .experience-list { margin-top: 10px; }
  .historical-note { margin-top: 45px; }
  .partnership-copy .button { width: 100%; }
  .footer-main { padding: 40px 0; flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-main > p { text-align: left; }
}

@media (max-width: 520px) {
  .brand-mark { width: 50px; height: 36px; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy small { font-size: .6rem; }
  .hero-copy br { display: none; }
  .hero-lead { font-size: 1.03rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .section h2 { font-size: 2.18rem; }
  .process-list { grid-template-columns: 1fr; row-gap: 30px; }
  .process-list li, .process-list li + li, .process-list li:nth-child(3) { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .process-list li:first-child { border-top: 4px solid var(--amber); }
  .process-list > li > span { margin-bottom: 26px; }
  .contact-line { grid-template-columns: 1fr; gap: 8px; }
  .contact-line strong { overflow-wrap: anywhere; }
  .footer-bottom { padding: 18px 0; align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .hero-grid, .hero::after, .hero-actions, .nav-toggle { display: none !important; }
  .hero, .section, .contact-section, .section-dark, .site-footer { background: white !important; color: black !important; }
  .hero { min-height: 0; }
  .hero-layout { min-height: 0; padding: 30px 0; }
  .hero h1, .hero h1 span, .section h2, .section-dark h2, .contact-section h2 { color: black !important; }
  .hero-lead, .experience-intro, .historical-note, .contact-section h2 + p { color: #333 !important; }
}
