@charset "UTF-8";

.kvist {
  --ivory: #efede7;
  --paper: #f8f6f1;
  --ink: #171714;
  --muted: #6d6961;
  --line: rgba(23, 23, 20, 0.16);
  --sand: #c8b8a2;
  --clay: #a56f4f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter Tight", Arial, sans-serif;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
}

.kvist ::selection {
  background: var(--ink);
  color: var(--paper);
}

.kvist a {
  text-underline-offset: 3px;
}

.kvist-container {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}

.kvist-kicker {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kvist-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(239, 237, 231, 0.9);
  backdrop-filter: blur(16px);
}

.kvist-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 88px;
}

.kvist-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.kvist-brand strong {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.26em;
}

.kvist-brand span {
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kvist-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.2vw, 40px);
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kvist-nav a {
  color: var(--muted);
  text-decoration: none;
}

.kvist-nav a:hover {
  color: var(--ink);
}

.kvist-header__cta {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.kvist-hero {
  padding: clamp(52px, 7vw, 96px) 0 clamp(52px, 7vw, 88px);
}

.kvist-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
  align-items: end;
  gap: clamp(36px, 7vw, 100px);
}

.kvist-hero h1 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.8rem, 10vw, 10.5rem);
  font-weight: 300;
  line-height: 0.76;
  letter-spacing: -0.055em;
}

.kvist-hero h1 em {
  color: var(--clay);
  font-weight: 300;
}

.kvist-hero__copy {
  padding-bottom: 12px;
}

.kvist-hero__copy p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.kvist-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.kvist-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.kvist-hero__link::before {
  width: 34px;
  height: 1px;
  background: var(--ink);
  content: "";
}

.kvist-hero__visual {
  position: relative;
  min-height: clamp(350px, 44vw, 560px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 246, 241, 0.5), transparent 40%),
    #d5cabb;
}

.kvist-hero__visual::before {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: 74%;
  height: 66%;
  background: #b9a793;
  content: "";
  transform: skewY(-5deg);
}

.kvist-hero__visual::after {
  position: absolute;
  top: 12%;
  left: 10%;
  width: 38%;
  aspect-ratio: 0.62;
  border: 1px solid rgba(23, 23, 20, 0.48);
  background: rgba(248, 246, 241, 0.3);
  box-shadow: 28px 28px 0 rgba(23, 23, 20, 0.1);
  content: "";
}

.kvist-hero__visual--banner {
  min-height: clamp(260px, 30vw, 420px);
  margin-bottom: clamp(40px, 5vw, 84px);
}

.kvist-hero__visual__inner {
  position: relative;
  height: 100%;
  min-height: inherit;
}

.kvist-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.kvist-hero__visual--photo::before {
  display: none;
}

.kvist-hero__visual--photo::after {
  inset: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  border: 0;
  background: linear-gradient(180deg, rgba(23, 23, 20, 0.02) 32%, rgba(23, 23, 20, 0.42) 100%);
  box-shadow: none;
  transform: none;
}

.kvist-hero__visual span {
  position: absolute;
  right: 9%;
  bottom: 10%;
  z-index: 2;
  color: rgba(248, 246, 241, 0.9);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-style: italic;
  line-height: 0.86;
}

.kvist-section {
  padding: clamp(70px, 9vw, 120px) 0;
}

.kvist-section--paper {
  background: var(--paper);
}

.kvist-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 44px;
}

.kvist-section__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.6vw, 5.8rem);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.kvist-section__head h2 em {
  color: var(--clay);
  font-weight: 300;
}

.kvist-section__head p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.kvist-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.kvist-filter {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kvist-filter:hover,
.kvist-filter.is-active {
  border-color: var(--ink);
  color: var(--ink);
}

.kvist-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.kvist-project {
  display: block;
  color: inherit;
  text-decoration: none;
}

.kvist-project__visual {
  position: relative;
  aspect-ratio: 1.34;
  overflow: hidden;
  background: #d3c8b9;
}

.kvist-project__visual::before,
.kvist-project__visual::after {
  position: absolute;
  content: "";
}

.kvist-project__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.kvist-project:hover .kvist-project__photo {
  transform: scale(1.035);
}

.kvist-project__visual--photo::before {
  display: none;
}

.kvist-project__visual--photo::after {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  background: linear-gradient(180deg, rgba(23, 23, 20, 0.04) 38%, rgba(23, 23, 20, 0.3) 100%);
  box-shadow: none;
  transform: none;
}

.kvist-project__visual--villa::before {
  right: 12%;
  bottom: 0;
  width: 52%;
  height: 62%;
  background: #8f7d68;
}

.kvist-project__visual--villa::after {
  top: 12%;
  left: 12%;
  width: 34%;
  height: 44%;
  border: 1px solid rgba(248, 246, 241, 0.8);
}

.kvist-project__visual--paviljong {
  background: #d9d4c9;
}

.kvist-project__visual--paviljong::before {
  right: 0;
  bottom: 18%;
  left: 0;
  height: 22%;
  background: #b48d68;
  transform: skewY(-3deg);
}

.kvist-project__visual--paviljong::after {
  top: 18%;
  left: 28%;
  width: 44%;
  height: 42%;
  border: 1px solid rgba(23, 23, 20, 0.35);
  background: rgba(248, 246, 241, 0.3);
  box-shadow: 18px 18px 0 rgba(23, 23, 20, 0.08);
}

.kvist-project__visual--skola {
  background: #c7c0b1;
}

.kvist-project__visual--skola::before {
  top: 16%;
  right: 10%;
  width: 58%;
  height: 64%;
  background:
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(248, 246, 241, 0.6) 24px 26px),
    #857c6f;
}

.kvist-project__visual--skola::after {
  bottom: 16%;
  left: 8%;
  width: 24%;
  height: 44%;
  background: #a56f4f;
}

.kvist-project__visual--utstallning {
  background: #d7cbbd;
}

.kvist-project__visual--utstallning::before {
  top: 18%;
  left: 18%;
  width: 54%;
  height: 54%;
  border: 1px solid rgba(248, 246, 241, 0.7);
  background: rgba(23, 23, 20, 0.16);
  transform: rotate(-8deg);
}

.kvist-project__visual--utstallning::after {
  right: 14%;
  bottom: 12%;
  width: 30%;
  height: 34%;
  background: #f1e9dd;
}

.kvist-project__number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  color: rgba(248, 246, 241, 0.8);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.kvist-project__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}

.kvist-project h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.kvist-project__meta span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kvist-practice {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(34px, 7vw, 90px);
}

.kvist-practice h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.8vw, 6rem);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.kvist-practice h2 em {
  color: var(--clay);
  font-weight: 300;
}

.kvist-practice__intro {
  max-width: 40ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.kvist-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.kvist-principle {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.kvist-principle span {
  color: var(--clay);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.kvist-principle h3 {
  margin: 20px 0 8px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

.kvist-principle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.kvist-studio {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 90px);
  padding: clamp(32px, 5vw, 64px);
  background: var(--ink);
  color: var(--paper);
}

.kvist-studio .kvist-kicker {
  color: rgba(248, 246, 241, 0.55);
}

.kvist-studio h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.kvist-studio h2 em {
  color: #cdb28f;
  font-weight: 300;
}

.kvist-studio__copy p {
  max-width: 45ch;
  margin: 0 0 18px;
  color: rgba(248, 246, 241, 0.7);
  font-size: 0.94rem;
  line-height: 1.75;
}

.kvist-studio__copy p:last-of-type {
  margin-bottom: 0;
}

.kvist-studio__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(248, 246, 241, 0.22);
  color: rgba(248, 246, 241, 0.56);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kvist-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 7vw, 90px);
}

.kvist-contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.8vw, 6rem);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.kvist-contact h2 em {
  color: var(--clay);
  font-weight: 300;
}

.kvist-contact__intro p {
  max-width: 38ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.kvist-form {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(248, 246, 241, 0.5);
}

.kvist-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.kvist-form__full {
  grid-column: 1 / -1;
}

.kvist-form .demo-field label {
  color: var(--muted);
}

.kvist-form .demo-field input,
.kvist-form .demo-field select,
.kvist-form .demo-field textarea {
  border-color: var(--line);
  border-radius: 0;
}

.kvist-form .demo-field input:focus,
.kvist-form .demo-field select:focus,
.kvist-form .demo-field textarea:focus {
  box-shadow: 0 0 0 3px rgba(23, 23, 20, 0.08);
}

.kvist-form .demo-btn {
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
}

.kvist-form .demo-btn:hover {
  background: var(--clay);
  border-color: var(--clay);
}

.kvist-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.kvist-form .demo-check {
  color: var(--muted);
}

.kvist-form .demo-form-note {
  color: var(--muted);
}

.kvist-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}

.kvist-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.kvist-footer strong {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
}

.kvist-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.kvist-footer nav a {
  color: var(--muted);
  text-decoration: none;
}

.kvist-footer__credit {
  color: var(--muted);
}

@media (max-width: 900px) {
  .kvist-hero__grid,
  .kvist-practice,
  .kvist-studio,
  .kvist-contact__grid {
    grid-template-columns: 1fr;
  }

  .kvist-hero__visual {
    min-height: 360px;
  }

  .kvist-projects {
    grid-template-columns: 1fr;
  }

  .kvist-principles {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .kvist-principle {
    padding: 18px 0;
  }
}

@media (max-width: 760px) {
  .kvist-container {
    width: min(100% - 32px, 1220px);
  }

  .kvist-header__inner {
    min-height: 72px;
  }

  .kvist-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 10px 16px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--ivory);
  }

  .kvist-nav.is-open {
    display: flex;
  }

  .kvist-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .kvist-header__cta {
    display: none;
  }

  .kvist-section__head {
    display: block;
  }

  .kvist-section__head p {
    margin-top: 20px;
  }

  .kvist-form__grid {
    grid-template-columns: 1fr;
  }

  .kvist-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .kvist-hero h1 {
    font-size: clamp(4rem, 19vw, 5.7rem);
  }

  .kvist-section__head h2,
  .kvist-practice h2,
  .kvist-studio h2,
  .kvist-contact h2 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .kvist-project__meta {
    display: block;
  }

  .kvist-project__meta span {
    display: block;
    margin-top: 6px;
  }
}

/* =========================================================
   Egen identitet på undersidorna: ritning, regel och tomrum
   ========================================================= */
.kvist .demo-bar {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.kvist .demo-bar__note {
  color: var(--muted);
}

.kvist .demo-bar__note strong {
  color: var(--ink);
}

.kvist .demo-bar a:hover {
  color: var(--clay);
}

.kvist .demo-page-hero {
  --hero-gap: clamp(28px, 4vw, 50px);
  display: flex;
  align-items: center;
  min-height: clamp(540px, 74vh, 780px);
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent calc(60% - 1px), rgba(23, 23, 20, 0.13) calc(60% - 1px), rgba(23, 23, 20, 0.13) 60%, transparent 60%),
    linear-gradient(180deg, rgba(23, 23, 20, 0.04), transparent 24%),
    var(--ivory);
  color: var(--ink);
}

.kvist .demo-page-hero::after {
  display: none;
}

.kvist .demo-page-hero::before {
  position: absolute;
  top: 50%;
  left: max(16px, calc((100vw - 1220px) / 2 - 28px));
  color: var(--muted);
  content: "KVIST / ARKITEKTUR / STOCKHOLM";
  font: 600 0.54rem/1 var(--sans);
  letter-spacing: 0.22em;
  opacity: 0.7;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
}

.kvist .demo-page-hero__media {
  position: absolute;
  top: var(--hero-gap);
  right: max(32px, calc((100vw - 1220px) / 2));
  bottom: auto;
  left: auto;
  width: min(36%, 430px);
  height: calc(100% - var(--hero-gap) - var(--hero-gap));
  border: 1px solid var(--ink);
  box-shadow:
    0 30px 60px rgba(23, 23, 20, 0.12),
    12px 12px 0 rgba(23, 23, 20, 0.06);
  filter: saturate(0.55) contrast(1.06);
  object-fit: cover;
  z-index: -1;
}

.kvist .demo-page-hero__inner {
  min-height: clamp(540px, 74vh, 780px);
  padding-top: clamp(58px, 8vw, 100px);
  padding-right: min(42%, 560px);
  padding-bottom: clamp(58px, 8vw, 100px);
}

.kvist .demo-crumbs {
  color: var(--muted);
}

.kvist .demo-crumbs a {
  color: var(--ink);
  border-bottom-color: rgba(23, 23, 20, 0.4);
}

.kvist .demo-crumbs a:hover {
  border-bottom-color: var(--clay);
}

.kvist .demo-page-hero h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 7.2vw, 7.6rem);
}

.kvist .demo-page-hero h1 em {
  color: var(--clay);
}

.kvist .demo-page-hero__lead {
  max-width: 46ch;
  color: var(--muted);
}

.kvist .demo-page-meta {
  border-top-color: var(--line);
  color: var(--muted);
}

.kvist .demo-page-section {
  border-top: 1px solid var(--line);
}

.kvist .demo-page-kicker {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
}

.kvist .demo-page-kicker::before {
  width: 1px;
  height: 18px;
  background: currentColor;
}

.kvist .demo-page-head {
  align-items: flex-start;
  padding-top: 18px;
  border-top: 1px solid var(--page-line);
}

.kvist .demo-page-head h2 {
  max-width: 13ch;
}

.kvist .demo-photo-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
}

.kvist .demo-photo-card::after {
  display: none;
}

.kvist .demo-photo-card__media {
  position: static;
  flex: none;
  width: 100%;
  height: auto;
  aspect-ratio: 1.18;
  filter: saturate(0.55);
  object-fit: cover;
  z-index: 0;
}

.kvist .demo-photo-card--wide .demo-photo-card__media {
  aspect-ratio: 1.7;
}

.kvist .demo-photo-card--narrow .demo-photo-card__media {
  aspect-ratio: 1.1;
}

.kvist .demo-photo-card__body {
  position: static;
  padding: 18px 16px 20px;
  border-top: 1px solid var(--line);
}

.kvist .demo-photo-card__eyebrow {
  color: var(--muted);
}

.kvist .demo-photo-card__title {
  color: var(--ink);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.kvist .demo-photo-card p {
  color: var(--muted);
}

.kvist .demo-photo-card:hover .demo-photo-card__media {
  filter: saturate(0.8);
  transform: scale(1.03);
}

.kvist .demo-page-cta {
  border: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ivory);
  box-shadow: 12px 12px 0 rgba(23, 23, 20, 0.08);
  color: var(--ink);
}

.kvist .demo-page-cta h2 em {
  color: var(--clay);
}

.kvist .demo-page-cta p {
  color: var(--muted);
  opacity: 1;
}

.kvist .demo-page-cta .demo-page-btn {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.kvist .demo-page-cta .demo-page-btn:hover {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--paper);
}

.kvist .demo-page-nav {
  border-top-color: var(--ink);
}

.kvist .demo-page-nav strong {
  font-size: 1.25rem;
}

.kvist .demo-page-form-wrap {
  border-color: var(--ink);
  background: transparent;
}

.kvist .demo-info-card {
  background: transparent;
}

@media (max-width: 900px) {
  .kvist .demo-page-hero {
    display: flex;
    flex-direction: column-reverse;
    min-height: 0;
    background: var(--ivory);
  }

  .kvist .demo-page-hero::before {
    display: none;
  }

  .kvist .demo-page-hero__media {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - 40px);
    height: clamp(240px, 52vw, 340px);
    margin: 28px auto 0;
    box-shadow: 8px 8px 0 rgba(23, 23, 20, 0.06);
    z-index: 0;
  }

  .kvist .demo-page-hero__inner {
    min-height: 0;
    padding-top: clamp(44px, 8vw, 72px);
    padding-right: 0;
    padding-bottom: clamp(44px, 8vw, 72px);
  }
}

/* ==========================================================================
   Kvist Arkitektur — ritningsark, index, marginaler och monograph
   ========================================================================== */

.kvist-sheet-mark {
  display: inline-block;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kvist-hero__title {
  position: relative;
}

.kvist-hero__coordinate {
  display: block;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kvist-hero__figure {
  position: absolute;
  top: 30px;
  left: max(32px, calc((100vw - 1220px) / 2));
  right: auto !important;
  bottom: auto !important;
  color: rgba(248, 246, 241, 0.72) !important;
  font-family: var(--sans) !important;
  font-size: 0.56rem !important;
  font-style: normal !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.kvist-hero__visual-link {
  position: absolute;
  right: max(32px, calc((100vw - 1220px) / 2));
  bottom: 28px;
  z-index: 2;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(248, 246, 241, 0.64);
  color: var(--paper);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.kvist-hero__visual-link:hover {
  color: var(--sand);
  border-bottom-color: var(--sand);
}

/* Projektindex — rader, inte kort */
.kvist-index-sheet {
  padding: clamp(68px, 9vw, 120px) 0;
  background: var(--paper);
}

.kvist-index-head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: clamp(26px, 5vw, 70px);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.kvist-index-head__num {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 2.8rem;
  font-style: italic;
  font-weight: 300;
  line-height: 0.8;
}

.kvist-index-head h2,
.kvist-practice-sheet__head h2,
.kvist-studio-sheet__copy h2,
.kvist-contact-head h2,
.kvist-archive-head h2,
.kvist-entry__body h2,
.kvist-studio-profile__body h2,
.kvist-process-sheet__head h2,
.kvist-studio-band__copy h2,
.kvist-doc-cta__inner h2,
.kvist-contact-process__head h2,
.kvist-inquiry__aside h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.6vw, 5.8rem);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.kvist-index-head h2 em,
.kvist-practice-sheet__head h2 em,
.kvist-studio-sheet__copy h2 em,
.kvist-contact-head h2 em,
.kvist-archive-head h2 em,
.kvist-entry__body h2 em,
.kvist-studio-profile__body h2 em,
.kvist-process-sheet__head h2 em,
.kvist-studio-band__copy h2 em,
.kvist-doc-cta__inner h2 em,
.kvist-contact-process__head h2 em,
.kvist-inquiry__aside h2 em {
  color: var(--clay);
  font-weight: 300;
}

.kvist-index-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.kvist-index-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.kvist-index-tools .kvist-filters {
  margin: 0;
}

.kvist-index-tools__count,
.kvist-archive-tools__note {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kvist-ledger {
  border-bottom: 1px solid var(--line);
}

.kvist-ledger__row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1.1fr) minmax(160px, 0.9fr) 132px 64px 24px;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.25s, padding 0.25s;
}

.kvist-ledger__row:first-child {
  border-top: 0;
}

.kvist-ledger__row:hover {
  padding-inline: 12px;
  background: rgba(200, 184, 162, 0.16);
}

.kvist-ledger__num {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 300;
}

.kvist-ledger__title {
  display: grid;
  gap: 3px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

.kvist-ledger__title small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.kvist-ledger__note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.kvist-ledger__thumb {
  position: relative;
  display: block;
  width: 132px;
  height: 82px;
  overflow: hidden;
  background: #d3c8b9;
}

.kvist-ledger__thumb img {
  width: 100%;
  height: 100%;
  filter: saturate(0.55);
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s;
}

.kvist-ledger__row:hover .kvist-ledger__thumb img {
  filter: saturate(0.88);
  transform: scale(1.04);
}

.kvist-ledger__year {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: right;
}

.kvist-ledger__arrow {
  color: var(--clay);
  font-size: 1.1rem;
  text-align: right;
}

.kvist-index-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
}

.kvist-index-foot > span {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kvist-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.kvist-text-link:hover {
  color: var(--clay);
}

.kvist-text-link--button {
  padding: 13px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.kvist-text-link--button:hover {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--paper);
}

.kvist-practice-sheet {
  padding: clamp(68px, 9vw, 122px) 0;
}

.kvist-practice-sheet__head {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: clamp(26px, 5vw, 70px);
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.kvist-practice-sheet__intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.kvist-principles--ruled {
  margin-top: clamp(40px, 6vw, 72px);
  gap: 0;
  border-top: 1px solid var(--line);
}

.kvist-principles--ruled .kvist-principle {
  padding: 22px 22px 26px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.kvist-principles--ruled .kvist-principle + .kvist-principle {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.kvist-practice__quote {
  max-width: 900px;
  margin: clamp(48px, 7vw, 84px) 0 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.kvist-practice__quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-style: italic;
  font-weight: 300;
  line-height: 0.95;
}

.kvist-practice__quote cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kvist-studio-sheet {
  padding: clamp(68px, 9vw, 122px) 0;
  background: var(--paper);
}

.kvist-studio-sheet__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(38px, 7vw, 96px);
}

.kvist-studio-sheet__visual {
  margin: 0;
  padding: 11px;
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(23, 23, 20, 0.07);
}

.kvist-studio-sheet__visual img {
  width: 100%;
  aspect-ratio: 1.2;
  filter: saturate(0.55);
  object-fit: cover;
}

.kvist-studio-sheet__visual figcaption {
  padding: 10px 2px 0;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.kvist-studio-sheet__copy > p {
  max-width: 48ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.kvist-contact-head {
  display: grid;
  grid-template-columns: 130px minmax(0, 0.95fr) minmax(270px, 0.55fr);
  align-items: end;
  gap: clamp(26px, 5vw, 70px);
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  margin-bottom: clamp(36px, 5vw, 54px);
}

.kvist-contact-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.kvist-contact-sheet {
  padding-top: 4px;
}

.kvist-contact-sheet__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.kvist-contact-sheet__row:first-child {
  border-top: 1px solid var(--ink);
}

.kvist-contact-sheet__row span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kvist-contact-sheet__row strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.05;
}

.kvist-contact-sheet__note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.66rem;
}

/* Dokumenthero för undersidorna */
.kvist-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: clamp(30px, 5vw, 54px);
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kvist-trail a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 23, 20, 0.35);
}

.kvist-trail a:hover {
  border-bottom-color: var(--clay);
}

.kvist-doc-hero {
  padding: clamp(36px, 5vw, 58px) 0 clamp(58px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.kvist-doc-hero__rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kvist-doc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(30px, 6vw, 90px);
  padding-top: clamp(36px, 6vw, 72px);
}

.kvist-doc-hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 9.4vw, 10rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.76;
}

.kvist-doc-hero h1 em {
  color: var(--clay);
  font-weight: 300;
}

.kvist-doc-hero__copy > p {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.kvist-doc-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kvist-doc-hero__strip {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.7fr;
  align-items: end;
  gap: 10px;
  margin-top: clamp(34px, 5vw, 54px);
}

.kvist-doc-hero__strip figure {
  margin: 0;
  overflow: hidden;
  background: #d3c8b9;
}

.kvist-doc-hero__strip figure:nth-child(1) {
  aspect-ratio: 1.82;
}

.kvist-doc-hero__strip figure:nth-child(2) {
  aspect-ratio: 1.12;
}

.kvist-doc-hero__strip figure:nth-child(3) {
  aspect-ratio: 0.88;
}

.kvist-doc-hero__strip img {
  width: 100%;
  height: 100%;
  filter: saturate(0.55);
  object-fit: cover;
}

.kvist-doc-hero__caption {
  position: absolute;
  right: 0;
  bottom: -26px;
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Projektarkiv — fyra stora uppslag */
.kvist-project-archive {
  padding: clamp(66px, 9vw, 120px) 0;
  background: var(--paper);
}

.kvist-archive-head {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: clamp(26px, 5vw, 70px);
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.kvist-archive-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.kvist-archive-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.kvist-archive-tools .kvist-filters {
  margin: 0;
}

.kvist-project-list {
  display: grid;
}

.kvist-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  padding: clamp(46px, 6vw, 76px) 0;
  border-bottom: 1px solid var(--line);
}

.kvist-entry--reverse .kvist-entry__visual {
  order: 2;
}

.kvist-entry__visual {
  margin: 0;
  padding: 11px;
  border: 1px solid var(--ink);
  background: var(--ivory);
  box-shadow: 12px 12px 0 rgba(23, 23, 20, 0.06);
}

.kvist-entry__visual img {
  width: 100%;
  aspect-ratio: 1.48;
  filter: saturate(0.55);
  object-fit: cover;
}

.kvist-entry__visual figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px 0;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.kvist-entry__visual figcaption span {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0;
}

.kvist-entry__type {
  color: var(--clay);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kvist-entry__body h2 {
  margin-top: 13px;
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
}

.kvist-entry__lead {
  max-width: 40ch;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-style: italic;
  line-height: 1.15;
}

.kvist-entry__body > p:not(.kvist-entry__lead) {
  max-width: 50ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.kvist-entry__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}

.kvist-entry__facts div {
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--line);
}

.kvist-entry__facts div:nth-child(2n) {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.kvist-entry__facts dt {
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.kvist-entry__facts dd {
  margin: 4px 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Studio och kontakt */
.kvist-studio-profile {
  padding: clamp(64px, 9vw, 118px) 0;
}

.kvist-studio-profile__grid {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(250px, 0.56fr);
  align-items: start;
  gap: clamp(26px, 5vw, 70px);
}

.kvist-studio-profile__side {
  display: grid;
  gap: 10px;
  padding-top: 8px;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.kvist-studio-profile__side strong {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.9;
}

.kvist-studio-profile__text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 44px);
  margin-top: 26px;
}

.kvist-studio-profile__text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.kvist-studio-profile__lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem) !important;
  font-style: italic;
  line-height: 1.2 !important;
}

.kvist-studio-profile__quote {
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.kvist-studio-profile__quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.kvist-studio-profile__quote cite {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kvist-studio-profile__visual {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--ink);
  transform: translateY(42px);
}

.kvist-studio-profile__visual img {
  width: 100%;
  aspect-ratio: 0.9;
  filter: saturate(0.5);
  object-fit: cover;
}

.kvist-studio-profile__visual figcaption {
  padding: 9px 2px 0;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kvist-process-sheet {
  padding: clamp(64px, 9vw, 118px) 0;
  background: var(--paper);
}

.kvist-process-sheet__head {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: clamp(26px, 5vw, 70px);
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.kvist-process-sheet__head > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.kvist-process-steps {
  margin: clamp(30px, 5vw, 46px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.kvist-process-steps li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 140px;
  align-items: baseline;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.kvist-process-steps__num {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 300;
}

.kvist-process-steps h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 400;
}

.kvist-process-steps p {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.kvist-process-steps__note {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-align: right;
  text-transform: uppercase;
}

.kvist-studio-band {
  padding: clamp(64px, 9vw, 118px) 0;
}

.kvist-studio-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
}

.kvist-studio-band__copy > p {
  max-width: 48ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.72;
}

.kvist-studio-band__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}

.kvist-studio-band__visual {
  margin: 0;
  padding: 11px;
  border: 1px solid var(--ink);
  box-shadow: -12px 12px 0 rgba(23, 23, 20, 0.07);
}

.kvist-studio-band__visual img {
  width: 100%;
  aspect-ratio: 1.32;
  filter: saturate(0.55);
  object-fit: cover;
}

.kvist-studio-band__visual figcaption {
  padding: 10px 2px 0;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Kontaktsidan som ett frågeformulär på ritpapper */
.kvist-contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  align-items: end;
  gap: clamp(30px, 6vw, 90px);
  padding-top: clamp(36px, 6vw, 72px);
}

.kvist-contact-hero__lead {
  max-width: 42ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.kvist-contact-hero__coordinates {
  display: grid;
  border-top: 1px solid var(--ink);
}

.kvist-contact-hero__coordinates div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.kvist-contact-hero__coordinates span {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kvist-contact-hero__coordinates strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  text-align: right;
}

.kvist-inquiry {
  padding: clamp(62px, 8vw, 110px) 0;
}

.kvist-inquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(34px, 7vw, 94px);
}

.kvist-inquiry__aside h2 {
  margin-top: 18px;
}

.kvist-inquiry__intro {
  max-width: 38ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.kvist-inquiry__list {
  margin: 30px 0 0;
  border-top: 1px solid var(--ink);
}

.kvist-inquiry__list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.kvist-inquiry__list dt {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kvist-inquiry__list dd {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.kvist-inquiry__foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kvist-inquiry__form-sheet {
  padding: clamp(22px, 3.4vw, 38px);
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 14px 14px 0 rgba(23, 23, 20, 0.06);
}

.kvist-inquiry__sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kvist-inquiry__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.kvist-inquiry__full {
  grid-column: 1 / -1;
}

.kvist-inquiry .demo-field label {
  color: var(--muted);
}

.kvist-inquiry .demo-field input,
.kvist-inquiry .demo-field select,
.kvist-inquiry .demo-field textarea {
  border-color: var(--line);
  border-radius: 0;
}

.kvist-inquiry .demo-field input:focus,
.kvist-inquiry .demo-field select:focus,
.kvist-inquiry .demo-field textarea:focus {
  box-shadow: 0 0 0 3px rgba(23, 23, 20, 0.08);
}

.kvist-inquiry .demo-check {
  color: var(--muted);
}

.kvist-inquiry .demo-form-note {
  color: var(--muted);
}

.kvist-inquiry__form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.kvist-inquiry__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: background-color 0.2s, border-color 0.2s;
}

.kvist-inquiry__submit:hover {
  border-color: var(--clay);
  background: var(--clay);
}

.kvist-contact-process {
  padding: clamp(62px, 8vw, 108px) 0;
  background: var(--paper);
}

.kvist-contact-process__head {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: clamp(26px, 5vw, 70px);
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.kvist-contact-process__head > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.kvist-contact-process__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.kvist-contact-process__steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 22px 22px 0 0;
  border-top: 0;
}

.kvist-contact-process__steps li + li {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.kvist-contact-process__steps > li > span {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
}

.kvist-contact-process__steps h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.kvist-contact-process__steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* Gemensam dokumentavslutning */
.kvist-doc-cta {
  padding: clamp(56px, 8vw, 94px) 0 38px;
  background: var(--ivory);
  border-top: 1px solid var(--ink);
}

.kvist-doc-cta__inner {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.kvist-doc-cta__inner p {
  max-width: 52ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.kvist-page-nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
}

.kvist-page-nav a {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  text-decoration: none;
}

.kvist-page-nav a:hover {
  color: var(--ink);
}

.kvist-page-nav span {
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kvist-page-nav strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.kvist-page-nav a:last-child {
  text-align: right;
}

@media (max-width: 1000px) {
  .kvist-index-head,
  .kvist-practice-sheet__head,
  .kvist-studio-sheet__grid,
  .kvist-contact-head,
  .kvist-doc-hero__grid,
  .kvist-archive-head,
  .kvist-entry,
  .kvist-studio-profile__grid,
  .kvist-process-sheet__head,
  .kvist-studio-band__grid,
  .kvist-contact-hero,
  .kvist-inquiry__grid,
  .kvist-contact-process__head {
    grid-template-columns: 1fr;
  }

  .kvist-index-head,
  .kvist-practice-sheet__head,
  .kvist-contact-head,
  .kvist-archive-head,
  .kvist-process-sheet__head,
  .kvist-contact-process__head {
    gap: 18px;
  }

  .kvist-index-head__num {
    font-size: 1.8rem;
  }

  .kvist-ledger__row {
    grid-template-columns: 45px minmax(0, 1fr) minmax(0, 0.7fr) 94px 40px 18px;
  }

  .kvist-ledger__thumb {
    width: 94px;
    height: 64px;
  }

  .kvist-entry--reverse .kvist-entry__visual {
    order: 0;
  }

  .kvist-entry {
    gap: 26px;
  }

  .kvist-studio-profile__visual {
    max-width: 420px;
    transform: none;
  }

  .kvist-studio-profile__side {
    grid-template-columns: repeat(4, auto);
    align-items: baseline;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .kvist-studio-profile__side .kvist-sheet-mark {
    grid-column: 1 / -1;
  }

  .kvist-studio-profile__text {
    margin-top: 22px;
  }

  .kvist-doc-cta__inner {
    grid-template-columns: 1fr auto;
  }

  .kvist-doc-cta__inner .kvist-sheet-mark {
    grid-column: 1 / -1;
  }

  .kvist-contact-process__steps {
    grid-template-columns: 1fr;
  }

  .kvist-contact-process__steps li {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }

  .kvist-contact-process__steps li + li {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .kvist-index-sheet,
  .kvist-practice-sheet,
  .kvist-studio-sheet,
  .kvist-contact,
  .kvist-project-archive,
  .kvist-studio-profile,
  .kvist-process-sheet,
  .kvist-studio-band,
  .kvist-inquiry,
  .kvist-contact-process {
    padding-block: 56px;
  }

  .kvist-doc-hero {
    padding-bottom: 62px;
  }

  .kvist-doc-hero__rule {
    flex-wrap: wrap;
    gap: 6px 18px;
  }

  .kvist-doc-hero__grid {
    padding-top: 34px;
  }

  .kvist-doc-hero h1 {
    font-size: clamp(3.4rem, 16vw, 5.6rem);
  }

  .kvist-doc-hero__strip {
    grid-template-columns: 1fr 1fr;
  }

  .kvist-doc-hero__strip figure:nth-child(3) {
    display: none;
  }

  .kvist-doc-hero__caption {
    bottom: -24px;
  }

  .kvist-index-tools,
  .kvist-archive-tools,
  .kvist-index-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .kvist-ledger__row {
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    gap: 10px;
    padding: 14px 0;
  }

  .kvist-ledger__note,
  .kvist-ledger__thumb,
  .kvist-ledger__year {
    display: none;
  }

  .kvist-ledger__title {
    font-size: 1.5rem;
  }

  .kvist-index-head,
  .kvist-practice-sheet__head,
  .kvist-contact-head,
  .kvist-archive-head,
  .kvist-process-sheet__head,
  .kvist-contact-process__head {
    grid-template-columns: 1fr;
  }

  .kvist-practice-sheet__head,
  .kvist-contact-head,
  .kvist-archive-head,
  .kvist-process-sheet__head,
  .kvist-contact-process__head {
    padding-top: 16px;
  }

  .kvist-principles--ruled .kvist-principle,
  .kvist-principles--ruled .kvist-principle + .kvist-principle {
    padding: 18px 0;
    border-left: 0;
  }

  .kvist-entry__visual {
    padding: 8px;
    box-shadow: 8px 8px 0 rgba(23, 23, 20, 0.06);
  }

  .kvist-entry__body h2 {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }

  .kvist-studio-profile__text {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kvist-studio-profile__side {
    grid-template-columns: auto 1fr;
  }

  .kvist-process-steps li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .kvist-process-steps__note {
    display: none;
  }

  .kvist-contact-hero {
    grid-template-columns: 1fr;
  }

  .kvist-contact-hero__coordinates {
    max-width: 460px;
  }

  .kvist-inquiry__form-grid {
    grid-template-columns: 1fr;
  }

  .kvist-inquiry__form-sheet {
    box-shadow: 8px 8px 0 rgba(23, 23, 20, 0.06);
  }

  .kvist-doc-cta__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .kvist-doc-cta__inner .kvist-sheet-mark {
    grid-column: auto;
  }

  .kvist-page-nav {
    flex-direction: column;
  }

  .kvist-page-nav a:last-child {
    text-align: left;
  }

  .kvist-inquiry__foot {
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .kvist-index-head h2,
  .kvist-practice-sheet__head h2,
  .kvist-studio-sheet__copy h2,
  .kvist-contact-head h2,
  .kvist-archive-head h2,
  .kvist-entry__body h2,
  .kvist-studio-profile__body h2,
  .kvist-process-sheet__head h2,
  .kvist-studio-band__copy h2,
  .kvist-doc-cta__inner h2,
  .kvist-contact-process__head h2,
  .kvist-inquiry__aside h2 {
    font-size: clamp(2.6rem, 13vw, 3.9rem);
  }

  .kvist-doc-hero__strip {
    grid-template-columns: 1fr;
  }

  .kvist-doc-hero__strip figure:nth-child(2) {
    display: none;
  }

  .kvist-contact-hero__coordinates div {
    display: grid;
    gap: 3px;
  }

  .kvist-contact-hero__coordinates strong {
    text-align: left;
  }

  .kvist-inquiry__list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .kvist-inquiry__form-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .kvist-inquiry__submit {
    width: 100%;
  }
}
/* ---------Kvist page-specific variants ------- */
.kvist--hem .kvist-header {
  background: rgba(239, 237, 231, 0.95);
  border-bottom: 1px solid rgba(23, 23, 20, 0.12);
}
.kvist--hem .kvist-nav a {
  color: var(--muted);
}
.kvist--hem .kvist-header__cta {
  border-bottom: 1px solid var(--ink);
}
.kvist--hem .kvist-footer {
  padding: 46px 0 30px;
  background: #efede7;
}
.kvist--hem .kvist-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}
.kvist--hem .kvist-footer nav {
  justify-self: end;
}

.kvist--projekt .kvist-header {
  background: rgba(248, 246, 241, 0.95);
  border-bottom: 1px solid rgba(23, 23, 20, 0.12);
}
.kvist--projekt .kvist-nav a {
  color: var(--muted);
}
.kvist--projekt .kvist-header__cta {
  border-bottom-color: var(--muted);
}
.kvist--projekt .kvist-footer {
  padding: 40px 0 28px;
  background: #f8f6f1;
}
.kvist--projekt .kvist-footer__inner {
  display: grid;
  grid-template-columns: minmax(200px, 0.6fr) minmax(300px, 1.4fr);
  gap: 28px;
}
.kvist--projekt .kvist-footer nav {
  grid-column: 1 / -1;
  justify-self: start;
}

.kvist--studio .kvist-header {
  background: rgba(23, 23, 20, 0.94);
  border-bottom: 1px solid rgba(248, 246, 241, 0.14);
  color: var(--paper);
}
.kvist--studio .kvist-brand,
.kvist--studio .kvist-nav a {
  color: rgba(248, 246, 241, 0.8);
}
.kvist--studio .kvist-nav a:hover {
  color: #fff;
}
.kvist--studio .kvist-header__cta {
  border-bottom-color: rgba(248, 246, 241, 0.6);
}
.kvist--studio .kvist-footer {
  padding: 42px 0 30px;
  background: #171714;
  color: var(--paper);
}
.kvist--studio .kvist-footer nav a,
.kvist--studio .kvist-footer__credit,
.kvist--studio .kvist-footer a {
  color: rgba(248, 246, 241, 0.78);
}

.kvist--kontakt .kvist-header {
  background: rgba(200, 184, 162, 0.92);
  border-bottom: 1px solid rgba(23, 23, 20, 0.12);
}
.kvist--kontakt .kvist-brand,
.kvist--kontakt .kvist-nav a {
  color: var(--ink);
}
.kvist--kontakt .kvist-header__cta {
  border-bottom-color: var(--ink);
}
.kvist--kontakt .kvist-footer {
  padding: 44px 0 30px;
  background: #c8b8a2;
  color: var(--ink);
}
.kvist--kontakt .kvist-footer nav a,
.kvist--kontakt .kvist-footer__credit,
.kvist--kontakt .kvist-footer a {
  color: rgba(23, 23, 20, 0.72);
}
.kvist--kontakt .kvist-footer nav a:hover {
  color: var(--ink);
}
/* Kvist gallery */
.kvist-gallery {
  padding: clamp(56px, 7vw, 110px) 0;
  background: #f3f0ea;
  border-top: 1px solid rgba(23, 23, 20, 0.12);
}
.kvist-gallery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.28fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
}
.kvist-gallery__stage {
  position: relative;
  margin: 0;
  padding: 12px 12px 18px;
  background: var(--paper);
  border: 1px solid rgba(23, 23, 20, 0.14);
  box-shadow: 16px 24px 0 rgba(23, 23, 20, 0.07), 0 30px 70px rgba(23, 23, 20, 0.08);
}
.kvist-gallery__stage img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.kvist-gallery__caption {
  margin: 12px 4px 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}
.kvist-gallery__thumbs {
  display: grid;
  gap: 8px;
}
.kvist-gallery__thumb {
  padding: 14px 16px;
  border: 1px solid rgba(23, 23, 20, 0.16);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-align: left;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.kvist-gallery__thumb span {
  margin-right: 8px;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
}
.kvist-gallery__thumb:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}
.kvist-gallery__thumb.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.kvist-gallery__thumb.is-active span {
  color: rgba(248, 246, 241, 0.7);
}

@media (max-width: 940px) {
  .kvist-gallery__grid {
    grid-template-columns: 1fr;
  }
}
.kvist-footer__meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.kvist--studio .kvist-footer__meta {
  color: rgba(248, 246, 241, 0.7);
}
.kvist--kontakt .kvist-footer__meta {
  color: rgba(23, 23, 20, 0.66);
}
/* ---------Kvist contact strip ------- */
.kvist-contact-strip {
  padding: clamp(60px, 8vw, 120px) 0;
  background: #f3f0ea;
  border-top: 1px solid rgba(23, 23, 20, 0.12);
}
.kvist-contact-strip__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.kvist-contact-strip__copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
}
.kvist-contact-strip__copy h2 em {
  color: var(--clay);
  font-style: italic;
}
.kvist-contact-strip__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.kvist-contact-strip__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.kvist-contact-strip__card {
  margin: 0;
  background: var(--paper);
  border: 1px solid rgba(23, 23, 20, 0.14);
  padding: 10px 10px 14px;
  box-shadow: 0 18px 44px rgba(23, 23, 20, 0.09);
}
.kvist-contact-strip__card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.kvist-contact-strip__card figcaption {
  margin: 10px 4px 0;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 940px) {
  .kvist-contact-strip__inner {
    grid-template-columns: 1fr;
  }
  .kvist-contact-strip__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .kvist-contact-strip__cards {
    grid-template-columns: 1fr;
  }
}
