/* latin-ext files carry Latvian ģ ķ ļ ņ and Lithuanian ą ę ė į ų.
   German ä ö ü ß live in the latin files. Both subsets are required. */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2");
  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: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext.woff2") format("woff2");
  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: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600-latin-ext.woff2") format("woff2");
  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;
}

:root {
  --paper: #ebe6da;
  --ink: #1b1d1f;
  --muted: #5c574f;
  --faint: #8a847a;
  --carmine: #c41230;
  --line: rgba(27, 29, 31, 0.14);
  --sans: "Source Sans 3", "Noto Sans", sans-serif;
  --serif: "Source Serif 4", "Noto Serif", "Palatino Linotype", serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(ellipse 70% 42% at 50% -8%, rgba(255, 252, 245, 0.85), transparent 58%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 430;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.35rem 0 1.4rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.langs button {
  appearance: none;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 550;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.langs button[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(255, 252, 246, 0.72);
  box-shadow: inset 0 0 0 1px var(--line);
}

.langs button:hover { color: var(--ink); }

.langs button:focus-visible,
.phone:focus-visible {
  outline: 2px solid var(--carmine);
  outline-offset: 3px;
}

.place {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.2rem 0 2rem;
}

.mark {
  width: min(188px, 46vw);
  height: auto;
  display: block;
}

.brand {
  margin: 1.05rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-legal {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.46em;
  color: var(--carmine);
  padding-left: 0.46em;
  line-height: 1;
}

.brand-name {
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(2.5rem, 7.4vw, 4.4rem);
  letter-spacing: 0.155em;
  line-height: 0.92;
  text-transform: uppercase;
  padding-left: 0.155em;
  margin-top: 0.28rem;
}

.rule {
  width: 3.25rem;
  height: 2px;
  border: 0;
  margin: 1.35rem 0 1.05rem;
  background: var(--carmine);
}

.kicker {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--carmine);
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(2.05rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0;
  max-width: 18ch;
}

.lead {
  max-width: 40rem;
  margin: 1rem 0 0;
  font-weight: 400;
}

.note {
  max-width: 36rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 1.55rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: #f6f1e6;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.phone:hover { background: #000; }

footer {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.9fr;
  gap: 1.1rem 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
  text-align: left;
}

footer h2 {
  margin: 0 0 0.28rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

footer p {
  margin: 0;
  font-size: 0.98rem;
}

.copy {
  grid-column: 1 / -1;
  margin-top: 0.2rem;
  color: var(--faint);
  font-size: 0.85rem;
}

::selection {
  background: rgba(196, 18, 48, 0.18);
}

@media (max-width: 760px) {
  .shell { width: min(100% - 1.5rem, 1080px); }

  header {
    flex-direction: column;
    align-items: center;
  }

  .langs { justify-content: center; }

  .place { text-align: center; }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-name { letter-spacing: 0.11em; padding-left: 0.11em; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
