@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --color-nav: #fff;
  --color-dark: #141414;
  --color-dark-alt: #363a45;
  --color-primary: #d2d83f;
  --color-primary-dark: #b8863c;
  --color-surface: #ffffff;
  --color-surface-alt: #faf6ef;
  --color-border: #ece8e0;
  --color-text: #141414;
  --color-text-muted: #676b76;
  --container-width: 1200px;
}

html{
  overflow: auto;
}


body {
  color: var(--color-text);
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-surface);
  transition: background-color .4s ease, color .4s ease;
}
body.ryw {
  --color-dark: #f6ead2;
  --color-nav:  #000;
  --color-primary: #cc9837;
}

.ryw header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(../img/ryw-texture.avif);
  background-color: var(--color-dark);
  background-size: 25%;
  background-position: center;
  opacity: 0.1;
  z-index: -1;
}

body.ktv {
  --color-dark: #fff;
  --color-nav:  #fff;
  --color-surface: #0d0d0d;
  --color-surface-alt: #17151c;
  --color-border: #332f3f;
  --color-text: #cdcdcd;
  --color-primary: red;
}
.ktv header {
  border-bottom: 0;
}
.ktv header::before {
  content: '';
  position: absolute;
  inset: 0;
background:
  linear-gradient( rgba(46, 30, 81, 0.934),rgba(122, 1, 159, 0.979)),
  url(../img/ktv-tiles.gif);
  /* background-repeat: no-repeat; */
  background-color: #0c050e;
  background-position: top;
  background-size: 50%;
  z-index: -1;
}



.ktv footer {
  background-color: black;
}

html {
  scroll-behavior: smooth;
}

* {
  font-family: "Open Sans", sans-serif;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.25;
}

h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.05rem;
  margin-bottom: .75rem;
}

/* PARAGRAPHS */
p {
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* LIST */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* UTILITIES */
.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;
}

.section-eyebrow {
  display: inline-block;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

img.invert {
  filter: invert(1);
}

/* BUTTONS */
.btn {
      display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.85rem;
    border-radius: 4px;
    font-weight: 400;
    text-decoration: none;
    /* text-transform: uppercase; */
    font-size: 1.1rem;
    letter-spacing: .05em;
    border: 1px solid transparent;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, padding .4s ease, font-size .4s ease;
  }

.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-dark);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  border-color: rgba(188, 188, 188, .16);

}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, .1);
  border-color: #fff;
}

.btn-secondary {
  background-color: #d64550;
  border-color: #d64550;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #b8353f;
  border-color: #b8353f;
}

/* IMAGE PLACEHOLDER */
.img-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #f3f0e8, #f3f0e8 10px, #eae5d9 10px, #eae5d9 20px);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: #8d8570;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  text-align: center;
}

.ratio-3-2 {
  aspect-ratio: 3 / 2;
}


.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.ratio-21-9 {
  aspect-ratio: 21 / 9;
}


/* HEADER */
/* Always position:sticky (never switches position type mid-scroll — doing
   so previously caused a layout jump/glitch right at the hero boundary,
   since fixed->sticky discontinuously changes whether the header reserves
   space in the document flow). Sticky already pins the header to the
   viewport top identically to fixed once scrolled, so nothing is lost:
   the "floats over the hero" look instead comes from .hero's negative
   top margin pulling it up underneath the header (see HERO SECTION). */
header {
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(20, 20, 20, .32);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: background-color .4s ease, padding .4s ease, backdrop-filter .4s ease, border-color .4s ease;
}


body.compact header {
  padding: .5rem 0;
  background-color: var(--color-dark);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo-wrapper {
  width: 180px;
  transition: width .4s ease;
}

body.compact header .logo-wrapper {
  width: 120px;
}

body.compact header .header-action .btn {
  padding: .425rem .925rem;
  font-size: .68rem;
}

header .logo-wrapper a {
  display: grid;
  justify-items: start;
  align-items: center;
}

header .logo-image {
  grid-area: 1 / 1;
  width: 100%;
  display: block;
}

/* HEADER STATE SWITCHING (default / ryw / ktv) */
.header-action {
  display: grid;
  justify-items: end;
  align-items: center;
}

.header-action > * {
  grid-area: 1 / 1;
}

.state-default,
.state-ryw,
.state-ktv {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility 0s linear .35s;
}

body:not(.ryw):not(.ktv) .state-default,
body.ryw .state-ryw,
body.ktv .state-ktv {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .35s ease;
}

/* NAVIGATION */
nav {
  display: flex;
  align-items: center;
  position: relative;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
  cursor: pointer;
}

.nav-backdrop,
.nav-close,
.nav-drawer-head {
  display: none;
}

.nav-drawer {
  display: contents;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
    color: var(--color-nav);
    text-decoration: none;
    /* text-transform: uppercase; */
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: .03em;
    transition: color .2s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* SECTION */
main section[id] {
  scroll-margin-top: 70px;
}

.about,
.brand-section {
  padding: 4.5rem 0;
}

section.restaurant {
  background-color: var(--color-surface);
}

section.ktv {
  background-color: var(--color-surface-alt);
}

section.chorus {
  background-color: var(--color-surface);
}

/* HERO SECTION */
section.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  /* Pulls the hero up underneath the sticky header (roughly the header's
     default rendered height) so its background reaches the very top of
     the viewport, behind the translucent header, instead of starting
     below the space the header reserves in normal flow. */
  /* margin-top: -1.7rem; */
  background-color: var(--color-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  /* padding: 6rem 0 3rem; */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: hero-bg-cycle 18s ease-in-out infinite;
}

.hero-bg-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-bg-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-bg-slide:nth-child(3) {
  animation-delay: 12s;
}

@keyframes hero-bg-cycle {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  4% {
    opacity: 1;
  }

  28% {
    opacity: 1;
    transform: scale(1.08);
  }

  33%,
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 8, 8, .55) 0%, rgba(8, 8, 8, .72) 55%, rgba(8, 8, 8, .88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding-top: 5rem;
}

.hero-anim {
  opacity: 0;
  animation: hero-fade-up .8s ease forwards;
}

.hero-logo.hero-anim {
  animation-delay: .1s;
}

.hero-tagline.hero-anim {
  animation-delay: .3s;
}

.hero-actions.hero-anim {
  animation-delay: .5s;
}

.hero-meta.hero-anim {
  animation-delay: .7s;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  width: 100%;
  max-width: 300px;
  filter: invert(1) drop-shadow(0 4px 20px rgba(0, 0, 0, .45));
}

.hero-tagline {
  max-width: 560px;
  color: #e7e7ea;
  font-size: 1.05rem;
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin-top: .5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.hero-meta-item {
  color: #d4d5da;
  font-size: .85rem;
  letter-spacing: .02em;
}

.hero-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .35);
}

.hero-meta-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}

.hero-meta-link:hover {
  color: var(--color-primary-dark);
}

.stores {
  display: flex;
  gap: 1.5rem;
}

.store-item {
  position: relative;
  display: block;
  flex: 1;
  min-height: 320px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  text-decoration: none;
}

.store-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.store-item:hover .store-image {
  transform: scale(1.06);
}

.store-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .1) 60%);
}

.store-details {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
  color: #fff;
}

.store-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: .35rem;
}

.store-details p {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 .5rem;
}

.store-cta {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #fff;
}

/* ABOUT */
.about {
  min-height: 100vh;
  min-height: 100s  vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3.5rem;
}

.about-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-copy p {
  text-align: left;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

/* ABOUT SLIDER */
.about-slider {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, .25) 5%,
    rgba(0, 0, 0, .75) 13%,
    #000 24%,
    #000 76%,
    rgba(0, 0, 0, .75) 87%,
    rgba(0, 0, 0, .25) 95%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, .25) 5%,
    rgba(0, 0, 0, .75) 13%,
    #000 24%,
    #000 76%,
    rgba(0, 0, 0, .75) 87%,
    rgba(0, 0, 0, .25) 95%,
    transparent 100%
  );
}

.about-slider-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: about-scroll 32s linear infinite;
}

.about-slide-dup {
  display: contents;
}

.about-slider:hover .about-slider-track {
  animation-play-state: paused;
}

.about-slide {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
}

.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-slide .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.about-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0) 55%);
}

.about-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem .85rem;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
}

@keyframes about-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-slider-track {
    animation: none;
  }

  .hero-bg-slide {
    animation: none;
    opacity: 0;
  }

  .hero-bg-slide:first-child {
    opacity: 1;
  }

  .hero-anim {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
}

.stat-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-text-muted);
}

/* BRAND SECTIONS */
.brand-header {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.brand-header .btn {
  margin-top: 1rem;
}

/* Brand banner iframes are rendered at a fixed "desktop" design size
   (see js/main.js) and scaled down with CSS transform as the container
   shrinks, so the embed keeps the exact same desktop layout/aspect ratio
   at every screen size instead of reflowing to the embedded page's own
   mobile breakpoints. */
.brand-banner {
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: var(--banner-w) / var(--banner-h);
}

.brand-banner-image {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
}

iframe.brand-banner-image {
  border: none;
}

#ramenyoungwasabi .brand-banner,
#fajardosfamilyktv .brand-banner,
#chorusfamilyktv .brand-banner {
  --banner-w: 1280;
  --banner-h: 900;
}


/* BRANCHES */
.branches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.branch {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(42, 45, 54, .05);
}

.branch h4 {
  color: var(--color-primary-dark);
}

.branch dl {
  margin: 0;
}

.branch dt {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-text-muted);
  margin-top: .85rem;
}

.branch dt:first-child {
  margin-top: 0;
}

.branch dd {
  margin: .2rem 0 0;
  font-weight: 600;
  color: var(--color-text);
}

/* INQUIRIES */
.inquiries {
  padding: 4.5rem 0;
  background-color: var(--color-surface-alt);
}

.inquiries-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.inquiries-copy {
  position: sticky;
  top: 100px;
}

.inquiry-form {
  display: grid;
  gap: 1.25rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(42, 45, 54, .05);
}

.form-row {
  display: grid;
  gap: .45rem;
}

.form-row label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: .75rem .9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary-dark);
  box-shadow: 0 0 0 3px rgba(178, 134, 60, .15);
}

.inquiry-form .btn {
  justify-self: start;
}

.form-status {
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  min-height: 1.2em;
}

.form-status.is-success {
  color: #2f7a3d;
}

.form-status.is-error {
  color: #c0392b;
}

/* FOOTER */
footer {
  background-color: var(--color-dark);
  color: #d8d9dd;
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  width: 170px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #a9acb5;
  font-size: .9rem;
  max-width: 320px;
}

.footer-col h5 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .85rem;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.footer-col a {
  color: #a9acb5;
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: .8rem;
  color: #8d909b;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .inquiries-grid {
    grid-template-columns: 1fr;
  }

  .inquiries-copy {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .about-slide {
    width: 170px;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    z-index: 900;
    transition: opacity .35s ease, visibility 0s linear .35s;
  }

  .menu-toggle:checked ~ .nav-backdrop {
    opacity: 1;
    visibility: visible;
    transition: opacity .35s ease;
  }

  .nav-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-height: 100vh;
    background-color: var(--color-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
    padding: 5.5rem 1.75rem 2rem;
    overflow-y: auto;
    z-index: 950;
    transform: translateY(-100%);
    transition: transform .35s ease;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }

  .menu-toggle:checked ~ .nav-drawer {
    transform: translateY(0);
  }

  .nav-drawer-head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
  }

  .nav-close {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--color-nav);
    cursor: pointer;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  body:has(#menu-toggle:checked) {
    overflow: hidden;
  }

  .stores {
    flex-direction: column;
  }

  .store-item {
    min-height: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1.1rem;
  }

  .hero-actions .btn {
    justify-content: center;
    padding: 1rem 1.85rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: .6rem;
  }

  .hero-meta-divider {
    display: none;
  }

  .about-stats {
    gap: 1.25rem;
  }
}
