:root {
  --ink: #151513;
  --paper: #fff;
  --cream: #f7f0e4;
  --soft: #f4f4f2;
  --line: #d9d5cd;
  --accent: #a34c2c;
  --shell: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Raleway", sans-serif; font-size: 16px; line-height: 1.6; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; color: white; background: black; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.notice { padding: 10px 20px; color: #f3eee6; background: var(--ink); text-align: center; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; }

.site-header { background: white; }
.utility-bar { display: flex; min-height: 52px; align-items: center; justify-content: space-between; }
.primary-nav, .social-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a, .social-nav a { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.primary-nav a { position: relative; }
.primary-nav a::after { position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: var(--ink); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.social-nav { gap: 10px; }
.social-nav a { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 9px; }
.brand-row { display: flex; min-height: 132px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: clamp(23px, 3vw, 34px); letter-spacing: -.035em; }
.brand-kicker { margin-bottom: 10px; font-family: "Cormorant Garamond", serif; font-size: 16px; font-style: italic; }
.header-actions { display: flex; gap: 8px; }
.icon-button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--ink); background: white; cursor: pointer; }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.menu-toggle { display: none; border: 0; background: transparent; }
.search-panel { display: grid; padding-block: 22px; border-top: 1px solid var(--line); }
.search-panel[hidden] { display: none; }
.search-panel label { margin-bottom: 6px; font-family: "Cormorant Garamond", serif; font-size: 22px; }
.search-panel div { display: flex; }
.search-panel input { flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid var(--ink); }
.search-panel button, .newsletter-form button { padding: 13px 22px; color: white; border: 1px solid var(--ink); background: var(--ink); cursor: pointer; }

.hero { position: relative; min-height: min(760px, calc(100vh - 184px)); overflow: hidden; color: white; background: #191815; isolation: isolate; }
.hero-media { position: absolute; z-index: -3; inset: 0; background: url("assets/patrik-hero.jpg") center 20% / cover no-repeat; transform: scale(1.002); }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(10,10,9,.9) 0%, rgba(10,10,9,.67) 35%, rgba(10,10,9,.08) 70%, rgba(10,10,9,.05) 100%); }
.hero-content { display: flex; min-height: min(760px, calc(100vh - 184px)); flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 86px 110px; }
.hero-kicker { margin: 0 0 20px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 670px; margin: 0; font-family: "Raleway", sans-serif; font-size: clamp(68px, 8.5vw, 120px); font-weight: 700; line-height: .82; letter-spacing: -.07em; text-transform: uppercase; }
.hero h1 span { display: block; color: #efd183; }
.hero-lead { max-width: 460px; margin: 30px 0; font-family: "Cormorant Garamond", serif; font-size: clamp(21px, 2vw, 28px); line-height: 1.25; }
.hero-cta { display: inline-flex; gap: 24px; align-items: center; padding: 14px 19px; color: var(--ink); background: #efd183; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: gap .2s ease, background .2s ease; }
.hero-cta:hover { gap: 33px; background: white; }
.hero-scroll { position: absolute; right: max(24px, calc((100vw - var(--shell)) / 2)); bottom: 30px; display: flex; gap: 12px; align-items: center; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; }

.section-heading { padding-block: 70px 34px; }
.section-heading h1, .section-heading h2, .newsletter h2, .story-copy h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 600; line-height: .95; letter-spacing: -.035em; }
.section-heading h1, .section-heading h2 { font-size: clamp(42px, 5vw, 64px); }
.eyebrow, .card-label { margin: 0 0 11px; font-size: 11px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.category-showcase { padding-bottom: 66px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.category-card { position: relative; overflow: hidden; background: var(--soft); }
.category-card img { aspect-ratio: 1; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.category-card span { display: block; padding: 18px 14px; background: white; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.category-card:hover img { transform: scale(1.035); }

.newsletter { color: white; background: var(--ink); }
.newsletter-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; padding-block: 40px; }
.newsletter h2 { font-size: clamp(32px, 4vw, 48px); }
.newsletter p { margin: 8px 0 0; color: #c9c7c2; }
.newsletter .eyebrow { color: #fff; }
.newsletter-form { display: flex; }
.newsletter-form input { flex: 1; min-width: 0; padding: 13px 14px; border: 1px solid white; }
.newsletter-form button { border-color: white; }

.recipe-section { padding-bottom: 95px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 600; }
.recipe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.recipe-card img { aspect-ratio: .82; object-fit: cover; filter: saturate(.92); transition: filter .25s ease, transform .4s ease; }
.recipe-card > a { display: block; overflow: hidden; }
.recipe-card > a:hover img { filter: saturate(1.1); transform: scale(1.025); }
.recipe-card .card-label { margin-top: 18px; color: var(--accent); }
.recipe-card h3 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: 24px; font-weight: 600; line-height: 1.05; }

.story-section { padding-block: 96px; background: var(--cream); }
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 510px; }
.story-image { min-height: 480px; background: linear-gradient(145deg, rgba(21,21,19,.05), rgba(21,21,19,.35)), url("assets/category-pasta.jpg") center/cover; }
.story-image.patrik-mic { background-image: linear-gradient(145deg, rgba(21,21,19,.03), rgba(21,21,19,.24)), url("assets/patrik-facebook.jpg"); background-position: center 38%; }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(42px, 7vw, 90px); color: white; background: var(--ink); }
.story-copy h2 { max-width: 420px; font-size: clamp(42px, 5vw, 66px); }
.story-copy p:not(.eyebrow) { max-width: 480px; color: #cfcdc8; }
.button-link { margin-top: 16px; padding: 13px 20px; color: var(--ink); background: white; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.button-link.dark { color: white; background: var(--ink); }

.shop-section { padding-bottom: 100px; }
.section-note { max-width: 300px; margin: 0; color: #65635f; font-size: 13px; text-align: right; }
.shop-grid { border-top: 1px solid var(--ink); }
.shop-card { display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center; padding: 27px 5px; border-bottom: 1px solid var(--ink); transition: padding .2s ease, background .2s ease; }
.shop-card:hover { padding-inline: 18px; background: var(--cream); }
.shop-number, .shop-card p { color: #77736c; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.shop-card p { margin: 0; }
.shop-card h3 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(30px, 4vw, 44px); line-height: 1; }
.shop-card > span:last-child { font-size: 24px; }

.site-footer { padding-block: 76px 26px; background: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; }
.footer-brand { margin-bottom: 25px; }
.footer-grid p { max-width: 330px; color: #5d5a55; font-size: 13px; }
.footer-grid h2 { margin: 0 0 16px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid > div:not(:first-child) a { margin-block: 3px; font-size: 13px; }
.footer-grid > div:not(:first-child) a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 65px; padding-top: 18px; border-top: 1px solid #cfc8bc; color: #77736c; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }

.media-section { padding-bottom: 94px; }
.media-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 26px; align-items: start; }
.media-grid figure { margin: 0; }
.media-grid img { width: 100%; aspect-ratio: .86; object-fit: cover; background: var(--soft); filter: saturate(.96) contrast(1.02); }
.media-grid figure:first-child img { aspect-ratio: .78; object-position: center 18%; }
.media-grid figure:nth-child(2) img { object-position: center 38%; }
.media-grid figure:nth-child(3) img { object-position: center 42%; }
.media-grid figcaption { margin-top: 12px; color: #68645e; font-size: 13px; line-height: 1.45; }

.page-hero { padding-block: 86px 58px; }
.page-hero h1, .profile-hero h1, .recipe-detail h1, .legal-page h1, .product-detail h1 { max-width: 820px; margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(52px, 7vw, 92px); font-weight: 600; line-height: .92; letter-spacing: -.035em; }
.page-hero p:not(.eyebrow), .profile-hero p:not(.eyebrow), .prose p { max-width: 640px; color: #5f5c57; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 42px; }
.filter-row a { padding: 10px 15px; border: 1px solid var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-list { display: grid; gap: 0; padding-bottom: 92px; }
.article-list article { padding: 31px 0; border-top: 1px solid var(--line); }
.article-list article:last-child { border-bottom: 1px solid var(--line); }
.article-list h2 { max-width: 760px; margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(31px, 4vw, 48px); font-weight: 600; line-height: 1; }
.article-list p:not(.card-label) { max-width: 560px; color: #68645e; }
.profile-hero { display: grid; grid-template-columns: .95fr 1.05fr; gap: 58px; align-items: center; padding-block: 74px 96px; }
.profile-hero img { aspect-ratio: .86; object-fit: cover; object-position: center 18%; }
.content-band { padding-block: 72px; background: var(--cream); }
.prose h2, .contact-grid h2, .product-card h2 { margin: 0 0 12px; font-family: "Cormorant Garamond", serif; font-size: clamp(30px, 4vw, 46px); font-weight: 600; line-height: 1; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; padding-bottom: 96px; }
.contact-form { display: grid; gap: 10px; }
.contact-form label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--ink); }
.contact-form button { justify-self: start; padding: 13px 22px; color: white; border: 1px solid var(--ink); background: var(--ink); cursor: pointer; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding-bottom: 92px; }
.product-card img { aspect-ratio: 1.12; object-fit: cover; }
.product-card { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.recipe-detail { padding-block: 70px 96px; }
.recipe-detail > img { max-height: 620px; margin-block: 34px; object-fit: cover; }
.recipe-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.recipe-meta span { padding: 9px 12px; background: var(--cream); font-size: 12px; font-weight: 600; }
.legal-page { padding-block: 86px; }
.product-detail { display: grid; grid-template-columns: 1fr .9fr; gap: 58px; align-items: center; padding-block: 76px 100px; }
.product-detail img { aspect-ratio: 1; object-fit: cover; }
.product-detail button { padding: 13px 22px; color: white; border: 1px solid var(--ink); background: var(--ink); cursor: not-allowed; }

@media (max-width: 860px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .social-nav { display: none; }
  .menu-toggle { display: inline-flex; width: 42px; height: 42px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 21px; height: 1px; background: var(--ink); }
  .utility-bar { position: relative; }
  .primary-nav { position: absolute; z-index: 5; top: 52px; right: -16px; left: -16px; display: none; padding: 20px 16px 28px; flex-direction: column; align-items: flex-start; gap: 18px; border-top: 1px solid var(--line); background: white; box-shadow: 0 18px 24px rgba(0,0,0,.07); }
  .primary-nav.is-open { display: flex; }
  .brand-row { min-height: 105px; border-top: 0; }
  .hero, .hero-content { min-height: 660px; }
  .hero-media { background-position: 58% 24%; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,10,9,.88), rgba(10,10,9,.5) 58%, rgba(10,10,9,.12)); }
  .category-grid { gap: 12px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 25px; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-copy { min-height: 450px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .profile-hero, .contact-grid, .product-detail { grid-template-columns: 1fr; }
  .profile-hero { gap: 32px; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .media-grid figure:first-child { grid-column: 1 / -1; }
  .media-grid figure:first-child img { aspect-ratio: 1.25; }
}

@media (max-width: 560px) {
  .notice { padding-block: 8px; font-size: 9px; }
  .brand strong { font-size: 20px; }
  .brand-kicker { display: none; }
  .icon-button { width: 40px; height: 40px; }
  .hero { display: grid; min-height: 720px; grid-template-rows: 58% 42%; background: var(--ink); }
  .hero-media { position: relative; z-index: -1; grid-row: 1; background-position: center 21%; }
  .hero-shade { z-index: -1; background: linear-gradient(180deg, transparent 40%, var(--ink) 100%); }
  .hero-content { min-height: auto; grid-row: 2; justify-content: flex-start; padding-block: 22px 60px; }
  .hero h1 { font-size: clamp(53px, 17vw, 70px); }
  .hero-lead { margin: 22px 0; font-size: 20px; }
  .hero-kicker { margin-bottom: 13px; }
  .hero-scroll { display: none; }
  .section-heading { padding-block: 48px 24px; }
  .category-showcase { padding-bottom: 42px; }
  .category-grid { grid-template-columns: 1fr; gap: 22px; }
  .category-card img { aspect-ratio: 1.25; }
  .newsletter-inner { padding-block: 38px; }
  .newsletter-form { flex-direction: column; gap: 8px; }
  .recipe-section { padding-bottom: 70px; }
  .recipe-grid { grid-template-columns: 1fr 1fr; gap: 34px 14px; }
  .recipe-card h3 { font-size: 20px; }
  .story-section { padding-block: 0; }
  .story-grid { width: 100%; }
  .story-image { min-height: 340px; }
  .story-copy { min-height: 420px; padding: 42px 24px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .section-note { text-align: left; }
  .shop-section { padding-bottom: 70px; }
  .shop-card { grid-template-columns: 36px 1fr auto; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 28px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .page-hero { padding-block: 58px 38px; }
  .profile-hero { padding-block: 46px 68px; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 34px; padding-bottom: 70px; }
  .media-grid { grid-template-columns: 1fr; }
  .media-grid figure:first-child { grid-column: auto; }
  .media-grid img, .media-grid figure:first-child img { aspect-ratio: 1.1; }
}

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