/* George's Dashboard. Sandstone background, frosted glass panels.
   Colors and typefaces follow thecliffjamaica.com. */

:root {
  --navy: #3b4d6d;
  --navy-deep: #29364c;
  --teal: #015f64;
  --muted: #555e5f;
  --heading: "Tsukimi Rounded", sans-serif;
  --body: "Jost", sans-serif;
  --label: "Archivo", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  color: var(--navy-deep);
}

.sandstone {
  background-color: #e4cdb6;
  background-image:
    radial-gradient(900px 600px at 12% 8%, rgba(255, 247, 236, .9), rgba(255, 247, 236, 0) 60%),
    radial-gradient(800px 700px at 88% 20%, rgba(199, 149, 112, .55), rgba(199, 149, 112, 0) 62%),
    radial-gradient(1000px 700px at 70% 100%, rgba(184, 122, 76, .45), rgba(184, 122, 76, 0) 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(243, 240, 236, .8), rgba(243, 240, 236, 0) 60%),
    repeating-linear-gradient(172deg, rgba(255, 255, 255, .10) 0px, rgba(255, 255, 255, .10) 2px, rgba(120, 80, 50, .05) 2px, rgba(120, 80, 50, .05) 7px, rgba(255, 255, 255, 0) 7px, rgba(255, 255, 255, 0) 26px);
  background-attachment: fixed;
}

.glass {
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
}

a { color: var(--teal); text-underline-offset: 4px; }
a:hover { color: var(--navy-deep); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

h1 { margin: 0; font-family: var(--heading); font-weight: 500; font-size: 34px; line-height: 1.2; color: var(--navy-deep); }
h1.big { font-size: 42px; line-height: 1.15; }
p { margin: 0; }

.eyebrow { font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.eyebrow-dark { color: var(--navy-deep); font-size: 11px; letter-spacing: .24em; }
.eyebrow-muted { color: var(--muted); letter-spacing: .14em; }
.lead { font-size: 17px; line-height: 1.55; color: var(--muted); }
.lead.dark { font-size: 18px; color: var(--navy-deep); }
.fine { font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }
.footnote { font-size: 14px; color: var(--navy-deep); text-align: center; }
.status { min-height: 22px; font-size: 15px; line-height: 1.45; color: #8a2f1f; text-align: center; }
.status:empty { display: none; }

.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.stack-12 { display: flex; flex-direction: column; gap: 12px; }
.stack-28 { display: flex; flex-direction: column; gap: 28px; }

/* Sign in and setup screens */
.center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 48px 24px; }
.wordmark { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wordmark-name { font-family: var(--heading); font-size: 30px; font-weight: 500; letter-spacing: .04em; color: var(--navy-deep); }
.wordmark-name.small { font-size: 24px; }

.card {
  width: 100%;
  max-width: 460px;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(92, 60, 34, .18), inset 0 1px 0 rgba(255, 255, 255, .7);
}

input[type="email"] {
  height: 54px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid #bbbbbb;
  border-radius: 4px;
  background: rgba(255, 255, 255, .75);
  font-family: var(--body);
  font-size: 18px;
  color: var(--navy-deep);
}

.primary {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease;
}
.primary:hover { background: var(--navy-deep); }
.primary[disabled] { opacity: .7; cursor: progress; }

/* Dashboard */
.page { display: flex; flex-direction: column; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 5%; background: rgba(255, 255, 255, .4); border-bottom: 1px solid rgba(255, 255, 255, .7); }
.topbar-brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; }
.topbar-user { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.who { display: flex; align-items: center; gap: 10px; font-size: 16px; overflow-wrap: anywhere; }
.who-icon { display: flex; color: var(--teal); }
.linklike { min-height: 44px; padding: 0; border: 0; background: none; font-family: var(--body); font-size: 16px; color: var(--teal); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.linklike:hover { color: var(--navy-deep); }

.content { flex-grow: 1; width: 100%; padding: 48px 5% 56px; display: flex; flex-direction: column; gap: 36px; }
.bars { flex-grow: 1; display: flex; flex-wrap: wrap; gap: 16px; }

.bar {
  flex: 1 1 180px;
  min-width: 0;
  min-height: 440px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(92, 60, 34, .16), inset 0 1px 0 rgba(255, 255, 255, .7);
  color: var(--navy-deep);
  text-decoration: none;
  transition: transform .25s ease, filter .25s ease;
}
.bar:hover { color: var(--navy-deep); transform: translateY(-3px); filter: brightness(1.05); }
.bar-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 56px; }
.bar-name { font-family: var(--heading); font-size: 30px; line-height: 1.1; font-weight: 500; }
.bar-label { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.chip { width: 56px; height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #ffffff; }
.soon-label { text-align: right; line-height: 1.5; letter-spacing: .18em; font-size: 12px; }

/* Tinted glass: pale at the top where the words sit, deepening into each platform's color. */
.bar-spa { background: linear-gradient(180deg, rgba(255, 255, 255, .60) 0%, rgba(255, 255, 255, .36) 38%, rgba(1, 95, 100, .36) 100%); }
.bar-spa .chip { background: #015f64; }
.bar-weddings { background: linear-gradient(180deg, rgba(255, 255, 255, .60) 0%, rgba(255, 255, 255, .36) 38%, rgba(176, 84, 62, .42) 100%); }
.bar-weddings .chip { background: #a5503f; }
.bar-website { background: linear-gradient(180deg, rgba(255, 255, 255, .60) 0%, rgba(255, 255, 255, .36) 38%, rgba(214, 138, 52, .48) 100%); }
.bar-website .chip { background: #9a5f33; }
.bar-folissa { background: linear-gradient(180deg, rgba(255, 255, 255, .60) 0%, rgba(255, 255, 255, .36) 38%, rgba(59, 77, 109, .42) 100%); }
.bar-folissa .chip { background: #29364c; }
.bar-soon { background: linear-gradient(180deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .20) 38%, rgba(213, 176, 149, .40) 100%); border: 2px dashed rgba(41, 54, 76, .45); padding: 27px 23px; box-shadow: none; }
.bar-soon .chip { background: none; color: var(--navy-deep); border: 1.5px dashed rgba(41, 54, 76, .6); }

@media (max-width: 640px) {
  .card { padding: 36px 24px; }
  .bar { flex-basis: 100%; min-height: 0; }
  h1.big { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .bar, .primary { transition: none; }
  .bar:hover { transform: none; }
}
