/* 울루루 ULULU — mobile brand page (kmong 5227171)
   Layout is fluid: every text block is content-driven, so longer or shorter Korean copy
   in content.json reflows instead of breaking. */

:root {
  --sand-50:  #FBF7F1;
  --sand-100: #F4ECE1;
  --sand-150: #EDE2D4;
  --sand-200: #E4D6C4;
  --sand-300: #D3C0A9;
  --clay-400: #D8814F;
  --clay-500: #B85C33;
  --clay-600: #9C4823;
  --ink-900:  #2C241E;
  --ink-700:  #4A3F36;
  --ink-500:  #6E6055;
  --ink-300:  #9C8D80;

  --serif: 'Gowun Batang', 'Noto Serif KR', serif;
  --sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', system-ui, sans-serif;

  --pad: 26px;
  --shell: 480px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand-200);
  color: var(--ink-900);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  background: var(--sand-50);
  overflow: hidden;
  position: relative;
}
@media (min-width: 560px) {
  .shell { box-shadow: 0 0 60px rgba(60, 40, 25, .18); }
}

.wrap { padding-left: var(--pad); padding-right: var(--pad); }

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

.ln { display: block; }

.ic { width: 24px; height: 24px; }

/* -------------------------------------------------------------- reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  background: #2A1A12;
}
.hero-bg, .hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  /* the sub-copy sits right on the horizon glow, so the scrim has to stay dense down to
     ~46% or the small text becomes unreadable on a bright sunset photo */
  background:
    linear-gradient(180deg,
      rgba(26,13,7,.74) 0%,
      rgba(26,13,7,.60) 20%,
      rgba(26,13,7,.44) 38%,
      rgba(26,13,7,.16) 56%,
      rgba(24,11,6,.34) 78%,
      rgba(24,11,6,.86) 100%);
}
.hero-inner {
  position: absolute;
  top: 8svh; top: 8vh;
  left: 0; right: 0;
  padding: 26px var(--pad) 34px;
  text-align: center;
  color: #FFF6EC;
  isolation: isolate;
}
/* The sunset ridge line lands right under the sub-copy, and a page-wide gradient either
   leaves the small text unreadable or muddies the whole photo. A soft plate scoped to the
   text block keeps the photo bright and the copy legible on any replacement image. */
.hero-inner::before {
  content: '';
  position: absolute;
  inset: -10% -6%;
  z-index: -1;
  background: radial-gradient(78% 62% at 50% 46%, rgba(20,9,4,.72) 0%, rgba(20,9,4,.46) 52%, rgba(20,9,4,0) 100%);
  pointer-events: none;
}
.wordmark {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 7px; margin-bottom: 26px; color: #FFEEDD;
  animation: fadeUp 1.1s .1s cubic-bezier(.22,.61,.36,1) both;
}
.mark { width: 46px; height: 22px; }
.wordmark-text {
  font-size: 12px; font-weight: 500; letter-spacing: .42em; text-indent: .42em;
}
.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(27px, 7.6vw, 34px);
  line-height: 1.48;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 22px rgba(20,10,4,.45);
}
.hero-title .ln { animation: fadeUp 1.1s cubic-bezier(.22,.61,.36,1) both; }
.hero-title .ln:nth-child(1) { animation-delay: .28s; }
.hero-title .ln:nth-child(2) { animation-delay: .40s; }
.hero-title .ln:nth-child(n+3) { animation-delay: .52s; }
.hero-body {
  margin: 20px 0 0;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: .01em;
  color: rgba(255,241,229,.94);
  text-shadow: 0 1px 14px rgba(20,9,3,.6);
  animation: fadeUp 1.1s .62s cubic-bezier(.22,.61,.36,1) both;
}
.hero-scroll {
  position: relative;
  padding-bottom: calc(26px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: rgba(255,242,232,.92);
  text-shadow: 0 1px 10px rgba(20,9,3,.6);
  font-size: 9.5px; letter-spacing: .32em; text-indent: .32em; font-weight: 500;
  animation: fadeUp 1.1s .9s cubic-bezier(.22,.61,.36,1) both;
}
.scroll-chevron { width: 17px; height: 17px; animation: nudge 2.1s 1.6s infinite; }
@keyframes nudge {
  0%, 62%, 100% { transform: translateY(0); opacity: .75; }
  78% { transform: translateY(5px); opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ sections */
.sec { padding: 74px 0 0; position: relative; }
.sec-story { background: var(--sand-50); }
.sec-floors { background: var(--sand-100); padding-bottom: 78px; }
.sec-menu { background: var(--sand-50); }

.sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.sec-no {
  font-family: var(--serif);
  font-size: 15px; font-weight: 700; color: var(--clay-500); letter-spacing: .04em;
}
.sec-rule { width: 22px; height: 1px; background: var(--sand-300); }
.sec-label {
  font-size: 9.5px; font-weight: 500; letter-spacing: .28em; text-indent: .28em;
  color: var(--ink-300); text-transform: uppercase;
}
.sec-title {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 6.6vw, 29px);
  line-height: 1.52;
  letter-spacing: -0.022em;
  color: var(--ink-900);
}
.sec-note {
  margin: -10px 0 26px;
  font-size: 12.5px; font-weight: 300; color: var(--ink-500); line-height: 1.9;
}

.story-body .p {
  margin: 0 0 15px;
  font-size: 13px;
  font-weight: 300;
  line-height: 2.05;
  color: var(--ink-700);
}
.story-body .p:last-child { margin-bottom: 0; }

.story-accent { display: flex; justify-content: flex-end; margin: 30px 0 4px; }
.round-img {
  width: 148px; height: 148px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(80, 52, 30, .16);
}
.round-img img { width: 100%; height: 100%; object-fit: cover; }

.quote {
  margin: 34px 0 0;
  padding: 26px 20px;
  text-align: center;
  background: var(--sand-100);
  border-radius: 3px;
  border-top: 1px solid var(--sand-200);
  border-bottom: 1px solid var(--sand-200);
}
.quote-label {
  font-size: 9px; letter-spacing: .28em; text-indent: .28em;
  color: var(--clay-500); font-weight: 500; margin-bottom: 10px;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.values {
  list-style: none;
  margin: 26px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 18px 6px;
}
.value { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.value-ic {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sand-100);
  color: var(--clay-500);
  border: 1px solid var(--sand-200);
}
.value-ic .ic { width: 21px; height: 21px; }
.value-label { font-size: 10.5px; font-weight: 400; color: var(--ink-500); line-height: 1.4; }

.story-closing {
  margin: 28px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-300);
  letter-spacing: .01em;
}

.band { margin-top: 46px; }
.band-img img { width: 100%; height: 260px; object-fit: cover; }
.band-tall .band-img img { height: 360px; object-position: center 30%; }

/* -------------------------------------------------------------- floors */
.bld-wrap { display: flex; justify-content: center; margin: 6px 0 30px; }
.bld { width: min(272px, 76%); height: auto; }
.bld-badge {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .01em;
}
.bld-floor {
  opacity: 0;
  transform: translateY(-14px);
  animation: slabIn .62s cubic-bezier(.22,.61,.36,1) both;
  animation-delay: calc(.08s * var(--i));
  animation-play-state: paused;
}
.reveal.in .bld-floor { animation-play-state: running; }
.no-js .bld-floor { opacity: 1; transform: none; animation: none; }
@keyframes slabIn { to { opacity: 1; transform: none; } }

.floors { list-style: none; margin: 0; padding: 0; }
.floor {
  display: grid;
  grid-template-columns: 42px 46px 1fr;
  align-items: center;
  gap: 0 10px;
  padding: 16px 0;
  border-top: 1px solid var(--sand-200);
}
.floor:last-child { border-bottom: 1px solid var(--sand-200); }
.floor-badge {
  font-family: var(--serif);
  font-size: 21px; font-weight: 700; color: var(--clay-500);
  letter-spacing: -0.01em;
}
.floor-ic {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sand-150);
  color: var(--ink-700);
}
.floor-ic .ic { width: 21px; height: 21px; }
.floor-text { display: block; }
.floor-name {
  display: block;
  font-size: 12.5px; font-weight: 500; letter-spacing: .07em;
  color: var(--ink-900);
  margin-bottom: 3px;
}
.floor-desc { display: block; font-size: 11.5px; font-weight: 300; line-height: 1.72; color: var(--ink-500); }

/* ---------------------------------------------------------------- menu */
.menu-list { list-style: none; margin: 34px 0 0; padding: 0; }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--sand-200);
}
.menu-name { font-size: 13.5px; font-weight: 500; color: var(--ink-900); }
.menu-price { font-size: 12.5px; color: var(--ink-500); font-weight: 400; grid-row: 1; grid-column: 2; }
.menu-note { grid-column: 1 / -1; font-size: 11.5px; font-weight: 300; color: var(--ink-300); }

.badges {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 4px;
}
.badge { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.badge-ic { color: var(--clay-500); }
.badge-ic .ic { width: 23px; height: 23px; }
.badge-label {
  font-size: 8.5px; font-weight: 500; letter-spacing: .13em;
  color: var(--ink-300); text-align: center;
}

/* ---------------------------------------------------------------- wifi */
.sec-wifi {
  padding: 60px 0 0;
  background: var(--sand-50);
}
.wifi-card {
  background: linear-gradient(160deg, #C4632F 0%, #B0501F 58%, #98411A 100%);
  color: #FFF2E6;
  border-radius: 20px;
  padding: 34px 24px 30px;
  box-shadow: 0 20px 44px rgba(120, 60, 25, .26);
}
.wifi-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.wifi-no {
  font-family: var(--serif); font-size: 14px; font-weight: 700; color: rgba(255,236,220,.95);
}
.wifi-label {
  font-size: 9px; letter-spacing: .28em; text-indent: .28em;
  color: rgba(255,236,220,.62); font-weight: 500;
}
.wifi-title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  letter-spacing: -0.01em;
}
.wifi-body {
  margin: 0 0 26px;
  font-size: 12.5px; font-weight: 300; line-height: 1.95;
  color: rgba(255,240,228,.82);
}

.wifi-btn {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  border: 0; border-radius: 999px;
  background: #FFF7EF;
  color: var(--clay-600);
  font-family: var(--sans);
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(90, 40, 15, .22);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.wifi-btn:active { transform: scale(.978); box-shadow: 0 4px 12px rgba(90, 40, 15, .2); }
.wifi-btn:focus-visible { outline: 3px solid #FFE2C8; outline-offset: 3px; }
.wifi-btn-label { flex: 1; text-align: left; }
.wifi-btn-ic { width: 21px; height: 21px; flex: none; }
.wifi-btn-arrow { width: 19px; height: 19px; flex: none; opacity: .55; }
.wifi-btn.is-done .wifi-btn-arrow { transform: rotate(90deg); transition: transform .3s ease; }

.wifi-panel {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 235, 214, .24);
  animation: panelIn .42s cubic-bezier(.22,.61,.36,1) both;
}
.wifi-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.wifi-panel-title {
  margin: 0 0 12px;
  font-size: 9.5px; letter-spacing: .24em; text-indent: .24em;
  color: rgba(255,236,220,.6); font-weight: 500;
}
.cred {
  background: rgba(255, 247, 239, .13);
  border: 1px solid rgba(255, 241, 227, .22);
  border-radius: 12px;
  overflow: hidden;
}
.cred-row {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
}
.cred-row + .cred-row { border-top: 1px solid rgba(255, 241, 227, .16); }
.cred-label { font-size: 10.5px; font-weight: 300; color: rgba(255,236,220,.66); }
.cred-value {
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  -webkit-user-select: all; user-select: all;
  overflow-wrap: anywhere;
}
.cred-pw { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.cred-copy {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 244, 232, .34);
  border-radius: 999px;
  background: transparent;
  color: #FFF2E6;
  font-family: var(--sans);
  font-size: 11px; font-weight: 400;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background .16s ease, border-color .16s ease;
}
.cred-copy .ic { width: 14px; height: 14px; }
.cred-copy:active { background: rgba(255, 247, 239, .2); }
.cred-copy.is-copied { background: rgba(255, 247, 239, .94); color: var(--clay-600); border-color: transparent; }

.wifi-steps-title {
  margin: 20px 0 10px;
  font-size: 9.5px; letter-spacing: .24em; text-indent: .24em;
  color: rgba(255,236,220,.6); font-weight: 500;
}
.wifi-steps {
  margin: 0; padding-left: 18px;
  font-size: 12px; font-weight: 300; line-height: 1.95;
  color: rgba(255,241,229,.9);
}
.wifi-steps li { margin-bottom: 4px; }
.wifi-steps b { font-weight: 500; color: #FFF; }

.wifi-settings {
  -webkit-appearance: none; appearance: none;
  margin-top: 16px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 244, 232, .4);
  border-radius: 999px;
  background: transparent;
  color: #FFF2E6;
  font-family: var(--sans);
  font-size: 13px; font-weight: 400;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.wifi-settings[hidden] { display: none; }
.wifi-settings:active { background: rgba(255, 247, 239, .16); }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom));
  transform: translate(-50%, 14px);
  z-index: 60;
  max-width: min(calc(100vw - 48px), 380px);
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(38, 27, 20, .95);
  color: #FFF3E8;
  font-size: 12.5px;
  font-weight: 400;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s ease, transform .26s ease;
  box-shadow: 0 10px 30px rgba(30, 18, 10, .3);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* -------------------------------------------------------------- footer */
.foot {
  background: var(--sand-100);
  padding: 46px 0 calc(40px + env(safe-area-inset-bottom));
  margin-top: 60px;
  border-top: 1px solid var(--sand-200);
}
.foot-mark {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--clay-500);
  margin-bottom: 24px;
}
.foot-mark .mark { width: 38px; height: 18px; }
.foot-mark span { font-size: 10.5px; letter-spacing: .4em; text-indent: .4em; font-weight: 500; }
.foot-info { list-style: none; margin: 0 0 20px; padding: 0; }
.foot-info li {
  display: grid; grid-template-columns: 58px 1fr; gap: 8px;
  font-size: 11.5px; font-weight: 300; padding: 5px 0; color: var(--ink-700);
}
.foot-k { color: var(--ink-300); }
.foot-links { display: flex; justify-content: center; gap: 16px; margin-bottom: 20px; }
.foot-links a {
  font-size: 9.5px; letter-spacing: .2em; color: var(--ink-500);
  text-decoration: none; border-bottom: 1px solid var(--sand-300); padding-bottom: 3px;
}
.foot-copy { margin: 0; text-align: center; font-size: 10px; color: var(--ink-300); }
.foot-credit {
  margin: 14px 0 0;
  text-align: center;
  font-size: 8px;
  line-height: 1.75;
  letter-spacing: 0;
  color: #C6B7A4;
}
