@font-face {
  font-family: 'Tuva Cormorant';
  src: url('/revision-r23/fonts/tuva-cormorant-650.woff') format('woff');
  font-style: normal;
  font-weight: 650;
  font-display: swap;
}
@font-face {
  font-family: 'Tuva Manrope';
  src: url('/revision-r23/fonts/tuva-manrope-750.woff') format('woff');
  font-style: normal;
  font-weight: 750;
  font-display: swap;
}
/* Fit the circular logo into the user's approximately 93 x 102px top-left crop. */
.tuva-home-brand {
  position: absolute;
  z-index: 20;
  top: calc(6px - 2.75rem);
  left: 1px;
  width: 90px;
}
.tuva-home-brand-circle {
  position: relative;
  width: 90px;
  aspect-ratio: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: #fcfaf5;
  color: #244b4d;
  box-shadow: none;
  overflow: hidden;
  text-decoration: none;
}
.tuva-home-brand-mark {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  overflow: visible;
  color: inherit;
}
/* Tree motion is explicitly cancelled on every page, including legacy headers. */
.tuva-brand-trees,
.tuva-brand-trees *,
.tuva-home-brand-mark,
.tuva-home-brand-mark * {
  animation: none !important;
  transition: none !important;
}
.tuva-leaf-still { opacity: 1 !important; }
.tuva-leaf-flying { display: none !important; }
.tuva-home-brand-wordmark,
.tuva-home-brand-premium,
.tuva-home-brand-melamin {
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  color: inherit;
  text-align: center;
  white-space: nowrap;
  font-style: normal;
  font-synthesis: none;
  pointer-events: none;
}
.tuva-home-brand-wordmark {
  top: 40px;
  font-family: 'Tuva Cormorant', Georgia, serif;
  font-size: 25px;
  font-weight: 650;
  line-height: 25px;
  letter-spacing: .1px;
}
.tuva-home-brand-premium,
.tuva-home-brand-melamin {
  font-family: 'Tuva Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 750;
  line-height: 11px;
  letter-spacing: .45px;
}
.tuva-home-brand-premium { top: 61px; }
.tuva-home-brand-melamin { top: 72px; }
main > [code-path="src/pages/Home.tsx:40:5"] {
  margin-left: 0;
  width: 100%;
}
main > [code-path="src/pages/Home.tsx:40:5"] .container-site {
  padding-inline: clamp(64px, 5vw, 80px);
  padding-top: 80px;
  padding-bottom: 36px;
}
/* React updates the header class while scrolling. Match the badge itself so
   the reserved menu space and hidden centre logo survive those updates. */
header:has(> .tuva-home-brand) .tuva-brand-link {
  display: none !important;
}
header:has(> .tuva-home-brand) [code-path="src/components/site/Header.tsx:274:9"] {
  grid-template-columns: minmax(0, 1fr) auto;
}
header:has(> .tuva-home-brand) [code-path="src/components/site/Header.tsx:275:11"] {
  padding-left: 80px;
}
header:has(> .tuva-home-brand) [code-path="src/components/site/Header.tsx:99:9"] {
  justify-content: flex-end;
}
body:has(header > .tuva-home-brand) [code-path="src/components/site/TopBar.tsx:8:7"] {
  padding-left: 104px;
}
@media (max-width: 767px) {
  main > [code-path="src/pages/Home.tsx:40:5"] .container-site {
    padding-inline: 24px;
    padding-top: 88px;
    padding-bottom: 64px;
  }
  main > [code-path="src/pages/Home.tsx:40:5"] h1 {
    font-size: clamp(34px, 8vw, 44px);
  }
}
@media (max-width: 380px) {
  main > [code-path="src/pages/Home.tsx:40:5"] {
    min-height: 600px;
  }
}
