/* Alpine Waters holding page. Tokens and the hero match the website (prototype.css, home-hero2). */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/figtree-latin.woff2") format("woff2"); }
:root {
  --schist: #f9f2e0; --tussock: #cfba7e; --teal: #0b655c; --beech: #052e1f;
  --f: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --s2: 16px; --s3: 24px; --s4: 32px; --max: 1200px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--schist); color: var(--beech); font-family: var(--f); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; display: flex; flex-direction: column; }
h1, p { margin: 0; text-wrap: balance; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--s4)); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px), min(var(--s4), 4vw)); padding-right: max(16px, env(safe-area-inset-right, 0px), min(var(--s4), 4vw)); }

.site-header { background: var(--schist); border-bottom: 1px solid var(--tussock); padding-top: env(safe-area-inset-top, 0px); }
/* As on the website: the logo's wave runs in from the left edge of the screen. */
.site-header .wrap { max-width: none; padding-left: 0; height: 84px; display: flex; align-items: center; }
.logo { height: 50px; width: auto; }

.hero { position: relative; flex: 1 0 auto; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--schist); background: var(--beech); overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,46,31,.78) 0%, rgba(5,46,31,.68) 38%, rgba(5,46,31,.36) 58%, rgba(5,46,31,0) 78%),
              linear-gradient(0deg, rgba(5,46,31,.38) 0%, rgba(5,46,31,0) 42%); }
.hero .wrap { position: relative; z-index: 2; }
.words { padding-block: clamp(72px, 8vw, 120px) clamp(56px, 6vw, 88px); display: grid; gap: var(--s3); }
.display { max-width: 660px; font-weight: 300; font-size: clamp(46px, 6.6vw, 96px); line-height: .98; letter-spacing: -.025em; text-shadow: 0 2px 30px rgba(5,46,31,.35); }
.intro { max-width: 660px; font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; line-height: 1.45; text-shadow: 0 1px 14px rgba(5,46,31,.55); }

.about { padding-block: clamp(28px, 3vw, 40px); padding-bottom: max(clamp(28px, 3vw, 40px), env(safe-area-inset-bottom, 0px)); }
.about p { max-width: none; font-size: clamp(17px, 1.3vw, 18px); line-height: 1.55; }

@media (max-width: 900px) {
  .hero::before { background: linear-gradient(180deg, rgba(5,46,31,0) 0%, rgba(5,46,31,.12) 38%, rgba(5,46,31,.72) 68%, rgba(5,46,31,.9) 100%); }
}
@media (max-width: 640px) {
  .site-header .wrap { height: 68px; }
  .logo { height: 38px; }
}

@media (max-height: 720px) and (min-width: 641px) {
  .words { padding-block: 40px 36px; }
  .display { font-size: clamp(40px, 9vh, 72px); }
  .about { padding-block: 24px; }
}
