/* ==========================================================
   MOSTEK – stylesheet (static HTML + CSS)
   ========================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --paper: #f8f6f2;
  --paper-soft: #f3efe7;
  --white: #fffefa;
  --green-deep: #445a46;
  --green-mid: #708c69;
  --earth: #9b8265;
  --accent: #b8945a;
  --text: #30372f;
  --text-soft: #687067;
  --line: rgba(68, 90, 70, 0.17);
  --shadow: 0 18px 42px rgba(48, 55, 47, 0.08);

  --content-width: 1180px;
  --gutter: max(24px, calc((100vw - var(--content-width)) / 2));
  --space-2xs: 6px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 18px;
  --space-xl: 24px;
  --space-stack: var(--space-xl);
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 72px;
  --space-section: 96px;
  --space-section-mobile: 72px;
  --space-section-home: 150px;
  --space-section-home-mobile: 100px;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body-family: "Inter", Arial, sans-serif;

  --font-display: clamp(58px, 7.4vw, 104px);
  --font-display-mobile: 52px;
  --font-body-hero: clamp(20px, 2.2vw, 28px);
  --font-body-hero-mobile: 20px;
  --font-h1: clamp(56px, 7vw, 88px);
  --font-h2: clamp(54px, 6vw, 78px);
  --font-h2-mobile: 54px;
  --font-card-title: 33px;
  --font-card-title-story: 48px;
  --font-card-title-story-mobile: 40px;
  --font-body: 16px;
  --font-body-small: 14px;
  --font-body-compact: 14px;
  --font-body-fine: 13px;
  --font-body-micro: 11px;
  --font-latin: 18px;
  --font-nav: 12px;
  --font-nav-mobile: 13px;
  --font-button: 10px;
  --font-button-small: 9px;
  --font-tag: 12px;
  --font-label: 11px;
  --font-meta: 11px;
  --font-number: 17px;
  --font-footer: 10px;
  --font-footer-meta: 9px;
  --font-footer-brand: 24px;
  --font-group-title: 34px;
  --font-search-result: 19px;
  --font-search-result-icon: 17px;
  --font-search-empty: 24px;
  --font-search-icon: 13px;
  --font-search-result-icon-large: 21px;

  --line-display: 0.92;
  --line-display-mobile: 0.96;
  --line-heading: 1;
  --line-heading-page: 1.05;
  --line-heading-compact: 0.95;
  --line-body-hero: 1.45;
  --line-body: 1.8;
  --line-body-standard: 1.7;
  --line-body-compact: 1.5;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-body-family); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
::selection { background: var(--green-mid); color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Image that fills its container */
.media { position: relative; overflow: hidden; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.page { min-height: 100vh; overflow-x: clip; background: var(--paper); color: var(--text); }

#top, #finn, #verdener, #butikk, #planteatlas, #oppskrifter, #opplev, #guider { scroll-margin-top: 84px; }

/* ==========================================================
   TOP BAR
   ========================================================== */
.topbar-right { display: flex; align-items: center; gap: 22px; }

/* Language switch */
.lang { display: inline-flex; align-items: center; gap: 2px; font-size: var(--font-label); font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; }
.lang a { padding: 4px 6px; opacity: 0.6; border-bottom: 1px solid transparent; transition: opacity 150ms ease; }
.lang a:hover, .lang a:focus-visible { opacity: 1; outline: 0; }
.lang a[aria-current] { opacity: 1; border-color: var(--accent); }
.sok-actions { display: flex; align-items: center; gap: 22px; }
.sok-actions .lang { color: var(--green-deep); }

.topbar {
  min-height: 34px;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--green-deep);
  color: rgba(255, 254, 250, 0.75);
  font-size: var(--font-label);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* ==========================================================
   HEADER
   ========================================================== */
.header-slot { height: 126px; position: sticky; top: 0; z-index: 50; pointer-events: none; }
.header {
  width: 100%; height: 126px;
  position: absolute; inset: 0 0 auto;
  pointer-events: auto;
  background: rgba(248, 246, 242, 0.97);
  border-bottom: 1px solid transparent;
  transition: height 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
/* blur lives on a pseudo-element so it doesn't break the fixed mobile backdrop */
.header::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: opacity 220ms ease; }
.header-inner {
  width: min(calc(100% - 48px), var(--content-width)); height: 100%;
  position: relative; z-index: 3;
  margin: 0 auto;
  display: grid; grid-template-columns: 155px minmax(0, 1fr); align-items: center; gap: 30px;
}
.logo { width: 155px; overflow: hidden; opacity: 1; transition: width 200ms ease, opacity 150ms ease; }
.logo img { width: 155px; height: auto; }
.nav-desktop {
  min-width: 0;
  display: flex; align-items: center; justify-content: flex-end;
  gap: clamp(9px, 1vw, 18px);
  white-space: nowrap;
}
.nav-desktop a {
  padding: 10px 0;
  color: var(--green-deep);
  font-size: var(--font-nav); font-weight: 600; letter-spacing: 0.075em; text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.nav-desktop a:hover, .nav-desktop a:focus-visible, .nav-desktop a.is-active { border-color: var(--accent); outline: 0; }

.header.is-collapsed { height: 62px; border-color: var(--line); box-shadow: 0 9px 26px rgba(48, 55, 47, 0.06); }
.header.is-collapsed::before { opacity: 1; }
.header.is-collapsed .header-inner { grid-template-columns: 0 minmax(0, 1fr); }
.header.is-collapsed .logo { width: 0; opacity: 0; pointer-events: none; }
.header.is-collapsed .nav-desktop { justify-content: center; }

/* Mobile menu – pure CSS (checkbox + label) */
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-button, .menu-backdrop, .menu-mobile { display: none; }
@media (min-width: 1181px) { .menu-toggle { display: none; } }

@media (max-width: 1180px) {
  .header-slot, .header { height: 100px; }
  .header-inner { grid-template-columns: 155px auto; justify-content: space-between; }
  .nav-desktop { display: none; }
  .menu-button {
    min-width: 70px; min-height: 42px; padding: 0;
    display: flex; align-items: center; justify-content: flex-end; gap: 10px;
    color: var(--green-deep);
    font-size: var(--font-button); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    cursor: pointer; user-select: none;
  }
  .menu-button i, .menu-button i::before, .menu-button i::after { width: 19px; height: 1px; display: block; background: currentColor; }
  .menu-button i { position: relative; }
  .menu-button i::before, .menu-button i::after { content: ""; position: absolute; left: 0; }
  .menu-button i::before { top: -6px; }
  .menu-button i::after { top: 6px; }
  .menu-toggle:focus-visible ~ .header-inner .menu-button { outline: 1px solid var(--accent); outline-offset: 6px; }

  .header.is-collapsed { height: 62px; }
  .header.is-collapsed .header-inner { grid-template-columns: 0 auto; }

  .menu-toggle:checked ~ .menu-backdrop { position: fixed; inset: 0; z-index: 1; display: block; background: rgba(30, 38, 29, 0.18); }
  .menu-toggle:checked ~ .menu-mobile { display: block; }
  .menu-mobile {
    position: absolute; top: 100px; right: 0; z-index: 2;
    width: min(390px, calc(100vw - 24px));
    padding: 22px 24px 28px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .header.is-collapsed .menu-mobile { top: 62px; }
  .menu-mobile nav { display: flex; flex-direction: column; }
  .menu-mobile a {
    padding: 13px 0;
    color: var(--green-deep);
    font-size: var(--font-nav-mobile); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
    border-bottom: 1px solid var(--line);
  }
  .menu-mobile a:last-child { color: var(--earth); border-bottom: 0; }
  .menu-mobile a:hover, .menu-mobile a:focus-visible, .menu-mobile a.is-active { color: var(--earth); outline: 1px solid var(--accent); outline-offset: 3px; }
}
@media (max-width: 680px) {
  .header-slot, .header { height: 92px; }
  .header-inner { width: calc(100% - 32px); grid-template-columns: 132px auto; }
  .logo, .logo img { width: 132px; }
  .menu-mobile { top: 92px; }
  .header.is-collapsed { height: 60px; }
  .header.is-collapsed .header-inner { grid-template-columns: 0 auto; }
  .header.is-collapsed .menu-mobile { top: 60px; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero { height: clamp(620px, 78svh, 850px); position: relative; display: grid; place-items: center; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 31, 23, 0.1), rgba(22, 31, 23, 0.56)); }
.hero-content { width: min(calc(100% - 48px), 980px); position: relative; z-index: 2; text-align: center; color: var(--white); }
.label, .label-light { font-size: var(--font-label); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.label { margin: var(--space-xs) 0 0; color: var(--earth); }
.label-light { margin: 0 0 var(--space-stack); color: rgba(255, 255, 255, 0.75); }
.hero h1 {
  max-width: 940px; margin: 0 auto;
  font-family: var(--font-heading); font-size: var(--font-display); font-weight: 500;
  line-height: var(--line-display); letter-spacing: -0.035em;
}
.hero-lead {
  max-width: 650px; margin: 28px auto 36px;
  font-family: var(--font-heading); font-size: var(--font-body-hero); line-height: var(--line-body-hero);
  color: rgba(255, 255, 255, 0.9);
}
.hero-buttons { display: flex; justify-content: center; gap: var(--space-sm); }

/* ---------- Buttons ---------- */
.btn {
  min-height: 48px; padding: 0 25px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--white);
  font-size: var(--font-button); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.btn-light { background: var(--white); color: var(--green-deep); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-ghost { color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--green-deep); }
.btn-dark { margin-top: 58px; background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }

.editorial-link {
  margin-top: 38px; padding-bottom: var(--space-2xs);
  display: inline-flex; gap: 36px;
  border-bottom: 1px solid var(--accent);
  color: var(--green-deep);
  font-size: var(--font-button); font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
}

/* ==========================================================
   SEARCH (home page)
   ========================================================== */
.search-section { position: relative; z-index: 12; padding: var(--space-section) var(--space-xl) 112px; background: var(--white); }
.search-inner { width: min(100%, 860px); margin: 0 auto; text-align: center; }
.kicker { margin: 0 0 14px; color: var(--earth); font-size: var(--font-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.search-inner h2 {
  margin: 0; color: var(--green-deep);
  font-family: var(--font-heading); font-size: var(--font-h2); font-weight: 500;
  line-height: var(--line-heading); letter-spacing: -0.025em;
}
.search-subtitle { margin: var(--space-lg) auto 36px; color: var(--text-soft); font-size: var(--font-body); line-height: var(--line-body-standard); }
.search-root { position: relative; z-index: 1; text-align: left; }
.search-form {
  height: 66px; padding: 0 20px;
  display: flex; align-items: center;
  background: var(--paper);
  border: 1px solid transparent; border-radius: 18px;
  box-shadow: 0 12px 36px rgba(48, 55, 47, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.search-form:focus-within { border-color: rgba(68, 90, 70, 0.28); box-shadow: 0 18px 45px rgba(48, 55, 47, 0.12); }
.search-icon { width: 18px; height: 18px; flex: 0 0 auto; position: relative; border: 1.6px solid var(--green-deep); border-radius: 50%; opacity: 0.78; }
.search-icon::after {
  content: ""; position: absolute; width: 7px; height: 1.5px; right: -5px; bottom: -2px;
  background: var(--green-deep); transform: rotate(45deg); border-radius: 2px;
}
.search-form input {
  min-width: 0; flex: 1; height: 100%; padding: 0 var(--space-lg);
  border: 0; outline: 0; background: transparent; color: var(--text); font-size: var(--font-body);
}
.search-form input::placeholder { color: #8c928b; }
.search-form input::-webkit-search-cancel-button { display: none; }
.enter-hint {
  padding: var(--space-2xs) 9px;
  border: 1px solid var(--line); border-radius: 7px;
  color: var(--text-soft); font-size: var(--font-label); letter-spacing: 0.07em; text-transform: uppercase;
}
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; right: 0; z-index: 30;
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid rgba(68, 90, 70, 0.1); border-radius: 18px;
  box-shadow: 0 24px 70px rgba(42, 53, 43, 0.16);
}
.dropdown[hidden] { display: none; }
.panel-heading { margin: 0 0 var(--space-md); color: var(--green-deep); font-size: var(--font-meta); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2xs); }
.topics button {
  min-height: 40px; padding: var(--space-xs) var(--space-sm);
  display: flex; align-items: center; gap: 9px;
  border: 0; border-radius: 10px; background: transparent; color: var(--text);
  cursor: pointer; text-align: left;
}
.topics button:hover, .topics button:focus-visible { background: var(--paper-soft); outline: 0; }
.quick-links { margin-top: var(--space-stack); padding-top: var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-xs); border-top: 1px solid var(--line); }
.quick-links a { padding: 9px 14px; border-radius: 999px; background: var(--paper-soft); color: var(--green-deep); font-size: var(--font-tag); font-weight: 500; }
.quick-links a:hover { background: #e9e4da; }
.suggestions { display: grid; gap: 2px; }
.suggestion {
  min-height: 57px; padding: var(--space-xs) 10px;
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px;
  border-radius: 11px;
}
.suggestion:hover, .suggestion:focus-visible { background: var(--paper-soft); outline: 0; }
.suggestion-icon { font-size: var(--font-search-result-icon); }
.suggestion small, .suggestion strong { display: block; }
.suggestion small { margin-bottom: 3px; color: var(--earth); font-size: var(--font-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.suggestion strong { color: var(--text); font-family: var(--font-heading); font-size: var(--font-search-result); font-weight: 500; }
.arrow { color: var(--earth); font-size: var(--font-search-icon); }
.all-results {
  width: 100%; margin-top: 14px; padding: 17px 10px 0;
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--green-deep); font-size: var(--font-meta); font-weight: 600; letter-spacing: 0.06em;
}
.empty { padding: var(--space-2xl) var(--space-sm); text-align: center; }
.empty strong, .empty span { display: block; }
.empty strong { color: var(--green-deep); font-family: var(--font-heading); font-size: var(--font-search-empty); font-weight: 500; }
.empty span { margin-top: var(--space-xs); color: var(--text-soft); font-size: var(--font-body-compact); }

@media (max-width: 680px) {
  .search-section { padding: var(--space-section-mobile) var(--space-md) 88px; }
  .search-subtitle { max-width: 330px; margin-bottom: var(--space-2xl); }
  .search-form { height: 60px; padding: 0 17px; }
  .search-form input { padding: 0 14px; font-size: var(--font-body-small); }
  .enter-hint { display: none; }
  .dropdown { padding: var(--space-lg); }
  .topics { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   SECTIONS – shared
   ========================================================== */
.section {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
  padding: var(--space-section-home) 0;
}
.section-wide { width: 100%; padding-left: var(--gutter); padding-right: var(--gutter); }
.section h2 { margin: 0; color: var(--green-deep); font-family: var(--font-heading); font-weight: 500; letter-spacing: -0.03em; font-size: var(--font-h2); }

.split-head { display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 80px; }
.split-head h2, .center-head h2, .journal-title h2 { margin-top: var(--space-md); line-height: var(--line-heading-compact); }
.split-head > p { max-width: 350px; margin: 0; color: var(--text-soft); font-size: var(--font-body-small); line-height: var(--line-body); }
.center-head { text-align: center; }
.center-head > p:last-child { margin: var(--space-stack) 0 0; color: var(--text-soft); font-size: var(--font-body-small); }

.card-title { color: var(--green-deep); font-family: var(--font-heading); font-size: var(--font-card-title); font-weight: 500; }

/* ---------- Utforsk Mostek (4 pillars) ---------- */
.worlds { background: var(--paper-soft); }
.world-intro { max-width: 760px; }
.world-intro h2 { margin-top: 20px; line-height: var(--line-display); }
.world-intro > p:last-child { max-width: 540px; margin: 28px 0 0; color: var(--text-soft); font-size: var(--font-body-small); line-height: var(--line-body); }
.world-grid { margin-top: 85px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl); align-items: stretch; }
.world { height: 100%; display: grid; grid-template-rows: auto 1fr; }
.world-image { width: 100%; aspect-ratio: 4 / 3; }
.world-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 75%, rgba(16, 25, 17, 0.25)); }
.world-image > span { position: absolute; z-index: 2; left: 24px; bottom: 22px; color: var(--white); font-size: var(--font-label); letter-spacing: 0.15em; }
.world-copy { min-height: 300px; padding-top: 26px; display: flex; flex-direction: column; align-items: stretch; }
.world-copy h3 { min-height: 48px; margin: 0; line-height: var(--line-heading); }
.world-copy > p { min-height: 52px; margin: 10px 0 var(--space-stack); color: var(--text-soft); font-size: var(--font-body-compact); }
.world-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs) var(--space-sm); }
.world-links a {
  min-width: 0; padding: var(--space-xs) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 5px;
  border-bottom: 1px solid var(--line);
  color: var(--green-deep); font-size: var(--font-tag); font-weight: 600; letter-spacing: 0.04em; white-space: nowrap;
}
.world-links a span, .world-action span { color: var(--earth); }
.world-action {
  margin-top: auto; padding: var(--space-lg) 0 var(--space-2xs);
  align-self: flex-start; display: inline-flex; align-items: center; gap: 28px;
  border-bottom: 1px solid var(--accent);
  color: var(--green-deep); font-size: var(--font-button); font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
}

/* ---------- Products ---------- */
.products { background: #ece8df; }
.product-grid { margin-top: 75px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product > .media { height: 370px; }
.product small { display: block; margin-top: var(--space-lg); color: var(--earth); font-size: var(--font-label); letter-spacing: 0.12em; text-transform: uppercase; }
.product h3 { margin: var(--space-xs) 0 6px; }
.product p { margin: 0; color: var(--text-soft); font-size: var(--font-body-micro); }

/* ---------- Planteatlas ---------- */
.plants { background: var(--white); }
.plant-grid { margin-top: 75px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.plant-image { height: 460px; }
.plant h3 { margin: var(--space-xl) 0 4px; }
.plant em { color: var(--earth); font-family: var(--font-heading); font-size: var(--font-latin); }
.plant p { margin: 14px 0 20px; color: var(--text-soft); font-size: var(--font-body-fine); line-height: var(--line-body-standard); }
.plant > a {
  padding-bottom: 5px; border-bottom: 1px solid var(--accent);
  color: var(--green-deep); font-size: var(--font-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.plants > .editorial-link { position: relative; left: 50%; transform: translateX(-50%); margin-top: 60px; }

/* ---------- Oppskrifter ---------- */
.recipes { display: grid; grid-template-columns: 32% 1fr; gap: 90px; align-items: start; }
.recipe-intro { position: sticky; top: 80px; }
.recipe-intro h2 { margin-top: var(--space-lg); line-height: var(--line-display); }
.recipe-intro > p:not(.label) { max-width: 290px; margin: var(--space-xl) 0 0; color: var(--text-soft); font-size: var(--font-body-compact); line-height: var(--line-body); }
.recipe-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 65px 24px; }
.recipe:nth-child(2) { margin-top: 120px; }
.recipe:nth-child(3) { grid-column: 1 / 2; }
.recipe > .media { height: 430px; }
.recipe > span { display: block; margin-top: var(--space-lg); color: var(--earth); font-family: var(--font-heading); font-size: var(--font-body); }
.recipe h3 { margin: 9px 0 4px; }
.recipe p { margin: 0; color: var(--text-soft); font-size: var(--font-body-micro); }

/* ---------- Journal / Opplev ---------- */
.journal-title { margin-bottom: 68px; }
.lead-story { display: grid; grid-template-columns: 2fr 1fr; background: var(--green-deep); color: var(--white); }
.lead-story > .media { min-height: 570px; }
.lead-story article { padding: 60px var(--space-3xl); display: flex; flex-direction: column; justify-content: center; }
.lead-story span { font-size: var(--font-label); letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.64); }
.lead-story h3 { margin: var(--space-xl) 0; color: var(--white); font-family: var(--font-heading); font-size: var(--font-card-title-story); font-weight: 500; line-height: var(--line-heading); }
.lead-story p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: var(--font-body-compact); line-height: var(--line-body); }
.lead-story b { margin-top: 34px; font-size: var(--font-button-small); letter-spacing: 0.1em; text-transform: uppercase; }
.story-row { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.story-row a > .media { height: 330px; margin-bottom: var(--space-stack); }
.story-row h3 { margin: 9px 0 0; }

.meta-label { color: var(--earth); font-size: var(--font-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Guider ---------- */
.guide-list { margin-top: 60px; border-top: 1px solid var(--line); }
.guide {
  min-height: 164px; padding: var(--space-xl) 0;
  display: grid; grid-template-columns: 190px 45px 1fr auto; align-items: center; gap: 26px;
  border-bottom: 1px solid var(--line);
}
.guide-image { height: 120px; }
.guide > span { color: var(--earth); font-family: var(--font-heading); font-size: var(--font-number); }
.guide h3 { margin: var(--space-xs) 0 0; }
.guide > b { color: var(--earth); font-weight: 400; }

/* ---------- Footer ---------- */
.footer { padding: 90px var(--gutter) 0; background: var(--green-deep); color: rgba(255, 255, 255, 0.72); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-top img { width: 148px; height: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-top p { margin: 0; font-family: var(--font-heading); font-size: var(--font-footer-brand); }
.footer-links {
  margin-top: var(--space-4xl); padding: 30px 0;
  display: flex; gap: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.15); border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--font-footer); letter-spacing: 0.09em; text-transform: uppercase;
}
.footer-bottom {
  min-height: 65px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--font-footer-meta); letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---------- Image hover animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .world-image img, .guide-image img, .recipe .media img, .product .media img, .story-row .media img {
    transition: transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
  }
  .world:hover img, .guide:hover img, .recipe:hover img, .product:hover img, .story-row a:hover img { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header, .header::before, .logo { transition: none; }
}

/* ==========================================================
   RESPONSIVE – home page
   ========================================================== */
@media (max-width: 1199px) {
  .world-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px var(--space-xl); }
}
@media (max-width: 900px) {
  .plant-image { height: 380px; }
  .recipes { grid-template-columns: 1fr; }
  .recipe-intro { position: static; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-story { grid-template-columns: 1fr; }
  .lead-story > .media { min-height: 450px; }
}
@media (max-width: 767px) {
  .world-grid { grid-template-columns: 1fr; gap: 56px; }
  .world-copy { min-height: 290px; }
  .world-copy h3 { min-height: 42px; }
}
@media (max-width: 680px) {
  .topbar { justify-content: center; }
  .topbar-right { width: 100%; justify-content: space-between; gap: 12px; }
  .topbar-right > a { font-size: 10px; letter-spacing: 0.1em; }
  .sok-actions { gap: 14px; }
  .topbar span { display: none; }
  .hero { height: 650px; }
  .hero-content { width: calc(100% - 32px); }
  .hero h1 { font-size: var(--font-display-mobile); line-height: var(--line-display-mobile); }
  .hero-lead { font-size: var(--font-body-hero-mobile); }
  .hero-buttons { flex-direction: column; align-items: stretch; max-width: 270px; margin: 0 auto; }

  .section, .section-wide { width: 100%; padding: var(--space-section-mobile) var(--space-md); }
  .section h2 { font-size: clamp(42px, 12vw, 54px); }
  .label { margin-top: 0; }
  .world-intro h2 { font-size: var(--font-h2-mobile); }
  .split-head { grid-template-columns: 1fr; gap: 22px; }

  .guide-list { margin-top: 50px; }
  .guide { grid-template-columns: 105px 1fr auto; gap: 15px; }
  .guide-image { height: 85px; }
  .guide > span { display: none; }

  .plant-grid { margin-top: 48px; grid-template-columns: 1fr; gap: 48px; }
  .plant-image { height: auto; aspect-ratio: 4 / 3; }
  .plant h3 { margin-top: var(--space-md); }
  .plants > .editorial-link { margin-top: 44px; }

  .recipe-grid { grid-template-columns: 1fr; gap: 44px; }
  .recipe:nth-child(2) { margin-top: 0; }
  .recipe:nth-child(3) { grid-column: auto; }
  .recipe > .media { height: auto; aspect-ratio: 4 / 3; }
  .recipe-intro .editorial-link { margin-top: 28px; }
  .recipes { gap: 48px; }

  .product-grid { margin-top: 44px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .product > .media { height: auto; aspect-ratio: 3 / 4; }
  .product small { margin-top: var(--space-sm); font-size: 10px; }
  .product h3 { font-size: 22px; line-height: 1.1; }
  .btn-dark { margin-top: 40px; width: 100%; }

  .lead-story > .media { min-height: 0; aspect-ratio: 4 / 3; }
  .lead-story article { padding: 40px 26px; }
  .lead-story h3 { font-size: var(--font-card-title-story-mobile); }
  .story-row { grid-template-columns: 1fr; gap: 40px; }
  .story-row a > .media { height: auto; aspect-ratio: 4 / 3; margin-bottom: var(--space-md); }
  .journal-title { margin-bottom: 40px; }
  .card-title { font-size: 28px; }
  .world-grid { margin-top: 48px; gap: 44px; }
  .world-copy { min-height: 0; padding-top: 20px; }
  .world-copy h3, .world-copy > p { min-height: 0; }
  .world-action { margin-top: var(--space-md); }

  .footer { padding: 70px var(--space-md) 0; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-links { align-items: flex-start; flex-direction: column; gap: var(--space-lg); }
  .footer-bottom { padding: var(--space-lg) 0; align-items: flex-start; flex-direction: column; justify-content: center; gap: var(--space-xs); }
}

/* ==========================================================
   SEARCH RESULTS PAGE  /sok/
   ========================================================== */
.sok-header { width: min(calc(100% - 48px), var(--content-width)); height: 100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.sok-header img { width: 132px; height: auto; }
.back-link {
  padding-bottom: 5px; border-bottom: 1px solid var(--accent);
  color: var(--green-deep); font-size: var(--font-button); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.sok-intro { padding: 82px var(--space-xl) var(--space-4xl); text-align: center; background: var(--white); }
.sok-intro .kicker { margin-bottom: var(--space-md); }
.sok-intro h1 {
  max-width: 920px; margin: 0 auto; color: var(--green-deep);
  font-family: var(--font-heading); font-size: var(--font-h1); font-weight: 500;
  line-height: var(--line-heading-page); letter-spacing: -0.03em;
}
.sok-form {
  width: min(100%, 720px); height: 64px; margin: 38px auto 0; padding: 0 20px;
  display: flex; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 17px;
  box-shadow: 0 12px 36px rgba(48, 55, 47, 0.06);
}
.sok-form .search-icon { width: 17px; height: 17px; border-width: 1.5px; opacity: 1; }
.sok-form input::-webkit-search-cancel-button { display: none; }
.sok-form input { min-width: 0; height: 100%; flex: 1; padding: 0 17px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: var(--font-body); }
.sok-count { margin: var(--space-lg) 0 0; color: var(--text-soft); font-size: var(--font-meta); letter-spacing: 0.04em; }
.sok-groups { width: min(calc(100% - 48px), 900px); margin: 0 auto; padding: 78px 0 110px; }
.sok-group { padding: 0 0 58px; }
.sok-group-title { padding-bottom: 14px; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); }
.sok-group-title h2 { margin: 0; color: var(--green-deep); font-family: var(--font-heading); font-size: var(--font-group-title); font-weight: 500; }
.sok-group-title span { color: var(--earth); font-size: var(--font-meta); }
.sok-list { display: grid; }
.sok-result {
  min-height: 92px; padding: var(--space-lg) var(--space-2xs);
  display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: var(--space-md);
  border-bottom: 1px solid var(--line);
}
.sok-result:hover strong { color: var(--earth); }
.sok-result-icon { font-size: var(--font-search-result-icon-large); }
.sok-result strong, .sok-result small { display: block; }
.sok-result strong { color: var(--green-deep); font-family: var(--font-heading); font-size: var(--font-card-title); font-weight: 500; }
.sok-result small { margin-top: 5px; color: var(--text-soft); font-size: var(--font-body-fine); line-height: var(--line-body-compact); }
.sok-none { margin: var(--space-stack) 0 0; color: var(--text-soft); font-size: var(--font-body-compact); }

@media (max-width: 680px) {
  .sok-header, .sok-groups { width: calc(100% - 32px); }
  .sok-header { height: 84px; }
  .sok-header img { width: 120px; }
  .sok-intro { padding: 62px 16px 58px; }
  .sok-form { height: 59px; margin-top: 30px; }
  .sok-groups { padding: 58px 0 80px; }
  .sok-group { padding-bottom: 46px; }
  .sok-result { grid-template-columns: 34px 1fr auto; }
}
