@font-face {
  font-family: Oriza;
  src: url('assets/cormorant-garamond.ttf');
  font-display: swap;
}

:root {
  --cream: #f6f1e8;
  --olive: #303b30;
  --gold: #d2bc8b;
  --muted: #d0cbbd;
  --card-bg: rgba(36, 46, 37, 0.88);
  --card-border: rgba(210, 188, 139, 0.28);
  --ease: cubic-bezier(.45, 0, .25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: #202a23;
  color: var(--cream);
  font: 15px/1.65 Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(21, 23, 22, 0.82) 0%, rgba(21, 23, 22, 0.96) 62%, #151716 100%),
              url('assets/hero-wnetrze-neon.jpg') center top/cover no-repeat;
  pointer-events: none;
}

html[data-venue-profile]:not([data-venue-profile="oriza-r3"]) body::before {
  background: radial-gradient(ellipse at 20% 0%, rgba(200, 169, 126, 0.22), transparent 58%),
              linear-gradient(180deg, #1f2621 0%, #1a211c 62%, #171d19 100%);
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: -100px;
  z-index: 100;
  transition: top .2s;
}

.skip:focus {
  top: 12px;
  left: 12px;
  background: var(--cream);
  color: var(--olive);
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
}

header {
  max-width: 1440px;
  margin: auto;
  padding: 30px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(246, 241, 232, 0.17);
}

.brand {
  font: 48px/.8 Oriza, Georgia, serif;
  text-decoration: none;
  color: var(--cream);
  display: inline-block;
}

.brand small {
  display: block;
  font: 8px Arial, sans-serif;
  letter-spacing: .2em;
  margin-top: 13px;
  color: var(--gold);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.header-nav a {
  font-size: 13px;
  text-decoration: none;
  letter-spacing: .03em;
  color: var(--muted);
  transition: color .3s;
}

.header-nav a:hover {
  color: var(--cream);
}

.language-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 11px Arial, sans-serif;
  color: var(--muted);
}

.language-choice select {
  background: #263126;
  color: var(--cream);
  border: 1px solid rgba(215, 206, 186, 0.4);
  padding: 8px 12px;
  font: 12px Arial, sans-serif;
  min-height: 40px;
  border-radius: 2px;
}

main {
  max-width: 1440px;
  margin: auto;
  padding: 48px 5% 100px;
}

.nowosci-hero {
  margin-bottom: 40px;
}

.intro {
  max-width: 820px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

h1, h2, h3 {
  font-family: Oriza, Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
}

h1 {
  font-size: clamp(44px, 5.5vw, 76px);
  margin: 0 0 20px;
}

h1 em {
  color: #e4d8bc;
  font-style: italic;
}

.intro p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.social-filters {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 0 8px;
  margin: 0 0 40px;
  border-bottom: 1px solid rgba(246, 241, 232, 0.17);
  scrollbar-width: thin;
  scrollbar-color: rgba(210, 188, 139, 0.4) transparent;
}

.social-filter {
  flex-shrink: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #c9cbbb;
  padding: 10px 16px 14px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}

.social-filter[aria-pressed="true"] {
  color: var(--cream);
  border-bottom-color: var(--gold);
}

.social-filter:hover {
  color: #ffffff;
}

.social-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}

.social-feed-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  position: relative;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.social-feed-card:hover {
  border-color: rgba(210, 188, 139, 0.55);
}

.social-feed-card .eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: .15em;
}

.social-feed-card h2,
.social-feed-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  margin: 0;
  line-height: 1.18;
  color: var(--cream);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.social-feed-card p:not(.eyebrow) {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.social-card-media {
  margin: 4px 0 6px;
  padding: 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 3px;
  background: #1e261f;
  border: 1px solid rgba(210, 188, 139, 0.18);
}

.social-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(210, 188, 139, 0.45);
  background: rgba(246, 241, 232, 0.08);
  color: var(--cream);
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s, border-color .3s;
}

.glass-button:hover {
  background: rgba(246, 241, 232, 0.16);
  border-color: var(--gold);
}

.oriza-social-player {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 540px;
  border: none;
  border-radius: 4px;
  background: #151c16;
  display: block;
  margin: 4px 0;
}

.social-feed-card a:not(.glass-button) {
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  text-underline-offset: 4px;
}

.social-feed-card a:not(.glass-button):hover {
  text-decoration: underline;
  color: var(--cream);
}

.social-dish-link {
  font-weight: 500;
}

.nowosci-empty {
  padding: 68px 24px;
  text-align: center;
  background: rgba(36, 46, 37, 0.55);
  border: 1px dashed rgba(210, 188, 139, 0.35);
  border-radius: 4px;
  color: var(--muted);
  font-size: 15px;
  margin: 30px 0;
}

/* Detail modal for dish integration */
.detail {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 1px solid rgba(213, 199, 170, 0.4);
  padding: 0;
  background: var(--cream);
  color: var(--olive);
  width: min(980px, calc(100% - 48px));
  max-width: 980px;
  max-height: 90dvh;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.55);
  overflow: auto;
  overscroll-behavior: contain;
}

.detail::backdrop {
  background: rgba(19, 32, 25, 0.8);
  backdrop-filter: blur(7px);
}

#dish-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.detail-media {
  min-height: 460px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 30% 20%, rgba(102, 113, 83, 0.33), transparent), #303d30;
  position: relative;
  overflow: hidden;
}

.detail-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-monogram {
  font: 86px Oriza, Georgia, serif;
  letter-spacing: .01em;
  color: rgba(210, 199, 170, 0.6);
}

.detail-body {
  padding: 64px 42px 40px;
  align-self: center;
}

.detail .eyebrow {
  color: #747355;
  line-height: 1.7;
  margin: 0 0 22px;
}

.detail h2 {
  font-size: clamp(38px, 4.5vw, 58px);
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}

.detail-description {
  font-size: 14px;
  line-height: 1.85;
  color: #5e6455;
}

.detail-price {
  border-top: 1px solid #c7c9b9;
  padding-top: 22px;
  margin-top: 26px;
  font-size: 16px;
}

.detail .note {
  font-size: 11px;
  color: #6e7363;
  line-height: 1.7;
}

.detail-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  border: 1px solid #b9b9a8;
  background: rgba(246, 241, 239, 0.93);
  color: var(--olive);
  width: 44px;
  height: 44px;
  font-size: 27px;
  line-height: 1;
  transition: background .3s;
}

.detail-close:hover {
  background: white;
}

footer {
  max-width: 1440px;
  margin: auto;
  padding: 28px 5%;
  border-top: 1px solid rgba(246, 241, 232, 0.17);
  font-size: 12px;
  color: var(--muted);
}

footer a {
  text-underline-offset: 4px;
  color: inherit;
}

/* Responsive queries */
@media (max-width: 1020px) {
  .social-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
  .detail-body {
    padding: 48px 30px 30px;
  }
}

@media (max-width: 640px) {
  header {
    padding: 22px 20px;
  }
  .brand {
    font-size: 38px;
  }
  .header-nav {
    gap: 16px;
  }
  main {
    padding: 36px 20px 80px;
  }
  h1 {
    font-size: 42px;
  }
  .intro p:not(.eyebrow) {
    font-size: 14px;
  }
  .social-filters {
    gap: 8px;
    margin-bottom: 28px;
  }
  .social-feed-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .social-feed-card {
    padding: 22px;
  }
  .detail {
    width: calc(100% - 24px);
    max-height: 94dvh;
  }
  #dish-content {
    display: block;
  }
  .detail-media {
    min-height: 0;
    height: 220px;
  }
  .detail-body {
    padding: 24px 20px;
  }
  .detail-close {
    position: sticky;
    float: right;
    margin: 12px 12px -56px 0;
    top: 12px;
  }
  footer {
    padding: 24px 20px;
  }
}

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