/* UPIK - temporary website, white edition / v3.
   Local HTML + CSS + the unmodified original PNG. No third-party dependencies.
   The logo must not be cropped, recolored, redrawn or stretched. */
:root {
  color-scheme: light;
  --white: #ffffff;
  --blue: #003366;
  --blue-hover: #164b7d;
  --ink: #18232e;
  --muted: #626d78;
  --line: #e5ebf1;
  --mist: #f5f8fc;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  min-width: 280px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { color: var(--white); background: var(--blue); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
svg { display: block; width: 20px; height: 20px; flex: 0 0 auto; }
svg :is(path, rect, circle) { stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip-link {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 20px;
  padding: 14px 20px;
  border-radius: 8px;
  color: white;
  background: var(--blue);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.page {
  width: min(1200px, calc(100% - 112px));
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 27px 18px;
}
.brand { display: block; flex-shrink: 0; width: 264px; max-width: 100%; }
.brand img { display: block; width: 100%; height: auto; }
.header-nav { display: flex; align-items: center; gap: 40px; }
.header-descriptor { color: var(--muted); font-size: 13px; }
.header-descriptor > span { padding-inline: 9px; color: #919ba6; }
.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}
.header-contact svg { width: 16px; height: 16px; }
.header-contact:hover { text-decoration: underline; text-underline-offset: 5px; }
main { flex: 1; display: flex; flex-direction: column; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  flex: 1;
  padding: clamp(50px, 6vh, 75px) 0 clamp(66px, 8.4vh, 94px);
  text-align: center;
}
.hero::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(100%, 880px);
  height: 470px;
  max-height: 100%;
  transform: translate(-50%, -42%);
  background: radial-gradient(ellipse at center, rgba(225, 239, 250, .34) 0%, rgba(239, 247, 253, .18) 42%, rgba(255, 255, 255, 0) 72%);
}
.hero-content { width: 100%; }
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 25px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow > span { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: var(--blue); }
h1 {
  margin: 0;
  font-size: clamp(72px, 7.75vw, 112px);
  font-weight: 650;
  line-height: 1.035;
  letter-spacing: -.065em;
}
h1 > span { color: var(--blue); }
.hero-description {
  margin: 27px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -.012em;
  text-wrap: pretty;
}
.hero-description > span { display: block; }
.contact-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 29px;
  scroll-margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 54px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button svg { width: 17px; height: 17px; }
.button-primary { color: var(--white); background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); box-shadow: 0 4px 14px rgba(0, 51, 102, .1); }
.button-secondary { color: var(--blue); background: var(--white); border-color: #d5dfe9; }
.button-secondary:hover { background: #f3f7fc; border-color: #adc0d2; }
.location {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr) auto;
  align-items: center;
  gap: 30px;
  padding: 32px 36px;
  border-radius: 23px;
  background: var(--mist);
}
.location-intro { display: flex; align-items: center; gap: 20px; min-width: 0; }
.location-symbol {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  color: var(--blue);
  background: #e8f0f8;
}
.location-symbol svg { width: 22px; height: 22px; }
.section-label {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h2 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -.03em; }
address { font-size: 14px; font-weight: 500; font-style: normal; line-height: 1.7; }
address > span { font-size: 13px; font-weight: 400; color: var(--muted); }
.directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 0 10px 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.directions svg { width: 18px; height: 18px; transition: transform .18s ease; }
.directions:hover { text-decoration: underline; text-underline-offset: 5px; }
.directions:hover svg { transform: translate(2px, -2px); }
.site-footer { padding: 29px 0 31px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.company-name { margin: 0; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .045em; color: #4f5c69; }
.site-address { display: inline-flex; align-items: center; min-height: 28px; gap: 7px; font-size: 12px; color: var(--muted); }
.site-address svg { width: 13px; height: 13px; }
.site-address:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.registration { display: flex; flex-wrap: wrap; gap: 8px 23px; margin: 2px 0 0; font-size: 11px; line-height: 1.7; color: var(--muted); }
.registration > div { display: flex; gap: 6px; }
.registration dt { font-weight: 400; }
.registration dd { margin: 0; font-variant-numeric: tabular-nums; }

@media (min-width: 1440px) and (min-height: 1000px) {
  .page { width: min(1280px, calc(100% - 144px)); }
  .site-header { padding-top: 32px; }
  .hero { padding-block: 75px 105px; }
  .location { padding-block: 37px; }
  .site-footer { padding-block: 32px 36px; }
}
@media (min-width: 761px) and (max-height: 820px) {
  .site-header { padding-top: 18px; padding-bottom: 10px; }
  .brand { width: 242px; }
  .hero { padding-top: 35px; padding-bottom: 48px; }
  h1 { font-size: clamp(68px, 7vw, 96px); }
  .eyebrow { margin-bottom: 20px; }
  .hero-description { margin-top: 22px; }
  .contact-actions { margin-top: 25px; }
  .location { padding-block: 25px; }
  .site-footer { padding-block: 24px; }
}
@media (max-width: 1050px) {
  .page { width: calc(100% - 72px); }
  .header-nav { gap: 24px; }
  .header-descriptor { font-size: 12px; }
  .location { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr) auto; gap: 22px; padding-inline: 26px; }
  .location-intro { gap: 14px; }
  .location-symbol { width: 42px; height: 42px; }
  h2 { font-size: 17px; }
}
@media (max-width: 850px) {
  .header-descriptor { display: none; }
  .location { grid-template-columns: 1fr auto; column-gap: 24px; row-gap: 16px; }
  .location-intro { grid-column: 1 / -1; }
  .location address { padding-left: 56px; }
  .directions { align-self: end; }
}
@media (max-width: 760px) {
  .page { width: calc(100% - 48px); }
  .site-header { padding: 22px 0 14px; gap: 20px; }
  .brand { width: 245px; }
  .hero { padding-top: 49px; padding-bottom: 56px; }
  h1 { font-size: clamp(62px, 10.6vw, 78px); }
  .hero-description { font-size: 16px; max-width: 505px; }
  .button { padding-inline: 22px; }
  .location { border-radius: 20px; padding: 25px 28px; }
  .site-footer { padding-block: 26px 28px; }
  .registration { margin-top: 6px; }
}
@media (max-width: 540px) {
  .page { width: calc(100% - 40px); }
  .site-header { gap: 12px; padding: 20px 0 10px; }
  .brand { width: min(66vw, 250px); }
  .header-contact { font-size: 12px; gap: 5px; }
  .header-contact svg { width: 14px; height: 14px; }
  .hero { padding-top: 42px; padding-bottom: 44px; }
  .hero::before { width: calc(100% + 28px); height: 340px; top: 42%; }
  .eyebrow { margin-bottom: 22px; font-size: 9px; letter-spacing: .15em; gap: 8px; }
  h1 { font-size: clamp(44px, 13.4vw, 68px); line-height: 1.045; letter-spacing: -.065em; }
  .hero-description { max-width: 340px; margin-top: 23px; font-size: 14px; line-height: 1.8; letter-spacing: -.01em; }
  .contact-actions { flex-direction: column; gap: 10px; margin-top: 25px; }
  .button { width: min(100%, 286px); min-height: 50px; padding: 12px 20px; font-size: 14px; gap: 10px; }
  .button svg { width: 16px; height: 16px; }
  .location { grid-template-columns: minmax(0, 1fr) auto; gap: 16px 12px; padding: 24px; border-radius: 19px; }
  .location-intro { gap: 13px; }
  .location-symbol { width: 38px; height: 38px; }
  .location-symbol svg { width: 20px; height: 20px; }
  .section-label { margin-bottom: 5px; font-size: 9px; letter-spacing: .12em; }
  h2 { font-size: 16px; }
  .location address { padding-left: 0; font-size: 13px; }
  address > span { font-size: 12px; }
  .directions { padding: 6px 0; font-size: 12px; gap: 6px; min-height: 44px; }
  .directions svg { width: 16px; height: 16px; }
  .site-footer { padding: 24px 4px 27px; }
  .footer-top { display: contents; }
  .site-footer { display: flex; flex-direction: column; align-items: flex-start; }
  .company-name { font-size: 11px; }
  .registration { order: 1; column-gap: 15px; row-gap: 5px; margin-top: 9px; font-size: 10.5px; }
  .registration > div { gap: 4px; }
  .site-address { order: 2; min-height: 44px; margin-top: 4px; font-size: 12px; }
}
@media (max-width: 360px) {
  .page { width: calc(100% - 32px); }
  .brand { width: 205px; }
  .header-contact { font-size: 11px; }
  .header-contact svg { display: none; }
  .hero { padding-top: 35px; padding-bottom: 36px; }
  h1 { font-size: 44px; }
  .hero-description { font-size: 13px; }
  .location { padding: 21px 19px; }
  .location-intro { gap: 10px; }
  .location-symbol { width: 32px; height: 32px; }
  h2 { font-size: 14px; }
  .directions { font-size: 11px; gap: 3px; }
}
@media (max-width: 300px) {
  .brand { width: 180px; }
  .page { width: calc(100% - 28px); }
  .header-contact { font-size: 10px; }
  h1 { font-size: 39px; }
  .location { grid-template-columns: 1fr; }
  .location-intro { align-items: flex-start; }
  .directions { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .page { width: 100%; min-height: 0; }
  .site-header { padding: 0 0 20px; }
  .header-nav, .skip-link, .hero::before { display: none; }
  .hero { padding: 30px 0; }
  h1 { font-size: 58px; }
  .hero-description { font-size: 14px; }
  .button { border: 1px solid #a8b6c4; color: #003366; background: #fff; }
  .location { margin-top: 15px; border: 1px solid #d5dfe9; break-inside: avoid; }
  .site-footer { padding-top: 24px; }
}
