/* Shared presentation for the Mahjong and web design pages. */
.skip-link { position: fixed; z-index: 100; top: 8px; left: 16px; padding: 12px 20px; background: #fff; color: #070b14; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #52e7ff; outline-offset: 5px; }
section[id] { scroll-margin-top: 100px; }
.page-header { background: rgba(7,11,20,.93); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.page-header .nav { gap: 24px; }
.page-header .nav [aria-current] { color: #7feaff; }
.page-hero { padding: 152px 0 74px; }
.page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.page-hero h1 { font-size: clamp(3rem,5.8vw,5.3rem); line-height: 1.04; letter-spacing: -.055em; margin: 24px 0; }
.page-hero .hero-text { font-size: 1.12rem; max-width: 490px; }
.page-hero .hero-actions { margin: 30px 0 20px; }
.page-hero .primary, .contact-band .primary, .service-teaser .primary { color: #071329; background: linear-gradient(110deg,#7ca1ff,#6deafa); }
.page-eyebrow { display: flex; align-items: center; gap: 10px; color: #97d9f0; font-size: .72rem; letter-spacing: .18em; font-weight: 750; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #76e5ff; box-shadow: 0 0 14px #38a8de; }
.availability, .caption { font-size: .82rem; color: #b0bfd3; }
.mahjong-logo { display: block; width: min(370px,100%); height: auto; margin: 28px 0 12px; }
.hero-mascot { margin: 0; position: relative; }
.hero-mascot img { display: block; width: 100%; height: auto; border-radius: 32px; box-shadow: 0 22px 100px #071845; }
.hero-mascot figcaption { margin-top: 14px; text-align: right; font-size: .75rem; color: #a5b5cb; }
.fact-rail { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-rail div { padding: 26px 28px; display: flex; align-items: center; gap: 18px; }
.fact-rail div + div { border-left: 1px solid var(--line); }
.fact-rail strong { font-size: 1.5rem; color: #c1efff; letter-spacing: -.03em; }
.fact-rail span { font-size: .85rem; color: #a7b9cf; }
.page-section { padding: 94px 0; }
.page-section h2, .contact-band h2, .service-teaser h2 { font-size: clamp(2.2rem,4vw,3.8rem); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 22px; }
.page-section h2 em, .contact-band h2 em { font-style: normal; color: #91d9f7; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 44px; }
.section-intro h2 { margin-bottom: 0; }
.section-intro > p { max-width: 380px; margin: 0; color: #a7b9cf; }
.screenshot-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.screenshot-gallery figure { margin: 0; min-width: 0; }
.screen-link { display: block; max-width: 290px; margin: 0 auto; border: 6px solid #23314b; border-radius: 26px; overflow: hidden; background: #030a1d; box-shadow: 0 22px 48px #0006; transition: transform .2s, border-color .2s; }
.screen-link:hover { transform: translateY(-5px); border-color: #5a8fb1; }
.screen-link img { display: block; width: 100%; height: auto; }
.screenshot-gallery figcaption { padding-top: 22px; }
.screenshot-gallery figcaption strong { display: block; color: #f6faff; font-size: 1.1rem; margin-bottom: 6px; }
.screenshot-gallery figcaption p { color: #acb9ce; font-size: .9rem; margin: 0; }
.gallery-note { text-align: center; font-size: .8rem; color: #abbad0; margin: 32px 0 0; }
.feature-section { background: #0b1221; border-block: 1px solid var(--line); }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { padding-bottom: 0; }
.feature-list .number { color: #65d9f5; font-size: .8rem; padding-top: 3px; }
.feature-list h3 { margin-bottom: 7px; font-size: 1.1rem; }
.feature-list p { color: #aabbd0; margin-bottom: 0; font-size: .94rem; }
.feature-copy > p { color: #aabbd0; max-width: 450px; }
.feature-copy .quiet-link { display: inline-block; margin-top: 12px; }
.quiet-link { color: #b7edff; text-underline-offset: 6px; }
.mini-logo { width: min(320px,100%); height: auto; margin: 26px 0 0; }
.faq { max-width: 860px; margin: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 8px; cursor: pointer; font-weight: 650; }
.faq details p { color: #afbed1; padding: 0 8px 20px; margin: 0; max-width: 760px; }
.contact-band { padding: 62px; border: 1px solid #2b4263; border-radius: 28px; background: radial-gradient(ellipse at 95% 10%,#283a6966,transparent 70%),#0d182a; }
.contact-band p { color: #bac9dc; max-width: 650px; }
.contact-band .hero-actions { margin-bottom: 0; }
.page-footer { border-top: 1px solid var(--line); padding: 38px 0; margin-top: 90px; }
.page-footer .shell { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; justify-content: space-between; }
.page-footer p { margin: 0; color: #a6b4c7; font-size: .82rem; }
.page-footer nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: .85rem; }
.page-footer nav a { text-decoration: none; color: #c3d0e1; }
.image-dialog { width: min(96vw,580px); max-height: 96dvh; padding: 56px 18px 18px; border: 1px solid #44617c; background: #07101f; color: white; border-radius: 20px; }
.image-dialog::backdrop { background: #01050ee8; backdrop-filter: blur(8px); }
.image-dialog img { display: block; max-width: 100%; width: auto; max-height: 76dvh; margin: 0 auto; }
.image-dialog p { margin: 14px 0 0; text-align: center; color: #bacce1; }
.dialog-close { position: absolute; right: 12px; top: 10px; border: 1px solid #586d83; border-radius: 24px; color: #fff; background: #172a42; padding: 9px 18px; font: inherit; cursor: pointer; }
html:has(.image-dialog[open]) { overflow: hidden; }

/* Web design: an original, clearly labelled website concept. */
.design-stage { position: relative; padding: 28px 0 60px; }
.browser-concept { background: #faf7ef; color: #223d35; border-radius: 16px; overflow: hidden; border: 1px solid #9cb0b1; box-shadow: 0 24px 80px #0006; transform: rotate(-3deg); }
.browser-bar { background: #e9e8e3; padding: 11px 15px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid #d3d8d1; }
.browser-bar i { background: #9ba8a0; border-radius: 100%; width: 6px; height: 6px; }
.browser-bar span { font-size: .6rem; color: #53625a; margin: auto; padding-right: 30px; }
.concept-content { padding: 28px 32px 30px; }
.concept-nav { display: flex; justify-content: space-between; align-items: center; font-size: .6rem; padding-bottom: 28px; }
.concept-brand { letter-spacing: .15em; font-weight: 800; font-size: .7rem; }
.concept-kicker { font-size: .6rem; letter-spacing: .16em; color: #516956; margin-bottom: 10px; }
.concept-title { font-family: Georgia,serif; font-size: clamp(1.6rem,3vw,2.6rem); line-height: 1.1; letter-spacing: -.04em; margin-bottom: 15px; max-width: 85%; }
.concept-description { font-size: .65rem; max-width: 65%; color: #596d5d; }
.concept-button { display: inline-block; background: #234c3c; color: #faf7ef; font-size: .58rem; border-radius: 30px; padding: 9px 14px; margin: 0 0 22px; }
.concept-landscape { position: relative; height: 140px; border-radius: 70px 70px 8px 8px; overflow: hidden; background: #d8e2c4; }
.concept-sun { position: absolute; width: 65px; height: 65px; border-radius: 50%; background: #f4c88c; right: 20%; top: 17px; }
.concept-hill { position: absolute; width: 100%; height: 155px; border-radius: 50%; background: #83a38b; bottom: -90px; left: -28%; transform: rotate(14deg); }
.concept-hill.second { background: #3e6a58; left: 20%; bottom: -95px; transform: rotate(-25deg); }
.mobile-concept { width: 146px; background: #f7f3ea; color: #234c3c; padding: 20px 13px; border: 5px solid #283c47; border-radius: 24px; position: absolute; right: -12px; bottom: 0; transform: rotate(5deg); box-shadow: 0 18px 40px #0007; }
.mobile-concept .concept-title { font-size: 1.35rem; max-width: none; margin: 20px 0 16px; }
.mobile-concept .concept-landscape { height: 110px; }
.mobile-concept .concept-brand { font-size: .5rem; }
.design-caption { font-size: .72rem; color: #a9bbd0; margin: 20px 155px 0 0; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.service-item { border-top: 1px solid #34516a; padding-top: 24px; }
.service-item .service-number { color: #70dcf8; font-size: .78rem; letter-spacing: .13em; }
.service-item h3 { font-size: 1.3rem; margin: 18px 0 12px; }
.service-item p { font-size: .96rem; color: #aabbd0; }
.service-item ul { padding-left: 18px; color: #c2d1e3; font-size: .87rem; line-height: 2; }
.process { counter-reset: steps; padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.process li { border-top: 1px solid #30405b; padding-top: 24px; }
.process li::before { counter-increment: steps; content: '0' counter(steps); color: #73deef; font-size: .8rem; }
.process h3 { margin: 14px 0 10px; }
.process p { color: #acbdd0; font-size: .94rem; }
.project-ideas { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.project-ideas span { border: 1px solid #34475c; border-radius: 30px; padding: 8px 16px; font-size: .85rem; color: #c2d2e4; }
.email-address { overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .page-grid { gap: 32px; }
  .page-header .nav { gap: 16px; }
  .page-header .nav a { font-size: .85rem; }
  .fact-rail div { padding-inline: 18px; flex-direction: column; gap: 4px; align-items: start; }
}
@media (max-width: 760px) {
  .page-hero { padding-top: 112px; }
  .page-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero h1 { font-size: clamp(2.9rem,10.5vw,4.4rem); }
  .hero-mascot { max-width: 520px; margin: auto; }
  .hero-mascot img { border-radius: 22px; }
  .page-hero .hero-text { max-width: 540px; }
  .page-section { padding: 65px 0; }
  .section-intro { display: block; }
  .section-intro > p { margin-top: 22px; }
  .fact-rail strong { font-size: 1.15rem; }
  .fact-rail span { font-size: .75rem; }
  .fact-rail div { padding: 20px 10px; }
  .screenshot-gallery { gap: 20px; grid-template-columns: 1fr; }
  .screenshot-gallery figure { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 22px; padding: 18px 0; }
  .screen-link { border-width: 4px; border-radius: 18px; }
  .screenshot-gallery figure:nth-child(2) .screen-link { order: 2; }
  .screenshot-gallery figcaption { padding-top: 0; }
  .contact-band { padding: 32px 23px; }
  .service-grid, .process { grid-template-columns: 1fr; gap: 22px; }
  .service-item ul { columns: 2; column-gap: 30px; }
  .concept-title { font-size: 2.1rem; }
  .design-stage { margin-right: 12px; }
  .page-footer { margin-top: 65px; }
}
@media (max-width: 380px) {
  .fact-rail div { padding-inline: 8px; }
  .fact-rail strong { font-size: 1rem; }
  .screenshot-gallery figure { gap: 16px; }
  .screenshot-gallery figcaption strong { font-size: 1rem; }
  .screenshot-gallery figcaption p { font-size: .82rem; }
  .service-item ul { columns: 1; }
}
