/* home.css — OWNED BY the home screen session.
   brand.css (tokens) + app.css (components) are loaded first; this file adds
   only home-view styles. One accent (--athera-blue). Generous whitespace. */

/* --------------------------------------------------------------------------
   Hero — editorial left column + a navy "portfolio index" card (signature)
   -------------------------------------------------------------------------- */

.home-hero {
  padding-top: var(--space-7);
  padding-bottom: var(--space-6);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-6);
  align-items: center;
}

.home-hero-rule {
  margin: var(--space-4) 0;
}

.home-hero-title {
  font-family: var(--athera-display);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--athera-charcoal);
  margin: 0;
}
.home-hero-title .mark { color: var(--athera-blue); }

.home-hero-lede {
  font-family: var(--athera-sans);
  font-weight: 300;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.7;
  color: var(--athera-charcoal-light);
  max-width: 33em;
  margin: 0 0 var(--space-4);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

/* Navy portfolio card — grounded in the live demo dataset */
.home-portfolio {
  background: var(--athera-navy);
  border: 1px solid var(--athera-line-dark);
  border-radius: var(--radius);
  padding: var(--space-4);
  position: relative;
  overflow: hidden;
}
.home-portfolio-motif {
  position: absolute;
  top: -64px;
  right: -64px;
  width: 220px;
  height: 220px;
  pointer-events: none;
  opacity: 0.5;
}
.home-portfolio-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  position: relative;
  margin-bottom: var(--space-3);
}
.home-portfolio-eyebrow {
  font-family: var(--athera-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--athera-blue);
}
.home-portfolio-meta {
  font-family: var(--athera-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.home-portfolio-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-portfolio-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-top: 1px solid var(--athera-line-dark);
}
.home-portfolio-item:first-child { border-top: none; }
.home-portfolio-name {
  font-family: var(--athera-display);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
}
.home-portfolio-where {
  font-family: var(--athera-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}
.home-portfolio-rooms {
  font-family: var(--athera-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  flex: 0 0 auto;
}
.home-portfolio-rooms .num { color: var(--athera-blue-light); }

.home-portfolio-foot {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--athera-line-dark);
  font-family: var(--athera-sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

/* Quiet fallback line if the portfolio can't be loaded */
.home-portfolio-fallback {
  list-style: none;
  font-family: var(--athera-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

/* Skeleton lines while the portfolio loads */
.home-portfolio-skel {
  height: 16px;
  margin: var(--space-3) 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 37%, rgba(255,255,255,0.06) 63%);
  background-size: 400% 100%;
  animation: os-shimmer 1.4s ease infinite;
  border-radius: var(--radius-sm);
}
.home-portfolio-skel.is-short { width: 60%; }

/* --------------------------------------------------------------------------
   How it works — an ordered index (the steps are a real sequence)
   -------------------------------------------------------------------------- */

.home-how { padding-top: var(--space-6); }

.home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  counter-reset: step;
}
.home-step {
  border-top: 1px solid var(--athera-line);
  padding-top: var(--space-3);
}
.home-step-num {
  font-family: var(--athera-mono);
  font-size: 11px;
  color: var(--athera-blue-deep);
  letter-spacing: 0.04em;
}
.home-step-title {
  font-family: var(--athera-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--athera-charcoal);
  margin: var(--space-2) 0 var(--space-1);
}
.home-step-text {
  font-family: var(--athera-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--athera-grey);
  margin: 0;
}

/* --------------------------------------------------------------------------
   What this is / isn't + the decision-support callout
   -------------------------------------------------------------------------- */

.home-note { padding-top: var(--space-6); }

.home-note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-4);
}
.home-note-eyebrow {
  display: block;
  font-family: var(--athera-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--athera-grey);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--athera-line);
}
.home-note-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-note-list li {
  position: relative;
  padding-left: var(--space-3);
  margin-bottom: var(--space-2);
  font-family: var(--athera-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--athera-charcoal-light);
}
.home-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1px;
  background: var(--athera-blue);
}
.home-note-list.is-isnt li::before { background: var(--athera-grey-light); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .home-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .home-steps { grid-template-columns: 1fr; }
  .home-note-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}
