/* ============================================================
   SHARED SUBPAGE STYLES
   ============================================================ */

/* === Two-column content layout === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .two-col--reverse { direction: ltr; }
}

/* === Text block === */
.text-block { max-width: 640px; }
.text-block p + p { margin-top: 1.2rem; }
.text-block .section-heading { margin-bottom: 1.5rem; }
.text-block .label { margin-bottom: 1rem; }

/* === Aspect ratio image wrapper === */
.img-wrap { position: relative; overflow: hidden; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-wrap--portrait { aspect-ratio: 4 / 5; }
.img-wrap--landscape { aspect-ratio: 16 / 9; }
.img-wrap--square { aspect-ratio: 1; }

/* ============================================================
   MENU PAGE
   ============================================================ */
.menu-embed-wrapper {
  background: rgba(196, 164, 64, 0.03);
  border: 1px solid var(--brass-dark);
  border-radius: 2px;
  overflow: hidden;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-embed-placeholder {
  text-align: center;
  padding: 3rem;
}
.menu-embed-placeholder .label { justify-content: center; text-align: center; }
.menu-embed-placeholder p {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--ivory);
  margin-top: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.gallery-full-item {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
}
.gallery-full-item.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery-full-item.tall { grid-row: span 2; aspect-ratio: 1 / 2; }

.gallery-full-item .img-ph { min-height: 100%; height: 100%; }

@media (max-width: 700px) {
  .gallery-full-grid { grid-template-columns: 1fr 1fr; }
  .gallery-full-item.wide,
  .gallery-full-item.tall { grid-column: span 1; grid-row: span 1; aspect-ratio: 1; }
}
@media (max-width: 480px) {
  .gallery-full-grid { grid-template-columns: 1fr; }
  .gallery-full-item { aspect-ratio: 4 / 3; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.value-card {
  border-top: 1px solid var(--brass-dark);
  padding-top: 1.5rem;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}
.value-card p {
  font-family: var(--font-ui);
  font-size: 15.5px;
  color: var(--ivory-dark);
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}
.team-member-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.team-member h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 0.25rem;
}
.team-member .role {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.team-member p {
  font-family: var(--font-ui);
  font-size: 15.5px;
  color: var(--ivory-dark);
  line-height: 1.7;
}

@media (max-width: 700px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SHOP PAGE (Coming Soon)
   ============================================================ */
.coming-soon-wrap {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-height) 2rem 4rem;
  position: relative;
}
.coming-soon-bg {
  position: absolute;
  inset: 0;
  background-image: url('/src/assets/images/bg-brand.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.12) saturate(0.5);
}
.coming-soon-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.coming-soon-content .section-heading { margin-bottom: 1rem; }
.coming-soon-content p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.65;
  color: var(--ivory);
  margin-bottom: 2.5rem;
}
.coming-soon-clock {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  opacity: 0.4;
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.career-intro {
  max-width: 640px;
  margin-bottom: 3rem;
}

.job-listing {
  border: 1px solid var(--brass-dark);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.job-listing:hover {
  border-color: var(--brass);
  background: rgba(196, 164, 64, 0.03);
}
.job-listing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.job-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ivory);
}
.job-type {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--brass-dark);
  padding: 5px 11px;
  border-radius: 2px;
  white-space: nowrap;
}
.job-desc {
  font-family: var(--font-ui);
  font-size: 15.5px;
  color: var(--ivory-dark);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.job-apply {
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  transition: color var(--transition-fast);
}
.job-apply:hover { color: var(--brass-light); }

.careers-cta {
  background: rgba(196, 164, 64, 0.04);
  border: 1px solid var(--brass-dark);
  padding: 3rem;
  text-align: center;
  margin-top: 3rem;
}
.careers-cta h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}
.careers-cta p {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ivory-dark);
  margin-bottom: 1.5rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info > * + * { margin-top: 2rem; }

.contact-block h3 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.6rem;
}
.contact-block p,
.contact-block a {
  font-family: var(--font-ui);
  font-size: 16.5px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.7;
  transition: color var(--transition-fast);
}
.contact-block a { color: var(--ivory-dark); }
.contact-block a:hover { color: var(--brass); }

.contact-map {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid var(--brass-dark);
  border-radius: 2px;
  background: var(--char);
  cursor: pointer;
  isolation: isolate;            /* contain the duotone blend layers */
  transition: border-color var(--transition-fast);
}

/* Duotone over the grayscale tiles: highlights (streets/land) → warm gold,
   shadows (water) → deep teal. Reads as gold land + teal sea (brand palette). */
.contact-map::before,
.contact-map::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.contact-map::before {          /* land / streets → warm gold */
  background: #caa052;
  mix-blend-mode: multiply;
}
.contact-map::after {           /* lift only the darkest areas (water) toward teal */
  background: #16454e;
  mix-blend-mode: screen;
  opacity: 0.6;
}
.contact-map:focus-visible {
  outline: 1.5px solid var(--brass);
  outline-offset: 3px;
}

/* Leaflet canvas — stylized warm/dark to match the jewel-box palette.
   Selector is intentionally specific to beat Leaflet's .leaflet-container. */
.contact-map .contact-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: var(--char);
}
.contact-map-canvas .leaflet-tile-pane {
  /* clean grayscale base — the duotone color comes from the blend layers above */
  filter: grayscale(1) contrast(1.05) brightness(1.18);
}
.contact-map .leaflet-container { background: var(--char); }
.contact-map .leaflet-control-attribution {
  background: rgba(10, 8, 7, 0.6);
  color: var(--brass-dark);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.02em;
}
.contact-map .leaflet-control-attribution a { color: var(--brass); }
/* brand pin drop-shadow */
.ethereal-pin svg { filter: drop-shadow(0 3px 5px rgba(5, 4, 3, 0.6)); }

/* Warm wash + label overlay; never intercepts the card click */
.contact-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  text-align: center;
  padding: 1.25rem;
  background:
    radial-gradient(ellipse 75% 55% at 50% 38%, transparent 40%, rgba(10, 8, 7, 0.35) 100%),
    linear-gradient(to top, rgba(10, 8, 7, 0.92) 0%, rgba(10, 8, 7, 0.45) 32%, transparent 60%);
  transition: background var(--transition-fast);
}
.contact-map:hover { border-color: var(--brass); }
.contact-map:hover .contact-map-overlay {
  background:
    radial-gradient(ellipse 75% 55% at 50% 38%, rgba(224, 168, 90, 0.10) 30%, rgba(10, 8, 7, 0.30) 100%),
    linear-gradient(to top, rgba(10, 8, 7, 0.92) 0%, rgba(10, 8, 7, 0.45) 32%, transparent 60%);
}
.contact-map-addr {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ivory);
  text-shadow: 0 1px 8px rgba(5, 4, 3, 0.95);
}
.contact-map-cta {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  text-shadow: 0 1px 8px rgba(5, 4, 3, 0.95);
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ivory-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  border: 1px solid var(--brass-dark);
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: 16px;
  padding: 13px 16px;
  border-radius: 2px;
  outline: none;
  transition: border-color var(--transition-fast);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--brass-dark);
  font-style: normal;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a6e28' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  color: var(--ivory-dark);
}
.form-group select option {
  background: var(--ink);
  color: var(--ivory);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brass);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ============================================================
   RESERVATIONS PAGE
   ============================================================ */
.resy-wrapper {
  background: rgba(196, 164, 64, 0.03);
  border: 1px solid var(--brass-dark);
  padding: 4rem 3rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.resy-intro {
  margin-bottom: 2.5rem;
}
.resy-intro p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--ivory);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.resy-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--brass-dark);
  padding-top: 2.5rem;
  margin-top: 2.5rem;
}
.resy-info-item h4 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.6rem;
}
.resy-info-item p {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ivory-dark);
}

@media (max-width: 600px) {
  .resy-wrapper { padding: 2.5rem 1.5rem; }
  .resy-info-grid { grid-template-columns: 1fr; }

  /* Careers */
  .job-listing { padding: 1.5rem 1.25rem; }
  .job-listing-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .job-type { font-size: 10.5px; }
  .careers-cta { padding: 2rem 1.25rem; }

  /* Contact form */
  .contact-grid { gap: 2rem; }

  /* Values grid already 1-col at 700px, just ensure spacing */
  .values-grid { gap: 1.5rem; }
  .value-card { padding-top: 1.25rem; }
}
