/* TRIACTUM — shared styles
   Palette kept from the current site: black, white, charcoal and grey. */
:root {
  --black: #000000;
  --charcoal: #212529;
  --panel: #111214;
  --line: rgba(255, 255, 255, 0.12);
  --grey: #929292;
  --grey-light: #c9c9c9;
  --white: #ffffff;
  --paper: #f4f4f4;
  --maxw: 1160px;
  --display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand svg { width: 48px; height: 41px; fill: var(--white); }
.brand span { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: 0.12em; }
.nav { display: flex; gap: 6px; }
.nav a {
  text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 9px 14px; border-radius: 2px; color: var(--grey-light);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,0.12); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--white);
  width: 42px; height: 42px; border-radius: 2px; cursor: pointer;
}
.nav-toggle svg { margin: auto; }
@media (max-width: 760px) {
  .brand span { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: var(--black); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 120px 0 110px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.14), transparent 70%),
    linear-gradient(180deg, #2b2e31 0%, #121314 55%, #000 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero > .wrap { position: relative; }
.motto { margin: 22px 0 0; font-size: 19px; color: var(--grey-light); }
.motto em { display: block; font-style: normal; color: var(--white); font-size: 21px; }
.hero p.lead { max-width: 640px; margin: 28px auto 0; color: var(--grey-light); }
.hero-actions { margin-top: 38px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.page-hero { padding: 90px 0 70px; text-align: left; }
.page-hero h1 { font-family: var(--display); font-weight: 600; line-height: 1.2; margin: 0; font-size: clamp(28px, 4.6vw, 46px); letter-spacing: -0.02em; }
.page-hero p.lead { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 14px 26px; border-radius: 2px;
  border: 1px solid var(--white); transition: background .2s, color .2s;
}
.btn-solid { background: var(--white); color: var(--black); }
.btn-solid:hover { background: transparent; color: var(--white); }
.btn-ghost { color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
@media (max-width: 600px) { section { padding: 68px 0; } }
.section-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-light { background: var(--paper); color: var(--charcoal); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--grey); margin: 0 0 14px;
}
.section-light .eyebrow { color: #6b7076; }
h2 {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(24px, 3.4vw, 36px); line-height: 1.25; margin: 0 0 20px;
}
h3 { font-size: 19px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; line-height: 1.35; }
.intro { max-width: 720px; color: var(--grey-light); margin: 0; }
.section-light .intro { color: #4a4f55; }
.center { text-align: center; }
.center .intro { margin: 0 auto; }

/* ---------- Focus-area cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--black); padding: 34px 28px 30px; text-decoration: none; display: flex; flex-direction: column;
  transition: background .25s;
}
.card:hover { background: #151618; }
.card .icon { width: 44px; height: 44px; stroke: var(--white); fill: none; stroke-width: 1.4; margin-bottom: 26px; }
.card p { color: var(--grey-light); font-size: 15.5px; margin: 0 0 22px; flex: 1; }
.card .more { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.card:hover .more { color: var(--white); }

/* ---------- Triad (approach) ---------- */
.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
@media (max-width: 820px) { .triad { grid-template-columns: 1fr; gap: 28px; } }
.triad .num { font-family: var(--display); font-weight: 600; font-size: 13px; color: #6b7076; letter-spacing: .2em; margin-bottom: 12px; }
.triad > div { border-top: 1px solid #c8c8c8; padding-top: 22px; }
.triad p { margin: 0; color: #4a4f55; }

/* ---------- Solutions detail ---------- */
.solution { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; scroll-margin-top: 72px; }
@media (max-width: 860px) { .solution { grid-template-columns: 1fr; gap: 28px; } }
.solution .icon { width: 56px; height: 56px; stroke: currentColor; fill: none; stroke-width: 1.3; margin-bottom: 26px; }
.solution .tag { font-family: var(--display); font-weight: 600; font-size: 12px; color: var(--grey); letter-spacing: .2em; margin-bottom: 14px; }
.section-light .solution .tag { color: #6b7076; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checklist li { padding: 18px 0 18px 30px; border-bottom: 1px solid var(--line); position: relative; }
.section-light .checklist, .section-light .checklist li { border-color: #d6d6d6; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 30px; width: 12px; height: 1px; background: currentColor;
}
.checklist strong { display: block; font-weight: 600; }
.checklist span { color: var(--grey-light); font-size: 15.5px; }
.section-light .checklist span { color: #555b61; }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.subnav a {
  text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 10px 14px; border-radius: 2px; color: var(--grey-light);
}
.subnav a:hover { border-color: var(--white); color: var(--white); }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split p { color: var(--grey-light); margin: 0 0 18px; }
.section-light .split p { color: #4a4f55; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }
.stats div { background: var(--black); padding: 28px 24px; }
.stats b { display: block; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .1em; margin-bottom: 6px; }
.stats span { color: var(--grey); font-size: 14.5px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.pill-list li { border: 1px solid #c8c8c8; padding: 9px 16px; border-radius: 40px; font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white); color: var(--charcoal); max-width: 640px; margin: 0 auto; text-align: center;
  padding: 60px 24px; border-radius: 2px;
}
.email-link {
  display: inline-block; font-size: clamp(15px, 3vw, 22px); letter-spacing: 0.2em; font-weight: 500; text-decoration: none;
  color: var(--charcoal); border-bottom: 1px solid var(--charcoal); padding-bottom: 6px; margin: 16px 0 26px;
  overflow-wrap: anywhere;
}
.email-link:hover { color: #000; border-color: #000; }
.confidential { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #6b7076; margin: 0; line-height: 1.8; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 640px; margin: 40px auto 0; }
@media (max-width: 560px) { .offices { grid-template-columns: 1fr; } }
.offices div { background: var(--black); padding: 26px 24px; text-align: center; }
.offices b { font-family: var(--display); font-weight: 600; letter-spacing: .12em; font-size: 14px; }
.offices span { display: block; color: var(--grey); font-size: 14.5px; margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band p { color: var(--grey-light); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--grey); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.site-footer .brand span { color: var(--white); font-size: 13px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--white); }
.site-footer .legal { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 13px; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.section-light a:focus-visible { outline-color: var(--charcoal); }

/* Official logo (black on white) rendered white on the dark hero */
.hero-mark { margin: 0 auto; max-width: 300px; }
.hero-mark img { width: 100%; height: auto; display: block; filter: invert(1); mix-blend-mode: screen; }
@media (max-width: 600px) { .hero-mark { max-width: 220px; } }

/* ---------- Large screens: Full HD laptops and monitors ---------- */
/* Home and Contact heroes fill the first screen, content centred */
.hero:not(.page-hero) {
  min-height: min(calc(100vh - 72px), 980px); min-height: min(calc(100svh - 72px), 980px);
  display: flex; align-items: center; padding: 72px 0;
}
.hero:not(.page-hero) > .wrap { width: 100%; }

@media (min-width: 1440px) {
  :root { --maxw: 1320px; }
  body { font-size: 17.5px; }
  .wrap { padding: 0 40px; }
  .site-header .wrap { height: 80px; }
  .solution { scroll-margin-top: 80px; }
  .nav a { font-size: 14px; padding: 10px 16px; }
  .hero:not(.page-hero) { min-height: min(calc(100vh - 80px), 1000px); min-height: min(calc(100svh - 80px), 1000px); }
  .hero-mark { max-width: 340px; }
  .motto { font-size: 21px; }
  .motto em { font-size: 24px; }
  .hero p.lead { font-size: 19px; max-width: 700px; }
  .page-hero { padding: 110px 0 90px; }
  .page-hero p.lead { font-size: 19px; }
  section { padding: 112px 0; }
  h2 { font-size: 40px; }
  h3 { font-size: 21px; }
  .intro { font-size: 18.5px; max-width: 780px; }
  .card { padding: 40px 34px 34px; }
  .card p { font-size: 16.5px; }
  .card .icon { width: 50px; height: 50px; }
  .solution { gap: 96px; }
  .checklist li { padding: 22px 0 22px 34px; }
  .checklist li::before { top: 34px; }
  .checklist strong { font-size: 18px; }
  .checklist span { font-size: 16.5px; }
  .triad { gap: 56px; }
  .btn { font-size: 14px; padding: 16px 30px; }
}

@media (min-width: 1800px) {
  :root { --maxw: 1480px; }
  body { font-size: 18px; }
  .hero-mark { max-width: 380px; }
  h2 { font-size: 44px; }
  .page-hero h1 { font-size: 52px; }
}

/* Short laptop screens (e.g. 1080p at 125–150% scaling): keep hero compact */
@media (min-width: 900px) and (max-height: 820px) {
  .hero:not(.page-hero) { padding: 48px 0; }
  .hero-mark { max-width: 250px; }
  .hero p.lead { margin-top: 20px; }
  .hero-actions { margin-top: 28px; }
}
