/* ==================================================================
   HUDSON VALLEY PROMOS: COMING SOON  (/coming-soon/)
   ------------------------------------------------------------------
   The page the web server shows until launch to anyone without the
   store password. Self-contained: the site's own stylesheets sit behind
   the password, so the brand colors and fonts are repeated here (the
   same values as assets/css/style.css).
   ================================================================== */
:root {
  --logo-forest: #0D5412;
  --logo-green:  #2F750B;
  --logo-lime:   #6ED10F;
  --logo-sky:    #009AE2;
  --logo-steel:  #2D83B3;
  --accent:      #1F6389;
  --accent-dark: #17506F;
  --ink:         #1B2426;
  --paper:       #FFFFFF;
  --band:        #F4F6F6;
  --line:        #E0E5E5;
  --muted:       #5E6A68;
  --tint:        #EAF2F6;
  --star:        #E8A33D;
  --bad:         #B42318;
  --display: 'Barlow Condensed', system-ui, sans-serif;
  --body:    'Barlow', system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 12px 30px rgba(27,36,38,.10);
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--logo-sky); outline-offset: 2px; border-radius: 4px; }
.sprite { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico {
  width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em;
}
.cs-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------- hero ---------------- */
.cs-hero {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, #D8ECF7 0%, var(--tint) 45%, #F7FBFD 100%);
  padding: clamp(1.75rem, 5vh, 3.5rem) 0 clamp(5rem, 11vh, 7.5rem);
}
.cs-hills { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(70px, 14vh, 150px); pointer-events: none; }
.cs-hills svg { width: 100%; height: 100%; display: block; }
.cs-hills .h1 { fill: var(--logo-lime); opacity: .22; }
.cs-hills .h2 { fill: var(--paper); }
.cs-hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cs-badge { width: clamp(150px, 22vh, 230px); height: auto; filter: drop-shadow(0 10px 22px rgba(13,84,18,.14)); }
.cs-pill {
  display: inline-flex; align-items: center; gap: .5rem; margin: 1.1rem 0 0;
  padding: .35rem .85rem; border-radius: 999px; background: rgba(255,255,255,.8);
  box-shadow: inset 0 0 0 1px rgba(31,99,137,.18);
  font-weight: 600; font-size: .9rem; letter-spacing: .02em; color: var(--accent-dark);
}
.cs-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--logo-lime); box-shadow: 0 0 0 3px rgba(110,209,15,.25); }
@media (prefers-reduced-motion: no-preference) {
  .cs-dot { animation: cs-pulse 2.4s ease-in-out infinite; }
  @keyframes cs-pulse { 50% { box-shadow: 0 0 0 7px rgba(110,209,15,0); } }
}
.cs-hero h1 {
  margin: .9rem 0 0; max-width: 17em;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.02; letter-spacing: .005em; color: var(--ink);
}
.cs-hero h1 span { display: block; color: var(--logo-green); }
.cs-lead { margin: 1rem auto 0; max-width: 40em; font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: #33403F; }
.cs-lead b { color: var(--ink); }
.cs-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.5rem; }

/* ---------------- buttons ---------------- */
.cs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.2rem; border-radius: var(--radius);
  font: 600 1rem/1.1 var(--body); text-decoration: none; white-space: nowrap;
  background: var(--paper); color: var(--ink); border: 1px solid #C9D4D6; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.cs-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.cs-btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.cs-btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.cs-btn:disabled { opacity: .7; cursor: default; }

/* ---------------- sections ---------------- */
.cs-sec { padding: clamp(2.25rem, 6vw, 4rem) 0; }
.cs-sec h2, .cs-gate h2 {
  margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.05; letter-spacing: .01em;
}
.cs-sub { margin: .4rem 0 0; color: var(--muted); }

.cs-grid {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.cs-grid li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem 1.2rem; transition: box-shadow .2s, border-color .2s, transform .2s;
}
.cs-grid li:hover { border-color: #C9DCE6; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) { .cs-grid li:hover { transform: translateY(-2px); } }
.cs-grid .cs-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center;
  background: linear-gradient(90deg, var(--tint), var(--paper)); }
.cs-grid .cs-wide .cs-ic { grid-row: span 2; margin: 0; }
.cs-ic {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: .7rem;
  border-radius: 12px; background: var(--tint); color: var(--accent);
}
.cs-ic .ico { width: 1.35rem; height: 1.35rem; }
.cs-grid h3 { margin: 0; font-size: 1.12rem; font-weight: 700; line-height: 1.2; }
.cs-grid p { margin: .35rem 0 0; color: var(--muted); font-size: .98rem; }

/* ---------------- visit ---------------- */
.cs-visit { background: var(--band); }
.cs-visit-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cs-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; }
.cs-card h2 { margin-bottom: .9rem; }
.cs-card address { font-style: normal; }
.cs-line { display: flex; gap: .65rem; align-items: flex-start; margin: 0 0 .7rem; }
.cs-line .ico { color: var(--accent); margin-top: .2em; }
.cs-line a { font-weight: 600; text-decoration: none; }
.cs-line a:hover { text-decoration: underline; }
.cs-hours .cs-line { margin-bottom: .35rem; font-weight: 600; }
.cs-hours dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.25rem; margin: 0 0 1rem 1.8rem; }
.cs-hours dt { color: var(--muted); }
.cs-hours dd { margin: 0; font-weight: 600; }
.cs-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.cs-link:hover { text-decoration: underline; }
.cs-note { margin: .2rem 0 1rem; color: var(--muted); font-size: .95rem; }
.cs-social { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.cs-social a {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 44px; min-height: 44px;
  padding: 0 .75rem; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600;
}
.cs-social a:hover { border-color: var(--accent); color: var(--accent-dark); }
.cs-star { fill: var(--star); stroke: var(--star); }

/* ---------------- password ---------------- */
.cs-gate { padding: clamp(2rem, 5vw, 3rem) 0; }
.cs-gate-form {
  max-width: 560px; margin: 0 auto; text-align: center;
  border: 1px dashed #C9D4D6; border-radius: var(--radius-lg); padding: 1.4rem 1.25rem 1.1rem;
}
.cs-gate h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.cs-gate-form > p { margin: .35rem 0 0; color: var(--muted); font-size: .98rem; }
.cs-gate-row { display: flex; gap: .5rem; margin-top: 1rem; }
.cs-gate-row input {
  flex: 1 1 auto; min-width: 0; min-height: 48px; padding: .6rem .85rem;
  border: 1px solid #C9D4D6; border-radius: var(--radius); font: 500 1rem var(--body); color: var(--ink); background: #fff;
}
.cs-gate-row input:focus { outline: 3px solid rgba(0,154,226,.35); outline-offset: 0; border-color: var(--accent); }
.cs-gate-row input[aria-invalid="true"] { border-color: var(--bad); }
.cs-gate-msg { min-height: 1.5em; margin: .6rem 0 0; font-size: .95rem; font-weight: 600; }
.cs-gate-msg.is-bad { color: var(--bad); }
.cs-gate-msg.is-ok { color: var(--logo-green); }

/* ---------------- footer ---------------- */
/* dark, like the site's footer: the Streber logo is white type */
.cs-foot { background: var(--ink); padding: 1.2rem 0 1.4rem; color: rgba(255,255,255,.72); font-size: .92rem; }
.cs-foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.cs-foot p { margin: 0; }
.cs-streber img { width: 140px; height: auto; opacity: .85; }
.cs-streber:hover img { opacity: 1; }

/* ---------------- smaller screens ---------------- */
@media (max-width: 900px) {
  .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cs-grid, .cs-visit-in { grid-template-columns: minmax(0, 1fr); }
  .cs-grid .cs-wide { display: block; }
  .cs-grid .cs-wide .cs-ic { margin-bottom: .7rem; }
  .cs-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .cs-card { padding: 1.2rem 1.1rem; }
  .cs-gate-row { flex-direction: column; }
  .cs-gate-row .cs-btn { width: 100%; }
  .cs-foot-in { flex-direction: column; text-align: center; }
}
/* a short laptop screen (1366 x 657 after the browser's own bars):
   the logo gives up a little height so the buttons stay in view */
@media (min-width: 900px) and (max-height: 700px) {
  .cs-badge { width: 150px; }
  .cs-hero { padding-top: 1.25rem; }
  .cs-hero h1 { font-size: 2.7rem; }
}
