:root {
  --black: #040302;
  --charcoal: #19140f;
  --gold: #d9a43b;
  --gold-soft: #f3d088;
  --cream: #f7ead6;
  --line: rgba(217, 164, 59, 0.34);
  --shadow: rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background: linear-gradient(145deg, rgba(217, 164, 59, 0.08), transparent 34rem), var(--black);
}

[hidden] {
  display: none !important;
}

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

button {
  font: inherit;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 5vw;
  color: var(--cream);
}

.solid-header {
  position: sticky;
  background: rgba(4, 3, 2, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: max-content;
  color: var(--gold-soft);
  font-weight: 800;
  text-transform: uppercase;
}

.brand-icon {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 700;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 1rem;
  font-size: 0.94rem;
  color: rgba(247, 234, 214, 0.86);
}

nav a {
  padding: 0.35rem 0;
}

nav a:hover,
nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold-soft);
}

.language-toggle {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 3, 2, 0.58);
}

.language-option {
  min-width: 2.7rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.65rem;
  border: 0;
  background: transparent;
  color: rgba(247, 234, 214, 0.82);
  cursor: pointer;
  font-weight: 800;
}

.language-option:hover,
.language-option:focus-visible {
  color: var(--cream);
}

.language-option.is-active {
  background: linear-gradient(180deg, #f2cb70, #b97819);
  color: #160f07;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  padding: 7.5rem 5vw 3.5rem;
  overflow: hidden;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(4, 3, 2, 0.96) 0%, rgba(4, 3, 2, 0.74) 42%, rgba(4, 3, 2, 0.34) 100%),
    linear-gradient(0deg, rgba(4, 3, 2, 0.96) 0%, rgba(4, 3, 2, 0.05) 44%),
    url("assets/cafe-visualization.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 10rem;
  content: "";
  background-image:
    repeating-radial-gradient(
      circle at 50% 100%,
      transparent 0 0.72rem,
      rgba(217, 164, 59, 0.2) 0.76rem 0.82rem,
      transparent 0.86rem 1.45rem
    );
  opacity: 0.34;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 52rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  font-weight: 700;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  color: var(--cream);
  font-size: 4.1rem;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1rem;
  color: var(--cream);
  font-size: 3rem;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.6rem;
  color: var(--gold-soft);
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 42rem;
  margin-bottom: 0;
  color: rgba(247, 234, 214, 0.88);
  font-size: 1.15rem;
}

.hero-note {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 3rem;
}

.hero-note > span {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 3, 2, 0.58);
  color: rgba(247, 234, 214, 0.86);
  font-weight: 700;
}

.intro-band,
.experience-section,
.cart-showcase,
.policy-main {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.intro-band {
  padding: 6rem 0 4.5rem;
}

.section-heading {
  max-width: 47rem;
  margin-bottom: 2rem;
}

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

.intro-grid article {
  min-height: 13rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(25, 20, 15, 0.86), rgba(8, 6, 4, 0.86));
}

.intro-grid p,
.split-copy p,
.policy-hero p,
.policy-language p {
  color: rgba(247, 234, 214, 0.78);
}

.image-band {
  width: min(1280px, 94vw);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1.5rem 4rem var(--shadow);
}

.image-band img {
  width: 100%;
  min-height: 19rem;
  object-fit: cover;
}

.experience-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.76fr);
  gap: 3rem;
  align-items: center;
  padding: 6rem 0;
}

.split-copy {
  max-width: 42rem;
}

.detail-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(247, 234, 214, 0.86);
}

.detail-list li::before {
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  border-radius: 50%;
  background: var(--gold);
}

.feature-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1.5rem 4rem var(--shadow);
}

.feature-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.cart-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(20rem, 0.44fr);
  gap: 2rem;
  align-items: center;
  padding: 0 0 6rem;
}

.cart-caption {
  max-width: 34rem;
}

.cart-showcase img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1.5rem 4rem var(--shadow);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 5vw;
  border-top: 1px solid var(--line);
  color: rgba(247, 234, 214, 0.72);
}

.site-footer p {
  margin: 0;
}

.policy-page {
  background:
    linear-gradient(rgba(4, 3, 2, 0.76), rgba(4, 3, 2, 0.96)),
    url("assets/yaki-momo-wide.png") top center / 100% auto no-repeat,
    var(--black);
}

.policy-main {
  padding: 4.5rem 0 6rem;
}

.policy-hero {
  max-width: 52rem;
  padding: 4rem 0 3rem;
}

.policy-hero h1 {
  max-width: 12ch;
  font-size: 4rem;
}

.policy-language {
  display: grid;
  grid-template-columns: minmax(12rem, 0.32fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.policy-heading {
  position: sticky;
  top: 6rem;
  align-self: start;
}

.policy-heading h2 {
  font-size: 2.2rem;
}

.policy-language article {
  grid-column: 2;
  padding-bottom: 1.5rem;
}

.policy-language h3 {
  color: var(--gold-soft);
}

.policy-language a,
.policy-hero a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-decoration-color: rgba(217, 164, 59, 0.5);
  text-underline-offset: 0.2em;
}

@media (max-width: 860px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    padding: 1rem 5vw;
    background: rgba(4, 3, 2, 0.94);
    border-bottom: 1px solid var(--line);
  }

  .solid-header {
    position: relative;
  }

  .header-actions {
    justify-content: flex-end;
  }

  nav {
    justify-content: flex-end;
  }

  .hero {
    min-height: auto;
    padding-top: 5rem;
    background:
      linear-gradient(0deg, rgba(4, 3, 2, 0.98) 0%, rgba(4, 3, 2, 0.72) 56%, rgba(4, 3, 2, 0.28) 100%),
      url("assets/cafe-visualization.png") center top / cover no-repeat;
  }

  h1 {
    max-width: 12ch;
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .intro-grid,
  .experience-section,
  .cart-showcase,
  .policy-language {
    grid-template-columns: 1fr;
  }

  .policy-language article {
    grid-column: auto;
  }

  .policy-heading {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.9rem;
  }

  .brand-mark {
    white-space: normal;
  }

  .header-actions {
    display: contents;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
  }

  .language-toggle {
    justify-self: end;
  }

  .hero {
    padding-bottom: 3rem;
  }

  h1,
  .policy-hero h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .intro-band {
    padding-top: 4rem;
  }

  .cart-showcase {
    padding-bottom: 4rem;
  }

  .site-footer {
    flex-direction: column;
  }
}
