@font-face{
    font-family: "Artico";
    src: url("./assets/font/Artico/Light.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
  }
@font-face{
  font-family: "Artico";
  src: url("./assets/font/Artico/Artico.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Artico";
  src: url("./assets/font/Artico/CBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root{
  --red: #e00024;
  --red-dark: #b20e23;
  --green: #0aa64a;
  --green-dark: #08863c;
  --white: #ffffff;
  --ink: #111315;
  --max-w: 1200px;
  --radius-xl: 38px;
  --shadow: 0 10px 24px rgba(0,0,0,.18);
  --container-padding: 14px;
  --base-font-size: clamp(14px, 1.094vw, 1.094vw);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Artico, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background:#fafafa;
  line-height:1.4;
}
.main-container{
    width: 100%;
    padding:var(--container-padding);
}

a{ color:inherit; text-decoration: none; }
img{ max-width:100%; display:block; height:auto; }

@keyframes pattern-rain {
  0% {
    -webkit-mask-position-y: 0px;
    mask-position: 0px 0px;
    transform:translateX(0px);
  }
  100% {
    -webkit-mask-position-y: 960px;
    mask-position:0px 960px;
    transform:translateX(-480px);
  }
}

/* ---------- Header / Hero ---------- */
header.hero {
    position: relative;
    background-color: #e00023;
    background-repeat:repeat;
    background-image:url("./assets/images/pattern-480.png");
    color: #e00023;
    border-radius: var(--radius-xl);
    overflow: clip;
    height: calc(100vh - var(--container-padding) * 2);
    height: calc(100dvh - var(--container-padding) * 2);
    display: grid;
    grid-template-rows: auto 1fr;
    box-shadow: var(--shadow);
    /*height: 1402px;*/
}

header.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #e20025 13%, #ff0032);
  
  -webkit-mask-image: url("./assets/images/pattern-480.png");
  -webkit-mask-repeat: repeat;
  -webkit-mask-size: 480px;
  -moz-mask-image: url("./assets/images/pattern-480.png");
  -moz-mask-repeat: repeat;
  -moz-mask-size: 480px;
  mask-image: url("./assets/images/pattern-480.png");
  mask-repeat: repeat;
  mask-size: 480px;
  pointer-events: none;
  margin-right:-480px;
  will-change: transform, mask-position-y, -webkit-mask-position-y;
  z-index: 0;
  animation: pattern-rain 100s linear infinite;
}

.topbar{
  position:relative;
  z-index:1;
  padding: 0.7em 2.19em;
  font-size: clamp(12px, 1vw, 1vw);
}

nav.topnav{
  display:flex;
   gap:1rem; 
    align-items:center;
    justify-content:space-between;
  
}
nav.topnav a{
  color: var(--white);
  opacity:.95;
}
.topnav-links{
    font-size: 1em;
    display: flex;
    gap: 2.5em;
    flex: 1;
    justify-content: flex-end;
    padding-right: 0.8em;
    font-weight: 200;
    line-height: 1.6em;
    letter-spacing: 1px;
}
.topnav-brand__logo{
    width: 10.6em;
    height: 4.1em;
    background: url(./assets/logo/Logo_v.2_hvitt.svg) center / contain no-repeat;
    margin-right: auto;
}
nav.topnav a:hover{ text-decoration: underline; }

.hero__center{
  position:relative; z-index:1;
  display:grid; place-items:center;
  padding: 0px;
  text-align:center;
}

.brand{
  display:grid; place-items:center;
  gap: 1rem;
}
.brand__logo{
  width: clamp(45vh, 45vw, 75vh);
  aspect-ratio: 1/1;
  background: url("./assets/logo/Logo_v.1_hvitt.svg") center/contain no-repeat;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.2));
}

.scroll-hint{
      inset-inline: 0;
      bottom: 22px;
      display: grid;
      place-items: center;
      padding-bottom: 40px;
      margin-top: -12px;
      z-index: 1;
}
.scroll-hint__btn{
    width: 91px;
    height: 91px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .8);
    display: grid;
    place-items: center;
    cursor: pointer;
    background: transparent;
    color: var(--white);
    position: absolute;
    bottom: 1.5em;
    left:50%;
    transform: translateX(-50%);
}
.scroll-hint__btn svg{ width:20px; height:20px; }

/* ---------- Feature Section ---------- */
section.feature{
  position:relative;
  margin-top: 18px;
  border-radius: var(--radius-xl);
  overflow:hidden;
  background-color:var(--red);
  background: url("./assets/images/bill.jpg") right/cover no-repeat;
  color: var(--white);
  box-shadow: var(--shadow);
}

.feature__grid{
  display:grid;
  align-items:center;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 36px);
}

.feature__text{
    padding: 10.9em 3em;
    font-size: var(--base-font-size);
    padding-bottom: 4em;
    background:var(--red);
    clip-path: polygon(0 0, 57% 0, 100% 100%, 0 100%);
}

.eyebrow{
    letter-spacing: 0.05em;
    margin-bottom: 0.05em;
    font-size: 1em;
    font-weight: 200;
}
.h1{
    font-size: 3.15em;
    line-height: 1.35;
    margin: 0 0 0.15em;
    font-weight: 800;
    letter-spacing: 3.8px;
}

.lead{
  margin: .5em 0 1.55em;
  opacity:.95;
  max-width: 27em;
  font-size: 1.15em;
}

.btn{
  display:inline-block;
  padding: 0.8em 3.85em;
  background: var(--white);
  color: var(--red);
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor:pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  font-size: 1em;
  letter-spacing: 0em;
  transition:.4s all ease;
}
.btn:hover{
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
  color:var(--red-dark);
}
.btn:focus-visible{ outline: 3px solid rgba(255,255,255,.65); outline-offset: 2px; }

.feature__art{
  position:relative;
  
  height:100%;
}



/* ---------- About / Contact ---------- */
section.about{
  margin-top: 18px;
  display:grid; gap:18px;
  grid-template-columns: 1fr 1fr;
}

.panel{
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  gap: -0.05em;
  min-height: 320px;
  font-size: var(--base-font-size);
  padding: 10.1em 2.9em;
  padding-bottom: 2em;
}
.panel h2{
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 .25rem;
  line-height:1.05;
  font-size: 3.2em;
  text-transform: uppercase;
  margin-bottom: 0.42em;
  font-weight: bold;

  letter-spacing: 3.8px;
}
.panel p{margin: 0;/* opacity:.96; */margin-bottom: 1em;font-size: 1.06em;font-weight: 200;letter-spacing: .025em;line-height: 1.5em;}
.panel small{ opacity:.85; }

.panel--image{
  padding:0;
  overflow:hidden;
  background:none;
  display:block;
  margin: 0px;
  
}
.panel--image img{
  width:100%; height:100%; object-fit:cover;
  aspect-ratio: 4 / 3;
  opacity:.92;
}

/* ---------- Footer ---------- */
footer.site-footer{
  margin: 22px 0 40px;
  text-align:center;
  font-size:.95rem;
  color:#666;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .feature__grid{ grid-template-columns: 1fr; }
  .feature__art{ order:-1; height:8em; }
  .feature__text{
    clip-path: none;
    padding: 1em;
  }
  section.feature{ background-position: top right; background-size:contain; }
  section.about{ grid-template-columns: 1fr; }

  #feature .btn{
    width: 100%;
    text-align: center;
    font-size: 1.4em;
  }
  .lead{
    max-width: 100%;
  }
}
@media (max-width: 480px){
  .topnav-links{
    gap: 0.4em;
    flex-direction: column-reverse;
    align-items: flex-end;
  }
}
@media (max-width:390px){
  .topnav-brand{
    display:none;
  }
  .topnav-links{
    flex-direction:row;
    justify-content: space-evenly;
  }
}
@media (max-width: 360px){
  .h1{
    font-size: 2.4em;
  }
}

.ref-image{
  display: none;
  position: absolute;
  top:0px;
  left:0px;
  max-width: 100%;
  opacity: 0.2;
  /*z-index:20;*/
}
.ref-image img{
    width:100%;
}



.lang-en{ display: none; }
.lang-is{ display: inline; }