@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f6f1e4;
  --card: #fffdf7;
  --panel: #eae4d2;
  --line: #d9d0ba;
  --ink: #1c3a2e;
  --ink-deep: #142a21;
  --ink-soft: #b9c6bc;
  --muted: #4b5f53;
  --brass: #b8892f;
  /* Brass dark enough for small text on paper. */
  --brass-deep: #80601f;
  --error: #b3261e;
  --rule: rgba(28, 58, 46, 0.18);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(20, 42, 33, 0.06),
    0 24px 48px -24px rgba(20, 42, 33, 0.32);
  --header-height: 84px;
  --section: clamp(64px, 9vw, 124px);
  --gap: clamp(32px, 6vw, 88px);
}

:root.is-scrolled {
  --header-height: 66px;
}

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

html {
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.nowrap {
  white-space: nowrap;
}

/* The screw head: the mark in the logo, in lists and as a full stop. */

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.screw {
  flex: none;
  width: 1em;
  height: 1em;
  color: var(--brass);
  --star: var(--paper);
}

.screw-star {
  fill: var(--star);
  stroke: var(--star);
  stroke-width: 7;
  stroke-linejoin: round;
}

/* Header */

.top-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 24px;
  pointer-events: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 241, 228, 0.86);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.is-scrolled .header {
  border-color: var(--line);
  box-shadow: 0 14px 30px -26px rgba(20, 42, 33, 0.6);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-height);
  transition: height 0.35s var(--ease);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.header .brand {
  margin-right: auto;
}

.brand .screw {
  width: 30px;
  height: 30px;
  transition: transform 0.8s var(--ease);
}

.brand:hover .screw {
  transform: rotate(120deg);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  font-weight: 500;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-current]::after {
  transform: scaleX(1);
}

.nav-extra {
  display: none;
}

.header-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: -10px;
  border-radius: 50%;
  transition: background 0.25s, color 0.25s;
}

.header-icon:hover {
  background: var(--ink);
  color: var(--paper);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone svg,
.call-card svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

.menu-button {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--rule);
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.menu-icon {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 1px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-icon::after {
  top: 9px;
}

.menu-open .menu-icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.menu-open .menu-icon::after {
  top: 5px;
  transform: rotate(-45deg);
}

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s,
    box-shadow 0.25s, transform 0.25s var(--ease);
}

.button:hover {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  box-shadow: 0 14px 24px -16px rgba(20, 42, 33, 0.8);
  transform: translateY(-2px);
}

.button:active {
  transform: none;
}

.button[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.button-outline {
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.button-paper {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink-deep);
}

.button-paper:hover {
  background: #fff;
  border-color: #fff;
}

.button-ghost {
  background: transparent;
  border-color: rgba(246, 241, 228, 0.4);
  color: var(--paper);
}

.button-ghost:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink-deep);
}

.button-small {
  min-height: 46px;
  padding: 0 22px;
  font-size: 0.95rem;
}

.button-wide {
  width: 100%;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1.5px solid currentColor;
  font-weight: 600;
  text-decoration: none;
}

.text-link::after {
  content: '→';
  transition: transform 0.25s var(--ease);
}

.text-link:hover::after {
  transform: translateX(5px);
}

/* Sections */

.section {
  padding: var(--section) 0;
}

.section-panel {
  background: var(--panel);
}

.section-top {
  padding-top: clamp(28px, 4.5vw, 64px);
}

/* Two neighbours on the same ground read as one stretch. */
.section-panel + .section-panel,
.section:not(.section-panel) + .section:not(.section-panel) {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-title,
.hero h1,
.page-head h1,
.closing-line {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
}

.section-lead {
  max-width: 34em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.125rem;
}

.lead {
  max-width: 33em;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
}

/* Hero */

.hero {
  padding-top: clamp(28px, 4.5vw, 64px);
  overflow-x: clip;
}

.hero-grid,
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: var(--gap);
}

.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: min(100%, 500px);
}

.rings {
  position: absolute;
  top: 50%;
}

.hero-visual .rings {
  z-index: -1;
  left: 50%;
  width: 150%;
  color: var(--line);
  transform: translate(-50%, -50%);
}

/* A photo under a round arch, as a window or door opening. */
.arch {
  position: relative;
  aspect-ratio: 1040 / 1230;
  overflow: hidden;
  border-radius: 50% 50% 20px 20px / 42.3% 42.3% 20px 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.slide.is-current {
  opacity: 1;
}

.slide figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 13px;
  border-radius: 999px;
  background: var(--card);
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.4s;
}

.slide figcaption::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
}

.slide.is-current figcaption {
  opacity: 1;
  transition-delay: 0.4s;
}

.slide-dots {
  position: absolute;
  right: 16px;
  bottom: 20px;
  display: none;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(20, 42, 33, 0.5);
  backdrop-filter: blur(6px);
}

.js .slide-dots {
  display: flex;
}

.slide-dots button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.slide-dots button::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.6);
  transition: width 0.3s var(--ease), background 0.3s;
}

.slide-dots button[aria-current]::before {
  width: 18px;
  background: var(--card);
}

.seal {
  position: absolute;
  top: 3%;
  left: -9%;
  width: clamp(104px, 30%, 150px);
  filter: drop-shadow(0 12px 18px rgba(20, 42, 33, 0.28));
}

.seal svg {
  width: 100%;
  height: auto;
}

.seal-disc {
  fill: var(--ink);
}

.seal-text {
  fill: var(--paper);
  font: 600 11.4px var(--sans);
  letter-spacing: 0.08em;
  transform-box: view-box;
  transform-origin: 80px 80px;
}

.seal-screw {
  color: var(--brass);
  --star: var(--ink);
}

.facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(40px, 6vw, 72px);
  margin-bottom: -52px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.facts li {
  display: flex;
  gap: 16px;
  padding: 26px 30px;
}

.facts li + li {
  border-left: 1px solid var(--line);
}

.facts .screw {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  --star: var(--card);
}

.facts p {
  color: var(--muted);
  font-size: 0.98rem;
}

.facts strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

/* Quote form */

.quote-section {
  padding-top: calc(var(--section) + 52px);
}

.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: var(--gap);
}

.quote-copy {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.steps {
  margin-top: 36px;
}

.steps li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 24px;
  font-weight: 500;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 38px;
  bottom: 2px;
  left: 17px;
  width: 1.5px;
  background: var(--rule);
}

.step-number,
.process-mark {
  display: grid;
  flex: none;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--card);
  font-family: var(--serif);
  font-weight: 600;
}

.step-number {
  width: 36px;
  height: 36px;
}

.call-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 12px 28px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.25s var(--ease);
}

.call-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.call-card svg {
  width: 46px;
  height: 46px;
  padding: 13px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
}

.call-card span {
  display: grid;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

.call-card strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
}

.quote-card {
  padding: clamp(22px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}

#quote {
  display: grid;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-row-wide {
  grid-template-columns: 1fr 150px;
}

.field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.field-label {
  font-size: 0.95rem;
  font-weight: 600;
}

.optional {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.field > input,
.field > textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.field > textarea {
  display: block;
  resize: vertical;
}

.field ::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.field > input:hover,
.field > textarea:hover {
  border-color: var(--ink-soft);
}

.field > input:focus-visible,
.field > textarea:focus-visible {
  border-color: var(--ink);
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(184, 137, 47, 0.3);
}

.field [aria-invalid='true'] {
  border-color: var(--error);
}

.error {
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 500;
}

.upload {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 22px 16px;
  border: 1.5px dashed rgba(28, 58, 46, 0.4);
  border-radius: 14px;
  background: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

/* The drop target is the label itself, whatever the pointer is over. */
.upload > * {
  pointer-events: none;
}

.upload:hover,
.upload.is-over {
  border-color: var(--ink);
  background: #fff;
}

.upload:focus-within {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

.upload svg {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.upload-title {
  font-weight: 600;
}

.upload-note {
  color: var(--muted);
  font-size: 0.875rem;
}

.files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 14px 12px;
  margin-top: 6px;
}

.files:empty {
  display: none;
}

.files li {
  position: relative;
  min-width: 0;
}

.file-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  object-fit: cover;
}

.file-name {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.files button {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0 0 2px;
  border: 2px solid var(--card);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.fineprint {
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.quote-done {
  padding: clamp(32px, 6vw, 72px) 8px;
  text-align: center;
}

.quote-done .screw {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  --star: var(--card);
}

.quote-done h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 560;
}

.quote-done p {
  max-width: 30em;
  margin: 12px auto 0;
  color: var(--muted);
}

/* Reviews */

.carousel-buttons {
  display: flex;
  gap: 10px;
}

.carousel-buttons button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.carousel-buttons button:hover {
  background: var(--ink);
  color: var(--paper);
}

.carousel-buttons button:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.carousel-buttons svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reviews {
  display: flex;
  gap: 20px;
  margin: -4px;
  padding: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review {
  display: flex;
  flex: 0 0 min(420px, 86%);
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  scroll-snap-align: start;
}

.review::before {
  content: '“';
  height: 34px;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 0.9;
}

.review blockquote {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
}

.review-by {
  display: grid;
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.review-by strong {
  color: var(--ink);
}

/* Instagram: a dark band of its own, so it never reads as part of the form
   above it. The posts run as tall cards in a row that scrolls sideways and
   reaches the right edge of the window; a card for the profile ends it. */

.insta-band {
  --gutter: clamp(20px, 4vw, 40px);
  --bleed: calc((100vw - min(100vw, 1240px)) / 2 + var(--gutter));
  position: relative;
  overflow: clip;
  padding: var(--section) 0;
  background:
    radial-gradient(56rem 34rem at 0% 0%, rgba(184, 137, 47, 0.16), transparent 62%),
    radial-gradient(40rem 30rem at 100% 100%, rgba(185, 198, 188, 0.08), transparent 60%),
    var(--ink-deep);
  color: var(--paper);
}

.insta-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: var(--gap);
}

.insta-handle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--brass);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.insta-handle:hover {
  color: #d4a548;
}

.ig {
  width: 20px;
  height: 20px;
  flex: none;
}

.insta-band .section-lead {
  color: var(--ink-soft);
}

.insta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
}

.insta-band .carousel-buttons button {
  border-color: rgba(246, 241, 228, 0.35);
  color: var(--paper);
}

.insta-band .carousel-buttons button:hover:not(:disabled) {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink-deep);
}

.insta-track {
  display: flex;
  gap: 16px;
  margin: -6px calc(-1 * var(--bleed)) -6px -6px;
  padding: 6px var(--bleed) 6px 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 6px var(--bleed);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.insta-track::-webkit-scrollbar {
  display: none;
}

.insta-card {
  flex: 0 0 clamp(232px, 22vw, 296px);
  scroll-snap-align: start;
}

.insta-card > a {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 22px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.insta-card > a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.insta-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.insta-card > a:hover .insta-photo {
  transform: scale(1.05);
}

.insta-caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 6px;
  padding: 72px 20px 20px;
  background: linear-gradient(transparent, rgba(10, 22, 17, 0.88));
}

.insta-caption time {
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insta-text {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.98rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.insta-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 22, 17, 0.55);
  backdrop-filter: blur(6px);
}

.insta-badge svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.insta-follow > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 22px;
  border: 1px solid rgba(246, 241, 228, 0.16);
  background: rgba(246, 241, 228, 0.05);
  text-align: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.insta-follow > a:hover {
  border-color: rgba(184, 137, 47, 0.6);
  background: rgba(246, 241, 228, 0.09);
}

.insta-avatar {
  width: 96px;
  height: 96px;
  margin-bottom: 8px;
  padding: 3px;
  border: 2px solid var(--brass);
  border-radius: 50%;
  object-fit: cover;
}

.insta-follow .screw {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  color: var(--brass);
  --star: var(--ink-deep);
}

.insta-follow strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
}

.insta-follow span {
  max-width: 14em;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.insta-follow .insta-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: 14px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-deep);
  font-size: 1.1rem;
  transition: transform 0.35s var(--ease), background 0.35s;
}

.insta-follow > a:hover .insta-arrow {
  background: var(--brass);
  transform: translateX(4px);
}

/* Work areas on the front page: three photo panels. With JavaScript and
   room for it, one is wide and open and the others wait as narrow doors. */

.panels {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 14px;
}

.panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: 540px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--ink-deep);
  color: var(--paper);
}

.panel > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 90%;
  background: linear-gradient(
    to top,
    rgba(20, 42, 33, 0.96) 0%,
    rgba(20, 42, 33, 0.86) 45%,
    rgba(20, 42, 33, 0) 100%
  );
}

.panel-open {
  display: none;
}

.panel-text {
  width: 100%;
  padding: 28px;
}

.panel h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.panel-more p {
  margin-top: 12px;
  color: rgba(246, 241, 228, 0.86);
}

.panel-more ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.panel-more li {
  border: 1px solid rgba(246, 241, 228, 0.4);
  border-radius: 999px;
  background: rgba(20, 42, 33, 0.4);
  font-size: 0.875rem;
  transition: background 0.25s, border-color 0.25s;
}

.panel-more li:hover {
  border-color: var(--paper);
  background: rgba(20, 42, 33, 0.7);
}

.panel-more li a {
  display: block;
  padding: 6px 13px;
  text-decoration: none;
}

.panel-more .text-link {
  margin-top: 24px;
}

@media (min-width: 1000px) {
  .js .panels {
    display: flex;
    height: clamp(440px, 64vh, 560px);
  }

  .js .panel {
    flex: 1 1 0;
    min-height: 0;
    transition: flex-grow 0.7s var(--ease);
  }

  /* The shade only reaches as far up as the text does. */
  .js .panel::after {
    height: 42%;
    transition: height 0.7s var(--ease);
  }

  .js .panel.is-open::after {
    height: 86%;
  }

  .js .panel.is-open {
    flex-grow: 2.7;
  }

  .js .panel-open {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    width: 100%;
    border: 0;
    border-radius: inherit;
    background: none;
    cursor: pointer;
  }

  .js .panel.is-open .panel-open {
    display: none;
  }

  .js .panel-open::after {
    content: '+';
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding-bottom: 3px;
    border-radius: 50%;
    background: var(--card);
    color: var(--ink);
    font-size: 1.5rem;
    line-height: 1;
  }

  .js .panel h3 {
    font-size: clamp(1.15rem, 1.75vw, 1.45rem);
    transition: font-size 0.5s var(--ease);
  }

  .js .panel.is-open h3 {
    font-size: 2.1rem;
  }

  /* The text keeps its width while the panel grows, so it does not reflow
     on the way. */
  .js .panel-more {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s var(--ease);
  }

  .js .panel-more > div {
    width: min(480px, 46vw);
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0s 0.25s;
  }

  .js .panel.is-open .panel-more {
    grid-template-rows: 1fr;
  }

  .js .panel.is-open .panel-more > div {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s 0.25s, visibility 0s;
  }
}

/* Pages below the front page */

.page-head h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.02;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.crumbs a {
  text-decoration: none;
}

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

.crumbs a::after {
  content: '/';
  margin-left: 8px;
  opacity: 0.5;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.jump a {
  padding: 10px 18px;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.jump a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.prose {
  max-width: 40em;
  margin-top: 32px;
}

.prose p + p {
  margin-top: 1.1em;
}

.prose h2 {
  margin: 2em 0 0.4em;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 560;
}

.prose a,
.fineprint a {
  text-underline-offset: 3px;
}

.prose-large {
  font-size: 1.15rem;
}

.about .hero-visual {
  width: min(100%, 440px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: var(--gap);
}

.split > .section-title,
.split-head {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.split-head .button {
  margin-top: 28px;
}

.values li {
  display: grid;
  grid-template-columns: 22px minmax(0, 14rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 6px 20px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}

.values li:last-child {
  border-bottom: 1px solid var(--rule);
}

.values .screw {
  align-self: center;
  width: 20px;
  height: 20px;
  --star: var(--panel);
}

.values h3,
.process h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  line-height: 1.2;
}

.values p,
.process p {
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-top: clamp(36px, 5vw, 64px);
}

.process li {
  position: relative;
  padding-top: 72px;
}

.process li:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 24px;
  right: -16px;
  left: 60px;
  height: 1.5px;
  background: var(--rule);
}

.process-mark {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  font-size: 1.15rem;
}

.process li:last-child .process-mark {
  border: 0;
}

.process-mark .screw {
  width: 48px;
  height: 48px;
}

.process h3 {
  font-size: 1.2rem;
}

.process p {
  margin-top: 8px;
  font-size: 0.98rem;
}

/* Vi udfører: two photo tiles that lead to the areas, then each area as
   a short intro beside a calm list of what it covers. */

.area-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(32px, 5vw, 56px);
}

.area-tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  border-radius: 26px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.area-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.area-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(10, 22, 17, 0) 38%, rgba(10, 22, 17, 0.8));
}

.area-tile:hover img {
  transform: scale(1.04);
}

.area-tile-text {
  position: absolute;
  left: clamp(20px, 3vw, 34px);
  right: 96px;
  bottom: clamp(20px, 3vw, 32px);
  display: grid;
  gap: 4px;
}

.area-tile strong {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.area-tile-count {
  color: var(--ink-soft);
}

.area-tile .area-number {
  color: rgba(246, 241, 228, 0.8);
}

.area-number {
  color: var(--brass);
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.area-tile-arrow {
  position: absolute;
  right: clamp(20px, 3vw, 30px);
  bottom: clamp(20px, 3vw, 30px);
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-deep);
  font-size: 1.15rem;
  transition: transform 0.35s var(--ease), background 0.35s;
}

.area-tile:hover .area-tile-arrow {
  background: var(--brass);
  transform: translateY(4px);
}

.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: var(--gap);
  padding-top: var(--section);
  border-top: 1px solid var(--line);
}

.area-intro {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.area-intro .area-number {
  margin-bottom: 14px;
}

.area-intro .button {
  margin-top: 30px;
}

.service {
  display: grid;
  grid-template-columns: clamp(120px, 15vw, 196px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.services li:first-child .service {
  padding-top: 0;
}

a.service {
  text-decoration: none;
}

.service-more {
  display: inline-flex;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.service-more::after {
  content: '→';
  transition: transform 0.25s var(--ease);
}

a.service:hover .service-more::after {
  transform: translateX(5px);
}

a.service:hover h3 {
  color: var(--brass-deep);
}

.service-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: var(--panel);
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service:hover .service-photo img {
  transform: scale(1.05);
}

.service h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.service p {
  margin-top: 6px;
  color: var(--muted);
}

/* A service's own page: the head beside a tall photo, then what the
   service covers in a card that stays in view beside the running text. */

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: end;
  gap: var(--gap);
}

.service-hero .page-head h1 {
  max-width: 13em;
}

.service-hero .actions {
  margin-top: 32px;
}

.service-hero-photo {
  position: relative;
}

.service-hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  object-fit: cover;
}

.service-hero-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 42, 33, 0.6);
  color: var(--paper);
  font-size: 0.8rem;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: var(--gap);
}

.service-aside {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  display: grid;
  gap: 18px;
}

.service-includes,
.service-siblings {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}

.service-aside h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 560;
  line-height: 1.2;
}

.service-includes ul {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.service-includes li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
}

.service-includes .screw {
  width: 16px;
  height: 16px;
  align-self: center;
  color: var(--brass);
  --star: var(--card);
}

.service-siblings {
  background: transparent;
}

.service-siblings ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.service-siblings a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.service-siblings a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.service-body .article-prose > h2:first-child {
  margin-top: 0;
}

.faq-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Blog */

.eyebrow,
.answer-label,
.toc-title {
  color: var(--brass-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jump a[aria-current='page'] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 28px;
}

.post-card {
  position: relative;
}

.post-card-photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 20px;
  background: var(--line);
}

.post-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.post-card:hover .post-card-photo img {
  transform: scale(1.04);
}

.post-card-text {
  padding-top: 18px;
}

.post-card-title {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  line-height: 1.2;
  text-wrap: balance;
}

.post-card-title a {
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

/* The whole card is the link. */
.post-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.post-card:hover .post-card-title a {
  text-decoration-line: underline;
}

.post-card-summary {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
}

.post-card-meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
}

.post-card-large .post-card-photo {
  aspect-ratio: 16 / 11;
}

.post-card-large .post-card-title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.1;
}

.post-card-large .post-card-summary {
  max-width: 34em;
  font-size: 1.08rem;
}

.featured-side {
  display: grid;
  align-content: start;
  gap: 32px;
}

.featured-side .post-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 22px;
}

.featured-side .post-card-photo {
  aspect-ratio: 1;
}

.featured-side .post-card-text {
  padding-top: 0;
}

/* Article */

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: end;
  gap: var(--gap);
}

.article-head h1 {
  max-width: 15em;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  line-height: 1.05;
}

.crumbs a:last-child::after {
  content: none;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* After, not before, so a wrapped line never starts with a dot. */
.article-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 12px;
  opacity: 0.6;
}

.answer {
  max-width: 40em;
  margin-top: 32px;
  padding: 26px 30px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 1.125rem;
  line-height: 1.6;
}

.answer-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.answer-label .screw {
  width: 18px;
  height: 18px;
  --star: var(--card);
}

.article-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.article-main {
  padding-top: clamp(48px, 6vw, 88px);
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 44rem);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}

.toc {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  max-height: calc(100vh - var(--header-height) - 64px);
  overflow-y: auto;
  transition: top 0.3s var(--ease);
}

.toc ol {
  margin-top: 14px;
  border-left: 1.5px solid var(--rule);
}

.toc a {
  display: block;
  margin-left: -1.5px;
  padding: 7px 0 7px 18px;
  border-left: 1.5px solid transparent;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.toc a:hover,
.toc a[aria-current='true'] {
  border-left-color: var(--brass);
  color: var(--ink);
}

.key-facts {
  margin-bottom: 52px;
  padding: 28px 30px;
  border-radius: 20px;
  background: var(--panel);
}

.key-facts h2,
.faq h2,
.sources h2 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.01em;
}

.key-facts h2 {
  font-size: 1.3rem;
}

.key-facts ul {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.key-facts li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
}

.key-facts .screw {
  width: 16px;
  height: 16px;
  transform: translateY(2px);
  --star: var(--panel);
}

.article-prose {
  font-size: 1.125rem;
  line-height: 1.7;
}

.article-prose > * + * {
  margin-top: 1.1em;
}

.article-prose h2,
.faq h2,
.sources h2 {
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  line-height: 1.15;
  text-wrap: balance;
}

.article-prose h2 {
  margin-top: 2.2em;
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.01em;
}

.article-prose h3 {
  margin-top: 1.8em;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 560;
  line-height: 1.25;
}

.article-prose h2 + *,
.article-prose h3 + * {
  margin-top: 0.6em;
}

.article-prose a {
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.article-prose a:hover {
  text-decoration-color: currentColor;
}

.article-prose strong {
  font-weight: 650;
}

.article-prose ul,
.article-prose ol {
  display: grid;
  gap: 0.5em;
}

.article-prose li {
  position: relative;
}

.article-prose ul > li {
  padding-left: 26px;
}

.article-prose ul > li::before {
  content: '';
  position: absolute;
  top: 0.68em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
}

.article-prose ol {
  counter-reset: item;
}

.article-prose ol > li {
  padding-left: 40px;
  counter-increment: item;
}

.article-prose ol > li::before {
  content: counter(item);
  position: absolute;
  top: 0.2em;
  left: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.article-prose li > ul,
.article-prose li > ol {
  margin-top: 0.5em;
}

.article-prose blockquote {
  padding-left: 22px;
  border-left: 3px solid var(--brass);
  color: var(--muted);
}

.article-prose hr {
  margin: 2.5em 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

.article-prose > .table-wrap {
  margin-block: 1.8em;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.article-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.45;
}

.article-prose th,
.article-prose td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-prose th {
  background: var(--panel);
  font-weight: 650;
}

.article-prose tr:last-child td {
  border-bottom: 0;
}

.article-prose td:first-child {
  font-weight: 600;
}

.faq,
.sources,
.article-cta {
  margin-top: 72px;
}

.faq-item {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}

.faq h2 + .faq-item {
  margin-top: 22px;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.35;
}

.faq-item p {
  margin-top: 8px;
  color: var(--muted);
}

.sources > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.sources ol {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  counter-reset: source;
}

.sources li {
  position: relative;
  padding-left: 32px;
  counter-increment: source;
}

.sources li::before {
  content: counter(source) '.';
  position: absolute;
  left: 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.sources a {
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.sources li span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.article-cta {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 24px;
  background: var(--ink);
  color: var(--paper);
}

.article-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 560;
  line-height: 1.1;
}

.article-cta p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.article-cta .actions {
  margin-top: 26px;
}

.article-cta .article-cta-service {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 241, 228, 0.16);
}

.article-cta-service a {
  color: var(--paper);
  text-decoration-color: var(--brass);
  text-underline-offset: 3px;
}

/* Glossary */

.letters a {
  min-width: 46px;
  padding: 8px 12px;
  text-align: center;
}

.letter-group {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px var(--gap);
  padding: 36px 0;
  border-top: 1px solid var(--rule);
}

.letter {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
  color: var(--brass);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 560;
  line-height: 1;
}

.glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 48px;
}

.glossary dt {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.glossary dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.glossary-guide {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-underline-offset: 3px;
}

.glossary div:target {
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 0 0 14px var(--card);
}

.glossary-preview {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.glossary-preview div {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}

.glossary-preview div:last-child {
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 1080px) {
  .article-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

@media (max-width: 999px) {
  .post-grid,
  .featured-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured,
  .article-hero,
  .article-layout,
  .letter-group {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-side .post-card {
    display: block;
  }

  .featured-side .post-card-photo {
    aspect-ratio: 3 / 2;
  }

  .featured-side .post-card-text {
    padding-top: 18px;
  }

  .article-photo .arch {
    aspect-ratio: 16 / 10;
    border-radius: 20px;
  }

  .toc {
    position: static;
    max-height: none;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--card);
  }

  .letter {
    position: static;
  }
}

@media (max-width: 640px) {
  .post-grid,
  .featured-side,
  .glossary {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Danish compounds like "badeværelsesrenovering" are wider than a phone. */
  .article-head h1,
  .article-prose h2,
  .post-card-title,
  .glossary dt {
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .answer {
    padding: 22px;
    font-size: 1.05rem;
  }

  .key-facts {
    padding: 24px 22px;
  }

  .article-prose {
    font-size: 1.0625rem;
  }
}

/* Closing line and footer */

.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 10vw, 136px);
  background: var(--ink-deep);
  color: var(--paper);
}

.closing {
  position: relative;
  padding-bottom: clamp(64px, 8vw, 112px);
}

.closing-line {
  position: relative;
  max-width: 13em;
  font-size: clamp(2.3rem, 6.2vw, 5.4rem);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.period {
  display: inline-block;
  width: 0.27em;
  height: 0.27em;
  margin-left: 0.06em;
  --star: var(--ink-deep);
}

.closing .rings {
  right: -14%;
  width: clamp(340px, 52vw, 720px);
  color: rgba(246, 241, 228, 0.1);
  transform: translateY(-56%);
}

.closing .actions {
  position: relative;
  margin-top: 44px;
}

.footer-cols {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid rgba(246, 241, 228, 0.16);
}

.footer h2 {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-cols p,
.footer-cols li {
  color: rgba(246, 241, 228, 0.84);
  font-size: 0.98rem;
  line-height: 1.9;
}

.footer-cols a {
  text-decoration: none;
}

.footer-cols a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-cols .brand {
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 1.4rem;
}

.footer .brand .screw {
  --star: var(--ink-deep);
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(246, 241, 228, 0.16);
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.mobile-bar {
  display: none;
}

@media (hover: none) {
  .drag-hint {
    display: none;
  }
}

@media (max-width: 1080px) {
  .nav {
    gap: 22px;
  }

  .header-row {
    gap: 20px;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 34em;
  }

  .process li {
    min-height: 48px;
    padding: 0 0 32px 72px;
  }

  .process li:last-child {
    padding-bottom: 0;
  }

  .process li:not(:last-child)::before {
    top: 56px;
    right: auto;
    bottom: 8px;
    left: 23px;
    width: 1.5px;
    height: auto;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* Without room for three side by side, each area is a card with its photo
   beside the text, or above it on a phone. */
@media (max-width: 999px) {
  .panels {
    grid-auto-flow: row;
  }

  .panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 0;
  }

  .panel > img {
    position: static;
    min-height: 320px;
  }

  .panel::after {
    display: none;
  }

  .insta-layout {
    grid-template-columns: 1fr;
  }

  .insta-track {
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }

  .insta-card {
    flex-basis: clamp(240px, 36vw, 300px);
  }
}

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

  .insta-card {
    flex-basis: min(74vw, 300px);
  }

  /* On a phone the next card peeking in says the row swipes. */
  .insta-band .carousel-buttons {
    display: none;
  }

  .panel > img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 820px) {
  .menu-button {
    display: grid;
  }

  .header-phone {
    display: none;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    height: calc(100dvh - var(--header-height));
    padding: 16px 20px 40px;
    overflow-y: auto;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.3s var(--ease),
      visibility 0s 0.3s;
  }

  .menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .menu-open .header {
    background: var(--paper);
  }

  .menu-open body {
    overflow: hidden;
  }

  .nav-link {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 560;
  }

  .nav-link::after {
    display: none;
  }

  .nav-extra {
    display: grid;
    gap: 12px;
    margin-top: 32px;
  }

  .hero-grid,
  .about,
  .quote,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .about .hero-visual {
    justify-self: center;
    width: min(88%, 420px);
    margin-top: 16px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .facts li {
    padding: 20px 22px;
  }

  .facts li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .split > .section-title,
  .split-head {
    position: static;
  }

  /* On a phone the form comes right under the heading, and what happens
     next follows it. */
  .quote {
    gap: 0;
  }

  .quote-copy {
    display: contents;
  }

  .quote-card {
    order: 1;
    margin-top: 28px;
  }

  .steps {
    order: 2;
    margin-top: 44px;
  }

  .call-card {
    order: 3;
    justify-self: start;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
    gap: 24px;
  }

  .area-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .area-intro {
    position: static;
  }

  .service-hero,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-hero-photo {
    width: min(100%, 460px);
  }

  .service-aside {
    position: static;
  }

  .values li {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .values p {
    grid-column: 2;
  }

  .footer {
    padding-bottom: 84px;
  }

  .mobile-bar {
    position: fixed;
    z-index: 25;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(246, 241, 228, 0.92);
    backdrop-filter: blur(12px);
    transition: transform 0.35s var(--ease);
  }

  .mobile-bar .button {
    min-height: 50px;
  }

  .bar-hidden .mobile-bar {
    transform: translateY(110%);
  }
}

@media (max-width: 560px) {
  .header .button-small {
    display: none;
  }

  .brand {
    font-size: 1.2rem;
  }

  .actions .button {
    width: 100%;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .field-row-wide {
    grid-template-columns: 1fr 112px;
  }

  .area-tiles {
    grid-template-columns: 1fr;
  }

  .service {
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: start;
    padding: 18px 0;
  }

  .service-photo {
    border-radius: 14px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .panel-text {
    padding: 22px;
  }
}

/* Motion. Everything here is extra: without it the page is complete. */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes unveil {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
}

@keyframes stamp {
  from {
    opacity: 0;
    transform: scale(1.5) rotate(-30deg);
  }
}

@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}

/* A screw being driven home. */
@keyframes drive {
  from {
    opacity: 0;
    transform: scale(2.2) rotate(-360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  html {
    scroll-behavior: smooth;
  }

  .header {
    view-transition-name: header;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.25s;
  }

  .hero-copy > *,
  .page-head > *,
  .about-copy > :not(.page-head),
  .facts {
    animation: rise 0.9s var(--ease) both;
  }

  .hero-copy > :nth-child(2),
  .page-head > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero-copy > :nth-child(3),
  .page-head > :nth-child(3),
  .about-copy > :not(.page-head) {
    animation-delay: 0.16s;
  }

  .page-head > :nth-child(4) {
    animation-delay: 0.24s;
  }

  .facts {
    animation-delay: 0.4s;
  }

  .hero-visual .arch {
    animation: unveil 1.1s var(--ease) 0.1s both;
  }

  .hero-visual .rings {
    animation: fade 1.6s ease 0.3s both;
  }

  .seal {
    animation: stamp 0.7s var(--ease) 0.75s both;
  }

  .seal-text {
    animation: turn 40s linear infinite;
  }

  .slide img {
    transform: scale(1.08);
    transition: transform 7s linear;
  }

  .slide.is-current img {
    transform: none;
  }

  .quote-done:not([hidden]) .screw {
    animation: drive 1s var(--ease) both;
  }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  /* Cards in the Instagram row come in from the side: a lift would spill
     out of the row, which scrolls. */
  .js .insta-card[data-reveal]:not(.is-in) {
    transform: translateX(56px);
  }

  .js .closing .period {
    opacity: 0;
  }

  .js .closing.is-in .period {
    opacity: 1;
    animation: drive 1.1s var(--ease) 0.5s both;
  }
}
