:root {
  --bg: #03070d;
  --text: #c7c0ba;
  --muted: #a9b2bd;
  --faint: rgba(235, 240, 246, 0.16);
  --line: rgba(235, 240, 246, 0.82);
  --gold: #d6ae74;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  font-synthesis: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.home-page {
  position: relative;
  min-height: 100vh;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 400vh;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
  background:
    linear-gradient(
      90deg,
      rgba(3, 7, 13, 0.24) 0%,
      rgba(3, 7, 13, 0.06) 58%,
      rgba(3, 7, 13, 0.00) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 7, 13, 0.06) 0%,
      rgba(3, 7, 13, 0.12) 100%
    ),
    url("images/home-background.webp") center top / auto 100% no-repeat;
}

.global-wavefield {
  display: none;
}

.hero,
.placeholder,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ---------- HEADER ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 48px;
}
.site-header::after {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: -12px;
  height: 146px;
  z-index: -2;
  pointer-events: none;
  opacity: 1;
  transition: none;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 11, 0.43) 0%,
    rgba(2, 6, 11, 0.29) 24%,
    rgba(2, 6, 11, 0.17) 46%,
    rgba(2, 6, 11, 0.08) 68%,
    rgba(2, 6, 11, 0.025) 84%,
    rgba(2, 6, 11, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 22%,
    rgba(0,0,0,.94) 42%,
    rgba(0,0,0,.74) 58%,
    rgba(0,0,0,.40) 76%,
    rgba(0,0,0,.14) 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 22%,
    rgba(0,0,0,.94) 42%,
    rgba(0,0,0,.74) 58%,
    rgba(0,0,0,.40) 76%,
    rgba(0,0,0,.14) 90%,
    transparent 100%
  );
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}



.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -92px 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 11, 0.38) 0%,
    rgba(2, 6, 11, 0.18) 42%,
    rgba(2, 6, 11, 0) 100%
  );
}



.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-name {
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.21em;
}

.brand-role {
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.22em;
}

.site-nav {
  position: relative;
  display: flex;
  gap: 30px;
  padding-top: 1px;
}

.site-nav a {
  position: relative;
  color: rgba(226, 220, 214, 0.94);
  font-size: 11px;
  letter-spacing: 0.20em;
  transition: opacity 180ms ease;
}

.site-nav a:hover {
  opacity: 0.72;
}

.site-nav a.active {
  color: rgba(241, 244, 248, 0.98);
}

.nav-underline {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 1px;
  background: rgba(241, 244, 248, 0.75);
  pointer-events: none;
  transition: left 320ms cubic-bezier(.2,.7,.2,1), width 320ms cubic-bezier(.2,.7,.2,1);
}

/* ---------- HOME ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: transparent;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(690px, 62vw);
  margin-left: 6.9vw;
  padding-top: 28vh;
}

.section-number {
  margin-bottom: 30px;
  color: #aba29c;
  font-size: 11px;
  letter-spacing: 0.24em;
}

h1 {
  margin: 0;
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: clamp(54px, 6.7vw, 102px);
  line-height: 0.91;
  font-weight: 300;
  letter-spacing: 0.018em;
  color: #d9dde1;
}

.hairline {
  width: 43px;
  height: 1px;
  margin: 29px 0 27px;
  background: rgba(240, 243, 247, 0.78);
}



.hero-intro {
  margin: 26px 0 33px;
  color: #a59c96;
  font-size: 15px;
  line-height: 1.66;
}

.audio-reel {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b5aca6;
  cursor: pointer;
}

.audio-reel:focus-visible {
  outline: 1px solid rgba(238, 242, 246, 0.7);
  outline-offset: 8px;
}

.play-circle {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(214, 205, 198, 0.84);
  border-radius: 50%;
  font-size: 17px;
  padding-left: 3px;
  transition: background 180ms ease, transform 180ms ease;
}

.audio-reel:hover .play-circle {
  background: rgba(242, 244, 247, 0.08);
  transform: scale(1.02);
}

.audio-label,
.audio-duration {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.20em;
}

.audio-line {
  width: 58px;
  height: 1px;
  background: rgba(236, 241, 246, 0.78);
}

.audio-duration {
  color: #aaa19b;
  letter-spacing: 0.12em;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 62px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #aaa19a;
  opacity: 0.5;
  font-size: 9px;
  letter-spacing: 0.22em;
}

.scroll-arrow {
  position: relative;
  display: block;
  width: 1px;
  height: 30px;
  background: rgba(201, 193, 187, 0.70);
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: 2px;
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(201, 193, 187, 0.82);
  border-bottom: 1px solid rgba(201, 193, 187, 0.82);
  transform: rotate(45deg);
  transform-origin: center;
}

.site-footer {
  position: absolute;
  z-index: 3;
  left: 4.6vw;
  right: 4.6vw;
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(216, 208, 201, 0.76);
  color: #a69d97;
  font-size: 10px;
  letter-spacing: 0.18em;
}

/* ---------- TEMPORARY CHAPTERS ---------- */

.placeholder {
  min-height: 100vh;
  padding: 150px 48px 100px;
  background: transparent;
}

.placeholder h2 {
  margin: 0;
  font-size: clamp(60px, 9vw, 130px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.placeholder p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

.placeholder .section-number {
  margin-bottom: 28px;
}



/* ---------- CONTACT ---------- */

.contact-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 126px 4.6vw 140px;
  background: transparent;
}

.contact-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.contact-heading {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100vw - 92px));
  margin: 0 auto;
}

.contact-heading h2 {
  margin: 18px 0 0;
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: clamp(58px, 6.7vw, 102px);
  line-height: 0.90;
  font-weight: 300;
  letter-spacing: 0.10em;
  color: #d9dde1;
}

.contact-heading-line {
  display: block;
  width: 58px;
  height: 1px;
  margin-top: 18px;
  background: rgba(216, 208, 201, 0.72);
}

.contact-layout {
  width: min(1120px, calc(100vw - 92px));
  margin: 61px auto 0;
}

.contact-left {
  width: min(520px, 48vw);
}

.contact-intro {
  margin: 0 0 45px;
  color: #d7d1cc;
  font-size: 20px;
  line-height: 1.48;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0,0,0,.46);
}

.contact-intro p {
  margin: 0;
}

.contact-form {
  width: min(430px, 100%);
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.contact-form label {
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(216, 208, 201, 0.76);
  border-radius: 0;
  background: rgba(2, 6, 11, 0.34);
  color: #ddd7d1;
  font-family: "DM Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.18em;
  outline: none;
  padding: 16px 17px;
  box-shadow: inset 0 0 22px rgba(0,0,0,.14);
}

.contact-form input {
  height: 51px;
}

.contact-form textarea {
  height: 132px;
  resize: vertical;
  min-height: 110px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(215, 207, 200, 0.86);
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(237, 231, 226, 0.94);
  box-shadow: 0 0 0 1px rgba(235, 231, 226, 0.10), inset 0 0 18px rgba(0,0,0,.10);
}

.contact-send-area {
  width: min(430px, 100%);
}

.contact-submit {
  width: 267px;
  height: 53px;
  margin-top: 5px;
  padding: 0 20px 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(238, 233, 228, 0.92);
  border-radius: 0;
  background: transparent;
  color: #e1dad4;
  font-family: "DM Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.20em;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-submit[hidden] {
  display: none !important;
}

.contact-submit:hover {
  background: rgba(224, 214, 207, 0.06);
  border-color: rgba(245, 239, 234, 0.98);
  transform: translateY(-1px);
}

.contact-submit-arrow {
  font-size: 28px;
  line-height: 1;
  transform: translateY(-1px);
}

.contact-success[hidden] {
  display: none;
}

.contact-success {
  width: min(430px, 100%);
  padding: 0;
}

.contact-success-mark {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  border: 1px solid rgba(216, 208, 201, 0.76);
  border-radius: 50%;
  color: #ddd7d1;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
}

.contact-success h3 {
  margin: 0;
  color: #e1dad4;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.20em;
}

.contact-success p {
  margin: 18px 0 30px;
  color: #d7d1cc;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0,0,0,.46);
}

.contact-success-again {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(300px, 100%);
  height: 50px;
  padding: 0 20px 0 22px;
  border: 1px solid rgba(216, 208, 201, 0.72);
  border-radius: 0;
  background: rgba(2, 6, 11, 0.18);
  color: #ddd7d1;
  font-family: "DM Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-success-again:hover {
  background: rgba(224, 214, 207, 0.06);
  border-color: rgba(245, 239, 234, 0.90);
  transform: translateY(-1px);
}

.contact-success-again span:last-child {
  font-size: 20px;
  line-height: 1;
}

.contact-info-line {
  width: 58px;
  height: 1px;
  margin: 42px 0 30px;
  background: rgba(216, 208, 201, 0.72);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #ddd6d0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0,0,0,.46);
}

.contact-detail:hover {
  color: #f1ece8;
}

.contact-location {
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
}

.contact-location-main {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.contact-location-main:hover {
  color: #f1ece8;
}

.contact-location-main:focus-visible {
  outline: 1px solid rgba(216, 208, 201, 0.55);
  outline-offset: 5px;
}

.contact-location-sub {
  margin-left: 52px;
  margin-top: -7px;
}

.contact-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.contact-detail small {
  display: block;
  margin-top: 2px;
  color: #aaa19a;
  font-size: 14px;
  font-weight: 300;
}

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


@media (max-width: 760px) {
  .contact-section {
    min-height: auto;
    padding: 112px 20px 104px;
  }

  .contact-heading,
  .contact-layout {
    width: 100%;
  }

  .contact-heading h2 {
    font-size: clamp(54px, 14vw, 88px);
    letter-spacing: 0.07em;
  }

  .contact-layout {
    margin-top: 42px;
  }

  .contact-left {
    width: 100%;
  }

  .contact-intro {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 31px;
  }

  .contact-form {
    width: 100%;
    gap: 11px;
  }

  .contact-form input {
    height: 48px;
    padding: 15px;
  }

  .contact-form textarea {
    height: 120px;
  }

 .contact-send-area {
  width: min(430px, 100%);
}

.contact-submit {
    width: min(267px, 100%);
    height: 50px;
    margin-top: 3px;
  }

  .contact-success[hidden] {
  display: none;
}

.contact-success {
  width: min(430px, 100%);
  padding: 0;
}

.contact-success-mark {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  border: 1px solid rgba(216, 208, 201, 0.76);
  border-radius: 50%;
  color: #ddd7d1;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
}

.contact-success h3 {
  margin: 0;
  color: #e1dad4;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.20em;
}

.contact-success p {
  margin: 18px 0 30px;
  color: #d7d1cc;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0,0,0,.46);
}

.contact-success-again {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(300px, 100%);
  height: 50px;
  padding: 0 20px 0 22px;
  border: 1px solid rgba(216, 208, 201, 0.72);
  border-radius: 0;
  background: rgba(2, 6, 11, 0.18);
  color: #ddd7d1;
  font-family: "DM Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-success-again:hover {
  background: rgba(224, 214, 207, 0.06);
  border-color: rgba(245, 239, 234, 0.90);
  transform: translateY(-1px);
}

.contact-success-again span:last-child {
  font-size: 20px;
  line-height: 1;
}

.contact-info-line {
    margin: 34px 0 24px;
  }

  .contact-detail {
    font-size: 14px;
    gap: 15px;
  }

  .contact-location-sub {
    margin-left: 44px;
    margin-top: -6px;
  }

  .contact-detail small {
    font-size: 12px;
  }

  .contact-icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }
}

/* ---------- AUDIO REEL MODAL ---------- */

.reel-modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:grid;
  place-items:center;
  padding:34px;
  opacity:0;
  pointer-events:none;
  transition:opacity 220ms ease;
}

.reel-modal.is-open{
  opacity:1;
  pointer-events:auto;
}

.reel-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,5,9,.82);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.reel-dialog{
  position:relative;
  z-index:2;
  width:min(1040px, 92vw);
}

.video-frame{
  position:relative;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:#02050a;
  border:1px solid rgba(235,240,245,.28);
  box-shadow:0 28px 90px rgba(0,0,0,.62);
}

.video-frame iframe{
  display:block;
  width:100%;
  height:100%;
  border:0;
}

.reel-close{
  display:block;
  margin:0 0 12px auto;
  padding:0;
  border:0;
  background:transparent;
  color:#e8edf3;
  cursor:pointer;
  font-size:10px;
  letter-spacing:.20em;
}

.reel-close:hover{
  opacity:.70;
}

/* ---------- MOBILE ---------- */

@media (max-width: 760px) {
  .site-header::after {
    left: -14px;
    right: -14px;
    top: -10px;
    height: 124px;
    background: linear-gradient(
      to bottom,
      rgba(2, 6, 11, 0.47) 0%,
      rgba(2, 6, 11, 0.30) 25%,
      rgba(2, 6, 11, 0.17) 48%,
      rgba(2, 6, 11, 0.08) 70%,
      rgba(2, 6, 11, 0.025) 86%,
      rgba(2, 6, 11, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 22%,
      rgba(0,0,0,.92) 44%,
      rgba(0,0,0,.70) 60%,
      rgba(0,0,0,.36) 78%,
      rgba(0,0,0,.12) 92%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 22%,
      rgba(0,0,0,.92) 44%,
      rgba(0,0,0,.70) 60%,
      rgba(0,0,0,.36) 78%,
      rgba(0,0,0,.12) 92%,
      transparent 100%
    );
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }


  body::before {
    width: 100%;
    height: 400vh;
    background-position: center top;
    background-size: auto 100%;
  }

  .global-wavefield {
    background-position: 58% center;
  }

  .site-header {
    padding: 23px 20px;
  }

  .site-header::before {
    inset: 0 0 -76px 0;
    background: linear-gradient(
      to bottom,
      rgba(2, 6, 11, 0.62) 0%,
      rgba(2, 6, 11, 0.34) 46%,
      rgba(2, 6, 11, 0) 100%
    );
  }


  .brand-name {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .brand-role {
    font-size: 8px;
    letter-spacing: 0.17em;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 9px;
    letter-spacing: 0.15em;
  }

  .hero {
    background-position: 58% center;
  }

  .hero-overlay {
    background: transparent;
  }

  .hero-content {
    width: 100%;
    margin-left: 0;
    padding: 30vh 22px 130px;
  }

  .section-number {
    margin-bottom: 23px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 78px);
    line-height: 0.92;
    font-weight: 300;
    letter-spacing: 0.016em;
    color: #d6dbe0;
  }

  .hairline {
    margin: 25px 0 23px;
  }

  .hero-role-large {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .hero-intro {
    font-size: 13px;
    line-height: 1.6;
    max-width: 360px;
  }

  .desktop-break {
    display: none;
  }

  .play-circle {
    width: 62px;
    height: 62px;
    font-size: 14px;
  }

  .audio-label,
  .audio-duration {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .audio-line {
    width: 45px;
  }

  .scroll-cue {
    bottom: 68px;
    gap: 7px;
    font-size: 8px;
    letter-spacing: 0.18em;
  }

  .site-footer {
    left: 20px;
    right: 20px;
    bottom: 18px;
    padding-top: 16px;
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .placeholder {
    padding: 120px 22px 90px;
  }
}

body.modal-open { overflow: hidden; }


/* ---------- GLOBAL FIXED FOOTER TEST ---------- */

.site-footer {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 68px !important;
  z-index: 40 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: block !important;
  pointer-events: none;
  background: transparent !important;
}

.fixed-footer-line {
  position: absolute;
  top: 0;
  left: 4.6vw;
  right: 4.6vw;
  height: 1px;
  background: rgba(216, 208, 201, 0.76);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 118px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(2, 6, 11, 0.34) 0%,
    rgba(2, 6, 11, 0.20) 30%,
    rgba(2, 6, 11, 0.08) 58%,
    rgba(2, 6, 11, 0.02) 82%,
    rgba(2, 6, 11, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 18%,
    rgba(0,0,0,.86) 40%,
    rgba(0,0,0,.48) 62%,
    rgba(0,0,0,.14) 84%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 18%,
    rgba(0,0,0,.86) 40%,
    rgba(0,0,0,.48) 62%,
    rgba(0,0,0,.14) 84%,
    transparent 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.footer-location,
.footer-tagline {
  position: absolute;
  bottom: 16px;
  color: #a69d97;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.18em;
  white-space: nowrap;
  pointer-events: auto;
}

.footer-location { left: 4.6vw; }
.footer-tagline { right: 4.6vw; text-decoration: none; transition: color 180ms ease, letter-spacing 180ms ease; }
.footer-tagline:hover { color: #c9c1bb; letter-spacing: 0.20em; }
.footer-tagline:focus-visible { outline: 1px solid rgba(216, 208, 201, 0.55); outline-offset: 5px; }

.footer-cue {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  color: #aaa19a;
  opacity: 0.5;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.22em;
  white-space: nowrap;
  pointer-events: auto;
  isolation: isolate;
}


.footer-cue-arrow {
  position: relative;
  display: block;
  width: 1px;
  height: 30px;
  background: rgba(201, 193, 187, 0.70);
}

.footer-cue-arrow::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(201, 193, 187, 0.82);
  border-bottom: 1px solid rgba(201, 193, 187, 0.82);
}

.footer-cue-arrow.down::after {
  bottom: 2px;
  transform: rotate(45deg);
}

.footer-cue-arrow.up::after {
  top: 2px;
  transform: rotate(225deg);
}


.hero,
.placeholder {
  padding-bottom: 112px;
}

@media (max-width: 760px) {
  .site-footer {
    height: 58px !important;
  }

  .fixed-footer-line {
    left: 20px;
    right: 20px;
  }

  .site-footer::before {
    height: 96px;
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
  }

  .footer-location,
  .footer-tagline {
    bottom: 14px;
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .footer-location { left: 20px; }
  .footer-tagline { right: 20px; }

  .footer-cue {
    gap: 6px;
    padding-bottom: 2px;
    font-size: 8px;
    letter-spacing: 0.18em;
  }

  .footer-cue-arrow {
    height: 27px;
  }
}


/* ---------- WORK ---------- */

.work-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 126px 1.6vw 130px;
}

.work-intro {
  margin-left: 3.9vw;
  margin-bottom: 27px;
}

.work-intro h2 {
  margin: 18px 0 15px;
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: clamp(64px, 7.2vw, 112px);
  line-height: 0.90;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: #d7d4d1;
}

.work-kicker {
  color: rgba(225, 217, 211, 0.92);
  font-size: 14px;
  letter-spacing: 0.19em;
  line-height: 1.5;
}

.work-intro p {
  margin: 8px 0 0;
  color: #a59c96;
  font-size: 14px;
  line-height: 1.6;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 0 0.4vw;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(228, 224, 220, 0.11);
  background: rgba(2, 6, 11, 0.22);
  isolation: isolate;
  cursor: pointer;
}

.project-large {
  grid-column: span 3;
  min-height: clamp(300px, 24vw, 355px);
}

.project-small {
  grid-column: span 2;
  min-height: clamp(220px, 18vw, 275px);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 520ms cubic-bezier(.2,.7,.2,1), filter 520ms ease;
  filter: saturate(0.94) contrast(0.99) brightness(0.92);
}

.project-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.52) 33%,
      rgba(0,0,0,0.12) 70%,
      rgba(0,0,0,0.03) 100%
    ),
    linear-gradient(
      90deg,
      rgba(2,6,11,0.28) 0%,
      rgba(2,6,11,0) 60%
    );
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(232, 225, 219, 0);
  transition: border-color 360ms ease, box-shadow 360ms ease;
}

.project-card:focus-visible {
  outline: 1px solid rgba(239, 231, 225, 0.72);
  outline-offset: 3px;
}

.project-card:hover img {
  transform: scale(1.028);
  filter: saturate(0.98) contrast(1.02) brightness(0.98);
}

.project-card:hover .project-content h3 {
  color: #eee8e2;
}

.project-card:hover .project-content p {
  color: rgba(236, 229, 223, 0.91);
}

.project-card:hover::after {
  border-color: rgba(221, 209, 199, 0.30);
  box-shadow: inset 0 0 0 1px rgba(2,6,11,0.08);
}

.project-content {
  position: absolute;
  left: 32px;
  right: 28px;
  bottom: 24px;
  z-index: 3;
  color: #ddd7d2;
}

.project-small .project-content {
  left: 24px;
  right: 20px;
  bottom: 18px;
}

.project-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
  color: rgba(241, 237, 233, 0.96);
  font-size: 10px;
  letter-spacing: 0.20em;
}

.project-meta-line {
  width: 39px;
  height: 1px;
  background: rgba(241, 237, 233, 0.73);
}

.project-card h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.09em;
  color: #e0dad5;
  transition: color 300ms ease;
}

.project-small h3 {
  font-size: clamp(16px, 1.35vw, 20px);
}

.project-card p {
  margin: 0;
  color: rgba(227, 219, 212, 0.83);
  font-size: 10px;
  letter-spacing: 0.19em;
  line-height: 1.45;
  transition: color 300ms ease;
}

.project-action-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 17px;
}

.project-action {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(226, 216, 209, 0.86);
  border-radius: 50%;
  background: rgba(3,7,13,0.14);
  color: #eee8e2;
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.project-action:hover,
.project-card:hover .project-action {
  background: rgba(224, 214, 207, 0.11);
  border-color: rgba(239, 231, 225, 0.96);
  transform: scale(1.035);
}

.action-icon.play {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #eee8e2;
  margin-left: 2px;
}

.action-icon.hourglass {
  width: 12px;
  height: 17px;
  position: relative;
  border-left: 1px solid #eee8e2;
  border-right: 1px solid #eee8e2;
  opacity: 0.9;
}

.action-icon.hourglass::before,
.action-icon.hourglass::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  height: 1px;
  background: #eee8e2;
}

.action-icon.hourglass::before { top: 1px; }
.action-icon.hourglass::after { bottom: 1px; }

.action-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.20em;
  color: #e5dfda;
  white-space: nowrap;
}

.action-rule {
  width: 42px;
  height: 1px;
  background: rgba(227, 217, 211, 0.72);
}


.status-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  padding: 7px 12px 6px;
  border: 1px solid rgba(218, 199, 183, 0.72);
  border-radius: 999px;
  color: rgba(229, 215, 201, 0.94);
  background: rgba(3,7,13,0.20);
  font-size: 8px;
  letter-spacing: 0.19em;
}

.project-concept {
  color: rgba(218, 226, 219, 0.90);
  border-color: rgba(202, 219, 209, 0.58);
}

.track-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.track-row,
.compact-action {
  width: 100%;
  display: grid;
  grid-template-columns: 38px auto;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e2dcd7;
  font-size: 9px;
  letter-spacing: 0.10em;
  text-align: left;
  cursor: pointer;
}

.mini-play,
.youtube-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(230, 222, 216, 0.76);
  border-radius: 50%;
  font-size: 8px;
}

.youtube-icon {
  border-radius: 50%;
  font-size: 7px;
}


.track-row:hover,
.compact-action:hover {
  color: #f0ebe6;
}

.track-row:hover .mini-play,
.compact-action:hover .mini-play,
.compact-action:hover .youtube-icon {
  border-color: rgba(242, 234, 228, 0.96);
}

.compact-actions {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}

/* Work mobile */
@media (max-width: 900px) {
  .work-section {
    padding: 112px 20px 112px;
  }

  .work-intro {
    margin-left: 2px;
    margin-bottom: 24px;
  }

  .work-intro h2 {
    font-size: clamp(58px, 14vw, 88px);
  }

  .work-kicker {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .work-intro p {
    font-size: 13px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0;
  }

  .project-large,
  .project-small {
    grid-column: auto;
    min-height: 360px;
  }

  .project-small {
    min-height: 280px;
  }

  .project-content,
  .project-small .project-content {
    left: 22px;
    right: 18px;
    bottom: 20px;
  }

  .status-pill {
    right: 14px;
    top: 14px;
  }
}


/* ---------- WORK DESKTOP WIDTH CONTROL ---------- */

@media (min-width: 901px) {
  .work-intro,
  .work-grid {
    width: min(1120px, calc(100vw - 80px));
    margin-left: auto;
    margin-right: auto;
  }

  .work-intro {
    padding-left: 36px;
    padding-right: 36px;
  }
}


/* Per-project image framing for the supplied source images */
[data-project="wisdome-immersive"] img,
[data-project="wisdome-sonic-branding"] img {
  object-position: center center;
}

[data-project="future-games"] img {
  object-position: center center;
}

[data-project="volvo-rise"] img {
  object-position: center center;
}

[data-project="elvings"] img {
  object-position: center center;
}

[data-project="klubbkoren"] img {
  object-position: center center;
}

[data-project="film-sound"] img {
  object-position: center center;
}


/* Future Games: the supplied artwork already contains the project title/logo.
   Treat the image as the title artwork and avoid duplicated overlaid typography. */
.project-title-art h3 {
  display: none;
}

.project-title-art .project-content {
  bottom: 22px;
}

.project-title-art .project-content p {
  margin-top: 2px;
}

.project-title-art img {
  object-position: center center;
}

@media (max-width: 900px) {
  .project-title-art .project-content {
    bottom: 20px;
  }
}


/* Wisdome Sonic Branding: the supplied image already contains its title/logo. */
[data-project="wisdome-sonic-branding"] .embedded-title {
  display: none;
}


/* Wisdome Sonic Branding: upcoming project. Keep the card clean; on hover
   soften the artwork and reveal a centered COMING SOON message. */
.project-progress {
  cursor: default;
}

.project-progress img {
  transition: transform 520ms cubic-bezier(.2,.7,.2,1), filter 420ms ease;
}

.project-progress .project-shade {
  transition: background 420ms ease;
}

.project-coming-soon {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 500;
  letter-spacing: 0.20em;
  color: rgba(245, 239, 233, 0.98);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms ease, transform 360ms ease;
  pointer-events: none;
}

.project-progress:hover img {
  transform: scale(1.035);
  filter: saturate(0.72) contrast(1.00) brightness(0.74) blur(3px);
}

.project-progress:hover .project-shade {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(90deg, rgba(2,6,11,0.20) 0%, rgba(2,6,11,0.20) 100%);
}

.project-progress:hover .project-coming-soon {
  opacity: 1;
  transform: translateY(0);
}

.project-progress:hover .project-content {
  color: #eee8e2;
}

.project-progress:hover .project-content p {
  color: rgba(236, 229, 223, 0.78);
}


/* Klubbkören: the supplied image already contains the project title/logo. */
[data-project="klubbkoren"] .embedded-title {
  display: none;
}


/* Cleaner track rows: no duration/separator columns. */
.track-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compact-action {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compact-action::after {
  content: "";
  flex: 1;
}


/* ---------- ABOUT ---------- */
/* Portrait integrated into the existing HOME/WORK visual system. */

.about-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  box-sizing: border-box;
  overflow: hidden;
  padding: 132px 4.9vw 126px;
}

.about-heading {
  position: relative;
  z-index: 5;
  width: min(1120px, calc(100vw - 80px));
  margin-left: auto;
  margin-right: auto;
}



.about-heading h2 {
  margin: 18px 0 0;
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: clamp(58px, 6.7vw, 102px);
  line-height: 0.90;
  font-weight: 300;
  letter-spacing: 0.10em;
  color: #d9dde1;
}

/* Portrait/studio image — deliberately larger than its visible zone and
   softly masked so it dissolves into the same dark waveform field instead
   of reading as a rectangular photograph. */
.about-layout {
  position: relative;
  width: min(1120px, calc(100vw - 80px));
  min-height: 720px;
  margin: 16px auto 0;
}

.about-portrait-stage {
  position: absolute;
  left: -34px;
  top: -68px;
  width: 54%;
  height: 760px;
  pointer-events: none;
  background: transparent;
  overflow: visible;
}

.about-portrait {
  position: absolute;
  left: -3%;
  top: -18px;
  width: 79.2%;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0.98;
  filter: saturate(0.76) contrast(0.88) brightness(1.00) hue-rotate(2deg);
  /* The PNG already carries a soft alpha fade on all four edges.
     Keeping the CSS mask off preserves that fade consistently in local
     file:// previews and in normal hosted browsers. */
  -webkit-mask-image: none;
  mask-image: none;
}

.about-copy {
  position: absolute;
  z-index: 6;
  top: 288px;
  left: calc(51.2% - 45px);
  width: min(430px, 37vw);
  margin: 0;
  padding: 0;
}

/* Invisible contrast field: a very soft dark lift behind the copy.
   It fades away before reaching the edges so the text still feels embedded
   in the moving waveform rather than sitting on a panel. */
.about-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -185px;
  right: -205px;
  top: -145px;
  bottom: -235px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 34% 72%,
      rgba(3, 8, 14, 0.16) 0%,
      rgba(3, 8, 14, 0.07) 32%,
      rgba(3, 8, 14, 0.00) 64%),
    radial-gradient(ellipse at center,
      rgba(3, 8, 14, 0.54) 0%,
      rgba(3, 8, 14, 0.33) 36%,
      rgba(3, 8, 14, 0.12) 63%,
      rgba(3, 8, 14, 0.022) 84%,
      rgba(3, 8, 14, 0.00) 100%);
  filter: blur(34px);
  opacity: 0.90;
}

.about-copy p {
  margin: 0 0 27px;
  max-width: 430px;
  font-family: "DM Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.74;
  font-weight: 400;
  color: #b5ada7;
  /* Tight, local contrast aid: stronger at the letter edge, with no visible halo. */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.82),
    0 0 1px rgba(0, 0, 0, 0.68);
}

.about-copy-break {
  display: block;
}

.about-copy p + p {
  margin-top: 29px;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-width: 294px;
  margin-top: 18px;
  padding: 16px 20px 16px 23px;
  border: 1px solid rgba(216, 208, 201, 0.76);
  color: #d7d0ca;
  font-family: "DM Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.20em;
  background: transparent;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.52);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.about-cta-arrow {
  font-size: 23px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 220ms ease;
}

.about-cta:hover {
  background: rgba(224, 214, 207, 0.06);
  border-color: rgba(239, 231, 225, 0.90);
  transform: translateY(-1px);
}

.about-cta:hover .about-cta-arrow {
  transform: translate(4px, -1px);
}


/* Refined medium-width ABOUT layout: keep the desktop composition but give the
   portrait and copy more breathing room at narrower desktop/tablet widths. */
@media (max-width: 1000px) and (min-width: 901px) {
  .about-portrait-stage {
    left: -18px;
    top: -96px;
    width: 50%;
    height: 730px;
  }

  .about-copy {
    left: calc(50.2% - 18px);
    top: 274px;
    width: min(400px, 37vw);
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .about-copy {
    left: 53.5%;
    width: 36vw;
    top: 303px;
  }

  .about-portrait-stage {
    width: 53%;
  }
}

@media (max-width: 900px) {
  .about-section {
    min-height: auto;
    padding: 112px 20px 104px;
  }

  .about-heading {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .about-heading h2 {
    font-size: clamp(54px, 14vw, 88px);
    letter-spacing: 0.07em;
  }

  .about-heading-line {
    margin-top: 14px;
  }

  .about-layout {
    width: 100%;
    min-height: 0;
    margin: 18px 0 0;
    display: flex;
    flex-direction: column;
  }

  .about-portrait-stage {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 72vw;
    max-height: 540px;
  }

  .about-portrait {
    left: 0;
    top: -2vw;
    width: min(90%, 620px);
    max-width: none;
  }

  .about-copy {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-top: 18px;
  }

  .about-copy p {
    font-size: 14px;
    line-height: 1.68;
  }

  .about-copy-break {
    display: none;
  }

  .about-cta {
    min-width: 0;
    margin-top: 13px;
  }
}


.about-heading-line {
  display: block;
  width: 58px;
  height: 1px;
  margin-top: 18px;
  background: rgba(216, 208, 201, 0.72);
}

/* Keep the portrait and copy visually locked together at medium desktop widths. */
@media (max-width: 1100px) and (min-width: 901px) {
  .about-portrait-stage {
    top: -72px;
  }

  .about-copy {
    top: 265px;
  }
}

/* ABOUT fine-tuning: keep fullscreen placement, but bring the copy
   noticeably closer and higher at narrower desktop widths. */
.about-copy {
  top: 145px;
  left: calc(46.2% - 75px);
}

@media (max-width: 1200px) and (min-width: 901px) {
  .about-copy {
    top: 130px;
    left: calc(47.2% - 65px);
  }
}

@media (max-width: 1000px) and (min-width: 901px) {
  .about-copy {
    top: 100px;
    left: calc(46% - 85px);
  }
}

/* ---------- FUTURE GAMES PROJECT MODAL ---------- */
.futuregames-dialog {
  width: min(980px, 92vw);
}

.filmsound-dialog {
  width: min(980px, 92vw);
}

.volvo-rise-dialog {
  width: min(980px, 92vw);
}

.futuregames-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(221, 214, 208, 0.19);
  background: #02050a;
  box-shadow: inset 0 0 55px rgba(0,0,0,.14), 0 28px 80px rgba(0,0,0,.30);
}

.futuregames-video-frame iframe,
.futuregames-video-frame .project-local-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.futuregames-video-frame .project-local-video {
  object-fit: contain;
  background: #02050a;
}

/* ---------- KLUBBKÖREN PROJECT MODAL ---------- */
.klubbkoren-dialog {
  width: min(980px, 92vw);
}

.klubbkoren-dialog .project-dialog-head {
  margin-bottom: 24px;
}

.klubbkoren-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(221, 214, 208, 0.19);
  background: #02050a;
  box-shadow: inset 0 0 55px rgba(0,0,0,.14), 0 28px 80px rgba(0,0,0,.30);
}

.klubbkoren-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- WISDOME IMMERSIVE PROJECT MODAL ---------- */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 34px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.project-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 9, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.project-dialog {
  position: relative;
  z-index: 2;
  width: min(880px, 92vw);
  max-height: min(760px, calc(100vh - 68px));
  overflow: auto;
  padding: 34px 38px 38px;
  border: 1px solid rgba(221, 214, 208, 0.23);
  background: rgba(4, 9, 15, 0.83);
  box-shadow: 0 34px 100px rgba(0,0,0,.60), inset 0 0 60px rgba(0,0,0,.13);
}

.project-close {
  display: block;
  margin: 0 0 34px auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e2ddd8;
  font-size: 10px;
  letter-spacing: .20em;
  cursor: pointer;
}

.project-close:hover { opacity: .70; }

.project-dialog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(216,208,201,.16);
}

.project-dialog-head h3 {
  margin: 0 0 8px;
  color: #e0dad5;
  font-size: clamp(25px, 3.2vw, 40px);
  font-weight: 300;
  letter-spacing: .075em;
}

.project-dialog-head p {
  margin: 0;
  color: rgba(227,219,212,.78);
  font-size: 10px;
  letter-spacing: .19em;
}

.project-dialog-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  color: rgba(198,190,183,.70);
  font-size: 11px;
  letter-spacing: .13em;
  text-align: right;
  white-space: nowrap;
}

.project-dialog-intro {
  width: min(660px, 100%);
  margin: 25px 0 28px;
  color: #cfc7c1;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
  text-shadow: 0 1px 3px rgba(0,0,0,.46);
}

.project-dialog-intro p { margin: 0; }

.wisdome-track-list {
  display: grid;
  gap: 8px;
}

.wisdome-track {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(228,220,214,.18);
  background: rgba(3,8,14,.28);
  color: #e2dcd7;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.wisdome-track:hover,
.wisdome-track.is-selected {
  background: rgba(3,8,14,.48);
  border-color: rgba(232,223,216,.40);
  transform: translateY(-1px);
}

.wisdome-track-play {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226,216,209,.78);
  border-radius: 50%;
  font-size: 10px;
  padding-left: 2px;
}

.wisdome-track-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wisdome-track-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .21em;
}

.wisdome-track-subtitle {
  color: rgba(198,190,183,.72);
  font-size: 9px;
  letter-spacing: .14em;
}

.wisdome-track-duration {
  color: rgba(199,191,184,.70);
  font-size: 9px;
  letter-spacing: .12em;
}

.wisdome-player {
  margin-top: 25px;
  padding-top: 19px;
  border-top: 1px solid rgba(216,208,201,.16);
}

.wisdome-player-top {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 14px;
}

.wisdome-now-label {
  color: rgba(196,188,181,.62);
  font-size: 8px;
  letter-spacing: .19em;
}

.wisdome-now-title {
  color: #ddd6d0;
  font-size: 9px;
  letter-spacing: .18em;
}

.wisdome-player-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 15px;
  align-items: center;
}

.wisdome-main-play {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226,216,209,.82);
  border-radius: 50%;
  background: rgba(3,7,13,.20);
  color: #eee8e2;
  cursor: pointer;
}

.wisdome-main-play:hover:not(:disabled) {
  background: rgba(224,214,207,.08);
}

.wisdome-main-play:disabled {
  opacity: .35;
  cursor: default;
}

.wisdome-progress-track {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: linear-gradient(to right, rgba(229,223,217,.82) 0 var(--seek-progress, 0%), rgba(220,214,208,.20) var(--seek-progress, 0%) 100%) center / 100% 1px no-repeat;
  cursor: pointer;
}

.wisdome-progress-track::-webkit-slider-runnable-track {
  height: 1px;
  background: transparent;
}

.wisdome-progress-track::-moz-range-track {
  height: 1px;
  background: transparent;
}

.wisdome-progress-track::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  margin-top: -3.5px;
  border: 1px solid rgba(229,223,217,.88);
  border-radius: 50%;
  background: rgba(4,9,15,.96);
}

.wisdome-progress-track::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(229,223,217,.88);
  border-radius: 50%;
  background: rgba(4,9,15,.96);
}

.wisdome-progress-track:focus-visible {
  outline: none;
}

.wisdome-progress-track:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(229,223,217,.12);
}

.wisdome-progress-track:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(229,223,217,.12);
}

.wisdome-time-row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: rgba(196,188,181,.58);
  font-size: 8px;
  letter-spacing: .11em;
}

@media (max-width: 760px) {
  .project-modal { padding: 18px; }
  .project-dialog { width: 100%; max-height: calc(100vh - 36px); padding: 25px 22px 26px; }
  .project-dialog-head { flex-direction: column; align-items: flex-start; gap: 15px; }
  .project-dialog-meta { align-items: flex-start; text-align: left; white-space: normal; }
  .project-dialog-intro { font-size: 14px; }
  .wisdome-track { grid-template-columns: 42px 1fr auto; gap: 13px; padding-right: 12px; }
}

/* ---------- DISCREET EXTERNAL PROJECT LINKS ---------- */
.project-external-links {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(216,208,201,.10);
}

.project-links-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(198,190,183,.48);
  font-size: 9px;
  letter-spacing: .18em;
}

.project-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.project-external-links a {
  color: rgba(226,220,215,.68);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: .10em;
  transition: color 180ms ease, opacity 180ms ease;
}

.project-external-links a span {
  display: inline-block;
  margin-left: 3px;
  transition: transform 180ms ease;
}

.project-external-links a:hover,
.project-external-links a:focus-visible {
  color: rgba(240,235,231,.95);
}

.project-external-links a:hover span,
.project-external-links a:focus-visible span {
  transform: translate(1px, -1px);
}

.wisdome-external-links {
  margin-top: 20px;
}

.wisdome-external-links a {
  font-size: 10px;
  letter-spacing: .13em;
}

@media (max-width: 620px) {
  .project-links-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
}

/* ---------- ELVINGS SPELMANSKAPELL PROJECT MODAL ---------- */
.elvings-dialog {
  width: min(880px, 92vw);
}

.elvings-track-list {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.elvings-track .wisdome-track-copy {
  gap: 0;
}

.elvings-track .wisdome-track-title {
  letter-spacing: .15em;
}

.elvings-player {
  margin-top: 25px;
}

.elvings-external-links {
  margin-top: 22px;
}

/* ABOUT responsive lock: keep portrait and copy visually connected as the viewport narrows. */
@media (max-width: 1200px) and (min-width: 901px) {
  .about-portrait-stage {
    left: -24px;
    top: clamp(-88px, -8vw, -72px);
    width: 53%;
  }

  .about-copy {
    left: 47.3%;
    top: clamp(170px, 19vw, 210px);
    width: min(395px, 36vw);
  }
}

/* ABOUT responsive fine-tuning: move the copy upward and inward more
   aggressively as the desktop viewport narrows, keeping its relationship
   with the portrait instead of letting it drift downward. */
@media (max-width: 1100px) and (min-width: 901px) {
  .about-copy {
    top: clamp(155px, calc(23vw - 53px), 200px);
    left: clamp(44.5%, calc(2.26vw + 24.13%), 49%);
  }
}

/* ABOUT responsive refinement v72: move the copy upward and inward more
   decisively as the desktop viewport narrows, while keeping fullscreen intact. */
@media (max-width: 1200px) and (min-width: 901px) {
  .about-copy {
    /* Move the copy much more aggressively upward as the desktop viewport narrows,
       keeping it visually centered against the portrait. */
    top: clamp(12px, calc(18vw - 160px), 70px);
    left: clamp(42%, calc(2.5vw + 19.5%), 46.5%);
  }
}
