:root {
    --ink: #101413;
    --ink-soft: #1a201e;
    --paper: #f3f0e8;
    --paper-deep: #e7e1d5;
    --coral: #e46f55;
    --coral-dark: #bd513c;
    --sage: #7e8c83;
    --white: #fffdfa;
    --line: rgba(16, 20, 19, 0.18);
    --line-light: rgba(255, 253, 250, 0.22);
    --font-display: "Italiana", "Times New Roman", serif;
    --font-body: "DM Sans", Arial, sans-serif;
    --shell: min(1280px, calc(100% - 96px));
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--ink);
    animation: loader-exit 700ms 1.15s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.loader-brand {
    position: relative;
    display: flex;
    align-items: flex-start;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    letter-spacing: 0.16em;
    animation: loader-mark 900ms ease both;
}

.loader-brand sup {
    margin: 4px 0 0 7px;
    font-family: var(--font-body);
    font-size: 0.55rem;
}

.loader-brand i {
    position: absolute;
    right: 7px;
    bottom: -22px;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.loader-brand i::after {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--coral);
    content: "";
    animation: loader-line 950ms 100ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

.scroll-progress {
    position: fixed;
    z-index: 300;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
}

.film-grain {
    position: fixed;
    z-index: 250;
    inset: 0;
    opacity: 0.045;
    pointer-events: none;
    background-image:
        repeating-radial-gradient(circle at 17% 32%, transparent 0, rgba(255, 255, 255, 0.55) 0.55px, transparent 1.1px),
        repeating-radial-gradient(circle at 71% 68%, transparent 0, rgba(0, 0, 0, 0.7) 0.7px, transparent 1.3px);
    background-size: 5px 5px, 7px 7px;
}

@keyframes loader-line {
    from { transform: scaleX(0); transform-origin: left; }
    to { transform: scaleX(1); transform-origin: left; }
}

@keyframes loader-mark {
    from { opacity: 0; letter-spacing: 0.3em; transform: translateY(12px); }
    to { opacity: 1; letter-spacing: 0.16em; transform: translateY(0); }
}

@keyframes loader-exit {
    0% { transform: translateY(0); }
    100% { visibility: hidden; transform: translateY(-100%); }
}

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

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

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

button,
select {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.02;
}

h2 {
    margin-bottom: 30px;
    font-size: clamp(3rem, 6vw, 6.5rem);
    letter-spacing: -0.045em;
}

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

.section {
    position: relative;
    padding-block: 150px;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: var(--ink);
    background: var(--white);
    transform: translateY(-150%);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    display: flex;
    gap: 13px;
    align-items: center;
    margin-bottom: 22px;
    color: var(--coral-dark);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 26px;
    height: 1px;
    background: currentColor;
    content: "";
}

.eyebrow-light {
    color: rgba(255, 253, 250, 0.75);
}

.button {
    display: inline-flex;
    min-height: 56px;
    padding: 0 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

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

.button-small {
    min-height: 42px;
    padding-inline: 19px;
    font-size: 0.65rem;
}

.button-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.button-light:hover {
    color: var(--ink);
    background: var(--white);
}

.button-coral {
    color: var(--white);
    background: var(--coral);
}

.button-coral:hover {
    background: var(--coral-dark);
}

.button-ink {
    gap: 20px;
    color: var(--white);
    background: var(--ink);
}

.button-ink:hover {
    background: var(--coral-dark);
}

.button-wide {
    width: 100%;
}

.text-link {
    display: inline-flex;
    gap: 40px;
    padding-bottom: 6px;
    align-items: center;
    border-bottom: 1px solid currentColor;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.text-link-light {
    color: var(--white);
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    height: 86px;
    padding-inline: 48px;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: height 220ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.scrolled {
    height: 68px;
    color: var(--ink);
    background: rgba(243, 240, 232, 0.95);
    border-color: var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    position: relative;
    display: inline-flex;
    width: max-content;
    height: 34px;
    align-items: center;
    color: inherit;
    line-height: 1;
}

.brand-mark {
    position: relative;
    width: 34px;
    height: 25px;
    margin-right: 13px;
}

.brand-mark i {
    position: absolute;
    left: 0;
    width: 30px;
    height: 9px;
    border-top: 1px solid currentColor;
    border-radius: 50%;
    transform: rotate(-8deg);
}

.brand-mark i:first-child {
    top: 7px;
}

.brand-mark i:last-child {
    top: 14px;
    left: 3px;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.44rem;
    letter-spacing: 0.13em;
}

.brand-number {
    position: absolute;
    top: -2px;
    right: -20px;
    font-size: 0.48rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

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

.desktop-nav a,
.language-link,
.language-switch {
    position: relative;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.language-switch {
    display: flex;
    gap: 6px;
    align-items: center;
}

.language-switch a {
    opacity: 0.48;
    transition: opacity 180ms ease;
}

.language-switch a:hover,
.language-switch a.active {
    opacity: 1;
}

.language-switch a.active {
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
}

.language-switch span {
    opacity: 0.32;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

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

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

.site-header.scrolled .button-light {
    color: var(--ink);
    border-color: var(--ink);
}

.site-header.scrolled .button-light:hover {
    color: var(--white);
    background: var(--ink);
}

.menu-toggle,
.mobile-panel {
    display: none;
}

.hero {
    position: relative;
    min-height: 780px;
    height: 100svh;
    overflow: hidden;
    color: var(--white);
    background: #152026;
}

.hero-media,
.hero-scrim {
    position: absolute;
    inset: 0;
}

.hero-media {
    --hero-shift-x: 0px;
    --hero-shift-y: 0px;
    background-image: url("/portfolio/nami38/assets/images/nami38-hero.jpg");
    background-position: center;
    background-size: cover;
    transform: scale(1.03) translate3d(var(--hero-shift-x), var(--hero-shift-y), 0);
    animation: hero-in 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    will-change: transform;
}

.hero-scrim {
    background:
        linear-gradient(90deg, rgba(9, 15, 16, 0.82) 0%, rgba(9, 15, 16, 0.52) 38%, rgba(9, 15, 16, 0.05) 72%),
        linear-gradient(0deg, rgba(6, 11, 12, 0.72) 0%, transparent 43%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    padding-block: 155px 54px;
    flex-direction: column;
    justify-content: space-between;
}

.hero-edition {
    position: absolute;
    top: 128px;
    right: 0;
    display: flex;
    gap: 7px;
    align-items: flex-end;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.54rem;
    letter-spacing: 0.14em;
    line-height: 1.2;
}

.hero-edition span:first-child {
    color: rgba(255, 255, 255, 0.78);
}

.hero-copy {
    max-width: 760px;
    margin-top: auto;
    margin-bottom: auto;
}

.hero h1 {
    max-width: 730px;
    margin-bottom: 30px;
    font-size: clamp(4.4rem, 8.2vw, 8.8rem);
    letter-spacing: -0.055em;
    line-height: 0.92;
}

.hero-lede {
    max-width: 585px;
    margin-bottom: 38px;
    color: rgba(255, 253, 250, 0.82);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 34px;
    align-items: center;
}

.hero-meta {
    display: flex;
    width: min(570px, 100%);
    padding-top: 25px;
    justify-content: space-between;
    border-top: 1px solid var(--line-light);
}

.hero-meta div {
    display: flex;
    gap: 4px;
    flex-direction: column;
}

.hero-meta span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-meta strong {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.hero-location {
    position: relative;
    padding-left: 20px;
}

.location-dot {
    position: absolute;
    top: 7px;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--coral);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(228, 111, 85, 0.2);
}

.scroll-cue {
    position: absolute;
    z-index: 3;
    right: 48px;
    bottom: 55px;
    display: flex;
    gap: 15px;
    align-items: center;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.6rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transform: rotate(90deg);
    transform-origin: right center;
}

.scroll-cue i {
    display: block;
    width: 50px;
    height: 1px;
    background: currentColor;
}

@keyframes hero-in {
    from { opacity: 0; transform: scale(1.09) translate3d(var(--hero-shift-x), var(--hero-shift-y), 0); }
    to { opacity: 1; transform: scale(1.03) translate3d(var(--hero-shift-x), var(--hero-shift-y), 0); }
}

.marquee {
    overflow: hidden;
    color: var(--ink);
    background: var(--coral);
    border-bottom: 1px solid rgba(16, 20, 19, 0.22);
}

.marquee-track {
    display: flex;
    width: max-content;
    height: 74px;
    gap: 34px;
    align-items: center;
    animation: marquee-flow 28s linear infinite;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: -0.015em;
    white-space: nowrap;
}

.marquee-track i {
    font-family: serif;
    font-size: 1.15rem;
    font-style: normal;
    opacity: 0.6;
}

@keyframes marquee-flow {
    to { transform: translateX(-50%); }
}

.manifesto {
    background: var(--paper);
}

.chef-section {
    display: grid;
    min-height: 980px;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
}

.chef-portrait {
    position: relative;
    min-height: 800px;
    overflow: hidden;
}

.chef-portrait img,
.bar-image img,
.provenance-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.chef-portrait:hover img,
.bar-image:hover img,
.provenance-media:hover img {
    transform: scale(1.025);
}

.image-reveal {
    overflow: hidden;
    transition: opacity 700ms ease, transform 700ms ease;
}

.js .image-reveal img {
    clip-path: inset(0 0 100% 0);
    transition:
        clip-path 800ms cubic-bezier(0.76, 0, 0.24, 1),
        transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.image-index {
    position: absolute;
    right: 22px;
    bottom: 20px;
    display: inline-flex;
    padding: 5px 8px;
    color: var(--ink);
    background: rgba(255, 253, 250, 0.85);
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    backdrop-filter: blur(8px);
}

.image-index-light {
    color: var(--white);
    background: rgba(16, 20, 19, 0.55);
}

.chef-story {
    position: relative;
    display: flex;
    padding: 100px 11%;
    align-items: center;
    overflow: hidden;
}

.chef-story-inner {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.chef-story h2 {
    margin-bottom: 50px;
    font-size: clamp(3.4rem, 6vw, 6.8rem);
}

.chef-story blockquote {
    max-width: 530px;
    margin: 0 0 34px;
    padding-left: 24px;
    color: var(--coral-dark);
    border-left: 1px solid var(--coral);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.35;
}

.chef-story-inner > p:last-of-type {
    max-width: 510px;
    color: rgba(16, 20, 19, 0.62);
}

.chef-facts {
    display: flex;
    margin-top: 65px;
    padding-top: 22px;
    gap: 40px;
    border-top: 1px solid var(--line);
    color: rgba(16, 20, 19, 0.56);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chef-kanji {
    position: absolute;
    right: -30px;
    bottom: -95px;
    color: rgba(16, 20, 19, 0.035);
    font-family: serif;
    font-size: 24rem;
    line-height: 1;
    user-select: none;
}

.split-heading {
    display: grid;
    grid-template-columns: 0.8fr 2fr;
}

.split-heading > div {
    max-width: 830px;
}

.split-heading h2 {
    max-width: 800px;
}

.manifesto-copy {
    display: grid;
    max-width: 730px;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    color: rgba(16, 20, 19, 0.7);
}

.manifesto-copy p {
    margin: 0;
}

.principles {
    display: grid;
    margin-top: 105px;
    padding-left: 31%;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.principle {
    min-height: 235px;
    padding: 32px 42px 15px 0;
    border-right: 1px solid var(--line);
}

.principle + .principle {
    padding-left: 42px;
}

.principle:last-child {
    border-right: 0;
}

.principle-number {
    display: block;
    margin-bottom: 65px;
    color: var(--coral-dark);
    font-size: 0.63rem;
    letter-spacing: 0.1em;
}

.principle h3 {
    margin-bottom: 12px;
    font-size: 1.7rem;
}

.principle p {
    max-width: 250px;
    margin: 0;
    color: rgba(16, 20, 19, 0.6);
    font-size: 0.88rem;
}

.menu-section {
    background: var(--paper-deep);
}

.menu-heading {
    display: grid;
    margin-bottom: 75px;
    grid-template-columns: 0.75fr 1.65fr 0.8fr;
    align-items: end;
}

.menu-heading .eyebrow {
    align-self: start;
}

.menu-heading h2 {
    max-width: 700px;
    margin: 0;
}

.menu-heading > p:last-child {
    margin: 0 0 10px;
    color: rgba(16, 20, 19, 0.66);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.menu-card {
    display: flex;
    min-height: 440px;
    padding: 32px 35px;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--line);
    transition: background 220ms ease, color 220ms ease;
}

.menu-card:last-child {
    border-right: 0;
}

.menu-card.featured {
    color: var(--white);
    background: var(--ink);
}

.menu-card:not(.featured):hover {
    background: rgba(255, 253, 250, 0.55);
}

.menu-card-top,
.menu-card-bottom {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.menu-card-top {
    color: var(--coral);
    font-size: 0.63rem;
    letter-spacing: 0.1em;
}

.menu-tag {
    padding: 5px 9px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 0.54rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.menu-card h3 {
    margin-bottom: 20px;
    font-size: clamp(2.1rem, 3.5vw, 3.5rem);
}

.menu-card p {
    max-width: 320px;
    margin: 0;
    color: rgba(16, 20, 19, 0.62);
}

.menu-card.featured p {
    color: rgba(255, 255, 255, 0.66);
}

.menu-card-bottom {
    align-items: end;
}

.menu-card-bottom span {
    max-width: 150px;
    color: rgba(16, 20, 19, 0.5);
    font-size: 0.68rem;
}

.menu-card.featured .menu-card-bottom span {
    color: rgba(255, 255, 255, 0.48);
}

.menu-card-bottom strong {
    font-size: 0.76rem;
    font-weight: 500;
}

.menu-note {
    max-width: 600px;
    margin: 30px 0 0 auto;
    color: rgba(16, 20, 19, 0.5);
    font-size: 0.76rem;
}

.provenance-section {
    position: relative;
    min-height: 1000px;
    overflow: hidden;
    color: var(--white);
    background: #0b0f0e;
}

.provenance-media {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 46%;
    overflow: hidden;
}

.provenance-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, #0b0f0e 100%);
    content: "";
}

.provenance-content {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 1000px;
    padding-block: 150px 100px;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
}

.provenance-heading {
    max-width: 660px;
    grid-column: 2;
}

.provenance-heading h2 {
    margin-bottom: 35px;
}

.provenance-heading > p:last-child {
    max-width: 470px;
    color: rgba(255, 255, 255, 0.58);
}

.provenance-steps {
    display: grid;
    margin-top: auto;
    grid-column: 2;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line-light);
}

.provenance-steps article {
    min-height: 185px;
    padding: 25px 28px 15px 0;
    border-right: 1px solid var(--line-light);
}

.provenance-steps article + article {
    padding-left: 28px;
}

.provenance-steps article:last-child {
    border-right: 0;
}

.provenance-steps span {
    display: block;
    margin-bottom: 45px;
    color: var(--coral);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.provenance-steps p {
    margin: 0;
    color: rgba(255, 255, 255, 0.57);
    font-size: 0.76rem;
}

.signature {
    display: grid;
    min-height: 860px;
    padding: 0;
    grid-template-columns: 1fr 1fr;
    background: var(--paper);
}

.signature-image {
    min-height: 760px;
    overflow: hidden;
}

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

.signature-content {
    display: flex;
    padding: 110px 10%;
    flex-direction: column;
    justify-content: space-between;
}

.signature-content > div:first-child {
    max-width: 600px;
    margin-block: auto;
}

.signature-content h2 {
    margin-bottom: 34px;
    font-size: clamp(3.2rem, 5.8vw, 6.4rem);
}

.signature-content p:last-child {
    max-width: 455px;
    color: rgba(16, 20, 19, 0.65);
}

.signature-seal {
    display: flex;
    width: 110px;
    height: 110px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--coral-dark);
    border: 1px solid currentColor;
    border-radius: 50%;
    transform: rotate(-8deg);
}

.signature-seal span {
    font-family: serif;
    font-size: 2rem;
    line-height: 1;
}

.signature-seal small {
    margin-top: 5px;
    font-size: 0.48rem;
    letter-spacing: 0.14em;
}

.space-section {
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.space-intro {
    display: grid;
    margin-bottom: 80px;
    grid-template-columns: 1.45fr 0.55fr;
    align-items: end;
}

.space-intro h2 {
    max-width: 880px;
    margin: 0;
}

.space-intro > p {
    margin: 0 0 15px;
    color: rgba(255, 255, 255, 0.58);
}

.space-visual {
    position: relative;
}

.space-image {
    height: 650px;
    background:
        linear-gradient(0deg, rgba(6, 10, 10, 0.44), transparent 55%),
        url("/portfolio/nami38/assets/images/nami38-interior.jpg") center 47% / cover;
}

.space-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    padding: 32px 0 25px;
    grid-template-columns: repeat(3, 1fr);
    background: linear-gradient(0deg, rgba(7, 11, 11, 0.94), transparent);
}

.space-visual > .image-index {
    z-index: 2;
    top: 22px;
    right: 22px;
    bottom: auto;
}

.space-caption div {
    display: grid;
    padding-inline: 28px;
    grid-template-columns: 35px 1fr;
    border-right: 1px solid var(--line-light);
}

.space-caption div:last-child {
    border: 0;
}

.space-caption span {
    color: var(--coral);
    font-size: 0.6rem;
}

.space-caption strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
}

.space-caption small {
    grid-column: 2;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.68rem;
}

.booking-section {
    background: var(--paper-deep);
}

.bar-section {
    display: grid;
    min-height: 930px;
    grid-template-columns: 1fr 1fr;
    color: var(--white);
    background: #111716;
}

.bar-copy {
    display: flex;
    padding: 130px 11% 70px;
    flex-direction: column;
    justify-content: space-between;
}

.bar-copy > div:first-child {
    max-width: 650px;
    margin-block: auto;
}

.bar-copy h2 {
    margin-bottom: 38px;
}

.bar-copy > div:first-child > p:last-child {
    max-width: 500px;
    color: rgba(255, 255, 255, 0.58);
}

.bar-details {
    display: flex;
    padding-top: 22px;
    gap: 25px;
    justify-content: space-between;
    border-top: 1px solid var(--line-light);
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.63rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bar-image {
    position: relative;
    min-height: 800px;
    overflow: hidden;
}

.private-section {
    position: relative;
    display: flex;
    min-height: 760px;
    padding-block: 120px;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.private-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 14, 13, 0.94) 0%, rgba(9, 14, 13, 0.78) 44%, rgba(9, 14, 13, 0.35) 100%),
        url("/portfolio/nami38/assets/images/nami38-interior.jpg") center / cover;
    transform: scale(1.02);
}

.private-content {
    position: relative;
    z-index: 2;
}

.private-content h2 {
    max-width: 760px;
    margin-bottom: 35px;
    font-size: clamp(4rem, 8vw, 8.5rem);
}

.private-content > p:not(.eyebrow) {
    max-width: 520px;
    margin-bottom: 38px;
    color: rgba(255, 255, 255, 0.66);
}

.private-content .button {
    gap: 25px;
}

.private-number {
    position: absolute;
    z-index: 1;
    right: -0.05em;
    bottom: -0.31em;
    color: rgba(255, 255, 255, 0.055);
    font-family: var(--font-display);
    font-size: min(50vw, 42rem);
    line-height: 1;
    pointer-events: none;
}

.booking-shell {
    display: grid;
    gap: 8%;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: start;
}

.booking-intro {
    position: sticky;
    top: 110px;
}

.booking-intro h2 {
    max-width: 520px;
}

.booking-intro > p {
    max-width: 390px;
    color: rgba(16, 20, 19, 0.62);
    font-size: 1.04rem;
}

.booking-contact {
    display: flex;
    margin-top: 100px;
    padding-top: 20px;
    gap: 14px;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.booking-contact span {
    max-width: 340px;
    color: rgba(16, 20, 19, 0.54);
    font-size: 0.75rem;
}

.booking-contact a {
    width: max-content;
    border-bottom: 1px solid currentColor;
    font-size: 0.86rem;
    font-weight: 500;
}

.booking-card {
    padding: 52px;
    background: var(--white);
    box-shadow: 0 26px 80px rgba(25, 22, 18, 0.09);
}

.booking-primary {
    display: grid;
    gap: 18px;
    grid-template-columns: 1.2fr 0.85fr 1fr;
}

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

.booking-card label > span,
.availability-fieldset legend {
    color: rgba(16, 20, 19, 0.56);
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.booking-card input,
.booking-card select,
.booking-card textarea {
    width: 100%;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    outline: 0;
    background: transparent;
    transition: border-color 180ms ease;
}

.booking-card input:focus,
.booking-card select:focus,
.booking-card textarea:focus {
    border-color: var(--coral-dark);
}

.booking-card textarea {
    resize: vertical;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.availability-fieldset {
    min-width: 0;
    margin: 42px 0;
    padding: 0;
    border: 0;
}

.availability-fieldset legend {
    margin-bottom: 14px;
}

.availability {
    display: flex;
    min-height: 48px;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;
}

.time-slot {
    display: block !important;
}

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

.time-slot span {
    display: flex;
    min-width: 69px;
    height: 42px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    color: var(--ink) !important;
    border: 1px solid var(--line);
    font-size: 0.73rem !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.time-slot input:checked + span,
.time-slot:hover span {
    color: var(--white) !important;
    background: var(--ink);
    border-color: var(--ink);
}

.time-slot input:focus-visible + span {
    outline: 2px solid var(--coral);
    outline-offset: 2px;
}

.availability-empty,
.availability-error {
    margin: 0;
    color: rgba(16, 20, 19, 0.52);
    font-size: 0.76rem;
}

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

.booking-details {
    display: grid;
    margin-bottom: 35px;
    gap: 28px 25px;
    grid-template-columns: 1fr 1fr;
}

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

.form-terms {
    max-width: 590px;
    margin: 18px auto 0;
    color: rgba(16, 20, 19, 0.42);
    font-size: 0.64rem;
    text-align: center;
}

.loading-note {
    display: flex;
    margin: 14px 0;
    gap: 9px;
    align-items: center;
    color: rgba(16, 20, 19, 0.58);
    font-size: 0.72rem;
}

.loading-note span {
    width: 13px;
    height: 13px;
    border: 1px solid var(--line);
    border-top-color: var(--coral);
    border-radius: 50%;
    animation: spin 650ms linear infinite;
}

.htmx-indicator {
    display: none;
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-message {
    margin: 0 0 25px;
    padding: 20px;
    font-size: 0.78rem;
}

.form-message strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.92rem;
}

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

.form-message-error {
    color: #7c2f25;
    background: #f8e7e1;
}

.form-message-success {
    display: flex;
    gap: 16px;
    color: #243b31;
    background: #e6eee9;
}

.success-mark {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--white);
    background: #527363;
    border-radius: 50%;
}

.confirmation-code {
    display: flex;
    margin-top: 12px;
    gap: 15px;
    align-items: center;
}

.confirmation-code span {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.confirmation-code b {
    font-size: 0.82rem;
    letter-spacing: 0.09em;
}

.form-message-success small {
    display: block;
    margin-top: 4px;
}

.contact-section {
    color: var(--white);
    background: var(--ink-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
}

.contact-lead h2 {
    max-width: 720px;
    margin: 0;
}

.contact-details {
    padding-top: 10px;
}

.contact-details > div {
    display: flex;
    padding: 26px 0;
    gap: 5px;
    flex-direction: column;
    border-top: 1px solid var(--line-light);
}

.contact-details span,
.contact-details a {
    font-size: 0.82rem;
}

.contact-details small {
    color: rgba(255, 255, 255, 0.48);
}

.contact-details strong {
    margin-bottom: 9px;
    color: var(--coral);
    font-size: 0.61rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-links {
    gap: 0 !important;
}

.contact-links a {
    width: max-content;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

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

.footer-top {
    display: grid;
    padding-block: 90px;
    grid-template-columns: 1fr 1fr;
    align-items: end;
}

.footer-brand .brand {
    margin-bottom: 55px;
}

.footer-brand p {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 2.7rem;
    line-height: 1;
}

.footer-brand > span {
    color: rgba(16, 20, 19, 0.66);
    font-size: 0.78rem;
}

.newsletter {
    display: grid;
    grid-template-columns: 1fr auto;
}

.newsletter label {
    display: block;
}

.newsletter input {
    width: 100%;
    height: 58px;
    padding: 0 10px;
    border: 0;
    border-bottom: 1px solid rgba(16, 20, 19, 0.62);
    outline: 0;
    background: transparent;
}

.newsletter input::placeholder {
    color: rgba(16, 20, 19, 0.6);
}

.newsletter button {
    display: flex;
    min-width: 140px;
    gap: 25px;
    align-items: center;
    justify-content: flex-end;
    border: 0;
    border-bottom: 1px solid rgba(16, 20, 19, 0.62);
    background: transparent;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.newsletter #newsletter-result {
    grid-column: 1 / -1;
}

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

.newsletter-error {
    color: #6b231b;
}

.footer-bottom {
    display: flex;
    padding-block: 24px;
    justify-content: space-between;
    border-top: 1px solid rgba(16, 20, 19, 0.3);
    font-size: 0.62rem;
}

.footer-credits {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-credits span {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.footer-credits a {
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    font-weight: 600;
}

.footer-bottom div {
    display: flex;
    gap: 24px;
}

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

.legal-header {
    display: flex;
    width: var(--shell);
    height: 86px;
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.legal-main {
    max-width: 920px;
    padding-block: 80px 130px;
}

.legal-back {
    display: inline-block;
    margin-bottom: 80px;
    color: rgba(16, 20, 19, 0.58);
    font-size: 0.72rem;
}

.legal-main h1 {
    max-width: 760px;
    margin: 0 0 25px;
    font-size: clamp(4rem, 9vw, 7.5rem);
    letter-spacing: -0.05em;
}

.legal-intro {
    max-width: 560px;
    color: rgba(16, 20, 19, 0.62);
    font-size: 1.1rem;
}

.legal-sections {
    margin-block: 90px 55px;
    border-top: 1px solid var(--line);
}

.legal-sections section {
    display: grid;
    padding-block: 32px;
    grid-template-columns: 0.65fr 1.35fr;
    border-bottom: 1px solid var(--line);
}

.legal-sections h2 {
    margin: 0;
    font-size: 1.7rem;
    letter-spacing: -0.02em;
}

.legal-sections p {
    margin: 0;
    color: rgba(16, 20, 19, 0.66);
}

.legal-main > small {
    color: rgba(16, 20, 19, 0.45);
}

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

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }

    .page-loader {
        display: none;
    }
}

@media (max-width: 1080px) {
    :root {
        --shell: min(100% - 56px, 960px);
    }

    .site-header {
        padding-inline: 28px;
        background: rgba(9, 15, 16, .98);
        backdrop-filter: none;
    }

    .desktop-nav {
        display: none;
    }

    .site-header {
        grid-template-columns: 1fr 1fr;
    }

    .menu-toggle {
        position: relative;
        z-index: 2;
        display: flex;
        width: 32px;
        height: 32px;
        padding: 6px 0;
        justify-content: center;
        flex-direction: column;
        border: 0;
        background: transparent;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 1px;
        margin: 4px 0;
        background: currentColor;
        transition: transform 180ms ease;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(4.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-4.5px) rotate(-45deg);
    }

    .mobile-panel {
        position: fixed;
        z-index: 90;
        top: 86px;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        max-height: calc(100dvh - 86px);
        padding: 26px 28px calc(34px + env(safe-area-inset-bottom));
        align-items: flex-start;
        color: var(--white);
        background: var(--ink);
        opacity: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        pointer-events: none;
        transform: translateY(-15px);
        transition: opacity 220ms ease, transform 220ms ease;
    }

    .mobile-panel.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-panel nav {
        display: flex;
        width: 100%;
        gap: 0;
        flex-direction: column;
    }

    .mobile-panel a {
        display: flex;
        width: 100%;
        min-height: 58px;
        padding: 8px 0;
        align-items: center;
        border-bottom: 1px solid rgba(255,255,255,.16);
        font-family: var(--font-display);
        font-size: clamp(2rem, 6.5vw, 3.6rem);
        line-height: 1;
    }

    body.menu-open .site-header,
    .site-header.scrolled:has(.mobile-panel.open) {
        color: var(--white);
        background: var(--ink);
        backdrop-filter: none;
    }

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

    .principles {
        padding-left: 0;
    }

    .menu-heading {
        grid-template-columns: 0.6fr 1.4fr;
    }

    .menu-heading > p:last-child {
        margin-top: 30px;
        grid-column: 2;
    }

    .booking-shell {
        gap: 50px;
        grid-template-columns: 1fr;
    }

    .booking-intro {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .booking-intro .eyebrow {
        grid-column: 1 / -1;
    }

    .booking-intro h2 {
        grid-row: 2 / 4;
    }

    .booking-contact {
        margin-top: 45px;
    }

    .chef-section,
    .bar-section {
        min-height: 820px;
    }

    .chef-story,
    .bar-copy {
        padding-inline: 8%;
    }

    .provenance-content {
        grid-template-columns: 0.65fr 1.35fr;
    }

    .provenance-steps {
        grid-template-columns: 1fr;
    }

    .provenance-steps article,
    .provenance-steps article + article {
        display: grid;
        min-height: 0;
        padding: 18px 0;
        grid-template-columns: 130px 1fr;
        border-right: 0;
        border-bottom: 1px solid var(--line-light);
    }

    .provenance-steps span {
        margin: 0;
    }
}

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

    body {
        font-size: 15px;
    }

    .section {
        padding-block: 95px;
    }

    h2 {
        font-size: clamp(2.9rem, 14vw, 4.6rem);
    }

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

    .mobile-panel {
        top: 70px;
        max-height: calc(100dvh - 70px);
        padding: 20px 18px calc(28px + env(safe-area-inset-bottom));
    }

    .site-header .button-small {
        display: none;
    }

    .header-actions {
        gap: 18px;
    }

    .hero {
        min-height: 720px;
    }

    .hero-media {
        background-position: 61% center;
    }

    .hero-scrim {
        background:
            linear-gradient(90deg, rgba(9, 15, 16, 0.83), rgba(9, 15, 16, 0.2)),
            linear-gradient(0deg, rgba(6, 11, 12, 0.82), transparent 70%);
    }

    .hero-content {
        padding-block: 120px 34px;
    }

    .hero-edition {
        top: 94px;
        right: 0;
    }

    .hero-copy {
        margin-top: 23vh;
    }

    .hero h1 {
        max-width: 500px;
        font-size: clamp(4rem, 18vw, 6rem);
    }

    .hero-cta {
        gap: 25px;
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-meta {
        margin-top: 50px;
    }

    .scroll-cue {
        display: none;
    }

    .marquee-track {
        height: 62px;
        gap: 25px;
    }

    .marquee-track span {
        font-size: 1.2rem;
    }

    .split-heading,
    .manifesto-copy,
    .menu-heading,
    .space-intro,
    .signature,
    .contact-grid,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .split-heading .eyebrow {
        margin-bottom: 45px;
    }

    .manifesto-copy {
        gap: 18px;
    }

    .principles {
        margin-top: 70px;
        grid-template-columns: 1fr;
    }

    .principle,
    .principle + .principle {
        min-height: 0;
        padding: 26px 0 32px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .principle-number {
        margin-bottom: 30px;
    }

    .chef-section,
    .bar-section {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .chef-portrait,
    .bar-image {
        min-height: 620px;
    }

    .chef-story,
    .bar-copy {
        min-height: 720px;
        padding: 90px 9% 65px;
    }

    .chef-story h2 {
        margin-bottom: 38px;
    }

    .chef-facts,
    .bar-details {
        gap: 14px;
        align-items: flex-start;
        flex-direction: column;
    }

    .chef-kanji {
        font-size: 16rem;
    }

    .menu-heading > p:last-child {
        margin-top: 20px;
        grid-column: auto;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }

    .menu-card {
        min-height: 370px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .provenance-section,
    .provenance-content {
        min-height: 1100px;
    }

    .provenance-media {
        top: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: 520px;
    }

    .provenance-media::after {
        background: linear-gradient(0deg, #0b0f0e 0%, transparent 55%);
    }

    .provenance-content {
        display: flex;
        padding-top: 470px;
        align-items: stretch;
        justify-content: flex-end;
        flex-direction: column;
    }

    .provenance-steps {
        margin-top: 55px;
    }

    .provenance-steps article,
    .provenance-steps article + article {
        grid-template-columns: 105px 1fr;
    }

    .signature {
        min-height: 0;
    }

    .signature-image {
        min-height: 560px;
    }

    .signature-content {
        min-height: 650px;
        padding: 85px 9%;
    }

    .space-intro {
        gap: 25px;
    }

    .space-image {
        height: 560px;
        background-position: 65% center;
    }

    .space-caption {
        position: static;
        gap: 25px;
        grid-template-columns: 1fr;
        background: transparent;
    }

    .space-caption div {
        padding: 0 0 18px;
        border-right: 0;
        border-bottom: 1px solid var(--line-light);
    }

    .bar-image {
        grid-row: 1;
    }

    .private-section {
        min-height: 690px;
        padding-block: 90px;
    }

    .private-backdrop {
        background:
            linear-gradient(90deg, rgba(9, 14, 13, 0.9), rgba(9, 14, 13, 0.58)),
            url("/portfolio/nami38/assets/images/nami38-interior.jpg") 62% center / cover;
    }

    .private-number {
        font-size: 23rem;
    }

    .booking-intro,
    .booking-primary,
    .booking-details {
        grid-template-columns: 1fr;
    }

    .booking-intro h2 {
        grid-row: auto;
    }

    .booking-card {
        padding: 30px 20px;
    }

    .booking-primary {
        gap: 24px;
    }

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

    .contact-grid {
        gap: 55px;
    }

    .footer-top {
        gap: 60px;
        padding-block: 70px;
    }

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

    .footer-credits {
        gap: 8px;
        align-items: flex-start;
        flex-direction: column;
    }

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

    .legal-main {
        padding-block: 55px 90px;
    }

    .legal-back {
        margin-bottom: 55px;
    }

    .legal-sections {
        margin-top: 60px;
    }

    .legal-sections section {
        gap: 15px;
        grid-template-columns: 1fr;
    }
}
