/* =========================================
   Sandakerveien 84 — eksklusivt prospekt
   ========================================= */

:root {
  --bg: #f4f1ec;
  --bg-soft: #ebe6dd;
  --bg-warm: #ede7dc;
  --ink: #1a1816;
  --ink-soft: #4a463f;
  --ink-mute: #6e6962;
  --line: #d8d2c5;
  --accent: #a17552;
  --accent-deep: #7a5639;
  --dark: #15130f;
  --dark-soft: #1f1c17;
  --light-on-dark: #ede7db;

  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.65, 0.05, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1400px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
@media (max-width: 900px) {
  body { font-size: 16px; line-height: 1.6; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

/* =========================================
   Loader
   ========================================= */
.loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
}
.loader__inner {
  text-align: center;
}
.loader__mark {
  font-family: var(--font-serif);
  color: var(--bg);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.loader__mark span {
  color: var(--accent);
  margin: 0 4px;
}
.loader__line {
  width: 220px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.loader__line span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: loaderFill 1.4s var(--ease) forwards;
}
@keyframes loaderFill {
  to { transform: scaleX(1); }
}

/* =========================================
   Scroll progress
   ========================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 1000;
  transition: width 0.05s linear;
}

/* =========================================
   Navigation
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 14px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease);
}
.nav.is-scrolled {
  padding: 14px 0;
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__logo-mark {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav__logo-mark i {
  color: var(--accent);
  font-style: normal;
  margin: 0 2px;
}
.nav__logo-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
  font-weight: 500;
}
.nav__menu {
  display: flex;
  gap: 36px;
}
.nav__menu a {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__menu a:hover {
  color: var(--ink);
}
.nav__menu a:hover::after {
  transform: scaleX(1);
}
.nav__cta {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__cta:hover {
  background: var(--ink);
  color: var(--bg);
}

/* Hamburger */
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 200;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
  transform-origin: center;
}
.nav__burger.is-open span:first-child {
  transform: translateY(3.75px) rotate(45deg);
  background: var(--light-on-dark);
}
.nav__burger.is-open span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
  background: var(--light-on-dark);
}

@media (max-width: 900px) {
  .nav { padding: 18px 0; }
  .nav.is-scrolled { padding: 12px 0; }
  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__inner { padding: 0 20px; }
  .nav__burger { display: flex; }
  .nav__logo-mark { font-size: 22px; }
  .nav__logo-sub { font-size: 9px; }
}

/* =========================================
   Mobile menu overlay
   ========================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
}
.mobile-menu__bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.mobile-menu__inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 88vw);
  background: var(--ink);
  color: var(--light-on-dark);
  padding: 100px 32px 32px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open {
  pointer-events: auto;
}
.mobile-menu.is-open .mobile-menu__bg {
  opacity: 0.45;
}
.mobile-menu.is-open .mobile-menu__inner {
  transform: translateX(0);
}
.mobile-menu__head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(237, 231, 219, 0.45);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(237, 231, 219, 0.12);
  margin-bottom: 20px;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu__nav a {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.005em;
  padding: 18px 0;
  border-bottom: 1px solid rgba(237, 231, 219, 0.08);
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: var(--light-on-dark);
  transition: color 0.3s var(--ease), padding-left 0.4s var(--ease);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s var(--ease), padding-left 0.4s var(--ease);
}
.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.25s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.3s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 0.35s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(6) { transition-delay: 0.4s; }
.mobile-menu__nav a span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  width: 24px;
}
.mobile-menu__nav a:active,
.mobile-menu__nav a:hover {
  color: var(--accent);
  padding-left: 8px;
}
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(237, 231, 219, 0.12);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu__foot small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(237, 231, 219, 0.45);
  margin-bottom: 6px;
}
.mobile-menu__foot strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--light-on-dark);
}
.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 100px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.mobile-menu__cta:active,
.mobile-menu__cta:hover {
  background: var(--accent);
  color: var(--ink);
}
body.menu-open {
  overflow: hidden;
}

/* =========================================
   Hero
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 120px 0 0 0;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero__parallax {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero__img {
  position: absolute;
  inset: -8% 0 -8% 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.12);
  animation: heroZoom 5s var(--ease-out) forwards;
  will-change: transform;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(21, 19, 15, 0.58) 0%,
      rgba(21, 19, 15, 0.14) 32%,
      rgba(21, 19, 15, 0.04) 55%,
      rgba(21, 19, 15, 0.62) 72%,
      rgba(21, 19, 15, 0.88) 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px 80px;
  color: var(--light-on-dark);
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1.4s var(--ease-out) 1.6s forwards;
  background: rgba(21, 19, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 16px;
  border-radius: 2px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-self: flex-start;
}
.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(52px, 9vw, 140px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-line span {
  display: block;
  transform: translateY(110%);
  animation: revealLine 1.2s var(--ease-out) 0.9s forwards;
}
.reveal-line--delay span {
  animation-delay: 1.1s;
}
@keyframes revealLine {
  to { transform: translateY(0); }
}
.hero__subtitle {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.6;
  font-weight: 300;
  max-width: 540px;
  margin-top: auto;
  margin-bottom: 32px;
  color: rgba(237, 231, 219, 0.92);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.4s var(--ease-out) 1.8s forwards;
}
.reveal-fade--delay {
  animation-delay: 2s;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.hero__meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(237, 231, 219, 0.28);
  max-width: 720px;
}
.hero__meta div {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(237, 231, 219, 0.82);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.hero__meta div span {
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--light-on-dark);
  margin-bottom: 4px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--light-on-dark);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1.4s var(--ease-out) 2.4s forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(237, 231, 219, 0.3);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(-100%);
  animation: scrollDown 2.4s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

.hero__corner {
  position: absolute;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(237, 231, 219, 0.55);
  opacity: 0;
  animation: fadeUp 1.4s var(--ease-out) 2.6s forwards;
}
.hero__corner--tl { top: 110px; left: 40px; }
.hero__corner--tr { top: 110px; right: 40px; }
.hero__corner--bl { bottom: 40px; left: 40px; }
.hero__corner--br { bottom: 40px; right: 90px; }

@media (max-width: 900px) {
  .hero {
    padding-bottom: 70px;
    min-height: 100svh;
    height: 100svh;
  }
  .hero__content { padding: 0 20px 80px; min-height: calc(100svh - 120px); }
  .hero__title { margin-bottom: 24px; }
  .hero__subtitle { font-size: 14px; margin-bottom: 36px; max-width: 90%; }
  .hero__subtitle br { display: none; }
  .hero__eyebrow { margin-bottom: 20px; font-size: 10px; }
  .hero__img { background-position: 30% center; }
  .hero__meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 16px;
    padding-top: 22px;
    width: 100%;
  }
  .hero__meta div { font-size: 9px; letter-spacing: 0.2em; }
  .hero__meta div span { font-size: 28px; margin-bottom: 2px; }
  .hero__corner { font-size: 9px; }
  .hero__corner--tl { top: 80px; left: 20px; }
  .hero__corner--tr { top: 80px; right: 20px; }
  .hero__corner--bl { display: none; }
  .hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 56px; line-height: 0.95; }
  .hero__meta { gap: 14px 12px; }
  .hero__meta div span { font-size: 24px; }
}

/* =========================================
   Marquee
   ========================================= */
.marquee {
  background: var(--ink);
  color: var(--light-on-dark);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(237, 231, 219, 0.08);
  border-bottom: 1px solid rgba(237, 231, 219, 0.08);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  animation: marquee 40s linear infinite;
}
.marquee__track span:nth-child(odd) {
  color: var(--light-on-dark);
}
.marquee__track span:nth-child(even) {
  color: var(--accent);
  font-style: normal;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================
   Section helpers
   ========================================= */
.section-head {
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 48px;
  align-items: end;
}
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  gap: 24px;
  justify-items: center;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  white-space: nowrap;
  padding-bottom: 6px;
}
.section-eyebrow--light {
  color: rgba(237, 231, 219, 0.55);
}
.label-num {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 900px;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .section-title { font-size: clamp(30px, 8vw, 48px); }
  .container { padding: 0 20px; }
  .marquee__track { font-size: 17px; gap: 28px; }
  .marquee { padding: 16px 0; }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay { transition-delay: 0.15s; }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* =========================================
   Intro
   ========================================= */
.intro {
  padding: 120px 0 90px;
}
.intro__grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}
.intro__label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  position: sticky;
  top: 120px;
  align-self: start;
}
.intro__label .label-text { color: var(--ink); }
.intro__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin-bottom: 56px;
  max-width: 920px;
}
.intro__heading em {
  font-style: italic;
  color: var(--accent);
}
.intro__body {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 400;
}
.intro__body p + p {
  margin-top: 20px;
}
@media (max-width: 900px) {
  .intro { padding: 80px 0 60px; }
  .intro__grid { grid-template-columns: 1fr; gap: 20px; }
  .intro__label { position: static; flex-direction: row; gap: 16px; }
  .intro__heading { font-size: clamp(24px, 6.5vw, 38px); margin-bottom: 32px; }
  .intro__body { font-size: 15px; line-height: 1.65; }
}

/* =========================================
   Sol-tidslinje
   ========================================= */
.sun-timeline {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 620px;
}
.sun-timeline__eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 20px;
}
.sun-timeline__season {
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.sun-timeline__row {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.sun-timeline__row--axis {
  border-top: none;
  padding: 0 0 6px;
}
.sun-timeline__name-spacer { width: 120px; flex-shrink: 0; }
.sun-timeline__hrs-spacer  { width: 52px;  flex-shrink: 0; }
.sun-timeline__ticks {
  flex: 1;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.sun-timeline__name {
  width: 120px;
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.sun-timeline__rail {
  flex: 1;
  height: 4px;
  background: var(--line);
  position: relative;
}
.sun-timeline__fill {
  position: absolute;
  top: 0;
  height: 100%;
}
.sun-timeline__fill--terrasse { background: var(--accent); }
.sun-timeline__fill--balkong  { background: var(--accent-deep); }
.sun-timeline__hrs {
  width: 52px;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--ink-mute);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.sun-timeline__note {
  margin-top: 20px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  .sun-timeline { max-width: 100%; }
  .sun-timeline__name-spacer,
  .sun-timeline__name { width: 76px; font-size: 9px; letter-spacing: 0.12em; }
  .sun-timeline__hrs-spacer,
  .sun-timeline__hrs { width: 40px; font-size: 12px; }
  .sun-timeline__ticks { font-size: 9px; }
}

/* ----- Sun timeline ----- */
.sun-timeline--sky { max-width: 640px; }
.sun-sky__wrap { margin-top: 20px; }

/* Axis row: spacer | ticks | tag-spacer — all three must match the bar rows */
.sun-sky__ticks-row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.sun-sky__ticks-spacer {
  width: 110px;
  flex-shrink: 0;
}
.sun-sky__ticks-end {
  width: 90px;
  flex-shrink: 0;
}
.sun-sky__ticks {
  flex: 1;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--ink-soft);
}
.sun-sky__ticks span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 5px;
  position: relative;
}
.sun-sky__ticks span::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 4px;
  background: var(--ink-mute);
}

/* Bar rows */
.sun-sky__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.sun-sky__name {
  width: 110px;
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.sun-sky__rail {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(0,0,0,0.07);
  position: relative;
  overflow: hidden;
}
.sun-sky__fill {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 4px;
}
.sun-sky__fill--terrasse { background: var(--accent); }
.sun-sky__fill--balkong  { background: var(--accent-deep); }
.sun-sky__tag {
  flex-shrink: 0;
  width: 90px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
@media (max-width: 900px) {
  .sun-timeline--sky { max-width: 100%; }
  .sun-sky__ticks-spacer { width: 80px; }
  .sun-sky__ticks-end  { width: 72px; }
  .sun-sky__ticks { font-size: 9px; }
  .sun-sky__name { width: 80px; font-size: 9px; }
  .sun-sky__tag  { width: 72px; font-size: 12px; }
}

/* =========================================
   Stats
   ========================================= */
.stats {
  padding: 60px 0 100px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 60px 30px;
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-block;
}
.stat__unit {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  display: inline-block;
  margin-left: 6px;
  vertical-align: top;
  margin-top: 16px;
}
.stat__label {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
@media (max-width: 900px) {
  .stats { padding: 40px 0 70px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 32px 16px; }
  .stat__num { font-size: 48px; }
  .stat__unit { font-size: 18px; margin-top: 10px; }
  .stat__label { font-size: 9px; letter-spacing: 0.22em; margin-top: 10px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* =========================================
   Showcase
   ========================================= */
.showcase {
  padding: 100px 0 120px;
}
.showcase__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
}
.showcase__main, .showcase__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 16 / 11;
}
.showcase__side .img-wrap {
  aspect-ratio: 4 / 5;
}
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
  will-change: transform;
}
.img-wrap:hover img {
  transform: scale(1.04);
}
.showcase figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
@media (max-width: 900px) {
  .showcase__grid { grid-template-columns: 1fr; gap: 24px; }
  .showcase { padding: 40px 0 60px; }
  .showcase__side .img-wrap { aspect-ratio: 4 / 3; }
  .showcase figcaption { font-size: 9px; letter-spacing: 0.18em; }
}

/* =========================================
   Highlights
   ========================================= */
.highlights {
  padding: 100px 0;
  background: var(--bg-warm);
  position: relative;
}
.highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.highlight {
  padding: 48px 40px 44px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(21, 19, 15, 0.18);
  border-color: var(--accent);
}
.highlight:hover::before {
  width: 100%;
}
.highlight__num {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0;
  line-height: 1;
  font-feature-settings: "lnum" 0;
}
.highlight h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.highlight p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin-top: auto;
  max-width: 36ch;
}
@media (max-width: 900px) {
  .highlights__grid { grid-template-columns: 1fr; gap: 16px; }
  .highlights { padding: 60px 0; }
  .highlight { padding: 36px 28px 32px; min-height: auto; }
  .highlight h3 { font-size: 24px; }
  .highlight p { font-size: 16px; }
  .highlight__num { margin-bottom: 20px; font-size: 20px; }
}

/* =========================================
   Gallery
   ========================================= */
.gallery {
  padding: 100px 0 100px;
  background: var(--bg);
}
.gallery__intro {
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: -20px 0 40px;
}
.gallery__intro kbd {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-soft);
  color: var(--ink-soft);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
.gallery__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  grid-column: span 2;
  grid-row: span 2;
}
.gallery__item--wide {
  grid-column: span 4;
  grid-row: span 2;
}
.gallery__item--tall {
  grid-column: span 2;
  grid-row: span 4;
}
.gallery__item--square {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery__btn {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  padding: 0;
  border: 0;
  cursor: pointer;
  display: block;
}
.gallery__btn::after {
  content: '+';
  position: absolute;
  bottom: 16px;
  right: 18px;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
  color: var(--light-on-dark);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  z-index: 2;
  pointer-events: none;
}
.gallery__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(21, 19, 15, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 1;
  pointer-events: none;
}
.gallery__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  will-change: transform;
}
.gallery__btn:hover img,
.gallery__btn:focus-visible img {
  transform: scale(1.04);
}
.gallery__btn:hover::before,
.gallery__btn:focus-visible::before,
.gallery__btn:hover::after,
.gallery__btn:focus-visible::after {
  opacity: 1;
}
.gallery__btn:hover::after,
.gallery__btn:focus-visible::after {
  transform: translateY(0);
}
.gallery__btn:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}
.gallery__item figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
@media (max-width: 900px) {
  .gallery { padding: 70px 0 60px; }
  .gallery__intro { margin: -20px 0 32px; font-size: 16px; }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 10px;
  }
  .gallery__item,
  .gallery__item--wide,
  .gallery__item--tall,
  .gallery__item--square {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery__item figcaption { font-size: 9px; letter-spacing: 0.18em; }
}
@media (max-width: 480px) {
  .gallery__grid { grid-auto-rows: 120px; }
}

/* =========================================
   Lightbox
   ========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 13, 10, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  padding: 80px 80px 100px;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__stage {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  transform: scale(0.98);
  transition: transform 0.5s var(--ease-out);
}
.lightbox.is-open .lightbox__stage {
  transform: scale(1);
}
.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  display: block;
}
.lightbox__caption {
  display: flex;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237, 231, 219, 0.6);
  font-weight: 500;
}
.lightbox__caption span:first-child {
  color: var(--accent);
}
.lightbox__close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(237, 231, 219, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}
.lightbox__close span {
  position: absolute;
  width: 18px;
  height: 1px;
  background: var(--light-on-dark);
}
.lightbox__close span:first-child { transform: rotate(45deg); }
.lightbox__close span:last-child { transform: rotate(-45deg); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 1px solid rgba(237, 231, 219, 0.2);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--light-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.lightbox__nav--prev { left: 28px; }
.lightbox__nav--next { right: 28px; }
body.lightbox-open { overflow: hidden; }
.lightbox--single .lightbox__nav { display: none; }
.lightbox--single .lightbox__caption span:first-child { display: none; }

@media (max-width: 900px) {
  .lightbox { padding: 60px 16px 80px; }
  .lightbox__stage img { max-height: calc(100svh - 180px); }
  .lightbox__close { top: 16px; right: 16px; width: 40px; height: 40px; }
  .lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 18px;
    top: auto;
    bottom: 20px;
    transform: none;
  }
  .lightbox__nav--prev { left: 50%; margin-left: -52px; }
  .lightbox__nav--next { right: 50%; margin-right: -52px; }
  .lightbox__caption { font-size: 9px; gap: 14px; }
}

/* =========================================
   Rooms
   ========================================= */
.rooms {
  padding: 140px 0 120px;
}
.room {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.room:last-child {
  border-bottom: 1px solid var(--line);
}
.room__head {
  position: sticky;
  top: 120px;
  align-self: start;
}
.room__type {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}
.room__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.room__body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 580px;
}
.room__list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 30px;
}
.room__list li {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 18px;
}
.room__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--accent);
}
@media (max-width: 900px) {
  .rooms { padding: 70px 0 60px; }
  .room { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; }
  .room__head { position: static; }
  .room__type { margin-bottom: 12px; font-size: 11px; }
  .room__title { font-size: clamp(26px, 7vw, 40px); }
  .room__body p { font-size: 15px; line-height: 1.65; }
  .room__list { grid-template-columns: 1fr; margin-top: 24px; gap: 0; }
  .room__list li { font-size: 12px; padding: 9px 0 9px 18px; }
}

/* =========================================
   Smarthus
   ========================================= */
.smart {
  background: var(--dark);
  color: var(--light-on-dark);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.smart::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(161, 117, 82, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.smart__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  z-index: 1;
}
.smart__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 32px;
  margin-bottom: 32px;
}
.smart__title em {
  font-style: italic;
  color: var(--accent);
}
.smart__lead {
  font-size: 17px;
  line-height: 1.7;
  max-width: 480px;
  color: rgba(237, 231, 219, 0.8);
}
.smart__list li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(237, 231, 219, 0.12);
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300;
  letter-spacing: -0.005em;
  transition: padding-left 0.5s var(--ease), color 0.5s var(--ease);
}
.smart__list li:hover {
  padding-left: 14px;
  color: var(--accent);
}
.smart__list li span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  width: 28px;
}
@media (max-width: 900px) {
  .smart { padding: 70px 0; }
  .smart__inner { grid-template-columns: 1fr; gap: 28px; padding: 0 20px; }
  .smart__title { font-size: clamp(32px, 8vw, 48px); margin-top: 20px; margin-bottom: 22px; }
  .smart__lead { font-size: 16px; line-height: 1.65; }
  .smart__list li { font-size: 18px; padding: 18px 0; gap: 16px; }
  .smart__list li span { width: 22px; font-size: 11px; }
}

/* =========================================
   Plan
   ========================================= */
.plan {
  padding: 140px 0;
  background: var(--bg-warm);
}
.plan__wrap {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 60px;
  align-items: start;
}
.plan__image {
  background: var(--bg);
  padding: 30px;
  border: 1px solid var(--line);
  position: relative;
  cursor: zoom-in;
}
.plan__image img {
  width: 100%;
  height: auto;
  filter: contrast(1.05);
  display: block;
}
.plan__zoom-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.plan__zoom-btn:hover,
.plan__zoom-btn:focus-visible {
  background: var(--accent);
  color: var(--light-on-dark);
  border-color: var(--accent);
}
.plan__zoom-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.plan__legend {
  display: flex;
  flex-direction: column;
}
.plan__legend-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-weight: 500;
}
.plan__legend-item strong {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}
.plan__legend-item--accent strong {
  color: var(--ink);
}
@media (max-width: 900px) {
  .plan { padding: 60px 0; }
  .plan__wrap { grid-template-columns: 1fr; gap: 28px; }
  .plan__image { padding: 16px; }
  .plan__legend-item { padding: 14px 0; font-size: 11px; }
  .plan__legend-item strong { font-size: 18px; }
}

/* =========================================
   Extras
   ========================================= */
.extras {
  padding: 0 0 60px;
}
.extras__eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 40px;
}
.extras__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.extras__col {
  border-top: 1px solid var(--ink);
  padding-top: 32px;
  position: relative;
}
.extras__num {
  position: absolute;
  top: -2px;
  right: 0;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}
.extras__col h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.extras__col p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .extras { padding: 0 0 70px; }
  .extras__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .extras__col h3 { font-size: 20px; }
  .extras__col p { font-size: 13px; }
  .extras__num { font-size: 22px; }
}
@media (max-width: 480px) {
  .extras__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================
   Contact
   ========================================= */
.contact {
  background: var(--ink);
  color: var(--light-on-dark);
  padding: 160px 0 140px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(161, 117, 82, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.contact__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.contact__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-top: 32px;
  margin-bottom: 32px;
}
.contact__title em {
  font-style: italic;
  color: var(--accent);
}
.contact__lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(237, 231, 219, 0.75);
  max-width: 540px;
  margin: 0 auto 60px;
}
.contact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 80px;
}
.contact__card {
  padding: 36px 32px;
  border: 1px solid rgba(237, 231, 219, 0.18);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  text-align: left;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact__card:hover {
  background: rgba(237, 231, 219, 0.04);
  border-color: var(--accent);
}
.contact__card-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(237, 231, 219, 0.5);
  font-weight: 500;
}
.contact__card-value {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--light-on-dark);
  grid-column: 1 / 2;
}
.contact__card-arrow {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--accent);
  transition: transform 0.4s var(--ease);
}
.contact__card:hover .contact__card-arrow {
  transform: translateX(8px);
}
.contact__address {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: left;
  padding-top: 60px;
  border-top: 1px solid rgba(237, 231, 219, 0.12);
}
.contact__address div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact__address span {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(237, 231, 219, 0.5);
  font-weight: 500;
}
.contact__address strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--light-on-dark);
}
/* ----- Phone reveal button reset ----- */
.contact__phone-reveal {
  background: transparent;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  color: inherit;
  text-align: left;
}
/* ----- Contact form ----- */
.contact__form {
  text-align: left;
  margin-bottom: 60px;
}
.contact__form-bot { display: none; }
.contact__form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.contact__form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact__form-input {
  background: rgba(237, 231, 219, 0.06);
  border: 1px solid rgba(237, 231, 219, 0.18);
  border-radius: 3px;
  padding: 16px 20px;
  color: var(--light-on-dark);
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.contact__form-input::placeholder {
  color: rgba(237, 231, 219, 0.3);
}
.contact__form-input:focus {
  border-color: var(--accent);
  background: rgba(237, 231, 219, 0.1);
}
.contact__form-optional {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(237, 231, 219, 0.35);
  font-style: normal;
}
.contact__form-error {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 16px;
}
.contact__form-submit {
  padding: 18px 48px;
  background: var(--accent);
  color: var(--light-on-dark);
  border: none;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.contact__form-submit:hover {
  background: var(--accent-deep);
}
.contact__form-success {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--light-on-dark);
  text-align: center;
  padding: 60px 0;
}
@media (max-width: 900px) {
  .contact { padding: 80px 0 70px; }
  .contact__title { font-size: clamp(48px, 14vw, 80px); margin-top: 24px; margin-bottom: 24px; }
  .contact__lead { font-size: 16px; margin-bottom: 40px; }
  .contact__cards { grid-template-columns: 1fr; gap: 12px; margin-bottom: 50px; }
  .contact__card { padding: 24px 22px; }
  .contact__card-value { font-size: 19px; }
  .contact__address { grid-template-columns: 1fr; gap: 20px; padding-top: 40px; text-align: left; }
  .contact__address strong { font-size: 16px; }
  .contact__form-fields { grid-template-columns: 1fr; }
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--dark);
  color: rgba(237, 231, 219, 0.6);
  padding: 50px 0 40px;
  border-top: 1px solid rgba(237, 231, 219, 0.08);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(237, 231, 219, 0.08);
}
.footer__logo span {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--light-on-dark);
  letter-spacing: 0.04em;
}
.footer__logo span i {
  color: var(--accent);
  font-style: normal;
  margin: 0 2px;
}
.footer__logo small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 6px;
}
.footer__nav {
  display: flex;
  gap: 32px;
}
.footer__nav a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.footer__nav a:hover {
  color: var(--accent);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-top: 30px;
}
.footer__legal {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0;
  text-transform: none;
  max-width: 860px;
}
@media (max-width: 900px) {
  .footer { padding: 36px 0 28px; }
  .footer__top, .footer__bottom { flex-direction: column; gap: 18px; text-align: center; }
  .footer__nav { flex-wrap: wrap; justify-content: center; gap: 18px 24px; }
}

/* =========================================
   Mobile-only polish
   ========================================= */
@media (max-width: 900px) {
  /* Disable some heavy effects on mobile for performance */
  .img-wrap:hover img { transform: none; }
  .smart::before, .contact::before { opacity: 0.6; }

  /* Larger tap targets */
  a, button { -webkit-tap-highlight-color: transparent; }

  /* Safe-area insets */
  .nav__inner { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .container { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .hero__content { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-fade, .reveal-line span { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
}

/* =========================================
   Skip link, focus, typography polish
   ========================================= */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--light-on-dark);
  padding: 12px 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

:where(a, button, [tabindex], summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, .section-title, .intro__heading, .room__title, .smart__title, .contact__title {
  text-wrap: pretty;
}

/* =========================================
   Hero image default + corner BR + marquee hover pause
   ========================================= */

.hero__img--default {
  background-image: url('img/boligen/OversiktPil.jpg');
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

/* =========================================
   omradet / nabolaget
   ========================================= */

.omradet {
  padding: 80px 0 120px;
  background: var(--bg);
  position: relative;
}
.omradet__lead {
  grid-column: 2;
  max-width: 60ch;
  margin: 24px 0 0;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .omradet__lead { grid-column: 1; }
}
.omradet__grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}
.omradet__card {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.omradet__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
}
.omradet__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.omradet__card:hover .omradet__media img { transform: scale(1.04); }
.omradet__card figcaption {
  padding: 24px 4px 0;
}
.omradet__num {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.omradet__card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 8px;
}
.omradet__card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.omradet__card--quote {
  background: var(--ink);
  color: var(--light-on-dark);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
}
.omradet__card--quote blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  color: var(--light-on-dark);
}
.omradet__card--quote cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--ink-mute);
}

@media (max-width: 900px) {
  .omradet { padding: 90px 0 80px; }
  .omradet__grid { grid-template-columns: 1fr; gap: 28px; margin-top: 50px; }
  .omradet__card--quote { padding: 32px; aspect-ratio: auto; }
  .omradet__card--quote blockquote p { font-size: 22px; }
}

/* =========================================
   Nøkkelinformasjon
   ========================================= */

.nokkel {
  padding: 120px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nokkel__lead {
  grid-column: 2;
  max-width: 680px;
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}
.nokkel__list {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 60px;
  row-gap: 0;
}
.nokkel__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.nokkel__row dt {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.nokkel__row dd {
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--ink);
  text-align: right;
  font-weight: 500;
}

@media (max-width: 900px) {
  .nokkel { padding: 80px 0; }
  .nokkel__list { grid-template-columns: 1fr; column-gap: 0; margin-top: 40px; }
  .nokkel__row { padding: 14px 0; }
  .nokkel__row dd { font-size: 17px; }
}

/* =========================================
   Lightbox counter spacing tweak
   ========================================= */

#lightboxIndex {
  font-variant-numeric: tabular-nums;
}
