:root {
  --navy: #102c46;
  --navy-deep: #0b2135;
  --ink: #172e42;
  --muted: #475b6d;
  --blue: #285f88;
  --sky: #aed7f3;
  --pale: #edf4f9;
  --paper: #f5f7f9;
  --line: #cfdae3;
  --white: #ffffff;
  --focus: #8b3400;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1.125rem; line-height: 1.7; overflow-wrap: break-word; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--blue); text-decoration-thickness: .075em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
section[id], #vrh, #vsebina { scroll-margin-top: 1.5rem; }
.container { width: min(74rem, calc(100% - 5rem)); margin-inline: auto; }
.section { padding-block: 6.5rem; }
.eyebrow { color: var(--blue); font-size: .875rem; font-weight: 700; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; margin-bottom: 1.125rem; }
h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.2; letter-spacing: -.035em; font-weight: 650; }
h3 { font-size: 1.375rem; line-height: 1.35; letter-spacing: -.015em; font-weight: 650; }
.two-column { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5rem; }
.intro-note { color: var(--muted); margin-top: 1.5rem; max-width: 23rem; }
.skip-link { position: absolute; top: .75rem; left: 1rem; z-index: 10; transform: translateY(-160%); padding: .8rem 1.2rem; color: var(--navy); background: var(--white); border: 2px solid var(--navy); border-radius: .25rem; font-weight: 700; }
.skip-link:focus { transform: none; }

.site-header { background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; padding-block: 1.35rem; }
.brand { min-width: 0; overflow-wrap: anywhere; color: var(--navy); font-size: 1.5rem; font-weight: 750; letter-spacing: -.045em; text-decoration: none; line-height: 1.4; padding-block: .3rem; }
.site-header nav { min-width: 0; }
.brand span { color: var(--blue); font-weight: 450; }
.nav-list { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem 1.4rem; padding: 0; margin: 0; list-style: none; }
.nav-list a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.nav-list a:hover { text-decoration: underline; }
.nav-list .nav-contact { padding: .45rem 1rem; background: var(--pale); border-radius: .25rem; }

.hero { background: var(--navy); color: var(--white); }
.hero-inner { padding-block: 4rem 3.5rem; }
.hero-eyebrow { color: var(--sky); margin-bottom: 2rem; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.8rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 650; }
.hero h1 span { color: var(--sky); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2.5rem; margin-top: 2.75rem; border-top: 1px solid #55728c; padding-top: 1.75rem; }
.hero-description { max-width: 37rem; color: #deebf5; font-size: 1.125rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 3.2rem; padding: .75rem 1.2rem; border: 1px solid transparent; border-radius: .25rem; font-size: 1rem; font-weight: 650; text-decoration: none; line-height: 1.4; }
.button span { font-size: 1.2rem; }
.button:hover { text-decoration: underline; }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: #e7f3fc; }
.button-outline { border-color: #90b2cb; color: var(--white); }
.button-outline:hover { background: #214460; }
.hero a:focus-visible, .project-panel a:focus-visible { outline-color: #ffd582; }

.about-copy p + p { margin-top: 1.2rem; }
.about-copy { color: var(--muted); }
.about-copy .lead { color: var(--ink); font-size: 1.5rem; line-height: 1.45; font-weight: 500; letter-spacing: -.015em; }
.about-copy a { font-weight: 650; }
.personal-note { margin-top: 2.25rem; border-left: 3px solid var(--blue); padding-left: 1.25rem; font-size: 1.35rem; line-height: 1.45; }
.personal-note strong { font-weight: 650; }

.services { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.75rem; }
.section-heading > p { color: var(--muted); flex-shrink: 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; padding: 0; margin: 0; list-style: none; }
.service { padding: 2.25rem; background: var(--white); border: 1px solid var(--line); border-radius: .35rem; }
.service-number { display: inline-block; margin-bottom: 1.75rem; font-size: .9375rem; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.service h3 { max-width: 25rem; }
.service p { color: var(--muted); margin-top: 1rem; }
.service-accessibility { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 2.5rem; background: var(--pale); border-color: #b9cedf; }
.service-accessibility .service-number { margin: .25rem 0 0; }
.service-accessibility h3 { max-width: none; }
.service-accessibility p { max-width: 53rem; }

.reference-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.reference-list li { border-bottom: 1px solid var(--line); }
.reference-link { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: var(--ink); padding: 1.7rem .25rem; text-decoration: none; }
.reference-link:hover .reference-name { text-decoration: underline; text-underline-offset: .2em; }
.reference-name { display: block; font-size: 1.25rem; font-weight: 650; line-height: 1.4; }
.reference-domain { display: block; font-size: 1rem; color: var(--blue); text-decoration: underline; margin-top: .4rem; }
.reference-arrow { color: var(--blue); font-size: 1.6rem; }

.project-section { padding-bottom: 1rem; }
.project-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; padding: 3.75rem; background: var(--navy); border-radius: .5rem; color: var(--white); }
.project-panel .eyebrow { color: var(--sky); }
.project-panel h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); }
.project-tagline { color: var(--sky); margin-top: 1.5rem; font-size: 1.375rem; line-height: 1.5; }
.project-copy > p { color: #deebf5; }
.project-copy > p + p { margin-top: 1rem; }
.project-copy .button { margin-top: 1.75rem; }
.project-copy .project-status { font-size: .9375rem; margin-top: 1rem; }

.contact-row { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.contact-details h3 { color: var(--muted); font-size: .9375rem; letter-spacing: 0; margin-bottom: .6rem; }
.contact-link { display: inline-block; padding-block: .15rem; color: var(--navy); font-size: clamp(1.25rem, 2.4vw, 1.8rem); line-height: 1.5; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; padding-top: .5rem; font-size: 1rem; }
address { font-style: normal; }
.social-links { padding: 0; margin: 0; list-style: none; }
.social-links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; }
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 1.5rem; font-size: .9375rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer-inner p { color: var(--muted); }
.footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .75rem; }

@media (min-width: 90rem) {
  .hero-inner { padding-block: 4.5rem 4rem; }
}
@media (max-width: 65rem) {
  .header-inner { flex-wrap: wrap; }
  .two-column { gap: 3rem; }
  .hero-bottom { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .hero-description { max-width: 43rem; }
  .project-panel { gap: 2.5rem; padding: 3rem; }
  .contact-meta { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}
@media (max-width: 48rem) {
  .container { width: calc(100% - 3rem); }
  .section { padding-block: 4rem; }
  .two-column { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .header-inner { gap: .65rem; padding-block: 1rem; }
  .nav-list { gap: .25rem 1.25rem; }
  .nav-list .nav-contact { padding-inline: 0; background: none; }
  .hero-inner { padding-block: 3rem 2.5rem; }
  .hero h1 { font-size: clamp(2.15rem, 6.4vw, 3.1rem); }
  .hero-eyebrow { margin-bottom: 1.5rem; }
  .hero-bottom { margin-top: 2rem; }
  .personal-note { display: none; }
  .about .intro-note { max-width: none; }
  .service-grid { gap: 1rem; }
  .service { padding: 1.5rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1.2rem; }
  .service-accessibility { gap: 1.5rem; }
  .project-panel { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 2.25rem; }
  .project-tagline { margin-top: 1rem; }
  .project-section { padding-bottom: 0; }
  .contact-meta { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 36rem) {
  .container { width: calc(100% - 2.5rem); }
  .brand { font-size: 1.4rem; }
  .nav-list { gap: .1rem 1.1rem; }
  .nav-list a { font-size: .9375rem; }
  .hero h1 { font-size: clamp(1.65rem, 7.35vw, 2.65rem); letter-spacing: -.04em; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .button { padding: .75rem .9rem; gap: .7rem; }
  .hero-actions .button { font-size: .9375rem; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-accessibility { display: block; }
  .service-accessibility .service-number { margin-bottom: 1.75rem; }
  .project-panel { padding: 1.75rem 1.5rem; }
  .contact-meta { grid-template-columns: minmax(0, 1fr); }
  .eyebrow { letter-spacing: .085em; }
}
@media (max-width: 22rem) {
  .hero-actions { grid-template-columns: minmax(0, 1fr); }
  .project-panel { padding: 1.5rem 1.25rem; }
  .button { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .button, .service, .project-panel { border: 1px solid CanvasText; }
}
@media print {
  .container { width: 100%; }
  .nav-list, .skip-link, .hero-actions, .footer-inner > a { display: none; }
  .section, .hero-inner { padding-block: 1.5rem; }
  .hero, .project-panel, .services, .service { color: #000; background: #fff; }
  .hero h1 span, .eyebrow, .hero-description, .project-panel .eyebrow, .project-tagline, .project-copy > p { color: #000; }
  .hero h1 { font-size: 2.5rem; }
  .two-column, .project-panel { display: block; }
  .section-intro, .project-title { margin-bottom: 1.5rem; }
  .project-panel { padding: 1rem; border: 1px solid #999; }
  .button-light { color: #000; border-color: #000; }
  .service { break-inside: avoid; }
  .contact-meta { grid-template-columns: 1fr 1fr; }
}
