/* ==========================================
   FILE: home.css
   PURPOSE: Homepage layout styles (stages, main hero, showcasing, ticker-strip, editorial rows, and story grid).

   Author: Shweta Studio
========================================== */

/* ==========================================
   HOMEPAGE HERO STAGE
========================================== */
.home-stage {
  align-items: center;
}

.stage-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.stage-copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.25rem, 7vw, 7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.stage-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

/* ==========================================
   HOME SHOWCASE & MINI LINK
========================================== */
.home-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.46fr);
  gap: 16px;
  min-height: 560px;
}

.mini-work-link {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--chalk);
}

.mini-work-link img {
  height: 100%;
  object-fit: cover;
}

.mini-work-link a {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.86);
  color: var(--charcoal);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 600;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

/* ==========================================
   EDITORIAL SECTION LAYOUT
========================================== */
.hero,
.ticker-strip,
.section-shell {
  border: 1px solid rgba(255, 253, 247, 0.86);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: stretch;
  padding: clamp(22px, 3vw, 40px);
}

.hero-quiet {
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--clay-dark);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  font-size: clamp(3.25rem, 7vw, 7.2rem);
}

.hero h1 span {
  display: block;
  color: var(--clay-dark);
}

.hero-text {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

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

/* ==========================================
   HERO PRODUCT GRID
========================================== */
.hero-product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.48fr);
}

.hero-main-piece {
  grid-row: span 2;
}

.hero-product-grid .image-swap {
  aspect-ratio: 4 / 4.8;
}

.hero-main-piece .image-swap {
  height: 100%;
  min-height: 560px;
}

/* ==========================================
   TICKER STRIP
========================================== */
.ticker-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 15px 18px;
}

.ticker-strip span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.72);
  margin: 0;
  color: var(--clay-dark);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ==========================================
   SECTION SHELL & HEADER
========================================== */
.section-shell {
  padding: clamp(22px, 3vw, 36px);
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-head-row h2 {
  margin-bottom: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
}

.section-head-row > div:first-child {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.section-intro {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.text-link {
  text-decoration: none;
  color: var(--clay-dark);
  font-size: 0.92rem;
  font-weight: 500;
}

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

/* ==========================================
   STORY CARD GRID
========================================== */
.story-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.76);
  padding: 22px;
  display: grid;
  gap: 12px;
}

.story-card span {
  margin: 0;
  color: var(--clay-dark);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-card h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
  font-weight: 500;
}

.story-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.story-card-wide {
  grid-column: span 1;
  background: linear-gradient(145deg, rgba(180, 95, 52, 0.12), rgba(255, 253, 247, 0.84));
}
