/* Charlie Joseph's Downtown - premium single-page concept */

:root {
  --brick: #9c2a2a;
  --brick-dark: #651818;
  --cream: #fff7ec;
  --paper: #fffdf8;
  --ink: #17110f;
  --ink-soft: #554842;
  --muted: #8b7a70;
  --line: #eadac9;
  --gold: #d6a232;
  --coke: #0c6d55;
  --sky: #b8d6e8;
  --shadow: 0 24px 70px rgba(49, 28, 17, .16);
  --shadow-soft: 0 12px 36px rgba(49, 28, 17, .1);
  --radius: 8px;
  --max: 1160px;
  --sdm-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sdm-display: "Playfair Display", Georgia, serif;
  --sdm-script: "Yellowtail", "Brush Script MT", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(156,42,42,.035) 1px, transparent 1px),
    linear-gradient(180deg, var(--cream), #fffaf3 42%, #f7efe5);
  background-size: 42px 42px, auto;
  font-family: var(--sdm-body, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.sdm-script { font-family: var(--sdm-script); font-weight: 400; letter-spacing: 0; }

.demo-banner {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 18px;
  color: #f8eadb;
  background: #211514;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
  letter-spacing: .02em;
  text-align: center;
}
.demo-banner span {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.demo-banner strong {
  font-weight: 600;
  color: #d9c9bc;
}

.sdm-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid rgba(101, 24, 24, .12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.sdm-nav-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sdm-nav-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brick);
  text-decoration: none;
  white-space: nowrap;
}
.sdm-nav-brand.sdm-script {
  color: var(--brick);
  font-size: 31px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}
.sdm-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}
.sdm-nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 7px;
  color: #5b4b43;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.sdm-nav-links a:hover {
  color: var(--sdm-nav-active, var(--brick));
  background: rgba(156,42,42,.08);
}
.sdm-nav-links .sdm-nav-cta {
  margin-left: 4px;
  color: #fff;
  background: var(--sdm-nav-cta-bg, var(--brick));
}
.sdm-nav-links .sdm-nav-cta:hover {
  color: #fff;
  background: var(--sdm-nav-cta-bg-hover, var(--brick-dark));
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 96px));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .72fr);
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  background: #211514;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(33,21,20,.86) 0%, rgba(33,21,20,.62) 42%, rgba(33,21,20,.08) 72%),
    linear-gradient(0deg, rgba(33,21,20,.62), rgba(33,21,20,0) 46%);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(1.04) contrast(1.04);
}
.hero-copy {
  position: relative;
  z-index: 1;
  grid-column: 1;
  align-self: center;
  max-width: 760px;
  padding: clamp(56px, 8vw, 106px) clamp(22px, 6vw, 86px);
}
.kicker,
.section-eyebrow {
  margin: 0 0 12px;
  color: var(--brick);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero .kicker { color: #ffd27c; }
.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(70px, 10vw, 136px);
  font-weight: 400;
  line-height: .86;
  letter-spacing: 0;
  text-shadow: 0 16px 48px rgba(0,0,0,.45);
}
.hero-line {
  max-width: 670px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.92);
  font-family: var(--sdm-display, Georgia, serif);
  font-size: clamp(25px, 3.2vw, 44px);
  font-weight: 900;
  line-height: 1.02;
}
.hero-actions,
.handoff-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.button-primary {
  color: #211514;
  background: var(--gold);
  box-shadow: 0 14px 32px rgba(214, 162, 50, .28);
}
.button-secondary {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.36);
  backdrop-filter: blur(8px);
}
.button-dark {
  color: #fff;
  background: var(--ink);
}
.hero-status {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding: 9px 12px;
  color: #fff;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  font-size: 13px;
}
.hero-status span {
  color: #ffd27c;
  font-weight: 900;
}
.hero-card {
  position: relative;
  z-index: 1;
  grid-column: 2;
  align-self: end;
  justify-self: end;
  width: min(360px, calc(100% - 44px));
  margin: 0 clamp(22px, 5vw, 72px) clamp(24px, 6vw, 76px) 0;
  padding: 22px;
  color: #251918;
  background: rgba(255, 253, 248, .91);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.hero-card span {
  display: block;
  color: var(--brick);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-card strong {
  display: block;
  margin-top: 4px;
  font-family: var(--sdm-display, Georgia, serif);
  font-size: 42px;
  line-height: 1;
}
.hero-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 22px;
  scroll-margin-top: 96px;
}
.section-copy {
  max-width: 760px;
}
.section-copy.centered {
  margin: 0 auto 34px;
  text-align: center;
}
h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--sdm-display, Georgia, serif);
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: 0;
}
.section-copy p:not(.section-eyebrow),
.split-copy p,
.handoff p {
  color: var(--ink-soft);
  font-size: 17px;
}

.concept {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}
.concept-grid {
  display: grid;
  gap: 14px;
}
.concept-grid article {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.concept-grid span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brick);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.concept-grid h3,
.menu-feature h3,
.hours-panel h3 {
  margin: 16px 0 8px;
  font-family: var(--sdm-display, Georgia, serif);
  font-size: 28px;
  line-height: 1.05;
}
.concept-grid p,
.menu-feature p {
  margin: 0;
  color: var(--ink-soft);
}

.proof-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--brick-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: 96px;
}
.proof-strip div {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, rgba(156,42,42,.94), rgba(101,24,24,.98));
}
.proof-strip strong {
  font-family: var(--sdm-display, Georgia, serif);
  font-size: clamp(38px, 6vw, 64px);
  line-height: .9;
}
.proof-strip span {
  margin-top: 8px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}
.split-media {
  position: relative;
}
.split-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  background: var(--coke);
  border-radius: var(--radius);
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-copy p {
  margin: 18px 0 0;
}

.menu-showcase {
  max-width: none;
  padding-left: max(22px, calc((100vw - var(--max)) / 2 + 22px));
  padding-right: max(22px, calc((100vw - var(--max)) / 2 + 22px));
  background:
    linear-gradient(rgba(33,21,20,.74), rgba(33,21,20,.86)),
    url("/clients/2026-q2/demos/charlie-josephs-downtown/assets/photo-3.jpg") center / cover;
  color: #fff;
}
.menu-showcase h2,
.menu-showcase .section-copy p,
.menu-showcase .section-eyebrow { color: #fff; }
.menu-showcase .section-eyebrow { color: #ffd27c; }
.menu-board {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.menu-feature,
.menu-list {
  background: rgba(255,253,248,.94);
  border: 1px solid rgba(255,255,255,.58);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.menu-feature {
  padding: clamp(24px, 5vw, 46px);
  color: var(--ink);
}
.menu-feature span {
  display: inline-block;
  color: var(--brick);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.menu-feature h3 {
  font-size: clamp(34px, 5vw, 58px);
}
.menu-list {
  display: grid;
  padding: 10px 24px;
  color: var(--ink);
}
.menu-row {
  display: grid;
  grid-template-columns: minmax(130px, .42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.menu-row:last-child { border-bottom: 0; }
.menu-row strong {
  font-family: var(--sdm-display, Georgia, serif);
  font-size: 24px;
  line-height: 1;
}
.menu-row span {
  color: var(--ink-soft);
  font-size: 15px;
}

.photos .section-copy {
  margin-bottom: 28px;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: 320px 260px;
  gap: 16px;
}
.photo-grid a {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: #ddd;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.photo-grid a:hover img { transform: scale(1.035); }
.photo-large { grid-row: 1 / span 2; }
.photo-large img { object-position: center top; }
.photo-tall img { object-position: center; }
.photo-wide img { object-position: center; }

.reviews-section {
  padding-top: 26px;
}
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.featured-review {
  background: #211514;
  color: #fff;
  transform: translateY(-12px);
}
.review-stars {
  color: var(--gold);
  letter-spacing: .12em;
  font-size: 13px;
}
.review p {
  margin: 14px 0 18px;
  font-family: var(--sdm-display, Georgia, serif);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.15;
}
.featured-review p { color: #fff; }
.review span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.featured-review span { color: rgba(255,255,255,.62); }

.visit-section {
  padding-top: 36px;
}
.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .48fr);
  gap: 18px;
  align-items: stretch;
}
.visit-panel,
.hours-panel {
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.visit-panel h2 { max-width: 780px; }
.visit-actions .button-secondary {
  color: var(--brick);
  background: #fff;
  border-color: var(--line);
}
.visit-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.visit-facts div {
  padding-top: 16px;
  border-top: 3px solid var(--brick);
}
.visit-facts span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.visit-facts strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}
.hours-panel h3 {
  margin-top: 0;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.hours-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:first-child {
  color: var(--ink);
  font-weight: 900;
}
.hours-table td:last-child {
  color: var(--ink-soft);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hours-table tr:last-child td:last-child {
  color: var(--brick);
  font-weight: 900;
}
.map-frame {
  margin-top: 18px;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: #e9dfd2;
}
.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.handoff {
  max-width: var(--max);
  margin: 22px auto 0;
  padding: clamp(34px, 6vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(156,42,42,.96), rgba(33,21,20,.98)),
    url("/clients/2026-q2/demos/charlie-josephs-downtown/assets/photo-storefront.jpg") center / cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-margin-top: 96px;
}
.handoff h2 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(32px, 4.2vw, 54px);
}
.handoff p {
  max-width: 720px;
  color: rgba(255,255,255,.78);
}
.handoff .section-eyebrow { color: #ffd27c; }
.handoff-actions {
  justify-content: flex-end;
  min-width: 230px;
}
.handoff .button-primary { width: 100%; }
.handoff .button-dark {
  width: 100%;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.24);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    display: block;
  }
  .hero::after {
    background:
      linear-gradient(0deg, rgba(33,21,20,.9), rgba(33,21,20,.5) 58%, rgba(33,21,20,.2)),
      linear-gradient(90deg, rgba(33,21,20,.64), rgba(33,21,20,.24));
  }
  .hero-copy {
    min-height: 690px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 130px;
  }
  .hero-card {
    width: auto;
    margin: -8px 22px 26px;
  }
  .concept,
  .split,
  .menu-board,
  .visit-layout,
  .handoff {
    grid-template-columns: 1fr;
  }
  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 0;
  }
  .proof-strip div { min-height: 104px; }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 250px;
  }
  .reviews,
  .visit-facts {
    grid-template-columns: 1fr;
  }
  .featured-review { transform: none; }
  .handoff-actions {
    justify-content: flex-start;
    min-width: 0;
  }
  .handoff .button-primary,
  .handoff .button-dark {
    width: auto;
  }
}

@media (max-width: 620px) {
  .demo-banner {
    align-items: center;
    flex-direction: column;
    gap: 3px;
  }
  .sdm-nav {
    padding-left: 10px;
    padding-right: 10px;
  }
  .sdm-nav-brand.sdm-script {
    font-size: 24px;
  }
  .sdm-nav-links a {
    padding-left: 8px;
    padding-right: 8px;
  }
  .hero-copy {
    min-height: 620px;
    padding: 86px 18px 34px;
  }
  .hero h1 {
    font-size: clamp(62px, 21vw, 94px);
  }
  .hero-line {
    font-size: 30px;
  }
  .hero-actions,
  .visit-actions,
  .handoff-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .button {
    width: 100%;
  }
  .hero-status {
    width: 100%;
    justify-content: space-between;
  }
  .section {
    padding: 58px 18px;
  }
  h2 {
    font-size: 38px;
  }
  .proof-strip {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    grid-template-columns: 1fr 1fr;
  }
  .proof-strip div {
    padding: 18px;
  }
  .proof-strip strong {
    font-size: 42px;
  }
  .split-media::before {
    inset: 12px -10px -12px 10px;
  }
  .menu-showcase {
    padding-left: 18px;
    padding-right: 18px;
  }
  .menu-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .photo-grid a {
    min-height: 260px;
  }
  .photo-large {
    grid-row: auto;
  }
  .review p {
    font-size: 21px;
  }
  .map-frame,
  .map-frame iframe {
    min-height: 320px;
    height: 320px;
  }
  .handoff {
    margin-top: 0;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .photo-grid img {
    transition: none;
  }
}
