----- Base -----
* { box-sizing: border-box; }

:root{
  --bg: #f8fffb;
  --card: #1A2337;
  --text: #1A2337;
  --accent: #0047b0;
  --border: #B0C4DE;
  --header-bg: 248, 250, 255;
}

:target{
  scroll-margin-top: 90px;
}

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
}

a{ color: inherit; }

.page_top{
  background-image: url(img/IMG_20220423_215542505.jpg);
  background-size: 100% auto; 
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;        /* image fills container, crops if needed */
  /* width: 100%;                   /* full width */
  /* height: 100vh;                  height relative to viewport (adjust as needed) */ 
  /* min-height: 100svh; */
}


/* Container keeps everything aligned */
.container{
  width: 90%;
  margin: 10px auto;
}

/* ----- Header ----- */
.site-header{
   /* width: 90%; */
  margin: 0 auto;

  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(var(--header-bg), 0.5);;
  /* imagebackdrop-filter: blur(10px); */
  border-bottom: 1px solid var(--border);
}

.header-row{
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark{
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(237, 238, 255, 0.14)/*var(--card)*/;
  border: 1px solid rgba(255, 0, 0, 0.14)/*var(--border)*/;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand__text{
  /* font-size: 10px; */
  font-weight: 750;
  letter-spacing: .01em;
}

/* ----- Nav ----- */
.nav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav__item{
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .02em;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.nav__item:hover{
  transform: translateY(-1px);
  background: var(--bg);
  border-color: rgba(255,255,255,.22);
}

.nav__item.is-active{
  background: var(--bg);
  border-color: var(--border);
  color: var(--accent);
}

.book_button{
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  cursor: pointer;
}

/* ----- Hero ----- */
.hero{
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--bg);
  padding: 56px 0 42px;
  /* border-bottom: 1px solid var(--border); */
}

.portrait {
    /* display: block;
    margin-left: auto;
    border-radius: 12px; */
    width: 40%;
    max-width: 300px; /* optional cap */
    border-radius: 12px;
}

.model_fig {
    display: block;
    margin-left: auto;
    border-radius: 12px;
    width: 30%;
}

h1{
  margin: 0 0 10px;
  font-size: clamp(34px, 4.5vw, 56px);
  letter-spacing: -0.02em;
}

h2{
  margin: 0 0 10px;
  font-size: 22px;
}

.content-row{
  display: flex;
  align-items: center;
  gap: 30px;
}

.content-row p{
  flex: 1;
}

/* .content-row img{
  width: 300px;
  border-radius: 12px;
} */


/* ----- Sections ----- */
.section{
  padding: 2px 0;
  /* border-bottom: 1px solid var(--border); */
}

.link{
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(70,183,201,.45);
}

.link:hover{
  border-bottom-color: rgba(70,183,201,.9);
}

.page_mid {
  background-image: url(img/Vinterbild3.jpg);
  background-size: 100% auto;
  background-repeat: no-repeat;

  background-size: cover;        /* image fills container, crops if needed */
  background-position: bottom;      /* aligns image to the top */
  /* width: 100%;      
  height: 100vh; 
  height: 800px; */
}

.space {
  height: 150px;
}

/* ----- Footer ----- */
.site-footer{
  background-image: url(img/IMG_20220410_195340457.jpg);
  background-size: 100% auto; 
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-size: cover;        /* image fills container, crops if needed */
  height: 200px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  color: var(--bg);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.in-logo{
    width: 15px;
}

/* Mobile */
/* @media (max-width: 720px){
  .header-row{
    flex-direction: column;
    align-items: flex-start;
  }
  .nav{
    justify-content: flex-start;
  }
} */

