@font-face {
  font-family: 'Marcellus';
  src: url('../fonts/Marcellus-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'InstrumentSans';
  src: url('../fonts/InstrumentSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'InstrumentSans';
  src: url('../fonts/InstrumentSans-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'InstrumentSans';
  src: url('../fonts/InstrumentSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --charcoal: #1c1c1a;
  --charcoal-light: #262624;
  --charcoal-card: #30302c;
  --warm-ivory: #f8f5f0;
  --sage: #8e9e8b;
  --dusty-rose: #c3a59b;
  --medium-grey: #78766f;
  --light-grey: #dcdad6;
  --input-bg: #30302c;
  --font-display: 'Marcellus', serif;
  --font-body: 'InstrumentSans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--charcoal);
  color: var(--medium-grey);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* ============ LABEL ============ */
.label {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
  display: block;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--warm-ivory);
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); }

.text-center { text-align: center; }
.text-ivory { color: var(--warm-ivory); }
.text-rose { color: var(--dusty-rose); }
.text-sage { color: var(--sage); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}
.nav.scrolled {
  background: rgba(28, 28, 26, 0.95);
  backdrop-filter: blur(10px);
}
.nav-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.7);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--warm-ivory); }
.nav-links a.active { color: var(--warm-ivory); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--warm-ivory);
  margin: 6px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(28, 28, 26, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 24px;
  }
  .nav-links.open { display: flex; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}
.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to top, var(--charcoal), transparent);
}
.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 0.9375rem;
  letter-spacing: 0.2em;
  color: var(--dusty-rose);
}
.hero-line {
  width: 60px;
  height: 1px;
  background: var(--sage);
  margin: 28px auto 0;
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
}
.section--light {
  background: var(--warm-ivory);
}
.section--light h1,
.section--light h2,
.section--light h3 {
  color: var(--charcoal);
}

.section-header {
  margin-bottom: 48px;
}

.thin-rule {
  width: 80px;
  height: 1px;
  background: var(--sage);
  margin: 24px 0;
}

.divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0 80px;
}
@media (max-width: 768px) {
  .divider { margin: 0 24px; }
}

/* ============ INTRO ============ */
.intro-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.85;
}
.intro-fun {
  font-style: italic;
  color: var(--dusty-rose);
  margin-top: 24px;
  font-size: 0.875rem;
}

/* ============ FEATURED IMAGE ============ */
.featured-image {
  margin: 0 80px;
  overflow: hidden;
}
.featured-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.featured-caption {
  font-size: 0.6875rem;
  color: var(--medium-grey);
  margin-top: 12px;
}
@media (max-width: 768px) {
  .featured-image { margin: 0 24px; }
  .featured-image img { height: 250px; }
}

/* ============ SERVICES PREVIEW ============ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.service-item h3 {
  margin-bottom: 8px;
}
.service-price {
  font-size: 1.125rem;
  color: var(--dusty-rose);
  margin-bottom: 16px;
}
.service-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ INCLUDED LIST ============ */
.included-list {
  list-style: none;
  margin-top: 16px;
}
.included-list li {
  padding: 6px 0;
  font-size: 0.8125rem;
}
.included-list li::before {
  content: '— ';
  color: var(--sage);
}

/* ============ GALLERY GRID ============ */
.gallery-filters {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.gallery-filter {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--medium-grey);
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}
.gallery-filter.active,
.gallery-filter:hover {
  color: var(--warm-ivory);
  border-bottom-color: var(--sage);
}

.gallery-mosaic {
  display: grid;
  gap: 12px;
}
.gallery-row-hero {
  grid-template-columns: 1fr;
}
.gallery-row-2 {
  grid-template-columns: 55% 1fr;
}
.gallery-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.gallery-row-2-rev {
  grid-template-columns: 40% 1fr;
}
.gallery-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.gallery-cell {
  overflow: hidden;
}
.gallery-cell:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.gallery-row-hero .gallery-cell { height: 500px; }
.gallery-row-2 .gallery-cell { height: 420px; }
.gallery-row-3 .gallery-cell { height: 350px; }
.gallery-row-2-rev .gallery-cell { height: 380px; }

@media (max-width: 768px) {
  .gallery-row-2,
  .gallery-row-3,
  .gallery-row-2-rev {
    grid-template-columns: 1fr;
  }
  /* Mobil: behold naturlig sideforhold, full kolonnebredde (ingen beskjaering) */
  .gallery-mosaic .gallery-cell,
  .gallery-row-hero .gallery-cell { height: auto; }
  .gallery-mosaic img { height: auto; }
}

/* ====== GALLERI (Bilder): masonry — respekterer orientering, ingen beskjaering ====== */
[data-gallery-grid] {
  padding: 0 80px;
  column-count: 3;
  column-gap: 12px;
}
[data-gallery-grid] .gallery-cell {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 2px;
}
[data-gallery-grid] .gallery-cell img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}
[data-gallery-grid] .gallery-cell:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}
@media (max-width: 980px) {
  [data-gallery-grid] { column-count: 2; padding: 0 40px; }
}
@media (max-width: 600px) {
  [data-gallery-grid] { column-count: 1; padding: 0 24px; }
}

/* ====== Klikk-hint + LIGHTBOX (fullskjerm bildevisning) ====== */
[data-gallery-grid] .gallery-cell { cursor: pointer; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 15, 14, 0.96);
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 26px;
  background: none;
  border: 0;
  color: var(--warm-ivory);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(248, 245, 240, 0.25);
  border-radius: 999px;
  color: var(--warm-ivory);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.lightbox-nav:hover { opacity: 1; background: rgba(0, 0, 0, 0.55); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 600px) {
  .lightbox-nav { top: auto; bottom: 22px; transform: none; width: 46px; height: 46px; }
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
  .lightbox-img { max-width: 96vw; max-height: 82vh; }
}

/* ====== Forside-galleri-preview: kompakt masonry fra Klassisk ====== */
[data-home-gallery] {
  padding: 0 80px;
  column-count: 4;
  column-gap: 10px;
}
[data-home-gallery] .gallery-cell {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 10px;
  overflow: hidden;
  border-radius: 2px;
}
[data-home-gallery] .gallery-cell img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 980px) { [data-home-gallery] { column-count: 3; padding: 0 40px; } }
@media (max-width: 600px) { [data-home-gallery] { column-count: 2; padding: 0 24px; } }
/* Roterende testimonials */
[data-testimonial] { transition: opacity 0.45s ease; }
[data-testimonial].is-fading { opacity: 0; }

/* ============ PRICING CARDS ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}
.pricing-card {
  background: var(--charcoal-light);
  border-radius: 8px;
  padding: 48px 40px;
  position: relative;
}
.pricing-card--highlight {
  background: var(--charcoal-card);
  border-top: 3px solid var(--dusty-rose);
}
.pricing-badge {
  display: inline-block;
  background: var(--sage);
  color: var(--charcoal);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--warm-ivory);
  margin-bottom: 8px;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--warm-ivory);
  margin-bottom: 4px;
}
.pricing-currency {
  font-size: 0.875rem;
  color: var(--medium-grey);
}
.pricing-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 24px 0;
}
.pricing-features {
  list-style: none;
  margin-bottom: 40px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.875rem;
}
.pricing-features li::before {
  content: '— ';
  color: var(--sage);
}
.pricing-card--highlight .pricing-features li::before {
  color: var(--dusty-rose);
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ============ FEATURES GRID ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.feature-item .thin-rule { width: 40px; margin-bottom: 12px; }
.feature-title {
  font-size: 0.9375rem;
  color: var(--warm-ivory);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ ADDONS ============ */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.addon-card {
  background: var(--charcoal-light);
  border-radius: 6px;
  padding: 28px 24px;
}
.addon-card h4 {
  font-size: 0.9375rem;
  color: var(--warm-ivory);
  margin-bottom: 8px;
}
.addon-card p {
  font-size: 0.8125rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .addons-grid { grid-template-columns: 1fr; }
}

/* ============ ABOUT ============ */
.about-intro {
  max-width: 640px;
  margin-top: 8px;
  font-size: 1rem;
}

.about-person {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}
.about-person--reverse {
  grid-template-columns: 1fr minmax(260px, 360px);
}
.about-person--reverse .about-portrait { order: 2; }
.about-person--reverse .about-bio { order: 1; }

.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  object-fit: cover;
}
.about-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--warm-ivory);
  margin-bottom: 4px;
}
.about-role {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dusty-rose);
  margin-bottom: 20px;
}
.about-bio p {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-note {
  color: var(--dusty-rose);
  font-size: 0.875rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .about-person,
  .about-person--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-portrait img {
    width: 100%;
    max-height: 420px;
  }
  .about-person--reverse .about-portrait { order: 0; }
  .about-person--reverse .about-bio { order: 0; }
}

/* ============ WHY HOBBIT BAND ============ */
.why-band {
  text-align: center;
}
.why-band h3 { margin-bottom: 16px; }
.why-band p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.9375rem;
}

/* ============ TESTIMONIAL ============ */
.testimonial-hero {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.testimonial-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}
.testimonial-bg::before,
.testimonial-bg::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 100px;
}
.testimonial-bg::before {
  top: 0;
  background: linear-gradient(to bottom, var(--charcoal), transparent);
}
.testimonial-bg::after {
  bottom: 0;
  background: linear-gradient(to top, var(--charcoal), transparent);
}
.testimonial-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--warm-ivory);
  line-height: 1.5;
  margin-bottom: 28px;
}
.testimonial-attr {
  color: var(--dusty-rose);
  font-size: 0.875rem;
}
.testimonial-date {
  color: var(--medium-grey);
  font-size: 0.75rem;
  margin-top: 4px;
}

/* ============ TIPS ============ */
.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 60px;
  margin-top: 40px;
}
.tip-item {
  display: flex;
  gap: 16px;
}
.tip-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--sage);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.tip-title {
  font-size: 0.9375rem;
  color: var(--warm-ivory);
  margin-bottom: 4px;
}
.tip-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .tips-grid { grid-template-columns: 1fr; }
}

/* ============ CONTACT FORM ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-full {
  grid-column: 1 / -1;
}
.form-group label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--medium-grey);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--warm-ivory);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(120, 118, 115, 0.5);
}
.form-group select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--sage) 50%), linear-gradient(135deg, var(--sage) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.btn--sage {
  background: var(--sage);
  color: var(--charcoal);
}
.btn--sage:hover { background: #9dae9a; }
.btn--rose {
  background: var(--dusty-rose);
  color: var(--charcoal);
}
.btn--rose:hover { background: #d0b5ab; }
.btn--outline {
  background: transparent;
  border: 1px solid var(--sage);
  color: var(--sage);
}
.btn--outline:hover {
  background: var(--sage);
  color: var(--charcoal);
}

/* ============ FOOTER ============ */
.footer {
  background: rgba(22, 22, 20, 1);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-location {
  font-size: 0.6875rem;
  color: var(--medium-grey);
  letter-spacing: 0.1em;
}
.footer-right {
  text-align: right;
}
.footer-social {
  font-size: 0.6875rem;
  color: var(--medium-grey);
}
.footer-social a {
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--warm-ivory); }
.footer-copy {
  font-size: 0.6875rem;
  color: rgba(120, 118, 115, 0.5);
  margin-top: 4px;
}
@media (max-width: 768px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
}

/* ============ SCROLL ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
