/* =============================================================
   TGH CAFE — style.css
   Dark espresso (cafe-at-dusk) theme with a crema-copper accent.
   Chalkboard-menu layout: pages arranged like a cafe menu board
   hanging on a dark wall.
   Palette
     --coffee cafe-at-dusk      #171210  (body background)
     --crema copper accent      #C98A5C
     --bar-top raised panel     #211A15
     --cellar-shelf deep panel  #2A211B
     --foam-white headlines     #F0EBE6
     --roast-mist body text     #CCC2BA
     --sugar-sachet secondary   #EFE6DA
     --lake-slate secondary     #5A7A8C
     --jam-berry tertiary       #A34A5A
     --hairline separator       #33291F
   ============================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px; /* explicit base size, do not change */
  font-family: Georgia, "Times New Roman", "Segoe UI", serif;
  line-height: 1.7;
  color: #CCC2BA;
  background-color: #171210;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #C98A5C;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: #EFE6DA;
}

p {
  color: #CCC2BA;
}

/* ---------------- decorative chalkboard wall background ------- */
.cafe-wall {
  min-height: 100vh;
  background-color: #171210;
  background-image: linear-gradient(180deg, #171210 0%, #1d1711 55%, #171210 100%);
}

.home-page {
  display: block;
}

/* =============================================================
   (1) TOP RAIL navigation (.cafe-rail)
   A 4px horizontal bar-top rail with two end brackets. Brand hangs
   from a wire at the left; five links hang as cream tags at right.
   ============================================================= */
.cafe-rail {
  width: 100%;
  background-color: #211A15;
  border-bottom: 4px solid #33291F;
  padding: 0;
  position: relative;
}

.cafe-rail::before,
.cafe-rail::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 5px;
  height: 26px;
  background-color: #C98A5C;
  border-radius: 1px;
}

.cafe-rail::before {
  left: 14px;
}

.cafe-rail::after {
  right: 14px;
}

.rail-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* the brand sign hanging from a wire */
.brand-hang {
  position: relative;
  padding-top: 14px;
  display: inline-block;
}

.brand-hang::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 14px;
  background-color: #5A7A8C;
  transform: translateX(-50%);
}

.brand-sign {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #2A211B;
  border: 1px solid #33291F;
  padding: 8px 18px;
  border-radius: 3px;
  color: #F0EBE6;
  transform: rotate(-0.6deg);
}

.wordmark {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #F0EBE6;
  line-height: 1.1;
}

.wordmark small {
  display: block;
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #C98A5C;
}

/* 14px espresso cup glyph with a crema swirl */
.cup-glyph {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 2px 2px 6px 6px;
  background-color: #171210;
  border: 2px solid #C98A5C;
  flex: 0 0 14px;
}

.cup-glyph::before {
  content: "";
  position: absolute;
  right: -5px;
  top: 3px;
  width: 4px;
  height: 6px;
  border: 1px solid #C98A5C;
  border-radius: 2px;
}

.cup-glyph::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #C98A5C 0 30%, #171210 34% 100%);
}

/* hanging cream tags */
.tag-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 10px;
}

.tag-nav li {
  position: relative;
  padding-top: 12px;
}

.tag-nav li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 12px;
  background-color: #5A7A8C;
  transform: translateX(-50%);
}

.tag-nav a {
  display: inline-block;
  background-color: #EFE6DA;
  color: #5a4a3a;
  padding: 6px 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.5px;
  transform-origin: top center;
  transition: transform 0.3s ease, background-color 0.25s ease, color 0.25s ease;
  box-shadow: 0 2px 0 #33291F;
}

.tag-nav a:hover,
.tag-nav a.is-active {
  transform: rotate(3deg) translateY(-2px);
  background-color: #C98A5C;
  color: #171210;
}

/* mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #C98A5C;
  color: #C98A5C;
  font-size: 26px;
  line-height: 1;
  padding: 4px 12px;
  border-radius: 3px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .rail-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-toggle {
    display: block;
  }
  .tag-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .tag-nav.open {
    display: flex;
  }
  .tag-nav li::before {
    display: none;
  }
}

/* =============================================================
   Shared inner width
   ============================================================= */
.cafe-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* =============================================================
   (2) SPECIALS BOARD (.cafe-specials)  wide board + story text
   ============================================================= */
.cafe-masthead {
  padding-top: 40px;
  text-align: center;
}

.masthead-kicker {
  display: inline-block;
  border: 1px solid #C98A5C;
  color: #F0EBE6;
  background-color: #211A15;
  padding: 4px 18px;
  border-radius: 2px;
  letter-spacing: 3px;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 28px;
  transform: rotate(-1deg);
}

.board-wrap {
  margin: 60px 0 0;
}

.board {
  position: relative;
  background-color: #33291F;
  padding: 7px;
  border-radius: 6px;
  box-shadow:
    0 0 0 2px #211A15,
    0 0 0 4px #171210,
    0 0 0 6px #4a3a2a;
}

.board.specials {
  width: 86%;
  margin-left: auto;
  margin-right: auto;
}

.board .chalk {
  background-color: #271f18;
  border-radius: 4px;
  padding: 26px 22px;
  border: 1px dashed #33291F;
}

.chalk strong.heading {
  font-family: Georgia, serif;
  display: block;
  text-align: center;
  font-size: 34px;
  letter-spacing: 8px;
  color: #EFE6DA;
  margin-bottom: 6px;
  font-weight: normal;
}

.chalk .rule {
  width: 230px;
  height: 1px;
  background-color: #5A7A8C;
  margin: 6px auto 18px;
}

/* chalboard chalk table rows */
.chalk-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  max-width: 680px;
  margin: 12px auto;
}

.chalk-row .item {
  font-size: 22px;
  color: #EFE6DA;
  white-space: nowrap;
}

.chalk-row .dots {
  flex: 1;
  border-bottom: 2px dotted #A3987F;
  transform: translateY(-4px);
}

.chalk-row .price {
  font-size: 22px;
  color: #C98A5C;
  font-weight: bold;
  white-space: nowrap;
}

.chalk-sub {
  text-align: center;
  font-size: 16px;
  color: #CCC2BA;
  margin-top: 16px;
  font-style: italic;
}

/* story paragraph hanging under the specials board */
.story-copy {
  max-width: 880px;
  margin: 26px auto 0;
}

.story-copy p {
  text-align: center;
  color: #CCC2BA;
  font-size: 18px;
  line-height: 1.9;
}

.story-copy p + p {
  margin-top: 14px;
}

/* =============================================================
   (3) MENU BOARDS ROW (.cafe-boards) staggered hung boards
   ============================================================= */
.cafe-boards {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

@media (min-width: 860px) {
  .cafe-boards {
    grid-template-columns: 1fr 1fr;
  }
}

.mini-board {
  margin-top: 60px;
}

.mini-board.first {
  margin-top: 0;
}

@media (min-width: 860px) {
  .mini-board.first {
    transform: translateY(0);
  }
  .mini-board.second {
    transform: translateY(-34px);
  }
  .grid-raised {
    margin-top: -20px;
  }
}

@media (min-width: 860px) {
  .cafe-boards .board.specials ~ * {
    margin-top: 0;
  }
}

.mini-board .chalk {
  padding: 22px 20px;
}

.mini-head {
  font-family: Georgia, serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: #EFE6DA;
  font-weight: normal;
  text-align: center;
  margin-bottom: 4px;
}

.chalk p {
  color: #E8DCCE;
  font-size: 16px;
  font-style: italic;
}

/* wooden twin wires visual above staggered boards */
.wire-pair {
  position: relative;
  height: 22px;
  margin: -30px 20px 0;
}

.wire-pair i {
  display: block;
  height: 22px;
  border-left: 2px solid #5A7A8C;
  width: 50%;
  float: left;
}

.wire-pair i:last-child {
  border-left: 0;
  border-right: 2px solid #5A7A8C;
}

/* =============================================================
   (4) COUNTER NOTE / notice band (.cafe-note)
   ============================================================= */
.cafe-note {
  margin-top: 60px;
  transform: rotate(-1deg);
}

.notice {
  position: relative;
  background-color: #5A7A8C;
  border-left: 8px solid #A34A5A;
  border-radius: 4px;
  padding: 26px 28px;
  color: #171210;
  box-shadow: 0 0 0 5px #211A15;
}

.notice h3 {
  color: #171210;
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.notice h3 span {
  color: #171210;
  border-bottom: 2px dashed #171210;
}

.notice p {
  color: #171210;
  font-size: 17px;
}

.notice p + p {
  margin-top: 6px;
}

.notice a.counter-link {
  color: #171210;
  background-color: #EFE6DA;
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: bold;
}

.notice a.counter-link:hover {
  color: #171210;
  background-color: #F0EBE6;
}

.notice .phone-line {
  display: inline-block;
  margin-top: 6px;
  color: #171210;
  font-size: 17px;
}

/* add a small pin dot to the notice */
.notice::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #EFE6DA;
  border: 3px solid #A34A5A;
}

/* =============================================================
   Extra sections not part of generic skeleton
   ============================================================= */
.wall-story {
  margin-top: 60px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 26px;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.column-head {
  font-size: 24px;
  color: #F0EBE6;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.column-head em {
  color: #C98A5C;
  font-style: normal;
}

.column p {
  margin-bottom: 14px;
}

/* hop stop tiles */
.step-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
}

@media (min-width: 720px) {
  .step-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  background-color: #211A15;
  border: 1px solid #33291F;
  border-top: 4px solid #C98A5C;
  border-radius: 4px;
  padding: 42px 18px 18px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
  border-color: #C98A5C;
}

.step .num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: #C98A5C;
  color: #171210;
  font-weight: bold;
  font-size: 20px;
}

.step h4 {
  color: #F0EBE6;
  margin-bottom: 8px;
  font-size: 18px;
}

.step p {
  font-size: 15px;
}

/* testimonial / chalk quote card */
.testi {
  background-color: #2A211B;
  border: 1px solid #33291F;
  border-left: 6px solid #C98A5C;
  border-radius: 4px;
  padding: 20px 22px;
  margin-top: 16px;
}

.testi p {
  font-style: italic;
  color: #CCC2BA;
}

.testi .who {
  margin-top: 8px;
  font-size: 14px;
  color: #C98A5C;
  letter-spacing: 1px;
}

/* service & contact pages internal content */
.page-kicker {
  text-align: center;
  color: #C98A5C;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 14px;
  margin: 40px 0 6px;
}

.page-hero-title {
  text-align: center;
  font-size: 40px;
  color: #F0EBE6;
  letter-spacing: 2px;
  font-family: Georgia, serif;
  font-weight: normal;
  margin-bottom: 8px;
}

.page-hero-sub {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  color: #CCC2BA;
}

.content-block {
  background-color: #211A15;
  border: 1px solid #33291F;
  border-radius: 6px;
  padding: 24px;
  margin-top: 40px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 800px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .cards.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: #2A211B;
  border: 1px solid #33291F;
  border-top: 4px solid #C98A5C;
  border-radius: 4px;
  padding: 22px;
}

.service-card h3 {
  color: #F0EBE6;
  margin-bottom: 10px;
  font-size: 20px;
}

.service-card p {
  font-size: 15px;
}

.service-card .price-tag {
  display: inline-block;
  margin-top: 12px;
  background-color: #C98A5C;
  color: #171210;
  padding: 3px 10px;
  border-radius: 2px;
  font-weight: bold;
  font-size: 14px;
}

.section-lead {
  margin-top: 46px;
  text-align: center;
}

.section-lead h2 {
  color: #F0EBE6;
  font-size: 30px;
  font-family: Georgia, serif;
  font-weight: normal;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-lead h2 em {
  color: #C98A5C;
  font-style: normal;
}

.section-lead p {
  max-width: 720px;
  margin: 0 auto;
}

/* horizontal rule flips */
.hrule {
  border: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #C98A5C 50%, transparent 100%);
  margin: 46px 0 0;
  filter: saturate(0.45);
}

/* =============================================================
   FORMS
   ============================================================= */
.contact-form {
  margin-top: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 46px;
}

@media (min-width: 800px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: block;
}

.field.slot-full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  color: #F0EBE6;
  margin-bottom: 6px;
  font-size: 15px;
  letter-spacing: 0.4px;
}

.field label span {
  color: #A34A5A;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background-color: #171210;
  border: 1px solid #33291F;
  color: #EFE6DA;
  padding: 12px 14px;
  border-radius: 3px;
  font-family: inherit;
  font-size: 16px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #C98A5C;
}

.form-actions {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 6px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.btn {
  display: inline-block;
  background-color: #C98A5C;
  color: #171210;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 16px;
  font-family: inherit;
  padding: 12px 34px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #D99A6C;
  color: #171210;
  transform: translateY(-2px);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn-outline {
  background: none;
  border: 1px solid #C98A5C;
  color: #C98A5C;
}

.btn-outline:hover {
  background-color: #C98A5C;
  color: #171210;
}

.form-status {
  margin-top: 18px;
  text-align: center;
  color: #C98A5C;
  font-size: 17px;
  min-height: 24px;
}

.kv-list {
  list-style: none;
}

.kv-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #33291F;
}

.kv-list li:last-child {
  border-bottom: 0;
}

.kv-list .k {
  flex: 0 0 120px;
  color: #F0EBE6;
  font-weight: bold;
}

.kv-list .v {
  color: #CCC2BA;
}

/* hours + FAQ */
.faq {
  list-style: none;
}

.faq li {
  border: 1px solid #33291F;
  background-color: #2A211B;
  border-radius: 4px;
  margin-top: 12px;
  overflow: hidden;
}

.faq button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: #F0EBE6;
  font-family: inherit;
  font-size: 17px;
  font-weight: bold;
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.faq button::after {
  content: "+";
  color: #C98A5C;
  font-size: 22px;
}

.faq li.open button::after {
  content: "−";
}

.faq .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq .answer p {
  padding: 0 18px 18px;
}

.faq li.open .answer {
  max-height: 300px;
}

/* step-list for terms overview etc */
.plain-list {
  margin: 14px 0 0;
  padding-left: 22px;
}

.plain-list li {
  margin-bottom: 8px;
}

/* cafe counter mini-art row (pure CSS motif nod) — decorative only */
.deco-counter {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.deco-pip {
  width: 130px;
  height: 130px;
  border-radius: 8px;
  border: 2px solid #33291F;
  background:
    radial-gradient(circle at 50% 70%, #171210 0 8px, transparent 10px),
    linear-gradient(150deg, #C98A5C 0 30%, transparent 30%) no-repeat,
    linear-gradient(0deg, #2A211B 0 55%, #33291F 55% 58%, transparent 58%);
  position: relative;
}

/* =============================================================
   Scroll-reveal (fade-up) — safe fallback below in noscript.
   Default visible unless JS adds hidden state later.
   ============================================================= */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.is-hidden {
  opacity: 0;
  transform: translateY(24px);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* red-flag decorative watermark (hidden) */
.watermark {
  position: absolute;
  visibility: hidden;
  opacity: 0;
}

/* =============================================================
   (5) TILL DRAWER FOOTER (.cafe-foot)
   ============================================================= */
.cafe-foot {
  background-color: #211A15;
  margin-top: 90px;
  border-top: 4px solid #33291F;
  position: relative;
  z-index: 1;
}

.foot-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 24px 26px;
  position: relative;
  z-index: 1;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr 1.2fr 1.4fr;
    gap: 30px;
  }
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-brand .wordmark {
  font-size: 20px;
}

.foot-links {
  list-style: none;
}

.foot-links li {
  margin-bottom: 8px;
}

.brand-line {
  color: #F0EBE6;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
}

.receipt {
  font-family: "Courier New", monospace;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #CCC2BA;
  background-color: #171210;
  border: 1px solid #33291F;
  padding: 14px 16px;
  border-radius: 3px;
  line-height: 1.8;
}

.receipt .r-sep {
  border-top: 1px dashed #333;
  text-align: center;
  color: #5A7A8C;
  margin-top: 6px;
  padding-top: 4px;
}

.foot-primary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.foot-primary-links a {
  color: #CCC2BA;
}

.foot-primary-links a:hover {
  color: #C98A5C;
}

.foot-legal {
  margin-top: 26px;
  border-top: 1px solid #33291F;
  padding-top: 18px;
  text-align: center;
  font-size: 15px;
  color: #CCC2BA;
  font-family: "Courier New", monospace;
}

.foot-legal .legal-copy {
  color: #CCC2BA;
  font-family: Georgia, serif;
}

.back-top {
  text-align: right;
  margin-top: 16px;
}

.back-top a {
  color: #C98A5C;
  font-size: 15px;
  letter-spacing: 1px;
}

/* =============================================================
   CTA band for services / homepage
   ============================================================= */
.cta-band {
  margin-top: 60px;
  background-color: #2A211B;
  border: 1px solid #33291F;
  border-radius: 6px;
  padding: 40px 28px;
  text-align: center;
  position: relative;
}

.cta-band h2 {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 32px;
  color: #F0EBE6;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.cta-band h2 em {
  color: #C98A5C;
  font-style: normal;
}

.cta-band p {
  max-width: 640px;
  margin: 0 auto 22px;
  color: #CCC2BA;
}

.cta-band .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
