/* 101 Okey: Sultan — 101sultan.com
   Ornate aged-gold / walnut / emerald kit (9-slice art from the game: assets/img/*.webp).
   Rule: no flat borders, no default inputs, no emoji — every surface is framed art. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(/assets/fonts/cormorant-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(/assets/fonts/cormorant-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --night: #0d0705; --wood-1: #3a2112; --wood-2: #160a04; --wood-3: #241309;
  --gold-1: #fbe7a6; --gold-2: #d9a843; --gold-3: #8a5a17; --gold-l: #f2d27a;
  --emerald: #0e5b45; --emerald-l: #7ee0b0; --burgundy: #6e1423;
  --ivory: #f3e6c4; --ivory-2: #e3cf9f; --muted: #c9b48a;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px; --max: 1120px;
}
* { box-sizing: border-box; font-variant-numeric: lining-nums; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; min-height: 100vh; font: 500 16px/1.6 var(--sans); font-variant-numeric: lining-nums; color: var(--ivory);
  background: radial-gradient(ellipse at 50% 0%, #2a160a 0%, transparent 60%), linear-gradient(180deg, #160a04, var(--night) 40%, #0a0503); background-color: var(--night); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-l); text-underline-offset: 3px; }
a:hover { color: var(--gold-1); }
:focus-visible { outline: 3px solid var(--gold-1); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--wood-1); color: var(--gold-1); border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; color: var(--gold-l); margin: 0 0 .4em; }
h2 { font-size: clamp(30px, 6vw, 44px); text-align: center; text-shadow: 0 2px 6px rgba(0,0,0,.8); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }

/* ── heading ornament: filigree divider under section titles ── */
.orn-title { margin-bottom: 34px; }
.orn-title::after { content: ""; display: block; width: min(340px, 80%); height: 26px; margin: 6px auto 0; background: url(/assets/img/divider.webp) center / contain no-repeat; }
.orn-title + .lede { text-align: center; max-width: 640px; margin: -20px auto 32px; color: var(--ivory-2); }

/* ── header ── */
.site-header { position: sticky; top: 0; z-index: 20; background: linear-gradient(180deg, rgba(36,19,9,.97), rgba(18,8,3,.94)); box-shadow: 0 8px 24px rgba(0,0,0,.55); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 18px; background: url(/assets/img/divider.webp) center / auto 100% no-repeat; pointer-events: none; opacity: .9; }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; font-family: var(--serif); font-weight: 700; line-height: 1; margin-right: auto; }
.brand b { font-size: 26px; letter-spacing: 1px; background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand em { font-size: 24px; color: var(--emerald-l); text-shadow: 0 0 12px rgba(14,91,69,.9); }
.site-nav { display: none; gap: 4px 18px; }
.site-nav a { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ivory-2); text-decoration: none; letter-spacing: .5px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-1); }
@media (min-width: 860px) { .site-nav { display: flex; } }

/* ── ornate buttons (btn2-* 9-slice: carved ends, plain molding) ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 6px;
  border: solid transparent; border-width: 14px 22px; border-image: url(/assets/img/btn-gold.webp) 30% 13% fill / 16px 22px stretch;
  background: none; color: #3b1e04; font: 700 20px/1 var(--serif); letter-spacing: 1px; text-decoration: none; cursor: pointer;
  text-shadow: 0 1px 0 rgba(255,244,210,.9); filter: drop-shadow(0 6px 10px rgba(0,0,0,.55)); transition: transform .12s, filter .12s; }
.btn:hover { transform: translateY(-1px); filter: drop-shadow(0 8px 14px rgba(0,0,0,.6)) brightness(1.06); color: #2a1503; }
.btn:active { transform: translateY(1px); }
.btn.emerald { border-image-source: url(/assets/img/btn-emerald.webp); color: #fff1c9; text-shadow: 0 2px 2px rgba(0,0,0,.75); }
.btn.walnut { border-image-source: url(/assets/img/btn-walnut.webp); color: #fff1c9; text-shadow: 0 2px 2px rgba(0,0,0,.85); }
.btn.burgundy { border-image-source: url(/assets/img/btn-burgundy.webp); color: #ffe9de; text-shadow: 0 2px 2px rgba(0,0,0,.75); }
.btn.small { min-height: 40px; font-size: 16px; border-width: 10px 16px; border-image-width: 12px 16px; }
.btn[disabled], .btn[aria-disabled="true"] { cursor: default; filter: grayscale(.4) brightness(.8) drop-shadow(0 4px 8px rgba(0,0,0,.5)); transform: none; }
.lang-switch { white-space: nowrap; }

/* store badges (placeholders until the store links are known) */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store { min-width: 210px; min-height: 64px; justify-content: flex-start; gap: 12px; padding: 0 8px; }
.store svg { width: 28px; height: 28px; flex: none; fill: currentColor; }
.store span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.store small { font: 700 11px/1.2 var(--sans); letter-spacing: .6px; text-transform: uppercase; opacity: .85; text-shadow: none; }
.store .soon { margin-left: auto; font: 800 10px/1 var(--sans); font-style: normal; letter-spacing: 1.2px; padding: 8px 13px 7px; color: var(--gold-1); text-shadow: 0 1px 2px #000;
  background: url(/assets/img/pill.webp) center / 100% 100% no-repeat; }
.store[data-live="true"] .soon { display: none; }

/* ── framed surfaces ── */
.panel { position: relative; border: solid transparent; border-width: 30px 26px; border-image: url(/assets/img/frame-panel.webp) 27% 20% / 64px 64px stretch; border-image-outset: 4px;
  background: radial-gradient(ellipse at 50% 0%, rgba(58,33,18,.95), rgba(22,10,4,.97) 70%) padding-box; padding: 18px 14px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.card { border: solid transparent; border-width: 22px 24px; border-image: url(/assets/img/card.webp) 13% 20% fill / 26px 30px stretch; padding: 6px 4px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); }
.framed { position: relative; border: solid transparent; border-width: 24px; border-image: url(/assets/img/frame-card.webp) 16% 22% / 44px 44px stretch; border-image-outset: 2px; background: #120803 padding-box; }
.framed img { width: 100%; height: 100%; object-fit: cover; }
.plaque { display: inline-block; border: solid transparent; border-width: 12px 24px; border-image: url(/assets/img/plaque.webp) 24% 11% fill / 14px 26px stretch;
  padding: 0 6px; font: 700 20px/1.1 var(--serif); color: #fff1c9; text-shadow: 0 2px 2px #000; filter: drop-shadow(0 5px 8px rgba(0,0,0,.5)); }

/* ── hero ── */
.hero { position: relative; overflow: hidden; padding: 48px 0 64px;
  background: linear-gradient(180deg, rgba(13,7,5,.55), rgba(13,7,5,.72) 55%, var(--night)), url(/assets/img/hero-960.webp) center / cover no-repeat; }
@media (min-width: 961px) { .hero { background-image: linear-gradient(180deg, rgba(13,7,5,.45), rgba(13,7,5,.7) 60%, var(--night)), url(/assets/img/hero-1920.webp); } }
.hero .wrap { display: grid; gap: 34px; align-items: center; }
.logo { margin: 0 0 14px; font-family: var(--serif); font-weight: 700; line-height: .9; text-shadow: none; }
.logo b { display: block; font-size: clamp(54px, 13vw, 92px); letter-spacing: 3px; background: linear-gradient(180deg, #fff6d0, var(--gold-2) 50%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 2px rgba(0,0,0,.9)); }
.logo em { display: block; margin-top: 2px; font-size: clamp(40px, 9vw, 64px); color: var(--emerald-l); letter-spacing: 2px; text-shadow: 0 2px 6px rgba(0,0,0,.9), 0 0 18px rgba(14,91,69,.9); }
.logo::after { content: ""; display: block; width: min(320px, 90%); height: 24px; margin-top: 10px; background: url(/assets/img/divider.webp) left center / contain no-repeat; }
.tagline { font: 700 clamp(22px, 4.6vw, 30px)/1.2 var(--serif); color: #fff1c9; text-shadow: 0 2px 4px #000; margin-bottom: 10px; }
.hero p.sub { max-width: 560px; color: var(--ivory); text-shadow: 0 1px 3px #000; }
.hero .stores { margin: 24px 0 18px; }
.trust span:last-child { flex: 1 1 220px; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; color: var(--ivory-2); }
.age { display: inline-grid; place-items: center; width: 54px; height: 54px; flex: none; background: url(/assets/img/round.webp) center / 100% 100% no-repeat;
  font: 700 19px/1 var(--serif); color: var(--gold-1); text-shadow: 0 1px 2px #000; filter: drop-shadow(0 4px 6px rgba(0,0,0,.6)); }
.hero-art { margin: 0; justify-self: center; width: min(340px, 80vw); }
.hero-art .framed { aspect-ratio: 3 / 4; border-width: 30px; border-image-width: 56px; }
.hero-art .plaque { display: block; width: max-content; max-width: 100%; margin: -26px auto 0; position: relative; text-align: center; }
@media (min-width: 860px) { .hero { padding: 72px 0 96px; } .hero .wrap { grid-template-columns: 1.3fr 1fr; } }

/* ── sections ── */
section { padding: 64px 0; }
.band { background: linear-gradient(180deg, transparent, rgba(14,91,69,.14) 20%, rgba(14,91,69,.14) 80%, transparent); }

/* features */
.features { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; }
.feature .art { width: 76px; height: 86px; display: grid; place-items: center; }
.feature .art img { max-height: 86px; width: auto; filter: drop-shadow(0 6px 8px rgba(0,0,0,.6)); }
.feature .art.portrait img { width: 70px; height: 70px; border-radius: 50%; padding: 3px; object-fit: cover;
  background: conic-gradient(from 200deg, var(--gold-1), var(--gold-3), #fff1c2, var(--gold-3), var(--gold-1)); }
.feature h3 { font-size: 23px; margin-bottom: 4px; }
.feature p { margin: 0; font-size: 15px; color: var(--ivory-2); }

/* salons rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 18px; overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x mandatory; scrollbar-color: var(--gold-3) transparent; }
.rail > * { scroll-snap-align: start; }
.salon { margin: 0; text-align: center; }
.salon .framed { aspect-ratio: 3 / 4; }
.salon .plaque { margin-top: -22px; position: relative; font-size: 18px; }
.salon p { margin: 8px 6px 0; font-size: 14px; color: var(--ivory-2); }

/* screenshots gallery */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 78%); gap: 18px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory; scrollbar-color: var(--gold-3) transparent; }
@media (min-width: 860px) { .gallery { grid-auto-columns: calc((100% - 18px) / 2); } }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery .framed { border-width: 18px; border-image-width: 34px; }
.gallery figure.portrait { max-width: 300px; }
.gallery figcaption { margin-top: 8px; text-align: center; font: 700 17px/1.2 var(--serif); color: var(--gold-l); }
.gallery .ph .framed { aspect-ratio: 16 / 9; }
.gallery .ph img { filter: saturate(.9) brightness(.85); }

/* how / steps */
.steps { counter-reset: s; display: grid; gap: 16px; padding: 0; list-style: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; position: relative; padding-top: 10px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 6px; background: url(/assets/img/round.webp) center / 100% 100% no-repeat;
  font: 700 24px/1 var(--serif); color: var(--gold-1); text-shadow: 0 1px 2px #000; }
.steps h3 { text-align: center; font-size: 21px; }
.steps p { text-align: center; font-size: 15px; color: var(--ivory-2); margin: 0; }

/* utilities */
.rounded { border-radius: 8px; }
.h-sm { font-size: 32px; }
.more { text-align: center; margin-top: 26px; }
.center { text-align: center; }

/* fair-play note */
.note { max-width: 860px; margin: 0 auto; text-align: center; }
.note .medal { width: 64px; height: auto; margin: -6px auto 6px; }
.note p { color: var(--ivory); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: solid transparent; border-width: 14px 18px; border-image: url(/assets/img/frame-row.webp) 28% 11% / 24px 30px stretch;
  background: linear-gradient(180deg, rgba(58,33,18,.92), rgba(22,10,4,.95)) padding-box; filter: drop-shadow(0 6px 12px rgba(0,0,0,.45)); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 4px 6px; font: 700 20px/1.25 var(--serif); color: #fff1c9; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; margin-left: auto; width: 30px; height: 30px; transition: transform .2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23fbe7a6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat, url(/assets/img/round.webp) center / 100% 100% no-repeat; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .a { padding: 6px 8px 8px; color: var(--ivory-2); font-size: 15.5px; }
.faq .a p:last-child, .faq .a ul:last-child, .faq .a ol:last-child { margin-bottom: 0; }
.faq .a li { margin: 4px 0; }
.faq-group { margin: 36px auto 14px; max-width: 860px; font-size: 26px; text-align: left; }

/* page head (inner pages) */
.page-head { padding: 44px 0 10px; text-align: center; }
.page-head h1 { font-size: clamp(36px, 8vw, 54px); text-shadow: 0 2px 6px rgba(0,0,0,.8); }
.page-head h1::after { content: ""; display: block; width: min(340px, 80%); height: 26px; margin: 8px auto 0; background: url(/assets/img/divider.webp) center / contain no-repeat; }
.page-head p { max-width: 680px; margin: 0 auto; color: var(--ivory-2); }
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { text-align: left; font-size: 30px; margin-top: 8px; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.stack { display: grid; gap: 26px; }

/* contact card */
.contact { display: grid; gap: 18px; align-items: center; text-align: center; max-width: 860px; margin: 0 auto; }
@media (min-width: 720px) { .contact { grid-template-columns: auto 1fr auto; text-align: left; } }
.contact img { width: 120px; margin: 0 auto; }
.contact h2 { text-align: inherit; font-size: 30px; }
.contact p { margin: 0; color: var(--ivory-2); }

/* tables in prose */
.tw { overflow-x: auto; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 15px; }
.prose th { text-align: left; font: 700 17px var(--serif); color: var(--gold-l); padding: 4px 10px; }
.prose td { padding: 10px; vertical-align: top; background: rgba(0,0,0,.28); }
.prose td:first-child { border-radius: 10px 0 0 10px; color: #fff1c9; } .prose td:last-child { border-radius: 0 10px 10px 0; }

/* ── form (deletion request) ── */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font: 700 19px/1.2 var(--serif); color: var(--gold-l); }
.field small { color: var(--muted); font-size: 13px; }
.input { width: 100%; min-height: 52px; border: solid transparent; border-width: 12px 20px; border-image: url(/assets/img/btn-walnut.webp) 30% 13% fill / 14px 20px stretch;
  background: none; color: #fff8e6; font: 600 17px/1.3 var(--sans); padding: 2px 4px; outline: none; -webkit-appearance: none; appearance: none; border-radius: 0; }
.input::placeholder { color: rgba(243,226,181,.55); }
textarea.input { min-height: 120px; resize: vertical; border-image-source: url(/assets/img/card.webp); border-image-slice: 13% 20% fill; border-image-width: 22px 26px; border-width: 18px 22px; }
.input:focus-visible { outline: none; filter: drop-shadow(0 0 6px rgba(242,210,122,.8)); }
.input.code { text-transform: uppercase; letter-spacing: 6px; font: 700 22px/1 var(--serif); max-width: 260px; }
.input[aria-invalid="true"] { filter: drop-shadow(0 0 6px rgba(255,120,100,.85)); }
.consent { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; padding: 8px 4px; font-size: 15px; color: var(--ivory); }
.sw { position: relative; flex: none; width: 76px; height: 40px; background: url(/assets/img/pill.webp) center / 100% 100% no-repeat; transition: filter .2s; }
.sw i { position: absolute; top: 3px; left: 4px; width: 34px; height: 34px; background: url(/assets/img/round.webp) center / 100% 100% no-repeat; box-shadow: 0 3px 6px rgba(0,0,0,.6); border-radius: 50%; transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.consent input:checked + .sw { filter: drop-shadow(0 0 8px rgba(74,222,128,.75)); }
.consent input:checked + .sw i { transform: translateX(34px); }
.consent input:focus-visible + .sw { outline: 3px solid var(--gold-1); outline-offset: 3px; border-radius: 22px; }
.form-msg { display: none; }
.form-msg.show { display: block; }
.msg { border: solid transparent; border-width: 14px 22px; border-image: url(/assets/img/frame-row.webp) 28% 11% / 24px 30px stretch; padding: 6px 8px;
  background: linear-gradient(180deg, rgba(14,91,69,.85), rgba(8,55,42,.92)) padding-box; color: #fff1c9; }
.msg.err { background: linear-gradient(180deg, rgba(110,20,35,.9), rgba(60,10,18,.94)) padding-box; }
.msg b { font-family: var(--serif); font-size: 20px; }
.hp { display: none; }

/* ── footer ── */
.site-footer { position: relative; margin-top: 40px; padding: 46px 0 28px; background: linear-gradient(180deg, rgba(36,19,9,.9), #0a0503); font-size: 14px; color: var(--muted); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 24px; background: url(/assets/img/divider.webp) center / auto 100% no-repeat; }
.foot { display: grid; gap: 26px; }
@media (min-width: 860px) { .foot { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot h2 { font-size: 21px; text-align: left; margin-bottom: 10px; text-shadow: none; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { color: var(--ivory-2); text-decoration: none; } .foot a:hover { color: var(--gold-1); text-decoration: underline; }
.foot address { font-style: normal; line-height: 1.7; }
.fineprint { margin-top: 26px; padding-top: 16px; text-align: center; font-size: 13px; position: relative; }
.fineprint::before { content: ""; display: block; width: 220px; height: 16px; margin: 0 auto 12px; background: url(/assets/img/divider.webp) center / contain no-repeat; opacity: .6; }

/* 404 */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.lost img { width: 220px; margin: 0 auto 12px; }
.lost .stores { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.h-lg { font-size: clamp(40px, 9vw, 60px); }
