/* Aibo Arts — landing page */
:root {
  --ink: #14110e;
  --ink-soft: #1c1915;
  --paper: #f4efe6;
  --paper-dim: #e7e0d3;
  --copper: #c4622a;
  --copper-light: #e8a87c;
  --copper-deep: #9a4318;
  --muted: #8a8276;
  --line: rgba(244, 239, 230, 0.14);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --script: "Great Vibes", "Allura", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.brand-name span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-light);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--copper);
  border-radius: 999px;
  color: var(--paper);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.header-cta:hover { background: var(--copper); color: #fff; }

/* Hero */
.hero {
  padding: 72px 0 80px;
  display: grid;
  gap: 32px;
}

.eyebrow {
  color: var(--copper-light);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--copper-light);
}

.hero-lead {
  font-size: 1.15rem;
  color: #c9c1b4;
  max-width: 38ch;
  margin: 0 0 32px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--copper);
  color: #fff;
}

.btn-primary:hover { background: var(--copper-deep); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
}

.btn-ghost:hover { border-color: var(--paper); }

/* Services */
.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-lead {
  color: #c9c1b4;
  max-width: 46ch;
  margin: 0 0 40px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px 22px;
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--copper-light);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: #b8b0a3;
  font-size: 0.98rem;
}

/* How it works */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--copper);
  min-width: 2.2ch;
  line-height: 1.2;
  padding-top: 2px;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: #b8b0a3;
}

/* Contact */
.contact-panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: 36px 28px;
}

.contact-panel h2 { color: var(--ink); }

.contact-panel .section-lead { color: #5c564c; margin-bottom: 28px; }

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid #ddd4c6;
}

.contact-list span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7368;
}

.contact-list a,
.contact-list strong {
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
}

.contact-list a:hover { color: var(--copper-deep); }

.note {
  margin: 24px 0 0;
  font-size: 0.9rem;
  color: #6f685c;
}

/* Footer */
.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }

.footer-signoff {
  margin: 22px 0 0;
  text-align: center;
}

.footer-signoff .hashtag-flourish { font-size: 2.05rem; }

@media (min-width: 720px) {
  .hero { padding: 96px 0 108px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .step { grid-template-columns: 1fr; }
  .contact-panel { padding: 48px 52px; }
}

@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Header nav + shop links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-shop {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--paper);
}

.header-shop:hover { color: var(--copper-light); }

[data-shop-link][hidden] { display: none !important; }

/* Featured pieces */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.product-card {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-image {
  position: relative;
  aspect-ratio: 5 / 4;
  background: #241e19;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: var(--copper);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
}

.product-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 600;
}

.product-price {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--copper-light);
}

.product-body .btn {
  width: 100%;
  margin-top: auto;
}

.shop-more {
  display: flex;
  justify-content: center;
  margin: 28px 0 0;
}

@media (min-width: 720px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Hero video slot */
.hero-media[hidden] { display: none !important; }

.hero-media {
  width: min(190px, 54vw);
  margin: 4px auto 0;
}

@media (max-width: 859px) {
  .hero.has-video { padding: 52px 0 36px; }
}

.hero.has-video { align-items: center; }

@media (min-width: 860px) {
  .hero.has-video {
    grid-template-columns: 1fr min(280px, 32vw);
    gap: 48px;
  }
  .hero-media {
    width: min(280px, 32vw);
    margin: 0;
  }
}

/* From the studio */
.video-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.video-row::-webkit-scrollbar { height: 6px; }
.video-row::-webkit-scrollbar-thumb {
  background: rgba(244, 239, 230, 0.2);
  border-radius: 99px;
}

.video-card {
  flex: 0 0 min(250px, 72vw);
  scroll-snap-align: start;
  min-width: 0;
}

.video-card.is-hero { flex-basis: auto; width: 100%; }

.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: #1c1915;
  border: 1px solid var(--line);
}

.video-frame video,
.video-frame iframe,
.video-embed-poster,
.video-embed-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #1c1915;
}

.video-embed-fallback {
  display: grid;
  place-items: center;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.video-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  z-index: 1;
}

.video-overlay:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: -4px;
}

.video-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  color: #fff;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.video-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.video-icon .icon-sound { display: none; }

.video-overlay[data-state="muted"] {
  justify-content: flex-end;
  padding-bottom: 22px;
  background: linear-gradient(to top, rgba(20, 17, 14, 0.45), transparent 45%);
}

.video-overlay[data-state="muted"] .video-icon {
  width: 42px;
  height: 42px;
  background: rgba(20, 17, 14, 0.78);
  border: 1px solid rgba(244, 239, 230, 0.25);
}

.video-overlay[data-state="muted"] .icon-play { display: none; }
.video-overlay[data-state="muted"] .icon-sound { display: block; }

.video-overlay[data-state="playing"] .video-icon {
  opacity: 0;
  transform: scale(0.9);
}

.video-overlay[data-state="playing"] {
  background: transparent;
}

@media (hover: hover) {
  .video-card:hover .video-overlay[data-state="playing"] .video-icon {
    opacity: 1;
  }
}

.video-hint {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.video-overlay[data-state="playing"] .video-hint { display: none; }

.video-title {
  margin: 12px 2px 0;
  font-size: 1rem;
  font-weight: 550;
}

.video-frame .example-badge { z-index: 2; }

@media (min-width: 860px) {
  .video-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
    overflow: visible;
  }
  .video-card { flex: none; }
}

/* #DoingABusiness flourish */
.hashtag-flourish {
  font-family: var(--script);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--copper-light);
  text-decoration: none;
}

a.hashtag-flourish:hover { color: var(--paper); }

.hero-signoff {
  margin: 28px 0 0;
}

.hero-signoff .hashtag-flourish {
  font-size: clamp(2.1rem, 7vw, 2.85rem);
}

.campaign-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0 0 16px;
}

.campaign-title .campaign-kicker {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--paper);
}

.campaign-title .hashtag-flourish {
  font-size: clamp(3.1rem, 12vw, 5.2rem);
  padding-bottom: 0.12em;
  line-height: 1.05;
}

.campaign-share-label {
  margin: 0 0 12px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.campaign-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.campaign-share .btn {
  min-height: 44px;
  padding: 10px 18px;
}

#campaign[hidden],
#campaign-row[hidden] { display: none !important; }
