:root {
  color-scheme: light;
  --paper: #f2eadb;
  --ink: #17241e;
  --olive: #4b553b;
  --copper: #9f430e;
  --ivory: #fbf7ef;
  --rule: #b8ad9c;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --header: 72px;
  --edge: clamp(20px, 5.1vw, 90px);
  --section-space: clamp(76px, 11vw, 164px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1.125rem/1.5 var(--body); }
body, h1, h2, h3, p, figure, ul { margin: 0; }
p + p { margin-top: 1rem; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
button, input, select, textarea, summary { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, .wordmark { font-family: var(--display); }
h1, h2 { font-weight: 720; letter-spacing: -.048em; line-height: .98; text-wrap: balance; }
h2 { font-size: clamp(3.125rem, 6.9vw, 7.75rem); }
h3 { font-size: 1.25rem; line-height: 1.14; letter-spacing: -.035em; }
figcaption { font-size: .9375rem; }

.page-width { width: min(100%, 1680px); margin-inline: auto; padding-inline: var(--edge); }
.skip { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 10px 16px; background: var(--ivory); transform: translateY(-150%); }
.skip:focus { transform: none; }
.button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--copper);
  color: var(--ivory);
  text-decoration: none;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
}
.button:hover { background: #803309; }
.button:focus-visible { outline-color: var(--ink); }
.opening .button:focus-visible { outline-color: var(--ivory); }
.surface-link, .text-link {
  display: inline-flex;
  align-items: baseline;
  gap: .45em;
  font-weight: 650;
  font-size: 1rem;
  text-decoration-thickness: 1px;
}
.text-link { color: var(--copper); }
.surface-link:hover, .text-link:hover { text-decoration-thickness: 2px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid #d5c9b7;
}
.header-inner {
  width: min(100%, 1680px);
  min-height: calc(var(--header) - 1px);
  margin-inline: auto;
  padding-inline: var(--edge);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.wordmark { width: fit-content; font-size: 1.375rem; font-weight: 800; line-height: .9; letter-spacing: -.046em; text-decoration: none; }
.wordmark span { color: var(--copper); }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 53px); }
.desktop-nav a, .mobile-nav a { font-size: 1rem; font-weight: 650; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current], .mobile-nav a[aria-current] { color: var(--copper); text-decoration: underline; }
.header-action { justify-self: end; min-height: 40px; padding-inline: 15px; }
.mobile-nav { display: none; }

.opening { background: var(--ink); color: var(--ivory); }
.opening-stage {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  height: calc(100vh - var(--header));
  height: calc(100svh - var(--header));
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  overflow: hidden;
}
.opening-frames, .opening-frames img, .opening-stage::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.opening-frames { z-index: -2; }
.opening-frames img { object-fit: cover; }
.opening-first { object-position: 63% 53%; }
.opening-detail { display: none; object-position: 50% 50%; }
.opening-greenhouse { display: none; object-position: 50% 45%; }
.opening-stage::before {
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgb(13 21 16 / 93%) 0%, rgb(13 21 16 / 81%) 31%, rgb(13 21 16 / 13%) 78%),
    linear-gradient(0deg, rgb(13 21 16 / 86%) 0%, transparent 23%);
}
.opening-content { padding-top: clamp(24px, 5vh, 64px); padding-bottom: 14px; }
.location-tag { display: flex; gap: .66em; align-items: center; margin-bottom: 24px; font-size: .9375rem; font-weight: 650; }
.location-tag span { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #e5975b; }
.opening h1 {
  width: fit-content;
  font-size: clamp(4.1rem, 8.1vw, 9.5rem);
  word-spacing: .015em;
  text-wrap: initial;
}
.opening-content > p:not(.location-tag) {
  max-width: 35ch;
  margin-top: clamp(18px, 2.5vw, 36px);
  font-size: clamp(1.085rem, 1.75vw, 1.43rem);
  line-height: 1.37;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 26px; }
.opening-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  font-size: .8125rem;
}
.opening-foot a { display: flex; gap: .6rem; align-items: center; text-decoration: none; }
.opening-foot a:hover { text-decoration: underline; }
.opening-foot a span { font-size: 1.3rem; }

@media (min-width: 800px) and (min-height: 640px) and (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: contain)) {
    .opening { height: 205svh; view-timeline-name: --entrada; view-timeline-inset: var(--header) 0; }
    .opening-stage { position: sticky; top: var(--header); }
    .opening-detail, .opening-greenhouse { display: block; opacity: 0; }
    .opening-first { animation: aproximar linear both; animation-timeline: --entrada; animation-range: contain; }
    .opening-detail { animation: lamelas linear both; animation-timeline: --entrada; animation-range: contain; }
    .opening-greenhouse { animation: revelar-estufa linear both; animation-timeline: --entrada; animation-range: contain; }
    .opening-content { animation: avancar-titulo linear both; animation-timeline: --entrada; animation-range: contain; }
  }
}
@keyframes aproximar {
  from { transform: scale(1); }
  to { transform: scale(1.075); }
}
@keyframes lamelas {
  0%, 9% { opacity: 0; transform: scale(1.06); animation-timing-function: ease-in-out; }
  49%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes revelar-estufa {
  0%, 50% { opacity: 0; transform: scale(1.06); animation-timing-function: ease-in-out; }
  93%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes avancar-titulo {
  from { transform: translateY(0); }
  to { transform: translateY(-22px); }
}

.about {
  display: grid;
  grid-template-columns: 1fr .94fr;
  align-items: center;
  gap: clamp(36px, 8vw, 140px);
  padding-block: var(--section-space);
}
.section-label { color: var(--copper); font-weight: 700; font-size: .95rem; margin-bottom: 16px; }
.about h2 { font-size: clamp(3rem, 5.5vw, 6.5rem); text-wrap: initial; }
.about-copy > p:not(.section-label) { max-width: 48ch; }
.about h2 + p { margin-top: 26px; }
.about .text-link { margin-top: 22px; }
.reportage-link {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: 280px;
  aspect-ratio: 1.35;
  color: var(--ivory);
  background: var(--olive);
  text-decoration: none;
}
.reportage-link img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.reportage-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(14 22 17 / 91%), transparent 68%); }
.reportage-link:focus-visible { outline-color: var(--ink); }
.reportage-title { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: clamp(16px, 2.6vw, 35px); font-family: var(--display); font-size: clamp(1.32rem, 2.8vw, 2.5rem); font-weight: 650; letter-spacing: -.05em; line-height: 1.1; }
.play-icon { position: absolute; top: 50%; left: 50%; width: 57px; height: 57px; border: 1px solid var(--ivory); border-radius: 50%; background: rgb(23 36 30 / 72%); transform: translate(-50%, -50%); }
.play-icon::after { content: ""; position: absolute; top: 50%; left: 52%; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid var(--ivory); transform: translate(-42%, -50%); }
.reportage-link:hover .play-icon { background: var(--copper); }
.reportage figcaption { margin-top: 9px; }

.greenhouse { background: var(--ink); color: var(--paper); padding-block: var(--section-space); }
.greenhouse-heading { display: grid; grid-template-columns: 1.25fr .6fr; align-items: end; gap: clamp(28px, 9vw, 156px); margin-bottom: clamp(36px, 6vw, 88px); }
.greenhouse-heading p { max-width: 36ch; }
.greenhouse-heading .surface-link { margin-top: 17px; }
.greenhouse-gallery { display: grid; grid-template-columns: 1.8fr 1fr; gap: clamp(14px, 5vw, 82px); align-items: end; }
.greenhouse-gallery img { object-fit: cover; }
.greenhouse-wide img { aspect-ratio: 1.53; }
.greenhouse-close img { aspect-ratio: .94; object-position: 50% 59%; }
.greenhouse figcaption, .lunch-photo figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 12px;
  margin-top: 9px;
}
.greenhouse figcaption span, .lunch-photo figcaption span { font-size: .8125rem; }

.lunch { padding-block: var(--section-space); }
.lunch-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: clamp(36px, 6vw, 88px); }
.lunch-intro p { margin-top: 20px; max-width: 53ch; }
.lunch-intro .button { flex: none; }
.lunch-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6.5vw, 105px); align-items: start; }
.lunch-photo img { aspect-ratio: .82; object-fit: cover; object-position: 50% 48%; }
.menu-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); padding-block: 20px; }
.menu-offers article + article { padding-left: 20px; border-left: 1px solid var(--rule); }
.menu-offers .price { margin-top: 8px; color: var(--copper); font: 750 clamp(1.65rem, 3.4vw, 3.75rem)/1 var(--display); letter-spacing: -.055em; }
.price small { font: 500 .8125rem var(--body); letter-spacing: 0; white-space: nowrap; }
.menu-offers .price + p { margin-top: 7px; font-size: .94rem; }
.menu-group { margin-top: 22px; }
.menu-group h3 { margin-bottom: 6px; }
.menu-list { list-style: none; padding: 0; }
.menu-list li { padding-block: 6px; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.menu-list.priced li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.priced li span:last-child { white-space: nowrap; font-weight: 650; }
.menu-note { margin-top: 19px; font-size: .94rem; max-width: 55ch; }

.visit { background: var(--olive); color: var(--ivory); padding-block: var(--section-space); }
.visit-layout { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(36px, 8vw, 140px); align-items: start; }
.visit h2 { font-size: clamp(3.125rem, 6.35vw, 7.4rem); }
.visit-intro > p { max-width: 39ch; margin-top: 22px; }
.directions { max-width: 420px; margin-top: 40px; padding-top: 21px; border-top: 1px solid #abb09d; }
.directions address { margin-block: 9px 12px; font-size: 1.0625rem; font-style: normal; }
.visit-card { padding: clamp(18px, 3vw, 38px); background: var(--paper); color: var(--ink); }
.booking { display: grid; gap: 14px; }
.booking h3 { margin-bottom: 3px; font-size: clamp(1.55rem, 3vw, 2.4rem); }
.field { min-width: 0; display: grid; gap: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: .96rem; font-weight: 650; }
.field small { font-weight: 400; font-size: .83rem; }
.field input, .field select, .field textarea {
  display: block;
  min-height: 48px;
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #777d6b;
  border-radius: 2px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 1rem;
}
.field textarea { resize: vertical; }
.field input[type="date"] { appearance: none; }
.form-error { color: #8c2b0a; font-size: .96rem; }
.submit { width: 100%; margin-top: 2px; }
.reservation-note { margin-top: 14px; font-size: .9rem; }

.site-footer { background: var(--paper); padding-block: 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; font-size: .9375rem; }
.footer-inner > div { display: flex; gap: 18px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .play-icon { transition: background-color .18s ease; }
  [data-revelar] { --revelado: var(--passo, 1); }
  [data-revelar]:focus-within { --revelado: 1; }
  [data-revelar="texto"] { opacity: calc(.16 + var(--revelado) * .84); }
  [data-revelar="texto"] > * { transform: translateY(calc((1 - var(--revelado)) * 24px)); }
  [data-revelar="imagem"] > :first-child {
    opacity: calc(.14 + var(--revelado) * .86);
    clip-path: inset(0 0 calc((1 - var(--revelado)) * 24%) 0);
  }
}

@media (max-width: 799px) {
  :root { --header: 64px; --section-space: clamp(60px, 11vw, 90px); }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding-inline: 5px;
    list-style: none;
    font-weight: 650;
    font-size: .9375rem;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav {
    position: absolute;
    inset: 100% 0 auto;
    padding: 9px var(--edge) 15px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
  }
  .mobile-nav a { display: flex; align-items: center; min-height: 46px; }
  .header-action { min-height: 44px; padding-inline: 11px; font-size: .925rem; }
  .opening-stage { height: auto; min-height: max(510px, calc(87svh - var(--header))); }
  .opening-content { align-self: end; padding-top: 138px; padding-bottom: 29px; }
  .opening-stage::before {
    background: linear-gradient(0deg, rgb(13 21 16 / 98%) 0%, rgb(13 21 16 / 87%) 26%, rgb(13 21 16 / 45%) 64%, rgb(13 21 16 / 10%) 100%);
  }
  .opening-first { object-position: 70% 28%; }
  .opening.rolagem-movel::after {
    content: "";
    display: block;
    height: clamp(420px, 72vh, 650px);
    height: clamp(420px, 72svh, 650px);
  }
  .rolagem-movel .opening-stage {
    position: sticky;
    top: var(--header);
    min-height: calc(100vh - var(--header));
    min-height: calc(100svh - var(--header));
  }
  .rolagem-movel .opening-first { transform: scale(calc(1 + var(--progresso, 0) * .055)); }
  .rolagem-movel .opening-content { transform: translateY(calc(var(--progresso, 0) * -16px)); }
  .rolagem-movel .opening-detail, .rolagem-movel .opening-greenhouse { display: block; }
  .rolagem-movel .opening-detail {
    object-position: 58% 53%;
    opacity: var(--plano-shimeji, 0);
    transform: scale(calc(1.06 - var(--plano-shimeji, 0) * .06));
  }
  .rolagem-movel .opening-greenhouse {
    opacity: var(--plano-estufa, 0);
    transform: scale(calc(1.06 - var(--plano-estufa, 0) * .06));
  }
  .opening h1 { font-size: clamp(2.45rem, 10.2vw, 5.2rem); }
  .location-tag { margin-bottom: 15px; }
  .opening-content > p:not(.location-tag) { margin-top: 17px; }
  .actions { margin-top: 20px; }
  .opening-foot { min-height: 44px; }
  .about, .greenhouse-heading, .lunch-layout, .visit-layout { grid-template-columns: minmax(0, 1fr); }
  .about h2, .visit h2 { font-size: clamp(3.25rem, 10vw, 5.75rem); }
  .about h2 + p { margin-top: 18px; }
  .reportage-link { min-height: 0; }
  .greenhouse-heading { gap: 23px; }
  .greenhouse-gallery { grid-template-columns: 1fr; gap: 23px; }
  .greenhouse-close { width: 78%; justify-self: end; }
  .greenhouse-close img { aspect-ratio: 1.05; }
  .lunch-intro { align-items: flex-start; flex-direction: column; gap: 18px; }
  .lunch-intro p { margin-top: 14px; }
  .lunch-photo img { max-height: 580px; }
  .directions { margin-top: 25px; }
}

@media (max-width: 370px) {
  :root { --edge: 16px; }
  .header-inner { gap: 7px; }
  .wordmark { font-size: 1.2rem; }
  .field-row { grid-template-columns: 1fr; }
}
