/*
Theme Name: International Hydration Day
Description: A responsive coming-soon page with editable text over a clean water background.
Version: 1.0.0
Text Domain: hydration-coming-soon
*/

:root { color-scheme: light; --ink: #064873; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Arial, Helvetica, sans-serif; background: #147aa8; color: var(--ink); }
.hydration { position: relative; display: grid; place-items: center; isolation: isolate; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hydration__background { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hydration__copy { width: min(88vw, 960px); padding: 22px 0; text-align: center; transform: translateY(-1%); }
.hydration__title { margin: 0; font-weight: 500; line-height: 1.08; }
.hydration__eyebrow { display: block; margin: 0 0 .48em; padding-left: .24em; font-size: clamp(14px, min(1.82vw, 3.3svh), 30px); font-weight: 400; letter-spacing: .24em; text-transform: uppercase; line-height: 1.4; }
.hydration__name { display: block; font-size: clamp(34px, min(4.08vw, 7.3svh), 78px); letter-spacing: -.025em; text-transform: uppercase; }
.hydration__rule { display: block; width: clamp(32px, 3.45vw, 65px); height: 1px; margin: clamp(18px, 2.6svh, 30px) auto clamp(15px, 2.35svh, 28px); background: currentColor; opacity: .8; }
.hydration__status { margin: 0; padding-left: .31em; font-size: clamp(15px, min(1.88vw, 3.4svh), 32px); line-height: 1.5; font-weight: 600; letter-spacing: .31em; text-transform: uppercase; }
.hydration__date { margin: .38em 0 0; padding-left: .29em; font-size: clamp(12px, min(1.42vw, 2.6svh), 24px); line-height: 1.5; font-weight: 400; letter-spacing: .29em; text-transform: uppercase; }
.hydration__credit { position: absolute; bottom: max(22px, env(safe-area-inset-bottom)); left: 20px; right: 20px; margin: 0; text-align: center; font-size: clamp(13px, 1.25vw, 21px); line-height: 1.5; color: #fff; text-shadow: 0 1px 5px rgba(0, 47, 77, .8); }
.hydration__credit strong { font-weight: 600; }
body.admin-bar .hydration { min-height: calc(100svh - 32px); }
@media (max-width: 600px) {
  .hydration__copy { width: min(86vw, 400px); }
  .hydration__eyebrow { font-size: clamp(12px, 3.45vw, 17px); letter-spacing: .2em; padding-left: .2em; margin-bottom: .8em; }
  .hydration__name { max-width: 100%; font-size: clamp(32px, 8.45vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
  .hydration__rule { margin-top: 22px; margin-bottom: 18px; }
  .hydration__status { font-size: clamp(14px, 3.75vw, 20px); letter-spacing: .25em; padding-left: .25em; }
  .hydration__date { margin-top: .65em; font-size: 13px; letter-spacing: .25em; padding-left: .25em; }
  .hydration__credit { bottom: max(24px, env(safe-area-inset-bottom)); font-size: 13px; }
}
@media (max-height: 480px) and (min-width: 601px) {
  .hydration__copy { padding: 14px 0 28px; }
  .hydration__eyebrow { font-size: 13px; }
  .hydration__name { font-size: clamp(28px, 7svh, 38px); }
  .hydration__rule { margin: 12px auto; }
  .hydration__status { font-size: 14px; }
  .hydration__date { font-size: 11px; }
  .hydration__credit { bottom: 12px; font-size: 12px; }
}
@media (max-width: 782px) { body.admin-bar .hydration { min-height: calc(100svh - 46px); } }

