/* style.css — Susan Bloom Gallery homepage
   Requires design.css to be loaded first. */

/* ── HERO ───────────────────────────────────────────────────────────── */
.hero {
  height: 100vh; min-height: 600px;
  position: relative; overflow: hidden;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
}

.hero-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg picture { display: contents; }
.hero-bg img {
  width: 160vmax; height: 160vmax;
  max-width: none;
  flex-shrink: 0;
  object-fit: cover; display: block;
  animation: spin 80s linear infinite;
  opacity: 0.55;
  border-radius: 50%;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(14,14,12,0.05) 0%,
    rgba(14,14,12,0.52) 55%,
    rgba(14,14,12,0.88) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: clamp(40px,6vw,80px) clamp(32px,5vw,72px);
  max-width: 760px;
}

.hero-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 300; line-height: 0.9;
  letter-spacing: -0.02em; color: #fff; margin-bottom: 32px;
}
.hero-title em { font-style: italic; font-weight: 300; }
.hero-quote {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 22px); font-style: italic;
  font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 540px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-btn-outline {
  border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.7);
}
.hero-btn-outline:hover { border-color: #fff; color: #fff; }

@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .marquee-track { animation: none; }
}

/* ── MARQUEE ─────────────────────────────────────────────────────────── */
.marquee-section {
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 14px 0; overflow: hidden; background: #fff;
}
.marquee-track {
  display: flex; animation: marquee 30s linear infinite; width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  white-space: nowrap; padding: 0 28px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 28px;
}
.marquee-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}

/* ── COLLECTION SECTION ──────────────────────────────────────────────── */
.home-collection {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(64px,8vw,96px) var(--pad);
}
.home-section-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 40px;
}
.home-section-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.home-section-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px,4vw,52px);
  font-weight: 300; line-height: 1.1; color: var(--black);
}
.home-section-heading em { font-style: italic; }

.editorial-grid {
  display: grid; grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto; gap: 3px;
}
.edit-cell {
  position: relative; overflow: hidden;
  background: var(--dark); cursor: pointer; display: block;
}
.edit-cell-main { grid-row: span 2; aspect-ratio: 3 / 4; }
.edit-cell-b { aspect-ratio: 4 / 3; }
.edit-cell-c { aspect-ratio: 4 / 3; }
.edit-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease), opacity 0.3s;
  opacity: 0.88;
}
.edit-cell:hover img { transform: scale(1.04); opacity: 1; }
.edit-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(10,10,8,0.82) 0%, transparent 100%);
  pointer-events: none;
}
.edit-label {
  font-family: var(--font-serif); font-size: 22px;
  color: #fff; display: block; letter-spacing: 0.02em;
}
.edit-price {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.5); letter-spacing: 0.14em;
  text-transform: uppercase; display: block; margin-top: 4px;
}

/* ── MANDALA STRIP ───────────────────────────────────────────────────── */
.mandala-strip-section {
  background: var(--dark);
  padding: clamp(56px,7vw,80px) var(--pad);
}
.mandala-strip-inner { max-width: 1400px; margin: 0 auto; }
.strip-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 32px;
}
.strip-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 8px;
}
.strip-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px,4vw,48px); font-weight: 300;
  color: #fff; line-height: 1.1;
}
.strip-heading em { font-style: italic; }
.strip-link {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  border-bottom: 1px solid rgba(255,255,255,0.2); padding: 10px 0 2px;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
  display: inline-block;
}
.strip-link:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

.mandala-row {
  display: grid; grid-template-columns: repeat(13,1fr); gap: 3px;
}
.mandala-tile {
  position: relative; overflow: hidden;
  aspect-ratio: 1/1; cursor: pointer; display: block;
}
.mandala-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0.7; transition: opacity 0.25s, transform 0.4s var(--ease);
}
.mandala-tile:hover img { opacity: 1; transform: scale(1.08); }
.mandala-tile-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: 18px 6px 5px;
  font-size: 7px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
  text-align: center; pointer-events: none;
  opacity: 0; transition: opacity 0.2s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mandala-tile:hover .mandala-tile-name { opacity: 1; }

/* ── ABOUT ───────────────────────────────────────────────────────────── */
.home-about {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(64px,8vw,112px) var(--pad);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px,7vw,96px); align-items: start;
}
.about-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--green); margin-bottom: 20px;
}
.about-heading {
  font-family: var(--font-serif);
  font-size: clamp(38px,4vw,56px); font-weight: 300;
  line-height: 1.1; color: var(--black); margin-bottom: 32px;
}
.about-heading em { font-style: italic; }
.about-quote {
  font-family: var(--font-serif);
  font-size: clamp(18px,2.2vw,24px); font-style: italic;
  font-weight: 300; line-height: 1.65; color: var(--black);
  border-left: 2px solid var(--green); padding-left: 24px;
  margin-bottom: 28px;
}
.about-body {
  font-size: 16px; line-height: 1.9; color: #666660;
  font-weight: 300; margin-bottom: 12px;
}
.about-cta { margin-top: 28px; }
.about-image-col {
  position: sticky; top: 80px;
  display: flex; flex-direction: column; gap: 3px;
}
.about-img-main {
  background: var(--dark); aspect-ratio: 1/1; overflow: hidden;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.about-img-small {
  background: var(--dark); aspect-ratio: 1/1; overflow: hidden;
}
.about-img-small img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.8; }

/* ── EMAIL CAPTURE ───────────────────────────────────────────────────── */
.home-testimonials {
  padding: clamp(56px,7vw,88px) var(--pad);
  background: var(--cream);
}
.ht-inner {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 40px;
}
.ht-quote {
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.ht-text {
  font-family: var(--font-serif); font-size: clamp(15px,1.5vw,18px);
  font-weight: 300; font-style: italic; line-height: 1.65;
  color: var(--ink); margin: 0;
}
.ht-cite {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(0,0,0,0.4);
}
@media (max-width: 680px) {
  .ht-inner { grid-template-columns: 1fr; gap: 32px; }
}

.email-section {
  background: var(--dark);
  padding: clamp(64px,8vw,96px) var(--pad);
}
.email-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.email-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px;
}
.email-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px,5vw,56px); font-weight: 300;
  line-height: 1.1; color: #fff; margin-bottom: 16px;
}
.email-heading em { font-style: italic; }
.email-sub {
  font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.4);
  font-weight: 300; margin-bottom: 36px;
}
.email-form { display: flex; max-width: 420px; margin: 0 auto; }
.email-input {
  flex: 1; padding: 15px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12); border-right: none;
  border-radius: 2px 0 0 2px;
  color: #fff; font-size: 13px; font-family: var(--font-sans);
  outline: none; transition: border-color 0.2s;
}
.email-input::placeholder { color: rgba(255,255,255,0.25); }
.email-input:focus { border-color: rgba(255,255,255,0.35); }
.email-btn {
  padding: 15px 22px;
  background: var(--green); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; font-family: var(--font-sans);
  border: 1px solid var(--green);
  border-radius: 0 2px 2px 0;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.email-btn:hover { background: #245c3a; }
.email-note { font-size: 11px; color: rgba(255,255,255,0.22); margin-top: 14px; }
.email-success { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 16px; }

/* ── PROCESS ─────────────────────────────────────────────────────────── */
.process-section {
  background: var(--bg);
  padding: clamp(64px,8vw,96px) var(--pad);
  border-top: 1px solid var(--rule);
}
.process-inner { max-width: 1400px; margin: 0 auto; }
.process-intro {
  max-width: 680px; margin: 0 auto 64px; text-align: center;
}
.process-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--green); margin-bottom: 16px;
}
.process-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px,4vw,52px); font-weight: 300;
  line-height: 1.1; color: var(--black); margin-bottom: 20px;
}
.process-heading em { font-style: italic; }
.process-desc {
  font-size: 16px; line-height: 1.85; color: #666660; font-weight: 300;
}
.process-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,3vw,40px);
}
.process-cell { display: flex; flex-direction: column; }
.process-img {
  aspect-ratio: 1/1; overflow: hidden; background: var(--dark); margin-bottom: 20px;
}
.process-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease); opacity: 0.88;
}
.process-cell:hover .process-img img { transform: scale(1.04); opacity: 1; }
.process-source {
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.process-caption {
  font-size: 14px; line-height: 1.75; color: #666660; font-weight: 300;
}

/* ── SACRED GEOMETRY ─────────────────────────────────────────────────── */
.geom-section {
  background: var(--dark);
  padding: clamp(64px,8vw,96px) var(--pad);
}
.geom-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px,7vw,96px); align-items: start;
}
.geom-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px;
}
.geom-heading {
  font-family: var(--font-serif);
  font-size: clamp(38px,4vw,56px); font-weight: 300;
  line-height: 1.1; color: #fff; margin-bottom: 32px;
}
.geom-heading em { font-style: italic; }
.geom-quote {
  font-family: var(--font-serif);
  font-size: clamp(17px,2vw,22px); font-style: italic;
  font-weight: 300; line-height: 1.7; color: rgba(255,255,255,0.8);
  border-left: 2px solid var(--green); padding-left: 24px;
  margin-bottom: 32px;
}
.geom-body {
  font-size: 15px; line-height: 1.9; color: rgba(255,255,255,0.45);
  font-weight: 300; margin-bottom: 14px;
}
.geom-images {
  display: flex; flex-direction: column; gap: 3px;
  position: sticky; top: 80px;
}
.geom-img {
  position: relative; aspect-ratio: 1/1; overflow: hidden; background: #111;
}
.geom-img img {
  width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85;
  transition: opacity 0.3s;
}
.geom-img:hover img { opacity: 1; }
.geom-img-label {
  position: absolute; bottom: 12px; left: 16px;
  font-size: 9px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .home-about { grid-template-columns: 1fr; gap: 40px; }
  .about-image-col { position: relative; top: 0; }
  .mandala-row { grid-template-columns: repeat(7,1fr); }
  .geom-inner { grid-template-columns: 1fr; gap: 40px; }
  .geom-images { position: relative; top: 0; display: grid; grid-template-columns: 1fr 1fr; flex-direction: unset; }
}
@media (max-width: 768px) {
  .hero { min-height: 100svh; }

  .editorial-grid { grid-template-columns: 1fr; }
  .edit-cell-main { grid-row: span 1; aspect-ratio: 4/3; }
  .mandala-row { grid-template-columns: repeat(5,1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-intro { margin-bottom: 40px; }
  /* Email form: stack input + button vertically on phones */
  .email-form { flex-direction: column; max-width: 360px; }
  .email-input { border-right: 1px solid rgba(255,255,255,0.12); border-radius: 2px 2px 0 0; }
  .email-btn { border-radius: 0 0 2px 2px; text-align: center; }
}
@media (max-width: 480px) {
  .mandala-row { grid-template-columns: repeat(4,1fr); }
  .hero-title { font-size: clamp(56px, 16vw, 80px); }
  .hero-quote { font-size: 15px; }
}
