@font-face {
  font-family: "MM Serif";
  src: url("/muld-ja-moos/assets/fonts/nimbus-roman-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MM Serif";
  src: url("/muld-ja-moos/assets/fonts/nimbus-roman-italic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MM Sans";
  src: url("/muld-ja-moos/assets/fonts/nimbus-sans-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MM Sans";
  src: url("/muld-ja-moos/assets/fonts/nimbus-sans-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --mm-paper: #fbfaf4;
  --mm-cream: #f1eee2;
  --mm-ink: #313529;
  --mm-muted: #68695f;
  --mm-moss: #647052;
  --mm-moss-soft: #e6e8dc;
  --mm-apricot: #e5a45f;
  --mm-apricot-soft: #f3dcc0;
  --mm-line: rgba(49, 53, 41, .15);
  --mm-shell: min(1180px, calc(100% - 64px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--mm-paper);
  color: var(--mm-ink);
  font-family: "MM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body:has(.mm-nav[data-open="true"]) { overflow: hidden; }

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { color: inherit; }
button, input { color: inherit; font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

.mm-shell {
  width: var(--mm-shell);
  margin-inline: auto;
}

.mm-skip {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--mm-ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
}

.mm-skip:focus { transform: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--mm-apricot);
  outline-offset: 4px;
}

.mm-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(49, 53, 41, .13);
  background: rgba(251, 250, 244, .95);
  backdrop-filter: blur(12px);
}

.mm-header__inner {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  min-height: 76px;
}

.mm-wordmark {
  font-family: "MM Serif", Georgia, serif;
  font-size: 28px;
  letter-spacing: -.025em;
  text-decoration: none;
}

.mm-wordmark span { color: var(--mm-apricot); }

.mm-nav {
  display: flex;
  grid-column: 2;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}

.mm-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 16px;
  text-decoration: none;
}

.mm-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--mm-moss);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.mm-nav a:hover::after,
.mm-nav a[aria-current="page"]::after { transform: scaleX(1); }

.mm-menu-toggle { display: none; }

.mm-hero {
  position: relative;
  min-height: min(660px, calc(100svh - 76px));
  overflow: hidden;
  background: #a7aa90;
}

.mm-hero > img {
  position: absolute;
  inset: 0;
  object-position: center 55%;
  transition: transform 900ms ease;
}

.mm-hero:hover > img { transform: scale(1.012); }

.mm-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 34, 25, .64) 0%, rgba(30, 34, 25, .28) 43%, rgba(30, 34, 25, .04) 70%),
    linear-gradient(0deg, rgba(30, 34, 25, .22), transparent 48%);
}

.mm-hero__content {
  position: relative;
  display: flex;
  min-height: min(660px, calc(100svh - 76px));
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 80px;
  color: #fffdf5;
}

.mm-hero__kicker,
.mm-eyebrow {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.mm-hero h1 {
  font-family: "MM Serif", Georgia, serif;
  font-size: clamp(66px, 7.5vw, 102px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .82;
}

.mm-hero h1 span {
  color: var(--mm-apricot);
  font-style: italic;
}

.mm-hero__intro {
  max-width: 500px;
  margin-top: 26px;
  font-size: 18px;
}

.mm-light-link,
.mm-text-link {
  display: inline-block;
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.mm-light-link { margin-top: 30px; }
.mm-text-link:hover { color: var(--mm-apricot); }
.mm-light-link:hover { color: var(--mm-apricot-soft); }

.mm-intro {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(340px, .72fr);
  gap: clamp(56px, 9vw, 128px);
  align-items: center;
  padding-block: clamp(68px, 8vw, 96px);
}

.mm-intro figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.mm-intro > div { max-width: 520px; }

.mm-intro h2,
.mm-section-head h2,
.mm-newsletter h2,
.mm-related h2 {
  font-family: "MM Serif", Georgia, serif;
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.mm-intro h2 { margin-bottom: 23px; }
.mm-intro > div > p { max-width: 48ch; }
.mm-intro .mm-text-link { margin-top: 27px; }

.mm-latest,
.mm-related {
  padding-block: clamp(58px, 6vw, 82px);
}

.mm-section-head {
  display: flex;
  gap: 30px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.mm-latest__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, .72fr);
  gap: clamp(46px, 7vw, 96px);
}

.mm-feature-story__image img,
.mm-story-card__image img,
.mm-story-row__image img,
.mm-recipe__image img {
  transition: transform 500ms ease;
}

.mm-feature-story__image:hover img,
.mm-story-card__image:hover img,
.mm-story-row__image:hover img,
.mm-recipe__image:hover img { transform: scale(1.025); }

.mm-feature-story__image {
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
  overflow: hidden;
}

.mm-labels {
  display: flex;
  flex-wrap: wrap;
  min-height: 26px;
  gap: 10px;
  align-items: center;
  color: var(--mm-moss);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mm-labels strong {
  padding: 3px 7px 2px;
  background: var(--mm-moss);
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
}

.mm-labels a { text-decoration: none; }
.mm-labels a:hover { text-decoration: underline; text-underline-offset: 3px; }

.mm-labels time {
  color: var(--mm-muted);
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: none;
}

.mm-labels strong[data-badge="KOOSTÖÖ"] {
  background: var(--mm-apricot);
  color: #392d20;
}

.mm-feature-story h3,
.mm-story-card h3,
.mm-story-row h3 {
  margin-top: 8px;
  font-family: "MM Serif", Georgia, serif;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.mm-feature-story h3 a,
.mm-story-card h3 a,
.mm-story-row h3 a { text-decoration: none; }

.mm-feature-story h3 a:hover,
.mm-story-card h3 a:hover,
.mm-story-row h3 a:hover { color: var(--mm-moss); }

.mm-feature-story > p,
.mm-story-card > p,
.mm-story-row > div > p {
  margin-top: 13px;
  color: var(--mm-muted);
}

.mm-feature-story .mm-text-link,
.mm-story-card .mm-text-link,
.mm-story-row > div > .mm-text-link { margin-top: 20px; }

.mm-latest__list {
  display: flex;
  flex-direction: column;
}

.mm-story-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 8px 0 28px;
}

.mm-story-row__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.mm-story-row + .mm-story-row {
  padding-top: 20px;
}

.mm-story-row h3 { font-size: clamp(25px, 2vw, 30px); }

.mm-recipe {
  display: grid;
  grid-template-columns: minmax(330px, .85fr) minmax(0, 1.15fr);
  max-width: 1180px;
  margin: 12px auto 0;
  background: var(--mm-moss-soft);
}

.mm-recipe__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(48px, 6vw, 72px);
}

.mm-recipe__copy .mm-eyebrow { color: var(--mm-moss); }

.mm-recipe h2 {
  max-width: 500px;
  font-family: "MM Serif", Georgia, serif;
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
}

.mm-recipe__copy > p:not(.mm-eyebrow) {
  max-width: 45ch;
  margin-top: 22px;
  color: var(--mm-muted);
}

.mm-recipe .mm-text-link { margin-top: 27px; }

.mm-recipe__image {
  min-height: 480px;
  overflow: hidden;
}

.mm-newsletter { padding-block: clamp(42px, 5vw, 58px); background: #f5f4ed; }

.mm-newsletter__inner {
  display: grid;
  grid-template-columns: minmax(290px, .9fr) minmax(420px, 1.1fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.mm-newsletter h2 { font-size: clamp(31px, 3vw, 40px); }
.mm-newsletter__inner > div > p:last-child { max-width: 47ch; margin-top: 14px; }

.mm-newsletter form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.mm-newsletter form > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.mm-newsletter input,
.mm-newsletter button {
  min-height: 54px;
  border: 1px solid var(--mm-ink);
  border-radius: 0;
}

.mm-newsletter input {
  min-width: 0;
  padding: 0 17px;
  background: rgba(255,255,255,.58);
}

.mm-newsletter button {
  padding: 0 28px;
  border-left: 0;
  background: var(--mm-ink);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.mm-newsletter button:hover { background: var(--mm-moss); }

.mm-form-note {
  min-height: 22px;
  margin-top: 8px;
  color: var(--mm-muted);
  font-size: 13px;
}

.mm-footer {
  border-top: 1px solid rgba(49, 53, 41, .22);
  background: var(--mm-cream);
}

.mm-footer__grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.5fr) .7fr .7fr;
  gap: 50px;
  padding-block: 52px;
}

.mm-footer__brand {
  font-family: "MM Serif", Georgia, serif;
  font-size: 26px;
  text-decoration: none;
}

.mm-footer__grid > div:first-child p {
  max-width: 440px;
  margin-top: 12px;
  color: var(--mm-muted);
}

.mm-footer nav,
.mm-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mm-footer nav a,
.mm-footer__contact a { font-size: 15px; text-decoration: none; }
.mm-footer nav a:hover,
.mm-footer__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }

.mm-inner-page { min-height: 65vh; }

.mm-page-head {
  max-width: 760px;
  padding-top: clamp(64px, 7vw, 88px);
  padding-bottom: clamp(42px, 5vw, 60px);
  text-align: center;
}

.mm-page-head h1,
.mm-about h1,
.mm-legal h1,
.mm-error h1 {
  font-family: "MM Serif", Georgia, serif;
  font-size: clamp(46px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .96;
}

.mm-page-head > p:last-child {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--mm-muted);
  font-size: 18px;
}

.mm-archive {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 28px;
  padding-bottom: clamp(72px, 8vw, 108px);
}

.mm-archive--compact {
  grid-template-columns: 1fr;
  max-width: 980px;
}

.mm-archive--compact .mm-story-card {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  align-items: start;
  column-gap: 34px;
}

.mm-archive--compact .mm-story-card__image {
  grid-row: 1 / span 5;
  margin-bottom: 0;
}

.mm-archive--compact .mm-story-card > :not(.mm-story-card__image) { grid-column: 2; }

.mm-story-card { min-height: 0; }

.mm-story-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  overflow: hidden;
  background: var(--mm-moss-soft);
}

.mm-story-card h3 { font-size: 26px; }

.mm-about {
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(380px, .9fr);
  gap: clamp(56px, 9vw, 128px);
  align-items: center;
  padding-block: clamp(68px, 8vw, 98px);
}

.mm-about figure { aspect-ratio: 4 / 5; }
.mm-about h1 { font-size: clamp(44px, 4.5vw, 58px); }
.mm-about__lead { margin-top: 28px; font-family: "MM Serif", Georgia, serif; font-size: 24px; line-height: 1.35; }
.mm-about div > p:not(.mm-about__lead) { margin-top: 22px; color: var(--mm-muted); }
.mm-about div > p a { text-underline-offset: 3px; }
.mm-about .mm-text-link { margin-top: 28px; }

.mm-article__head {
  max-width: 820px;
  padding-top: clamp(58px, 7vw, 84px);
  padding-bottom: 38px;
  text-align: center;
}

.mm-article__head .mm-labels { justify-content: center; }

.mm-article__head h1 {
  margin-top: 14px;
  font-family: "MM Serif", Georgia, serif;
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
}

.mm-article__head > p {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--mm-muted);
  font-size: 19px;
}

.mm-article__hero {
  width: min(1180px, calc(100% - 64px));
  max-height: 620px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
}

.mm-article__body {
  width: min(820px, calc(100% - 64px));
  padding-block: clamp(48px, 6vw, 76px);
}

.mm-article__body p { margin-top: 18px; }

.mm-article__intro {
  margin: 0 0 38px !important;
  font-family: "MM Serif", Georgia, serif;
  font-size: clamp(23px, 2.1vw, 27px);
  line-height: 1.38;
}

.mm-article__body section + section { margin-top: 38px; }

.mm-article__body h2 {
  font-family: "MM Serif", Georgia, serif;
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.mm-recipe-details {
  margin: 44px 0;
  padding: clamp(28px, 3.5vw, 36px);
  background: #f5f4ed;
}

.mm-recipe-details > h2 { margin-bottom: 30px; }

.mm-recipe-details__grid {
  display: block;
}

.mm-recipe-details__grid > div + div { margin-top: 38px; }

.mm-recipe-details h3 {
  margin-bottom: 15px;
  font-family: "MM Serif", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.mm-recipe-details ul,
.mm-recipe-details ol {
  margin: 0;
  padding-left: 24px;
}

.mm-recipe-details ul { list-style: disc; }
.mm-recipe-details ol { list-style: decimal; }

.mm-recipe-details li + li { margin-top: 10px; }

.mm-related { padding-top: 38px; }
.mm-related h2 { font-size: 34px; }
.mm-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

.mm-legal {
  width: min(760px, calc(100% - 64px));
  padding-block: clamp(70px, 9vw, 120px);
}

.mm-legal h1 { margin-bottom: 16px; }
.mm-legal__updated { color: var(--mm-muted); font-size: 14px; }
.mm-legal h2 { margin-top: 40px; font-family: "MM Serif", Georgia, serif; font-size: 30px; font-weight: 400; }
.mm-legal h2 + p { margin-top: 12px; color: var(--mm-muted); }
.mm-legal a { text-underline-offset: 3px; }

.mm-error {
  display: flex;
  min-height: 66vh;
  max-width: 760px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 80px;
}

.mm-error > p { margin-top: 20px; color: var(--mm-muted); }
.mm-error > div { display: flex; gap: 28px; align-items: center; margin-top: 30px; }

.mm-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 22px;
  background: var(--mm-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.mm-button:hover { background: var(--mm-moss); }

@media (max-width: 900px) {
  :root { --mm-shell: min(100% - 40px, 720px); }

  .mm-header__inner { grid-template-columns: 1fr auto; min-height: 68px; }
  .mm-wordmark { font-size: 24px; }
  .mm-menu-toggle {
    display: flex;
    grid-column: 2;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
  }
  .mm-menu-toggle i,
  .mm-menu-toggle i::before {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    content: "";
  }
  .mm-menu-toggle i::before { transform: translateY(5px); }
  .mm-nav {
    position: fixed;
    inset: 68px 0 auto;
    display: none;
    min-height: calc(100svh - 68px);
    grid-column: auto;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 28px 20px;
    background: var(--mm-paper);
  }
  .mm-nav[data-open="true"] { display: flex; }
  .mm-nav a { padding: 15px 0; font-family: "MM Serif", Georgia, serif; font-size: 27px; }

  .mm-hero,
  .mm-hero__content { min-height: 600px; }
  .mm-hero__veil { background: linear-gradient(90deg, rgba(30,34,25,.68), rgba(30,34,25,.22)); }
  .mm-hero h1 { font-size: clamp(62px, 13vw, 82px); }
  .mm-hero__intro { max-width: 420px; }

  .mm-intro,
  .mm-about { grid-template-columns: 1fr; gap: 44px; }
  .mm-intro figure { max-width: 640px; }

  .mm-latest__grid { grid-template-columns: 1fr; gap: 50px; }
  .mm-latest__list { gap: 24px; }
  .mm-story-row { grid-template-columns: 200px minmax(0, 1fr); }
  .mm-story-row + .mm-story-row { padding-top: 8px; }

  .mm-recipe { grid-template-columns: 1fr; }
  .mm-recipe__copy { min-height: 0; }
  .mm-recipe__image { min-height: 400px; grid-row: 1; }

  .mm-newsletter__inner { grid-template-columns: 1fr; gap: 36px; }
  .mm-footer__grid { grid-template-columns: 1.3fr .7fr; }
  .mm-footer__contact { grid-column: 2; }

  .mm-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-archive--compact { grid-template-columns: 1fr; }
  .mm-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-article__hero { width: 100%; }
}

@media (max-width: 620px) {
  :root { --mm-shell: calc(100% - 32px); }
  body { font-size: 16px; }

  .mm-hero,
  .mm-hero__content { min-height: 540px; }
  .mm-hero > img { object-position: 65% 50%; }
  .mm-hero__veil { background: linear-gradient(90deg, rgba(30,34,25,.76), rgba(30,34,25,.25)); }
  .mm-hero h1 { font-size: 58px; }
  .mm-hero__kicker { letter-spacing: .11em; }

  .mm-intro { padding-block: 64px; }
  .mm-intro h2,
  .mm-section-head h2 { font-size: 34px; }

  .mm-related h2 { font-size: 32px; }

  .mm-newsletter h2 { font-size: 32px; }

  .mm-section-head { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .mm-latest__list { gap: 22px; }
  .mm-story-row { grid-template-columns: 1fr; }
  .mm-story-row__image { aspect-ratio: 16 / 10; }
  .mm-story-row + .mm-story-row { padding-top: 10px; }

  .mm-recipe { margin: 0; }
  .mm-recipe__copy { min-height: 0; padding: 40px 24px 44px; }
  .mm-recipe h2 { font-size: 36px; }
  .mm-recipe__image { min-height: 300px; }

  .mm-related__grid,
  .mm-archive,
  .mm-archive--compact { grid-template-columns: 1fr; }

  .mm-archive--compact .mm-story-card { display: block; }
  .mm-archive--compact .mm-story-card__image { margin-bottom: 18px; }

  .mm-newsletter form > div { grid-template-columns: 1fr; }
  .mm-newsletter button { border-top: 0; border-left: 1px solid var(--mm-ink); }

  .mm-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 42px; }
  .mm-footer__contact { grid-column: auto; }

  .mm-page-head { text-align: left; }
  .mm-page-head h1,
  .mm-about h1,
  .mm-legal h1,
  .mm-error h1 { font-size: 44px; }
  .mm-page-head > p:last-child { margin-left: 0; }
  .mm-archive { gap: 44px; }

  .mm-about figure { aspect-ratio: 4 / 4.8; }
  .mm-article__head { text-align: left; }
  .mm-article__head .mm-labels { justify-content: flex-start; }
  .mm-article__head h1 { font-size: 40px; }
  .mm-article__head > p { margin-left: 0; }
  .mm-article__hero { height: auto; aspect-ratio: 4 / 3; }
  .mm-article__body { width: calc(100% - 32px); }
  .mm-article__intro { font-size: 24px; }
  .mm-article__body h2 { font-size: 29px; }

  .mm-error > div { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.mm-footer__note { margin-block: 0; padding-bottom: 28px; font-size: 13px; color: var(--mm-muted); }
