:root {
  --paper: #f4f0e8;
  --paper-deep: #e8e1d5;
  --ink: #10233a;
  --muted: #526170;
  --line: #c9c2b6;
  --cobalt: #1657d8;
  --teal: #087f7a;
  --white: #fffdf8;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--cobalt); }
a:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; border-radius: 2px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; color: white; }
.site-header {
  width: 100%;
  min-height: 76px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.monogram { font-weight: 850; font-size: 1.25rem; text-decoration: none; letter-spacing: -.04em; }
.monogram span { color: var(--teal); }
.site-header nav { display: none; gap: 1.8rem; font-size: .82rem; font-weight: 650; }
.site-header nav a, .language-link { text-decoration: none; }
.language-link { padding: .35rem .65rem; border: 1px solid var(--line); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
main > section, footer { max-width: var(--max); margin-left: auto; margin-right: auto; }
.hero { position: relative; width: 100%; min-width: 0; padding: 78px 24px 58px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 24px auto;
  height: 100%;
  pointer-events: none;
  opacity: .45;
  background-image: linear-gradient(90deg, transparent calc(25% - 1px), var(--line) 25%, transparent calc(25% + 1px), transparent calc(75% - 1px), var(--line) 75%, transparent calc(75% + 1px));
}
.hero-copy, .hero-aside { position: relative; min-width: 0; }
.eyebrow, .case-label { margin: 0 0 1.1rem; color: var(--teal); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 920px; margin-bottom: 1.5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 8vw, 6.7rem); font-weight: 500; letter-spacing: -.055em; line-height: .97; }
.hero-lead { max-width: 700px; color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-block; padding: .75rem 1.05rem; border: 1px solid var(--ink); text-decoration: none; font-size: .86rem; font-weight: 750; }
.button.primary { background: var(--ink); color: var(--white); }
.button.primary:hover { background: var(--cobalt); border-color: var(--cobalt); }
.hero-aside { margin-top: 3rem; max-width: 390px; padding: 1.4rem 0 0 1.25rem; border-left: 3px solid var(--cobalt); color: var(--muted); font-size: .9rem; }
.hero-aside .name { margin-bottom: .3rem; color: var(--ink); font-weight: 800; }
.status { display: flex; align-items: center; gap: .55rem; font-size: .78rem; }
.status span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.credibility { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.credibility div { min-height: 128px; padding: 1.25rem 24px; border-right: 1px solid var(--line); }
.credibility div:nth-child(even) { border-right: 0; }
.credibility strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; font-weight: 500; }
.credibility span { color: var(--muted); font-size: .8rem; }
.section { padding: 82px 24px; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 42px 1fr; margin-bottom: 3.5rem; }
.section-heading > span { color: var(--cobalt); font: 700 .72rem ui-monospace, monospace; }
.section-heading h2 { margin-bottom: .55rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.section-heading p { max-width: 640px; color: var(--muted); }
.expertise-item { display: grid; grid-template-columns: 42px 1fr; padding: 1.7rem 0; border-top: 1px solid var(--line); }
.expertise-item:last-child { border-bottom: 1px solid var(--line); }
.item-index { color: var(--teal); font: 700 .7rem ui-monospace, monospace; }
.expertise-item h3, .timeline-body h3, .system-case h3 { margin-bottom: .45rem; font-size: 1.25rem; line-height: 1.25; }
.expertise-item p { max-width: 700px; color: var(--muted); }
.skill-line { margin-bottom: 0; color: var(--ink) !important; font: 650 .76rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.experience-section { background: var(--ink); color: var(--white); }
.experience-section .section-heading p, .timeline-body > p { color: #b9c5d0; }
.experience-section .section-heading > span { color: #65c8c1; }
.timeline-item { display: grid; grid-template-columns: 1fr; gap: .5rem; padding: 2rem 0; border-top: 1px solid #3b4b5e; }
.timeline-date { color: #65c8c1; font: 700 .77rem ui-monospace, monospace; }
.company { margin-bottom: .3rem; color: white !important; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.timeline-body ul { margin: 1rem 0 0; padding-left: 1.15rem; color: #d6dee5; font-size: .9rem; }
.timeline-body li { margin-bottom: .35rem; }
.systems-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.system-case { min-height: 320px; padding: 2rem; background: var(--white); }
.system-case h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 500; }
.system-case > p:not(.case-label) { color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.tag-list li { padding: .25rem .55rem; border: 1px solid var(--line); font: 700 .68rem ui-monospace, monospace; }
.product { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.product:last-child { border-bottom: 1px solid var(--line); }
.product h3 { margin-bottom: .25rem; }
.product p { margin-bottom: 0; color: var(--muted); }
.product-links { display: flex; gap: 1rem; flex-shrink: 0; font-size: .82rem; font-weight: 750; }
.credentials-section { background: var(--paper-deep); }
.credentials-grid { display: grid; gap: 1.5rem; }
.credential { padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.credential h3 { margin-bottom: .4rem; font-size: 1rem; }
.credential p { color: var(--muted); }
.contact-section { padding: 90px 24px; text-align: center; }
.contact-section h2 { max-width: 850px; margin: 0 auto 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 7vw, 5.8rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.contact-section > p:not(.eyebrow) { max-width: 600px; margin: 0 auto; color: var(--muted); }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 2.2rem; font-weight: 750; }
footer { padding: 1.5rem 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
footer p { margin: 0; }

@media (min-width: 720px) {
  .site-header nav { display: flex; }
  .hero { padding-top: 110px; }
  .hero-aside { margin-left: auto; }
  .credibility { grid-template-columns: repeat(4, 1fr); }
  .credibility div:nth-child(even) { border-right: 1px solid var(--line); }
  .credibility div:last-child { border-right: 0; }
  .section-heading, .expertise-item { grid-template-columns: 90px 1fr; }
  .timeline-item { grid-template-columns: 160px 1fr; gap: 2rem; }
  .systems-grid { grid-template-columns: repeat(3, 1fr); }
  .product { flex-direction: row; align-items: center; justify-content: space-between; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(2.3rem, 11vw, 2.7rem); overflow-wrap: anywhere; }
  .site-header > *, .timeline-body, .expertise-item > div { min-width: 0; }
  .language-link { flex-shrink: 0; white-space: nowrap; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; text-align: center; }
}

@media (min-width: 1020px) {
  .hero { display: grid; grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); gap: 4rem; align-items: end; }
  .hero-aside { margin-top: 0; }
  .section { padding-top: 110px; padding-bottom: 110px; }
  .section-heading { grid-template-columns: 130px 1fr; }
  .expertise-list { margin-left: 130px; }
  .expertise-item { grid-template-columns: 70px 1fr; }
  .timeline { margin-left: 130px; }
}

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