/* ============================================================
   SUNROSE — landing / branch selector (minimal white edition)
   Main color: golden yellow. Background: clean warm white.
   Dark ink is used for text only, never for big backgrounds.
   ============================================================ */

:root{
  --bg:           #F8F3E8;   /* warm cream page */
  --bg-soft:      #F0E8D6;   /* footer, deeper cream */
  --card:         #FFFDF8;   /* ivory cards */
  --line:         #E8DEC6;

  --gold:         #E6A107;   /* main brand color */
  --gold-light:   #F0C24D;
  --gold-deep:    #B87F05;
  --gold-text:    #9A6A00;   /* gold for small text on white (readable) */
  --gold-tint:    #FBEFCB;   /* very light gold for hover / glow */

  --ink:          #17130C;
  --ink-soft:     #5B564C;

  --font-display: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
  --font-body:    'Inter', 'Noto Sans JP', -apple-system, sans-serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 100px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }

body{
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

@media (prefers-reduced-motion: no-preference){
  .logo-plaque{ animation: rise .8s cubic-bezier(.16,.9,.3,1) both; }
  .branch-card{ animation: float-in .7s cubic-bezier(.16,.9,.3,1) both; }
  .branch-card--current{ animation-delay: .15s; }
  .branch-card--new{ animation-delay: .3s; }
  .hero > *{ animation: float-in .6s ease both; }
  .eyebrow{ animation-delay: 0s; }
  .logo-plaque{ animation-delay: .08s; }
  .tagline{ animation-delay: .2s; }
  .subtext{ animation-delay: .28s; }
}

@keyframes rise{
  from{ transform: translateY(14px) scale(.96); opacity: 0; }
  to{ transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes float-in{
  from{ transform: translateY(16px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}

/* ---------- soft golden glow (very light) ---------- */

.glow-backdrop{
  position: absolute;
  top: 0;
  left: 50%;
  width: min(900px, 150vw);
  height: min(560px, 75vw);
  transform: translate(-50%, -40%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%,
      rgba(230,161,7,.24) 0%,
      rgba(230,161,7,.08) 45%,
      rgba(230,161,7,0) 75%);
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}

/* grain removed for a cleaner, minimal look */
.grain{ display: none; }

/* ---------- language switcher ---------- */

.lang-dropdown{
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 20;
}

.lang-switch__btn{
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFDF8;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.12);
  transition: background .2s ease, border-color .2s ease;
}
.lang-switch__btn:hover{ background: var(--gold-tint); border-color: var(--gold-light); }

.lang-switch__globe{ font-size: 14px; }
.lang-switch__chevron{ font-size: 8px; opacity: .7; margin-left: 2px; }

.lang-switch__menu{
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 160px;
  background: #FFFDF8;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 44px -16px rgba(0,0,0,.18);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.lang-switch__menu.open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-switch__menu li{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-switch__menu li:hover,
.lang-switch__menu li.active{
  background: var(--gold-tint);
  color: var(--gold-text);
}

.flag{ font-size: 15px; }

/* ---------- layout shell ---------- */

.page{
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(10px, 1.2vh, 16px) 24px 40px;
  width: 100%;
}

/* ---------- hero ---------- */

.hero{
  text-align: center;
  max-width: 720px;
  margin-bottom: clamp(44px, 6vh, 72px);
}

.eyebrow{
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--gold-text);
  text-transform: uppercase;
}

/* logo sits directly on white: no box, no shadow */
.logo-plaque{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  margin-bottom: 22px;
}

.logo{
  display: block;
  width: min(420px, 66vw);
  height: auto;
  /* blends the logo's cream background into the page */
  mix-blend-mode: multiply;
  /* fades the edges so no box is visible */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

.tagline{
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
  color: var(--gold-deep);
}

.subtext{
  margin: 0;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 46ch;
  margin-inline: auto;
}

.br-mobile{ display: none; }

/* ---------- branch cards ---------- */

.branches{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 940px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 28px);
  margin-bottom: clamp(48px, 8vh, 80px);
}

.branch-card{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 18px 40px -26px rgba(0,0,0,.22);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.16,.9,.3,1), box-shadow .35s ease, border-color .35s ease;
}

.branch-card:hover{
  transform: translateY(-6px);
  border-color: var(--gold-light);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 26px 50px -24px rgba(230,161,7,.45);
}

.branch-card:focus-within{
  border-color: var(--gold-light);
}

.branch-card__top{
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
}

.branch-card__photo{
  display: block;
  width: 100%;
  height: auto;
}

/* lighter overlay, only to keep the caption readable */
.branch-card__top::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 65%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

.branch-card__top > .branch-card__pin,
.branch-card__top > .branch-card__badge,
.branch-card__top > .branch-card__photo-caption{
  position: absolute;
  z-index: 1;
}

.branch-card__top > .branch-card__pin,
.branch-card__top > .branch-card__badge{
  top: 18px;
}

/* pin now on the LEFT (the New Year sticker takes the right side) */
.branch-card__top > .branch-card__pin{
  left: 22px;
}

.branch-card__top > .branch-card__badge{
  left: 22px;
}

.branch-card__photo-caption{
  left: 22px;
  bottom: 10px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

.branch-card__pin{
  font-size: 20px;
  filter: grayscale(1) brightness(1.6);
  opacity: .9;
}

.branch-card__badge{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  background: var(--gold);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
}

.branch-card__body{
  padding: 16px 24px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.branch-card__tag{
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 10px;
}

.branch-card__title{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.08;
  margin: 0 0 12px;
  color: var(--ink);
}

.branch-card__address{
  margin: 0;
  padding-bottom: 20px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.branch-card__address a{
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(230,161,7,.5);
}

.branch-card__cta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 24px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  transition: background .25s ease;
}

.branch-card:hover .branch-card__cta{ background: var(--gold-light); }

.arrow{
  font-size: 18px;
  line-height: 1;
  transition: transform .3s ease;
}
.branch-card:hover .arrow{ transform: translateX(4px); }

/* ---------- WHOLE CARD CLICKABLE ----------
   The "Visit Site" link stretches an invisible layer over the
   entire card. Takeout, phone and sticker sit above it.        */

.branch-card__cta::after{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* remove the default blue browser outline, use a gold one on the card */
.branch-card__cta:focus,
.branch-card__cta:focus-visible{ outline: none; }

.branch-card__cta:focus-visible::after{
  outline: 3px solid var(--gold);
  outline-offset: -3px;
  border-radius: var(--radius-lg);
}

.branch-takeout-link,
.branch-card__address a{
  position: relative;
  z-index: 2;
}

/* ---------- footer / company info (light, not black) ---------- */

.site-footer{
  position: relative;
  z-index: 2;
  background: var(--bg-soft);
  border-top: 2px solid var(--gold);
  color: var(--ink);
  padding: 36px 24px;
}

.site-footer__inner{
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.site-footer__brand{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
}

.site-footer__name{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gold-deep);
}

.site-footer__company{
  font-size: 12.5px;
  color: var(--ink-soft);
}

.site-footer__info{
  font-size: 13.5px;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-footer__info a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(230,161,7,.5);
  transition: border-color .2s ease, color .2s ease;
}
.site-footer__info a:hover{ border-color: var(--gold); color: var(--gold-text); }

.dot{ opacity: .6; margin: 0 2px; color: var(--gold); }

.site-footer__copy{
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--ink-soft);
  opacity: .7;
}


/* ---------- takeout button next to the address ---------- */

.branch-card__address-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.branch-card__address-row .branch-card__address {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.branch-takeout-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transform: translateY(-8px);
  transition: background 0.2s ease;
}

.branch-takeout-link:hover {
  background: var(--gold-light);
}

@media (max-width: 520px) {
  .branch-card__address-row {
    align-items: flex-start;
    gap: 10px;
  }

  .branch-takeout-link {
    padding: 8px;
    font-size: 10px;
  }
}


/* ============================================================
   NEW YEAR STICKER (Shinagawa Seaside card, top-right)
   ============================================================ */

.branch-card__top > .newyear-sticker{
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  text-decoration: none;
  color: #FFF6DC;
  border: 4px solid var(--gold-light);
  box-shadow: 0 8px 22px rgba(0,0,0,.38), inset 0 0 0 2px rgba(255,255,255,.2);
  transform: rotate(8deg);

  /* layer 1 = glossy shine band, layer 2 = red base */
  background:
    linear-gradient(115deg, transparent 38%, rgba(255,255,255,.55) 50%, transparent 62%),
    radial-gradient(circle at 30% 25%, #E8503A 0%, #B3261A 100%);
  background-size: 260% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: 160% 0, 0 0;
}

/* spinning dashed gold ring */
.newyear-sticker::before{
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px dashed var(--gold-light);
  pointer-events: none;
}

/* soft ripple ring that pulses outward */
.newyear-sticker::after{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  opacity: 0;
  pointer-events: none;
}

.newyear-sticker__icon{
  font-size: 34px;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}

.newyear-sticker__title{
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}

.newyear-sticker__sub{
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold-light);
}

/* hover: stop moving, straighten up and grow */
.newyear-sticker:hover{
  transform: rotate(0deg) scale(1.1);
  box-shadow: 0 12px 28px rgba(0,0,0,.48), inset 0 0 0 2px rgba(255,255,255,.3);
}

.newyear-sticker:focus-visible{
  outline: 3px solid #fff;
  outline-offset: 4px;
}

/* ---------- animations ---------- */

@media (prefers-reduced-motion: no-preference){

  .newyear-sticker{
    animation:
      sticker-sway 4s ease-in-out infinite,
      sticker-shine 3.6s ease-in-out infinite;
  }

  .newyear-sticker::before{ animation: ring-spin 14s linear infinite; }
  .newyear-sticker::after{ animation: ring-pulse 2.4s ease-out infinite; }

  .newyear-sticker__icon{ animation: icon-wiggle 2.4s ease-in-out infinite; }

  .newyear-sticker:hover{ animation: none; }
  .newyear-sticker:hover::before{ animation-duration: 5s; }
}

/* hangs and sways like a New Year ornament, with a little bounce */
@keyframes sticker-sway{
  0%, 100%{ transform: rotate(8deg)  translateY(0)    scale(1); }
  25%     { transform: rotate(14deg) translateY(-6px) scale(1.04); }
  50%     { transform: rotate(8deg)  translateY(0)    scale(1.07); }
  75%     { transform: rotate(2deg)  translateY(-6px) scale(1.04); }
}

/* glossy light sweeps across, then rests */
@keyframes sticker-shine{
  0%      { background-position: 160% 0, 0 0; }
  55%, 100%{ background-position: -60% 0, 0 0; }
}

@keyframes ring-spin{
  to{ transform: rotate(360deg); }
}

@keyframes ring-pulse{
  0%  { transform: scale(1);   opacity: .85; }
  100%{ transform: scale(1.3); opacity: 0; }
}

@keyframes icon-wiggle{
  0%, 100%{ transform: rotate(0deg); }
  20%     { transform: rotate(-10deg); }
  40%     { transform: rotate(10deg); }
  60%     { transform: rotate(-6deg); }
  80%     { transform: rotate(0deg); }
}

/* mobile size */
@media (max-width: 520px){
  .branch-card__top > .newyear-sticker{
    width: 104px;
    height: 104px;
    top: 18px;
    right: 18px;
  }
  .newyear-sticker__icon{ font-size: 27px; }
  .newyear-sticker__title{ font-size: 14px; }
  .newyear-sticker__sub{ font-size: 10px; }
}


/* ---------- responsive ---------- */

@media (max-width: 720px){
  .branches{ grid-template-columns: 1fr; }
  .br-mobile{ display: inline; }
  .lang-dropdown{ top: 14px; right: 14px; }
}

@media (max-width: 420px){
  .site-footer__info{ flex-direction: column; gap: 6px; }
  .dot{ display: none; }
}

/* ===== OMORI NEW YEAR SEAL (gold starburst) ===== */
.branch-card__top > .omori-seal{
  position: absolute; top: 22px; right: 22px; z-index: 3;
  width: 128px; height: 128px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: #5a3b00;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.35));
  transition: transform .3s ease;
}
.omori-seal:hover{ transform: scale(1.1); }

.omori-seal__shape{
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 38%, rgba(255,255,255,.7) 50%, transparent 62%) 160% 0 / 260% 100% no-repeat,
    radial-gradient(circle at 30% 25%, #FFE08A 0%, #E6A107 70%, #B87F05 100%);
  clip-path: polygon(50.0% 0.0%, 58.4% 7.8%, 69.1% 3.8%, 73.9% 14.2%, 85.4% 14.6%, 85.8% 26.1%, 96.2% 30.9%, 92.2% 41.6%, 100.0% 50.0%, 92.2% 58.4%, 96.2% 69.1%, 85.8% 73.9%, 85.4% 85.4%, 73.9% 85.8%, 69.1% 96.2%, 58.4% 92.2%, 50.0% 100.0%, 41.6% 92.2%, 30.9% 96.2%, 26.1% 85.8%, 14.6% 85.4%, 14.2% 73.9%, 3.8% 69.1%, 7.8% 58.4%, 0.0% 50.0%, 7.8% 41.6%, 3.8% 30.9%, 14.2% 26.1%, 14.6% 14.6%, 26.1% 14.2%, 30.9% 3.8%, 41.6% 7.8%);
}

.omori-seal__text{
  position: relative; display: flex; flex-direction: column;
  align-items: center; gap: 2px; text-align: center;
}
.omori-seal__icon{ font-size: 30px; line-height: 1; }
.omori-seal__title{ font-family: var(--font-body); font-size: 15px; font-weight: 800; letter-spacing: .06em; line-height: 1.1; }
.omori-seal__sub{ font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: #8a5a00; }

.omori-seal__spark{ position: absolute; color: #fff; font-size: 16px; opacity: 0; text-shadow: 0 0 6px #E6A107; pointer-events: none; }
.omori-seal__spark.s1{ top: -6px;  left: 6px; }
.omori-seal__spark.s2{ top: 14px;  right: -10px; font-size: 12px; }
.omori-seal__spark.s3{ bottom: -4px; right: 18px; font-size: 14px; }

@media (prefers-reduced-motion: no-preference){
  .omori-seal{ animation: seal-bob 3.2s ease-in-out infinite; }
  .omori-seal:hover{ animation: none; }
  .omori-seal__shape{ animation: seal-spin 24s linear infinite, seal-shine 3.6s ease-in-out infinite; }
  .omori-seal__spark{ animation: seal-twinkle 2.4s ease-in-out infinite; }
  .omori-seal__spark.s2{ animation-delay: .8s; }
  .omori-seal__spark.s3{ animation-delay: 1.6s; }
}
@keyframes seal-bob{ 0%,100%{ transform: translateY(0) rotate(-4deg); } 50%{ transform: translateY(-7px) rotate(4deg); } }
@keyframes seal-spin{ to{ transform: rotate(360deg); } }
@keyframes seal-shine{ 0%{ background-position: 160% 0, 0 0; } 55%,100%{ background-position: -60% 0, 0 0; } }
@keyframes seal-twinkle{ 0%,100%{ opacity: 0; transform: scale(.4) rotate(0); } 50%{ opacity: 1; transform: scale(1.2) rotate(45deg); } }

@media (max-width: 520px){
  .branch-card__top > .omori-seal{ width: 104px; height: 104px; top: 16px; right: 16px; }
  .omori-seal__icon{ font-size: 24px; }
  .omori-seal__title{ font-size: 12.5px; }
  .omori-seal__sub{ font-size: 9px; }
}