/* Home page scoped styles */

/* Hero */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--surface-base);
}

.hero-media {
  width: 100%;
  height: 70vh;
  min-height: 420px;
  position: relative;
}

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

.hero-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
  max-width: 560px;
  background-color: rgba(255, 255, 255, 0.95);
  border: var(--border-width) solid var(--border-hairline);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
  text-align: left;
  margin: 0;
}

.hero-meta {
  font: var(--text-info);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin: 0;
}

.hero-panel h1 {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.1;
  max-width: 24ch;
  margin: 0;
}

.hero-support {
  max-width: 32ch;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-2);
}

/* Section heading row */
.section-heading-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.section-heading-row .display-numeral {
  flex: 0 0 auto;
}

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

.section-link-row {
  margin-top: var(--space-6);
}

/* Philosophy */
.philosophy-grid {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.philosophy-number {
  grid-column: 1;
  grid-row: 1;
}

.philosophy-content {
  grid-column: 2;
  grid-row: 1;
  max-width: 800px;
}

.philosophy-content h2 {
  max-width: 24ch;
}

.philosophy-content p {
  max-width: 65ch;
}

/* Menu Highlights */
.menu-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.dish-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.dish-card .media-ratio-4-3 {
  width: 100%;
}

.dish-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-card h3 {
  margin: 0;
  max-width: 20ch;
}

.dish-card p {
  margin: 0;
  max-width: 30ch;
}

.dish-card:hover {
  border-color: var(--accent-action);
}

/* Chef Selections */
.chef-selections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.chef-selections-text {
  min-width: 0;
}

.chef-selections-text .display-numeral {
  margin-bottom: var(--space-3);
}

.chef-selections-text h2 {
  max-width: 20ch;
}

.chef-selections-text p {
  max-width: 55ch;
}

.chef-selections-media {
  width: 100%;
  min-width: 0;
}

.chef-selections-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card Lounge */
.card-lounge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.card-lounge-media {
  width: 100%;
  min-width: 0;
}

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

.card-lounge-text {
  min-width: 0;
}

.card-lounge-text .display-numeral {
  margin-bottom: var(--space-3);
}

.card-lounge-text h2 {
  max-width: 20ch;
}

.card-lounge-text p {
  max-width: 55ch;
}

/* Poker Formats */
.poker-formats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.format-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.format-card h3 {
  margin: 0;
  max-width: 20ch;
}

.format-card p {
  margin: 0;
  max-width: 30ch;
}

/* Poker Etiquette */
.poker-etiquette-container {
  max-width: 700px;
}

.poker-etiquette-container .display-numeral {
  margin-bottom: var(--space-3);
}

.poker-etiquette-lead {
  max-width: 60ch;
}

.poker-etiquette-list {
  margin-bottom: var(--space-4);
}

.poker-etiquette-list li {
  padding-block: var(--space-2);
  border-bottom: var(--border-width) solid var(--border-hairline);
  margin-bottom: 0;
}

.poker-etiquette-list li:last-child {
  border-bottom: none;
}

/* Private Gatherings */
.private-gatherings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.private-gatherings-text {
  min-width: 0;
}

.private-gatherings-text .display-numeral {
  margin-bottom: var(--space-3);
}

.private-gatherings-text h2 {
  max-width: 20ch;
}

.private-gatherings-text p {
  max-width: 55ch;
}

.private-gatherings-media {
  width: 100%;
  min-width: 0;
}

.private-gatherings-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Visual Journal */
.visual-journal-lead {
  max-width: 65ch;
  margin-bottom: var(--space-6);
}

.visual-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.journal-card {
  min-width: 0;
  margin: 0;
}

.journal-card .media-ratio-1-1 {
  width: 100%;
}

.journal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-card figcaption {
  max-width: 30ch;
}

/* FAQ */
.faq-container {
  max-width: 800px;
}

.faq-container .display-numeral {
  margin-bottom: var(--space-3);
}

.faq-list {
  border-top: var(--border-width) solid var(--border-hairline);
}

.faq-item {
  border-bottom: var(--border-width) solid var(--border-hairline);
}

.faq-question {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--space-4) 0;
  font: 700 18px/1.4 var(--font-heading);
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent-action);
}

.faq-question[aria-expanded="true"] {
  color: var(--accent-action);
}

.faq-answer {
  padding-bottom: var(--space-4);
}

.faq-answer p {
  max-width: 60ch;
  margin: 0;
}

/* Contact */
.contact-container {
  max-width: 600px;
  margin-inline: auto;
  text-align: left;
}

.contact-container .display-numeral {
  margin-bottom: var(--space-3);
}

.contact-lead {
  max-width: 50ch;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-6);
}

.contact-list li {
  padding-block: var(--space-3);
  border-bottom: var(--border-width) solid var(--border-hairline);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list a {
  color: var(--text-primary);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--accent-action);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-panel {
    width: 55%;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .philosophy-number,
  .philosophy-content {
    grid-column: 1;
    grid-row: auto;
  }

  .philosophy-number {
    margin-bottom: var(--space-2);
  }

  .menu-highlights-grid,
  .poker-formats-grid,
  .visual-journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chef-selections-grid,
  .card-lounge-grid,
  .private-gatherings-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .chef-selections-media,
  .card-lounge-media,
  .private-gatherings-media {
    order: 0;
  }

  .chef-selections-text,
  .card-lounge-text,
  .private-gatherings-text {
    order: 0;
  }
}

@media (max-width: 768px) {
  .hero-media {
    height: 60vh;
    min-height: 320px;
  }

  .hero-panel {
    position: static;
    width: 100%;
    max-width: none;
    border: none;
    border-top: var(--border-width) solid var(--border-hairline);
    padding: var(--space-4) var(--space-3);
    background-color: var(--surface-base);
  }

  .hero-panel h1 {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .section-heading-row {
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
  }

  .menu-highlights-grid,
  .poker-formats-grid,
  .visual-journal-grid {
    grid-template-columns: 1fr;
  }

  .dish-card,
  .format-card,
  .journal-card {
    width: 100%;
  }

  .faq-question {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero-media {
    height: 50vh;
    min-height: 280px;
  }

  .hero-panel {
    padding: var(--space-3) var(--space-3);
  }

  .hero-panel h1 {
    font-size: 28px;
  }

  .philosophy-content h2,
  .chef-selections-text h2,
  .card-lounge-text h2,
  .private-gatherings-text h2 {
    font-size: 24px;
  }

  .display-numeral {
    font-size: 56px;
  }

  .contact-container,
  .faq-container,
  .poker-etiquette-container {
    padding-inline: var(--space-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-question {
    transition: none;
  }
}
