/* Visual polish */
:root {
  --page-ink: #4A5563;
  --page-heading: #36414C;
  --page-accent: #8A5A44;
  --page-surface: #F8F5F1;
}

body {
  color: var(--page-ink);
  background-color: #FBFAF8;
}

#main {
  background-color: #FBFAF8;
}

#main > .inner {
  --padding-horizontal: 4.5rem;
  --padding-vertical: 4.5rem;
  --spacing: 2rem;
}

.lang-switcher {
  position: fixed;
  top: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: fit-content;
  max-width: calc(100vw - 2rem);
  margin: 0 auto 1.5rem auto;
  padding: 0.35rem 0.45rem;
  flex-wrap: wrap;
  border: 1px solid rgba(54, 65, 76, 0.1);
  border-radius: 999px;
  background: rgba(251, 250, 248, 0.58);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(30, 41, 59, 0.06);
  transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lang-switcher__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(54, 65, 76, 0.1);
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.06);
  opacity: 0;
  transform: scale(0.88);
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms ease, background-color 180ms ease;
}

.lang-switcher__logo img {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

body.is-scrolled .lang-switcher__logo {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

body.is-scrolled .lang-switcher {
  background: rgba(251, 250, 248, 0.58);
  border-color: rgba(54, 65, 76, 0.14);
  box-shadow: 0 12px 28px rgba(30, 41, 59, 0.1);
}

.lang-switcher__logo:hover,
.lang-switcher__logo:focus-visible {
  background: #fffaf6;
}

.lang-switcher__links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.lang-switcher__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(54, 65, 76, 0.08);
  border-radius: 999px;
  background: transparent;
  color: var(--page-heading);
  text-decoration: none;
  font: 600 0.79rem/1 "Inter", sans-serif;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.lang-switcher__links a:hover,
.lang-switcher__links a:focus-visible {
  background: #fffaf6;
  border-color: rgba(138, 90, 68, 0.2);
}

.lang-switcher__links a.is-active {
  border-color: rgba(138, 90, 68, 0.35);
  background: #fffaf6;
}

.lang-switcher .flag {
  font-size: 0.95rem;
  line-height: 1;
}

#text01,
h1.style1,
h2.style1,
h3.style1,
p.style1 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--page-heading);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

#text01 {
  max-width: 18ch;
  font-size: 4.9em;
  line-height: 1.02;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.35);
}

h1.style1,
h2.style1,
h3.style1,
p.style1 {
  max-width: 24ch;
  font-size: 3.45em;
  line-height: 1.08;
}

h1.style2,
h2.style2,
h3.style2,
p.style2 {
  color: var(--page-heading);
  font-family: "Geist", sans-serif;
  font-size: 1.2em;
  line-height: 1.35;
  font-weight: 700;
}

h1.style3,
h2.style3,
h3.style3,
p.style3 {
  color: var(--page-ink);
  font-family: "Inter", sans-serif;
  font-size: 1.045em;
  line-height: 1.82;
  font-weight: 400;
}

#container03 > .wrapper {
  position: relative;
}

#container03 > .wrapper:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.08) 22%, rgba(251, 250, 248, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

#container03 > .wrapper > .inner {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

#container02,
#container05,
#container01 {
  background-color: #FBFAF8;
}

#container04 {
  background-color: #F4EFE8;
}

#container02 > .wrapper > .inner,
#container03 > .wrapper > .inner,
#container05 > .wrapper > .inner,
#container01 > .wrapper > .inner {
  padding-top: 4.25rem;
  padding-bottom: 4.25rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(54, 65, 76, 0.12);
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(30, 41, 59, 0.05);
}

#container04 > .wrapper > .inner {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  border: 1px solid rgba(138, 90, 68, 0.12);
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(30, 41, 59, 0.04);
}

#buttons01 .button,
#buttons02 .button {
  border-radius: 999px;
  background-color: #FFFFFF;
  border: 1px solid rgba(138, 90, 68, 0.22);
  box-shadow: 0 10px 30px rgba(54, 65, 76, 0.08);
  color: var(--page-heading);
  font-weight: 600;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

#buttons01 .button:hover,
#buttons02 .button:hover {
  background-color: #FFFAF6;
  border-color: rgba(138, 90, 68, 0.42);
  transform: translateY(-1px);
}

#embed01,
#embed02 {
  margin-top: 1.5rem;
}

@media (max-width: 1200px) {
  #main > .inner {
    --padding-horizontal: 1.75rem;
    --padding-vertical: 2.75rem;
    --spacing: 1.35rem;
  }

  #text01 {
    max-width: 13ch;
    font-size: 3.1em;
    line-height: 1.04;
  }

  h1.style1,
  h2.style1,
  h3.style1,
  p.style1 {
    max-width: 15ch;
    font-size: 2.25em;
    line-height: 1.08;
  }

  h1.style3,
  h2.style3,
  h3.style3,
  p.style3 {
    font-size: 1em;
    line-height: 1.72;
  }

  #container03 > .wrapper > .inner,
  #container02 > .wrapper > .inner,
  #container05 > .wrapper > .inner,
  #container01 > .wrapper > .inner,
  #container04 > .wrapper > .inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  #container02 > .wrapper > .inner,
  #container03 > .wrapper > .inner,
  #container05 > .wrapper > .inner,
  #container01 > .wrapper > .inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  #container02 > .wrapper > .inner > div,
  #container03 > .wrapper > .inner > div,
  #container05 > .wrapper > .inner > div,
  #container01 > .wrapper > .inner > div {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
  }

  #container02 > .wrapper > .inner > div:first-child,
  #container05 > .wrapper > .inner > div:first-child {
    order: 2;
  }

  #container02 > .wrapper > .inner > div:last-child,
  #container05 > .wrapper > .inner > div:last-child {
    order: 1;
  }

  #container03 > .wrapper > .inner > div:first-child,
  #container01 > .wrapper > .inner > div:first-child {
    order: 1;
  }

  #container03 > .wrapper > .inner > div:last-child,
  #container01 > .wrapper > .inner > div:last-child {
    order: 2;
  }
}

@media (max-width: 736px) {
  .lang-switcher {
    top: 0.55rem;
    gap: 0.5rem;
    max-width: calc(100vw - 1rem);
    padding: 0.32rem 0.38rem;
  }

  .lang-switcher__logo {
    width: 1.9rem;
    height: 1.9rem;
  }

  .lang-switcher__links {
    gap: 0.32rem;
  }

  .lang-switcher__links a {
    min-height: 1.9rem;
    padding: 0.4rem 0.58rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 640px) {
  .lang-switcher {
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .lang-switcher a {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
  }

  #wrapper {
    padding: 0 0.75rem 0.75rem 0.75rem;
  }

  #main > .inner {
    --padding-horizontal: 1.15rem;
    --padding-vertical: 2.1rem;
    --spacing: 1.1rem;
  }

  #text01 {
    max-width: 11ch;
    font-size: 2.3em;
    line-height: 1.06;
    letter-spacing: -0.025em;
  }

  h1.style1,
  h2.style1,
  h3.style1,
  p.style1 {
    max-width: 12ch;
    font-size: 1.65em;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  h1.style2,
  h2.style2,
  h3.style2,
  p.style2 {
    font-size: 1.05em;
    line-height: 1.32;
  }

  h1.style3,
  h2.style3,
  h3.style3,
  p.style3 {
    font-size: 0.98em;
    line-height: 1.66;
  }

  #container03 > .wrapper > .inner,
  #container02 > .wrapper > .inner,
  #container05 > .wrapper > .inner,
  #container01 > .wrapper > .inner,
  #container04 > .wrapper > .inner {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
  }
}

/* Layout hardening */
#container02 > .wrapper > .inner,
#container03 > .wrapper > .inner,
#container05 > .wrapper > .inner,
#container01 > .wrapper > .inner {
  align-items: stretch !important;
  overflow: visible !important;
  border-radius: 2px !important;
}

#container04 > .wrapper > .inner {
  border-radius: 2px !important;
}

#container02 > .wrapper > .inner > div,
#container03 > .wrapper > .inner > div,
#container05 > .wrapper > .inner > div,
#container01 > .wrapper > .inner > div {
  align-self: stretch !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding-bottom: 0.25rem !important;
}

#container02 p.style3,
#container03 p.style3,
#container05 p.style3,
#container01 p.style3,
#container02 h2.style2,
#container03 h2.style2,
#container05 h2.style2,
#container01 h2.style2 {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  word-break: normal;
  overflow-wrap: break-word;
}

#container02 .full,
#container03 .full,
#container05 .full,
#container01 .full {
  margin-left: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

#container02 .image.style1,
#container03 .image.style1,
#container05 .image.style1,
#container01 .image.style1 {
  line-height: 0;
  background: transparent !important;
}

#container02 .image.style1 .frame,
#container03 .image.style1 .frame,
#container05 .image.style1 .frame,
#container01 .image.style1 .frame {
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 2px !important;
}

#container02 .image.style1 img,
#container03 .image.style1 img,
#container05 .image.style1 img,
#container01 .image.style1 img {
  display: block;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  vertical-align: top;
  border-radius: 2px !important;
}

#container02 > .wrapper > .inner > div > *:last-child,
#container03 > .wrapper > .inner > div > *:last-child,
#container05 > .wrapper > .inner > div > *:last-child,
#container01 > .wrapper > .inner > div > *:last-child {
  margin-bottom: 0 !important;
}
