/* Eqlique – design. Innehåll ändras i innehall.js, inte här. */

:root {
  /* Palett: Glass, Lila (kall), Blåbär, Skiffer, Choklad, Hallon, Oliv + Vit (kall) */
  --glass: #D9899A;
  --lila: #393344;
  --blabar: #3A3F52;
  --skiffer: #7A94A9;
  --choklad: #3C2D29;
  --hallon: #722E40;
  --oliv: #6F7242;
  --paper: #F7F8FA;
  --ink: var(--lila);
  --ink-soft: var(--blabar);
  --plum: var(--lila);
  --plum-deep: #28242F;
  --line: rgba(57, 51, 68, .14);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 3vw, 32px);
  --header: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-soft: cubic-bezier(.33, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--hallon); outline-offset: 3px; }
::selection { background: var(--glass); color: var(--lila); }

/* Handritad muspekare */
@media (pointer: fine) {
  html, body, body * {
    cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2222%22%20height%3D%2228%22%20viewBox%3D%220%200%2022%2028%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23151319%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M2.2%201.8%203.1%2020.2%207.6%2016.6%2012.2%2026%2015%2024.4%2010.8%2015.3%2018.9%2014.7Z%22%20stroke-width%3D%221.15%22%2F%3E%3Cpath%20d%3D%22m2.7%202.8%20.1%2014.8%201.1-2.8L3.4%204.4%205%2016.6l1.3-3.2L4.7%205.3%207.2%2013.9l1.1-1L6.1%206.9l4%206.5%201.5-.5-3-4.5%204.3%204%202.1.2L10%208.2m-1.8%207.4%204.4%209.1m-2.6-8.4%204.1%208%22%20stroke-width%3D%22.85%22%2F%3E%3Cpath%20d%3D%22m1.8%202.3%20.5%2017.3%205-3.8M3%201.4l16.6%2013.4-8.1%201%22%20stroke-width%3D%22.55%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 2 2, auto !important;
  }
  input, textarea { cursor: text !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; left: 12px; top: 12px; width: auto; height: auto; clip: auto; background: var(--ink); color: #fff; padding: 8px 12px; }

/* ---------- Loggan: anpassar sig efter bakgrunden ---------- */
/* Loggan byter färg efter bakgrunden: mörk logga på ljust, ljus logga på mörkt.
   (Brandfärger kan läggas in här senare som egna loggfiler.) */
.logo-layer {
  position: fixed; top: 0; left: 50%; z-index: 60;
  height: var(--header); display: flex; align-items: center;
  transform: translateX(-50%);
}
.logo-layer .logo { position: relative; display: block; }
.logo-layer img { height: 44px; width: auto; transition: opacity .35s ease; }
.logo-layer .logo-light { position: absolute; inset: 0; opacity: 0; }
body.nav-light .logo-light, body.scrolled:not(.panel-open) .logo-light { opacity: 1; }
body.nav-light .logo-dark, body.scrolled:not(.panel-open) .logo-dark { opacity: 0; }
body.scrolled:not(.panel-open) .logo-layer { mix-blend-mode: difference; }
@media (min-width: 900px) { .logo-layer img { height: 60px; } }

/* ---------- Header: ikoner & länkar, alltid läsbara ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 55;
  height: var(--header);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 calc(var(--gutter) - 8px);
  color: var(--ink);
  pointer-events: none;
  transition: color .3s ease;
}
.site-header > * { pointer-events: auto; }
/* Hela navbaren har samma färg. Överst: fast mörk eller ljus. Vid scroll: bokstäverna anpassar sig (difference). */
.site-header { color: var(--ink); }
body.nav-light .site-header { color: #fff; }
body.scrolled:not(.panel-open) .site-header { color: #fff; mix-blend-mode: difference; }
.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; }
.icon-btn svg { width: 28px; height: 28px; }
.header-left { display: flex; align-items: center; gap: 18px; }
.header-links { display: none; gap: 26px; font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 900px) { .header-links { display: flex; } }

/* ---------- Panel: meny & sök ---------- */
.panel {
  position: fixed; inset: 0; z-index: 50;
  background: var(--plum); color: #fff;
  padding: calc(var(--header) + 28px) var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.panel.open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.panel-inner { max-width: 1100px; margin: 0 auto; }
.menu-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu-links a { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; display: inline-block; transform: translateY(8px); opacity: 0; transition: transform .5s var(--ease), opacity .5s ease; }
.panel.open .menu-links a { transform: none; opacity: 1; }
.panel.open .menu-links li:nth-child(2) a { transition-delay: .04s; }
.panel.open .menu-links li:nth-child(3) a { transition-delay: .08s; }
.panel.open .menu-links li:nth-child(4) a { transition-delay: .12s; }
.panel.open .menu-links li:nth-child(5) a { transition-delay: .16s; }
.menu-small { list-style: none; padding: 26px 0 0; margin: 36px 0 0; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 16px; opacity: .85; }

.search-field { width: 100%; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); color: #fff; font-family: var(--serif); font-size: 22px; padding: 4px 0 10px; outline: none; border-radius: 0; }
.search-field::placeholder { color: rgba(255,255,255,.45); }
.search-field::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-results { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.search-results a { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.search-results img { width: 44px; aspect-ratio: 2/3; object-fit: cover; }
.search-results .t { font-family: var(--serif); font-size: 18px; line-height: 1.15; }
.search-results .m { font-size: 13px; opacity: .75; }
.search-empty { margin: 16px 0 0; font-size: 14px; opacity: .75; }

/* ---------- Startsida: The selected edit ---------- */
.feature { display: grid; background: #FFFFFF; color: #141318; }
.feature:hover { text-decoration: none; }
.feature-media { position: relative; aspect-ratio: 2/3; overflow: hidden; order: -1; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.02); }
.feature-panel { display: grid; place-items: center; text-align: center; padding: 36px var(--gutter) 40px; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.feature-center h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; margin: 12px 0 18px; }
.cta { display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 15px; letter-spacing: .04em; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature-media { order: 0; }
  .feature-panel { padding: var(--header) 40px 40px; }
}

/* ---------- Sektioner & kort ---------- */
.section { padding: 44px var(--gutter) 64px; max-width: 1440px; margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.section-head h2, .page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.5vw, 48px); line-height: 1.05; margin: 0; }
.text-link { font-size: 17px; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.text-link:hover { text-decoration: none; opacity: .7; }

.card-row { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
.card-row::-webkit-scrollbar { display: none; }
.card-row > * { scroll-snap-align: start; }
@media (min-width: 700px) { .card-row { grid-auto-columns: 40%; } }
@media (min-width: 1100px) { .card-row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 24px; } }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
@media (min-width: 900px) { .card-grid { grid-template-columns: repeat(4, 1fr); gap: 36px 24px; } }

.card { display: block; }
.card:hover { text-decoration: none; }
.card-media { aspect-ratio: 2/3; overflow: hidden; background: #E8EAEE; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; margin: 14px 0 4px; }
.card .meta { font-size: 14px; color: var(--ink-soft); letter-spacing: .02em; }

/* ---------- Landningssidor ---------- */
.page { padding: calc(var(--header) + 40px) var(--gutter) 72px; max-width: 1440px; margin: 0 auto; }
.landing-head { max-width: 820px; padding: 12px 0 8px; }
.landing-head .eyebrow { color: var(--ink-soft); }
.landing-title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 8vw, 104px); line-height: .98; letter-spacing: -.01em; margin: 14px 0 18px; }
.landing-intro { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); line-height: 1.35; margin: 0; color: var(--blabar); max-width: 36ch; }
.jump { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 26px; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.jump a { border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.jump a:hover { text-decoration: none; opacity: .7; }
.jump sup { font-size: 11px; color: var(--ink-soft); margin-left: 2px; }
.jump .soon { color: var(--skiffer); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 15px; }
.chip:hover { text-decoration: none; border-color: var(--ink); }
.chip[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.empty-note { color: var(--ink-soft); }

.chapter { padding: 8px 0 20px; }
.chapter + .chapter { margin-top: 56px; }
.chapter-head { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; margin-bottom: 24px; }
.chapter-no { font-size: 14px; color: var(--ink-soft); letter-spacing: .08em; }
.chapter-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1; margin: 0; }
.chapter-head p { grid-column: 2; margin: 10px 0 0; color: var(--blabar); max-width: 52ch; }
.chapter.coming .chapter-head { grid-template-columns: 1fr; border-top: 1px solid var(--line); padding-top: 28px; }
.chapter.coming h2 { font-size: 28px; }
.chapter.coming p { grid-column: 1; display: grid; gap: 6px; color: var(--ink-soft); }

.lead { display: grid; gap: 22px; margin-bottom: 64px; }
.lead:hover { text-decoration: none; }
.lead-media { aspect-ratio: 2/3; overflow: hidden; max-width: 560px; }
.lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lead:hover .lead-media img { transform: scale(1.025); }
.lead-copy .eyebrow { color: var(--ink-soft); }
.lead-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 68px); line-height: 1; margin: 12px 0 14px; }
.lead-copy .summary { font-family: var(--serif); font-size: 22px; line-height: 1.3; margin: 0 0 8px; }
.lead-copy .meta { font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; }
@media (min-width: 900px) { .lead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; } }
.subhead { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 0 0 24px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- En edit ---------- */
.edit-layout { display: grid; gap: 28px; }
.collage { position: relative; width: 100%; max-width: 680px; }
.collage .base { width: 100%; height: auto; transition: filter .45s ease; }
.collage.has-lit .base { filter: none; }
.piece {
  position: absolute; height: auto; pointer-events: none; z-index: 3;
  opacity: 0; transform-origin: 50% 50%;
  transition: transform .7s var(--ease-soft), filter .7s var(--ease-soft), opacity .4s ease;
}
.piece.lit {
  opacity: 1;
  transform: none;
  filter: drop-shadow(0 16px 20px rgba(20, 16, 24, .42)) drop-shadow(0 2px 4px rgba(20, 16, 24, .22));
}
.collage svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 60; }
/* Lager-collage: plaggen ligger som egna lager och det riktiga plagget lyfts */
/* Lugn lyft: mjuk kurva, lite längre tid, och plagget stannar överst tills det har landat igen */
.layer {
  position: absolute; height: auto; pointer-events: none; transform-origin: 50% 55%;
  filter: drop-shadow(0 0 0 rgba(20, 16, 24, 0)) drop-shadow(0 0 0 rgba(20, 16, 24, 0));
  will-change: transform, filter;
  transition: transform .7s var(--ease-soft), filter .7s var(--ease-soft), z-index 0s linear .7s;
}
.layer.lit {
  z-index: 40 !important; transform: scale(1.03) translateY(-.8%);
  filter: drop-shadow(0 18px 22px rgba(20, 16, 24, .42)) drop-shadow(0 3px 5px rgba(20, 16, 24, .22));
  transition: transform .6s var(--ease-soft), filter .6s var(--ease-soft), z-index 0s;
}
.collage polygon { fill: transparent; stroke: none; }
.collage svg a:focus-visible { outline: none; }
.dot { display: none; position: absolute; z-index: 61; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(247, 248, 250, .92); box-shadow: 0 2px 8px rgba(20, 16, 24, .3); pointer-events: none; }
.dot::before, .dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.dot::after { transform: translate(-50%, -50%) rotate(90deg); }
@media (hover: none) { .dot { display: block; animation: breathe 2.8s ease-in-out infinite; } }
@keyframes breathe { 50% { transform: scale(1.12); } }
.hotspot-tip { position: absolute; left: 0; top: 0; z-index: 62; pointer-events: none; background: var(--hallon); color: #fff; font-size: 14px; padding: 6px 10px; white-space: nowrap; opacity: 0; transition: opacity .35s ease; will-change: transform; }
.hotspot-tip.show { opacity: 1; transition-delay: .08s; }

.edit-copy .eyebrow { color: var(--ink-soft); }
.edit-copy h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; margin: 10px 0 14px; }
.edit-copy .summary { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.3; margin: 0 0 8px; }
.products { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.products li { border-bottom: 1px solid var(--line); }
.products a { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px 0; transition: padding .5s var(--ease-soft); }
.products a:hover, .products a.lit { text-decoration: none; padding-left: 8px; }
.products a:hover .p-name, .products a.lit .p-name { text-decoration: underline; text-underline-offset: 3px; }
.p-name { display: block; font-size: 19px; line-height: 1.25; }
.p-brand { display: block; font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; margin-top: 3px; }
.p-shop { font-size: 15px; white-space: nowrap; }
.hint { font-size: 14px; color: var(--ink-soft); margin: 14px 0 0; }
.disclosure-note { font-size: 13px; color: var(--ink-soft); margin: 18px 0 0; }
.disclosure-note a { text-decoration: underline; }
.back { display: inline-block; margin-top: 30px; }
@media (min-width: 900px) {
  .edit-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .collage { justify-self: end; }
  .edit-copy { position: sticky; top: calc(var(--header) + 24px); padding-top: 8px; max-width: 520px; }
}

/* ---------- Textsidor ---------- */
.prose { max-width: 720px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 36px 0 8px; }
.prose p, .prose li { color: var(--blabar); }
.prose a { text-decoration: underline; }
.prose .lede { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; color: var(--ink); }
.signature { font-family: var(--serif); font-style: italic; font-size: 22px; margin-top: 30px; }

.club { min-height: 100vh; background: var(--blabar); color: #fff; display: grid; place-items: center; text-align: center; padding: var(--header) var(--gutter); }
.club h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 9vw, 110px); line-height: 1; margin: 0 0 18px; }
.club p { font-size: 18px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin: 0; }

.not-found { min-height: 70vh; display: grid; align-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: #fff; padding: 44px var(--gutter) 36px; }
.footer-inner { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.social { display: flex; gap: 16px; }
.social svg { width: 26px; height: 26px; }
.copyright { font-size: 13px; opacity: .7; }

/* Mjuk intoning */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ---------- Menyn: lila panel i full bredd, höjd efter innehåll ---------- */
#menu-panel { bottom: auto; overflow: visible; padding: calc(var(--header) + 22px) var(--gutter) 44px; box-shadow: 0 20px 40px rgba(20, 16, 24, .18); }
#menu-panel .panel-inner { max-width: none; margin: 0; }
#menu-panel .menu-links { gap: 2px; }
#menu-panel .menu-links a { font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); line-height: 1.55; letter-spacing: 0; }
.menu-mobile { margin-top: 6px; }
@media (min-width: 900px) {
  .menu-mobile, #menu-panel .menu-small { display: none; }
  #menu-panel { padding-left: var(--gutter); }
}

/* About + sök till höger i navbaren */
.header-right { display: flex; align-items: center; gap: 14px; }
.header-about { display: none; font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 900px) { .header-about { display: inline; } }


/* ---------- Flikar på landningssidorna ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab { font-family: var(--serif); font-size: clamp(17px, 1.7vw, 21px); padding: 6px 0 12px; color: var(--skiffer); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.tab-text { font-family: var(--serif); font-size: 20px; margin: 0 0 24px; color: var(--blabar); }
.tabpanel .empty-note { padding: 24px 0 40px; }
.landing-title { font-size: clamp(28px, 3.2vw, 42px); }
.landing-head { padding: 0; margin-bottom: 22px; }
.landing-head .landing-title { margin: 10px 0 0; }

/* ---------- Ticker på startsidan ---------- */
.ticker-section { padding: 30px 0 56px; }
/* Liten etikett direkt ovanför tickern, så att den hör ihop med bilderna */
.ticker-section .section-head { padding: 0 var(--gutter); margin: 0 0 12px; align-items: center; }
.ticker-section .section-head h2 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1; color: var(--ink); }
.ticker-section .section-head .text-link { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.ticker { overflow: hidden; overflow: clip; position: relative; }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.tick-arrow { position: absolute; top: 50%; z-index: 2; width: 36px; height: 52px; margin-top: -26px; display: grid; place-items: center; color: var(--lila); background: none; transition: transform .2s var(--ease); }
.tick-arrow:hover { transform: scale(1.12); }
.tick-arrow svg { width: 20px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; }
.tick-arrow.prev { left: 6px; }
.tick-arrow.next { right: 6px; }
@keyframes tick { to { transform: translateX(var(--shift, -50%)); } }
.tick { position: relative; display: block; flex: none; height: clamp(250px, 27vw, 420px); aspect-ratio: 2 / 3; overflow: hidden; }
.tick:hover { text-decoration: none; }
.tick img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.tick:hover img { transform: scale(1.04); }
.tick-title { position: absolute; left: 12px; bottom: 12px; background: var(--hallon); color: #fff; font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.tick:hover .tick-title, .tick:focus-visible .tick-title { opacity: 1; transform: none; }
@media (hover: none) { .tick-title { opacity: 1; transform: none; font-size: 11px; } }


/* ---------- About (stor bild, liten text) ---------- */
.about { padding: calc(var(--header) + 24px) var(--gutter) 64px; max-width: 1440px; margin: 0 auto; display: grid; gap: 28px; }
.about-media img { width: 100%; height: auto; }
.about-copy .page-title { font-family: var(--sans); font-weight: 500; font-size: 24px; letter-spacing: .01em; margin: 0 0 16px; }
.about-copy p { font-size: 16px; line-height: 1.8; letter-spacing: .02em; color: var(--ink); margin: 0 0 16px; }
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 9%; align-items: center; }
  .about-copy { max-width: 560px; padding-right: 4%; }
  .about-copy p { text-align: justify; hyphens: auto; }
}

/* Textsidor: bredare text på datorn = mindre scroll */
.prose { max-width: 1100px; }
.prose .landing-title { font-size: clamp(34px, 3.4vw, 44px); }
@media (min-width: 900px) { .prose-cols { columns: 2; column-gap: 56px; } .prose-cols h2 { break-after: avoid; } .prose-cols p { break-inside: avoid; } }

@media (max-width: 599.98px) { .tabs { gap: 2px 18px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; } .tab { font-size: 17px; white-space: nowrap; } }

/* Landningssidor: mindre bilder så att hela raden syns utan scroll */
@media (min-width: 900px) {
  .page .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
}
/* Fem i rad när det får plats */
@media (min-width: 1200px) {
  .page .card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Startsidans topp ryms på en skärm på datorn */
@media (min-width: 900px) { .feature-media { aspect-ratio: auto; height: min(100vh, 75vw); } }

/* Edit-sidan: collaget ryms på skärmen, "More edits" närmare */
@media (min-width: 900px) {
  .edit-layout { max-width: 1240px; margin: 0 auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .collage { justify-self: end; }
}
.edit-page-more { padding-top: 8px; }
.page:has(.edit-layout) { padding-bottom: 24px; }
.page:has(.edit-layout) + .section { padding-top: 16px; }
.page:has(.edit-layout) + .section .card-row { grid-template-columns: repeat(4, minmax(0, 250px)); }



/* Sök: en liten lila ruta under sökikonen, inte hela sidan */
#search-panel {
  inset: auto; top: calc(var(--header) - 6px); right: var(--gutter); left: auto; bottom: auto; z-index: 65;
  width: min(380px, calc(100vw - 2 * var(--gutter)));
  max-height: min(70vh, 560px);
  padding: 20px 22px 22px;
  box-shadow: 0 18px 40px rgba(20, 16, 24, .22);
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
#search-panel.open { transform: none; transition: opacity .2s ease, transform .2s ease; }
#search-panel .panel-inner { max-width: none; margin: 0; }

/* Startsidan från mappen "Startsida": bild till vänster med text ovanpå, bild till höger */
.feature-start .feature-panel.has-img { position: relative; overflow: hidden; aspect-ratio: 2/3; padding: 0; }
.feature-start .feature-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-start .feature-center { position: relative; z-index: 1; padding: 0 var(--gutter); }
.feature-start .on-dark { color: #fff; }
.feature-start .on-dark .feature-center { text-shadow: 0 1px 18px rgba(20, 16, 24, .35); }
.feature-start .on-light { color: #141318; }
.feature-start .feature-media { order: 0; }
.feature-start:hover .feature-media img { transform: none; }
/* startsidan fyller exakt skärmen (ingen scroll); bilden anpassas med sin fokuspunkt så det viktiga syns */
@media (min-width: 900px) { .feature-start .feature-panel.has-img, .feature-start .feature-media { aspect-ratio: auto; height: 100vh; height: 100svh; } }
.feature-start a.feature-center { display: block; }
.feature-start a.feature-center:hover { text-decoration: none; }
.feature-start a.feature-center:hover .cta { border-bottom-width: 2px; }
/* Eqlique Club: samma handritade stil som loggan */
.club h1.club-logo { margin: 0 0 26px; line-height: 0; }
.club h1.club-logo img { width: min(760px, 84vw); height: auto; }
