@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

:root {
  --sheet: #EEF4F5;
  --sheet-2: #E2ECEE;
  --ink: #14264B;
  --steel: #4F6675;
  --line: #C3D4D8;
  --line-strong: #8AA3AB;
  --accent: #1E8F8C;
  --accent-ink: #156E6C;
  --white: #FFFFFF;
  --max: 1200px;
  --gutter: 24px;
  --side: 220px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--sheet);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0 0 1em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: #0B1830; color: #FFFFFF;
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #FFFFFF; font-weight: 600; font-size: 1rem; white-space: nowrap; }
.brand:hover { text-decoration: none; color: #FFFFFF; }
.brand .mark { display: inline-block; width: 22px; height: 22px; border: 2px solid #FFFFFF; position: relative; top: 4px; }
.brand .mark::after { content: ''; position: absolute; inset: 4px; background: var(--accent); }
.nav { display: flex; gap: 28px; }
.nav a { color: #E3ECF1; font-size: 0.95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { text-decoration: none; border-bottom-color: rgba(255,255,255,0.5); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.lang { display: flex; gap: 6px; }
.lang a, .lang button {
  text-decoration: none; font: inherit; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
  background: transparent; border: 0; color: #A9C7D3; padding: 5px 9px; cursor: pointer;
}
.lang a[aria-current="true"], .lang button[aria-pressed="true"] { color: #FFFFFF; border-bottom: 2px solid #7FE0DC; }
.menu-btn { display: none; font: inherit; background: none; border: 0; padding: 6px 10px; cursor: pointer; color: #FFFFFF; }

/* Hero: dark water, full bleed */
.hero {
  position: relative; color: #FFFFFF; overflow: hidden;
  background: #0B1830 url('hero.webp') center / cover no-repeat;
  padding: 156px 0 120px; border-bottom: 0;
}
.hero .wrap { position: relative; z-index: 1; display: block; max-width: var(--max); }
.hero .kicker { color: #A9C7D3; font-size: 0.95rem; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 28px; max-width: 14ch; }
.hero .lead { font-size: 1.125rem; color: #E3ECF1; max-width: 54ch; margin-bottom: 36px; }
/* stepped pixel masks, the brand device */
.pix { position: absolute; z-index: 0; background: #DDE3E6; opacity: 0.92; }
.pix.tl { left: 0; top: 0; width: 22%; height: 120px; clip-path: polygon(0 0, 100% 0, 100% 45%, 60% 45%, 60% 100%, 0 100%); }
.pix.br { right: 0; bottom: 0; width: 26%; height: 110px; clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%, 0 55%, 40% 55%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(8,20,40,0.72) 0%, rgba(8,20,40,0.45) 50%, rgba(8,20,40,0.05) 100%); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; font: inherit; font-size: 0.95rem; font-weight: 500;
  padding: 12px 22px; border: 0; color: var(--ink); background: transparent; cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--sheet); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.hero .btn.primary { border-color: var(--accent); background: var(--accent); }
.hero .btn.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }

.schematic { width: 100%; max-width: 760px; height: auto; display: block; margin-bottom: 36px; }
.schematic text { font-family: inherit; }

/* Sections in drawing-zone layout */
.zone { padding: 72px 0; border-bottom: 1px solid var(--line); }
.zone:last-of-type { border-bottom: 0; }
.zone .wrap { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 48px; }
.zone-title { position: sticky; top: 88px; align-self: start; }
.zone-title h2 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; padding-top: 6px; border-top: 2px solid var(--ink); }
.zone-title .note { color: var(--steel); font-size: 0.9rem; margin-top: 10px; max-width: 24ch; }
.zone-body > h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 28px; max-width: 24ch; }

/* Problem list */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.problems article { padding: 24px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: var(--white); }
.problems h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; }
.problems p { color: var(--steel); font-size: 0.95rem; }

/* Steps: real sequence, so numbering is justified */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px 220px 1fr; gap: 24px; padding: 22px 0; counter-increment: step; }

.steps li::before { content: counter(step, decimal-leading-zero); color: var(--accent); font-weight: 500; font-size: 1.1rem; padding-top: 2px; }
.steps h4 { font-size: 1.1rem; font-weight: 600; }
.steps p { color: var(--steel); }

/* Product feature */
.product { border: 1px solid var(--line-strong); background: var(--white); display: grid; grid-template-columns: 1fr 1fr; }
.product .text { padding: 32px; }
.product .text h4 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 6px; }
.product .text .sub { color: var(--steel); margin-bottom: 20px; }
.product .contours { border-left: 1px solid var(--line-strong); padding: 24px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.product .contours span { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.product .contours span:nth-last-child(-n+2) { border-bottom: 0; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.why p { font-size: 1.05rem; }
.facts { display: grid; gap: 16px; align-content: start; }
.facts div { border-top: 1px solid var(--line-strong); padding-top: 12px; }
.facts strong { display: block; font-size: 1.7rem; font-weight: 500; letter-spacing: -0.02em; }
.facts span { color: var(--steel); font-size: 0.95rem; }

/* CTA */
.cta { position: relative; overflow: hidden; background: #0B1830 url('hero.webp') center / cover no-repeat; color: var(--sheet); padding: 80px 0; }
.cta::after { content: ''; position: absolute; inset: 0; background: rgba(8,20,40,0.45); }
.cta .wrap { position: relative; z-index: 1; }
.cta .pix.tl { width: 16%; height: 80px; } .cta .pix.br { width: 20%; height: 76px; }
.cta .wrap { display: grid; grid-template-columns: var(--side) minmax(0,1fr); gap: 48px; align-items: end; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta p { color: #B7C7D9; max-width: 50ch; }
.cta .btn { border-color: var(--sheet); color: var(--sheet); margin-top: 20px; }
.cta .btn:hover { background: var(--sheet); color: var(--ink); }

/* Footer as a drawing title block */
.site-footer { padding: 48px 0 56px; }
.foot { display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: center; }
.foot img { width: 48px; height: auto; }
.foot-line { margin: 0 0 4px; font-size: 0.95rem; color: var(--steel); max-width: none; }
.foot-line a { color: var(--ink); }
.link { font-weight: 500; padding: 12px 4px; display: inline-block; }
.hero .link, .split .clear .link { color: #FFFFFF; }
.hero .link:hover, .split .clear .link:hover { color: #7FE0DC; }
@media (max-width: 720px) { .foot { grid-template-columns: 1fr; } }
.title-block { border: 1px solid var(--ink); display: grid; grid-template-columns: 88px 2fr 1.4fr 1.4fr 1fr; }
.title-block .logo-cell { display: flex; align-items: center; justify-content: center; padding: 12px; }
.title-block .logo-cell img { width: 56px; height: auto; }
.title-block > div { padding: 12px 16px; border-right: 1px solid var(--ink); min-height: 72px; }
.title-block > div:last-child { border-right: 0; }
.title-block small { display: block; color: var(--steel); font-size: 0.75rem; margin-bottom: 4px; }
.title-block .val { font-size: 0.95rem; }
.title-block a { color: var(--ink); }
.copy { color: var(--steel); font-size: 0.85rem; margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .zone .wrap, .cta .wrap { grid-template-columns: 1fr; gap: 20px; }
  .zone-title { position: static; }
  .problems { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 48px 1fr; }
  .steps li p { grid-column: 2; }
  .product { grid-template-columns: 1fr; }
  .product .contours { border-left: 0; border-top: 1px solid var(--line-strong); }
  .why { grid-template-columns: 1fr; }
  .title-block { grid-template-columns: 1fr 1fr; }
  .title-block > div:nth-child(2n) { border-right: 0; }
  .title-block > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #0B1830; border-bottom: 1px solid var(--line-strong); flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-block; }
}
@media (max-width: 720px) {
  .hero { padding: 72px 0 64px; } .pix.tl { width: 40%; height: 70px; } .pix.br { width: 46%; height: 64px; }
  .zone { padding: 48px 0; }
  .product .contours { grid-template-columns: 1fr; }
  .product .contours span:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product .contours span:last-child { border-bottom: 0; }
}

/* ---------- Rich card body ---------- */
.hero::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 0; background: linear-gradient(180deg, rgba(238,244,245,0) 0%, var(--sheet) 100%); }
.hero .pix.br { z-index: 1; }
.body { background: var(--sheet); }
.body .wrap { display: block; }
.eyebrow { color: var(--accent); font-size: 0.85rem; font-weight: 500; margin-bottom: 16px; }
.eyebrow.light { color: #7FE0DC; }
.accent { color: var(--accent); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.about { padding: 56px 0 48px; }
.body .wrap.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px 64px; align-items: start; }
.about h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -0.025em; max-width: 22ch; }
.about-text { padding-top: 40px; }
.about-text p { color: var(--steel); max-width: 52ch; }
.lineart { grid-column: 2; width: 100%; max-width: 360px; height: auto; justify-self: end; margin-top: -8px; }

.services { padding: 24px 0 56px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 28px; border-radius: 22px; overflow: hidden;
  background-size: cover; background-position: center; color: #FFFFFF; text-decoration: none; isolation: isolate; }
.pcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,20,40,0.72) 0%, rgba(8,20,40,0.35) 60%, rgba(8,20,40,0.55) 100%); transition: transform .6s ease; }
.pcard:hover { text-decoration: none; color: #FFFFFF; }
.pcard h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.pcard p { color: #D9E6EC; font-size: 0.95rem; max-width: 36ch; }
.circ { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.7); display: inline-flex; align-items: center; justify-content: center; transition: background .3s, transform .3s; }
.circ svg { width: 18px; height: 18px; }
.pcard:hover .circ { background: #FFFFFF; color: var(--ink); transform: translateX(4px); }

.wide { margin-top: 20px; display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 22px; overflow: hidden; background: #0B1830; color: #FFFFFF; min-height: 300px; }
.wide-img { background-size: cover; background-position: center; min-height: 260px; }
.wide-facts { display: grid; grid-template-columns: 1fr 1fr; }
.wide-facts > div { padding: 30px 28px; display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-content: start; }
.wide-facts > div:nth-child(1), .wide-facts > div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
.wide-facts > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
.wide-facts svg { width: 26px; height: 26px; color: #7FE0DC; grid-row: 1 / span 2; }
.wide-facts strong { font-size: 1.2rem; font-weight: 500; }
.wide-facts span { color: #B7C7D9; font-size: 0.9rem; }

.how { padding: 32px 0 64px; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ncard { position: relative; background: #FFFFFF; border-radius: 22px; padding: 28px 24px 28px; overflow: hidden; min-height: 240px; }
.ncard .ghost { position: absolute; right: 12px; top: -10px; font-size: 6rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line); }
.ncard h3 { font-size: 1.15rem; font-weight: 600; margin: 48px 0 10px; position: relative; }
.ncard p { color: var(--steel); font-size: 0.93rem; position: relative; }

.product-sec { padding: 0 0 64px; }
.dcard { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; background: #0B1830 url('hero.webp') center / cover no-repeat; border-radius: 22px; padding: 40px; color: #FFFFFF; position: relative; overflow: hidden; }
.dcard::before { content: ''; position: absolute; inset: 0; background: rgba(8,20,40,0.82); }
.dcard > * { position: relative; }
.dcard h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; margin-bottom: 6px; }
.dcard .sub { color: #A9C7D3; margin-bottom: 18px; }
.dcard p { color: #E3ECF1; }
.ldescs { min-height: 76px; margin-top: 12px; }
.ldesc { display: none; color: #B7C7D9; font-size: 0.93rem; }
.ldesc.show { display: block; }
.dcard .actions { margin-top: 20px; }
.dcard .link { color: #FFFFFF; } .dcard .link:hover { color: #7FE0DC; }
.strata-wrap { background: #FFFFFF; border-radius: 16px; padding: 12px; }
.strata { width: 100%; height: auto; display: block; }
.strata text { font-family: inherit; pointer-events: none; }
.strata .layer { transition: opacity .3s, filter .3s; cursor: pointer; }
.strata.hovering .layer { opacity: .45; }
.strata.hovering .layer.hot { opacity: 1; filter: brightness(1.06); }
.strata .bore { stroke-dasharray: 580; stroke-dashoffset: 580; transition: stroke-dashoffset 1.6s ease; }
.strata .node { opacity: 0; transition: opacity .4s; }
.dcard.in .bore { stroke-dashoffset: 0; }
.dcard.in .node { opacity: 1; transition-delay: 1.2s; }
@media (prefers-reduced-motion: reduce) { .strata .bore { stroke-dashoffset: 0; transition: none; } .strata .node { opacity: 1; } }

.contact { padding: 16px 0 88px; }
.body .wrap.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.025em; max-width: 20ch; margin-bottom: 16px; }
.contact p { color: var(--steel); }
.contact-lines { margin-top: 24px; color: var(--ink) !important; }
.contact-lines a { color: var(--ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; }
.form label span { display: block; font-size: 0.8rem; color: var(--steel); margin-bottom: 6px; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea { width: 100%; font: inherit; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form textarea { resize: vertical; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--steel); }
.btn { border-radius: 999px; }
.hero .btn.primary, .btn.primary { padding: 13px 24px; }

.site-footer { background: #0B1830; color: #FFFFFF; padding: 32px 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-nav a { color: #E3ECF1; font-size: 0.95rem; }
.foot .copy { color: #8FA3B5; font-size: 0.85rem; margin: 0; text-align: right; }

@media (max-width: 960px) {
  .body .wrap.about-grid, .body .wrap.contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-text { padding-top: 0; }
  .lineart { grid-column: 1; justify-self: start; }
  .cards3 { grid-template-columns: 1fr; }
  .wide { grid-template-columns: 1fr; }
  .cards4 { grid-template-columns: 1fr 1fr; }
  .dcard { grid-template-columns: 1fr; padding: 28px; }
  .form { grid-template-columns: 1fr; }
  .foot .copy { text-align: left; }
}
@media (max-width: 600px) { .cards4 { grid-template-columns: 1fr; } .wide-facts { grid-template-columns: 1fr; } .wide-facts > div { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08); } }

/* ---------- Inner pages ---------- */
.page-hero { padding: 120px 0 88px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 18ch; }
.sec { padding: 40px 0 24px; }
.sec:last-child { padding-bottom: 88px; }
.h-lg { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.025em; max-width: 30ch; margin-bottom: 36px; }
.body .wrap.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wcard { background: #FFFFFF; border-radius: 22px; padding: 32px; }
.wcard p { color: var(--steel); }
.dcard-sm { position: relative; overflow: hidden; background: #0B1830 url('hero.webp') center / cover no-repeat; border-radius: 22px; padding: 32px; color: #FFFFFF; }
.dcard-sm::before { content: ''; position: absolute; inset: 0; background: rgba(8,20,40,0.82); }
.dcard-sm > * { position: relative; }
.dcard-sm p { color: #E3ECF1; }
.dcard-sm h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); letter-spacing: -0.025em; max-width: 26ch; margin-bottom: 14px; }
.dcard-sm .actions { margin-top: 20px; }
.link.light { color: #FFFFFF; } .link.light:hover { color: #7FE0DC; }
.wide-text { padding: 48px; }

.srow { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: #FFFFFF; border-radius: 22px; overflow: hidden; margin-bottom: 20px; }
.srow-img { position: relative; background-size: cover; background-position: center; min-height: 240px; }
.srow-img::before { content: ''; position: absolute; inset: 0; background: rgba(8,20,40,0.45); }
.srow-num { position: absolute; left: 24px; top: 20px; color: #FFFFFF; font-size: 2.4rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.srow-body { padding: 32px; }
.srow-body h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 20px; }
.srow-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.srow-cols h4 { font-size: 0.85rem; color: var(--accent); font-weight: 500; margin-bottom: 8px; }
.srow-cols p { color: var(--steel); font-size: 0.93rem; }

.mods .ncard { min-height: 200px; }
.wide-facts.six { grid-template-columns: 1fr 1fr; }
.wide-facts.six > div { grid-template-columns: 1fr; padding: 22px 28px; }
.wide-facts.six > div:nth-child(-n+4) { border-bottom: 1px solid rgba(255,255,255,0.08); }
.wide-facts.six strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }

.pcard.static { min-height: 340px; cursor: default; }
.pcard.static .eyebrow { margin-bottom: 10px; }
.pcard.static p { color: #E3ECF1; max-width: none; }
.partners .ncard { min-height: 0; }
.partners .ncard h3 { margin-top: 0; }
.req { margin-top: 32px; color: var(--steel); font-size: 0.95rem; }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { background: #FFFFFF; border-radius: 22px; padding: 28px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #0B1830; color: #7FE0DC; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 20px; }
.person h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 4px; }
.person .role { color: var(--accent); font-size: 0.9rem; margin-bottom: 12px; }
.person p { color: var(--steel); font-size: 0.93rem; }

@media (max-width: 960px) {
  .body .wrap.two { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 1fr; }
  .srow-cols { grid-template-columns: 1fr; gap: 16px; }
  .people { grid-template-columns: 1fr 1fr; }
  .wide-text { padding: 32px; }
}
@media (max-width: 600px) { .people { grid-template-columns: 1fr; } .wide-facts.six { grid-template-columns: 1fr; } }

.lang a:hover { text-decoration: none; color: #FFFFFF; }

/* Модули Tunuk: соты */
.hexgrid {
  --hw: clamp(132px, 19vw, 224px);
  --hh: calc(var(--hw) * 1.1547);
  --hgap: 10px;
  display: flex; flex-direction: column; align-items: center;
  margin-top: 40px;
}
.hexrow { display: flex; gap: var(--hgap); transform: translateX(calc((var(--hw) + var(--hgap)) * -0.25)); }
.hexrow.off { transform: translateX(calc((var(--hw) + var(--hgap)) * 0.25)); }
.hexrow + .hexrow { margin-top: calc(var(--hh) * -0.25 + var(--hgap) * 0.5); }
.hex { width: var(--hw); height: var(--hh); position: relative; outline: none; }
.hex-in {
  position: absolute; inset: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(155deg, #1B3160 0%, #0B1830 100%);
  color: #FFFFFF;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 13%;
  transition: background 0.35s ease, transform 0.35s ease;
}
.hex:hover .hex-in, .hex:focus-visible .hex-in { background: linear-gradient(155deg, var(--accent) 0%, #0F5F5D 100%); transform: scale(1.04); }
.hex:focus-visible .hex-in { box-shadow: inset 0 0 0 3px #7FE0DC; }
.hex-no { font-size: 0.7rem; letter-spacing: 0.18em; color: #7FE0DC; margin-bottom: 8px; }
.hex h3 { font-size: clamp(0.72rem, 1.1vw, 0.95rem); font-weight: 600; line-height: 1.25; }
.hex p { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); }
.hexnote { margin: 34px auto 0; max-width: 62ch; text-align: center; color: var(--steel); font-size: 0.95rem; min-height: 3em; }
.hexnote strong { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .hex-in { transition: none; } .hex:hover .hex-in, .hex:focus-visible .hex-in { transform: none; } }
@media (max-width: 760px) {
  .hexgrid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .hexrow { display: contents; }
  .hexrow, .hexrow.off { transform: none; }
  .hex { width: auto; height: auto; }
  .hex-in { position: static; clip-path: none; border-radius: 22px; padding: 24px 22px; align-items: flex-start; text-align: left; }
  .hex:hover .hex-in, .hex:focus-visible .hex-in { transform: none; }
  .hex h3 { font-size: 1.05rem; }
  .hex p { position: static; width: auto; height: auto; clip-path: none; margin-top: 10px; font-size: 0.92rem; color: rgba(255,255,255,0.82); }
  .hexnote { display: none; }
}
.hex-in.photo { background-size: cover; background-position: center; }
.hex-in.photo::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,24,48,0.55) 0%, rgba(11,24,48,0.84) 100%);
  transition: background 0.35s ease;
}
.hex:hover .hex-in.photo::before, .hex:focus-visible .hex-in.photo::before {
  background: linear-gradient(180deg, rgba(30,143,140,0.5) 0%, rgba(11,24,48,0.88) 100%);
}
.hex-in.photo > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hex-in.photo::before { transition: none; } }
@media (max-width: 760px) { .hex-in.photo::before { border-radius: 22px; } }

/* Новости и публикации */
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.newscard { display: flex; flex-direction: column; overflow: hidden; background: #FFFFFF; border-radius: 22px; color: var(--ink); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.newscard:hover { text-decoration: none; color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,38,75,0.10); }
.newscard-img { display: block; height: 200px; background-size: cover; background-position: center; }
.newscard-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.newscard .date { display: block; color: var(--steel); font-size: 0.85rem; margin-bottom: 12px; }
.newscard-title { display: block; font-size: 1.22rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 10px; }
.newscard-text { display: block; color: var(--steel); font-size: 0.95rem; }
.newscard .more { margin-top: auto; padding-top: 18px; color: var(--accent); font-size: 0.9rem; font-weight: 500; }
.newscard:hover .more { color: var(--accent-ink); }
.post-source { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--steel); font-size: 0.92rem; }
.post-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 24ch; }
.post-hero .lead { max-width: 60ch; }
.post { background: #FFFFFF; border-radius: 22px; padding: 44px 44px 40px; max-width: 78ch; }
.post p { color: var(--steel); font-size: 1.02rem; max-width: 66ch; }
.post h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 34px 0 14px; }
.post ul { margin: 0 0 1em; padding-left: 22px; color: var(--steel); }
.post li { margin-bottom: 8px; max-width: 64ch; }
.post-back { margin-top: 24px; }
.post-back .link { color: var(--accent); padding-left: 0; }
@media (prefers-reduced-motion: reduce) { .newscard { transition: none; } .newscard:hover { transform: none; } }
@media (max-width: 900px) { .news-list { grid-template-columns: 1fr; } .newscard-img { height: 180px; } }
@media (max-width: 600px) { .post { padding: 28px 22px 26px; } }
.srow-more { margin-top: 16px; }
.srow-more .link { color: var(--accent); padding-left: 0; }
.post ol { margin: 0 0 1em; padding-left: 22px; color: var(--steel); }
.post ol li { margin-bottom: 10px; max-width: 64ch; }
.post ol strong, .post ul strong { color: var(--ink); font-weight: 600; }
.news-empty { background: #FFFFFF; border-radius: 22px; padding: 48px 32px; text-align: center; }
.news-empty p { color: var(--steel); margin: 0 auto; max-width: 42ch; }

/* Первый экран главной: промышленная фотография вместо воды */
.hero.home { background-image: url('hero.webp'); background-color: #0B1830; }
.hero.home::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(8,20,40,0.88) 0%, rgba(8,20,40,0.72) 55%, rgba(8,20,40,0.55) 100%); }
.hero.home .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) { .hero.home::after { background: linear-gradient(180deg, rgba(8,20,40,0.86) 0%, rgba(8,20,40,0.80) 100%); } }
.hero.home { padding: 52px 0 38px; }
@media (max-width: 760px) { .hero.home { padding: 48px 0 44px; } }
.hero h1 sup { font-size: 0.42em; font-weight: 400; top: -0.9em; margin-left: 2px; color: #7FE0DC; }
.hero-note { color: #A9C7D3; font-size: 0.85rem; margin: -14px 0 24px; }

/* Фотографии на первом экране внутренних страниц */
.hero.shot::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(8,20,40,0.88) 0%, rgba(8,20,40,0.74) 55%, rgba(8,20,40,0.58) 100%); }
.hero.shot .wrap { position: relative; z-index: 1; }
.hero.shot.hero-services { background-image: url('hero-services.webp'); }
.hero.shot.hero-tunuk { background-image: url('hero-tunuk.webp'); }
.hero.shot.hero-team { background-image: url('hero-team.webp'); }
.hero.shot.hero-news { background-image: url('hero-news.webp'); }
.hero.shot.hero-contacts { background-image: url('hero-contacts.webp'); }
.hero.shot.hero-about { background-image: url('hero-about.webp'); }
.hero.shot.hero-404 { background-image: url('hero-404.webp'); }
@media (max-width: 760px) { .hero.shot::after { background: linear-gradient(180deg, rgba(8,20,40,0.86) 0%, rgba(8,20,40,0.80) 100%); } }

/* Одинаковая высота первых экранов внутренних страниц */
.hero.page-hero { min-height: 560px; padding: 48px 0; display: flex; align-items: center; }
.hero.page-hero .wrap { width: 100%; }
@media (max-width: 760px) { .hero.page-hero { min-height: 0; display: block; padding: 56px 0 52px; } }
.hero.page-hero:not(.post-hero) h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 20ch; }
.creed .creed-line { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; color: #FFFFFF; margin-bottom: 16px; max-width: 20ch; }
.creed p { max-width: 70ch; }
.copy .creed-foot { color: #A9C7D3; }
.form .consent { display: flex; align-items: flex-start; gap: 10px; color: var(--steel); font-size: 0.88rem; line-height: 1.45; }
.form .consent input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--accent); }
.form .consent a { color: var(--accent); }

/* Контурные ячейки вокруг сот: процесс продолжается за пределами двенадцати модулей */
.hexgrid { overflow: hidden; padding: 6px 0; }
.hex.ghost {
  pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 115.47' preserveAspectRatio='none'><polygon points='50,1 99,29.3 99,86.2 50,114.5 1,86.2 1,29.3' fill='none' stroke='%238AA3AB' stroke-width='1.2' vector-effect='non-scaling-stroke'/></svg>") center / 100% 100% no-repeat;
  opacity: 0.55;
}
.hexrow > .hex.ghost:first-child, .hexrow > .hex.ghost:last-child { opacity: 0.35; }
.ghost-row .hex.ghost { opacity: 0.3; }
.ghost-row .hex.ghost:first-child, .ghost-row .hex.ghost:last-child { opacity: 0.15; }

/* Наведение на соту: золотой оттенок */
.hex:hover .hex-in, .hex:focus-visible .hex-in { background: linear-gradient(155deg, #C9962B 0%, #6B4E14 100%); }
.hex:hover .hex-in.photo::before, .hex:focus-visible .hex-in.photo::before {
  background: linear-gradient(180deg, rgba(214,162,40,0.55) 0%, rgba(11,24,48,0.86) 100%);
}
.hex:focus-visible .hex-in { box-shadow: inset 0 0 0 3px #E8C15A; }
.hex:hover .hex-no, .hex:focus-visible .hex-no { color: #F3D27A; }

@media (max-width: 760px) { .hex.ghost, .ghost-row { display: none; } .hexgrid { overflow: visible; padding: 0; } }
.hexgrid > .ghost-row:first-child { margin-top: calc(var(--hh) * -0.5); }
.hexgrid > .ghost-row:last-child { margin-bottom: calc(var(--hh) * -0.5); }
@media (max-width: 760px) { .hexgrid > .ghost-row:first-child, .hexgrid > .ghost-row:last-child { margin: 0; } }

/* Знак Тунук: логотип выводится как есть, без перекраски и эффектов */
.product-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.product-lockup img { width: 52px; height: 52px; flex: 0 0 auto; display: block; }
.product-lockup .lockup-name { display: block; font-size: 1.55rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; color: #FFFFFF; }
.product-lockup .lockup-name span { font-weight: 400; color: #A9C7D3; }
.product-lockup .lockup-tag { display: block; margin-top: 4px; font-size: 0.88rem; color: #A9C7D3; line-height: 1.35; }
.dcard .product-lockup { margin-bottom: 14px; }
.dcard .product-lockup .lockup-name { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
/* на 404 ворота с надписью должны читаться: правую часть не затемняем */
.hero.shot.hero-404 { background-position: 70% 62%; }
.hero.shot.hero-404::after { background: radial-gradient(ellipse 55% 75% at 100% 0%, rgba(8,20,40,0.82) 0%, rgba(8,20,40,0.45) 45%, rgba(8,20,40,0) 75%), linear-gradient(90deg, rgba(8,20,40,0.9) 0%, rgba(8,20,40,0.62) 45%, rgba(8,20,40,0.12) 100%); }
@media (max-width: 760px) { .hero.shot.hero-404::after { background: linear-gradient(180deg, rgba(8,20,40,0.88) 0%, rgba(8,20,40,0.6) 100%); } }

/* Облегченные картинки для телефонов. Правила действуют только на узких экранах,
   компьютерная версия не меняется. Вертикальный кадр 3:4, центр на главном объекте. */
@media (max-width: 760px) {
  .hero.home { background-image: url('m/hero.webp'); }
  .hero.shot.hero-services { background-image: url('m/hero-services.webp'); }
  .hero.shot.hero-tunuk { background-image: url('m/hero-tunuk.webp'); }
  .hero.shot.hero-about { background-image: url('m/hero-about.webp'); }
  .hero.shot.hero-team { background-image: url('m/hero-team.webp'); }
  .hero.shot.hero-news { background-image: url('m/hero-news.webp'); }
  .hero.shot.hero-contacts { background-image: url('m/hero-contacts.webp'); }
  .hero.shot.hero-404 { background-image: url('m/hero-404.webp'); background-position: center; }
  .dcard, .dcard-sm { background-image: url('m/hero.webp'); }
  .wide-img { background-image: url('m/home-wide.webp') !important; }
}

/* Угловые блоки первых экранов: желтый акцент */
.pix { background: #D4A43A; opacity: 1; }
.hero .pix.tl { z-index: 1; }
/* верхний угол укорочен, чтобы желтый не заходил под текст первого экрана */
.hero .pix.tl { height: 44px; }
@media (max-width: 720px) { .hero .pix.tl { height: 34px; } }
@media (max-width: 720px) { .hero .pix.br { height: 40px; } }

/* Соты: по три модуля в ряду, ячейки крупнее */
.hexgrid { --hw: clamp(150px, 24vw, 290px); --hgap: 12px; }
.hex-no { font-size: 0.78rem; margin-bottom: 10px; }
.hex h3 { font-size: clamp(0.84rem, 1.35vw, 1.14rem); }
.hex-in { padding: 0 14%; }

/* Шапка на узком телефоне: все помещается в экран без прокрутки вбок */
@media (max-width: 480px) {
  .site-header .wrap { gap: 10px; }
  .brand { font-size: 0.78rem; gap: 8px; white-space: normal; line-height: 1.15; max-width: 132px; }
  .brand .logo { width: 28px; height: auto; }
  .site-header .wrap > div { gap: 4px !important; }
  .lang { gap: 0; }
  .lang a, .lang button { padding: 5px 6px; }
  .menu-btn { padding: 6px 4px; }
}
