:root {
    --ink: #101411;
    --ink-2: #1a201c;
    --cream: #f2eddf;
    --paper: #fffaf0;
    --red: #e43b32;
    --red-dark: #a51f25;
    --green: #6e8c3d;
    --green-bright: #b6db55;
    --wine: #7a2338;
    --line-dark: rgba(16, 20, 17, .2);
    --line-light: rgba(255, 250, 240, .24);
    --font-display: "Barlow Condensed", Impact, sans-serif;
    --font-body: "Instrument Sans", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", Consolas, monospace;
    --shell: min(1360px, calc(100% - 80px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--ink);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
select {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

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

.section {
    padding-block: 130px;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    color: var(--paper);
    background: var(--red);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.cursor-glow {
    position: fixed;
    z-index: 1200;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    opacity: .06;
    background: var(--red);
    filter: blur(80px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    min-height: 92px;
    padding: 0 40px;
    align-items: center;
    color: var(--paper);
    background: rgba(16, 20, 17, .84);
    border-bottom: 1px solid var(--line-light);
    grid-template-columns: 1fr auto 1fr;
    backdrop-filter: blur(16px);
    transition: min-height 250ms ease, background 250ms ease;
}

.site-header.is-scrolled {
    min-height: 76px;
    background: rgba(16, 20, 17, .96);
}

.brand {
    display: inline-flex;
    width: max-content;
    gap: 13px;
    align-items: center;
}

.brand-ata {
    display: grid;
    width: 52px;
    height: 52px;
    color: var(--ink);
    background: var(--red);
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    place-items: center;
    transform: rotate(-3deg);
}

.brand-copy {
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: .95;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    gap: 34px;
    align-items: center;
}

.desktop-nav a {
    position: relative;
    padding: 10px 0;
    font-family: var(--font-mono);
    font-size: .66rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-self: end;
}

.language-switch {
    display: flex;
    gap: 2px;
}

.language-switch a {
    padding: 7px 8px;
    opacity: .45;
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 600;
}

.language-switch a.active {
    color: var(--green-bright);
    opacity: 1;
}

.header-book {
    padding: 12px 18px;
    color: var(--ink);
    background: var(--green-bright);
    font-family: var(--font-mono);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-light);
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 200ms ease;
}

.menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

.hero {
    position: relative;
    min-height: 940px;
    padding-top: 92px;
    color: var(--paper);
    background: var(--ink);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 92px 0 0;
    background:
        linear-gradient(90deg, rgba(16, 20, 17, .95), rgba(16, 20, 17, .55) 44%, rgba(16, 20, 17, .12) 75%),
        linear-gradient(0deg, rgba(16, 20, 17, .74), transparent 42%),
        url("/portfolio/adega-tipica/assets/images/adega-hero.webp") center / cover;
    transform: scale(1.02);
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image: radial-gradient(rgba(255,255,255,.7) .5px, transparent .7px);
    background-size: 5px 5px;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    width: var(--shell);
    min-height: 848px;
    margin-inline: auto;
    padding: 105px 0 125px;
    align-items: center;
    grid-template-columns: minmax(0, 820px) 1fr;
}

.eyebrow {
    display: flex;
    margin: 0 0 22px;
    gap: 12px;
    align-items: center;
    color: var(--green-bright);
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 8px;
    height: 8px;
    background: var(--red);
    content: "";
}

.eyebrow-dark {
    color: var(--ink);
}

.hero h1,
.story h2,
.menu-header h2,
.experience-copy h2,
.terrace-panel h2,
.groups h2,
.booking-grid h2,
.contact-main h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: .86;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 840px;
    font-size: clamp(6.5rem, 10vw, 10.5rem);
}

.hero h1 span,
.hero h1 strong {
    display: block;
}

.hero h1 strong {
    color: var(--red);
    font-style: italic;
    font-weight: 700;
    -webkit-text-stroke: 1px rgba(255,255,255,.18);
}

.hero-lede {
    max-width: 630px;
    margin: 34px 0 0;
    color: rgba(255, 250, 240, .72);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    margin-top: 42px;
    gap: 25px;
    align-items: center;
}

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 13px 24px;
    align-items: center;
    justify-content: center;
    border: 0;
    font-family: var(--font-mono);
    font-size: .67rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-red {
    color: var(--paper);
    background: var(--red);
    box-shadow: 7px 7px 0 var(--wine);
}

.button-red:hover {
    background: #f1483f;
}

.button-dark {
    color: var(--paper);
    background: var(--ink);
    box-shadow: 7px 7px 0 var(--red);
}

.line-link {
    padding: 8px 0;
    border-bottom: 1px solid currentColor;
    font-family: var(--font-mono);
    font-size: .66rem;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-card {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 280px;
    padding: 24px;
    background: rgba(16, 20, 17, .84);
    border: 1px solid var(--line-light);
    backdrop-filter: blur(14px);
}

.hero-card .live-dot {
    display: block;
    width: 10px;
    height: 10px;
    margin-bottom: 25px;
    border-radius: 50%;
    background: var(--green-bright);
    box-shadow: 0 0 0 7px rgba(182, 219, 85, .13), 0 0 20px var(--green-bright);
}

.hero-card p {
    margin: 0 0 5px;
    color: rgba(255, 250, 240, .68);
    font-family: var(--font-mono);
    font-size: .64rem;
}

.hero-card a {
    display: inline-block;
    margin-top: 18px;
    color: var(--green-bright);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
}

.hero-word {
    position: absolute;
    z-index: 1;
    right: -20px;
    bottom: -45px;
    color: transparent;
    font-family: var(--font-display);
    font-size: clamp(10rem, 24vw, 24rem);
    font-weight: 800;
    letter-spacing: -.07em;
    line-height: .75;
    opacity: .24;
    -webkit-text-stroke: 2px var(--paper);
    pointer-events: none;
}

.score-strip {
    display: grid;
    color: var(--paper);
    background: var(--red);
    grid-template-columns: repeat(3, 1fr);
}

.score-strip div {
    display: flex;
    min-height: 110px;
    padding: 24px 40px;
    gap: 8px;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(16, 20, 17, .35);
}

.score-strip div:last-child {
    border-right: 0;
}

.score-strip span {
    font-family: var(--font-mono);
    font-size: .59rem;
    letter-spacing: .1em;
    opacity: .66;
    text-transform: uppercase;
}

.score-strip strong {
    font-family: var(--font-display);
    font-size: 1.7rem;
    line-height: 1;
    text-transform: uppercase;
}

.story {
    background:
        linear-gradient(90deg, transparent calc(100% - 1px), rgba(16,20,17,.06) 1px) 0 0 / 80px 80px,
        linear-gradient(0deg, transparent calc(100% - 1px), rgba(16,20,17,.06) 1px) 0 0 / 80px 80px,
        var(--cream);
}

.story-grid {
    display: grid;
    gap: 8vw;
    align-items: center;
    grid-template-columns: .82fr 1.18fr;
}

.story-poster {
    position: relative;
    display: flex;
    min-height: 610px;
    padding: 52px 45px;
    flex-direction: column;
    justify-content: center;
    color: var(--paper);
    background: var(--green);
    box-shadow: 18px 18px 0 var(--ink);
    transform: rotate(-2deg);
    overflow: hidden;
}

.story-poster::before {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,.35);
    content: "";
}

.story-poster span {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: .82;
    text-transform: uppercase;
}

.story-poster span:nth-child(2) {
    color: var(--ink);
    font-style: italic;
}

.story-poster i {
    position: absolute;
    right: -25px;
    bottom: -90px;
    color: var(--green-bright);
    font-family: var(--font-display);
    font-size: 20rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    opacity: .28;
}

.story-content h2 {
    max-width: 760px;
    font-size: clamp(4.2rem, 7vw, 7.3rem);
}

.large-copy {
    max-width: 700px;
    margin: 38px 0 0;
    color: rgba(16, 20, 17, .68);
    font-size: 1.06rem;
    line-height: 1.8;
}

.story-content blockquote {
    margin: 45px 0 0;
    padding: 24px 0 0;
    color: var(--red-dark);
    border-top: 4px solid var(--ink);
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 600;
    text-transform: uppercase;
}

.values {
    display: grid;
    margin-top: 130px;
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--ink);
    grid-template-columns: repeat(3, 1fr);
}

.values article {
    min-height: 300px;
    padding: 35px;
    background: rgba(255,250,240,.58);
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}

.values article > span {
    color: var(--red);
    font-family: var(--font-mono);
    font-size: .68rem;
}

.values h3 {
    margin: 75px 0 12px;
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
}

.values p {
    margin: 0;
    color: rgba(16, 20, 17, .64);
}

.menu-section {
    position: relative;
    color: var(--paper);
    background: var(--ink);
    overflow: hidden;
}

.menu-section::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 34vw;
    height: 34vw;
    border: 9vw solid rgba(228, 59, 50, .08);
    border-radius: 50%;
    content: "";
    transform: translate(35%, -35%);
}

.menu-header {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 80px;
    align-items: end;
    grid-template-columns: 1.25fr .75fr;
}

.menu-header h2 {
    font-size: clamp(5.2rem, 9vw, 9.5rem);
}

.menu-header > p {
    max-width: 520px;
    margin: 0 0 10px;
    color: rgba(255, 250, 240, .62);
}

.featured-dishes {
    position: relative;
    z-index: 1;
    display: grid;
    margin-top: 85px;
    gap: 28px;
    grid-template-columns: repeat(12, 1fr);
}

.dish-card {
    background: var(--ink-2);
    border: 1px solid var(--line-light);
}

.dish-card:nth-child(1),
.dish-card:nth-child(2) {
    grid-column: span 6;
}

.dish-card:nth-child(n+3) {
    grid-column: span 4;
}

.dish-card figure {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
}

.dish-card figure::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(16,20,17,.3), transparent 40%);
    content: "";
}

.dish-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.9);
    transition: transform 700ms ease, filter 300ms ease;
}

.dish-card:hover img {
    filter: saturate(1.08);
    transform: scale(1.04);
}

.dish-card figure span {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 14px;
    color: var(--green-bright);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

.dish-card > div {
    min-height: 190px;
    padding: 27px 30px 30px;
}

.dish-card small {
    color: var(--green-bright);
    font-family: var(--font-mono);
    font-size: .57rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dish-card h3 {
    margin: 12px 0 10px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: .92;
    text-transform: uppercase;
}

.dish-card p {
    margin: 0;
    color: rgba(255, 250, 240, .58);
}

.daily-board {
    position: relative;
    z-index: 1;
    margin-top: 80px;
    padding: 45px;
    color: var(--ink);
    background: var(--green-bright);
    box-shadow: 14px 14px 0 var(--red);
}

.daily-board header {
    display: flex;
    padding-bottom: 25px;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 3px solid var(--ink);
}

.daily-board .eyebrow {
    margin: 0;
    color: var(--ink);
    font-size: .72rem;
}

.daily-board header > span {
    max-width: 430px;
    font-size: .78rem;
    text-align: right;
}

.daily-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.daily-list div {
    display: grid;
    min-height: 82px;
    padding: 18px 20px;
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid rgba(16,20,17,.35);
    grid-template-columns: 35px 1fr auto;
}

.daily-list div:nth-child(odd) {
    border-right: 1px solid rgba(16,20,17,.35);
}

.daily-list span,
.daily-list small {
    font-family: var(--font-mono);
    font-size: .58rem;
    text-transform: uppercase;
}

.daily-list strong {
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1;
    text-transform: uppercase;
}

.experience {
    display: grid;
    background: var(--red);
    grid-template-columns: 1.2fr .8fr;
}

.experience-image {
    min-height: 760px;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-copy {
    position: relative;
    display: flex;
    min-height: 760px;
    padding: 80px;
    flex-direction: column;
    justify-content: center;
    color: var(--paper);
    overflow: hidden;
}

.experience-copy .eyebrow {
    color: var(--ink);
}

.experience-copy h2 {
    max-width: 650px;
    font-size: clamp(4.2rem, 7vw, 7.4rem);
}

.experience-copy > p:last-of-type {
    max-width: 580px;
    margin: 35px 0 0;
    color: rgba(255, 250, 240, .74);
}

.experience-stamp {
    position: absolute;
    right: -20px;
    bottom: -20px;
    display: grid;
    width: 170px;
    height: 170px;
    color: var(--green-bright);
    border: 4px solid currentColor;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: .8;
    place-items: center;
    text-align: center;
    transform: rotate(10deg);
}

.terrace-section {
    position: relative;
    min-height: 880px;
    color: var(--paper);
    background: var(--ink);
    overflow: hidden;
}

.terrace-section > img {
    width: 100%;
    height: 880px;
    object-fit: cover;
}

.terrace-section::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16,20,17,.75), transparent 60%), linear-gradient(0deg, rgba(16,20,17,.5), transparent 55%);
    content: "";
}

.terrace-panel {
    position: absolute;
    z-index: 2;
    bottom: 70px;
    left: max(40px, calc((100% - 1360px) / 2));
    max-width: 610px;
    padding: 44px;
    background: rgba(16,20,17,.88);
    border-left: 7px solid var(--green-bright);
    backdrop-filter: blur(10px);
}

.terrace-panel h2 {
    font-size: clamp(4rem, 7vw, 7rem);
}

.terrace-panel > p:last-child {
    margin: 28px 0 0;
    color: rgba(255,250,240,.68);
}

.groups {
    background: var(--cream);
}

.groups-grid {
    display: grid;
    gap: 80px;
    align-items: center;
    grid-template-columns: 1.2fr .8fr;
}

.groups h2 {
    max-width: 850px;
    font-size: clamp(4.5rem, 8vw, 8rem);
}

.groups-grid > div:last-child > p {
    max-width: 550px;
    margin: 0 0 35px;
    color: rgba(16,20,17,.66);
    font-size: 1.05rem;
}

.booking-section {
    color: var(--paper);
    background:
        linear-gradient(rgba(16,20,17,.94), rgba(16,20,17,.94)),
        url("/portfolio/adega-tipica/assets/images/adega-hero.webp") center / cover fixed;
}

.booking-grid {
    display: grid;
    gap: 8vw;
    grid-template-columns: .75fr 1.25fr;
}

.booking-grid > header {
    position: sticky;
    top: 125px;
    height: max-content;
}

.booking-grid h2 {
    font-size: clamp(4.5rem, 8vw, 8rem);
}

.booking-grid > header > p:not(.eyebrow) {
    max-width: 490px;
    margin: 35px 0 0;
    color: rgba(255,250,240,.62);
}

.booking-callout {
    margin-top: 50px;
    padding: 24px;
    border: 1px solid var(--line-light);
}

.booking-callout span {
    display: block;
    color: rgba(255,250,240,.6);
    font-size: .78rem;
}

.booking-callout a {
    display: inline-block;
    margin-top: 8px;
    color: var(--green-bright);
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
}

.booking-form {
    padding: 45px;
    color: var(--ink);
    background: var(--cream);
    box-shadow: 14px 14px 0 var(--red);
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
}

.booking-controls {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(3, 1fr);
}

.booking-form label {
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.booking-form label > span,
.time-fieldset legend {
    font-family: var(--font-mono);
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    border: 1px solid var(--line-dark);
    border-radius: 0;
    outline: 0;
    background: var(--paper);
}

.booking-form textarea {
    min-height: 105px;
    resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(228,59,50,.14);
}

.time-fieldset {
    padding: 0;
    margin: 30px 0;
    border: 0;
}

.time-fieldset legend {
    margin-bottom: 13px;
}

.available-times {
    display: flex;
    min-height: 68px;
    padding: 12px;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--line-dark);
    flex-wrap: wrap;
}

.availability-empty,
.availability-error {
    margin: 0;
    color: rgba(16,20,17,.55);
    font-size: .76rem;
}

.availability-error {
    color: var(--red-dark);
}

.time-slot input {
    position: absolute;
    opacity: 0;
}

.time-slot span {
    display: inline-flex;
    min-width: 65px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    font-family: var(--font-mono);
    font-size: .66rem;
    transition: color 150ms ease, background 150ms ease;
}

.time-slot input:checked + span {
    color: var(--paper);
    background: var(--ink);
}

.guest-fields {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.field-wide {
    grid-column: 1 / -1;
}

.submit-button {
    width: 100%;
    margin-top: 25px;
}

.form-terms {
    margin: 18px 0 0;
    color: rgba(16,20,17,.5);
    font-size: .7rem;
    text-align: center;
}

.booking-loading {
    margin-top: 16px;
    color: var(--red-dark);
    font-family: var(--font-mono);
    font-size: .65rem;
    text-align: center;
}

.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    display: block;
}

.form-message {
    display: flex;
    margin-top: 25px;
    padding: 24px;
    gap: 16px;
    border: 1px solid;
}

.form-message strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    text-transform: uppercase;
}

.form-message p,
.form-message ul {
    margin: 5px 0 0;
}

.form-message-success {
    border-color: var(--green);
    background: rgba(110,140,61,.12);
}

.form-message-error {
    color: var(--red-dark);
    border-color: var(--red-dark);
    background: rgba(228,59,50,.08);
}

.success-mark {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    color: var(--paper);
    background: var(--green);
    place-items: center;
}

.confirmation-code {
    display: flex;
    margin: 14px 0;
    gap: 14px;
    align-items: center;
}

.confirmation-code span {
    font-size: .7rem;
}

.confirmation-code b {
    font-family: var(--font-mono);
}

.contact-section {
    display: grid;
    color: var(--paper);
    background: var(--red);
    grid-template-columns: 1.2fr .8fr;
}

.contact-main {
    min-height: 610px;
    padding: 90px max(40px, calc((100vw - 1360px) / 2));
    border-right: 1px solid rgba(16,20,17,.35);
}

.contact-main .eyebrow {
    color: var(--ink);
}

.contact-main h2 {
    max-width: 800px;
    font-size: clamp(4.5rem, 8vw, 8rem);
}

.contact-main address {
    max-width: 500px;
    margin-top: 55px;
    font-style: normal;
}

.contact-phone {
    display: inline-block;
    margin-top: 18px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

.contact-details {
    display: flex;
    min-height: 610px;
    padding: 90px 70px;
    gap: 35px;
    flex-direction: column;
    justify-content: center;
}

.contact-details span {
    display: block;
    margin-bottom: 15px;
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: .62rem;
    text-transform: uppercase;
}

.contact-details p {
    margin: 0 0 8px;
    color: rgba(255,250,240,.78);
}

.contact-details > p {
    padding-top: 25px;
    border-top: 1px solid rgba(16,20,17,.35);
}

.contact-details > a {
    width: max-content;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-family: var(--font-mono);
    font-size: .65rem;
    text-transform: uppercase;
}

.site-footer {
    color: var(--paper);
    background: var(--ink);
}

.footer-top {
    display: grid;
    padding-block: 90px;
    gap: 80px;
    grid-template-columns: .7fr 1.3fr;
}

.footer-top > div:first-child {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.footer-mark {
    display: grid;
    width: 85px;
    height: 85px;
    color: var(--ink);
    background: var(--red);
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    place-items: center;
    transform: rotate(-3deg);
}

.footer-top > div:first-child p {
    margin: 6px 0 0;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.newsletter label {
    display: block;
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.newsletter > p {
    margin: 12px 0 25px;
    color: rgba(255,250,240,.55);
}

.newsletter > div {
    display: flex;
}

.newsletter input {
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;
    color: var(--paper);
    border: 1px solid var(--line-light);
    outline: 0;
    background: transparent;
}

.newsletter input:focus {
    border-color: var(--green-bright);
}

.newsletter button {
    flex: 0 0 auto;
    padding: 14px 24px;
    border: 0;
    background: var(--green-bright);
    font-family: var(--font-mono);
    font-size: .63rem;
    font-weight: 600;
    text-transform: uppercase;
}

.newsletter-success,
.newsletter-error {
    margin: 12px 0 0;
    font-size: .75rem;
}

.newsletter-success {
    color: var(--green-bright);
}

.newsletter-error {
    color: #ff7871;
}

.footer-bottom {
    display: flex;
    min-height: 90px;
    padding-block: 25px;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line-light);
    font-family: var(--font-mono);
    font-size: .56rem;
    text-transform: uppercase;
}

.footer-bottom > div {
    display: flex;
    gap: 22px;
    align-items: center;
}

.footer-bottom a:hover {
    color: var(--green-bright);
}

.js .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.js .image-reveal {
    overflow: hidden;
}

.js .image-reveal img {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 900ms cubic-bezier(.76,0,.24,1), transform 1.2s ease;
}

.js .image-reveal.is-visible img {
    clip-path: inset(0);
}

.legal-page {
    min-height: 100vh;
    color: var(--paper);
    background: var(--ink);
}

.legal-header {
    display: flex;
    min-height: 92px;
    padding: 0 40px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line-light);
}

.legal-main {
    width: min(900px, calc(100% - 50px));
    margin-inline: auto;
    padding: 100px 0 140px;
}

.legal-main h1 {
    margin: 0 0 55px;
    color: var(--red);
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: .85;
    text-transform: uppercase;
}

.legal-main section {
    padding: 30px 0;
    border-top: 1px solid var(--line-light);
}

.legal-main h2 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 1.8rem;
    text-transform: uppercase;
}

.legal-main p {
    color: rgba(255,250,240,.64);
}

@media (max-width: 1100px) {
    :root {
        --shell: min(calc(100% - 50px), 1000px);
    }

    .site-header {
        grid-template-columns: 1fr auto;
        background: rgba(16, 20, 17, .99);
        backdrop-filter: none;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        position: relative;
        z-index: 2;
        display: block;
    }

    .mobile-menu {
        position: fixed;
        z-index: 990;
        top: 92px;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        max-height: calc(100dvh - 92px);
        padding: 28px 50px calc(40px + env(safe-area-inset-bottom));
        gap: 0;
        flex-direction: column;
        color: var(--paper);
        background: var(--ink);
        opacity: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
    }

    .mobile-menu a {
        display: flex;
        width: 100%;
        min-height: 58px;
        padding: 8px 0;
        align-items: center;
        border-bottom: 1px solid var(--line-light);
        color: var(--paper);
        font-family: var(--font-display);
        font-size: clamp(2rem, 7vw, 3.8rem);
        font-weight: 700;
        line-height: .9;
        text-transform: uppercase;
    }

    .menu-open .mobile-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    body.menu-open .portfolio-demo-toolbar {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        right: 0;
    }

    .story-grid {
        gap: 65px;
        grid-template-columns: .9fr 1.1fr;
    }

    .experience-copy {
        padding: 60px 45px;
    }

    .booking-grid {
        gap: 60px;
    }
}

@media (max-width: 820px) {
    :root {
        --shell: calc(100% - 36px);
    }

    .section {
        padding-block: 90px;
    }

    .site-header {
        min-height: 82px;
        padding-inline: 18px;
    }

    .mobile-menu {
        top: 82px;
        max-height: calc(100dvh - 82px);
        padding: 22px 25px calc(32px + env(safe-area-inset-bottom));
    }

    .brand-copy,
    .header-book {
        display: none;
    }

    .brand-ata {
        width: 48px;
        height: 48px;
    }

    .header-actions {
        gap: 8px;
    }

    .hero {
        min-height: 840px;
        padding-top: 82px;
    }

    .hero-image {
        inset: 82px 0 0;
        background:
            linear-gradient(90deg, rgba(16,20,17,.88), rgba(16,20,17,.34)),
            linear-gradient(0deg, rgba(16,20,17,.82), transparent 55%),
            url("/portfolio/adega-tipica/assets/images/adega-hero.webp") 62% center / cover;
    }

    .hero-grid {
        min-height: 758px;
        padding: 80px 0 190px;
        align-items: center;
    }

    .hero h1 {
        font-size: clamp(5rem, 18vw, 8rem);
    }

    .hero-card {
        right: auto;
        bottom: 35px;
        left: 0;
        width: 260px;
    }

    .hero-word {
        right: -10px;
        bottom: -10px;
        font-size: 10rem;
    }

    .score-strip {
        grid-template-columns: 1fr;
    }

    .score-strip div {
        min-height: 88px;
        padding: 18px 25px;
        border-right: 0;
        border-bottom: 1px solid rgba(16,20,17,.35);
    }

    .story-grid,
    .menu-header,
    .experience,
    .groups-grid,
    .booking-grid,
    .contact-section,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .story-poster {
        width: min(520px, 92%);
        min-height: 520px;
        margin-inline: auto;
    }

    .story-content h2 {
        font-size: clamp(4rem, 14vw, 6rem);
    }

    .values {
        margin-top: 90px;
        grid-template-columns: 1fr;
    }

    .values article {
        min-height: 230px;
    }

    .values h3 {
        margin-top: 45px;
    }

    .menu-header {
        gap: 25px;
    }

    .featured-dishes {
        grid-template-columns: 1fr;
    }

    .dish-card:nth-child(n) {
        grid-column: auto;
    }

    .daily-board {
        padding: 30px 24px;
    }

    .daily-board header {
        gap: 16px;
        align-items: flex-start;
        flex-direction: column;
    }

    .daily-board header > span {
        text-align: left;
    }

    .daily-list {
        grid-template-columns: 1fr;
    }

    .daily-list div:nth-child(odd) {
        border-right: 0;
    }

    .experience-image,
    .experience-copy {
        min-height: 600px;
    }

    .experience-copy {
        padding: 70px 35px;
    }

    .terrace-section,
    .terrace-section > img {
        min-height: 760px;
        height: 760px;
    }

    .terrace-panel {
        right: 20px;
        bottom: 25px;
        left: 20px;
        padding: 35px 28px;
    }

    .booking-grid > header {
        position: static;
    }

    .contact-main,
    .contact-details {
        min-height: auto;
        padding: 75px 35px;
    }

    .contact-main {
        border-right: 0;
        border-bottom: 1px solid rgba(16,20,17,.35);
    }

    .footer-top {
        gap: 60px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom > div {
        gap: 14px;
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .cursor-glow {
        display: none;
    }

    .mobile-menu {
        padding-inline: 25px;
    }

    .hero {
        min-height: 800px;
    }

    .hero-grid {
        min-height: 718px;
        padding-top: 58px;
    }

    .hero h1 {
        font-size: clamp(4.4rem, 22vw, 6.3rem);
    }

    .hero-lede {
        font-size: .94rem;
    }

    .hero-actions {
        gap: 18px;
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-card {
        width: 235px;
        padding: 18px;
    }

    .story-poster {
        min-height: 440px;
        padding: 35px 28px;
    }

    .story-poster span {
        font-size: 3.7rem;
    }

    .menu-header h2,
    .experience-copy h2,
    .terrace-panel h2,
    .groups h2,
    .booking-grid h2,
    .contact-main h2 {
        font-size: clamp(3.7rem, 17vw, 5rem);
    }

    .dish-card > div {
        min-height: auto;
        padding: 24px;
    }

    .daily-list div {
        padding-inline: 4px;
        grid-template-columns: 28px 1fr;
    }

    .daily-list small {
        display: none;
    }

    .experience-image,
    .experience-copy {
        min-height: 510px;
    }

    .experience-copy {
        padding: 60px 25px;
    }

    .terrace-panel {
        border-left-width: 4px;
    }

    .booking-form {
        padding: 30px 20px;
        box-shadow: 8px 8px 0 var(--red);
    }

    .booking-controls,
    .guest-fields {
        grid-template-columns: 1fr;
    }

    .field-wide {
        grid-column: auto;
    }

    .footer-mark {
        width: 70px;
        height: 70px;
    }

    .newsletter > div {
        flex-direction: column;
    }

    .newsletter button {
        min-height: 52px;
    }
}

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