/* ==========================================================================
   Mindful Media – mindfulmedia.no
   Felles stil for hele nettstedet
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Farger */
  --ink: #1E1A20;          /* nesten svart plomme */
  --plum: #2A2430;         /* mørk bakgrunn */
  --plum-2: #362E3D;       /* kort på mørk bakgrunn */
  --ivory: #F6F1EA;        /* lys bakgrunn */
  --ivory-2: #EDE4D8;      /* lys bakgrunn, variant */
  --paper: #FFFCF7;        /* kort på lys bakgrunn */
  --peach: #EBB9A6;        /* aksent (flater, på mørk bakgrunn) */
  --peach-soft: #F4D9CD;
  --clay: #8C4632;         /* aksent som tekst på lys bakgrunn */
  --mute: #5B5160;         /* dempet tekst på lys */
  --mute-dark: #DCD2E0;    /* dempet tekst på mørk */
  --line: #DCD1C4;
  --line-dark: rgba(246, 241, 234, 0.22);
  --danger: #A12C1F;
  --ok: #2F6B4F;

  /* Typografi */
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Mål */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 18px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .hero :focus-visible, .site-header :focus-visible { outline-color: var(--peach); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--peach); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typografi ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 18px;
}
.dark .eyebrow, .hero .eyebrow { color: var(--peach); }
.display { font-family: var(--serif); font-size: clamp(56px, 10vw, 148px); line-height: 0.88; letter-spacing: -0.02em; }
.h1 { font-family: var(--serif); font-size: clamp(46px, 7vw, 96px); line-height: 0.95; letter-spacing: -0.015em; }
.h2 { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.01em; }
.h3 { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); line-height: 1.08; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--mute); }
.dark .muted { color: var(--mute-dark); }
.statement { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; max-width: 22ch; }
.statement em, .h1 em, .h2 em, .display em { color: var(--clay); }
.dark .statement em, .dark .h2 em, .hero em { color: var(--peach); }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--peach { background: var(--peach); color: var(--ink); }
.btn--peach:hover { background: #F2C9B9; }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: var(--plum-2); }
.btn--outline { border-color: currentColor; color: inherit; background: transparent; }
.btn--outline:hover { background: rgba(127, 127, 127, 0.1); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--clay); }
.dark .text-link:hover, .hero .text-link:hover { color: var(--peach); }
.play-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; min-height: 52px; }
.play-link .ring { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; }

/* ---------- Header / navigasjon ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--ivory); transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header.is-solid { background: rgba(30, 26, 32, 0.96); box-shadow: 0 1px 0 var(--line-dark); --header-h: 72px; height: 72px; }
@supports (backdrop-filter: blur(8px)) { .site-header.is-solid { background: rgba(30, 26, 32, 0.86); backdrop-filter: blur(10px); } }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--serif); font-size: 32px; line-height: 1; text-decoration: none; white-space: nowrap; }
.logo small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute-dark); margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.main-nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--peach); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor;
  background: transparent; color: inherit; cursor: pointer; place-items: center; padding: 0;
}
.menu-toggle svg { display: block; }
.menu-toggle .icon-close { display: none; }
body.menu-open .menu-toggle .icon-open { display: none; }
body.menu-open .menu-toggle .icon-close { display: block; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--ivory);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open .site-header { background: var(--ink); }
.mobile-menu a.big { font-family: var(--serif); font-size: 40px; line-height: 1.15; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-menu a.big[aria-current="page"] { color: var(--peach); }
.mobile-menu .btn { margin-top: 24px; align-self: stretch; }
.mobile-menu .social-mini { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--mute-dark); }

@media (max-width: 1080px) {
  .main-nav, .header-cta .btn { display: none; }
  .menu-toggle { display: grid; }
  .logo { font-size: 28px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--ivory); background: var(--plum); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__media--zoom { animation: slowzoom 24s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__media--zoom { animation: none; } }
.hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20, 16, 22, 0.9) 0%, rgba(20, 16, 22, 0.45) 50%, rgba(20, 16, 22, 0.6) 100%); }
.hero--full { min-height: max(660px, 100svh); display: flex; align-items: flex-end; }
.hero--page { min-height: max(520px, 72svh); display: flex; align-items: flex-end; }
.hero--short { min-height: max(420px, 52svh); display: flex; align-items: flex-end; }
.hero--plain { background:
  radial-gradient(60% 80% at 85% 20%, rgba(235, 185, 166, 0.16), transparent 70%),
  var(--plum); }
.hero__portrait { width: clamp(220px, 26vw, 360px); }
@media (max-width: 960px) { .hero__portrait { width: min(70vw, 300px); } }
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(48px, 8vh, 88px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.hero__text { max-width: 900px; display: flex; flex-direction: column; gap: 22px; }
.hero__text .eyebrow { margin-bottom: 0; }
.hero__text p { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 600px; color: #EDE6EF; }
.hero__aside {
  width: 320px; border: 1px solid rgba(246, 241, 234, 0.35); border-radius: 16px; padding: 22px;
  background: rgba(20, 16, 22, 0.6); display: flex; flex-direction: column; gap: 8px;
}
@supports (backdrop-filter: blur(8px)) { .hero__aside { backdrop-filter: blur(10px); background: rgba(20, 16, 22, 0.45); } }
.hero__aside .kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute-dark); }
.hero__aside .title { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.hero__aside .brands { font-size: 14px; color: #E4DCE8; }
.hero__aside a { font-size: 15px; font-weight: 600; margin-top: 4px; text-decoration: none; }
.hero__aside a:hover { color: var(--peach); }
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { width: 100%; max-width: 420px; }
}
@media (max-width: 560px) {
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero__aside { padding: 16px 18px; }
  .hero__aside .title { font-size: 22px; }
}
.photo-credit { position: absolute; right: 12px; bottom: 8px; font-size: 11px; color: rgba(246, 241, 234, 0.7); z-index: 1; }

/* ---------- Seksjoner ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.section--ivory2 { background: var(--ivory-2); }
.dark { background: var(--plum); color: var(--ivory); }
.dark--ink { background: var(--ink); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* Bilder */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ivory-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--arch { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5; }

/* Plassholder for Mias egne bilder (byttes ut med <img>) */
.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  padding: 24px; color: var(--mute);
  background: repeating-linear-gradient(135deg, #E6DCCF 0 14px, #EDE4D8 14px 28px);
  border: 1.5px dashed #B9AA99;
}
.dark .placeholder { color: var(--mute-dark); background: repeating-linear-gradient(135deg, #2F2836 0 14px, #362E3D 14px 28px); border-color: #6F6478; }
.placeholder strong { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); }
.dark .placeholder strong { color: var(--ivory); }
.placeholder span { font-size: 14px; max-width: 28ch; }

/* Tjenestekort */
.card {
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
a.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30, 26, 32, 0.12); }
.card .frame { border-radius: 0; aspect-ratio: 4 / 3; }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body p { margin: 0; color: var(--mute); }
.card__more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--clay); }
.badge { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: var(--peach-soft); color: #6E3324; padding: 6px 10px; border-radius: 999px; }
.dark .card { background: var(--plum-2); border-color: var(--line-dark); }
.dark .card__body p { color: var(--mute-dark); }
.dark .card__more { color: var(--peach); }

/* Lister */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.check-list li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--peach) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1A20' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Steg */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; border-top: 1.5px solid currentColor; padding-top: 22px; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--clay); margin-bottom: 14px; }
.dark .steps li::before { color: var(--peach); }
.steps h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 8px; }
.steps p { margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Trimester-kolonner / funksjonsblokker */
.feature { padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.feature .num { font-family: var(--serif); font-size: 18px; color: var(--clay); }
.feature h3 { font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.feature p { margin: 0; color: var(--mute); }
.dark .feature { background: var(--plum-2); border-color: var(--line-dark); }
.dark .feature .num { color: var(--peach); }
.dark .feature p { color: var(--mute-dark); }

/* Sitat / historie */
.story-quote { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; margin: 0 0 28px; }
.story-quote::before { content: "«"; color: var(--clay); }
.story-quote::after { content: "»"; color: var(--clay); }

/* Merknad */
.note { border-radius: 14px; padding: 18px 20px; background: var(--peach-soft); color: #4A2A20; font-size: 15px; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.note svg { margin-top: 2px; }
.note p { margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 28px; font-weight: 400; color: var(--clay); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 24px; max-width: 68ch; color: var(--mute); }
.faq .answer p:last-child { margin: 0; }

/* Merkevarer / referanser */
.brands-row { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline; font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); line-height: 1; }
.brands-row span { white-space: nowrap; }
.credits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.credits li { display: grid; grid-template-columns: 160px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.credits .kind { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-dark); }
.credits .what { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.credits .year { color: var(--mute-dark); font-size: 15px; }
@media (max-width: 640px) { .credits li { grid-template-columns: 1fr; gap: 4px; } }

/* Video-plassholder */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .placeholder { position: absolute; inset: 0; }
.video-frame .play { width: 84px; height: 84px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; }

/* CTA-bånd */
.cta-band { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-band .h2 { max-width: 16ch; }

/* ---------- Skjema ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 960px) { .form-shell { grid-template-columns: 1fr; } }
.form-side { display: flex; flex-direction: column; gap: 20px; }
.form-side .contact-line { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.dark .form-side .contact-line { border-color: var(--line-dark); }
.form-side .contact-line span { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.dark .form-side .contact-line span { color: var(--mute-dark); }
.form-side .contact-line a, .form-side .contact-line p { font-size: 18px; margin: 0; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 24px 60px rgba(30, 26, 32, 0.08); }
.dark .form-card { background: var(--ivory); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend, .field .label { font-size: 14px; font-weight: 600; }
.field .req { color: var(--clay); }
.field .hint { font-size: 13px; color: var(--mute); font-weight: 400; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: #FFFFFF; border: 1.5px solid #CFC3B5; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1A20' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(235, 185, 166, 0.6); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.error-text { color: var(--danger); font-size: 13px; font-weight: 500; min-height: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: #F0E9DF; border: 1.5px solid transparent; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .15s, color .15s;
}
.chip input:checked + span { background: var(--ink); color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.chip span:hover { border-color: #CFC3B5; }

.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--mute); }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.has-js [data-show-for] { display: none; }
.has-js [data-show-for].is-visible { display: flex; }
[hidden] { display: none !important; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-actions .btn { min-width: 220px; }
.form-status { font-size: 15px; font-weight: 500; }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--ok); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

.form-success { text-align: center; padding: 32px 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; }

/* ---------- Kalender ---------- */
.cal { border: 1.5px solid #CFC3B5; border-radius: 16px; background: #FFFFFF; padding: 16px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cal__month { font-family: var(--serif); font-size: 24px; text-transform: capitalize; }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #DCD1C4; background: #FFFFFF; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.cal__nav button:disabled { opacity: 0.35; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal__dow { font-size: 12px; font-weight: 600; color: var(--mute); padding: 4px 0 6px; text-transform: lowercase; }
.cal__day {
  height: 44px; border-radius: 12px; border: 0; background: transparent; color: var(--ink);
  font: 500 15px/1 var(--sans); cursor: pointer; position: relative;
}
.cal__day:hover:not(:disabled) { background: #F0E9DF; }
.cal__day:disabled { color: #B9B0BC; cursor: default; }
.cal__day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--clay); }
.cal__day[aria-pressed="true"] { background: var(--ink); color: var(--ivory); font-weight: 600; }
.cal__day[aria-pressed="true"]::after { background: var(--peach); }
.cal__picked { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; min-height: 36px; align-items: center; }
.cal__picked .empty { font-size: 14px; color: var(--mute); }
.cal__tag { display: inline-flex; align-items: center; gap: 6px; background: var(--peach-soft); color: #4A2A20; border-radius: 999px; padding: 4px 4px 4px 12px; font-size: 14px; font-weight: 500; }
.cal__tag button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.cal__tag button:hover { background: rgba(0, 0, 0, 0.08); }
.date-fallback { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.has-js .date-fallback { display: none; }
@media (max-width: 620px) { .date-fallback { grid-template-columns: 1fr; } }

/* ---------- Bunntekst ---------- */
.site-footer { background: var(--ink); color: var(--ivory); padding: clamp(64px, 9vw, 110px) 0 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.site-footer .muted { color: var(--mute-dark); }
.footer-top h2 { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); line-height: 1; margin-bottom: 18px; }
.footer-top h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute-dark); margin-bottom: 14px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top a { text-decoration: none; }
.footer-top a:hover { color: var(--peach); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 14px; color: var(--mute-dark); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--peach); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Diverse ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); line-height: 1.1; margin: 48px 0 14px; }
.prose h3 { font-weight: 600; font-size: 18px; margin: 28px 0 8px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack > * { margin: 0; }
.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 6vw, 72px); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
.grid-2--media { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
@media (max-width: 860px) { .grid-2--media { grid-template-columns: 1fr; } }
