

@font-face {
  font-family: "TM";
  src: url("../fonts/TonkaMonoBeta-RegularMono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "TM";
  src: url("../fonts/TonkaMonoBeta-RegularMonoItalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "TM";
  src: url("../fonts/TonkaMonoBeta-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "TM";
  src: url("../fonts/TonkaMonoBeta-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
}


:root {
  --font-gauche: "Gauche", sans-serif;
  --font-tm: "TM", sans-serif;
}


*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  min-height: 0;
  min-width: 0;
}

html, body {
  font-size: 13px;
  height: 100%; 
  font-family: var(--font-tm), serif ;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  background-color: white;
  font-weight: normal;
}

body {
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  font-weight: normal;
  font-size: 1em;
}


img {
  width: 100%;
}

li {
  list-style: none;

}
a {
  text-decoration: none;
  opacity: 1;
  color: black;
}

strong{
  font-weight: 700;
}

/* ── Site logo (fixed, top-centre, all non-home pages) ──────────────────────── */

.site-logo {
      

    position: fixed;
    top: 2vh;
    left: 50%;
    transform: translateX(-50%);
    width: 10vw;
    z-index: 15;
}

.site-logo svg {
  display: block;
  width: 100%;
}
/*
.site-logo svg path,
.site-logo svg text,
.site-logo svg polygon,
.site-logo svg circle,
.site-logo svg ellipse {
  fill: currentColor !important;
}

.site-logo svg rect {
  fill: none !important;
  stroke: currentColor;
}*/



/*----------------------------------------------- GRID */

.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1%;
}

.col-1 {grid-column-end: span 1;}
.col-2 {grid-column-end: span 2;}
.col-3 {grid-column-end: span 3;}
.col-4 {grid-column-end: span 4;}
.col-5 {grid-column-end: span 5;}
.col-6 {grid-column-end: span 6;}
.col-7 {grid-column-end: span 7;}
.col-8 {grid-column-end: span 8;}
.col-9 {grid-column-end: span 9;}
.col-10 {grid-column-end: span 10;}
.col-11 {grid-column-end: span 11;}
.col-12 {grid-column-end: span 12;}


/*----------------------------------------------- ROUND BUTTON */

.btn-round {
  display: inline-block;
  padding: 0.8em 2.2em;
  border: 1.5px solid currentColor;
  border-radius: 2em;
  text-transform: uppercase;
  background: none;
  font-size: 1rem;
  font-family: inherit;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

/*----------------------------------------------- FULLSCREEN LAYOUT */

body.layout-fullscreen {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

body.layout-fullscreen .main {
  flex: 1;
  min-height: 0;
}

/*----------------------------------------------- HEADER */

.menu {
  position: fixed;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
}

.menu a[aria-current="page"] {
  text-decoration: underline;
}

/* ── Global UI color override (set via home Panel → ui_color) ─────────────── */
body.has-ui-color .site-logo,
body.has-ui-color .site-logo svg {
  fill: var(--ui-color) !important;
  color: var(--ui-color) !important;
}
body.has-ui-color .site-logo svg path,
body.has-ui-color .site-logo svg text,
body.has-ui-color .site-logo svg polygon,
body.has-ui-color .site-logo svg circle,
body.has-ui-color .site-logo svg ellipse {
  fill: var(--ui-color) !important;
}
body.has-ui-color .site-logo svg rect {
  stroke: var(--ui-color) !important;
}
body.has-ui-color .menu,
body.has-ui-color .menu a {
  color: var(--ui-color) !important;
}
