:root {
  --ink: #24150e;
  --brown: #643b21;
  --brown-deep: #3b2114;
  --brown-soft: #936e55;
  --cream: #f2e8d6;
  --paper: #fbf7ef;
  --white: #fffdf9;
  --sage: #65734d;
  --berry: #9d3d32;
  --line: rgba(100, 59, 33, 0.2);
  --shadow: 0 22px 65px rgba(45, 24, 12, 0.12);
  --radius: 22px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100% - 48px));
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

button,
select {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.25rem, 7vw, 6.75rem);
}

h2 {
  font-size: clamp(2.35rem, 5vw, 4.5rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

::selection {
  color: var(--white);
  background: var(--brown);
}

:focus-visible {
  outline: 3px solid #c47a47;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: -100px;
  left: 12px;
  padding: 11px 16px;
  color: var(--white);
  background: var(--brown-deep);
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

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

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

.section {
  padding: 112px 0;
}

.section-sm {
  padding: 76px 0;
}

.section-dark {
  color: var(--white);
  background: var(--brown-deep);
}

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

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--brown);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

.eyebrow.tagline {
  letter-spacing: 0.12em;
  text-transform: none;
}

.section-dark .eyebrow {
  color: #e5cbb3;
}

.lead {
  max-width: 680px;
  color: #59483f;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.section-dark .lead {
  color: rgba(255, 253, 249, 0.75);
}

.muted {
  color: #6f5e55;
}

.topbar {
  position: relative;
  z-index: 31;
  padding: 9px 0;
  color: var(--cream);
  background: var(--brown-deep);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.topbar-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(42, 23, 13, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 34px;
  align-items: center;
  min-height: 86px;
}

.brand-mark {
  display: inline-block;
  width: 70px;
}

.brand-mark img {
  width: 100%;
}

.primary-nav {
  display: flex;
  gap: clamp(18px, 2vw, 30px);
  align-items: center;
  justify-content: center;
}

.primary-nav a {
  position: relative;
  padding: 13px 0;
  color: #4d3b31;
  font-size: 0.88rem;
  font-weight: 650;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav a[aria-current="page"] {
  color: var(--brown);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--brown);
  border-radius: 50%;
  background: var(--brown);
  box-shadow: 0 8px 20px rgba(76, 42, 23, 0.14);
  touch-action: manipulation;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 19px;
  height: 1.5px;
  margin: 4px auto;
  content: "";
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-5.5px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  min-height: 50px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--brown);
  border-radius: 999px;
  color: var(--white);
  background: var(--brown);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.btn::after {
  content: "\2197";
  font-size: 1.05rem;
}

.btn:hover {
  background: var(--brown-deep);
  border-color: var(--brown-deep);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--brown);
  background: transparent;
}

.btn-outline:hover {
  color: var(--white);
}

.btn-outline-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
  color: var(--brown-deep);
  background: var(--white);
  border-color: var(--white);
}

.btn-light {
  color: var(--brown-deep);
  background: var(--cream);
  border-color: var(--cream);
}

.btn-light:hover {
  color: var(--brown-deep);
  background: var(--white);
  border-color: var(--white);
}

.btn-text {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--brown);
  font-size: 0.87rem;
  font-weight: 750;
}

.btn-text::after {
  content: "\2197";
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 121px);
  background:
    radial-gradient(circle at 12% 18%, rgba(157, 61, 50, 0.09), transparent 28%),
    var(--cream);
}

.hero::after {
  position: absolute;
  right: -110px;
  bottom: -110px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(100, 59, 33, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
  min-height: calc(100vh - 121px);
  padding: 70px 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--brown-deep);
}

.hero .lead {
  max-width: 610px;
  margin-bottom: 36px;
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: #584238;
  font-size: 0.84rem;
  font-weight: 650;
}

.hero-media {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 500px);
}

.hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5.5;
  border-radius: 240px 240px 30px 30px;
  background: var(--brown-deep);
  box-shadow: var(--shadow);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-seal {
  position: absolute;
  right: -28px;
  bottom: 50px;
  width: 156px;
  padding: 13px;
  border: 1px solid rgba(255, 253, 249, 0.5);
  border-radius: 50%;
  background: var(--brown);
  box-shadow: 0 18px 40px rgba(45, 24, 12, 0.22);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.intro-copy h2 {
  margin-bottom: 26px;
  color: var(--brown-deep);
}

.fact-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.fact-number {
  color: var(--brown-soft);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.fact strong {
  display: block;
  margin-bottom: 3px;
  color: var(--brown-deep);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.fact p {
  margin: 0;
  color: #6b5b51;
  font-size: 0.93rem;
}

.section-heading {
  display: flex;
  gap: 34px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 54px;
}

.section-heading > div:first-child {
  max-width: 800px;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.category-card {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.55);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.category-card::after {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  transition: transform 0.35s ease;
}

.category-card:hover {
  border-color: rgba(100, 59, 33, 0.45);
  background: var(--white);
  transform: translateY(-6px);
}

.category-card:hover::after {
  transform: translate(-12px, -12px);
}

.category-index {
  display: block;
  margin-bottom: 48px;
  color: var(--brown-soft);
  font-family: var(--serif);
  font-size: 0.95rem;
}

.category-card h3 {
  max-width: 240px;
  margin-bottom: 10px;
}

.category-card p {
  max-width: 270px;
  margin: 0;
  color: #6d5a4f;
  font-size: 0.88rem;
}

.signature-list {
  display: grid;
  border-top: 1px solid rgba(255, 253, 249, 0.18);
}

.signature-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 253, 249, 0.18);
  transition: padding-left 0.25s ease, background 0.25s ease;
}

.signature-item:hover {
  padding-left: 15px;
}

.signature-item .number {
  color: #caa98d;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.signature-item h3 {
  margin-bottom: 4px;
  color: var(--white);
}

.signature-item p {
  margin: 0;
  color: rgba(255, 253, 249, 0.6);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.signature-price {
  white-space: nowrap;
  color: #ead7c6;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.experience-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 35px rgba(45, 24, 12, 0.04);
}

.experience-card .card-label {
  display: block;
  margin-bottom: 56px;
  color: var(--brown-soft);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.experience-card h3 {
  margin-bottom: 12px;
}

.experience-card p {
  margin: 0;
  color: #6c5a50;
  font-size: 0.92rem;
}

.media-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
}

.media-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius);
  background: var(--brown-deep);
}

.media-card:nth-child(2) {
  margin-top: 78px;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.media-card:hover img {
  transform: scale(1.03);
}

.media-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 55px 28px 26px;
  color: var(--white);
  background: linear-gradient(to top, rgba(31, 16, 9, 0.86), transparent);
}

.media-overlay span {
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.visit-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  border-radius: 30px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.visit-copy {
  padding: clamp(45px, 7vw, 86px);
}

.visit-copy h2 {
  margin-bottom: 28px;
}

.visit-meta {
  display: grid;
  gap: 22px;
  margin: 36px 0;
}

.visit-meta-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.visit-meta-row dt {
  color: var(--brown-soft);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visit-meta-row dd {
  margin: 0;
  font-size: 0.95rem;
}

.visit-visual {
  position: relative;
  min-height: 650px;
  background: var(--brown-deep);
}

.visit-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collab-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
  align-items: center;
  padding: clamp(42px, 6vw, 76px);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--brown);
}

.collab-panel h2 {
  max-width: 760px;
  margin-bottom: 14px;
}

.collab-panel p {
  max-width: 730px;
  margin-bottom: 0;
  color: rgba(255, 253, 249, 0.72);
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.final-cta .button-row {
  justify-content: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 88px;
  background: var(--cream);
}

.page-hero::after {
  position: absolute;
  top: -170px;
  right: -80px;
  width: 430px;
  height: 430px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: end;
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 0;
}

.page-hero .lead {
  margin-bottom: 4px;
}

.breadcrumbs {
  margin-bottom: 28px;
  color: var(--brown-soft);
  font-size: 0.78rem;
  font-weight: 650;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 8px;
  content: "/";
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(42px, 8vw, 112px);
  align-items: center;
}

.story-media {
  position: relative;
}

.story-media img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 260px 260px 24px 24px;
}

.story-copy h2 {
  margin-bottom: 28px;
}

.story-copy p {
  color: #655249;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  padding: 34px;
  border-top: 1px solid rgba(255, 253, 249, 0.25);
}

.value-card span {
  display: block;
  margin-bottom: 54px;
  color: #caa98d;
  font-family: var(--serif);
}

.value-card h3 {
  margin-bottom: 14px;
}

.value-card p {
  margin: 0;
  color: rgba(255, 253, 249, 0.65);
  font-size: 0.93rem;
}

.day-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.day-card {
  padding: 34px 34px 34px 0;
  border-right: 1px solid var(--line);
}

.day-card + .day-card {
  padding-left: 34px;
}

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

.day-card time {
  color: var(--brown-soft);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.day-card h3 {
  margin: 40px 0 12px;
}

.day-card p {
  margin: 0;
  color: #6c5b51;
}

.menu-tools-wrap {
  position: sticky;
  z-index: 19;
  top: 86px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.95);
  backdrop-filter: blur(18px);
}

.menu-search-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.search-field {
  position: relative;
}

.search-field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 48px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.search-field::after {
  position: absolute;
  top: 50%;
  right: 19px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--brown);
  border-radius: 50%;
  content: "";
  transform: translateY(-65%);
}

.search-field::before {
  position: absolute;
  z-index: 1;
  top: 29px;
  right: 16px;
  width: 7px;
  height: 1.5px;
  content: "";
  background: var(--brown);
  transform: rotate(45deg);
}

.category-scroller {
  display: flex;
  gap: 8px;
  margin-top: 13px;
  padding-bottom: 2px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.category-filter {
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #5b473c;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 700;
  touch-action: manipulation;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.category-filter.is-active {
  color: var(--white);
  background: var(--brown);
  border-color: var(--brown);
}

@media (hover: hover) and (pointer: fine) {
  .menu-toggle:hover {
    border-color: var(--brown-deep);
    background: var(--brown-deep);
    transform: translateY(-1px);
  }

  .category-filter:hover {
    color: var(--white);
    background: var(--brown);
    border-color: var(--brown);
  }
}

.category-filter:active {
  transform: scale(0.97);
}

.menu-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.menu-summary span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #655147;
  font-size: 0.75rem;
  font-weight: 650;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.menu-category {
  align-self: start;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(45, 24, 12, 0.04);
}

.menu-category[hidden] {
  display: none;
}

.menu-category-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.menu-category-index {
  padding-bottom: 5px;
  color: var(--brown-soft);
  font-family: var(--serif);
}

.menu-category h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.size-head {
  display: grid;
  grid-template-columns: repeat(2, 44px);
  gap: 4px;
  color: var(--brown-soft);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.size-head.one-size {
  display: block;
  width: 68px;
}

.menu-items {
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 14px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(100, 59, 33, 0.13);
}

.menu-item:last-child {
  border-bottom: 0;
}

.menu-item[hidden] {
  display: none;
}

.menu-name {
  font-size: 0.94rem;
  font-weight: 620;
}

.menu-prices {
  display: grid;
  grid-template-columns: repeat(2, 44px);
  gap: 4px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.menu-prices.single {
  display: block;
}

.menu-no-results {
  display: none;
  padding: 60px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.menu-no-results.is-visible {
  display: block;
}

.menu-board-panel {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 38px;
  align-items: center;
}

.menu-board-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.menu-board-frame img {
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}

.gallery-item {
  position: relative;
  grid-column: span 5;
  overflow: hidden;
  min-height: 520px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--brown-deep);
  cursor: zoom-in;
  text-align: left;
}

.gallery-feature {
  grid-column: span 7;
}

.gallery-half,
.gallery-portrait {
  grid-column: span 6;
}

.gallery-half {
  min-height: 500px;
}

.gallery-small {
  grid-column: span 4;
  min-height: 460px;
}

.gallery-wide {
  grid-column: span 8;
  min-height: 460px;
}

.gallery-full {
  grid-column: span 12;
  min-height: 560px;
}

.gallery-portrait {
  min-height: 760px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 55px 24px 22px;
  color: var(--white);
  background: linear-gradient(to top, rgba(27, 14, 8, 0.9), transparent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 72px 24px 24px;
  background: rgba(24, 12, 7, 0.94);
  place-items: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1120px, 95vw);
  max-height: 82vh;
  border-radius: 14px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-card + .contact-card {
  margin-top: 16px;
}

.contact-card-grid .contact-card {
  min-height: 290px;
  height: 100%;
}

.contact-card-grid .contact-card + .contact-card {
  margin-top: 0;
}

.contact-card h3 {
  margin-bottom: 18px;
}

.contact-card p,
.contact-card address {
  margin: 0;
  color: #655249;
  font-style: normal;
}

.contact-card .contact-note {
  max-width: 42ch;
  margin-top: 14px;
  font-size: 0.9rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-social-links {
  display: grid;
  gap: 9px;
}

.contact-social-links a {
  color: var(--brown);
  font-weight: 700;
}

.contact-social-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.map-frame {
  overflow: hidden;
  min-height: 480px;
  border-radius: var(--radius);
  background: #d8c9b6;
}

.map-frame iframe {
  width: 100%;
  height: 520px;
  border: 0;
}

.invest-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(45, 23, 12, 0.94) 0%, rgba(45, 23, 12, 0.74) 58%, rgba(45, 23, 12, 0.25) 100%),
    url("../images/gallery/cafelytics-interior-1080.webp") center / cover no-repeat;
  place-items: center;
}

.invest-hero-inner {
  max-width: 850px;
  margin-right: auto;
  padding: 100px 0;
}

.invest-hero h1 {
  margin-bottom: 26px;
}

.invest-hero .lead {
  color: rgba(255, 253, 249, 0.76);
}

.vision-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 45px;
}

.vision-card {
  padding: 28px;
  border: 1px solid rgba(255, 253, 249, 0.22);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.06);
  backdrop-filter: blur(8px);
}

.vision-card span {
  display: block;
  margin-bottom: 34px;
  color: #ddc1aa;
  font-family: var(--serif);
}

.vision-card p {
  margin: 0;
  color: rgba(255, 253, 249, 0.78);
  font-size: 0.9rem;
}

.founder-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
}

.founder-logo {
  max-width: 380px;
  padding: 50px;
  border-radius: 50%;
  background: var(--cream);
}

.founder-copy h2 {
  margin-bottom: 24px;
}

.founder-copy p {
  color: #655249;
}

.privacy-copy {
  max-width: 820px;
}

.privacy-copy h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 2rem;
}

.privacy-copy h2:first-child {
  margin-top: 0;
}

.privacy-copy p,
.privacy-copy li {
  color: #655249;
}

.error-page {
  min-height: calc(100vh - 121px);
  display: grid;
  padding: 80px 0;
  background: var(--cream);
  place-items: center;
}

.error-inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.error-code {
  display: block;
  margin-bottom: 5px;
  color: rgba(100, 59, 33, 0.18);
  font-family: var(--serif);
  font-size: clamp(8rem, 25vw, 17rem);
  line-height: 0.8;
}

.error-inner h1 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.error-inner p {
  max-width: 580px;
  margin: 0 auto 30px;
  color: #655249;
}

.site-footer {
  color: var(--cream);
  background: #29170f;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr 1fr;
  gap: 55px;
  padding: 76px 0 60px;
}

.footer-brand img {
  width: 124px;
  margin-bottom: 24px;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.footer-title {
  display: block;
  margin-bottom: 20px;
  color: #caa98d;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-address {
  color: rgba(255, 253, 249, 0.69);
  font-size: 0.89rem;
  font-style: normal;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 253, 249, 0.13);
  color: rgba(255, 253, 249, 0.52);
  font-size: 0.75rem;
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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