@font-face {
  font-family: Jakarta;
  src: url('/assets/jakarta-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Jakarta;
  src: url('/assets/jakarta-bold.ttf') format('truetype');
  font-weight: 700 900;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --paper: #faf8f4;
  --surface: #fff;
  --ink: #272821;
  --muted: #606258;
  --accent: #a33f1e;
  --apricot: #ffa875;
  --on-apricot: #492715;
  --soft: #ffe5d3;
  --border: #dbd9d0;
  --focus: #8d3517;
  --radius: 28px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Jakarta, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
  text-underline-offset: 0.24em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
  border-radius: 3px;
}
main:focus {
  outline: none;
}
::selection {
  background: var(--apricot);
  color: var(--on-apricot);
}
.wrap {
  width: min(1180px, 100% - 80px);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -120px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.preview-notice {
  padding: 8px 20px;
  text-align: center;
  font-size: 0.75rem;
  background: var(--soft);
  color: var(--on-apricot);
  border-bottom: 1px solid var(--border);
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1;
}
.brand img {
  background: var(--apricot);
  border-radius: 10px;
  padding: 2px;
  width: 38px;
  height: 42px;
}
.brand-dot {
  color: var(--accent);
}
nav {
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
}
.site-header nav a,
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.82rem;
  text-decoration: none;
}
nav a[aria-current='page'] {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.site-header nav a:hover,
.site-footer nav a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
p {
  margin-block: 0;
}
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.13;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
}
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 22px;
}
.intro {
  font-size: 1.13rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 610px;
  margin-top: 28px;
}
.accent-text {
  color: var(--accent);
}
.button {
  display: inline-flex;
  min-height: 52px;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
  padding: 13px 24px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 30px;
}
.button:hover {
  background: var(--accent);
  color: white;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 8%;
  align-items: center;
  padding: 76px 0 90px;
}
.hero h1 {
  font-size: clamp(4.2rem, 8.7vw, 7.5rem);
  line-height: 0.98;
}
html:lang(it) .hero h1,
html:lang(en) .hero h1 {
  font-size: clamp(3rem, 13vw, 5.5rem);
}
.hero .intro {
  max-width: 390px;
}
.recipe-note {
  background: var(--soft);
  color: var(--on-apricot);
  border-radius: var(--radius);
  padding: 38px 38px 20px;
  position: relative;
}
.note-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.14;
  margin-bottom: 24px;
}
.note-mark {
  position: absolute;
  right: 30px;
  top: 28px;
  transform: rotate(8deg);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  display: flex;
  gap: 18px;
  padding-block: 20px;
  border-top: 1px solid #d8b59d;
}
.steps li > span {
  font-size: 0.68rem;
  padding-top: 5px;
  opacity: 0.85;
}
.steps strong {
  font-size: 1rem;
}
.steps p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 5px;
}
.home-detail {
  padding-block: 55px;
  border-top: 1px solid var(--border);
}
.home-detail h2 {
  max-width: 730px;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  color: var(--muted);
  margin-top: 30px;
}
.resource-links {
  display: block;
  padding-bottom: 70px;
}
.resource-links > a {
  display: flex;
  align-items: center;
  gap: 28px;
  text-decoration: none;
  padding-block: 26px;
  border-top: 1px solid var(--border);
  color: var(--ink);
}
.resource-links > a:last-child {
  border-bottom: 1px solid var(--border);
}
.resource-links > a:hover h2 {
  color: var(--accent);
}
.resource-links h2 {
  font-size: 1.45rem;
}
.resource-links p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}
.resource-links > a > span:last-child {
  margin-left: auto;
  font-size: 1.5rem;
  color: var(--accent);
}
.link-number {
  font-size: 0.72rem;
  color: var(--accent);
  align-self: flex-start;
  padding-top: 6px;
}
.page-heading {
  padding: 68px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-heading .intro {
  max-width: 740px;
}
.updated {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 24px;
}
.reading-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 6%;
  padding-top: 48px;
  padding-bottom: 76px;
  align-items: start;
}
.toc {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 24px;
}
.toc a {
  color: var(--muted);
  font-size: 0.84rem;
  padding: 10px 0;
  line-height: 1.4;
  min-height: 44px;
  text-decoration: none;
}
.toc a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.prose {
  max-width: 750px;
  min-width: 0;
}
.prose section {
  scroll-margin-top: 32px;
  padding-bottom: 44px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--border);
}
.prose section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
.prose h2 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 24px;
}
.prose p + p {
  margin-top: 18px;
}
.prose p,
.prose li {
  overflow-wrap: anywhere;
}
.prose ol,
.prose ul {
  padding-left: 1.5em;
  margin-block: 18px 24px;
}
.prose li {
  padding-left: 5px;
  margin-bottom: 12px;
}
.prose code {
  font-size: 0.9em;
  background: var(--soft);
  color: var(--on-apricot);
  padding: 2px 5px;
  border-radius: 4px;
}
.data-list {
  margin: 28px 0;
}
.data-list > div {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.data-list > div:last-child {
  border-bottom: 1px solid var(--border);
}
.data-list dt {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.data-list dd {
  margin: 0;
}
.review-note {
  background: var(--soft);
  color: var(--on-apricot);
  padding: 15px 18px;
  font-size: 0.88rem;
  border-left: 3px solid var(--accent);
  display: block;
  line-height: 1.6;
}
.contact-link {
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-block;
  padding-block: 10px;
  overflow-wrap: anywhere;
}
details {
  border-top: 1px solid var(--border);
}
details:last-child {
  border-bottom: 1px solid var(--border);
}
summary {
  position: relative;
  cursor: pointer;
  padding: 22px 38px 22px 0;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 18px;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
}
details[open] summary::after {
  content: '−';
}
details > div {
  padding-bottom: 24px;
  color: var(--muted);
}
.prose .contact-block {
  background: var(--soft);
  color: var(--on-apricot);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-block .eyebrow {
  color: var(--on-apricot);
}
.small {
  font-size: 0.87rem;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 32px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 22px 30px;
  align-items: center;
}
.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.footer-brand span {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  display: block;
}
.fine-print {
  width: 100%;
  color: var(--muted);
  font-size: 0.7rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1c1e1a;
    --on-apricot: #f5e7dc;
    --surface: #272a24;
    --ink: #f5f4ec;
    --muted: #b0b3a6;
    --accent: #ffb287;
    --soft: #453629;
    --border: #44483e;
    --focus: #ffb287;
  }
  .recipe-note,
  .contact-block,
  .review-note,
  .preview-notice {
    color: #f5e7dc;
  }
  .note-mark {
    background: var(--apricot);
    border-radius: 12px;
  }
  .steps li {
    border-color: #755743;
  }
  .prose code {
    color: #f5e7dc;
  }
  .contact-block .eyebrow {
    color: var(--accent);
  }
  .button:hover {
    color: #392719;
  }
}
@media (max-width: 880px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .site-header {
    align-items: flex-start;
  }
  .site-header nav {
    gap: 0 16px;
    justify-content: flex-end;
    max-width: 380px;
  }
  .hero {
    gap: 32px;
    padding-block: 54px 60px;
  }
  .recipe-note {
    padding: 28px 24px 12px;
  }
  .note-title {
    font-size: 1.7rem;
  }
  .note-mark {
    width: 48px;
    height: 52px;
    right: 22px;
    top: 22px;
  }
  .reading-layout {
    grid-template-columns: 165px minmax(0, 1fr);
    gap: 32px;
  }
  .site-footer nav {
    gap: 0 20px;
  }
}
@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    display: block;
    padding-block: 20px;
  }
  .brand {
    width: max-content;
  }
  .site-header nav {
    justify-content: flex-start;
    max-width: none;
    margin-top: 16px;
    gap: 0 18px;
  }
  .site-header nav a {
    font-size: 0.77rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 42px 48px;
  }
  .hero h1 {
    font-size: 5.5rem;
  }
  .hero .intro {
    max-width: 440px;
  }
  .recipe-note {
    padding: 30px 28px 16px;
  }
  .note-mark {
    right: 30px;
    top: 28px;
  }
  .two-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-detail {
    padding-block: 38px;
  }
  .home-detail h2 {
    font-size: 1.6rem;
  }
  .resource-links {
    padding-bottom: 44px;
  }
  .resource-links > a {
    gap: 17px;
  }
  .resource-links h2 {
    font-size: 1.25rem;
  }
  .resource-links p {
    font-size: 0.83rem;
  }
  .page-heading {
    padding-block: 42px 32px;
  }
  .reading-layout {
    display: block;
    padding-top: 26px;
    padding-bottom: 46px;
  }
  .toc {
    position: static;
    flex-direction: row;
    gap: 0 20px;
    padding-bottom: 24px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--border);
  }
  .toc a {
    font-size: 0.78rem;
  }
  .prose h2 {
    font-size: 1.4rem;
  }
  .prose section {
    padding-bottom: 32px;
    margin-bottom: 28px;
  }
  .prose .contact-block {
    padding: 24px;
  }
  .site-footer {
    padding-top: 26px;
    gap: 18px;
  }
  .site-footer nav {
    gap: 0 16px;
  }
  .site-footer nav a {
    font-size: 0.76rem;
  }
  .intro {
    font-size: 1rem;
  }
  .updated {
    line-height: 1.6;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  body {
    font-family: system-ui, sans-serif;
    font-size: 11pt;
    background: white;
    color: black;
  }
  .wrap {
    width: 100%;
    max-width: none;
  }
  .site-header,
  .site-footer,
  .toc,
  .skip-link,
  .button {
    display: none;
  }
  .reading-layout {
    display: block;
  }
  .page-heading {
    padding-top: 0;
  }
  .prose {
    max-width: none;
  }
  .prose section {
    break-inside: avoid;
  }
  .review-note,
  .preview-notice {
    background: #eee;
    color: black;
  }
  .page-heading h1 {
    font-size: 30pt;
  }
  .prose h2 {
    font-size: 16pt;
  }
  a {
    color: inherit;
  }
  details > div {
    display: block;
  }
}
