/* Yaza!: the shopfront. Coral oval sign, ridged green awning, orange chairs, hanging flowers. Cafe by day, venue by night. */

:root {
  --green: #1c4632;
  --green-2: #f2a01f;
  --green-3: #d98a12;
  --night: #0f2a1e;
  --coral: #f2a01f;
  --coral-btn: #f2a01f;
  --orange: #f2a01f;
  --magenta: #f6b92b;
  --sky: #e3f0e6;
  --white: #fffefb;
  --ink: #14261d;
  --ink-soft: #2c4438;

  --display: "Rubik", "Arial Black", system-ui, sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --awning:
    repeating-linear-gradient(90deg, var(--green-2) 0 18px, var(--green-3) 18px 22px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--coral-btn) var(--green); }
body { margin: 0; background: var(--sky); color: var(--ink); font-family: var(--body); font-size: 1.15rem; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

::selection { background: var(--coral); color: var(--white); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--green); }
::-webkit-scrollbar-thumb { background: var(--coral-btn); border-radius: 8px; border: 2px solid var(--green); }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px;
  background: rgba(28, 70, 50, .0); transition: background-color .35s, box-shadow .35s;
}
.top.stuck { background: rgba(28, 70, 50, .96); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); }
.mini-sign {
  font-family: var(--display); font-weight: 900; font-size: 1.25rem; letter-spacing: -.01em; text-decoration: none; color: var(--white);
  padding: 4px 18px; border: 3px solid var(--coral); border-radius: 50%; line-height: 1.1;
  opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease);
}
.top.stuck .mini-sign { opacity: 1; transform: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 900; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 8px 2px; border-bottom: 3px solid transparent; transition: border-color .2s;
}
.nav a:hover { border-bottom-color: var(--coral); }
.top.stuck .nav a { color: var(--white); }

.awning { position: absolute; left: 0; right: 0; top: 0; height: 56px; background: var(--awning); box-shadow: 0 8px 0 var(--green-3), 0 22px 24px -14px rgba(0,0,0,.5); transform-origin: top; }
.awning-flip { top: 0; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--green); color: var(--white); padding: 130px max(24px, 5vw) 96px; min-height: 100svh; display: flex; align-items: center; }
.hero-in { width: min(1260px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 4vw; align-items: center; }
.sign { container-type: inline-size; position: relative; width: min(100%, 700px); aspect-ratio: 840 / 300; margin: 0 0 56px; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring ellipse { fill: none; stroke: #e5741a; stroke-width: 30; stroke-dasharray: 1; stroke-dashoffset: 0; }
.letters {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900; font-size: 30cqw; line-height: 1; letter-spacing: -.03em; color: #f6b92b;
  text-shadow: 0 6px 0 rgba(0, 0, 0, .35);
}
.letters b { display: inline-block; font-weight: 900; }
.letters .bang { color: #f6b92b; margin-left: .02em; }
.cafe-tag {
  position: absolute; right: 8%; bottom: -14%; padding: 3cqw 8cqw 4cqw; border-radius: 50%; background: var(--coral);
  transform: rotate(-4deg); box-shadow: 0 14px 22px -12px rgba(0, 0, 0, .55);
}
.cafe-tag i { font-family: var(--script); font-style: normal; font-size: 10cqw; line-height: 1; color: var(--green); }
.tagline { margin: 0 0 30px; max-width: 32ch; font-size: 1.35rem; color: #eaf3ee; }
.actions { margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; text-decoration: none; white-space: nowrap;
  font-family: var(--display); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .98rem;
  padding: 15px 28px; border-radius: 999px; border: 3px solid var(--coral-btn);
  transition: transform .2s var(--ease), background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px) scale(.98); }
.btn-coral { background: var(--coral-btn); color: var(--ink); }
.btn-coral:hover { background: #d98a12; border-color: #d98a12; }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { background: var(--white); color: var(--green); border-color: var(--white); }
.day .btn-line { color: var(--ink); }

.shopfront { margin: 0; position: relative; justify-self: center; width: min(100%, 520px); border-radius: 22px; overflow: hidden; background: var(--white); padding: 10px; box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .7); }
.shopfront img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.shop-awning { display: none; }

/* ---------- facade strip ---------- */
.facade { height: 11vw; background: var(--green) url("assets/img/facade-orange.jpg") 50% 0% / 100% auto no-repeat; border-bottom: 10px solid var(--green-3); }

/* ---------- day ---------- */
.day { position: relative; background: var(--sky); padding: 104px 0 96px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.center { text-align: center; }
h2 { margin: 0 0 18px; font-family: var(--display); font-weight: 900; letter-spacing: -.02em; font-size: clamp(2.2rem, 4.8vw, 4.2rem); line-height: 1.02; text-wrap: balance; }
h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.center h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.hl { padding: .02em .2em; margin: 0 -.05em; border-radius: 999px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-coral { background: var(--coral-btn); color: var(--ink); }
.hl-orange { background: var(--orange); color: var(--ink); }
.lead { max-width: 48ch; margin: 0 0 28px; font-size: 1.22rem; }
.center .lead { margin-left: auto; margin-right: auto; }

.ph { margin: 0; text-align: center; }
.ph img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 26px 40px -28px rgba(20, 38, 29, .8); object-fit: cover; }
.ph figcaption { margin-top: 12px; font-size: .98rem; color: var(--ink-soft); }
.flat { margin: 44px auto 0; }
.flat img { aspect-ratio: 16 / 8; }

.day-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; margin-top: 64px; }
.dishes { list-style: none; margin: 0; padding: 0; }
.dishes li { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; padding: 14px 0; border-top: 2px solid var(--ink); }
.dishes li:last-child { border-bottom: 2px solid var(--ink); }
.day-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.day-pics .ph:nth-child(2) { margin-top: 40px; }
.day-pics img { aspect-ratio: 4 / 5; }

.bake { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 32px; align-items: center; margin-top: 88px; }
.bake img { aspect-ratio: 4 / 5; }
.bake-text { text-align: center; }
.bake-text p { max-width: 24ch; margin: 0 auto; font-size: 1.2rem; }

/* ---------- night ---------- */
.night { position: relative; background: var(--night); color: var(--white); padding: 150px 0 110px; }
.night .awning { background: var(--awning); }
.glow { text-shadow: 0 0 22px rgba(242, 160, 31, .75), 0 0 60px rgba(242, 160, 31, .4); transition: text-shadow 1.6s ease; }
.night-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; margin-top: 56px; }
.night-row .ph { }
.night-row .ph img { aspect-ratio: 4 / 5.2; box-shadow: 0 30px 44px -26px rgba(0, 0, 0, .9); }
.night-row .ph figcaption { color: #cfe3d8; }
.night-row .lift { margin-top: 56px; }

/* ---------- room ---------- */
.room { background: var(--sky); padding: 112px 0; }
.room-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 72px; align-items: center; }
.room-grid .ph img { aspect-ratio: 4 / 5; max-width: 440px; margin: 0 auto; }
blockquote { margin: 0; }
blockquote p { margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.2; max-width: 24ch; }
cite { font-style: normal; font-size: .98rem; color: var(--ink-soft); }

/* ---------- visit ---------- */
.visit { position: relative; background: var(--green); color: var(--white); padding: 140px 0 100px; }
.visit-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
address { font-style: normal; margin: 0 0 26px; font-size: 1.4rem; font-family: var(--display); font-weight: 700; line-height: 1.3; }
address a { text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.social { margin: 22px 0 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: 1.05rem; }
.social a { text-underline-offset: 4px; }
.hours { margin: 0; display: grid; gap: 12px; }
.hours div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 18px 24px; background: var(--white); color: var(--ink); border-radius: 18px; }
.hours dt { font-family: var(--display); font-weight: 700; }
.hours dd { margin: 0; font-family: var(--display); font-weight: 900; color: var(--green); }
.map { margin-top: 56px; padding: 10px; background: var(--white); border-radius: 22px; }
.map iframe { display: block; width: 100%; height: 360px; border: 0; border-radius: 14px; background: #cfe3d8; }
.foot { background: var(--night); color: #cfe3d8; padding: 26px 24px 40px; font-size: .9rem; text-align: center; }
.foot p { max-width: 62ch; margin: 0 auto; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* hero sign: the oval draws, the letters drop in, the cafe tag pops */
  .ring ellipse { animation: draw 1.6s var(--ease) .2s backwards; }
  @keyframes draw { from { stroke-dashoffset: 1; } }
  .letters b { animation: drop .9s var(--ease) backwards; }
  .letters b:nth-child(1) { animation-delay: .7s; }
  .letters b:nth-child(2) { animation-delay: .82s; }
  .letters b:nth-child(3) { animation-delay: .94s; }
  .letters b:nth-child(4) { animation-delay: 1.06s; }
  .letters b:nth-child(5) { animation-delay: 1.18s; }
  @keyframes drop { from { opacity: 0; transform: translateY(-70px) rotate(-8deg); } }
  .cafe-tag { animation: pop .8s var(--ease) 1.5s backwards; }
  @keyframes pop { from { opacity: 0; transform: rotate(-4deg) scale(.4); } }
  .tagline, .hero .actions { animation: rise .9s var(--ease) 1.7s backwards; }
  .hero .actions { animation-delay: 1.85s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  .shopfront { animation: slide 1.2s var(--ease) .5s backwards; }
  @keyframes slide { from { opacity: 0; transform: translateX(60px) rotate(2deg); } }

  .js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .rv-photo img { opacity: 0; transition: opacity .9s, transform 1.1s var(--ease); transition-delay: var(--d, 0ms); transform: translateY(40px) scale(.96); }
  .js .rv-photo.from-left img { transform: translateX(-70px) rotate(-3deg); }
  .js .rv-photo.from-right img { transform: translateX(70px) rotate(3deg); }
  .js .rv-photo.in img { opacity: 1; transform: none; }
  .js .rv-photo figcaption { opacity: 0; transition: opacity .8s .5s; }
  .js .rv-photo.in figcaption { opacity: 1; }
  .js .map.rv-photo { opacity: 0; transform: translateY(40px); transition: opacity .9s, transform 1s var(--ease); }
  .js .map.rv-photo.in { opacity: 1; transform: none; }
  .js .dishes li { opacity: 0; transform: translateX(-30px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
  .js .dishes.in li { opacity: 1; transform: none; }
  .js .dishes li:nth-child(2) { transition-delay: .08s; } .js .dishes li:nth-child(3) { transition-delay: .16s; }
  .js .dishes li:nth-child(4) { transition-delay: .24s; } .js .dishes li:nth-child(5) { transition-delay: .32s; }
  .js .dishes li:nth-child(6) { transition-delay: .4s; }
  /* the awnings roll down as their section arrives */
  .js .awning-flip { transform: scaleY(0); transition: transform .9s var(--ease); }
  .js .awning-flip.in { transform: none; }
  /* the lights come on at night */
  .js .glow { text-shadow: none; }
  .js .glow.in { text-shadow: 0 0 22px rgba(242, 160, 31, .75), 0 0 60px rgba(242, 160, 31, .4); }
}

/* scroll-linked: pictures drift as you pass (Chrome and friends) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ph img { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; translate: 0 0; }
    @keyframes drift { from { translate: 0 -14px; } to { translate: 0 14px; } }
    .shopfront { animation: slide 1.2s var(--ease) .5s backwards; }
  }
}

/* ---------- small screens ---------- */
@media (max-width: 899px) {
  body { font-size: 1.08rem; }
  .top { padding: 0 16px; }
  .nav { gap: 14px; }
  .nav a { font-size: .8rem; }
  .hero { padding: 108px 20px 72px; min-height: 0; }
  .hero-in { grid-template-columns: 1fr; gap: 46px; }
  .sign { margin-bottom: 46px; }
  .shopfront { width: min(100%, 440px); }
  .wrap { width: calc(100% - 40px); }
  .day { padding: 72px 0; }
  .day-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 44px; }
  .flat img { aspect-ratio: 4 / 3; }
  .bake { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
  .bake-text { grid-column: 1 / -1; grid-row: 1; }
  .night { padding: 110px 0 72px; }
  .night-row { grid-template-columns: 1fr; gap: 28px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .night-row .lift { margin-top: 0; }
  .room { padding: 72px 0; }
  .room-grid { grid-template-columns: 1fr; gap: 36px; }
  .visit { padding: 110px 0 72px; }
  .visit-grid { grid-template-columns: 1fr; gap: 34px; }
  .map iframe { height: 280px; }
}

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