/* ===================================================================
   Ja-Mik Ateljé — MIDNATTSGALA × KONVERTERING (v2)
   Night above the fold · cream conversion body · gold thread
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --night:     #14110E;
  --night-2:   #1D1915;
  --navy:      #1C2B3A;
  --cream:     #F5EFE3;
  --cream-2:   #EFE7D6;
  --ink:       #23201B;
  --ink-soft:  #5A544A;
  --gold:      #C9A96A;
  --gold-deep: #A8873F;
  --line:      #E2D9C6;
  --line-dark: #3A332B;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

h1, h2, h3, .display { font-family: var(--serif); font-weight: 500; line-height: 1.06; }
h1 { font-size: clamp(2.6rem, 6.8vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p  { max-width: 64ch; }
.lede { font-size: clamp(1.12rem, 2vw, 1.32rem); line-height: 1.55; }

.kicker {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500; display: block; margin-bottom: 1rem;
}
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: var(--pad); }
section { padding-block: clamp(3rem, 8vw, 6rem); }
.tight { padding-block: clamp(2rem, 5vw, 3.25rem); }

/* ---------- NIGHT ZONE: header + hero ---------- */
.zone-night { background: var(--night); color: var(--cream); }
.zone-night .kicker { color: var(--gold); }

header.site { position: relative; z-index: 3; padding-block: 1.2rem; }
.masthead { display: flex; align-items: center; gap: 1.4rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand svg { width: 44px; height: auto; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.13em; font-weight: 600; color: var(--cream); }
.brand-sub { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: #9C9284; }

nav.site { margin-left: auto; }
nav.site ul { display: flex; gap: clamp(0.8rem, 2.2vw, 1.6rem); list-style: none; flex-wrap: wrap; }
nav.site a {
  text-decoration: none; font-size: 0.82rem; letter-spacing: 0.05em; color: #CFC6B4;
  padding-bottom: 3px; border-bottom: 1px solid transparent; transition: color 160ms, border-color 160ms;
}
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--gold); }

.tel-pill {
  font-size: 0.8rem; text-decoration: none; color: var(--gold);
  border: 1px solid var(--gold); padding: 0.5rem 1.05rem; border-radius: 999px;
  white-space: nowrap; transition: background 160ms, color 160ms;
}
.tel-pill:hover { background: var(--gold); color: var(--night); }

/* HOME cinematic hero */
.hero-night { position: relative; isolation: isolate; overflow: hidden; }
.hero-night .bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center 30%;
}
.hero-night .bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgb(20 17 14 / .55) 0%, rgb(20 17 14 / .15) 40%, rgb(20 17 14 / .82) 100%),
    radial-gradient(90% 70% at 30% 60%, transparent 40%, rgb(20 17 14 / .55) 100%);
}
.hero-night .inner {
  min-height: clamp(540px, 78vh, 780px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}
.hero-night .hero-copy { margin-left: clamp(0px, 32vw, 460px); max-width: 620px; }
@media (max-width: 900px) {
  .hero-night .hero-copy { margin-left: 0; }
  .hero-night .inner { justify-content: flex-end; }
}
.hero-night h1 { color: var(--cream); max-width: 13ch; text-wrap: balance;
  text-shadow: 0 2px 30px rgb(0 0 0 / .45); }
.hero-night .lede { color: #E3DAC8; margin-top: 1.3rem; max-width: 44ch; }
.hero-actions { margin-top: 2.2rem; display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }

.btn-gold {
  font-family: var(--sans); font-size: 1rem; font-weight: 500; text-decoration: none;
  background: var(--gold); color: var(--night); padding: 0.95rem 1.9rem; border-radius: 3px;
  letter-spacing: 0.02em; transition: background 160ms; display: inline-flex; align-items: center; gap: 0.6em;
}
.btn-gold:hover { background: #DDBE80; }
.tel-big {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600;
  color: var(--cream); text-decoration: none; letter-spacing: 0.02em;
}
.tel-big:hover { color: var(--gold); }

/* subpage night band (no photo) */
.hero-page { padding-block: clamp(3rem, 7vw, 5rem); }
.hero-page h1 { color: var(--cream); }
.hero-page .lede { color: #CFC6B4; margin-top: 1.2rem; }

/* ---------- TRUST BREAK ---------- */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); text-align: center; }
.trust .icons { display: flex; justify-content: center; gap: clamp(1.6rem, 5vw, 3.5rem); flex-wrap: wrap; margin-bottom: 1.1rem; }
.trust .icons svg { width: clamp(34px, 4.5vw, 46px); height: auto; stroke: var(--gold-deep); }
.trust p { max-width: none; font-size: clamp(0.95rem, 1.6vw, 1.1rem); color: var(--ink-soft); }
.trust p b { color: var(--ink); font-weight: 500; }

/* ---------- PACKAGE CARDS ---------- */
.paket { background: var(--cream); }
.paket-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); align-items: stretch; }
.kort {
  position: relative; background: #FBF7EE; border: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.3rem, 2.5vw, 2rem);
  text-align: center; display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 220ms cubic-bezier(0.22,1,0.36,1), box-shadow 220ms;
}
.kort:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgb(35 32 27 / .09); }
.kort.star { border: 2px solid var(--gold); }
.kort .badge {
  position: absolute; top: -0.85em; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--night); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 0.32rem 0.95rem; border-radius: 999px; white-space: nowrap;
}
.kort .namn { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.kort .pris { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 600; line-height: 1; }
.kort .pris small { font-size: 0.45em; font-weight: 500; color: var(--ink-soft); }
.kort .innehall { font-size: 0.88rem; color: var(--ink-soft); max-width: none; min-height: 3em; }
.kort .gr { width: 44px; height: 1px; background: var(--gold); margin: 0 auto; }
.kort .btn-navy { margin-top: auto; }

.btn-navy {
  font-size: 0.95rem; text-decoration: none; text-align: center;
  background: var(--navy); color: var(--cream); padding: 0.85rem 1.5rem; border-radius: 3px;
  transition: background 160ms; display: block;
}
.btn-navy:hover { background: #2A405A; }
.paket .efternot { text-align: center; margin-top: 2rem; font-size: 0.9rem; color: var(--ink-soft); max-width: none; }
.paket .efternot a { border-bottom: 1px solid var(--gold); text-decoration: none; }

/* ---------- STEPS ---------- */
.steg-band { background: var(--cream-2); border-block: 1px solid var(--line); text-align: center; }
.steg { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.5rem; }
.steg .nr {
  width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--night);
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.steg h3 { margin-bottom: 0.4rem; }
.steg p { font-size: 0.94rem; color: var(--ink-soft); margin-inline: auto; max-width: 30ch; }

/* ---------- content splits & plates (subpages) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split .text > p + p { margin-top: 1rem; }
.split .text .btn-navy, .split .text .btn-gold { display: inline-flex; margin-top: 1.8rem; }

figure.plate { border: 1px solid var(--line); padding: clamp(0.6rem, 1.4vw, 1rem); background: #FBF7EE; }
figure.plate figcaption {
  padding-top: 0.7rem; font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-deep); text-align: center;
}
.plates-2 { display: grid; gap: clamp(1.2rem, 3vw, 2.4rem); grid-template-columns: 1fr 1fr; align-items: start; }
.plates-offset > figure:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3.5rem); }

/* menu card (priser page) */
.menykort { background: #FBF7EE; border: 1px solid var(--line); padding: clamp(1.8rem, 5vw, 3.5rem); max-width: 720px; margin-inline: auto; }
.menykort h2, .menykort .kicker { text-align: center; }
.menykort ul { list-style: none; margin-top: 2rem; }
.menykort li { display: flex; align-items: baseline; gap: 0.6em; padding-block: 0.55rem; }
.menykort li .item { flex: none; max-width: 70%; }
.menykort li .item small { display: block; color: var(--ink-soft); font-size: 0.82rem; }
.menykort li .leader { flex: 1; border-bottom: 1px dotted var(--gold); opacity: 0.6; transform: translateY(-0.35em); }
.menykort li .pris { flex: none; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; white-space: nowrap; }
.menykort .avdelning { margin-top: 2.4rem; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); text-align: center; }
.menykort .not { margin-top: 2.2rem; text-align: center; font-size: 0.85rem; color: var(--ink-soft); max-width: none; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq .lista { max-width: 760px; margin-top: 2rem; }
.faq details { border: 1px solid var(--line); background: #FBF7EE; margin-bottom: 0.7rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 1.3rem;
  font-weight: 500; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; color: var(--gold-deep); line-height: 1; transition: transform 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); font-size: 0.96rem; max-width: none; }

/* ---------- BOOKING BAND + FOOTER (night) ---------- */
.band-night { background: var(--night); color: var(--cream); }
.band-night .kicker { color: var(--gold); }
.band-night p { color: #CFC6B4; }
.boka-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.boka-tel { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600; text-decoration: none; color: var(--gold); }
.boka-tel:hover { color: #DDBE80; }
.band-night a.quiet { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold); }

footer.site { background: var(--night); color: var(--cream); padding-block: clamp(2.5rem, 6vw, 4rem) 5.5rem; font-size: 0.9rem; border-top: 1px solid var(--line-dark); }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
footer.site p, footer.site li { color: #A69D8D; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 0.45rem; }
footer.site a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 160ms; }
footer.site a:hover { border-bottom-color: var(--gold); }
footer.site .kicker { color: var(--gold); }
footer.site .brand-name { font-size: 1.25rem; }
footer.site .fin { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.78rem; color: #766E60; }

/* ---------- sticky mobile call bar ---------- */
.ring-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--gold); color: var(--night); text-align: center;
  padding: 0.95rem 1rem; font-weight: 500; text-decoration: none; font-size: 1.02rem;
  display: none; box-shadow: 0 -6px 24px rgb(0 0 0 / .25);
}
.karta { border: 1px solid var(--line); }
.karta iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.35) sepia(0.08); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 640ms cubic-bezier(0.22,1,0.36,1) forwards; }
.reveal:nth-child(2) { animation-delay: 70ms; } .reveal:nth-child(3) { animation-delay: 140ms; }
.reveal:nth-child(4) { animation-delay: 210ms; } .reveal:nth-child(5) { animation-delay: 280ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .kort, .faq summary::after { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .paket-grid, .steg, .split, .boka-grid, .plates-2 { grid-template-columns: 1fr; }
  .plates-offset > figure:nth-child(2) { margin-top: 0; }
  .kort.star { order: -1; }
  footer.site .cols { grid-template-columns: 1fr; gap: 2rem; }
  nav.site { order: 3; width: 100%; }
  .masthead { flex-wrap: wrap; }
  .ring-bar { display: block; }
  body { padding-bottom: 0; }
  .hero-night .inner { min-height: 72vh; }
}

/* ---------- kontaktformulär ---------- */
.formkort { background: #FBF7EE; border: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 3rem); max-width: 760px; }
.formkort form { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.formkort .rad { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.formkort label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.88rem; font-weight: 500; }
.formkort input, .formkort select, .formkort textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 3px; padding: 0.7rem 0.85rem;
}
.formkort input:focus, .formkort select:focus, .formkort textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.formkort textarea { resize: vertical; }
.formkort button { border: 0; cursor: pointer; align-self: flex-start; }
.formkort .honung { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.formmedd { padding: 0.9rem 1.1rem; border-radius: 3px; margin-top: 1.2rem; font-size: 0.95rem; }
.formmedd.fel { background: #F7E5DD; border: 1px solid #C9764E; color: #7A3A1D; }
@media (max-width: 640px) { .formkort .rad { grid-template-columns: 1fr; } }
