:root {
  --cream: #fff6dc;
  --paper: #c7bdb0;
  --ink: #17120d;
  --muted: #665b4f;
  --green: #14371f;
  --orange: #f05a1a;
  --yellow: #ffd315;
  --lime: #b6d410;
  --blue: #5792ff;
  --sky: #9ec9da;
  --line: rgba(23, 18, 13, 0.14);
  --shadow: 0 28px 58px rgba(23, 18, 13, 0.22);
  --radius: 18px;
  --frame: 8px solid var(--cream);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(80% 60% at 8% 0%, rgba(255, 246, 220, 0.28), transparent 58%),
    linear-gradient(135deg, rgba(255, 246, 220, 0.2) 0 12%, transparent 12% 24%, rgba(255, 246, 220, 0.16) 24% 36%, transparent 36% 100%),
    var(--paper);
  font-family: "Arial Rounded MT Bold", "Nunito Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='420' height='420' viewBox='0 0 420 420' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23fff6dc' stroke-width='20' stroke-linecap='round' opacity='.6'%3E%3Cpath d='M24 92c74-72 130-72 168 0s94 72 168 0'/%3E%3Cpath d='M-30 248c74-72 130-72 168 0s94 72 168 0 130 72 168 0'/%3E%3Cpath d='M38 386c58-48 106-48 144 0s86 48 144 0'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 420px 420px;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 40;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
}

.skip-link:focus {
  transform: translateY(0);
}

.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: sticky;
  top: 0;
  z-index: 30;
  background: transparent;
}

.announcement {
  display: flex;
  justify-content: center;
  width: min(calc(100% - 28px), var(--max));
  margin: 12px auto 0;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(20, 55, 31, 0.92);
  color: var(--cream);
  box-shadow: 0 10px 28px rgba(23, 18, 13, 0.14);
  font-size: 0.86rem;
  text-align: center;
}

.nav {
  max-width: var(--max);
  min-height: 76px;
  margin: 12px auto 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 246, 220, 0.88);
  border: 1px solid rgba(255, 246, 220, 0.74);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(23, 18, 13, 0.13);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  font-weight: 1000;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

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

.nav-menu a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  color: rgba(23, 18, 13, 0.78);
  font-weight: 950;
  font-size: 0.92rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--ink);
  background: var(--yellow);
}

.nav-menu a[aria-current="page"] {
  color: #fff;
  background: var(--orange);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  width: min(calc(100% - 28px), 1280px);
  min-height: 720px;
  margin: 22px auto 30px;
  padding: 88px 30px 30px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border: var(--frame);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.page-hero {
  position: relative;
  width: min(calc(100% - 28px), 1280px);
  min-height: 560px;
  margin: 22px auto 30px;
  padding: 82px 42px 42px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border: var(--frame);
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: var(--green);
  color: var(--cream);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 55, 31, 0.9), rgba(20, 55, 31, 0.35)),
    url("https://madancafe.com/wp-content/uploads/2023/12/Madan-Cafe-1024x683.webp") center / cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: -1;
  width: min(32vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 16px solid rgba(255, 211, 21, 0.7);
  box-shadow: inset 0 0 0 18px rgba(87, 146, 255, 0.5);
}

.page-hero > div {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 246, 220, 0.82);
  font-size: 1.18rem;
}

.food-hero {
  background: var(--orange);
}

.food-hero::before {
  background:
    linear-gradient(90deg, rgba(240, 90, 26, 0.92), rgba(240, 90, 26, 0.38)),
    url("https://madancafe.com/wp-content/uploads/2023/12/DSC_1683-1024x683.jpeg") center / cover;
}

.travel-hero {
  background: var(--blue);
}

.travel-hero::before {
  background:
    linear-gradient(90deg, rgba(87, 146, 255, 0.92), rgba(20, 55, 31, 0.32)),
    url("https://madancafe.com/wp-content/uploads/2023/12/Madan-Cafe-1024x683.webp") center / cover;
}

.gallery-hero {
  background: var(--green);
}

.contact-hero {
  background: var(--orange);
}

.contact-hero::before {
  background:
    linear-gradient(90deg, rgba(240, 90, 26, 0.94), rgba(23, 18, 13, 0.24)),
    url("https://madancafe.com/wp-content/uploads/2023/12/DSC_1683-1024x683.jpeg") center / cover;
}

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

.hero-media {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(23, 18, 13, 0.26), rgba(23, 18, 13, 0.04)),
    url("https://madancafe.com/wp-content/uploads/2023/12/Madan-Cafe-1024x683.webp") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 55, 31, 0.92), rgba(20, 55, 31, 0.58) 48%, rgba(255, 247, 228, 0.08)),
    linear-gradient(0deg, rgba(23, 18, 13, 0.72), rgba(23, 18, 13, 0.06) 48%);
}

.hero-content,
.hero-panel {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-content {
  padding-bottom: 54px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero .eyebrow,
.contact .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.92;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  color: var(--cream);
  font-size: clamp(4.2rem, 12vw, 9.5rem);
  font-weight: 1000;
  text-shadow: 0 6px 0 rgba(23, 18, 13, 0.12);
}

h2 {
  font-size: clamp(2.25rem, 6vw, 5.2rem);
  font-weight: 1000;
  text-wrap: balance;
}

h3 {
  font-size: 1.15rem;
  font-weight: 1000;
}

p {
  margin: 0;
}

.hero-lede {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 1000;
  line-height: 1.07;
}

.hero-content > p:not(.eyebrow):not(.hero-lede) {
  max-width: 640px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 1000;
  line-height: 1.1;
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: #080808;
}

.button-secondary {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 246, 220, 0.7);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-panel div {
  min-height: 144px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.hero-panel div:nth-child(1) {
  background: var(--orange);
  color: #fff;
}

.hero-panel div:nth-child(2) {
  background: var(--yellow);
}

.hero-panel div:nth-child(3) {
  background: var(--sky);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.hero-panel span {
  color: var(--muted);
}

.hero-panel div:nth-child(1) span {
  color: rgba(255, 255, 255, 0.82);
}

.section,
.band {
  width: min(calc(100% - 28px), 1280px);
  margin: 30px auto;
  padding: 86px 42px;
  border: var(--frame);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section {
  background: #fffaf0;
}

.band {
  background: var(--cream);
}

.section-copy,
.section-heading,
.two-column,
.menu-grid,
.service-list,
.gallery-grid,
.contact,
.footer {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  align-items: center;
  gap: 56px;
  background: var(--green);
  color: var(--cream);
}

.section-copy p:not(.eyebrow),
.section-heading p,
.two-column p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro .section-copy p:not(.eyebrow) {
  color: rgba(255, 246, 220, 0.78);
}

.section-copy h2,
.section-heading h2,
.contact-copy h2 {
  margin-bottom: 20px;
}

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

.image-stack {
  position: relative;
  min-height: 480px;
}

.image-large,
.image-small {
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 6px solid var(--cream);
}

.image-large {
  width: 86%;
  height: 420px;
}

.image-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 250px;
  border: 10px solid var(--yellow);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 44px;
}

.section-heading p {
  max-width: 720px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 38px;
}

.two-column > div:first-child {
  padding: 32px;
  background: var(--green);
  color: var(--cream);
  border-radius: var(--radius);
}

.two-column > div:first-child p {
  color: rgba(255, 255, 255, 0.78);
}

.two-column > div:first-child h3 {
  margin-bottom: 16px;
  font-size: 1.6rem;
}

.two-column p + p {
  margin-top: 14px;
}

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

.values-grid article,
.menu-grid article,
.service-list article {
  min-height: 176px;
  padding: 24px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 18, 13, 0.08);
}

.values-grid article:nth-child(1) {
  background: var(--orange);
  color: #fff;
}

.values-grid article:nth-child(2) {
  background: var(--yellow);
}

.values-grid article:nth-child(3) {
  background: var(--lime);
}

.values-grid article:nth-child(4) {
  background: var(--sky);
}

.values-grid span,
.menu-grid span,
.service-list span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--orange);
  font-weight: 1000;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.values-grid article:nth-child(1) span,
.values-grid article:nth-child(1) p {
  color: rgba(255, 255, 255, 0.82);
}

.values-grid h3,
.menu-grid h3 {
  margin-bottom: 10px;
}

.values-grid p,
.menu-grid p,
.service-list p {
  color: var(--muted);
}

.food {
  background: #fff4da;
}

.food .section-heading {
  max-width: 980px;
  padding: 44px 38px 82px;
  margin-bottom: -46px;
  background: var(--green);
  color: var(--cream);
  border-radius: var(--radius);
}

.food .section-heading p:not(.eyebrow) {
  color: rgba(255, 246, 220, 0.78);
}

.menu-grid {
  position: relative;
  z-index: 1;
}

.menu-grid article {
  min-height: 230px;
  transition: transform 180ms ease;
  transform: rotate(-1.5deg);
}

.menu-grid article:nth-child(even) {
  transform: rotate(1.5deg);
}

.menu-grid article:hover {
  transform: translateY(-4px) rotate(0deg);
}

.menu-grid article:nth-child(1) {
  background: var(--orange);
  color: #fff;
}

.menu-grid article:nth-child(1) p,
.menu-grid article:nth-child(1) span {
  color: rgba(255, 255, 255, 0.84);
}

.menu-grid article:nth-child(2) {
  background: var(--yellow);
}

.menu-grid article:nth-child(3) {
  background: var(--lime);
}

.menu-grid article:nth-child(4) {
  background: var(--sky);
}

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

.service-list article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cream);
}

.service-list article:nth-child(2) {
  background: var(--orange);
  color: #fff;
}

.service-list article:nth-child(3) {
  background: var(--blue);
  color: #fff;
}

.service-list span {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}

.service-list article:nth-child(2) p,
.service-list article:nth-child(3) p {
  color: rgba(255, 255, 255, 0.82);
}

.detail-grid,
.step-row {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-grid article,
.step-row article {
  min-height: 220px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 0 12px 28px rgba(23, 18, 13, 0.08);
}

.detail-grid article:nth-child(2),
.step-row article:nth-child(2) {
  background: var(--yellow);
}

.detail-grid article:nth-child(3),
.step-row article:nth-child(3) {
  background: var(--sky);
}

.detail-grid h3,
.step-row h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.detail-grid p,
.step-row p {
  color: var(--muted);
}

.step-row span {
  display: inline-flex;
  margin-bottom: 36px;
  font-weight: 1000;
  color: var(--orange);
}

.travel-map {
  background: var(--green);
  color: var(--cream);
}

.travel-map .section-heading p:not(.eyebrow) {
  color: rgba(255, 246, 220, 0.78);
}

.gallery-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-page-grid .gallery-wide {
  grid-column: span 2;
}

.gallery-green {
  background: var(--green);
}

.cta-strip {
  width: min(calc(100% - 28px), 1280px);
  margin: 30px auto;
  padding: 52px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: var(--frame);
  border-radius: 22px;
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.cta-strip h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.cta-strip p {
  max-width: 650px;
  margin-top: 12px;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr 0.82fr;
  gap: 14px;
}

.gallery-grid figure {
  position: relative;
  min-height: 430px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green);
  box-shadow: 0 18px 42px rgba(23, 18, 13, 0.14);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 246, 220, 0.94);
  font-weight: 1000;
}

.gallery-color {
  display: flex;
  align-items: center;
  padding: 26px;
  background: var(--blue);
}

.gallery-color span {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 1000;
  line-height: 0.92;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: start;
}

.contact.section {
  width: min(calc(100% - 28px), 1280px);
  margin: 30px auto;
  background: var(--orange);
  color: #fff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius);
  border: 0;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: #fffaf0;
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(87, 146, 255, 0.25);
  border-color: var(--blue);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  width: min(calc(100% - 28px), 1280px);
  margin: 30px auto 20px;
  padding: 38px;
  border: var(--frame);
  border-radius: 22px;
  background: var(--green);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.footer p {
  max-width: 620px;
  margin-top: 14px;
  color: rgba(255, 246, 220, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  align-content: start;
  font-weight: 900;
}

.footer-links a {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 246, 220, 0.12);
}

@media (max-width: 920px) {
  .nav {
    width: min(calc(100% - 28px), var(--max));
  }

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

  .nav-menu {
    position: fixed;
    inset: 112px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

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

  .hero {
    min-height: 720px;
  }

  .hero-panel,
  .intro,
  .two-column,
  .detail-grid,
  .step-row,
  .contact,
  .cta-strip,
  .footer {
    grid-template-columns: 1fr;
  }

  .service-list,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-wide {
    grid-column: 1 / -1;
  }

  .page-hero {
    min-height: 520px;
  }

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

@media (max-width: 640px) {
  .announcement {
    font-size: 0.78rem;
  }

  .nav {
    min-height: 64px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .hero {
    min-height: auto;
    padding: 80px 16px 18px;
    border-width: 6px;
  }

  .page-hero {
    min-height: 460px;
    padding: 72px 18px 28px;
    border-width: 6px;
  }

  .page-hero::after {
    right: 14px;
    bottom: 14px;
    width: 160px;
    border-width: 10px;
  }

  h1 {
    font-size: clamp(3.7rem, 19vw, 5.4rem);
  }

  h2 {
    font-size: clamp(2.1rem, 13vw, 3.4rem);
  }

  .hero-content {
    padding-bottom: 36px;
  }

  .hero-panel,
  .values-grid,
  .menu-grid,
  .service-list,
  .detail-grid,
  .step-row,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .band {
    padding: 62px 18px;
    border-width: 6px;
  }

  .intro {
    gap: 34px;
  }

  .image-stack {
    min-height: auto;
  }

  .image-large {
    width: 100%;
    height: 340px;
  }

  .image-small {
    position: relative;
    width: 72%;
    height: 180px;
    margin: -70px 0 0 auto;
    border-width: 8px;
  }

  .food .section-heading {
    padding: 32px 22px 72px;
  }

  .menu-grid article,
  .menu-grid article:nth-child(even) {
    transform: none;
  }

  .gallery-grid figure {
    min-height: 330px;
  }

  .contact-form,
  .cta-strip,
  .footer {
    padding: 20px;
  }

  .gallery-page-grid .gallery-wide {
    grid-column: auto;
  }
}
