/* weservly.com. Tokens from the design export (cream, brown, saffron, teal). */
:root {
  --cream: #FBF3E4;
  --card: #FFFAF1;
  --paper: #F4E7CF;
  --line: #E6D5B8;
  --brown: #3A2418;
  --soft: #6B4E3A;
  --saffron: #F08A24;
  --saffron-ink: #C8661A;
  --teal: #1E6B66;
  --teal-wash: #DDEDE8;
  --kraft: #D8B98C;
  --head: 'Baloo 2', system-ui, sans-serif;
  --body: 'Hind', system-ui, sans-serif;
  --gutter: clamp(20px, 4.5vw, 64px);
  --gap: clamp(56px, 7vw, 104px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--brown); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--head); text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.soft { color: var(--soft); }
.small { font-size: 15px; }
.h2 { font-weight: 800; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; letter-spacing: -.015em; }
.h2s { font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; }
.section { padding-top: var(--gap); }

/* Header */
.site-head { position: relative; z-index: 20; border-bottom: 1.5px solid var(--line); background: var(--cream); }
.site-head .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); font: 800 26px/1 var(--head); letter-spacing: -.01em; }
.brand span { padding-top: 4px; }
.kulhad { flex: none; width: 26px; height: 28px; background: #B65A3C; clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%); box-shadow: inset 0 6px 0 #E09A72; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font: 600 18px/1 var(--head); color: var(--brown); text-decoration: none; padding: 8px 0 6px; border-bottom: 2.5px solid transparent; transition: border-color .2s ease; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--saffron); }
.menu-btn { display: none; height: 44px; padding: 3px 18px 0; border-radius: 999px; border: 1.5px solid var(--brown); background: var(--card); color: var(--brown); font: 600 17px/1 var(--head); align-items: center; gap: 10px; cursor: pointer; }
.menu-btn i { display: block; width: 16px; height: 2px; background: var(--brown); border-radius: 2px; box-shadow: 0 6px 0 var(--brown); margin-bottom: 6px; }
@media (max-width: 759px) {
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; left: 12px; right: 12px; top: 78px; background: var(--card); border: 1.5px solid var(--brown); border-radius: 22px; box-shadow: 0 4px 0 var(--brown), 0 20px 40px rgba(58, 36, 24, .14); padding: 10px; flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open { display: flex; }
  .nav a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 4px 16px 0; border: 0; border-radius: 14px; font-size: 22px; }
  .nav a::after { content: "→"; color: var(--saffron-ink); }
  .nav a:hover, .nav a[aria-current] { background: var(--paper); }
}

/* Awning and string lights */
.awning { height: 22px; background: repeating-linear-gradient(90deg, var(--a, var(--saffron)) 0 40px, var(--b, #F7D9B0) 40px 80px); }
.scallop { height: 20px; background-image: radial-gradient(circle at 20px 0, var(--a, var(--saffron)) 19px, transparent 20px), radial-gradient(circle at 60px 0, var(--b, #F7D9B0) 19px, transparent 20px); background-size: 80px 20px; }
.teal-awning { --a: var(--teal); --b: var(--teal-wash); }
.lights { position: absolute; left: 0; right: 0; top: 36px; height: 42px; pointer-events: none; }
.lights::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; border-bottom: 1.5px solid rgba(58, 36, 24, .55); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.lights b { position: absolute; width: 10px; height: 13px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; border: 1.5px solid var(--brown); }

/* Buttons and badges */
.store { display: inline-flex; flex-direction: column; justify-content: center; height: 52px; padding: 0 18px; border-radius: 14px; background: var(--brown); color: var(--cream); text-decoration: none; box-shadow: 0 3px 0 #C9B391; transition: transform .15s ease; }
.store:hover { transform: translateY(-2px); color: var(--cream); }
.store:active { transform: translateY(2px); }
.store small { font: 500 11px/1.2 var(--body); opacity: .85; }
.store strong { font: 700 17px/1.1 var(--head); }
.store.soon { background: #EADBC2; color: #8C7461; box-shadow: 0 3px 0 #CDB894; }
.store.soon:hover { transform: none; color: #8C7461; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 3px 22px 0; border-radius: 999px; border: 1.5px solid var(--brown); color: var(--brown); background: transparent; text-decoration: none; font: 600 17px/1 var(--head); cursor: pointer; transition: background .2s ease, transform .15s ease, box-shadow .15s ease; }
.btn:hover { background: var(--paper); color: var(--brown); }
.btn.primary { background: var(--saffron); box-shadow: 0 3px 0 var(--brown); }
.btn.primary:hover { background: #F59A3C; transform: translateY(-1px); box-shadow: 0 4px 0 var(--brown); }
.btn.primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--brown); }
.badge { display: inline-block; align-self: flex-start; padding: 3px 10px 2px; border-radius: 999px; background: #FBE1C4; color: #7A3E0E; font: 600 13px/1.4 var(--body); }
.badge.soon { background: var(--teal-wash); color: #1E5A56; }
.pill { display: inline-flex; padding: 6px 14px 5px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); font: 500 15px/1.2 var(--body); color: var(--soft); }
.icon { flex: none; border-radius: 24%; border: 2px solid var(--brown); box-shadow: 0 3px 0 var(--brown); background: #FBEFD9; }

/* Cards */
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: 24px; box-shadow: 0 2px 0 var(--line), 0 10px 28px rgba(58, 36, 24, .06); transition: transform .25s ease, box-shadow .25s ease; }
.card.lift:hover { transform: translateY(-4px); box-shadow: 0 4px 0 #E1CBA6, 0 18px 36px rgba(58, 36, 24, .1); }

/* Home hero */
.hero { position: relative; border-bottom: 1.5px solid var(--line); }
.hero-in { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 88px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 72px); }
.hero-copy { flex: 1 1 380px; min-width: 0; max-width: 600px; }
.hero h1 { margin-top: 20px; font-weight: 800; font-size: clamp(44px, 6.4vw, 88px); line-height: 1; letter-spacing: -.02em; }
.hero .lead { margin-top: 20px; color: var(--soft); max-width: 520px; }
.out-now { margin-top: 32px; padding: 16px; border-radius: 22px; background: var(--card); border: 1.5px solid var(--line); box-shadow: 0 2px 0 var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.out-now .who { display: flex; align-items: center; gap: 14px; flex: 1 1 200px; }
.out-now .name { font: 700 22px/1.15 var(--head); }
.out-now .name span { font-weight: 600; color: var(--soft); font-size: 18px; }
.phones { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; padding: 8px 0 12px; }
.phone { border: 2px solid var(--brown); background: var(--card); padding: 6px; border-radius: clamp(20px, 2.2vw, 32px); box-shadow: 0 4px 0 var(--brown), 0 20px 40px rgba(58, 36, 24, .12); }
.phone img { width: 100%; border-radius: clamp(14px, 1.7vw, 26px); }
.phones .phone { width: clamp(104px, 12.5vw, 190px); z-index: 1; animation: rise .9s .15s ease-out both; }
.phones .phone:nth-child(1) { margin-right: -22px; transform: rotate(-7deg) translateY(22px); }
.phones .phone:nth-child(2) { width: clamp(150px, 17.5vw, 268px); z-index: 2; animation-delay: 0s; box-shadow: 0 5px 0 var(--brown), 0 28px 56px rgba(58, 36, 24, .16); }
.phones .phone:nth-child(3) { margin-left: -22px; transform: rotate(7deg) translateY(22px); animation-delay: .3s; }
@keyframes rise { from { translate: 0 24px; opacity: 0; } to { translate: 0 0; opacity: 1; } }

/* Games grid */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-bottom: 28px; }
.sec-head p { color: var(--soft); max-width: 420px; }
.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 20px); }
.feature { grid-column: 1 / -1; padding: clamp(16px, 2vw, 28px); display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px); align-items: center; }
.feature > div { flex: 1 1 320px; min-width: 0; }
.feature .top { display: flex; align-items: center; gap: 16px; }
.feature h3 { margin-top: 4px; font-weight: 800; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; }
.feature .line { margin-top: 16px; font-size: clamp(17px, 1.35vw, 19px); }
.feature .stores { margin-top: 20px; }
.feature .art { flex: 1 1 300px; min-width: 0; border-radius: 18px; border: 1.5px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; }
.game { border-radius: 22px; padding: clamp(14px, 1.6vw, 22px); display: flex; flex-direction: column; gap: 10px; min-height: 236px; }
.game h3 { font-weight: 700; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.1; }
.game p { font-size: 15px; line-height: 1.5; color: var(--soft); }
.game .ph { width: 56px; height: 56px; border-radius: 15px; border: 1.5px solid var(--line); background: repeating-linear-gradient(135deg, #F6D6CC 0 6px, #FBE8E1 6px 12px); }
.wrapped { position: relative; min-height: 236px; border-radius: 22px; border: 1.5px solid #BF9A68; background: var(--kraft) repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 9px); box-shadow: 0 2px 0 #BF9A68, 0 10px 28px rgba(58, 36, 24, .06); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.wrapped:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 4px 0 #B08B5A, 0 18px 36px rgba(58, 36, 24, .12); }
.wrapped::before, .wrapped::after { content: ""; position: absolute; }
.wrapped::before { top: 0; bottom: 0; left: 50%; width: 7px; margin-left: -3.5px; background: repeating-linear-gradient(180deg, #8A5A3A 0 5px, #A9774C 5px 10px); }
.wrapped::after { left: 0; right: 0; top: 42%; height: 7px; margin-top: -3.5px; background: repeating-linear-gradient(90deg, #8A5A3A 0 5px, #A9774C 5px 10px); }
.wrapped .knot { position: absolute; z-index: 1; left: 50%; top: 42%; width: 26px; height: 18px; transform: translate(-50%, -50%); border-radius: 50%; background: #8A5A3A; border: 2px solid #6E4528; }
.wrapped .tag { position: absolute; z-index: 1; left: calc(50% + 14px); top: calc(42% + 12px); transform: rotate(9deg); transform-origin: 0 0; background: var(--card); border: 1.5px solid var(--brown); border-radius: 6px 10px 10px 6px; padding: 4px 12px 2px 12px; font: 600 14px/1.3 var(--head); }
.wrapped .lbl { position: absolute; z-index: 1; left: 16px; bottom: 12px; font: 500 14px/1.3 var(--body); }

@media (max-width: 759px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Promise board */
.board { position: relative; background: var(--teal); color: var(--cream); border: 2px solid var(--brown); border-radius: 28px; box-shadow: 0 4px 0 var(--brown); padding: clamp(28px, 5vw, 72px) clamp(22px, 5vw, 80px); }
.board::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(251, 243, 228, .35); border-radius: 20px; pointer-events: none; }
.board-in { position: relative; display: flex; flex-wrap: wrap; gap: 24px 72px; }
.board-in > div:first-child { flex: 1 1 260px; max-width: 380px; }
.board .kicker { font: 500 16px/1.3 var(--body); color: #FFC888; }
.board h2 { margin-top: 8px; }
.promises { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: clamp(22px, 2.4vw, 32px); }
.promise { display: flex; align-items: baseline; gap: 12px; font: 700 clamp(21px, 2.1vw, 30px)/1.15 var(--head); }
.promise i { flex: 1; min-width: 16px; border-bottom: 2.5px dotted rgba(251, 243, 228, .5); transform: translateY(-6px); }
.promise b { font-weight: 800; color: #FFC888; white-space: nowrap; }
.promises p { margin-top: 6px; color: #DCEBE7; font-size: 16px; line-height: 1.5; }

/* Band (home closing, contact note) */
.band { background: var(--paper); border: 1.5px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 56px; }
.band p { margin-top: 10px; color: var(--soft); }

/* Game page */
.game-hero { border-bottom: 1.5px solid var(--line); }
.game-hero .wrap { padding-top: clamp(32px, 4vw, 64px); padding-bottom: clamp(48px, 6vw, 88px); }
.back { font: 500 16px/1 var(--body); color: var(--soft); text-decoration: none; }
.game-top { margin-top: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 24px clamp(24px, 3vw, 44px); align-items: center; }
.game-top .title { flex: 1 1 320px; min-width: 0; }
.game-top h1 { font-weight: 800; font-size: clamp(48px, 6vw, 84px); line-height: .95; letter-spacing: -.02em; }
.game-top .hi { margin-top: 6px; font: 600 clamp(20px, 2vw, 26px)/1.3 var(--head); color: var(--soft); }
.game-top .lead { margin-top: 14px; max-width: 560px; }
.game-top .get { display: flex; flex-direction: column; gap: 12px; }
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--brown); background: var(--card); color: var(--brown); font: 600 18px/1 var(--head); cursor: pointer; transition: background .2s ease; }
.arrows button:hover { background: var(--paper); }
.strip { display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px max(var(--gutter), calc((100vw - 1240px) / 2 + 64px)) 28px; scroll-padding: 0 var(--gutter); }
.strip::-webkit-scrollbar { display: none; }
.strip figure { flex: none; margin: 0; width: clamp(176px, 17vw, 250px); scroll-snap-align: start; transition: transform .3s ease; }
.strip figure:hover { transform: translateY(-6px); }
.strip figcaption { margin-top: 12px; font-size: 15px; color: var(--soft); }
.two { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 96px); padding-top: clamp(40px, 5vw, 72px); }
.two > div { flex: 1 1 340px; min-width: 0; }
.two .lead { margin-top: 16px; line-height: 1.65; }
.todo { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1.5px solid var(--line); counter-reset: n; }
.todo li { display: flex; gap: 16px; align-items: baseline; padding: 13px 0 11px; border-bottom: 1.5px solid var(--line); counter-increment: n; }
.todo li::before { content: counter(n, decimal-leading-zero); flex: none; width: 28px; font: 700 16px/1 var(--head); color: var(--saffron-ink); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: 24px; }
.person { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.person .who { display: flex; align-items: center; gap: 14px; }
.person img { flex: none; width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); object-fit: cover; }
.person h3 { font-weight: 700; font-size: 22px; line-height: 1.15; }
.person p { font: 600 19px/1.4 var(--head); }
.links { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 22px; margin-top: clamp(48px, 6vw, 80px); border-top: 1.5px solid var(--line); font-size: 16px; }

/* About and contact */
.page { padding-top: clamp(48px, 6vw, 96px); padding-bottom: var(--gap); }
.page h1 { font-weight: 800; font-size: clamp(44px, 5.6vw, 80px); line-height: 1; letter-spacing: -.02em; }
.about { margin-top: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 96px); align-items: flex-start; }
.note { flex: 3 1 360px; min-width: 0; position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 8px; box-shadow: 0 2px 0 var(--line), 0 14px 32px rgba(58, 36, 24, .07); padding: clamp(28px, 4vw, 56px); transform: rotate(-.6deg); }
.note::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; margin-left: -55px; background: rgba(240, 138, 36, .35); transform: rotate(2deg); }
.note .body { margin-top: 16px; display: flex; flex-direction: column; gap: 16px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.65; }
.note .sign { margin-top: 28px; display: flex; align-items: center; gap: 14px; font: 700 22px/1.2 var(--head); }
.note .sign small { display: block; font: 400 15px/1.4 var(--body); color: var(--soft); }
.facts { flex: 2 1 280px; min-width: 0; border: 1.5px solid var(--line); border-radius: 22px; padding: 24px; }
.facts h2 { font-weight: 700; font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.facts dl { margin: 0; }
.facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0 9px; border-bottom: 1.5px solid var(--line); }
.facts dt { color: var(--soft); }
.facts dd { margin: 0; text-align: right; font-weight: 500; }
.beliefs { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 clamp(32px, 4vw, 64px); border-top: 1.5px solid var(--brown); counter-reset: b; }
.beliefs div { padding: 22px 0 22px 48px; border-bottom: 1.5px solid var(--line); position: relative; counter-increment: b; }
.beliefs div::before { content: counter(b); position: absolute; left: 0; top: 22px; font: 800 30px/1 var(--head); color: var(--saffron-ink); }
.beliefs h3 { font-weight: 700; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; }
.beliefs p { margin-top: 6px; color: var(--soft); }
.contact { margin-top: clamp(28px, 4vw, 48px); max-width: 640px; padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.contact .mail { font: 700 clamp(22px, 2.2vw, 30px)/1.15 var(--head); text-decoration: none; word-break: break-word; }
.contact .mail:hover { text-decoration: underline; }
.contact .row { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.reply { margin-top: 28px; max-width: 640px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: var(--paper); }

/* Footer */
.site-foot { margin-top: var(--gap); background: var(--paper); border-top: 1.5px solid var(--line); }
.site-foot .wrap { padding-top: clamp(36px, 4vw, 56px); padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-start; }
.site-foot .name { display: block; font: 800 24px/1 var(--head); margin-bottom: 8px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-foot nav a { color: var(--brown); }
.site-foot .copy { flex-basis: 100%; font-size: 14px; color: var(--soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
