/* Self-hosted brand fonts (from the designer handover, converted to woff2) */
@font-face { font-family: "Raleway"; src: url("../fonts/Raleway-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/Raleway-Italic-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Faculty Glyphic"; src: url("../fonts/FacultyGlyphic-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* Fredahl Rydéns — design tokens from F&R Designguide 2026 v.1.
   All sizes are taken from the 1920px mockup (FR_Nettside_4.pdf) and expressed in vw
   so the layout keeps the mockup's proportions at every width: 1vw = 19.2px at 1920. */
:root {
  /* Primary */
  --brass: #B68747;
  --black: #000000;
  --white: #FFFFFF;
  /* Palette 1 — nature & environment */
  --olive: #2D2D1F;
  --sage: #8E907E;
  --sand-light: #E1DDCE;
  /* Palette 2 — emotions & relationships */
  --rust: #A85A28;
  --rose: #BA9178;
  --sand: #E1D4C1;
  /* Palette 3 — production & people */
  --brown: #53423B;
  --grey: #BAB7AE;
  --cream: #EBEBE0;

  --ink: var(--black);
  --ink-soft: #4A4A40;   /* muted text; passes WCAG AA on cream */
  --line: rgba(0,0,0,.22);
  --line-strong: #919185; /* listing dividers, sampled from the mockup */

  /* Type. Adobe Caslon Pro loads first once the Adobe Fonts kit is added; Libre Caslon Text stands in until then. */
  --serif: "adobe-caslon-pro", "Adobe Caslon Pro", "Libre Caslon Text", "Times New Roman", serif;
  --sans: "Raleway", "Century Gothic", system-ui, sans-serif;
  --display-sans: "Faculty Glyphic", "Raleway", sans-serif;   /* short uppercase statements only, per brand book 6.2 */

  /* Type scale — mockup px at 1920 in the comment */
  --fs-hero: clamp(34px, 3.646vw, 70px);        /* 70  home hero, card titles, feature titles */
  --fs-display: clamp(34px, 4.167vw, 80px);     /* 80  page titles */
  --fs-display-xl: clamp(40px, 5.208vw, 100px); /* 100 Kvalitet och miljö page title */
  --fs-card: var(--fs-hero);
  --fs-h2: clamp(30px, 3.125vw, 60px);          /* 60  Raleway section headings, topic headings */
  --fs-h3: clamp(26px, 2.604vw, 50px);          /* 50  Raleway sub-headings, finder title */
  --fs-statement: clamp(22px, 2.604vw, 50px);   /* 50  uppercase serif statement */
  --fs-lead: clamp(20px, 1.875vw, 36px);        /* 36  serif italic intros */
  --fs-lead-lg: clamp(22px, 2.083vw, 40px);     /* 40  serif page intros */
  --fs-med: clamp(18px, 1.771vw, 34px);         /* 34  "Möt Oliver", theme titles, jobs intro */
  --fs-body-lg: clamp(17px, 1.5625vw, 30px);    /* 30  running text, nav subcol titles */
  --fs-body-md: clamp(16px, 1.25vw, 24px);      /* 24  card serif text, theme text, catalogue list */
  --fs-ui: clamp(14px, 1.094vw, 21px);          /* 21  job meta */
  --fs-body: clamp(14px, 1.042vw, 20px);        /* 20  small running text, meta, filters, footer contact */
  --fs-small: var(--fs-body);
  --fs-label: clamp(12px, .833vw, 16px);        /* 16  buttons, "Läs mer +", nav */
  --fs-nav: var(--fs-label);

  --gutter: clamp(20px, 6.25vw, 120px);         /* 120 */
  --section: clamp(56px, 6.25vw, 120px);        /* 120 */
  --gap: clamp(14px, 1.042vw, 20px);            /* 20 */
  --radius: 10px;
  --radius-sm: 6px;
  --max: 1920px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--section); }
.band--white { background: var(--white); }
.band--cream { background: var(--cream); }
.band--olive { background: var(--olive); color: var(--white); }
.band--sand { background: linear-gradient(90deg, #E1D4C1 0%, #CFC6B8 50%, #BAB7AE 100%); }
.band--grey { background: var(--sand-light); }   /* the Lediga tjänster band is palette 1.3 in the mockup */
.band--tight { padding-block: clamp(40px, 4.2vw, 80px); }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.display--hero { font-size: var(--fs-hero); overflow-wrap: anywhere; }
.display--xl { font-size: var(--fs-display-xl); }
.display--card { font-size: var(--fs-card); }
.display--olive { color: var(--olive); }
.h2 { font-family: var(--sans); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; }
.h3 { font-family: var(--sans); font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; }
.lead { font-family: var(--serif); font-style: italic; font-size: var(--fs-lead); line-height: 1.28; }
.lead--sm { font-size: var(--fs-lead); }
.lead--lg { font-size: var(--fs-lead-lg); line-height: 1.25; }
.lead--upright { font-style: normal; }
.serif { font-family: var(--serif); }
.body-lg { font-size: var(--fs-body-lg); line-height: 1.333; }
.body-serif { font-family: var(--serif); font-size: var(--fs-body-lg); line-height: 1.333; }
.muted { color: var(--ink-soft); }
.label {
  font-family: var(--sans); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: .12em; text-transform: uppercase;
}
.caps { font-family: var(--sans); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.measure { max-width: 15em; }
.measure-wide { max-width: 48em; }
.stack > * + * { margin-top: 1em; }
.stack-lg > * + * { margin-top: 1.6em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: clamp(180px, 15.625vw, 300px); min-height: clamp(40px, 2.917vw, 56px); padding: .5em 2em;   /* 300 × 56 */
  border-radius: 999px; background: var(--white); color: var(--olive);
  font-family: var(--sans); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--olive); color: var(--white); }   /* olive, not brass: white on brass is 3.1:1 */
.btn--sm { min-width: clamp(150px, 12.5vw, 240px); min-height: clamp(36px, 2.292vw, 44px); padding: .4em 1.6em; }   /* 240 × 44 */
.btn--lg { min-width: clamp(200px, 18vw, 345px); }
.btn--olive { background: var(--olive); color: var(--white); }
.btn--olive:hover { background: var(--brown); }
.more {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: .12em; text-transform: uppercase;
}
.more::after { content: "+"; font-weight: 400; }
.more:hover { text-decoration: underline; text-underline-offset: .25em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
}
.site-header .wrap {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: clamp(64px, 6.51vw, 125px);
}
.nav { display: flex; gap: clamp(14px, 2.344vw, 45px); font-size: var(--fs-nav); font-weight: 600; }
.nav--right { justify-content: flex-end; align-items: center; }
.nav a { padding: .4em 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav .btn { min-width: clamp(90px, 6.25vw, 120px); min-height: clamp(26px, 1.563vw, 30px); padding: .2em 1.4em; border: 0; letter-spacing: 0; text-transform: none; font-size: inherit; color: var(--black); }
.nav .btn:hover { color: var(--white); border-bottom-color: transparent; }
.brand { display: block; width: clamp(44px, 3.65vw, 70px); color: var(--brass); }
.brand svg { width: 100%; height: auto; }
.site-header--olive { background: var(--olive); color: var(--white); }
.menu-btn { display: none; width: 44px; height: 44px; justify-self: end; }
.menu-btn span { display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .site-header .wrap { grid-template-columns: auto 1fr auto; }
  .brand { order: -1; }
  .menu-btn { display: block; }
  .nav { display: none; }
  .nav { order: 3; }
  .site-header.is-open .nav {
    display: flex; flex-direction: column; gap: 0; align-items: stretch; justify-content: flex-start;
    grid-column: 1 / -1; padding: 0; font-size: 18px;
  }
  .site-header.is-open .nav--left { padding-top: 8px; }
  .site-header.is-open .nav--right { padding-bottom: 24px; }
  .site-header.is-open .nav a { padding: .7em 0; border-bottom: 1px solid var(--line); text-align: left; }
  .site-header.is-open .nav .btn { align-self: flex-start; margin-top: 20px; padding: .6em 2em; border: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--cream); overflow: hidden; }
.hero .wrap { width: 100%; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.05) 45%, rgba(0,0,0,.45) 100%);
}
.hero--home, .hero--page { min-height: clamp(520px, 56.51vw, 1085px); display: flex; align-items: flex-end; }   /* 1085 */
.hero--home .hero__content { padding-block: clamp(40px, 4.688vw, 90px); }      /* 90 under the button */
.hero--home .btn { margin-top: clamp(28px, 4.167vw, 80px); }                   /* 80 title → button */
.hero--page .hero__content { padding-block: clamp(40px, 9.01vw, 173px); }      /* OM OSS sits 173 above the bottom */
.hero--image { margin-top: 0; }
.hero--image img { width: 100%; height: clamp(300px, 49.32vw, 947px); object-fit: cover; }

/* Olive intro band under the hero: 218 tall, seal 194 wide overlapping the hero by 39px */
.intro-band { background: var(--olive); color: var(--white); }
.intro-band .wrap {
  position: relative; display: flex; align-items: center;
  min-height: clamp(140px, 11.35vw, 218px);
}
.intro-band .lead { max-width: 30em; padding-right: clamp(120px, 12vw, 230px); }
.intro-band .stamp { position: absolute; right: var(--gutter); top: clamp(-39px, -2.03vw, -20px); width: clamp(110px, 10.1vw, 194px); color: var(--white); }
.intro-band .stamp svg { width: 100%; height: auto; }

/* ---------- Audience cards: 705 × 665, content bottom-aligned ---------- */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.563vw, 30px); max-width: 1440px; margin-inline: auto; }
.pcard {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(360px, 34.64vw, 665px); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center; color: var(--cream); padding: clamp(24px, 3vw, 56px) clamp(20px, 2.1vw, 40px) clamp(32px, 3.49vw, 67px);
}
.pcard img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.28); }
.pcard h2 { line-height: 1; }
.pcard p { font-family: var(--serif); font-size: var(--fs-body-md); line-height: 1.4; color: var(--white); max-width: 21em; margin-top: clamp(24px, 4.5vw, 86px); }
.pcard .btn { margin-top: clamp(20px, 2.083vw, 40px); }

/* ---------- Video block ---------- */
.video {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  aspect-ratio: 16 / 9; background: var(--olive);
}
.video img, .video video { width: 100%; height: 100%; object-fit: cover; }
.video--tall { aspect-ratio: 722 / 522; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(56px, 5.5vw, 104px); height: clamp(56px, 5.5vw, 104px);
  color: var(--white); filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
  transition: transform .2s;
}
.play:hover { transform: translate(-50%, -50%) scale(1.08); }
.play svg { width: 100%; height: 100%; }
.video.is-playing .play, .video.is-playing img { display: none; }

/* Products band on the home page: heading 50 below the band top, 54 above the video */
.products-band { padding-top: clamp(32px, 2.604vw, 50px); padding-bottom: clamp(40px, 3.33vw, 64px); }
.products-band > .wrap:first-child .h2 { margin-bottom: clamp(20px, 2.813vw, 54px); }
.products-band .carousel-wrap { margin-top: clamp(48px, 5.365vw, 103px); }

/* ---------- Section headings ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); margin-bottom: clamp(24px, 3.594vw, 69px); }

/* ---------- Product carousel: intro column, products start at x=720 ---------- */
.carousel-section { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(24px, 6.25vw, 120px); align-items: start; }
.carousel-intro .btn { margin-top: clamp(20px, 2.5vw, 48px); }
.carousel { position: relative; }
.track {
  display: flex; gap: clamp(12px, .833vw, 16px); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter);
}
.track::-webkit-scrollbar { display: none; }
.track > * { flex: 0 0 clamp(220px, 24.17vw, 464px); scroll-snap-align: start; }
.arrows { display: flex; gap: 14px; }
.arrow { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.arrow:hover { background: rgba(0,0,0,.08); }
.arrow svg { width: 14px; height: 14px; }

/* ---------- Product card ---------- */
.product { display: block; }
.product__img { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--sand-light); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product:hover .product__img img { transform: scale(1.03); }
.product__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: clamp(10px, .625vw, 12px); font-size: var(--fs-body); line-height: 1.7; }
.product__name { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.product__mat { color: var(--ink); }
.swatches { display: flex; gap: 6px; padding-top: .5em; }
.swatches span { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }

/* ---------- Find a funeral home: 481 tall band ---------- */
.band--sand.finder-band { padding-block: clamp(56px, 6.2vw, 119px) clamp(56px, 6vw, 115px); }
.finder { text-align: center; }
.finder .h2 { font-size: var(--fs-h3); }
.finder p { margin-top: clamp(16px, 2.24vw, 43px); font-size: var(--fs-body-lg); }
.finder form {
  display: flex; align-items: center; gap: 12px;
  max-width: 835px; margin: clamp(24px, 3vw, 58px) auto 0; padding: 0 10px 0 24px;
  background: var(--white); border-radius: 999px; min-height: clamp(48px, 3.438vw, 66px);
}
.finder svg { width: clamp(18px, 1.3vw, 26px); height: clamp(18px, 1.3vw, 26px); flex: none; }
.finder input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-weight: 600; font-size: clamp(14px, 1.354vw, 26px); text-align: center; padding: 12px 0; }
.finder input::placeholder { color: #767676; }
.finder input:focus { outline: none; }
.finder button { font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .6em 1.2em; border-radius: 999px; }
.finder button:hover { background: var(--cream); }

/* ---------- Feature: image 600 | gap 120 | text; sub-columns sit at the image's bottom ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: clamp(24px, 6.25vw, 120px); align-items: stretch; }
.feature--rev > :first-child { order: 2; }
.feature__img { border-radius: var(--radius-sm); overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 600 / 896; }
.feature__body { display: flex; flex-direction: column; }
.feature__body > .display { font-size: var(--fs-hero); line-height: 1.2; }
.feature__body > .lead { margin-top: clamp(20px, 3.02vw, 58px); max-width: 20em; color: var(--olive); }
.feature__body > .btn { margin-top: clamp(20px, 2.865vw, 55px); align-self: flex-start; }
.feature__sub { margin-top: auto; padding-top: clamp(40px, 5vw, 96px); padding-bottom: clamp(0px, 2.6vw, 50px); }
.subcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.563vw, 30px); color: var(--olive); }
.subcols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.subcol { border-top: 1px solid var(--line); padding-top: clamp(14px, 1.3vw, 25px); }
.subcol h3 { font-family: var(--sans); font-weight: 500; font-size: var(--fs-body-lg); letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.subcol p { margin-top: clamp(12px, 2.2vw, 42px); font-size: var(--fs-body); line-height: 1.35; max-width: 23em; }
.subcol .more { margin-top: .15em; }

/* ---------- Quality band (olive): photo column 1080–1680, pulled 55px up over the video ---------- */
.quality { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 31.25vw, 600px); column-gap: clamp(24px, 6.25vw, 120px); padding-right: clamp(0px, 6.25vw, 120px); align-items: start; }
.quality__img { border-radius: var(--radius-sm); overflow: hidden; margin-top: clamp(-55px, -2.865vw, -20px); }
.quality__img img { aspect-ratio: 602 / 634; width: 100%; object-fit: cover; }
.quality__body { padding-top: clamp(40px, 5.417vw, 104px); }
.quality__body .display { font-size: var(--fs-hero); }
.quality__body .lead { margin-top: clamp(20px, 3.281vw, 63px); max-width: 20em; }
.quality__body .btn { margin-top: clamp(20px, 3.07vw, 59px); }

/* ---------- Split cards (Om oss / Jobba): 1680 × 627 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; min-height: clamp(300px, 32.66vw, 627px); }
.split + .split { margin-top: clamp(12px, .885vw, 17px); }
.split--cream { background: var(--cream); color: var(--black); }
.split--grey { background: var(--grey); color: var(--black); }
.split__body { display: flex; flex-direction: column; padding: clamp(28px, 3.125vw, 60px) clamp(28px, 3.125vw, 60px) clamp(32px, 3.75vw, 72px); }
.split__body p { margin-top: auto; padding-top: clamp(24px, 3vw, 60px); font-size: var(--fs-body-lg); line-height: 1.333; max-width: 22em; }
.split__body .more { margin-top: clamp(16px, 2.76vw, 53px); font-size: var(--fs-body); }
.split .video { border-radius: 0; aspect-ratio: auto; height: 100%; }

/* ---------- Footer: 860 tall ---------- */
.site-footer { background: var(--olive); color: var(--white); padding-block: clamp(56px, 6.406vw, 123px) clamp(40px, 5.68vw, 109px); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 3vw, 60px); align-items: start; }
.site-footer .links { font-size: var(--fs-body-lg); line-height: 1.667; }
.site-footer .links a:hover { text-decoration: underline; text-underline-offset: .2em; }
.site-footer .links .login { text-decoration: underline; text-underline-offset: .2em; }
.site-footer .logo { width: clamp(120px, 10.42vw, 200px); }
.site-footer .logo svg { width: 100%; height: auto; }
.site-footer .contact { display: grid; grid-template-columns: clamp(200px, 16.67vw, 320px) auto; column-gap: 0; row-gap: 24px; justify-content: end; margin-right: clamp(-20px, -1.04vw, 0px); padding-top: clamp(0px, 19.7vw, 378px); font-size: var(--fs-body); line-height: 1.5; }
.site-footer .contact a { text-decoration: underline; text-underline-offset: .15em; }
.site-footer .contact a:hover { color: var(--sand-light); }
.site-footer .contact p + p { margin-top: 1.5em; }
.site-footer .contact .mail a { text-decoration: none; }

/* ---------- Product overview page: white panel 1680 × 1368 ---------- */
.catalog { background: var(--white); padding: clamp(16px, 2.656vw, 51px) clamp(12px, 1.35vw, 26px) clamp(16px, 2.76vw, 53px) clamp(12px, 1.25vw, 24px); display: grid; grid-template-columns: minmax(160px, 292px) minmax(0, 1fr); gap: clamp(16px, 1.77vw, 34px); border-radius: var(--radius-sm); }
.catalog__nav { font-family: var(--serif); font-size: var(--fs-body-md); line-height: 1.2; }
.catalog__nav a { display: block; padding: 1.05em 0; border-bottom: 1px solid var(--line); }
.catalog__nav a:hover, .catalog__nav a[aria-current="page"] { color: var(--rust); }
.catalog__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.458vw, 28px); }
.tile { position: relative; display: block; overflow: hidden; }
.tile--wide { grid-column: 1 / -1; }
.tile img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 16 / 9; }
.tile__label { display: flex; align-items: center; justify-content: center; min-height: clamp(44px, 3.9vw, 75px); background: var(--olive); color: var(--white); text-align: center; font-family: var(--serif); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: var(--fs-body); padding: .6em; }
.tile:hover .tile__label { background: var(--brown); }

/* Hero carousel (products) */
.hero-slider { position: relative; margin-top: 0; }
.hero-slider .slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-slider .slides::-webkit-scrollbar { display: none; }
.hero-slider .slides > * { flex: 0 0 100%; scroll-snap-align: start; }
.hero-slider img { width: 100%; height: clamp(300px, 49.22vw, 945px); object-fit: cover; }
.hero-slider .arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; }
.hero-slider .arrow--prev { left: calc(var(--gutter) / 2 - 20px); }
.hero-slider .arrow--next { right: calc(var(--gutter) / 2 - 20px); }
.hero-slider .arrow:hover { background: rgba(0,0,0,.08); }
@media (max-width: 700px) {
  .hero-slider .arrow--prev { left: 4px; } .hero-slider .arrow--next { right: 4px; }
  .hero-slider .arrow { background: rgba(255,255,255,.6); }
}

/* ---------- Product listing page ---------- */
.tabs { display: flex; justify-content: center; gap: clamp(16px, 4.5vw, 87px); flex-wrap: wrap; border-bottom: 1px solid var(--line-strong); padding-bottom: clamp(24px, 4vw, 77px); margin-top: clamp(48px, 11.4vw, 219px); }
.tabs button { font-size: var(--fs-body-lg); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: #7f7f7f; padding: .3em 0; border-bottom: 2px solid transparent; line-height: 1.2; }
.tabs button:hover { color: var(--black); }
.tabs button[aria-selected="true"] { color: var(--black); border-bottom-color: var(--black); }
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 18.75vw)) minmax(0, 1fr); column-gap: 0; row-gap: var(--gap); padding-block: clamp(20px, 2.083vw, 40px) clamp(32px, 4.167vw, 80px); border-bottom: 1px solid var(--line-strong); font-size: var(--fs-body); }
.filters h3 { font-size: var(--fs-body); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: clamp(16px, 1.927vw, 37px); line-height: 1.35; }
.filters label { display: flex; align-items: center; gap: .55em; line-height: 1.5; cursor: pointer; color: var(--ink-soft); }
.filters label:hover, .filters input:checked + span { color: var(--black); }
.filters input { appearance: none; width: 12px; height: 12px; border: 1px solid var(--ink-soft); border-radius: 50%; margin: 0; flex: none; }
.filters input:checked { background: var(--black); border-color: var(--black); }
.filters .filter-toggle { font-size: var(--fs-body); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; align-self: start; line-height: 1.35; }
.filters .filter-toggle::after { content: " +"; }
.filters .reset { display: block; margin-top: 1.2em; text-decoration: underline; color: var(--ink-soft); font-size: var(--fs-body); }
.filters .reset:hover { color: var(--black); }
.count { margin-top: clamp(20px, 2.5vw, 48px); font-size: var(--fs-body); color: var(--ink-soft); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 6.1vw, 117px) var(--gap); margin-top: clamp(24px, 3.3vw, 64px); }
.grid-4 .product__meta { padding-inline: clamp(12px, 1.563vw, 30px); margin-top: clamp(12px, .885vw, 17px); }
.empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--ink-soft); }
@media (max-width: 900px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .filter-toggle { grid-column: 1 / -1; }
  .filters:not(.is-open) > :not(:first-child) { display: none; }
}

/* ---------- Article pages (Ceremonin / Kvalitet / Om oss / Jobb) ---------- */
.article-head .display { margin-bottom: clamp(24px, 4.95vw, 95px); }
.article-head .lead { max-width: 36em; }
.prose { max-width: 23.5em; font-size: var(--fs-body-lg); line-height: 1.333; }
.prose p + p { margin-top: 1.333em; }
.prose--serif { font-family: var(--serif); font-size: var(--fs-body-lg); line-height: 1.333; max-width: 24.5em; }
.indent { padding-left: clamp(0px, 6.25vw, 120px); }
.h3 + .prose, .h3 + .prose--serif, .h3 + div > .prose { margin-top: clamp(20px, 2.4vw, 46px); }
.two-col { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: clamp(24px, 6.25vw, 120px); align-items: start; }
.two-col--img-right { grid-template-columns: minmax(0, 1fr) minmax(0, 720px); }
.two-col__img { width: 100%; border-radius: var(--radius-sm); overflow: hidden; }
.two-col__img img { width: 100%; object-fit: cover; }
.two-col .h3 + * { margin-top: clamp(20px, 4.531vw, 87px); }
.img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, .938vw, 18px); max-width: 1440px; margin-inline: auto; }
.img-pair img { width: 100%; aspect-ratio: 711 / 832; object-fit: cover; border-radius: var(--radius-sm); }
.img-stack { display: grid; gap: clamp(14px, 1.406vw, 27px); }
.img-stack img { width: 100%; aspect-ratio: 722 / 522; object-fit: cover; border-radius: var(--radius-sm); }
.statement { text-align: center; max-width: 27.5em; margin-inline: auto; font-size: var(--fs-statement); line-height: 1.2; }

.topic { display: grid; grid-template-columns: clamp(200px, 31.25vw, 600px) minmax(0, 1fr); border-radius: var(--radius-sm); overflow: hidden; }
.topic + .topic { margin-top: clamp(20px, 1.98vw, 38px); position: relative; }
.topic + .topic::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * clamp(20px, 1.98vw, 38px) / 2); border-top: 1px solid var(--line); }
.topic__img img { width: 100%; height: 100%; min-height: clamp(260px, 37.66vw, 723px); object-fit: cover; }
.topic__body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(32px, 4vw, 80px); }
.topic__body .h2 { font-size: var(--fs-h2); }
.topic__body p { margin-top: clamp(16px, 3.542vw, 68px); max-width: 27.5em; font-size: var(--fs-body-lg); line-height: 1.333; }
.topic--sand { background: var(--sand); }
.topic--sand-light { background: var(--cream); }   /* the mockup's second panel is the page colour */

.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cards-4 img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.cards-4 h3 { margin-top: clamp(14px, 1.354vw, 26px); font-size: var(--fs-body-md); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 1.25; color: var(--olive); }
.cards-4 p { margin-top: clamp(14px, 2.135vw, 41px); font-size: var(--fs-body); line-height: 1.35; color: var(--olive); }
.cards-4 p + p { margin-top: 1.35em; }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 600px)); gap: clamp(32px, 12.5vw, 240px); justify-content: center; }
.person { display: block; }
.person img { width: 100%; max-width: 600px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.person blockquote { margin: clamp(24px, 2.97vw, 57px) 0 0; font-family: var(--serif); font-style: italic; font-size: var(--fs-body-lg); line-height: 1.333; max-width: 20em; }
.person cite { display: block; margin-top: clamp(16px, 2.135vw, 41px); font-family: var(--sans); font-style: normal; font-size: var(--fs-med); }
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.125vw, 60px); margin-top: clamp(24px, 3.7vw, 71px); }
.themes > div { border-top: 1px solid var(--line); padding-top: clamp(20px, 4.3vw, 83px); }
.themes h3 { font-size: var(--fs-med); font-weight: 400; line-height: 1.2; }
.themes p { margin-top: clamp(14px, 2.45vw, 47px); font-size: var(--fs-body-md); line-height: 1.25; max-width: 20em; }

.jobs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 960px); gap: 0; align-items: start; }
.jobs__intro p { margin-top: clamp(16px, 2.76vw, 53px); max-width: 15em; font-size: var(--fs-med); line-height: 1.3; }
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5.833vw, 112px) clamp(20px, 1.875vw, 36px); margin-top: clamp(0px, 5.625vw, 108px); }
.job { display: block; }
.job__img { position: relative; aspect-ratio: 462 / 509; overflow: hidden; border-radius: var(--radius-sm); background: var(--brown); }
.job__img img { width: 100%; height: 100%; object-fit: cover; }
.job__tag { position: absolute; left: 0; top: 0; background: var(--brown); color: var(--white); font-size: var(--fs-ui); font-weight: 600; letter-spacing: .06em; padding: .45em 1.85em; }
.job__title { margin-top: clamp(16px, 1.667vw, 32px); font-size: var(--fs-ui); font-weight: 600; letter-spacing: .04em; line-height: 1.667; }
.job__loc { font-size: var(--fs-ui); line-height: 1.667; }
.job .btn { margin-top: clamp(16px, 2.24vw, 43px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); margin-top: clamp(32px, 3.5vw, 66px); }
.contact-card { background: var(--white); border-radius: var(--radius-sm); padding: clamp(24px, 2.6vw, 50px); font-size: var(--fs-body); line-height: 1.6; }
.contact-card h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); margin-bottom: .6em; }
.contact-card a { text-decoration: underline; text-underline-offset: .15em; }
.contact-card a:hover { color: var(--rust); }
.contact-card .label { display: block; margin-top: 1.2em; margin-bottom: .3em; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .carousel-section { grid-template-columns: 1fr; }
  .quality { grid-template-columns: 1fr; padding-right: 0; }
  .quality__img { justify-self: start; margin-top: var(--gap); width: min(100%, 600px); }
  .quality__body { padding-top: 0; }
  .site-footer .contact { padding-top: 0; }
  .jobs { grid-template-columns: 1fr; }
  .job-grid { margin-top: var(--section); }
}
@media (max-width: 900px) {
  .cards-2, .two-col, .two-col--img-right, .img-pair, .people, .split { grid-template-columns: 1fr; }
  .split .video { aspect-ratio: 16 / 10; }
  .feature, .feature--rev { grid-template-columns: 1fr; }
  .feature--rev > :first-child { order: 0; }
  .feature__img img { aspect-ratio: 4 / 3; }
  .subcols { grid-template-columns: 1fr; }
  .grid-4, .cards-4 { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .catalog__nav { display: flex; flex-wrap: wrap; gap: 0 1.2em; font-size: var(--fs-body); }
  .catalog__nav a { border: 0; padding: .4em 0; }
  .topic { grid-template-columns: 1fr; }
  .topic__img img { min-height: 0; aspect-ratio: 16 / 10; }
  .themes { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .site-footer .logo { order: -1; margin-bottom: 16px; }
  .site-footer .contact { justify-content: start; }
  .intro-band .wrap { flex-direction: column; align-items: flex-start; padding-block: 32px; gap: 24px; }
  .intro-band .lead { padding-right: 0; }
  .intro-band .stamp { position: static; }
  .hero--page .hero__content { padding-block: 40px; }
  .indent { padding-left: 0; }
}
@media (max-width: 560px) {
  .grid-4, .cards-4, .job-grid, .catalog__grid { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .site-footer .contact { grid-template-columns: 1fr; }
  .btn { min-width: 0; }
  .finder form { padding-left: 16px; }
  .finder button { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
