:root {
  --bg: #121820;
  --surface: #1a232e;
  --fg: #e8ecf0;
  --muted: #9aa6b2;
  --primary: #c5d2de;
  --border: #2c3846;
  --accent: #8aa0b4;
  --steel: #5d7388;
  --display: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
html, body { min-height: 100%; margin: 0; background: var(--bg); color: var(--fg); }
body { font-family: var(--body); font-size: 1.25rem; line-height: 1.75; }
h1, h2 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.25; font-weight: 500; text-wrap: balance; }
a { color: inherit; }
::selection { background: #8aa0b4; color: #121820; }
:focus-visible { outline: 2px solid #8aa0b4; outline-offset: 3px; }

.wrap, .wrap-wide {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}
header { border-bottom: 1px solid var(--accent); background: var(--surface); }
.head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.brand { font-family: var(--display); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem; font-family: var(--display); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
nav a { display: inline-flex; min-height: 2.75rem; align-items: center; padding: 0 0.7rem; text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--fg); }
nav a[aria-current="page"] { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; }
.lang { color: var(--accent) !important; gap: 0.4rem; }
.globe { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; }

main.wrap, main.wrap-wide {
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}
@media (min-width: 640px) {
  .wrap, .wrap-wide, main.wrap, main.wrap-wide { padding-left: 2.5rem; padding-right: 2.5rem; }
  main.wrap, main.wrap-wide { padding-top: 6rem; }
}

footer { border-top: 1px solid var(--border); }
footer .wrap, footer .wrap-wide { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.foot-top {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .foot-top { flex-direction: row; align-items: baseline; justify-content: space-between; }
}
.foot-contact { font-family: var(--display); font-size: 0.9rem; color: var(--muted); margin: 0; }
.foot-contact a { color: var(--muted); text-decoration: none; }
.foot-contact a:hover { color: var(--fg); }
footer p { font-family: var(--display); font-size: 0.9rem; line-height: 1.65; color: var(--steel); margin: 0; }
.sites { font-size: 0.9rem !important; }
.sites span { margin: 0 0.5rem; color: var(--border); }
.sites a { color: var(--muted); text-decoration: none; }
.sites a:hover { color: var(--fg); }

h1 { font-size: 2.5rem; margin: 0 0 2rem; }
.kicker, .section-label { font-family: var(--display); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.hero { display: grid; gap: 2.5rem; align-items: start; margin-bottom: 4rem; }
@media (min-width: 768px) { .hero { grid-template-columns: minmax(0,1fr) 22rem; gap: 3rem; } }
@media (min-width: 1024px) { .hero { grid-template-columns: minmax(0,1fr) 26rem; gap: 3.5rem; } }
.hero h1 { margin: 0 0 1.25rem; font-size: 2.5rem; }
@media (min-width: 640px) { .hero h1 { font-size: 3.15rem; } }
.lede { font-family: var(--display); font-size: 1.5rem; font-weight: 500; line-height: 1.35; max-width: 36rem; margin: 0 0 1.25rem; }
.support { max-width: 36rem; color: var(--muted); font-size: 1.25rem; line-height: 1.75; margin: 0 0 2rem; }
.process { font-family: var(--display); font-size: 1.05rem; color: var(--steel); margin: 1rem 0 0; max-width: 36rem; }
.process-top { margin: -1rem 0 2.5rem; }
.btn { font-family: var(--display); display: inline-flex; min-height: 2.75rem; align-items: center; background: var(--primary); color: var(--bg); padding: 0.65rem 1.35rem; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.btn:hover { background: var(--fg); }

figure { margin: 0; }
.hero figure {
  width: 18rem;
  height: 27rem;
  max-width: 18rem;
  max-height: 27rem;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
@media (min-width: 768px) {
  .hero figure { width: 22rem; height: 33rem; max-width: 22rem; max-height: 33rem; }
}
@media (min-width: 1024px) {
  .hero figure { width: 26rem; height: 39rem; max-width: 26rem; max-height: 39rem; }
}
.hero figure img,
.about-photo img,
.about-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}
.about-photo,
.about-grid .portrait,
img.portrait {
  width: 18rem;
  height: 27rem;
  max-width: 18rem;
  max-height: 27rem;
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  background: transparent;
  box-shadow: none;
}

.services, .lines, .matters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.services li, .lines li, .matters li { border-bottom: 1px solid var(--border); padding: 0; }
.services li a {
  display: flex;
  gap: 1.25rem;
  padding: 1.1rem 0;
  text-decoration: none;
}
.services li a:hover strong { color: var(--primary); }
.lines li, .matters li { padding: 1.1rem 0; }
.matters li { display: flex; gap: 1.25rem; }
.num { font-family: var(--display); width: 1.75rem; flex-shrink: 0; font-size: 0.9rem; letter-spacing: 0.08em; color: var(--steel); padding-top: 0.2rem; }
.services strong { font-family: var(--display); font-weight: 500; font-size: 1.15rem; }
.about-grid { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 640px) { .about-grid { flex-direction: row; align-items: start; gap: 3rem; } }
.about-p { font-size: 1.25rem; line-height: 1.8; margin: 0 0 1.25rem; }
.block { margin-top: 3.5rem; }
.work-items { display: flex; flex-direction: column; gap: 2.5rem; }
.work-items h2 { font-size: 1.5rem; margin: 0 0 0.75rem; }
.muted { color: var(--muted); max-width: 42rem; margin: 0; line-height: 1.75; font-size: 1.15rem; }
.contact { max-width: 40rem; display: flex; flex-direction: column; gap: 1.25rem; }
.mail { color: var(--primary); text-underline-offset: 4px; text-decoration-color: var(--accent); }
.phone-block { border-top: 1px solid var(--border); padding-top: 2rem; margin-top: 0.5rem; }
.phone { font-family: var(--display); font-size: 1.75rem; font-weight: 500; text-decoration: none; }
.phone:hover { color: var(--primary); }
.chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.chip { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.5rem; border: 1px solid var(--border); padding: 0 0.85rem; color: var(--accent); text-decoration: none; font-family: var(--display); font-size: 0.9rem; letter-spacing: 0.04em; }
.chip:hover { border-color: var(--accent); color: var(--primary); }
.chip svg { width: 1.1rem; height: 1.1rem; }
.tz { font-family: var(--display); font-size: 1rem; color: var(--steel); margin: 1rem 0 0; }
