/**
 * Aalay Living — holding page
 * Layout, type and components match www.aalaycollective.com.
 * Colours taken from the Aalay Living logo (deep teal + periwinkle dot).
 */

:root {
  --primary: #0b4a45;
  --primary-hover: #083b37;
  --secondary: #072b31;       /* logo background green */
  --primary-rgb: 11, 74, 69;
  --secondary-rgb: 7, 43, 49;
  --accent: #8f93ff;          /* the dot in the Living logo */
  --accent-rgb: 143, 147, 255;
  --text: #072b31;
  --muted: rgba(var(--secondary-rgb), 0.66);
  --bg: #ffffff;
  --bg-muted: rgba(var(--accent-rgb), 0.09);
  --border: rgba(var(--secondary-rgb), 0.14);
  --ring: 0 0 0 4px rgba(var(--primary-rgb), 0.18);
  --radius: 5px;
  --header-h: 111px;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body.site {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.site a { color: inherit; text-decoration: none; }

.container {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

/* Logo sized and positioned to match the Aalay Collective logo:
   wordmark ~124px wide, top edge ~25px from the top of the page. */
.brand { display: inline-flex; align-self: flex-start; margin-top: 4px; }

.brand-mark {
  display: block;
  width: 125px;
  height: 56.7px;
}

.header-link {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.16s ease;
}

.header-link:hover { color: var(--text); }

/* --- Hero --- */
main { flex: 1; display: flex; }

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 110px) 0 110px;
  background: linear-gradient(180deg, var(--bg-muted) 0%, var(--bg) 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.25);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0.12); }
}

.hero-title {
  max-width: 860px;
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero-sub {
  margin: 0 0 34px;
  max-width: 660px;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.97rem;
  border: 1px solid transparent;
  transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .header-link:focus-visible, .brand:focus-visible { outline: none; box-shadow: var(--ring); }

.btn-primary { background: var(--primary); color: #fff !important; }
.btn-primary:hover { background: var(--primary-hover); }

.btn-ghost { border-color: var(--border); color: var(--text); background: var(--bg); }
.btn-ghost:hover { border-color: rgba(var(--primary-rgb), 0.45); }

/* --- Footer --- */
.footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

.footer-inner { display: flex; justify-content: flex-end; }

.copyright { margin: 0; font-size: 12px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  .btn { transition: none; }
}

/* --- Responsive --- */
@media (max-width: 720px) {
  :root { --header-h: 103px; }
  .header { padding: 16px 18px; }
  .container { padding: 0 18px; }
  .header-link { font-size: 0.85rem; }
  .hero { padding: calc(var(--header-h) + 60px) 0 70px; }
  .btn { width: 100%; }
  .footer-inner { justify-content: flex-start; }
}
