/* County Trunk Coffee Co. — warm, literary cafe design */
:root {
  --clay: #b5522a;
  --clay-deep: #8d3d1e;
  --oat: #f7f1e8;
  --oat-2: #efe4d4;
  --ink: #241c18;
  --soft: #5c4e44;
  --line: #e2d3c0;
  --berry: #7a3b3b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--oat);
  color: var(--ink);
  font-family: Karla, "Segoe UI", sans-serif;
  line-height: 1.6;
}
h1, h2, h3, .logo-type, .foot-name, .phone {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
}
a { color: var(--clay); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1040px, calc(100% - 2.4rem)); margin: 0 auto; }
.narrow { width: min(700px, calc(100% - 2.4rem)); }

header {
  background: var(--oat);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}
.badge {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.logo-type {
  font-size: 1.45rem;
  line-height: 1.1;
  font-style: italic;
}
.logo-type small {
  display: block;
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: Karla, sans-serif;
  font-weight: 700;
  color: var(--clay);
}
nav { display: flex; align-items: center; gap: 1.2rem; }
nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
nav a:hover { color: var(--clay); }
nav a[aria-current="page"] {
  color: var(--clay);
  box-shadow: 0 1px 0 var(--clay);
}
.btn {
  display: inline-block;
  background: var(--clay);
  color: #fff8f2 !important;
  text-decoration: none;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}
.btn:hover { background: var(--clay-deep); }
.text-link { font-weight: 700; color: var(--ink); text-underline-offset: 3px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px auto;
}

.hero { padding: 4.2rem 0 3.2rem; text-align: center; }
.hero-inner { max-width: 38rem; }
.kicker {
  margin: 0 0 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--clay);
}
.hero h1, .page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.08;
  font-weight: 500;
}
.lede { margin: 0 auto 1.6rem; color: var(--soft); font-size: 1.15rem; max-width: 34rem; }
.page-hero .lede { margin-left: 0; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 1rem; }

.hours-strip {
  background: var(--oat-2);
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  padding: 1rem 0;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.hours-row span { font-weight: 700; margin-right: 0.4rem; }

.home-about { padding: 3.4rem 0 4.2rem; }
.split, .contact-grid, .menu-grid, .foot {
  display: grid;
  gap: 2rem;
}
.split, .contact-grid, .foot { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.home-about h2 { margin: 0 0 0.8rem; font-size: 2.1rem; }
.home-about p, .page-body p, .menu-card p { color: var(--soft); }

.tile, .menu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.3rem 1.5rem;
}
.tile-label {
  margin: 0 0 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clay);
}
.tile ul { margin: 0 0 1rem; padding: 0 0 0 1.1rem; color: var(--soft); }
.tile li { margin: 0.35rem 0; }

.page-hero { padding: 3.2rem 0 1rem; }
.page-body { padding: 0 0 4rem; }
.prose p { max-width: 40rem; }

.menu-page { padding: 0.4rem 0 4rem; }
.menu-grid { grid-template-columns: 1fr 1fr; }
.menu-card h2 {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  font-style: italic;
  color: var(--berry);
}
.menu-card ul { list-style: none; margin: 0; padding: 0; }
.menu-card li { padding: 0.85rem 0; border-top: 1px dashed var(--line); }
.menu-card li:first-child { border-top: 0; padding-top: 0; }
.menu-card h3 { margin: 0 0 0.25rem; font-size: 1.25rem; }
.menu-foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.menu-foot p { margin: 0; color: var(--soft); max-width: 36rem; }

address { font-style: italic; font-family: Newsreader, Georgia, serif; font-size: 1.3rem; line-height: 1.6; }
.phone {
  display: inline-block;
  font-size: 1.8rem;
  color: var(--clay);
  text-decoration: none;
  font-style: italic;
  margin: 0.5rem 0 1rem;
}
.hours { list-style: none; margin: 0 0 1rem; padding: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-top: 1px dashed var(--line);
}

footer {
  background: var(--ink);
  color: #d9cbbd;
  padding: 2.2rem 0 5rem;
  font-size: 0.92rem;
}
.foot { gap: 1.4rem; }
.foot-name { margin: 0 0 0.5rem; color: #fff8f2; font-size: 1.5rem; font-style: italic; }
.foot p { margin: 0 0 0.35rem; }
.foot a { color: #f0c2a6; text-decoration: none; }
.foot-nav { display: flex; flex-direction: column; gap: 0.4rem; }

.studio-label {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  margin: 0;
  background: var(--oat);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}


.hero-photo {
  margin: 2rem auto 0;
  max-width: 22rem;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 65%;
  border-radius: 18px;
}
.home-photo, .about-photo { margin: 0 0 1.2rem; }
.home-photo img {
  width: 100%;
  max-width: 18rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 1.6rem;
}
.menu-card img {
  width: calc(100% + 2.6rem);
  margin: -1.4rem -1.3rem 1.1rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--oat);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 1.2rem 1.3rem;
    gap: 0.85rem;
    border-bottom: 1px solid var(--line);
  }
  nav.is-open { display: flex; }
  .split, .contact-grid, .menu-grid, .foot { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.4rem; }
}
