@charset "utf-8";

:root {
  --cream: #faedcd;
  --cream-light: #fffaf0;
  --red: #a91f13;
  --yellow: #feae00;
  --ink: #19140f;
  --teal: #15b8b2;
  --shadow: 0 18px 45px rgba(67, 39, 8, 0.14);
  --hanging-width: clamp(58px, 6.7vw, 100px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  font-family: "Tilt Neon", system-ui, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, 1320px);
  min-height: 112px;
  margin: 0 auto;
  padding-right: 82px;
}

.logo img {
  width: clamp(130px, 13vw, 180px);
}

.nav-area ul {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 34px);
  list-style: none;
}

.nav-area a {
  display: inline-block;
  padding: 10px 8px;
  color: var(--red);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  text-underline-offset: 5px;
  border-radius: 12px;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.nav-area a:hover,
.nav-area a:focus-visible,
.nav-area a[aria-current="page"] {
  color: var(--ink);
  background: var(--yellow);
  outline: none;
  transform: translateY(-2px);
}

.hanging {
  position: fixed;
  z-index: 100;
  top: 0;
  right: clamp(8px, 2.2vw, 34px);
  width: var(--hanging-width);
  pointer-events: none;
}

.hanging img {
  width: 100%;
  filter: drop-shadow(0 7px 4px rgba(0, 0, 0, 0.22));
}

.offer {
  position: fixed;
  z-index: 30;
  right: clamp(8px, 2vw, 30px);
  top: calc((var(--hanging-width) * 5.025) - 14px);
  width: clamp(64px, 7.5vw, 108px);
}

.offer a {
  display: block;
  border-radius: 50%;
  transition: transform 180ms ease;
}

.offer a:hover,
.offer a:focus-visible {
  transform: rotate(8deg) scale(1.08);
  outline: none;
}

.home-main,
.page-main {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.25fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: min(720px, calc(100vh - 112px));
  padding: 48px 48px 80px 0;
}

.hero-copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.best-art {
  width: min(100%, 520px);
}

.flavour-art {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 10px;
  width: min(100%, 600px);
}

.hero-tram {
  align-self: start;
  justify-self: end;
  width: 118%;
  max-width: 760px;
  margin-top: -42px;
  filter: drop-shadow(0 24px 18px rgba(41, 32, 22, 0.14));
  transform: translateX(100px);
}

.price-banner {
  justify-self: center;
  padding: 9px 20px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  font-weight: 700;
  transform: rotate(-2deg);
}

.menu-highlights {
  position: relative;
  padding: 20px 48px 100px 0;
}

.section-heading,
.page-title {
  color: var(--red);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.05;
  text-align: center;
}

.menu-path {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.highlight-card {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  width: clamp(350px, 43vw, 510px);
  aspect-ratio: 1;
  padding: 13%;
  border: 0;
  border-radius: 0;
  background: url("../images/home/oval.png") center / contain no-repeat;
  text-align: center;
  box-shadow: none;
}

.highlight-card:nth-of-type(odd) {
  align-self: flex-start;
}

.highlight-card:nth-of-type(even) {
  align-self: flex-end;
}

.highlight-card h3 {
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.highlight-card ul {
  display: inline-block;
  padding-left: 1.25em;
  list-style: disc;
  text-align: left;
}

.highlight-card p,
.highlight-card li {
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
}

.path-curve {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  height: clamp(230px, 24vw, 330px);
  margin: -110px 0;
  pointer-events: none;
}

.path-starter {
  position: relative;
  z-index: 1;
  align-self: center;
  aspect-ratio: 4 / 3;
  width: min(62%, 700px);
  margin: -58px 0 -100px;
  pointer-events: none;
}

.path-curve svg,
.path-starter svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: #080604;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
}

.path-donut {
  position: absolute;
  top: 1.1%;
  left: 72.7%;
  width: 19.5%;
  aspect-ratio: 1;
  background: url("../images/home/hanging-donut.png") calc(50% + 5px)
    calc(100% - 8px) / 100% auto no-repeat;
  content: "";
  transform: translateX(-50%);
}

.path-starter .path-donut {
  left: 50%;
}

.starter-mobile,
.connector-mobile {
  display: none;
}

.path-flipped {
  transform: scaleX(-1);
}

.page-main {
  padding: 44px 48px 90px;
}

.page-intro {
  max-width: 760px;
  margin: 14px auto 46px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  text-align: center;
}

.content-card {
  padding: clamp(22px, 4vw, 48px);
  border: 3px solid rgba(254, 174, 0, 0.75);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.menu-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.menu-table th,
.menu-table td {
  width: 33.333%;
  padding: 14px 18px;
  border-bottom: 1px dashed rgba(25, 20, 15, 0.28);
  text-align: left;
  vertical-align: top;
}

.menu-table th {
  color: var(--red);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

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

.menu-category {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 3px solid var(--yellow);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.menu-category h2 {
  margin-bottom: 18px;
  color: var(--red);
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  text-align: center;
}

.menu-category ul {
  display: grid;
  gap: 11px;
  padding-left: 1.25em;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.menu-category li::marker {
  color: var(--yellow);
}

.about-grid,
.store-grid,
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 50px);
  align-items: start;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid var(--yellow);
  border-radius: 24px;
}

.portrait-card figcaption {
  padding: 12px 4px;
  font-size: 1.45rem;
}

.feedback-card {
  grid-column: 1 / -1;
}

.feedback-card h2,
.route-card h2,
.offer-copy h2 {
  margin-bottom: 12px;
  color: var(--red);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.feedback-form {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.feedback-form label {
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid rgba(25, 20, 15, 0.35);
  border-radius: 14px;
  background: #fff;
  font: inherit;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 10px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  background: var(--red);
  outline: 3px solid rgba(254, 174, 0, 0.55);
}

.store-map img,
.offer-photo {
  width: 100%;
  border: 8px solid #fff;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.route-card p + p {
  margin-top: 18px;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: 560px;
}

.auth-card {
  width: min(100%, 410px);
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  background: var(--yellow);
  text-align: center;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin-bottom: 24px;
  font-size: 2.4rem;
}

.auth-card form {
  display: grid;
  gap: 12px;
}

.auth-card .button {
  width: 100%;
  margin-top: 10px;
  background: var(--cream-light);
}

.member {
  margin-top: 18px;
  font-size: 0.95rem;
}

.member a {
  color: var(--red);
  font-weight: 700;
}

.offer-copy {
  font-size: 1.08rem;
}

.discount {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.1;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 28px 0;
}

.partner-logos img {
  max-width: 170px;
  max-height: 70px;
  object-fit: contain;
}

.site-footer {
  position: relative;
  z-index: 10;
  padding: 58px max(24px, calc((100vw - 1180px) / 2)) 24px;
  border-top: 0;
  background: rgba(255, 255, 255, 0.74);
}

.site-footer::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #080604;
  content: "";
  transform: translateY(-50%);
  pointer-events: none;
}

.site-footer::after {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: clamp(48px, 5vw, 72px);
  aspect-ratio: 1;
  background: url("../images/home/footer-divider.png") center / auto 100%
    no-repeat;
  content: "";
  filter: drop-shadow(0 7px 5px rgba(0, 0, 0, 0.24));
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 3;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 72px);
}

.footer-grid > section {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid > section:first-child {
  justify-self: start;
  text-align: left;
}

.footer-grid > section:nth-child(2) {
  justify-self: center;
  text-align: center;
}

.footer-grid > section:last-child {
  justify-self: end;
  text-align: right;
}

.footer-grid h2 {
  margin-bottom: 2px;
  color: var(--red);
  font-size: 1.25rem;
}

.icon-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-grid > section:nth-child(2) .icon-row {
  justify-content: center;
}

.footer-grid > section:last-child .icon-row {
  justify-content: flex-end;
}

.icon-row img {
  width: auto;
  height: 30px;
  object-fit: contain;
}

.footer-grid > section:nth-child(n + 2) .icon-row > a,
.footer-grid > section:nth-child(n + 2) .icon-row > img {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 9px;
  border: 1px solid rgba(169, 31, 19, 0.14);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(67, 39, 8, 0.1);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.footer-grid > section:nth-child(n + 2) .icon-row > a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-grid > section:nth-child(n + 2) .icon-row > a:hover,
.footer-grid > section:nth-child(n + 2) .icon-row > a:focus-visible {
  border-color: var(--yellow);
  outline: none;
  box-shadow: 0 10px 24px rgba(254, 174, 0, 0.28);
  transform: translateY(-3px);
}

.copyright {
  margin-top: 42px;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .site-header {
    width: min(100% - 32px, 960px);
    padding-right: 68px;
  }

  .nav-area ul {
    gap: 4px;
  }

  .nav-area a {
    padding-inline: 7px;
  }

  .home-main,
  .page-main {
    width: min(100% - 40px, 920px);
  }

  .hero {
    grid-template-columns: 1fr 1.1fr;
    padding-right: 32px;
  }

  .highlight-card {
    width: clamp(340px, 48vw, 470px);
  }
}

@media (max-width: 760px) {
  :root {
    --hanging-width: 54px;
  }

  .site-header {
    align-items: flex-start;
    width: calc(100% - 24px);
    min-height: 154px;
    padding: 12px 52px 12px 0;
  }

  .logo img {
    width: 112px;
  }

  .nav-area ul {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: end;
    gap: 2px 8px;
  }

  .nav-area a {
    padding: 7px 5px;
    font-size: 0.95rem;
  }

  .hanging {
    right: 5px;
  }

  .offer {
    right: 5px;
    top: calc((var(--hanging-width) * 5.025) - 14px);
    bottom: auto;
    width: 62px;
  }

  .home-main,
  .page-main {
    width: calc(100% - 28px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px 52px 60px 0;
    text-align: center;
  }

  .hero-copy {
    justify-items: center;
  }

  .hero-tram {
    align-self: auto;
    justify-self: center;
    width: 110%;
    max-width: 620px;
    margin: 0 auto;
    transform: none;
  }

  .menu-highlights,
  .page-main {
    padding-right: 50px;
  }

  .highlight-card {
    width: min(94%, 390px);
    padding: 15%;
  }

  .highlight-card h3 {
    margin-bottom: 14px;
  }

  .path-curve {
    height: clamp(210px, 31vw, 280px);
    margin-block: -100px;
  }

  .path-starter {
    width: min(76%, 560px);
    margin-block: -38px -90px;
  }

  .about-grid,
  .store-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

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

  .feedback-card {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid > section:first-child,
  .footer-grid > section:nth-child(2),
  .footer-grid > section:last-child {
    justify-self: center;
    text-align: center;
  }

  .footer-grid > section:first-child .icon-row,
  .footer-grid > section:last-child .icon-row {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    width: calc(100% - 24px);
    padding: 10px 42px 18px;
  }

  .logo img {
    width: 104px;
    margin: 0 auto 8px;
  }

  .nav-area ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .nav-area {
    width: 100%;
  }

  .nav-area li:last-child {
    display: flex;
    gap: 6px;
  }

  .nav-area a {
    padding: 6px 10px;
    border: 1px solid rgba(169, 31, 19, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
    text-decoration: none;
  }

  .hero,
  .menu-highlights,
  .page-main {
    padding-right: 42px;
  }

  .hero,
  .menu-highlights {
    padding-right: 0;
    padding-left: 0;
  }

  .page-main {
    padding-left: 42px;
  }

  .hero {
    padding-top: 10px;
  }

  .flavour-art {
    width: 100%;
  }

  .hero-tram {
    width: 106%;
  }

  .highlight-card {
    width: 100%;
  }

  .highlight-card:nth-of-type(odd),
  .highlight-card:nth-of-type(even) {
    align-self: center;
  }

  .path-curve {
    height: 190px;
    margin-block: -85px;
    transform: none;
  }

  .path-starter {
    width: 100%;
    margin-block: -18px -60px;
  }

  .path-donut {
    background-position: calc(50% + 2.5px) calc(100% - 4px);
  }

  .hanging {
    top: -135px;
  }

  .offer {
    top: calc((var(--hanging-width) * 5.025) - 149px);
  }

  .starter-desktop,
  .connector-desktop {
    display: none;
  }

  .starter-mobile,
  .connector-mobile {
    display: block;
  }

  .menu-table,
  .menu-table tbody,
  .menu-table tr,
  .menu-table th,
  .menu-table td {
    display: block;
    width: 100%;
  }

  .menu-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .menu-table tr {
    padding: 12px 0;
    border-bottom: 2px solid var(--yellow);
  }

  .menu-table td {
    padding: 8px 10px 8px 42%;
    border: 0;
  }

  .menu-table td::before {
    float: left;
    width: 65%;
    margin-left: -70%;
    color: var(--red);
    font-weight: 700;
    content: attr(data-label);
  }

  .menu-category {
    width: 100%;
    padding: 24px 22px;
    border-radius: 22px;
  }

  .menu-category h2 {
    margin-bottom: 14px;
    font-size: 1.65rem;
  }

  .menu-category ul {
    gap: 9px;
    font-size: 1rem;
  }

  .auth-shell {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .auth-card {
    margin-inline: auto;
    padding: 28px 20px;
  }

  .about-grid,
  .about-grid > * {
    width: 100%;
  }

  .about-grid {
    justify-items: center;
  }

  .partner-logos,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
  }

  .site-footer {
    padding-right: 42px;
    padding-left: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
