*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
    :root {
      --cream:    #e5d8c2;
      --warm-white: #d9e4db;
      --moss:     #5a6145;
      --bark:     #8b6f47;
      --earth:    #c4a882;
      --dark:     #2c2a26;
      --muted:    #5a5750;
      --line:     #ddd5c4;
    }
 
    html { scroll-behavior: smooth; }
 
    body {
      background: var(--warm-white);
      color: var(--dark);
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      font-size: 16px;
      line-height: 1.7;
      overflow-x: hidden;
    }
 
    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.4rem 3rem;
      background: rgba(250, 248, 243, 0.97);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s;
    }
    nav.scrolled { border-color: var(--line); }
 
    .nav-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-weight: 300;
      letter-spacing: 0.06em;
      color: var(--dark);
      text-decoration: none;
      z-index: 101;
    }
    .nav-logo span { font-style: italic; color: var(--moss); }

    /* ── HAMBURGER ── */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 32px;
      height: 32px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 2px;
      z-index: 101;
    }
    .nav-hamburger span {
      display: block;
      width: 100%;
      height: 1px;
      background: var(--dark);
      transition: transform 0.35s ease, opacity 0.25s ease;
      transform-origin: center;
    }
    .nav-hamburger.open span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }
    .nav-hamburger.open span:nth-child(2) {
      opacity: 0;
    }
    .nav-hamburger.open span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    .nav-links {
      display: flex;
      gap: 2.4rem;
      list-style: none;
    }
    .nav-links a {
      font-size: 0.8rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      text-decoration: none;
      color: var(--muted);
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--moss); }
 
    /* ── HERO ── */
    #hjem {
      min-height: 50vh;
      max-height: 90vh;   
      display: grid;
      grid-template-columns: 1fr 1fr;
      position: relative;
      overflow: hidden;
    }

    #hjem > div:first-child {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 120px 60px 80px 80px;
      background: var(--warm-white);
      position: relative;
      z-index: 2;
    }

    #hjem > div:nth-child(2) {
      position: relative;
      overflow: hidden;
    }

    #hjem > div:nth-child(2)::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, var(--warm-white) 0%, transparent 22%);
      z-index: 1;
      pointer-events: none;
    }

    #hjem > div:nth-child(2) img {
      width: 100%;
      height: 800px;
      margin-top: 25px;
      object-fit: contain;   
      object-position: top center;
      filter: saturate(0.82);
      max-height: 70vh;
      align-self: center;  
    }

    .hero-bg { display: none; }
    .hero-stroke { display: none; }
    .hero-content { all: unset; display: contents; }

    .hero-eyebrow {
      font-size: 0.75rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--bark);
      margin-bottom: 1.2rem;
    }

    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.4rem, 4vw, 3.6rem);
      font-weight: 300;
      line-height: 1.1;
      color: var(--dark);
      margin-bottom: 1.6rem;
    }
    .hero-title em {
      font-style: italic;
      color: var(--moss);
    }

    .hero-sub {
      font-size: 1rem;
      color: #4a4a45;
      font-weight: 400;
      max-width: 400px;
      line-height: 1.75;
      margin-bottom: 2rem;
    }

    .hero-cta {
      display: inline-block;
      padding: 13px 32px;
      border: 1.5px solid var(--moss);
      color: var(--moss);
      font-family: 'Jost', sans-serif;
      font-size: 0.8rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      text-decoration: none;
      margin-top: 0.5rem;
      align-self: flex-start;
      transition: background 0.25s, color 0.25s;
    }
    .hero-cta:hover { background: var(--moss); color: var(--cream); }

    .hero-scroll {
      position: absolute;
      bottom: 2.4rem;
      right: 3rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.7rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .hero-scroll::after {
      content: '';
      width: 1px;
      height: 48px;
      background: var(--earth);
      display: block;
    }   
 
    /* ── SECTIONS SHARED ── */
    section { padding: 6rem 3rem; }
    .section-label {
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--earth);
      margin-bottom: 0.9rem;
    }
    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 300;
      line-height: 1.15;
      margin-bottom: 2.4rem;
    }
    .divider {
      width: 48px;
      height: 1px;
      background: var(--earth);
      margin: 2rem 0;
    }
 
    /* ── OM ASTRID ── */
    #om {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6rem;
      align-items: center;
      max-width: 1100px;
      margin: 0 auto;
    }
 
    .om-image-wrap {
      position: relative;
    }
    .om-image-placeholder {
      width: 100%;
      aspect-ratio: 3/4;
      background: linear-gradient(160deg, #ddd5c4 0%, #c4b89a 50%, #b0a080 100%);
      border-radius: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
    }
    .om-image-placeholder::before {
      content: '';
      position: absolute;
      inset: 0;
      background: 
        radial-gradient(ellipse 60% 40% at 40% 60%, rgba(90,97,69,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 70% 30%, rgba(250,248,243,0.3) 0%, transparent 50%);
    }
    .om-image-placeholder img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .om-image-placeholder svg {
      opacity: 0.22;
      color: var(--dark);
    }
    .om-image-note {
      font-size: 0.72rem;
      color: var(--muted);
      letter-spacing: 0.1em;
      text-align: center;
      margin-top: 0.8rem;
    }
 
    .om-image-wrap::before {
      content: '';
      position: absolute;
      top: -16px; left: -16px;
      width: 80px; height: 80px;
      border-top: 1px solid var(--earth);
      border-left: 1px solid var(--earth);
      pointer-events: none;
    }
    .om-image-wrap::after {
      content: '';
      position: absolute;
      bottom: 40px; right: -16px;
      width: 80px; height: 80px;
      border-bottom: 1px solid var(--earth);
      border-right: 1px solid var(--earth);
      pointer-events: none;
    }
 
    .om-text p {
      color: var(--muted);
      font-size: 0.97rem;
      margin-bottom: 1.2rem;
    }
    .om-text p strong {
      font-weight: 400;
      color: var(--dark);
    }
 
    /* ── GALLERI ── */
    #galleri {
      background: var(--cream);
      max-width: 100%;
    }
    .galleri-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .galleri-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 3rem;
    }
    .galleri-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-template-rows: auto;
      gap: 16px;
    }
 
    .painting {
      cursor: pointer;
      overflow: hidden;
      border-radius: 2px;
      position: relative;
    }
 
    .painting:nth-child(1) { grid-column: 1 / 6;  grid-row: 1; }
    .painting:nth-child(2) { grid-column: 6 / 9;  grid-row: 1; }
    .painting:nth-child(3) { grid-column: 9 / 13; grid-row: 1; }
    .painting:nth-child(4) { grid-column: 1 / 4;  grid-row: 2; }
    .painting:nth-child(5) { grid-column: 4 / 9;  grid-row: 2; }
    .painting:nth-child(6) { grid-column: 9 / 13; grid-row: 2; }
 
    .painting img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
    }
    .painting:hover img { transform: scale(1.04); }
 
    .painting:nth-child(1) { height: 420px; }
    .painting:nth-child(2) { height: 420px; }
    .painting:nth-child(3) { height: 420px; }
    .painting:nth-child(4) { height: 380px; }
    .painting:nth-child(5) { height: 380px; }
    .painting:nth-child(6) { height: 380px; }
 
    .p1 { background: linear-gradient(170deg,#7a9478 0%,#4a7a5e 35%,#2d5a3d 60%,#1a3d2b 100%); }
    .p2 { background: linear-gradient(150deg,#c8d4bc 0%,#8aaa78 40%,#5a7d50 100%); }
    .p3 { background: linear-gradient(200deg,#b0c8e8 0%,#6a9ec0 35%,#3a6a8a 70%,#1a3a5a 100%); }
    .p4 { background: linear-gradient(140deg,#e8d4a0 0%,#c8a860 40%,#8a6830 100%); }
    .p5 { background: linear-gradient(180deg,#d4e0c8 0%,#88a870 40%,#4a6840 70%,#2a4828 100%); }
    .p6 { background: linear-gradient(160deg,#f0e4d0 0%,#d0b898 40%,#a07850 100%); }
    .p7 { background: linear-gradient(190deg,#c0d8e8 0%,#80b0c8 40%,#4080a0 100%); }
    .p8 { background: linear-gradient(145deg,#d8e8c8 0%,#90b870 40%,#506840 100%); }
 
    .painting-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(44,42,38,0.7) 0%, transparent 50%);
      opacity: 0;
      transition: opacity 0.4s ease;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 1.2rem;
    }
    .painting:hover .painting-overlay { opacity: 1; }
    .painting-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.05rem;
      font-style: italic;
      color: #fff;
      font-weight: 300;
    }
    .painting-size {
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      color: rgba(255,255,255,0.65);
      margin-top: 0.2rem;
    }

    /* Preview grid */
    .galleri-preview {
      display: grid !important;
      grid-template-columns: repeat(4, 1fr) !important;
      grid-template-rows: 340px !important;
      gap: 12px !important;
    }
    .galleri-preview .painting {
      grid-column: auto !important;
      grid-row: auto !important;
      height: 100% !important;
    }
    .galleri-preview .painting img {
      object-fit: cover !important;
    }
 
    /* CTA-kort */
    .painting-cta-card {
      background: var(--moss) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      cursor: pointer;
    }
    .painting-cta-card:hover { opacity: 0.92; }
    .painting-cta-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      color: var(--cream);
      text-align: center;
      padding: 2rem;
    }
    .painting-cta-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 4.5rem;
      font-weight: 300;
      line-height: 1;
      color: var(--cream);
      opacity: 0.9;
    }
    .painting-cta-label {
      font-size: 0.78rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      opacity: 0.7;
      line-height: 1.5;
    }
    .painting-cta-btn {
      margin-top: 1rem;
      font-size: 0.75rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      border: 1px solid rgba(229,216,194,0.45);
      padding: 9px 20px;
      transition: background 0.2s, border-color 0.2s;
    }
    .painting-cta-card:hover .painting-cta-btn {
      background: rgba(229,216,194,0.15);
      border-color: rgba(229,216,194,0.7);
    }
 
    .galleri-all-link {
      font-size: 0.75rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--moss);
      text-decoration: none;
      border-bottom: 1px solid var(--moss);
      padding-bottom: 2px;
      align-self: flex-end;
      transition: opacity 0.2s;
      white-space: nowrap;
    }
    .galleri-all-link:hover { opacity: 0.65; }

    .galleri-note {
      font-size: 0.78rem;
      color: var(--muted);
      letter-spacing: 0.08em;
      font-style: italic;
      align-self: flex-end;
    }
 
    /* ── PRISER ── */
    #priser {
      max-width: 860px;
      margin: 0 auto;
    }
    .price-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line);
      margin-top: 3rem;
    }
    .price-item {
      background: rgb(194, 205, 194);
      padding: 2rem 2.4rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.2s;
    }
    .price-item:hover { background: var(--cream); }
    .price-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.6rem;
      font-weight: 300;
    }
    .price-sub {
      font-size: 0.9rem;
      color: var(--muted);
      margin-top: 0.2rem;
      letter-spacing: 0.06em;
    }
    .price-val {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.7rem;
      font-weight: 300;
      color: var(--moss);
      white-space: nowrap;
    }
    .price-note {
      margin-top: 1.8rem;
      font-size: 0.82rem;
      color: var(--muted);
      font-style: italic;
    }
 
    /* ── KONTAKT ── */
    #kontakt {
      background: var(--dark);
      color: var(--cream);
      text-align: center;
      padding: 7rem 3rem;
    }
    #kontakt .section-label { color: var(--earth); }
    #kontakt .section-title { color: var(--cream); }
    #kontakt .divider { background: var(--moss); margin: 2rem auto; }
 
    .kontakt-info {
      display: flex;
      justify-content: center;
      gap: 4rem;
      margin-top: 3rem;
    }
    .kontakt-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }
    .kontakt-item-label {
      font-size: 0.68rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--earth);
    }
    .kontakt-item-value {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem;
      font-weight: 300;
      color: var(--cream);
    }
    .kontakt-item-value a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s;
    }
    .kontakt-item-value a:hover { color: var(--earth); }
 
    /* ── FOOTER ── */
    footer {
      background: var(--dark);
      border-top: 1px solid rgba(255,255,255,0.06);
      padding: 1.6rem 3rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: rgba(196,168,130,0.35);
      font-size: 0.72rem;
      letter-spacing: 0.1em;
    }
 
    /* ── LIGHTBOX ── */
    .lightbox {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 200;
      background: rgba(44,42,38,0.92);
      align-items: center;
      justify-content: center;
      padding: 2rem;
      cursor: pointer;
      padding: 1rem;
    }
    .lightbox.open { display: flex; }
    .lightbox-img {
      max-width: 80vw;
      max-height: 85vh;
      border-radius: 2px;
      pointer-events: none;
    }
    .lightbox-close {
      position: absolute;
      top: 1.5rem; right: 2rem;
      font-size: 2rem;
      color: var(--cream);
      cursor: pointer;
      font-family: 'Jost', sans-serif;
      font-weight: 300;
      opacity: 0.6;
      transition: opacity 0.2s;
      line-height: 1;
    }
    .lightbox-close:hover { opacity: 1; }
 
    /* ── ANIMATIONS ── */
    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
 
    /* ══════════════════════════════════════
       RESPONSIVE – 900px
    ══════════════════════════════════════ */
    @media (max-width: 900px) {

      /* NAV */
      nav {
        padding: 1.1rem 1.5rem;
      }
      .nav-hamburger {
        display: flex;
      }
      .nav-links {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(250, 248, 243, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        padding-top: 70px;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        pointer-events: none;
      }
      .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
      }
      .nav-links a {
        font-size: 1.1rem;
        letter-spacing: 0.2em;
        color: var(--dark);
      }
      .nav-logo-aka {
        display: none;
      }

      /* HERO */
      #hjem {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
        padding: 0 !important;
      }
      #hjem > div:first-child {
        padding: 100px 1.5rem 3rem;
      }
      #hjem > div:nth-child(2) {
        display: none;
      }
      .hero-scroll { display: none; }
      .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }

      /* SECTIONS */
      section { padding: 4rem 1.5rem; }

      /* OM */
      #om {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }
      .om-image-wrap::before,
      .om-image-wrap::after { display: none; }

      /* GALLERI PREVIEW */
      .galleri-preview {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 200px 200px !important;
      }

      /* PRISER */
      .price-grid { grid-template-columns: 1fr; }
      .price-item { padding: 1.4rem 1.5rem; }

      /* KONTAKT */
      #kontakt { padding: 5rem 1.5rem; }
      .kontakt-info {
        flex-direction: column;
        gap: 2rem;
      }

      /* FOOTER */
      footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 1.4rem 1.5rem;
      }

      /* GALLERI GRID (forsiden) */
      .galleri-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
      }
      .painting {
        height: 180px !important;
        grid-column: auto !important;
        grid-row: auto !important;
      }
      .painting img {
        object-fit: cover !important;
      }
    }

    /* ══════════════════════════════════════
       RESPONSIVE – 540px
    ══════════════════════════════════════ */
    @media (max-width: 540px) {
      .galleri-preview {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 160px 160px !important;
      }
      .painting-cta-num { font-size: 3rem; }
      .painting-cta-label { font-size: 0.68rem; }
      .painting-cta-btn { font-size: 0.65rem; padding: 7px 14px; }

      .price-name { font-size: 1.3rem; }
      .price-val { font-size: 1.4rem; }
    }

    /* ══════════════════════════════════════
       RESPONSIVE – 400px
    ══════════════════════════════════════ */
    @media (max-width: 400px) {
      .galleri-preview {
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(4, 200px) !important;
      }
    }