:root {
  --ink: #11100e;
  --muted: #68635d;
  --paper: #f5efe4;
  --porcelain: #fffdf7;
  --coffee: #6d3f21;
  --amber: #d8aa50;
  --sage: #7d9a8a;
  --aqua: #7fb7ad;
  --coral: #d79673;
  --deep: #171a16;
  --line: rgba(17, 16, 14, 0.16);
  --shadow: 0 22px 70px rgba(17, 16, 14, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: Inter, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px 32px;
  background: rgba(255, 253, 247, 0.82);
  border-bottom: 1px solid rgba(17, 16, 14, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.brand span {
  overflow-wrap: anywhere;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  padding: 9px 14px;
  color: rgba(17, 16, 14, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a.is-current {
  color: var(--coffee);
}

.site-nav .nav-cta {
  color: var(--porcelain);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.nav-symbol {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 86svh;
  padding: 132px 32px 64px;
  overflow: hidden;
  color: var(--porcelain);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.82) 0%, rgba(17, 16, 14, 0.46) 38%, rgba(17, 16, 14, 0.08) 76%),
    linear-gradient(0deg, rgba(17, 16, 14, 0.5) 0%, rgba(17, 16, 14, 0.05) 46%);
}

.hero-content {
  width: min(720px, 100%);
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow,
.section-kicker,
.menu-label {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.section-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
}

.hero h1 {
  font-size: 76px;
}

.hero-lead {
  max-width: 580px;
  margin: 22px 0 0;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 144px;
  padding: 12px 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: var(--porcelain);
  background: var(--coffee);
  border-color: var(--coffee);
}

.button-secondary {
  color: var(--porcelain);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.46);
}

.button:hover,
.menu-controls button:hover {
  transform: translateY(-1px);
}

.hero-hours {
  position: absolute;
  right: max(32px, calc((100vw - 1180px) / 2));
  bottom: 42px;
  display: flex;
  gap: 1px;
  margin: 0;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-hours div {
  min-width: 150px;
  padding: 16px 18px;
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(12px);
}

.hours-term {
  display: block;
  color: var(--coffee);
  font-size: 11px;
  font-weight: 900;
}

.hours-value {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 800;
}

.section-band {
  padding: 86px 32px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro {
  background: var(--paper);
}

.intro-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: start;
}

.section-band h2 {
  max-width: 680px;
  font-size: 42px;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 17px;
}

.intro-copy p {
  margin: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.menu {
  background: var(--porcelain);
}

.menu-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.menu-controls button {
  min-height: 42px;
  padding: 8px 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.menu-controls button.is-active {
  color: var(--porcelain);
  background: var(--ink);
  border-color: var(--ink);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.menu-card {
  display: grid;
  min-height: 242px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 7px solid var(--sage);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(17, 16, 14, 0.08);
}

.menu-card:nth-child(2n) {
  border-top-color: var(--aqua);
}

.menu-card:nth-child(3n) {
  border-top-color: var(--coral);
}

.menu-card[hidden] {
  display: none;
}

.menu-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.15;
}

.menu-card p:not(.menu-label) {
  margin: 14px 0 26px;
  color: var(--muted);
}

.menu-card span {
  align-self: end;
  color: var(--coffee);
  font-weight: 900;
}

.music {
  color: var(--porcelain);
  background: var(--deep);
}

.music-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 54px;
  align-items: center;
}

.music-image {
  min-width: 0;
  margin: 0;
}

.music-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 52% 48%;
  border-radius: 8px;
}

.music-copy p:not(.section-kicker) {
  color: rgba(255, 253, 247, 0.72);
}

.program-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.program-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 253, 247, 0.18);
}

.program-list span {
  min-width: 92px;
  color: var(--amber);
  font-weight: 900;
}

.page-hero {
  padding: 136px 32px 70px;
  color: var(--porcelain);
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.82), rgba(17, 16, 14, 0.34)),
    url("assets/k-coffee-storefront.png") center / cover;
}

.page-hero-inner {
  max-width: 780px;
}

.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1.05;
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 253, 247, 0.82);
  font-size: 18px;
}

.blog {
  background: var(--porcelain);
}

.blog-head {
  align-items: center;
}

.blog-search {
  display: flex;
  gap: 10px;
  width: min(430px, 100%);
}

.blog-search input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(17, 16, 14, 0.2);
  border-radius: 4px;
  outline: none;
}

.blog-search input:focus {
  border-color: var(--coffee);
  box-shadow: 0 0 0 3px rgba(216, 170, 80, 0.24);
}

.blog-status {
  min-height: 28px;
  margin: -16px 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blog-card {
  min-width: 0;
}

.blog-card-linkwrap {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 410px;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(17, 16, 14, 0.08);
}

.blog-card-linkwrap:hover {
  transform: translateY(-2px);
}

.blog-card-linkwrap img,
.blog-card-fallback {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.blog-card-linkwrap img {
  object-fit: cover;
}

.blog-card-fallback {
  display: grid;
  place-items: center;
  color: var(--coffee);
  background:
    linear-gradient(135deg, rgba(127, 183, 173, 0.25), rgba(216, 170, 80, 0.25)),
    var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  font-weight: 700;
}

.blog-card-content {
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 22px;
}

.blog-card-meta {
  margin: 0 0 12px;
  color: var(--coffee);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.15;
}

.blog-card-excerpt {
  margin: 14px 0 22px;
  color: var(--muted);
}

.blog-card-link {
  align-self: end;
  color: var(--coffee);
  font-weight: 900;
}

.blog-more-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.blog-more {
  color: var(--ink);
  border-color: var(--line);
}

.blog-detail {
  background: var(--porcelain);
}

.blog-detail-inner {
  max-width: 920px;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 18px;
  color: var(--coffee);
  font-weight: 900;
}

.blog-back-link::before {
  content: "<";
  margin-right: 8px;
}

.blog-article {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(17, 16, 14, 0.08);
}

.blog-article-media {
  background:
    linear-gradient(135deg, rgba(127, 183, 173, 0.25), rgba(216, 170, 80, 0.25)),
    var(--paper);
}

.blog-article-media[hidden] {
  display: none;
}

.blog-article-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.blog-article-content {
  padding: 44px;
}

.blog-article-content h1 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1.12;
}

.blog-article-body {
  color: var(--muted);
  font-size: 17px;
}

.blog-article-body p,
.blog-article-body ul,
.blog-article-body ol,
.blog-article-body blockquote {
  margin: 0 0 18px;
}

.blog-article-body img {
  width: 100%;
  height: auto;
  margin: 26px 0;
  border-radius: 8px;
}

.blog-article-body a {
  color: var(--coffee);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.access {
  background: #f2f5ef;
}

.access-layout {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 54px;
  align-items: stretch;
}

.info-list {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
}

.info-list div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.info-term {
  margin: 0;
  color: var(--coffee);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.info-value {
  margin: 5px 0 0;
  font-weight: 700;
}

.map-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(127, 183, 173, 0.18), rgba(216, 170, 80, 0.18)),
    #fffdf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-line {
  position: absolute;
  height: 14px;
  background: rgba(17, 16, 14, 0.16);
  transform-origin: left center;
}

.map-line-a {
  top: 74px;
  left: -8%;
  width: 118%;
  transform: rotate(-8deg);
}

.map-line-b {
  top: 232px;
  left: -14%;
  width: 128%;
  transform: rotate(13deg);
}

.map-line-c {
  top: -42px;
  left: 48%;
  width: 92%;
  transform: rotate(82deg);
}

.map-line-d {
  top: 312px;
  left: 10%;
  width: 98%;
  transform: rotate(-28deg);
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.map-pin img {
  width: 60px;
  height: 60px;
}

.map-panel p {
  position: absolute;
  left: 28px;
  bottom: 24px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
}

.contact {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-layout > div > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--coffee);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(17, 16, 14, 0.2);
  border-radius: 4px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--coffee);
  box-shadow: 0 0 0 3px rgba(216, 170, 80, 0.24);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--coffee);
  font-weight: 800;
}

.site-footer {
  padding: 32px;
  color: var(--porcelain);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-size: 21px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 253, 247, 0.7);
}

@media (max-width: 960px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero-hours {
    position: static;
    margin: 36px 0 0;
    box-shadow: none;
  }

  .hero {
    display: block;
    min-height: 88svh;
    padding-top: 120px;
  }

  .menu-grid,
  .blog-grid,
  .music-layout,
  .access-layout,
  .contact-layout,
  .intro-layout {
    grid-template-columns: 1fr;
  }

  .music-layout,
  .access-layout,
  .contact-layout,
  .intro-layout {
    gap: 34px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    padding: 10px 18px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: rgba(255, 253, 247, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 46px;
    padding: 12px 10px;
  }

  .hero {
    min-height: 88svh;
    padding: 104px 18px 42px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(17, 16, 14, 0.76) 0%, rgba(17, 16, 14, 0.28) 62%),
      linear-gradient(90deg, rgba(17, 16, 14, 0.64), rgba(17, 16, 14, 0.08));
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-hours {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-hours div {
    min-width: 0;
  }

  .section-band {
    padding: 64px 18px;
  }

  .section-band h2 {
    font-size: 32px;
  }

  .menu-card {
    min-height: 220px;
    padding: 22px;
  }

  .blog-search {
    display: grid;
  }

  .page-hero {
    padding: 104px 18px 54px;
  }

  .page-hero h1 {
    font-size: 46px;
  }

  .blog-card-linkwrap {
    min-height: 360px;
  }

  .blog-article-content {
    padding: 28px 20px;
  }

  .blog-article-content h1 {
    font-size: 30px;
  }

  .music-image img {
    aspect-ratio: 4 / 3;
  }

  .map-panel {
    min-height: 340px;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
