/* Lanna Hills Resort (Twenty Twenty-Five). Idea: refero.design "Atlas — reflected worlds of access" (design-refs/resort.md):
   black theater, silver book-weight headlines, color only inside photographs, metal pill + charcoal rectangle actions, mono captions. */
body {
  --wp--preset--color--base: #000;
  --wp--preset--color--contrast: #f8f8f8;
  --wp--preset--color--accent-4: #808080;
  --wp--preset--color--accent-5: #141414;
  --wp--preset--color--accent-6: #272727;
  --wp--preset--font-family--manrope: "Inter", "Anuphan", system-ui, sans-serif;
  --r-mono: "Roboto Mono", "Anuphan", ui-monospace, monospace;
  background: #000;
  color: #f8f8f8;
  font-family: "Inter", "Anuphan", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
}
body a { color: #f8f8f8; text-decoration-color: #4a4a4a; text-underline-offset: 4px; }
body a:hover { text-decoration-color: #f8f8f8; }
body :focus-visible { outline: 2px solid #f8f8f8; outline-offset: 3px; }

/* headings: silver objects in black space (Thai needs ≥1.25 line-height, no negative tracking) */
body h1, body h2, body h3, body h4 { font-family: "Inter", "Anuphan", sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.3; color: #f8f8f8; }
body h2.wp-block-heading { font-size: clamp(2rem, 4.2vw, 3.6rem); }
body h3.wp-block-heading { font-size: clamp(1.25rem, 2vw, 1.75rem); }
body .wp-block-post-content > p, body .wp-block-column p, body li { color: #b4b4b4; }

/* header: black bar, mono uppercase name, quiet gray navigation */
body header.wp-block-template-part { background: #000; border-bottom: 1px solid #272727; position: sticky; top: 0; z-index: 30; }
body header .wp-block-site-title a { font-family: var(--r-mono); font-weight: 500; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
body header .wp-block-navigation a { color: #a8a8a8; font-size: 15px; text-decoration: none; }
body header .wp-block-navigation a:hover, body header .wp-block-navigation [aria-current] { color: #fff; }
body .wp-block-navigation__responsive-container.is-menu-open { background: #000; color: #f8f8f8; }

/* opening = a portal: tall full-bleed stage, centered silver headline */
body .wp-block-cover.alignfull { min-height: 88vh !important; }
body .wp-block-cover .wp-block-cover__background { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 70%, #000 100%) !important; opacity: 1 !important; }
body .wp-block-cover h1, body .wp-block-cover h2 {
  font-size: clamp(2.2rem, 4.4vw, 4.2rem) !important; font-weight: 400; line-height: 1.25; text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.55)); -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
body .wp-block-cover .wp-block-cover__inner-container { max-width: 1040px; }
body .wp-block-cover p { color: #d0d0d0 !important; font-size: 1.05rem; max-width: 40rem; margin-inline: auto; }

/* actions: compact metal pill (main) and 18px-corner charcoal rectangle (explore) */
body .wp-block-button__link {
  min-height: 48px; padding: 12px 28px; border-radius: 999px; border: 0;
  background: linear-gradient(180deg, #ffffff 0%, #d9d9d9 55%, #bdbdbd 100%) !important; color: #0f0f0f !important;
  font-weight: 600; font-size: 15px; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 20px rgba(0,0,0,.4);
}
body .is-style-outline .wp-block-button__link {
  background: #1e1e1e !important; color: #f8f8f8 !important; border: 1px solid #272727 !important; border-radius: 18px; box-shadow: none;
}
body .wp-block-button__link:hover { filter: brightness(1.08); }

/* information as a narrow island; dark panels and 1px dark rules */
body main .wp-block-columns .wp-block-column { background: #0d0d0d; border: 1px solid #272727; padding: 28px; }
body main .wp-block-columns .wp-block-column:has(> .wp-block-image:only-child) { padding: 0; border: 0; background: none; }
body .has-background, body .wp-block-group.has-background { background: #141414 !important; color: #f8f8f8 !important; border-top: 1px solid #272727; border-bottom: 1px solid #272727; }
body [style*="color:#6b6b6b"], body .has-text-color[style*="6b6b6b"] { color: #9a9a9a !important; }
body .wp-block-image img { border-radius: 0; }
body figcaption, body .wp-element-caption { font-family: var(--r-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #808080; }
body table, body th, body td { border-color: #272727 !important; }
body th { color: #f8f8f8; font-weight: 600; }
body details { border-bottom: 1px solid #272727; padding: 14px 0; }
body summary { cursor: pointer; color: #f8f8f8; }
body hr, body .wp-block-separator { border-color: #272727; }
body blockquote, body .wp-block-quote { border-left: 1px solid #808080; color: #d0d0d0; }

/* posts list, forms */
body .wp-block-latest-posts a, body .wp-block-post-title a { color: #f8f8f8; }
body input, body textarea, body select { background: #141414; color: #f8f8f8; border: 1px solid #272727; }

/* footer: compact, mono uppercase links */
body footer.wp-block-template-part { background: #000; border-top: 1px solid #272727; }
body footer.wp-block-template-part a { font-family: var(--r-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #a8a8a8; text-decoration: none; }
body footer.wp-block-template-part p { color: #808080; font-size: 14px; }

/* stats band: numbers stay on one line, no boxed columns inside the band */
body main .has-background .wp-block-column { background: none !important; border: 0 !important; padding: 8px 0 !important; }
body main .has-background { max-width: none !important; }
body main .has-background .wp-block-columns { max-width: 1040px; margin-inline: auto; }
body main .has-background strong, body main .has-background h3, body main .has-background .has-large-font-size { white-space: nowrap; font-weight: 400; }
body .wp-block-latest-posts.is-grid li { display: flex; flex-direction: column; justify-content: flex-start; }
/* the theme's sample footer menu points nowhere */
body footer.wp-block-template-part .wp-block-navigation { display: none; }

/* theme credit row ("Twenty Twenty-Five / Designed with WordPress") → the resort's own line */
body footer.wp-block-template-part .wp-block-group.alignfull:has(a[href*="wordpress.org"]) { display: none; }
body footer.wp-block-template-part > .wp-block-group::after {
  content: "© 2026 Lanna Hills Resort · อ.แม่แตง เชียงใหม่ · ธุรกิจสมมติเพื่อการสาธิต"; display: block; margin-top: 48px; padding-top: 20px; border-top: 1px solid #272727;
  font-family: var(--r-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #808080;
}
body { --wpm-accent: #f8f8f8; }
