.internal-page {
  --u-paper: var(--theme-paper, #faf7f3);
  --u-ink: #090909;
  --u-blue: var(--theme-soft, #e5b0a9);
  --u-yellow: var(--theme-pale, #dae3bc);
  --u-orange: var(--theme-strong, #d20133);
  --u-green: var(--theme-leaf, #98b47d);
  --u-purple: var(--theme-deep, #8d0000);
  --internal-art: url("../svg/hero.svg");
  margin: 0;
  overflow-x: hidden;
  background: var(--theme-paper);
  color: var(--bb-ink);
  font-family: "Space Grotesk", Arial, sans-serif;
}

.internal-page--talk,
.internal-page--recipe {
  --internal-art: url("../svg/ingredienti.svg");
}

.internal-page--grow {
  --internal-art: url("../svg/hero.svg");
}

.internal-page--map {
  --internal-art: url("../svg/foodscape.svg");
}

.internal-page--guests {
  --internal-art: url("../svg/invitati.svg");
}

.internal-page .site-shell {
  width: calc(100% - 252px);
  margin-left: 252px;
  overflow: hidden;
}

.internal-page .hero-section {
  position: relative;
  overflow: hidden;
  background: var(--theme-strong);
}

.internal-page .hero-section > .topbar {
  display: none !important;
}

.internal-page .inner-page-stage,
.internal-page .recipe-stage {
  position: relative;
  z-index: 1;
  min-height: min(760px, calc(100svh - 82px));
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(5rem, 8vw, 7rem);
  isolation: isolate;
}

.internal-page .inner-page-stage::before,
.internal-page .recipe-stage::before {
  position: absolute;
  z-index: -1;
  right: -3%;
  bottom: -8%;
  width: min(54%, 680px);
  height: 76%;
  background: var(--theme-soft);
  content: "";
  opacity: 0.15;
  pointer-events: none;
  transform: rotate(4deg);
  -webkit-mask: var(--internal-art) center / contain no-repeat;
  mask: var(--internal-art) center / contain no-repeat;
}

.internal-page .inner-page-stage > *,
.internal-page .recipe-stage > * {
  position: relative;
  z-index: 2;
}

.internal-page .eyebrow,
.internal-page .recipe-kicker,
.internal-page .section-kicker {
  display: inline-flex;
  width: auto;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--theme-paper);
  color: var(--theme-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  width: max-content !important;
  max-width: 100%;
}

.internal-page .inner-page-title,
.internal-page .recipe-title,
.internal-page main h2,
.internal-page main h3 {
  font-family: "Oslla", "Chango", cursive;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.internal-page .inner-page-title {
  margin: 1.25rem 0;
  max-width: 10ch;
  color: var(--theme-paper);
  font-size: clamp(4.7rem, 8vw, 8.7rem);
  line-height: 0.78;
}

.internal-page .inner-page-subtitle {
  max-width: 34rem;
  color: color-mix(in srgb, var(--theme-paper) 82%, transparent);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  line-height: 1.25;
}

.internal-page .inner-page-visual,
.internal-page .inner-page-photo-panel,
.internal-page .detail-showcase,
.internal-page .detail-photo,
.internal-page .detail-panel,
.internal-page .about-card,
.internal-page .ingredient-recipe-card,
.internal-page .guest-seat-card,
.internal-page .recipe-cover,
.internal-page .recipe-cover-image,
.internal-page .recipe-inline-tip,
.internal-page .recipe-inline-tip-media,
.internal-page .recipe-flow-plate {
  border-radius: 0 !important;
}

.internal-page .inner-page-photo-panel,
.internal-page .detail-photo,
.internal-page .recipe-cover-image {
  overflow: hidden;
  box-shadow: none;
}

.internal-page .inner-page-photo-panel img,
.internal-page .detail-photo img,
.internal-page .recipe-cover-image img,
.internal-page .recipe-inline-tip-media img,
.internal-page .recipe-inline-tip-media video,
.internal-page .recipe-flow-plate img {
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
  object-fit: cover;
}

.internal-page main > section {
  position: relative;
}

.internal-page .section-pad {
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.internal-page main h2 {
  color: var(--theme-deep);
  font-size: clamp(3rem, 5.6vw, 6.2rem);
  line-height: 0.85;
}

.internal-page main h3 {
  line-height: 0.95;
}

.internal-page .detail-showcase {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--theme-deep) 24%, transparent);
  box-shadow: none;
}

.internal-page .detail-panel,
.internal-page .about-card,
.internal-page .guest-seat-card,
.internal-page .recipe-inline-tip {
  box-shadow: none;
}

.internal-page .about-card,
.internal-page .guest-seat-card {
  border: 1px solid color-mix(in srgb, var(--theme-deep) 22%, transparent);
}

.internal-page .section-pattern {
  width: 100%;
  height: clamp(3.75rem, 5vw, 5.2rem);
  overflow: hidden;
  background: var(--theme-strong);
  color: var(--theme-soft);
  line-height: 0;
}

.internal-page .section-pattern svg {
  display: block;
  width: 100%;
  height: 100%;
}

.internal-tablecloth {
  position: relative;
  height: clamp(3.75rem, 5vw, 5.2rem);
  overflow: hidden;
  background: var(--theme-strong);
}

.internal-tablecloth::before {
  position: absolute;
  inset: 0;
  background: var(--theme-soft);
  content: "";
  -webkit-mask: url("../svg/pattern.svg") center / 100% 100% no-repeat;
  mask: url("../svg/pattern.svg") center / 100% 100% no-repeat;
}

.internal-page .guests-hero-svg,
.internal-page .recipe-cover-illustration {
  color: var(--theme-soft);
}

.internal-page .guests-hero-svg svg path,
.internal-page .guests-hero-svg svg rect,
.internal-page .guests-hero-svg svg circle,
.internal-page .recipe-cover-illustration svg path,
.internal-page .recipe-cover-illustration svg rect,
.internal-page .recipe-cover-illustration svg circle {
  fill: currentColor;
  stroke: currentColor;
}

.internal-page .recipe-cover {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--theme-deep) 24%, transparent);
  background: var(--theme-paper);
  box-shadow: none;
}

.internal-page .recipe-title {
  color: var(--theme-deep);
  font-size: clamp(3.3rem, 6vw, 6.8rem);
  line-height: 0.84;
}

.internal-page .site-footer-eu-wrap {
  grid-template-columns: 180px minmax(240px, 1fr) auto;
}

.internal-back-top {
  align-self: start;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
  color: var(--bb-cream);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.internal-page .site-footer-title {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .internal-page .site-shell {
    width: calc(100% - 218px);
    margin-left: 218px;
  }

  .internal-page .inner-page-title {
    font-size: clamp(4rem, 7.6vw, 6.6rem);
  }
}

@media (max-width: 900px) {
  .internal-page .site-shell {
    width: 100%;
    margin: 0;
    padding-top: 72px;
  }

  .internal-page .inner-page-stage,
  .internal-page .recipe-stage {
    min-height: auto;
    padding: 4.5rem 0 5rem;
  }

  .internal-page .inner-page-stage::before,
  .internal-page .recipe-stage::before {
    right: -16%;
    width: 86%;
    opacity: 0.1;
  }

  .internal-page .inner-page-title {
    font-size: clamp(4rem, 15vw, 6.5rem);
  }

  .internal-page .inner-page-subtitle {
    max-width: 30rem;
  }

  .internal-page .site-footer-eu-wrap {
    grid-template-columns: 1fr;
  }

  .internal-page .site-footer-title {
    font-size: clamp(4.5rem, 20vw, 8rem);
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .internal-page .section-pad {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .internal-page main h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .internal-page .inner-page-title,
  .internal-page .recipe-title {
    overflow-wrap: anywhere;
  }

  .internal-page .section-pattern,
  .internal-tablecloth {
    height: 3.2rem;
  }
}

/* V2 — editorial split layouts inspired by contemporary hospitality pages. */
.internal-page .hero-section {
  padding: 20px 20px 0;
  background: var(--theme-paper);
}

.internal-page .hero-section > .container {
  width: 100%;
  max-width: none;
  padding: 0 !important;
}

.internal-page .inner-page-stage {
  min-height: auto;
  padding: 0 0 20px;
}

.internal-page .inner-page-stage::before {
  display: none;
}

.internal-page .inner-page-stage > .row {
  min-height: clamp(620px, calc(100svh - 40px), 840px);
  margin: 0;
  align-items: stretch !important;
  --bs-gutter-x: 16px;
}

.internal-page .inner-page-stage > .row > [class*="col-"] {
  display: flex;
}

.internal-page .inner-page-stage > .row > [class*="col-"]:first-child {
  padding-left: 0;
}

.internal-page .inner-page-stage > .row > [class*="col-"]:last-child {
  padding-right: 0;
}

.internal-page .inner-page-copy {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(2.2rem, 5vw, 5rem);
  border: 1px solid var(--theme-deep);
  background: var(--theme-strong);
  isolation: isolate;
}

.internal-page .inner-page-copy::after {
  position: absolute;
  z-index: -1;
  top: 4%;
  right: -12%;
  width: 72%;
  height: 58%;
  background: var(--theme-soft);
  content: "";
  opacity: 0.14;
  pointer-events: none;
  transform: rotate(5deg);
  -webkit-mask: var(--internal-art) center / contain no-repeat;
  mask: var(--internal-art) center / contain no-repeat;
}

.internal-page .inner-page-copy > * {
  position: relative;
  z-index: 2;
}

.internal-page .inner-page-title {
  max-width: 8ch;
  font-size: clamp(4.2rem, 6.7vw, 7.7rem);
}

.internal-page .inner-page-visual {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--theme-deep);
  background: var(--theme-pale);
}

.internal-page .inner-page-visual > .row {
  width: 100%;
  height: 100%;
  flex: 1;
  margin: 0;
}

.internal-page .inner-page-visual > .row > [class*="col-"] {
  padding: 0;
}

.internal-page .inner-page-photo-panel {
  width: 100%;
  height: 100% !important;
  min-height: 100%;
}

.internal-page .inner-page-photo-panel img {
  object-fit: cover;
}

.internal-page .hero-tag-list-left {
  position: absolute;
  z-index: 3;
  bottom: 1.5rem;
  left: 1.5rem;
  margin: 0;
}

.internal-page .guests-archive-hero-banquet {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.internal-page .guests-hero-svg {
  width: 100%;
}

.internal-page .section-pattern {
  width: 100% !important;
  margin-inline: 0 !important;
}

.internal-page main > section {
  padding-inline: 20px;
}

.internal-page main > section > .container,
.internal-page main > section > .container-fluid {
  width: 100%;
  max-width: none;
  padding-inline: 0 !important;
}

.internal-page .detail-showcase {
  display: grid;
  min-height: clamp(560px, 60vw, 720px);
  overflow: visible;
  border: 0;
  background: transparent;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
}

.internal-page .detail-photo,
.internal-page .detail-panel {
  min-height: 100%;
  border: 1px solid color-mix(in srgb, var(--theme-deep) 44%, transparent);
}

.internal-page .detail-photo img {
  object-fit: cover;
}

.internal-page .detail-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--theme-pale);
}

.internal-page--talk .detail-panel { background: var(--theme-soft); }
.internal-page--grow .detail-panel { background: var(--theme-pale); }
.internal-page--guests .detail-panel { background: var(--theme-soft); }

.internal-page main > section:not(.detail-section):not(.ingredients-section):not(.about-section):not(.recipe-reading) {
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.internal-page main > section:not([class]) {
  background: var(--theme-soft);
}

.internal-page .ingredients-section-deck {
  background: var(--theme-deep);
}

.internal-page .ingredients-section-deck .section-heading h2,
.internal-page .ingredients-section-deck .comeh2 {
  color: var(--theme-paper);
}

.internal-page--map .ingredients-deck {
  display: grid !important;
  height: auto !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.internal-page--map .ingredient-recipe-card {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  min-height: 300px;
  opacity: 1 !important;
  transform: none !important;
}

.internal-page--map .ingredient-recipe-shell {
  min-height: 100%;
}

.internal-page .about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.internal-page .about-card {
  min-height: 340px;
  padding: 1.5rem;
  background: var(--theme-pale);
}

.internal-page .about-card:nth-child(2) { background: var(--theme-soft); }
.internal-page .about-card:nth-child(3) { background: var(--theme-leaf); }

.internal-page .guest-seat-card {
  border-width: 0 0 1px;
  border-color: var(--theme-deep);
  background: transparent;
}

.internal-page .guest-seat-summary {
  min-height: 112px;
  padding-block: 0.75rem;
}

.internal-page .guest-seat-thumb {
  border-radius: 0 !important;
}

.internal-page--recipe .hero-section {
  padding-bottom: 20px;
}

.internal-page--recipe .recipe-stage {
  min-height: auto;
  padding: 0;
}

.internal-page--recipe .recipe-stage::before {
  display: none;
}

.internal-page--recipe .recipe-cover {
  width: 100%;
  max-width: none;
  min-height: clamp(640px, calc(100svh - 40px), 840px);
  margin: 0;
  border-color: var(--theme-deep);
}

.internal-page--recipe .recipe-cover-copy {
  padding: clamp(2rem, 5vw, 5rem);
}

.internal-page .site-footer-title {
  padding-inline: clamp(1.25rem, 3vw, 3rem);
  overflow: visible;
  font-size: clamp(5.2rem, 11vw, 10.5rem);
  line-height: 0.8;
  white-space: normal;
}

@media (max-width: 900px) {
  .internal-page .hero-section {
    padding: 12px 12px 0;
  }

  .internal-page .inner-page-stage > .row {
    min-height: auto;
    --bs-gutter-x: 0;
  }

  .internal-page .inner-page-stage > .row > [class*="col-"] {
    padding: 0;
  }

  .internal-page .inner-page-copy {
    min-height: 480px;
  }

  .internal-page .inner-page-title {
    font-size: clamp(4rem, 15vw, 6.5rem);
  }

  .internal-page .inner-page-visual {
    min-height: 560px;
    margin-top: 12px;
  }

  .internal-page .section-pattern {
    width: 100% !important;
    margin-inline: 0 !important;
  }

  .internal-page main > section {
    padding-inline: 12px;
  }

  .internal-page .detail-showcase {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .internal-page .detail-photo {
    min-height: 520px;
  }

  .internal-page .detail-panel {
    min-height: 430px;
  }

  .internal-page--map .ingredients-deck {
    grid-template-columns: 1fr 1fr;
  }

  .internal-page .about-grid {
    grid-template-columns: 1fr;
  }

  .internal-page--recipe .hero-section {
    padding-bottom: 12px;
  }

  .internal-page--recipe .recipe-cover {
    min-height: auto;
  }

  .internal-page .site-footer-title {
    padding-inline: 1.25rem;
    font-size: clamp(4.2rem, 19vw, 7rem);
  }
}

@media (max-width: 640px) {
  .internal-page .inner-page-title {
    font-size: clamp(3.35rem, 13vw, 5.2rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  .internal-page--recipe .recipe-title {
    font-size: clamp(2.65rem, 11vw, 4rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  .internal-page .inner-page-copy {
    min-height: 440px;
    padding: 1.5rem;
  }

  .internal-page .inner-page-visual {
    min-height: 500px;
  }

  .internal-page .detail-photo {
    min-height: 440px;
  }

  .internal-page .detail-panel {
    min-height: 390px;
    padding: 1.5rem;
  }

  .internal-page--map .ingredients-deck {
    grid-template-columns: 1fr;
  }
}

/* Borderless content system: rules and outlines belong to the cookbook index only. */
.internal-page .hero-section,
.internal-page .inner-page-copy,
.internal-page .inner-page-visual,
.internal-page .inner-page-photo-panel,
.internal-page .detail-showcase,
.internal-page .detail-photo,
.internal-page .detail-panel,
.internal-page .about-card,
.internal-page .ingredient-recipe-card,
.internal-page .guest-seat-card,
.internal-page .guest-seat-summary,
.internal-page .recipe-cover,
.internal-page .recipe-cover-image,
.internal-page .recipe-inline-tip,
.internal-page .recipe-inline-tip-media,
.internal-page .recipe-flow-plate,
.internal-page .site-footer,
.internal-page .site-footer-eu-wrap,
.internal-page .section-pattern {
  border: 0 !important;
  outline: 0 !important;
}

.internal-page .inner-page-photo-panel {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  flex: 1;
}

.internal-page .internal-back-top {
  border-bottom: 0;
}

.internal-page .detail-panel,
.internal-page .about-card {
  background-clip: padding-box;
}

.internal-page .inner-page-photo-panel img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover !important;
}

.internal-page .inner-page-visual {
  padding: 0 !important;
}

.internal-page .site-footer-title {
  padding-block: 0.06em 0.12em;
  line-height: 0.9;
}

/* Fatti gli orti tuoi: event archive, practical guide and photo essay. */
.internal-page--grow .orti-story {
  background: var(--theme-paper);
  color: var(--theme-deep);
}

.internal-page--grow .orti-story .container-fluid {
  width: min(100%, 1480px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 4.5rem);
}

.internal-page--grow .orti-story figure,
.internal-page--grow .orti-story ol,
.internal-page--grow .orti-story p {
  margin-top: 0;
}

.internal-page--grow .orti-section-head {
  display: grid;
  max-width: 1100px;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.internal-page--grow .orti-section-head .section-kicker {
  margin: 0;
}

.internal-page--grow .orti-section-head h2 {
  margin: 0;
  font-size: clamp(3.6rem, 7vw, 7.6rem);
  line-height: 0.84;
}

.internal-page--grow .orti-section-head > p:last-child:not(.section-kicker) {
  max-width: 46rem;
  margin: 1.5rem 0 0;
  grid-column: 2;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.45;
}

.internal-page--grow .orti-event {
  background: var(--theme-paper);
}

.internal-page--grow .orti-event-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: stretch;
}

.internal-page--grow .orti-event-copy {
  display: flex;
  padding: clamp(2rem, 4vw, 4.5rem);
  background: var(--theme-strong);
  color: var(--theme-paper);
  flex-direction: column;
  justify-content: center;
}

.internal-page--grow .orti-date,
.internal-page--grow .orti-original-copy > span {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.internal-page--grow .orti-lead {
  font-size: clamp(1.55rem, 2.7vw, 2.7rem);
  font-weight: 700;
  line-height: 1.08;
}

.internal-page--grow .orti-event-copy > p:not(.orti-date, .orti-lead),
.internal-page--grow .orti-original-copy p {
  font-size: 1rem;
  line-height: 1.55;
}

.internal-page--grow .orti-original-copy {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--theme-paper) 12%, transparent);
}

.internal-page--grow .orti-original-copy p:last-child {
  margin-bottom: 0;
}

.internal-page--grow .orti-event-hero {
  display: flex;
  min-height: 720px;
  margin-bottom: 0;
  background: var(--theme-soft);
  flex-direction: column;
}

.internal-page--grow .orti-event-hero img {
  width: 100%;
  min-height: 0;
  flex: 1;
  object-fit: cover;
}

.internal-page--grow .orti-story figcaption {
  padding: 0.8rem 0 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.internal-page--grow .orti-event-hero figcaption {
  padding: 1rem 1.25rem;
}

.internal-page--grow .orti-event-strip {
  display: grid;
  margin-top: clamp(1.25rem, 3vw, 3rem);
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.internal-page--grow .orti-event-strip img {
  width: 100%;
  height: clamp(250px, 30vw, 470px);
  object-fit: cover;
}

.internal-page--grow .orti-guide {
  background: color-mix(in srgb, var(--theme-leaf) 42%, var(--theme-paper));
}

.internal-page--grow .orti-guide-intro {
  display: grid;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.internal-page--grow .orti-guide-slide,
.internal-page--grow .orti-guide-note {
  margin: 0;
  padding: clamp(1rem, 2.5vw, 2.5rem);
  background: var(--theme-paper);
}

.internal-page--grow .orti-guide-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.internal-page--grow .orti-guide-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.internal-page--grow .orti-guide-note img {
  width: 100%;
  min-height: 260px;
  object-fit: contain;
}

.internal-page--grow .orti-guide-note p {
  margin: 1.5rem 0 0;
  font-weight: 700;
  line-height: 1.4;
}

.internal-page--grow .orti-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.internal-page--grow .orti-step {
  display: grid;
  min-height: 100%;
  background: var(--theme-paper);
  grid-template-rows: minmax(300px, 1fr) auto;
}

.internal-page--grow .orti-step img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  padding: clamp(0.75rem, 2vw, 2rem);
  object-fit: contain;
}

.internal-page--grow .orti-step > div {
  padding: clamp(1.5rem, 2.5vw, 2.75rem);
  background: var(--theme-soft);
}

.internal-page--grow .orti-step:nth-child(3n + 2) > div {
  background: var(--theme-strong);
  color: var(--theme-paper);
}

.internal-page--grow .orti-step:nth-child(3n) > div {
  background: var(--theme-deep);
  color: var(--theme-paper);
}

.internal-page--grow .orti-step span {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.internal-page--grow .orti-step h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 3.5vw, 3.7rem);
  line-height: 0.94;
}

.internal-page--grow .orti-step p {
  margin-bottom: 0;
  line-height: 1.5;
}

.internal-page--grow .orti-associations {
  background: var(--theme-deep);
  color: var(--theme-paper);
}

.internal-page--grow .orti-associations .orti-section-head h2,
.internal-page--grow .orti-association-copy h3,
.internal-page--grow .orti-step:nth-child(3n + 2) h3,
.internal-page--grow .orti-step:nth-child(3n) h3 {
  color: inherit;
}

.internal-page--grow .orti-association-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: stretch;
}

.internal-page--grow .orti-association-example {
  margin: 0;
  padding: clamp(1rem, 3vw, 3rem);
  background: var(--theme-paper);
  color: var(--theme-deep);
}

.internal-page--grow .orti-association-example img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.internal-page--grow .orti-association-copy {
  display: flex;
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--theme-strong);
  flex-direction: column;
  justify-content: center;
}

.internal-page--grow .orti-association-copy h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  line-height: 0.9;
}

.internal-page--grow .orti-association-copy p {
  line-height: 1.55;
}

.internal-page--grow .orti-matrix {
  width: min(100%, 1080px);
  margin: clamp(2rem, 5vw, 5rem) auto 0;
  padding: clamp(1rem, 3vw, 3rem);
  background: var(--theme-paper);
  color: var(--theme-deep);
}

.internal-page--grow .orti-matrix img {
  display: block;
  width: 100%;
  height: auto;
}

.internal-page--grow .orti-gallery {
  background: var(--theme-paper);
}

.internal-page--grow .orti-gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: clamp(250px, 25vw, 410px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.4rem);
}

.internal-page--grow .orti-gallery-grid figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.internal-page--grow .orti-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.internal-page--grow .orti-gallery-wide {
  grid-column: span 2;
}

.internal-page--grow .orti-gallery-tall {
  grid-row: span 2;
}

@media (max-width: 900px) {
  .internal-page--grow .orti-story .container-fluid {
    padding-inline: 12px;
  }

  .internal-page--grow .orti-section-head {
    display: block;
  }

  .internal-page--grow .orti-section-head .section-kicker {
    margin-bottom: 1.25rem;
  }

  .internal-page--grow .orti-section-head > p:last-child:not(.section-kicker) {
    margin-top: 1.25rem;
  }

  .internal-page--grow .orti-event-grid,
  .internal-page--grow .orti-guide-intro,
  .internal-page--grow .orti-association-layout {
    grid-template-columns: 1fr;
  }

  .internal-page--grow .orti-event-hero {
    min-height: 520px;
  }

  .internal-page--grow .orti-event-strip {
    grid-template-columns: 1fr;
  }

  .internal-page--grow .orti-event-strip img {
    height: 320px;
  }

  .internal-page--grow .orti-steps {
    grid-template-columns: 1fr;
  }

  .internal-page--grow .orti-gallery-grid {
    grid-auto-rows: 310px;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .internal-page--grow .orti-section-head h2 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .internal-page--grow .orti-event-copy {
    padding: 1.5rem;
  }

  .internal-page--grow .orti-event-hero {
    min-height: 390px;
  }

  .internal-page--grow .orti-event-strip img {
    height: 250px;
  }

  .internal-page--grow .orti-guide-slide,
  .internal-page--grow .orti-guide-note,
  .internal-page--grow .orti-association-example,
  .internal-page--grow .orti-matrix {
    padding: 0.75rem;
  }

  .internal-page--grow .orti-guide-slide img,
  .internal-page--grow .orti-association-example img {
    aspect-ratio: 4 / 3;
  }

  .internal-page--grow .orti-gallery-grid {
    display: block;
  }

  .internal-page--grow .orti-gallery-grid figure {
    height: 300px;
    margin-bottom: 12px;
  }
}

/* More measured display headings across the internal editorial pages. */
.internal-page main h2 {
  font-size: clamp(2.55rem, 4.25vw, 4.9rem);
  line-height: 0.91;
}

.internal-page .inner-page-title {
  font-size: clamp(3.8rem, 5.4vw, 6.2rem);
  line-height: 0.86;
}

.internal-page--grow .orti-section-head h2 {
  font-size: clamp(3rem, 4.8vw, 5.5rem);
  line-height: 0.9;
}

@media (max-width: 640px) {
  .internal-page main h2,
  .internal-page--grow .orti-section-head h2 {
    font-size: clamp(2.35rem, 10.5vw, 3.55rem);
    line-height: 0.92;
  }

  .internal-page .inner-page-title {
    font-size: clamp(3rem, 12vw, 4.25rem);
    line-height: 0.88;
  }
}

/* Fatti gli orti tuoi: quieter palette and a photographic homepage-style hero. */
.internal-page--grow .orti-home-hero-shell {
  min-height: 100svh;
  padding: 0 !important;
  background: var(--theme-deep);
}

.internal-page--grow .orti-home-hero-shell::before,
.internal-page--grow .orti-home-hero-shell .topbar {
  display: none !important;
}

.internal-page--grow .orti-home-hero {
  position: relative;
  min-height: calc(100svh - 18px);
  overflow: hidden;
  isolation: isolate;
}

.internal-page--grow .orti-home-hero-image,
.internal-page--grow .orti-home-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.internal-page--grow .orti-home-hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.internal-page--grow .orti-home-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(29, 18, 18, 0.78) 0%, rgba(29, 18, 18, 0.46) 48%, rgba(29, 18, 18, 0.08) 80%),
    linear-gradient(0deg, rgba(29, 18, 18, 0.48) 0%, transparent 50%);
}

.internal-page--grow .orti-home-hero-copy {
  position: absolute;
  bottom: clamp(3rem, 8vw, 7rem);
  left: clamp(2rem, 5vw, 5.5rem);
  width: min(720px, calc(100% - 4rem));
  color: var(--theme-paper);
}

.internal-page--grow .orti-home-hero-copy .eyebrow {
  display: inline-flex;
  margin-bottom: 1.25rem;
  padding: 0.7rem 1rem;
  background: var(--theme-paper);
  color: var(--theme-deep);
}

.internal-page--grow .orti-home-hero-copy h1 {
  max-width: 9ch;
  margin: 0;
  color: inherit;
  font-family: "Oslla", "Chango", cursive;
  font-size: clamp(4.4rem, 7vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.8;
  text-transform: uppercase;
}

.internal-page--grow .orti-home-hero-copy > p:last-child {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  color: inherit;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
}

.internal-page--grow .orti-home-hero-note {
  position: absolute;
  top: 2rem;
  right: clamp(2rem, 4vw, 4rem);
  margin: 0;
  color: var(--theme-paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.internal-page--grow .orti-pattern-single {
  height: 18px !important;
  background: repeating-linear-gradient(90deg, var(--theme-soft) 0 18px, var(--theme-deep) 18px 36px) !important;
}

.internal-page--grow .orti-pattern-single svg {
  display: none !important;
}

.internal-page--grow .orti-story .internal-tablecloth {
  display: none !important;
}

.internal-page--grow .orti-section-head--event {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.internal-page--grow .orti-event-intro {
  max-width: 48rem;
  margin-top: 1.5rem;
  grid-column: 2;
}

.internal-page--grow .orti-event-intro p {
  margin-bottom: 1rem;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.5;
}

.internal-page--grow .orti-event-intro p:first-child {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.3;
}

.internal-page--grow .orti-section-head--event + .orti-event-strip {
  margin-top: 0;
}

.internal-page--grow .orti-layer-schema {
  display: grid;
  width: min(100%, 920px);
  margin: 0 auto clamp(2rem, 4vw, 4rem);
  padding: clamp(1.25rem, 3vw, 3rem);
  background: color-mix(in srgb, var(--theme-soft) 20%, var(--theme-paper));
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.internal-page--grow .orti-layer-schema > img {
  display: block;
  width: 100%;
  max-height: 530px;
  object-fit: contain;
}

.internal-page--grow .orti-layer-schema h3 {
  margin: 1rem 0;
  color: var(--theme-deep);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.92;
}

.internal-page--grow .orti-layer-schema > div > p:last-child {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
}

.internal-page--grow .orti-matrix {
  width: min(58%, 600px);
}

.internal-page--grow .orti-event,
.internal-page--grow .orti-guide,
.internal-page--grow .orti-associations,
.internal-page--grow .orti-gallery {
  background: var(--theme-paper);
  color: var(--theme-deep);
}

.internal-page--grow .orti-event-copy {
  background: color-mix(in srgb, var(--theme-soft) 32%, var(--theme-paper));
  color: var(--theme-deep);
}

.internal-page--grow .orti-original-copy {
  background: var(--theme-paper);
}

.internal-page--grow .orti-guide-slide,
.internal-page--grow .orti-guide-note,
.internal-page--grow .orti-step,
.internal-page--grow .orti-association-example,
.internal-page--grow .orti-matrix {
  background: color-mix(in srgb, var(--theme-soft) 20%, var(--theme-paper));
  color: var(--theme-deep);
}

.internal-page--grow .orti-step > div,
.internal-page--grow .orti-step:nth-child(3n + 2) > div,
.internal-page--grow .orti-step:nth-child(3n) > div,
.internal-page--grow .orti-association-copy {
  background: color-mix(in srgb, var(--theme-soft) 48%, var(--theme-paper));
  color: var(--theme-deep);
}

.internal-page--grow .orti-associations .orti-section-head h2,
.internal-page--grow .orti-association-copy h3,
.internal-page--grow .orti-step:nth-child(3n + 2) h3,
.internal-page--grow .orti-step:nth-child(3n) h3 {
  color: var(--theme-deep);
}

@media (max-width: 900px) {
  .internal-page--grow .orti-home-hero-shell {
    min-height: auto;
    padding: 12px !important;
    background: var(--theme-paper);
  }

  .internal-page--grow .orti-home-hero {
    min-height: 760px;
  }

  .internal-page--grow .orti-home-hero-copy {
    bottom: 2rem;
    left: 1.5rem;
    width: calc(100% - 3rem);
  }

  .internal-page--grow .orti-home-hero-copy h1 {
    font-size: clamp(3.5rem, 15vw, 5.2rem);
  }

  .internal-page--grow .orti-home-hero-note {
    top: 1.5rem;
    right: 1.5rem;
    left: 1.5rem;
    text-align: right;
  }

  .internal-page--grow .orti-event-intro {
    margin-top: 1.25rem;
  }

  .internal-page--grow .orti-layer-schema {
    width: 100%;
    grid-template-columns: minmax(180px, 0.38fr) minmax(0, 0.62fr);
  }

  .internal-page--grow .orti-matrix {
    width: min(76%, 600px);
  }
}

@media (max-width: 560px) {
  .internal-page--grow .orti-home-hero {
    min-height: 680px;
  }

  .internal-page--grow .orti-home-hero-image {
    object-position: 56% center;
  }

  .internal-page--grow .orti-home-hero-copy h1 {
    font-size: clamp(3.4rem, 16.5vw, 4.5rem);
  }

  .internal-page--grow .orti-home-hero-note {
    max-width: 15rem;
    margin-left: auto;
  }

  .internal-page--grow .orti-layer-schema {
    padding: 1rem;
    grid-template-columns: 1fr;
  }

  .internal-page--grow .orti-layer-schema > img {
    max-height: 360px;
  }

  .internal-page--grow .orti-matrix {
    width: 100%;
  }
}

/* Shared editorial treatment for the remaining project pages. */
.internal-page--story .hero-section {
  min-height: 100svh;
  padding: 0 !important;
  background: var(--theme-deep);
}

.internal-page--story .hero-section > .container {
  height: 100%;
}

.internal-page--story .inner-page-stage {
  position: relative;
  min-height: calc(100svh - 18px);
  padding: 0 !important;
  overflow: hidden;
}

.internal-page--story .inner-page-stage > .row {
  position: relative;
  min-height: calc(100svh - 18px);
  margin: 0;
  --bs-gutter-x: 0;
}

.internal-page--story .inner-page-stage > .row > [class*="col-"] {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  padding: 0;
}

.internal-page--story .inner-page-stage > .row > [class*="col-"]:first-child {
  z-index: 2;
  pointer-events: none;
}

.internal-page--story .inner-page-stage > .row > [class*="col-"]:last-child {
  z-index: 0;
}

.internal-page--story .inner-page-copy {
  display: flex;
  width: min(760px, calc(100% - clamp(4rem, 10vw, 11rem)));
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--theme-paper);
  flex-direction: column;
  justify-content: flex-end;
  overflow: visible;
  transform: translate(clamp(2rem, 5vw, 5.5rem), calc(-1 * clamp(3rem, 8vw, 7rem)));
}

.internal-page--story .inner-page-copy::after {
  display: none;
}

.internal-page--story .inner-page-copy .eyebrow {
  margin: 0 0 1.25rem;
  padding: 0.7rem 1rem;
  background: var(--theme-paper);
  color: var(--theme-deep);
}

.internal-page--story .inner-page-title {
  max-width: 10ch;
  margin: 0;
  color: inherit;
  font-size: clamp(3.8rem, 5.8vw, 6.4rem);
  letter-spacing: -0.045em;
  line-height: 0.82;
}

.internal-page--map .inner-page-title {
  max-width: 11ch;
}

.internal-page--guests .inner-page-title {
  max-width: 9ch;
}

.internal-page--story .inner-page-subtitle {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  color: inherit;
  font-size: clamp(1.05rem, 1.65vw, 1.4rem);
  line-height: 1.3;
}

.internal-page--story .inner-page-visual,
.internal-page--story .guests-archive-hero-banquet {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  padding: 0 !important;
  background: var(--theme-deep);
}

.internal-page--story .inner-page-visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29, 18, 18, 0.8) 0%, rgba(29, 18, 18, 0.47) 48%, rgba(29, 18, 18, 0.08) 82%),
    linear-gradient(0deg, rgba(29, 18, 18, 0.5) 0%, transparent 52%);
  content: "";
  pointer-events: none;
}

.internal-page--story .inner-page-visual > .row,
.internal-page--story .inner-page-visual > .row > [class*="col-"],
.internal-page--story .inner-page-photo-panel {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
}

.internal-page--story .inner-page-photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.internal-page--map .inner-page-photo-panel img {
  object-position: center;
}

.internal-page--story .hero-tag-list {
  display: none !important;
}

.internal-page--story .hero-section > .section-pattern {
  height: 18px !important;
  background: repeating-linear-gradient(90deg, var(--theme-soft) 0 18px, var(--theme-deep) 18px 36px) !important;
}

.internal-page--story .hero-section > .section-pattern svg {
  display: none !important;
}

.internal-page--story main {
  background: var(--theme-paper);
  color: var(--theme-deep);
}

.internal-page--story main > section,
.internal-page--story main > section:not([class]),
.internal-page--story .ingredients-section-deck,
.internal-page--story .about-section {
  padding-inline: 0 !important;
  background: var(--theme-paper);
  color: var(--theme-deep);
}

.internal-page--story main > section > .container,
.internal-page--story main > section > .container-fluid {
  width: min(100%, 1480px);
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 4.5rem) !important;
}

.internal-page--story .detail-showcase {
  min-height: 0;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: stretch;
}

.internal-page--story .detail-photo,
.internal-page--story .detail-panel {
  min-height: clamp(560px, 58vw, 760px);
  border: 0 !important;
}

.internal-page--story .detail-panel,
.internal-page--talk .detail-panel,
.internal-page--guests .detail-panel {
  padding: clamp(2rem, 4vw, 4.5rem);
  background: color-mix(in srgb, var(--theme-soft) 22%, var(--theme-paper));
  color: var(--theme-deep);
}

.internal-page--story .detail-intro {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 700;
  line-height: 1.4;
}

.internal-page--story .detail-entry + .detail-entry {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.internal-page--story .detail-entry h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 3.2vw, 3.7rem);
}

.internal-page--story .detail-entry p,
.internal-page--story .intro-copy p,
.internal-page--story .about-card p,
.internal-page--story .guest-seat-detail p {
  line-height: 1.62;
}

.internal-page--story .guest-seat-card,
.internal-page--story .guest-seat-summary,
.internal-page--story .guest-seat-detail,
.internal-page--story .ingredient-recipe-card,
.internal-page--story .ingredient-recipe-shell,
.internal-page--story .about-card {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.internal-page--story .guest-seat-summary,
.internal-page--story .guest-seat-detail {
  background: color-mix(in srgb, var(--theme-soft) 18%, var(--theme-paper));
}

.internal-page--story .guest-seat-detail {
  margin-top: 2px;
}

.internal-page--story .guest-seat-thumb {
  border-radius: 0 !important;
}

.internal-page--story .guests-filter {
  border: 0;
  background: color-mix(in srgb, var(--theme-soft) 28%, var(--theme-paper));
}

.internal-page--story .guests-filter.is-active,
.internal-page--story .guests-filter:hover,
.internal-page--story .guests-filter:focus-visible {
  background: var(--theme-deep);
  color: var(--theme-paper);
}

.internal-page--talk #ricette {
  padding-top: clamp(1rem, 2vw, 2rem) !important;
  padding-bottom: clamp(5rem, 9vw, 8rem) !important;
}

.internal-page--talk #ricette > [class*="col-"] {
  width: min(100%, 780px);
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.internal-page--talk .guests-banquet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.internal-page--talk .guests-banquet-seat {
  grid-column: auto !important;
  transform: none !important;
}

.internal-page--talk .guest-seat-summary {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding: 0;
  background: var(--theme-paper);
}

.internal-page--talk .guest-seat-summary .guest-seat-thumb {
  grid-row: 1 / span 3;
  min-height: 420px;
}

.internal-page--talk .guest-seat-summary .guest-seat-kicker,
.internal-page--talk .guest-seat-summary .guest-seat-name,
.internal-page--talk .guest-seat-summary .guest-seat-note {
  grid-column: 2;
}

.internal-page--talk .guest-seat-summary .guest-seat-note {
  padding-bottom: 1rem;
}

.internal-page--talk .guest-seat-detail {
  width: min(100%, 720px);
  margin: 1rem 0 0 auto;
  padding: clamp(1.25rem, 2vw, 2rem);
}

.internal-page--talk .guests-banquet-seat > .detail-back {
  margin-top: 1.25rem;
  text-align: right;
}

.internal-page--map .ingredients-section-deck .section-heading h2,
.internal-page--map .ingredients-section-deck .comeh2 {
  color: var(--theme-deep);
}

.internal-page--map .ingredients-deck-scene {
  min-height: 0;
  margin-top: 0;
}

.internal-page--map .ingredients-deck-title {
  max-width: 980px;
}

.internal-page--map .ingredients-deck-chip {
  background: color-mix(in srgb, var(--theme-soft) 26%, var(--theme-paper));
}

.internal-page--map .ingredients-deck {
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  margin-block: clamp(2rem, 4vw, 4rem);
}

.internal-page--map .ingredient-recipe-card {
  min-height: 320px;
  background: color-mix(in srgb, var(--theme-soft) 18%, var(--theme-paper)) !important;
}

.internal-page--map .ingredient-recipe-shell {
  min-height: 100%;
  background: transparent !important;
}

.internal-page--map .ingredient-recipe-shell img {
  display: block;
  width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.internal-page--map .comeh2 {
  max-width: 1100px;
  margin-top: clamp(3rem, 6vw, 6rem);
  font-size: clamp(1.9rem, 3vw, 3.3rem) !important;
  line-height: 1.03 !important;
}

.internal-page--map .recipe-flow-step {
  margin-bottom: 1rem;
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 0;
  background: color-mix(in srgb, var(--theme-soft) 18%, var(--theme-paper));
}

.internal-page--map .recipe-flow-step:first-of-type {
  padding-top: clamp(1.25rem, 2vw, 2rem);
}

.internal-page--map .about-card,
.internal-page--map .about-card:nth-child(2),
.internal-page--map .about-card:nth-child(3) {
  background: color-mix(in srgb, var(--theme-soft) 18%, var(--theme-paper));
}

.internal-page--guests #invitati {
  padding-top: clamp(2rem, 5vw, 5rem);
}

.internal-page--guests [data-guest-grid] {
  row-gap: clamp(2rem, 4vw, 4rem) !important;
}

.internal-page--guests .guest-seat-summary {
  min-height: 100%;
  padding: 0 0 1.25rem;
  background: var(--theme-paper);
}

.internal-page--guests .guest-seat-thumb {
  aspect-ratio: 4 / 3;
  margin-bottom: 0.75rem;
}

.internal-page--guests .guest-seat-detail {
  padding: 1.25rem;
}

@media (max-width: 900px) {
  .internal-page--story .hero-section {
    min-height: auto;
    padding: 12px 12px 0 !important;
    background: var(--theme-paper);
  }

  .internal-page--story .inner-page-stage,
  .internal-page--story .inner-page-stage > .row {
    min-height: 760px;
  }

  .internal-page--story .inner-page-copy {
    width: calc(100% - 3rem);
    transform: translate(1.5rem, -2rem);
  }

  .internal-page--story .inner-page-title {
    font-size: clamp(3.35rem, 13vw, 5rem);
  }

  .internal-page--story main > section > .container,
  .internal-page--story main > section > .container-fluid {
    padding-inline: 12px !important;
  }

  .internal-page--story .detail-showcase {
    grid-template-columns: 1fr;
  }

  .internal-page--story .detail-photo {
    min-height: 520px;
  }

  .internal-page--story .detail-panel {
    min-height: 0;
  }

  .internal-page--talk .guest-seat-summary {
    grid-template-columns: 1fr;
  }

  .internal-page--talk .guest-seat-summary .guest-seat-thumb,
  .internal-page--talk .guest-seat-summary .guest-seat-kicker,
  .internal-page--talk .guest-seat-summary .guest-seat-name,
  .internal-page--talk .guest-seat-summary .guest-seat-note {
    grid-column: 1;
  }

  .internal-page--talk .guest-seat-summary .guest-seat-thumb {
    grid-row: auto;
    min-height: 440px;
  }

  .internal-page--talk .guest-seat-detail {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .internal-page--story .inner-page-stage,
  .internal-page--story .inner-page-stage > .row {
    min-height: 680px;
  }

  .internal-page--story .inner-page-copy {
    width: calc(100% - 2.5rem);
    transform: translate(1.25rem, -1.5rem);
  }

  .internal-page--story .inner-page-title {
    font-size: clamp(3rem, 14.5vw, 4.15rem);
  }

  .internal-page--story .inner-page-subtitle {
    font-size: 1rem;
  }

  .internal-page--map .inner-page-photo-panel img {
    object-position: 58% center;
  }

  .internal-page--story .detail-photo,
  .internal-page--talk .guest-seat-summary .guest-seat-thumb {
    min-height: 360px;
  }

  .internal-page--story .detail-panel {
    padding: 1.5rem;
  }

  .internal-page--map .comeh2 {
    font-size: clamp(1.65rem, 8vw, 2.4rem) !important;
  }
}

/* Mangia come parli: recipe feature aligned with the consociazioni panel. */
.internal-page--talk .talk-recipes-section {
  background: var(--theme-paper);
  color: var(--theme-deep);
}

.internal-page--talk .talk-recipe-feature {
  display: grid;
  width: min(100%, 920px);
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 3rem);
  background: color-mix(in srgb, var(--theme-soft) 20%, var(--theme-paper));
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.internal-page--talk .talk-recipe-feature > img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.internal-page--talk .talk-recipe-copy h2 {
  margin: clamp(1.5rem, 3vw, 2.75rem) 0 1.25rem;
  color: var(--theme-deep);
  font-family: "Oslla", "Chango", sans-serif;
  font-size: clamp(2.8rem, 4.8vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-transform: uppercase;
}

.internal-page--talk .talk-recipe-copy > p:not(.section-kicker) {
  margin-bottom: 1.25rem;
  color: var(--theme-deep);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.55;
}

.internal-page--talk .talk-recipe-copy .talk-recipe-note {
  font-weight: 700;
}

.internal-page--talk .talk-recipe-link {
  margin-top: 0.5rem;
  border: 1px solid var(--theme-deep);
  background: var(--theme-deep);
  color: var(--theme-paper);
  font-weight: 700;
}

.internal-page--talk .talk-recipe-link:hover,
.internal-page--talk .talk-recipe-link:focus-visible {
  border-color: var(--theme-deep);
  background: transparent;
  color: var(--theme-deep);
}

@media (max-width: 900px) {
  .internal-page--talk .talk-recipe-feature {
    width: 100%;
    grid-template-columns: minmax(180px, 0.38fr) minmax(0, 0.62fr);
  }

  .internal-page--talk .talk-recipe-feature > img {
    min-height: 440px;
  }
}

@media (max-width: 560px) {
  .internal-page--talk .talk-recipe-feature {
    padding: 1rem;
    grid-template-columns: 1fr;
  }

  .internal-page--talk .talk-recipe-feature > img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .internal-page--talk .talk-recipe-copy {
    padding: 0.5rem 0.25rem 0.75rem;
  }

  .internal-page--talk .talk-recipe-copy h2 {
    font-size: clamp(2.7rem, 13.5vw, 3.8rem);
  }
}

/* Fatti gli orti tuoi: three illustrated companion-planting boards. */
.internal-page--grow .orti-friend-boards {
  display: grid;
  margin-top: clamp(2rem, 5vw, 5rem);
  gap: clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.internal-page--grow .orti-friend-board:nth-child(3) {
  width: calc(50% - clamp(0.75rem, 1.5vw, 1.5rem));
  grid-column: 1 / -1;
  justify-self: center;
}

.internal-page--grow .orti-friend-board {
  position: relative;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  background: color-mix(in srgb, var(--theme-soft) 20%, var(--theme-paper));
  color: var(--theme-deep);
}

.internal-page--grow .orti-friend-board > h3 {
  position: absolute;
  z-index: 2;
  top: 2.5%;
  left: 2.2%;
  margin: 0;
  color: var(--theme-deep);
  font-family: "Oslla", "Chango", sans-serif;
  font-size: clamp(2.1rem, 7.5cqw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}

.internal-page--grow .friend-plant {
  position: absolute;
  z-index: 1;
  display: flex;
  min-width: 0;
  gap: clamp(0.25rem, 1vw, 1rem);
  align-items: center;
  justify-content: center;
}

.internal-page--grow .friend-plant--stacked {
  text-align: center;
  flex-direction: column;
  gap: 0.15rem;
}

.internal-page--grow .friend-plant-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  text-align: center;
}

.internal-page--grow .friend-plant-copy h4 {
  margin: 0;
  color: var(--theme-deep);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(0.85rem, 2.8cqw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.internal-page--grow .friend-plant-copy p {
  margin: 0.35rem 0 0;
  color: var(--theme-deep);
  font-size: clamp(0.68rem, 2.05cqw, 1.15rem);
  font-weight: 400;
  line-height: 1.2;
}

.internal-page--grow .friend-plant-art {
  display: flex;
  width: 52%;
  height: clamp(76px, 19cqw, 180px);
  min-width: 0;
  flex: 0 1 52%;
  align-items: center;
  justify-content: center;
}

.internal-page--grow .friend-plant-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.internal-page--grow .friend-plant--stacked .friend-plant-art {
  width: 100%;
  height: clamp(72px, 17cqw, 165px);
  flex-basis: auto;
}

.internal-page--grow .orti-friend-board--one .friend-plant--basilico {
  top: 18%;
  left: 6%;
  width: 31%;
}

.internal-page--grow .orti-friend-board--one .friend-plant--pomodoro {
  top: 17%;
  left: 39%;
  width: 25%;
}

.internal-page--grow .orti-friend-board--one .friend-plant--aglio {
  top: 11%;
  right: 5%;
  width: 29%;
}

.internal-page--grow .orti-friend-board--one .friend-plant--lattuga {
  bottom: 7%;
  left: 4%;
  width: 39%;
}

.internal-page--grow .orti-friend-board--one .friend-plant--cipolla {
  right: 5%;
  bottom: 4%;
  width: 39%;
}

.internal-page--grow .orti-friend-board--two .friend-plant--fagioli {
  top: 5%;
  left: 6%;
  width: 31%;
}

.internal-page--grow .orti-friend-board--two .friend-plant--zucchina {
  top: 3%;
  left: 39%;
  width: 27%;
}

.internal-page--grow .orti-friend-board--two .friend-plant--cipolla {
  top: 7%;
  right: 3%;
  width: 29%;
}

.internal-page--grow .orti-friend-board--two .friend-plant--biete {
  bottom: 7%;
  left: 4%;
  width: 35%;
}

.internal-page--grow .orti-friend-board--two .friend-plant--lattuga {
  bottom: 2%;
  left: 40%;
  width: 27%;
}

.internal-page--grow .orti-friend-board--two .friend-plant--menta {
  right: 3%;
  bottom: 9%;
  width: 29%;
}

.internal-page--grow .orti-friend-board--three .friend-plant--menta {
  top: 4%;
  left: 17%;
  width: 28%;
}

.internal-page--grow .orti-friend-board--three .friend-plant--cipolla {
  top: 3%;
  right: 5%;
  width: 30%;
}

.internal-page--grow .orti-friend-board--three .friend-plant--fragola {
  top: 29%;
  left: 4%;
  width: 28%;
}

.internal-page--grow .orti-friend-board--three .friend-plant--peperoncino {
  top: 28%;
  left: 40%;
  width: 31%;
}

.internal-page--grow .orti-friend-board--three .friend-plant--aglio {
  bottom: 5%;
  left: 27%;
  width: 22%;
}

.internal-page--grow .orti-friend-board--three .friend-plant--lattuga {
  right: 5%;
  bottom: 6%;
  width: 36%;
}

@media (max-width: 1100px) {
  .internal-page--grow .orti-friend-boards {
    grid-template-columns: 1fr;
  }

  .internal-page--grow .orti-friend-board,
  .internal-page--grow .orti-friend-board:nth-child(3) {
    width: min(100%, 720px);
    grid-column: auto;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .internal-page--grow .orti-friend-board {
    display: grid;
    aspect-ratio: auto;
    padding: 5.5rem 1rem 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .internal-page--grow .orti-friend-board > h3 {
    top: 1.5rem;
    left: 1.5rem;
    font-size: clamp(2.6rem, 8vw, 4rem);
  }

  .internal-page--grow .friend-plant,
  .internal-page--grow .orti-friend-board--one .friend-plant,
  .internal-page--grow .orti-friend-board--two .friend-plant,
  .internal-page--grow .orti-friend-board--three .friend-plant {
    position: static;
    display: flex;
    width: auto;
    min-height: 210px;
    padding: 0.35rem;
    flex-direction: column;
    gap: 0.3rem;
  }

  .internal-page--grow .orti-friend-board--one .friend-plant:last-child {
    grid-column: 1 / -1;
    width: min(50%, 320px);
    justify-self: center;
  }

  .internal-page--grow .friend-plant-copy {
    order: 1;
  }

  .internal-page--grow .friend-plant-art,
  .internal-page--grow .friend-plant--stacked .friend-plant-art {
    order: 2;
    width: 100%;
    height: 140px;
    flex: 0 0 140px;
  }

  .internal-page--grow .friend-plant-copy h4 {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
  }

  .internal-page--grow .friend-plant-copy p {
    font-size: clamp(1rem, 3vw, 1.25rem);
  }
}

@media (max-width: 560px) {
  .internal-page--grow .orti-friend-board {
    padding: 4.6rem 0.55rem 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.35rem;
  }

  .internal-page--grow .orti-friend-board > h3 {
    top: 1.25rem;
    left: 1.25rem;
  }

  .internal-page--grow .friend-plant,
  .internal-page--grow .orti-friend-board--one .friend-plant:last-child {
    width: auto;
    min-height: 180px;
    justify-self: center;
  }

  .internal-page--grow .orti-friend-board--one .friend-plant:last-child {
    width: min(100%, 190px);
    grid-column: 1 / -1;
  }

  .internal-page--grow .friend-plant-art,
  .internal-page--grow .friend-plant--stacked .friend-plant-art {
    height: 112px;
    flex-basis: 112px;
  }

  .internal-page--grow .friend-plant-copy h4 {
    font-size: clamp(1rem, 5.2vw, 1.3rem);
  }

  .internal-page--grow .friend-plant-copy p {
    margin-top: 0.15rem;
    font-size: clamp(0.78rem, 3.7vw, 0.95rem);
  }
}

/* Mangia come parli: spacing between stacked recipe features. */
.internal-page--talk .talk-recipe-feature + .talk-recipe-feature {
  margin-top: clamp(1.5rem, 3vw, 3rem);
}
