:root {
  --ink: #080807;
  --paper: #ffffff;
  --soft: #f5f3ee;
  --line: rgba(8, 8, 7, 0.14);
  --muted: rgba(8, 8, 7, 0.62);
  --tan: #c7aa82;
  --rust: #a84f2b;
  --shadow: 0 18px 50px rgba(8, 8, 7, 0.11);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Inter", "SF Pro Display", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 104px;
  padding: 0.95rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  grid-column: 2;
  justify-self: center;
}

.header-logo {
  width: clamp(104px, 9vw, 138px);
  height: auto;
}

.site-nav {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.7rem, 1.8vw, 1.35rem);
  color: rgba(8, 8, 7, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.3rem 0;
}

.nav-action {
  padding: 0.62rem 0.9rem !important;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  white-space: nowrap;
}

.hero {
  display: grid;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-media {
  order: 2;
  height: clamp(280px, 42vw, 540px);
  overflow: hidden;
}

.hero-media::after {
  display: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-content {
  order: 1;
  width: min(calc(100% - 2rem), 900px);
  display: grid;
  justify-items: center;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.35rem) 0 clamp(1.6rem, 3vw, 2.45rem);
  text-align: center;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 1rem;
  color: var(--rust);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.85rem, 7vw, 6.1rem);
}

h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-line {
  max-width: 44rem;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  font-weight: 600;
}

.hero-actions,
.order-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.button,
.inquiry-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.05rem;
  border: 1.5px solid currentColor;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.button-primary,
.inquiry-form button {
  color: #fff;
  background: var(--ink);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
}

.ticker {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  overflow-x: auto;
  padding: 0.9rem 1rem;
  color: var(--muted);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.ticker span {
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 750;
}

.ticker span + span::before {
  content: "/";
  margin-right: 0.6rem;
  color: var(--tan);
}

.social-strip {
  width: min(calc(100% - 2rem), var(--container));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
  padding: 1rem 1.15rem;
  background: var(--ink);
  color: #fff;
}

.social-strip div {
  display: grid;
  gap: 0.12rem;
}

.social-strip span,
.social-strip a {
  color: var(--tan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-strip strong {
  font-size: 1.08rem;
}

.social-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.social-strip a {
  padding: 0.68rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-align: center;
}

.section,
.split-section,
.story-section,
.inquiry-section,
.visit-section,
.order-section,
.site-footer,
.insta-feed {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section,
.split-section,
.story-section,
.inquiry-section,
.visit-section,
.order-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.insta-feed {
  padding-top: clamp(3rem, 7vw, 5.5rem);
}

.insta-feed-heading,
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.35rem;
}

.insta-feed-heading h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.insta-feed-heading a {
  padding: 0.72rem 0.86rem;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.insta-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
}

.insta-card {
  position: relative;
  min-height: 295px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

.insta-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.insta-logo-card img {
  width: 85%;
  height: 85%;
  inset: 7.5%;
  object-fit: contain;
  background: #fff;
}

.insta-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 7, 0.7), transparent 58%);
}

.insta-card span {
  position: relative;
  z-index: 1;
  padding: 1rem;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insta-card:hover img {
  transform: scale(1.04);
}

.section-note {
  max-width: 28rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.menu-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.menu-panel {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: clamp(1.15rem, 3vw, 1.7rem);
  background: var(--soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.menu-panel-wide {
  grid-column: 1 / -1;
}

.feature-menu {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

.feature-menu::after {
  content: "Dirty Soda";
  position: absolute;
  right: -1.8rem;
  bottom: 1.5rem;
  color: rgba(8, 8, 7, 0.055);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 0.8;
  text-transform: uppercase;
  transform: rotate(-8deg);
  pointer-events: none;
}

.menu-panel h3,
.price-head,
.price-list div {
  font-family: "Courier New", Courier, monospace;
}

.menu-panel h3 {
  margin-bottom: 0.15rem;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-head,
.price-list div {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) repeat(3, minmax(54px, auto));
  gap: 0.75rem;
  align-items: baseline;
}

.price-head {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(8, 8, 7, 0.22);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-list {
  display: grid;
  gap: 0.44rem;
  margin: 0;
}

.price-list div {
  font-size: clamp(0.95rem, 1.8vw, 1.14rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price-list dt,
.price-list dd {
  margin: 0;
}

.price-list dd {
  text-align: right;
}

.dirty-soda {
  position: relative;
  z-index: 1;
  padding: 0.36rem 0.45rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(8, 8, 7, 0.14);
}

.menu-note {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.flavor-panel {
  gap: 1rem;
  overflow: hidden;
  background: var(--soft);
}

.flavor-header {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(8, 8, 7, 0.22);
  text-align: center;
}

.flavor-header h3 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.flavor-header p {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.flavor-grid ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flavor-grid li,
.add-on-grid p {
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.92rem, 1.7vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.flavor-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  text-align: center;
}

.bean-dot {
  display: inline-block;
  width: 0.52em;
  height: 1.05em;
  flex: 0 0 auto;
  margin-right: 0.12em;
  background: #7b3b24;
  border-radius: 50%;
  transform: rotate(-8deg);
}

.add-on-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(8, 8, 7, 0.22);
}

.add-on-grid div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem clamp(0.5rem, 2vw, 1.25rem) 0;
  text-align: center;
}

.add-on-grid div + div {
  border-left: 1px solid rgba(8, 8, 7, 0.22);
}

.add-on-grid h4 {
  margin: 0 0 0.1rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
}

.add-on-grid p {
  margin: 0;
}

.add-on-grid span {
  white-space: nowrap;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  border-top: 1px solid var(--line);
}

.split-copy {
  position: sticky;
  top: 120px;
}

.split-copy p:last-child,
.story-copy p,
.order-section p {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.13rem;
}

.service-list {
  display: grid;
  gap: 0.9rem;
}

.service-item {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
}

.service-item span {
  color: var(--rust);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.service-item strong {
  max-width: 30rem;
  font-size: clamp(1.25rem, 2.45vw, 2.05rem);
  line-height: 1.08;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  min-height: 560px;
  border: 1px solid var(--line);
  padding: 0;
  background: var(--paper);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  border-left: 1px solid var(--line);
}

.inquiry-section {
  border-bottom: 1px solid var(--line);
}

.inquiry-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--soft);
  border: 1px solid var(--line);
}

.inquiry-form p {
  max-width: 32rem;
  margin-bottom: 0;
  color: var(--muted);
}

.inquiry-form h3 {
  margin-bottom: 0.25rem;
}

.inquiry-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.85rem;
  color: var(--ink);
  background: var(--paper);
}

.compact-fields {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(180px, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
  width: min(100%, 620px);
}

.inquiry-form button {
  justify-self: start;
  border-radius: 0;
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 1.25rem;
}

.visit-panel,
.map-panel {
  min-height: 430px;
  border: 1px solid var(--line);
}

.visit-panel {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--paper);
}

.visit-panel h2 {
  max-width: 8ch;
}

.visit-details {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}

.visit-details div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.visit-details dt {
  font-weight: 850;
}

.visit-details dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.map-panel {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: saturate(0.9) contrast(0.96);
}

.map-link {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.72rem 0.86rem;
  color: #fff;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-section {
  justify-content: space-between;
  padding-top: 1rem;
}

.order-section h2 {
  max-width: 10ch;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.logo-badge {
  display: grid;
  place-items: center;
  width: 110px;
}

.brand-logo {
  width: 100%;
  height: auto;
}

.footer-info {
  display: grid;
  justify-items: end;
  gap: 0.8rem;
  margin-left: auto;
}

.site-footer p {
  max-width: 24rem;
  margin-bottom: 0;
  color: var(--muted);
  text-align: right;
}

.site-footer p span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(8, 8, 7, 0.46);
  font-size: 0.88rem;
}

.footer-social {
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  border: 1px solid rgba(8, 8, 7, 0.24);
  background: transparent;
}

.footer-social svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-social a:last-child svg {
  fill: currentColor;
  stroke: none;
}

@media (prefers-reduced-motion: reduce) {
  .insta-card img {
    transition: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
  }

  .brand,
  .site-nav {
    grid-column: auto;
  }

  .site-nav {
    justify-content: center;
  }

  .social-strip,
  .visit-section,
  .split-section,
  .story-section {
    grid-template-columns: 1fr;
  }

  .social-strip a {
    justify-self: start;
  }

  .insta-feed-heading,
  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .menu-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-copy {
    position: static;
  }

  .story-copy {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .inquiry-form {
    align-items: stretch;
    flex-direction: column;
  }

  .compact-fields {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .story-media {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: auto;
  }

  .header-logo {
    width: 124px;
  }

  .site-nav {
    gap: 0.8rem;
    font-size: 0.86rem;
  }

  .nav-action {
    width: auto;
    text-align: center;
  }

  .hero-content {
    padding-top: 1.4rem;
  }

  .hero-media {
    height: 420px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }

  h2 {
    max-width: 11ch;
  }

  .insta-scroll {
    grid-auto-columns: minmax(210px, 78vw);
  }

  .menu-board {
    grid-template-columns: 1fr;
  }

  .menu-panel-wide {
    grid-column: auto;
  }

  .flavor-panel {
    grid-template-columns: 1fr;
  }

  .flavor-grid,
  .add-on-grid {
    grid-template-columns: 1fr;
  }

  .add-on-grid div + div {
    border-top: 1px solid rgba(8, 8, 7, 0.22);
    border-left: 0;
  }

  .price-head,
  .price-list div {
    grid-template-columns: minmax(120px, 1fr) repeat(3, minmax(42px, auto));
    gap: 0.45rem;
  }

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

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

  .site-footer p {
    text-align: left;
  }

  .footer-info {
    justify-items: start;
    margin-left: 0;
  }

  .footer-social {
    justify-content: flex-start;
  }
}
