.theme-coffee-roastery {
  --coffee-cream: #f7f0e7;
  --coffee-paper: #fffaf3;
  --coffee-soft: #eee6dc;
  --coffee-dark: #241510;
  --coffee-espresso: #3b241f;
  --coffee-mocha: #76533c;
  --coffee-caramel: #b7835d;
  --coffee-line: rgba(59, 36, 31, 0.15);
  --coffee-muted: #79685f;
  --bg: var(--coffee-paper);
  --surface: #ffffff;
  --surface-soft: var(--coffee-cream);
  --text: var(--coffee-dark);
  --muted: var(--coffee-muted);
  --line: var(--coffee-line);
  --accent: var(--coffee-mocha);
  --accent-2: var(--coffee-caramel);
  --dark: var(--coffee-dark);
  --body-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Oswald", "Arial Narrow", Impact, sans-serif;
  --radius-lg: 8px;
  --radius-md: 6px;
  --shadow: 0 26px 70px rgba(36, 21, 16, 0.16);
  background: var(--coffee-paper);
  color: var(--coffee-dark);
  font-family: var(--body-font);
}

.theme-coffee-roastery *,
.theme-coffee-roastery *::before,
.theme-coffee-roastery *::after {
  box-sizing: border-box;
}

.theme-coffee-roastery img {
  display: block;
  max-width: 100%;
}

.theme-coffee-roastery a {
  color: inherit;
  text-decoration: none;
}

.theme-coffee-roastery .container {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.theme-coffee-roastery .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;
}

.theme-coffee-roastery h1,
.theme-coffee-roastery h2,
.theme-coffee-roastery h3,
.theme-coffee-roastery p {
  margin-top: 0;
}

.coffee-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 243, 0.96);
  border-bottom: 1px solid var(--coffee-line);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--coffee-dark);
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--coffee-mocha);
  flex: 0 0 auto;
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  color: #ffffff;
  background: var(--coffee-dark);
  box-shadow: 0 12px 30px rgba(36, 21, 16, 0.18);
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(36, 21, 16, 0.18);
}

.button-dark {
  color: #ffffff;
  background: var(--coffee-dark);
}

.button-light {
  color: var(--coffee-dark);
  background: #ffffff;
  border-color: var(--coffee-line);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--coffee-line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--coffee-dark);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 92px));
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(183, 131, 93, 0.22), transparent 24%),
    linear-gradient(135deg, #f4eee5 0%, #fffaf3 44%, #eadccb 100%);
}

.hero::before {
  position: absolute;
  right: -7vw;
  bottom: 1vw;
  content: "ROAST";
  color: rgba(118, 83, 60, 0.08);
  font-family: var(--heading-font);
  font-size: clamp(9rem, 24vw, 24rem);
  font-weight: 700;
  line-height: 0.72;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(760px, calc(100svh - 92px));
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding: clamp(52px, 7vw, 96px) 0;
}

.pill-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--coffee-line);
  border-radius: 999px;
  color: var(--coffee-mocha);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.pill-label::before {
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  content: "";
  transform: rotate(-35deg);
}

.pill-label.inverted {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero h1,
.section-heading h2,
.section-copy h2,
.menu-heading h2,
.booking-form h2,
.testimonial-head h2,
.gallery-head h2,
.faq-grid h2 {
  color: var(--coffee-espresso);
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 24px 0 22px;
  font-size: clamp(4.4rem, 9.2vw, 10rem);
}

.hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--coffee-espresso);
}

.hero-copy > p:not(.pill-label) {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--coffee-muted);
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.22rem);
  font-weight: 650;
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-media {
  position: relative;
  align-self: end;
  min-height: 420px;
}

.hero-media img {
  width: 100%;
  height: min(58vw, 620px);
  min-height: 430px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: clamp(18px, 4vw, 48px);
  bottom: -26px;
  width: min(330px, calc(100% - 36px));
  padding: 24px;
  color: #ffffff;
  background: var(--coffee-mocha);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 48px rgba(36, 21, 16, 0.24);
}

.hero-note span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-note strong {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.feature-strip {
  background: var(--coffee-dark);
  color: #ffffff;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strip-grid article {
  min-height: 210px;
  padding: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.strip-grid article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-icon,
.line-art {
  display: inline-block;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  color: currentColor;
  border: 3px solid currentColor;
  border-radius: 6px;
  opacity: 0.9;
}

.mini-icon.cup,
.line-art.cup {
  border-radius: 0 0 13px 13px;
  border-top: 0;
  box-shadow: 12px 3px 0 -7px currentColor;
}

.mini-icon.clock {
  border-radius: 50%;
  position: relative;
}

.mini-icon.clock::before {
  position: absolute;
  top: 12px;
  left: 20px;
  width: 3px;
  height: 17px;
  content: "";
  background: currentColor;
}

.mini-icon.bean,
.line-art.bean {
  width: 42px;
  border-radius: 50%;
  transform: rotate(28deg);
}

.mini-icon.table,
.line-art.team {
  border-radius: 50% 50% 8px 8px;
}

.line-art.iced,
.line-art.pastry,
.line-art.breakfast,
.line-art.takeaway {
  color: var(--coffee-mocha);
}

.line-art.iced {
  border-radius: 50% 50% 6px 6px;
}

.line-art.pastry {
  border-radius: 50%;
}

.line-art.breakfast,
.line-art.takeaway {
  border-radius: 8px 8px 14px 14px;
}

.strip-grid h2,
.category-card h3,
.offer-card h3,
.team-grid h3,
.reason-list h3,
.menu-list h3,
.footer-grid h2 {
  margin-bottom: 10px;
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.strip-grid h2 {
  font-size: 1.55rem;
}

.strip-grid p,
.category-card p,
.reason-list p,
.offer-card p,
.team-grid p,
.footer-grid p {
  margin-bottom: 0;
  line-height: 1.65;
}

.strip-grid p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
}

.section {
  padding: clamp(80px, 10vw, 150px) 0;
}

.split-grid,
.why-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.story-images {
  position: relative;
  min-height: 580px;
}

.story-main {
  width: 74%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.story-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 320px;
  object-fit: cover;
  border: 14px solid var(--coffee-paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(36, 21, 16, 0.16);
}

.section-copy h2,
.section-heading h2,
.menu-heading h2,
.booking-form h2,
.testimonial-head h2,
.gallery-head h2,
.faq-grid h2 {
  margin: 18px 0 20px;
  font-size: clamp(3rem, 6vw, 6rem);
}

.section-copy p:not(.pill-label),
.section-heading p:not(.pill-label),
.booking-form > p:not(.pill-label) {
  color: var(--coffee-muted);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.78;
}

.text-link {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--coffee-espresso);
  font-weight: 900;
  border-bottom: 2px solid var(--coffee-caramel);
}

.text-link::after,
.button::after,
.nav-cta::after {
  content: "->";
  font-weight: 900;
}

.categories,
.testimonial-section,
.contact-section {
  background: var(--coffee-cream);
}

.section-heading {
  margin-bottom: clamp(36px, 6vw, 72px);
  text-align: center;
}

.section-heading .pill-label {
  margin: 0 auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  min-height: 330px;
  padding: 42px 30px;
  border: 1px solid var(--coffee-line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  text-align: center;
}

.category-card.active {
  color: #ffffff;
  background: var(--coffee-mocha);
}

.category-card.active .line-art {
  color: #ffffff;
}

.category-card h3 {
  font-size: clamp(1.7rem, 2vw, 2.25rem);
}

.category-card p {
  color: var(--coffee-muted);
  font-weight: 650;
}

.category-card.active p {
  color: rgba(255, 255, 255, 0.78);
}

.menu-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 11vw, 150px) 0;
  color: #ffffff;
  background: var(--coffee-mocha);
}

.menu-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.11), transparent 24%),
    radial-gradient(circle at 78% 82%, rgba(36, 21, 16, 0.24), transparent 27%);
  pointer-events: none;
}

.menu-panel .container {
  position: relative;
}

.menu-heading {
  text-align: center;
}

.menu-heading .pill-label {
  margin: 0 auto;
}

.menu-heading h2 {
  color: #ffffff;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 64px;
  margin-top: 56px;
}

.menu-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.24);
}

.menu-list h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
}

.menu-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 650;
  line-height: 1.6;
}

.menu-list span {
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 1.9rem;
  font-weight: 700;
}

.demo-note {
  max-width: 760px;
  margin: 46px auto 0;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.why-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
}

.reason-list {
  display: grid;
  gap: 14px;
}

.reason-list article {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--coffee-line);
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.reason-list article.highlight {
  background: var(--coffee-cream);
}

.reason-list .line-art {
  margin: 0;
}

.reason-list h3 {
  font-size: 1.6rem;
}

.reason-list p,
.offer-card p,
.team-grid p {
  color: var(--coffee-muted);
  font-weight: 650;
}

.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.offer-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  border: 1px solid var(--coffee-line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  text-align: center;
}

.offer-card.photo-card {
  padding: 0;
  overflow: hidden;
}

.offer-card.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-card h3 {
  font-size: clamp(2rem, 3vw, 3.3rem);
}

.offer-card a {
  display: inline-flex;
  width: max-content;
  align-self: center;
  margin-top: 24px;
  padding: 12px 18px;
  border: 1px solid var(--coffee-line);
  border-radius: var(--radius-md);
  font-weight: 900;
}

.team-section {
  background: #ffffff;
}

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

.team-grid article {
  overflow: hidden;
  border: 1px solid var(--coffee-line);
  border-radius: var(--radius-lg);
  background: var(--coffee-paper);
}

.team-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.team-grid div {
  padding: 24px;
}

.team-grid h3 {
  font-size: 1.8rem;
}

.testimonial-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) auto;
  gap: 36px;
  align-items: end;
  margin-bottom: 46px;
}

.sample-rating {
  min-width: 230px;
  padding: 22px;
  border: 1px solid var(--coffee-line);
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.sample-rating strong,
.sample-rating span {
  display: block;
}

.sample-rating strong {
  margin-bottom: 7px;
  color: var(--coffee-mocha);
}

.sample-rating span {
  color: var(--coffee-muted);
  font-weight: 700;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.testimonial-grid article {
  min-height: 230px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--coffee-line);
}

.testimonial-grid blockquote {
  margin: 0 0 22px;
  color: var(--coffee-espresso);
  font-family: var(--heading-font);
  font-size: clamp(1.7rem, 2.7vw, 3rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.testimonial-grid cite {
  color: var(--coffee-muted);
  font-style: normal;
  font-weight: 900;
}

.feature-testimonial {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  grid-row: span 2;
  display: flex;
  align-items: end;
}

.feature-testimonial::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(36, 21, 16, 0.08), rgba(36, 21, 16, 0.76));
}

.feature-testimonial img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-testimonial blockquote,
.feature-testimonial cite {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.stat-card {
  color: #ffffff;
  background: var(--coffee-mocha) !important;
}

.stat-card span {
  display: inline-flex;
  margin-bottom: 62px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-weight: 900;
}

.stat-card strong {
  display: block;
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 0.78;
}

.stat-card p {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
  line-height: 1.55;
}

.gallery-section {
  padding-bottom: 0;
  background: #ffffff;
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.gallery-rail {
  display: grid;
  grid-auto-columns: minmax(230px, 1fr);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 0 20px clamp(38px, 5vw, 72px);
  scroll-snap-type: x mandatory;
}

.gallery-rail img {
  width: 100%;
  height: clamp(210px, 22vw, 300px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-photo {
  position: relative;
  min-height: 620px;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.contact-details {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-details span,
.contact-details strong {
  display: block;
  padding: 16px;
  color: #ffffff;
  background: rgba(36, 21, 16, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.contact-details span {
  align-self: end;
  padding-bottom: 4px;
  border-bottom: 0;
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-details strong {
  padding-top: 4px;
  border-top: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.booking-form {
  padding: clamp(28px, 5vw, 54px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--coffee-espresso);
  font-weight: 900;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid var(--coffee-line);
  border-radius: var(--radius-md);
  color: var(--coffee-dark);
  background: #ffffff;
  font: inherit;
  font-weight: 650;
}

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

.booking-form [aria-invalid="true"] {
  border-color: #ad3d2c;
  box-shadow: 0 0 0 4px rgba(173, 61, 44, 0.12);
}

.form-message {
  margin: 18px 0 0;
  font-weight: 800;
  line-height: 1.5;
}

.form-message.success {
  color: #2f6a39;
}

.form-message.error {
  color: #9f3227;
}

.faq-section {
  background: #ffffff;
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 24px;
  border: 1px solid var(--coffee-line);
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--coffee-espresso);
  cursor: pointer;
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  list-style: none;
  text-transform: uppercase;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-family: var(--body-font);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 18px 0 0;
  color: var(--coffee-muted);
  font-weight: 650;
  line-height: 1.7;
}

.site-footer {
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.07), transparent 22%),
    radial-gradient(circle at 76% 72%, rgba(183, 131, 93, 0.16), transparent 24%),
    var(--coffee-espresso);
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  padding: 42px 20px 34px;
}

.footer-gallery img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.85fr 0.6fr;
  gap: clamp(28px, 5vw, 70px);
  padding: 58px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  color: #ffffff;
  margin-bottom: 22px;
}

.footer-grid h2 {
  color: #ffffff;
  font-size: 1.7rem;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  line-height: 1.65;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom a {
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}

@media (max-width: 1100px) {
  .strip-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .split-grid,
  .why-grid,
  .faq-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-media {
    align-self: stretch;
  }

  .story-images {
    min-height: 520px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .feature-testimonial {
    grid-row: auto;
  }

  .offer-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .theme-coffee-roastery .container {
    width: min(100% - 28px, 1220px);
  }

  .nav-shell {
    min-height: 78px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--coffee-line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero-grid {
    padding-top: 44px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 18vw, 5.7rem);
  }

  .hero h1 span {
    -webkit-text-stroke: 1px var(--coffee-espresso);
  }

  .hero-media img {
    height: 420px;
    min-height: 0;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .strip-grid,
  .category-grid,
  .menu-list,
  .offer-grid,
  .team-grid,
  .form-grid,
  .footer-grid,
  .footer-gallery {
    grid-template-columns: 1fr;
  }

  .strip-grid article,
  .strip-grid article:last-child {
    min-height: auto;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section {
    padding: 72px 0;
  }

  .story-images {
    min-height: 0;
  }

  .story-main,
  .story-small {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border: 0;
  }

  .story-small {
    margin-top: 14px;
  }

  .section-copy h2,
  .section-heading h2,
  .menu-heading h2,
  .booking-form h2,
  .testimonial-head h2,
  .gallery-head h2,
  .faq-grid h2 {
    font-size: clamp(2.6rem, 13vw, 4.3rem);
  }

  .category-card,
  .offer-card,
  .reason-list article,
  .testimonial-grid article,
  .faq-list details {
    padding: 24px;
  }

  .reason-list article {
    grid-template-columns: 1fr;
  }

  .gallery-head,
  .testimonial-head,
  .footer-bottom {
    display: block;
  }

  .gallery-head .text-link,
  .footer-bottom a {
    margin-top: 16px;
  }

  .contact-photo,
  .contact-photo img {
    min-height: 420px;
  }

  .contact-details {
    position: static;
    grid-template-columns: 1fr;
    padding: 14px;
    background: var(--coffee-dark);
  }

  .contact-details span,
  .contact-details strong {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .contact-details strong {
    margin-bottom: 10px;
  }
}

@media (max-width: 520px) {
  .button-row,
  .button,
  .nav-cta {
    width: 100%;
  }

  .brand {
    font-size: 1.25rem;
  }

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

  .hero-media img,
  .contact-photo,
  .contact-photo img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

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

  .menu-list span {
    font-size: 1.55rem;
  }

  .footer-gallery img {
    height: 210px;
  }
}
