/* My Concierge Services, coming soon. One screen, brand colors from the
   main site (mcs-platform/app/globals.css). */

:root {
  --deep-green: #003831;
  --green: #004a3d;
  --ink: #00261f;
  --gold: #d99600;
  --gold-hover: #b87f00;
  --parchment: #f7f4ed;
  --sage: #e6efe9;
  --sage-deep: #a9c9b6;
  --wash: #fbf1dc;
  --danger: #a3341f;
  --charcoal: #28302d;
  --border: #e3ddcd;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--deep-green);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Brand bands behind the card */
.bands { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.band { position: absolute; left: -20%; width: 140%; height: 34vh; transform: rotate(-9deg); }
.band--gold { top: 14%; background: var(--gold); opacity: 0.9; }
.band--sage { bottom: -6%; background: var(--sage-deep); }

/* The card */
.frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0 clamp(12px, 2vw, 24px) clamp(12px, 2vw, 24px);
  box-shadow: 0 40px 100px rgba(0, 38, 31, 0.18);
  animation: rise 0.9s var(--ease) both;
}
.frame__top { display: flex; align-items: center; justify-content: center; gap: 0.65rem; padding: 1.25rem 0; font-family: var(--serif); font-size: 1.25rem; color: var(--deep-green); }
.frame__top img { width: 40px; height: 40px; }
.frame__foot { text-align: center; font-size: 0.8rem; color: rgba(0, 56, 49, 0.5); padding-top: 0.9rem; }

.stage {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  min-height: min(640px, 76vh);
  display: grid;
  place-items: center;
  padding: 4rem 1.25rem;
}

/* Rounded tile grid */
.tiles {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='116' height='116'%3E%3Crect x='6' y='6' width='104' height='104' rx='18' fill='%23003831' fill-opacity='0.04'/%3E%3C/svg%3E");
  background-position: center;
  mask-image: radial-gradient(ellipse at center, #000 45%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 45%, transparent 95%);
}

/* Floating photos */
.floaters { position: absolute; inset: 0; pointer-events: none; }
.float {
  position: absolute;
  width: var(--s, 120px);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 6px;
  background: var(--c, var(--gold));
  box-shadow: 0 20px 44px rgba(0, 56, 49, 0.18);
  animation: bob 7s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  rotate: var(--r, 0deg);
}
.float img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; }
.f1 { --s: 138px; --c: var(--gold); --r: -8deg; left: 5%; top: 14%; }
.f2 { --s: 96px; --c: var(--sage-deep); --r: 10deg; left: 12%; top: 46%; --delay: -2s; }
.f3 { --s: 120px; --c: var(--deep-green); --r: -4deg; left: 4%; bottom: 8%; --delay: -4s; }
.f4 { --s: 128px; --c: var(--sage-deep); --r: 8deg; right: 5%; top: 12%; --delay: -1s; }
.f5 { --s: 96px; --c: var(--gold); --r: -10deg; right: 12%; top: 44%; --delay: -3s; }
.f6 { --s: 132px; --c: var(--deep-green); --r: 6deg; right: 4%; bottom: 7%; --delay: -5s; }

/* Message */
.content { position: relative; z-index: 2; text-align: center; max-width: 34rem; }
.content > * { animation: rise 0.8s var(--ease) both; }
.content > :nth-child(2) { animation-delay: 0.08s; }
.content > :nth-child(3) { animation-delay: 0.16s; }
.content > :nth-child(4) { animation-delay: 0.24s; }
.content > :nth-child(n + 5) { animation-delay: 0.32s; }

.badge { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid rgba(217, 150, 0, 0.45); background: var(--wash); color: var(--gold-hover); border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-out infinite; }

h1 {
  margin: 1.1rem 0 0.9rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--deep-green);
}
.lede { color: var(--charcoal); font-size: 1.05rem; }

/* Notify form */
.notify { display: flex; gap: 0.6rem; margin: 2rem auto 0; max-width: 30rem; }
.notify input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--parchment);
  color: var(--deep-green);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.notify input::placeholder { color: rgba(40, 48, 45, 0.5); }
.notify input:focus { outline: none; border-color: var(--gold); background: #fff; }
.notify input[aria-invalid="true"] { border-color: var(--danger); }
.notify button {
  position: relative;
  height: 56px;
  padding: 0 1.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.notify button:hover { background: #eaa800; transform: translateY(-2px); }
.notify button:focus-visible { outline: 3px solid var(--deep-green); outline-offset: 3px; }
.notify button:disabled { cursor: wait; }
.spinner { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(0, 38, 31, 0.25); border-top-color: var(--ink); opacity: 0; }
.is-busy .label { opacity: 0; }
.is-busy .spinner { opacity: 1; animation: spin 0.7s linear infinite; }
.honey { position: absolute; left: -9999px; }
.shake { animation: shake 0.4s; }

.note { margin-top: 0.8rem; font-size: 0.88rem; color: rgba(40, 48, 45, 0.65); min-height: 1.4em; }
.note.is-error { color: var(--danger); }
.note.is-done { color: var(--green); font-weight: 600; }

/* Email us */
.contact { margin-top: 1.6rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; color: rgba(40, 48, 45, 0.7); font-size: 0.95rem; }
.contact[hidden] { display: none; }
.mail {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--deep-green);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.mail:hover { background: var(--sage); border-color: var(--gold); transform: translateY(-2px); }
.mail:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.mail svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Smaller screens: fewer, smaller photos, stacked form */
@media (max-width: 1100px) {
  .f2, .f5 { display: none; }
  .float { --s: 88px !important; }
  .f1 { top: 4%; left: -3%; }
  .f4 { top: 4%; right: -3%; }
  .f3 { bottom: 3%; left: -3%; }
  .f6 { bottom: 3%; right: -3%; }
}
@media (max-width: 560px) {
  .band { height: 24vh; }
  .stage { padding: 6.5rem 0.25rem; }
  .float { --s: 72px !important; }
  .notify { flex-direction: column; }
  .notify input[type="email"] { flex: none; }
  .notify button { width: 100%; }
  .frame__top { font-size: 1.05rem; }
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 150, 0, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(217, 150, 0, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
