/* ─── LOCATIONS PAGE — matches home/menu editorial aesthetic ─── */

.loc-section {
  padding: 5.5rem 0 5rem;
  position: relative; overflow: hidden; isolation: isolate;
}
.loc-section--first { padding-top: 10rem; }

.loc-head {
  margin-bottom: 3rem; max-width: 60%;
  position: relative; z-index: 2;
}
.loc-head .sec-mark { margin-bottom: 0.9rem; }
.loc-head h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 0.95;
  letter-spacing: -0.005em; text-transform: uppercase;
}
.loc-meta {
  margin-top: 1rem;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.loc-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--green);
}

/* ─── OPEN (dark concrete backdrop — identical to home page .deli) ─── */
.loc-section--open {
  color: var(--text-light);
  background:
    linear-gradient(rgba(46,45,50,0.2), rgba(46,45,50,0.2)),
    url('/photos/backgrounds/brand-concrete.jpg') center/cover no-repeat;
  background-color: var(--dark);
  border-top: 1px solid rgba(253,196,4,0.22);
  border-bottom: 1px solid rgba(253,196,4,0.22);
}
.loc-section--open::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 78% 28%, rgba(253,196,4,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(0,0,0,0.35) 0%, transparent 65%);
}
.loc-section--open > * { position: relative; z-index: 2; }
.loc-section--open h2 { color: var(--white); }

.loc-mega {
  position: absolute; top: 2.5rem; right: -2%; z-index: 0;
  font-family: var(--display); font-size: clamp(7rem, 18vw, 18rem);
  font-weight: 400; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(253,196,4,0.1);
  pointer-events: none; line-height: 0.85; text-transform: uppercase;
  user-select: none; white-space: nowrap;
}
.loc-mega--dark { -webkit-text-stroke: 1.5px rgba(46,45,50,0.08); }

/* Feature layout: image + body */
.loc-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  position: relative; z-index: 2;
  margin-bottom: 3rem;
}
.loc-feature-img {
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.loc-feature-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.loc-feature-img:hover img { transform: scale(1.04); }

.loc-feature-body {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.loc-description {
  font-size: 1rem; line-height: 1.7; color: var(--text-muted);
  max-width: 50ch;
}

/* Spec grid (address/phone/hours) */
.loc-spec {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 0.85rem 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin: 0;
}
.loc-spec dt {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--yellow); align-self: start; padding-top: 2px;
}
.loc-spec dd {
  margin: 0; font-family: var(--body); font-size: 0.92rem;
  color: var(--text-light); line-height: 1.55;
}
.loc-spec a { color: var(--text-light); transition: color 0.2s; }
.loc-spec a:hover { color: var(--yellow); }
.loc-hours-row {
  display: flex; justify-content: space-between; gap: 1rem;
  max-width: 260px;
  padding: 0.15rem 0;
}

/* Feature list */
.loc-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.loc-features li {
  font-size: 0.88rem; color: var(--text-light); line-height: 1.45;
  padding-left: 1.25rem; position: relative;
}
.loc-features li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 1px; background: var(--yellow);
}

.loc-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Map */
.loc-map {
  position: relative; z-index: 2;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(253,196,4,0.22);
  background: var(--dark-card);
  aspect-ratio: 16/6;
}
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85); }

/* ─── COMING SOON (paper backdrop) ─── */
.loc-section--soon {
  background: var(--paper); color: var(--text-dark);
}
.loc-section--soon::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(46,45,50,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,45,50,0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.loc-section--soon h2 { color: var(--text-dark); }
.loc-section--soon .sec-mark--dark { color: var(--yellow-deep); margin-bottom: 0.9rem; }
.loc-section--soon .sec-mark--dark::before { background: var(--yellow-deep); }
.loc-meta--dark { color: var(--text-dark-muted); }

.loc-soon-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem; position: relative; z-index: 2;
  margin-bottom: 3rem;
}

.loc-soon-card {
  background: var(--white); border: 1px solid var(--light-border);
  border-radius: 14px; overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.loc-soon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.loc-soon-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--warm-bg);
}
.loc-soon-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.6s var(--ease-out);
}
.loc-soon-card:hover .loc-soon-img img { transform: scale(1.04); }
.loc-soon-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--yellow); color: var(--dark);
  font-family: var(--mono); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.loc-soon-body { padding: 1.5rem 1.75rem 1.75rem; }
.loc-soon-name {
  font-family: var(--display); font-size: 2.2rem; font-weight: 400;
  line-height: 0.95; letter-spacing: -0.005em; text-transform: uppercase;
  color: var(--text-dark); margin-bottom: 0.35rem;
}
.loc-soon-neighborhood {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--yellow-deep);
  margin-bottom: 0.9rem;
}
.loc-soon-desc {
  font-size: 0.9rem; color: var(--text-dark-secondary); line-height: 1.55;
}

/* Franchise CTA at bottom of soon section */
.loc-franchise-cta {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  padding: 1.75rem 2rem;
  background: rgba(253,196,4,0.08);
  border: 1px solid rgba(253,196,4,0.25);
  border-radius: 12px;
}
.loc-franchise-label {
  font-family: var(--display); font-size: 1.6rem; font-weight: 400;
  letter-spacing: 0; text-transform: uppercase; color: var(--text-dark);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .loc-feature { grid-template-columns: 1fr; gap: 2rem; }
  .loc-head { max-width: 100%; }
  .loc-soon-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .loc-spec { grid-template-columns: 1fr; gap: 0.35rem 0; }
  .loc-spec dt { margin-top: 0.75rem; }
  .loc-spec dt:first-child { margin-top: 0; }
  .loc-franchise-cta { flex-direction: column; text-align: center; }
  .loc-franchise-label { font-size: 1.35rem; }
  .loc-map { aspect-ratio: 4/3; }
}
