/* sbryapim.com — design direction 44 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #eef0f2;
  --panel: #ffffff;
  --ink: #14181d;
  --ink-2: #2b323a;
  --muted: #4a535e;
  --line: #c9ced4;
  --soft: #f4f6f8;
  --placeholder: #dfe3e8;
  --accent: #26237b;
  --dark: #14181d;
  --on-dark: #e9ecef;
  --on-dark-muted: #aab3bd;
  --gap: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--panel); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

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

/* Header */
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: block; padding: 10px 0; }
.brand img { height: 48px; width: auto; }
.menu { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; margin: 0; padding: 10px 0; font-size: 15px; font-weight: 500; }
.menu a { text-decoration: none; display: inline-block; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a[aria-current] { font-weight: 700; border-bottom-color: var(--accent); }
@media (max-width: 600px) {
  .site-header .wrap { min-height: 0; }
  .brand img { height: 40px; }
  .menu { gap: 2px 18px; font-size: 15px; padding-top: 0; }
}

/* Page frame */
.page { padding-top: 24px; padding-bottom: 72px; display: flex; flex-direction: column; gap: var(--gap); }
.crumbs { font-size: 13px; color: var(--muted); padding: 8px 0 4px; }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }

.panel { background: var(--panel); padding: clamp(22px, 3vw, 44px); }
.panel-sm { background: var(--panel); padding: 22px; }
.dark { background: var(--dark); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: #ffffff; }
.dark a { color: #ffffff; }

.row { display: flex; flex-wrap: wrap; gap: var(--gap); }
.row > * { min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--gap); }
.grid-sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: var(--gap); }
.section { margin-top: 56px; display: flex; flex-direction: column; gap: 20px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dark .eyebrow { color: var(--on-dark-muted); }
.display { font-size: clamp(48px, 8vw, 112px); line-height: 0.92; letter-spacing: -0.045em; font-weight: 700; }
.title { font-size: clamp(40px, 6vw, 80px); line-height: 0.95; letter-spacing: -0.04em; }
.h2 { font-size: clamp(26px, 3vw, 32px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 680px; }
.dark .lead { color: #cfd5db; }
.prose { font-size: 16px; line-height: 1.75; color: var(--ink-2); display: flex; flex-direction: column; gap: 16px; }
.prose h2 { color: var(--ink); font-size: 24px; }
.prose h3 { color: var(--ink); font-size: 18px; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.6; }

.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-block; text-decoration: none; padding: 13px 22px; font-weight: 600; font-size: 15px; border: 1px solid var(--ink); color: var(--ink); background: transparent; font-family: inherit; cursor: pointer; }
.btn:hover { color: var(--accent); border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.btn-primary:hover { background: #1b1960; color: #ffffff; }
.link-arrow { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--accent); }
.dark .link-arrow { color: #ffffff; border-bottom: 2px solid #8f8cff; padding-bottom: 3px; }

/* Media */
.media { position: relative; min-height: 320px; background: var(--placeholder); }
.media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media figcaption, .media .tag, .card-media .tag { position: absolute; left: 12px; bottom: 12px; background: rgba(20, 24, 29, 0.75); color: #ffffff; font-size: 12px; padding: 4px 8px; }
figure { margin: 0; }

/* Home */
.hero { display: flex; flex-wrap: wrap; gap: var(--gap); }
.hero-text { flex: 8 1 560px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hero-media { flex: 4 1 300px; min-height: 380px; }
.stat-num { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 4px; }
.dark .stat-label { color: var(--on-dark-muted); }

.card { background: var(--panel); text-decoration: none; display: flex; flex-direction: column; color: var(--ink); }
.card:hover h3 { color: var(--accent); }
.card .card-media { position: relative; height: 200px; background: var(--placeholder); overflow: hidden; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card .card-media.type { background: var(--dark); color: #ffffff; display: flex; align-items: flex-end; padding: 20px; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.card .card-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.card h3 { font-size: 18px; }
.card p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: var(--gap); }
.timeline li { border-top: 2px solid var(--ink); padding-top: 12px; }
.timeline .year { font-weight: 700; font-size: 20px; }
.timeline p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }

.feature { display: flex; flex-wrap: wrap; gap: var(--gap); }
.feature > .media { flex: 5 1 380px; }
.feature > .panel { flex: 7 1 480px; display: flex; flex-direction: column; gap: 12px; }
.figures { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; border-top: 1px solid #3a424b; padding-top: 16px; }
.figures > div { flex: 1 1 150px; }
.figures .stat-num { font-size: 30px; }

/* Lists of facts */
.facts { margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.5; }
.facts dt { color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.table-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; background: var(--line); }
.table-list li { background: var(--panel); padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 6px 32px; }
.table-list .year { flex: 0 0 170px; font-weight: 700; font-size: 18px; }
.table-list .text { flex: 1 1 380px; min-width: 0; line-height: 1.6; color: var(--ink-2); }

/* Activities */
.side-nav { flex: 1 1 240px; background: var(--panel); padding: 12px 0; display: flex; flex-direction: column; align-self: flex-start; font-size: 15px; }
.side-nav a { text-decoration: none; padding: 12px 22px; border-left: 3px solid transparent; }
.side-nav a[aria-current] { font-weight: 700; border-left-color: var(--accent); background: var(--soft); }
.side-main { flex: 999 1 640px; display: flex; flex-direction: column; gap: var(--gap); }
.contact-strip { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

/* Contact */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; flex: 1 1 240px; min-width: 0; }
.field input, .field textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 12px 14px; border: 1px solid #8a939d; background: #ffffff; color: var(--ink); border-radius: 0; width: 100%; }
.field textarea { resize: vertical; min-height: 150px; }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message { padding: 12px 14px; font-size: 15px; line-height: 1.5; }
.form-message.ok { background: #e6f4ea; color: #14532d; }
.form-message.error { background: #fbe9e7; color: #8c1d18; }
.field-error { color: #b3261e; font-size: 13px; font-weight: 400; }

.map-link { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 220px; padding: 22px; background: var(--dark); color: #ffffff; text-decoration: none; }
.map-link:hover { color: #ffffff; background: #22282f; }

/* Footer */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer .legal { display: flex; flex-direction: column; gap: 4px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-start; }
.project-link { text-decoration: none; color: inherit; }
.project-link:hover .title { text-decoration: underline; }
.mt { margin-top: 56px; }
.contact-row > * { flex: 4 1 260px; }
.contact-row address { font-style: normal; }
.form > .field { flex: none; }
