/* ---------- Tokens ---------- */
:root {
  --cream: #DED8C6;
  --blush: #F3E1E7;
  --plum: #3D2438;
  --rose: #B04A72;
  --rose-dark: #8E3A5C;
  --sage: #5C6B4F;
  --ink: #4A3B44;
  --max-w: 700px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--plum);
  font-weight: 600;
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h2 { font-size: clamp(2.1rem, 5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-top: 1.6em; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

p { margin: 0 0 1.1em; }

a { color: var(--rose-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--plum); color: #fff; padding: 0.6em 1em; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #716541;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  height: var(--header-h);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { height: 46px; width: auto; display: block; }
.logo-link { display: flex; align-items: center; }

.site-nav {
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  color: #f1e6eb;
  text-decoration: none;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.4em 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible { border-bottom-color: var(--rose); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: #f1e6eb; border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  text-align: center;
  background: #716541;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 2s ease, transform 9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-quote {
  position: relative;
  z-index: 2;
}

.hero-quote p {
  margin: 0;
  max-width: 640px;
  margin-inline: auto;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 4.5vw, 2.3rem);
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(0,0,0,0.25);
}

/* ---------- Sections ---------- */
.section { padding: 4rem 1.5rem; }
.section-alt { background: var(--blush); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.lead { color: var(--rose-dark); font-size: 1.1rem; margin-bottom: 1.4em; }

/* ---------- Priser ---------- */
.price-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.price-images img {
  width: 100%; height: auto;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(61,36,56,0.12);
}

.price-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--rose-dark);
  font-weight: 600;
}

.poem {
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 1.4rem;
  border-left: 3px solid var(--rose);
  background: rgba(176, 74, 114, 0.06);
}
.poem p {
  font-style: italic;
  color: var(--plum);
  margin-bottom: 0.8em;
}
.poem cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--sage);
}

.cta-box {
  margin-top: 2.5rem;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(61,36,56,0.08);
}
.cta-box h3 { margin-top: 0; }

.button {
  display: inline-block;
  margin-top: 0.6em;
  padding: 0.75em 1.8em;
  background: var(--rose-dark);
  color: #fff !important;
  text-decoration: none;
  border-radius: 30px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}
.button:hover { background: var(--plum); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(61,36,56,0.12);
}
.gallery img {
  width: 100%; height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery a:hover img { transform: scale(1.06); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(30, 16, 24, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 300;
  padding: 2rem 1rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 700px);
  max-height: 78vh;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: #fff; margin-top: 1rem; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem;
}
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: #fff;
  font-size: 2.2rem; line-height: 1; cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #716541;
  color: #f1e6eb;
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
}
.footer-logo { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.9; }
.site-footer p { margin: 0.25em 0; font-size: 0.95rem; }
.site-footer a { color: #f1e6eb; }
.copyright { margin-top: 1rem; font-size: 0.8rem; opacity: 0.7; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #716541;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a {
    padding: 0.9em 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .price-images { grid-template-columns: 1fr; }
  .section { padding: 3rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
