@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/montserrat/montserrat-variable.woff2") format("woff2-variations");
    font-weight: 100 900; /* variable axis */
    font-display: swap;
}

:root{
    --bg: #0C0B0D;
    --text: #E0DBD8; 
    --muted: #7B818E; 
    --primary: #1C1722;
    --secondary: #54595F;
    --accent: #E17F44;
    --text-white: #F5EEFD;
    --black: #000;
    --white: #FFF;

    --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;
}

html {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text);
}

h2 {
    font-size: 22px;
    margin: 0;
}

body {
    margin: 0;
    min-height: 100vh;
    background-image: linear-gradient(160deg, var(--primary) 0%, var(--black) 80%);
    overflow-x: hidden;
}
/* Header styles */
.site-header {
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 99;
}

.header-inner {
    margin: 0 auto;
    max-width: 1140px;
    display: grid;
    grid-template-columns: auto 1fr 1fr auto;
    padding: 0 20px;
    align-items: center;
}

.brand-name {
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--white);
    padding-left: 15px;
    white-space: nowrap;
}
.brand-name a {
    text-decoration: none;
    color: var(--white);
    display: inline-block;
}
.site-nav {
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.main-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-menu a {
    text-decoration: none;
    color: var(--text);
    font-size: 18px;
    transition: color 200ms;
}

.main-menu a[aria-current="page"] {
    font-weight: 600;
    color: var(--accent);
    pointer-events: none;
}

.main-menu a:hover {
    color: var(--muted);
}



/* Language switcher */
.lang-switch {
    position: relative;
    display: inline-block;
    text-align: center;
}
  
.lang-current {
    display: inline-block;
    padding: 5px 15px;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    border-left: solid 1px;

}
  
.lang-bubble {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -4px);
    color: var(--text);
    padding: 0 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 20;
    padding-bottom: 10px;
}
  
.lang-item {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
    transition: color 100ms;
    background: var(--bg);
    border-radius: 5px;
  }
  
.lang-item:hover {
    color: var(--secondary);
}
  
.lang-switch:hover .lang-bubble {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}
  
.lang-current::before {
    content: "";
    position: absolute;
    right: -5px;
    width: 10px;
    height: 10px;
    border-left: 1px solid var(--border, #e5e7eb);
    border-top: 1px solid var(--border, #e5e7eb);
    transform: translate(0, 50%) rotate(225deg);
}

/* Main styles */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

main {
    /* opacity: 0;
    animation: fadeIn 0.1s ease forwards; */
}
form {
    display: none;
}

.site-content {
    margin: 0 auto;
    max-width: 1140px;
    min-height: 100vh;
}

.banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
}

.logo-draw svg path {
    fill: none !important;
    stroke: var(--text);
    stroke-width: 0.3;
    stroke-linecap: round;
    stroke-linejoin: round;
    /* vector-effect: non-scaling-stroke; */
  
    stroke-dasharray: 9999;
    stroke-dashoffset: 9999;
    animation: draw-main 10s ease-out forwards;
}

/* Second path */
.logo-draw svg #logo-image path {
    animation: draw-main 50s ease-out forwards;
    animation-delay: 0.5s; 
    stroke-width: 2;
}
.logo-draw svg #logo-image-alt path {
    animation: draw-main 10s ease-out forwards;
    animation-delay: 0.5s; 
    stroke-width: 20;
}
@keyframes draw-main { to { stroke-dashoffset: 0; } }
  

/* Footer styles */
.site-footer{
    background: var(--bg);
    position: sticky;
    bottom: 0;
}
.footer-inner {
    margin: 0 auto;
    max-width: 1140px;
    padding: 5px 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: space-between;
}

/* Cookie styles */
#cookie-popup :focus { outline: none; }                /* suppress default ring */
#cookie-popup :focus-visible {
  outline: 2px solid var(--white);                             /* or your brand color */
  outline-offset: 2px;
  border-radius: 6px;   
}

#cookie-popup[hidden]{
    opacity: 0;
    pointer-events: none;
}
#cookie-popup {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2147483647;
    opacity: 1;
    transition: opacity 0.2s ease;
  }
.cp-wrap{
  background:var(--bg); color:var(--text); border:1px solid var(--secondary);
  padding:16px 16px 12px; border-radius:12px; max-width:420px; width:min(92vw,420px);
  box-shadow:0 10px 30px rgba(0,0,0,.4);
}
.cp-x{
  all:unset; float:right; cursor:pointer; font-size:20px; line-height:1; padding:.25rem .5rem
}
.cp-accept{
  display:inline-block; margin-top:.5rem; padding:.6rem .9rem; border-radius:.5rem;
  border:1px solid var(--accent); background:var(--accent); color:var(--bg); cursor:pointer;
}
.cookie-icon{
    background: var(--bg);
    border: none;
    cursor: pointer;
}

.icon svg {     
    width: 30px;
    fill: var(--accent);
    vertical-align: -0.125em;
}
