/* ASBN Labs — studio homepage (agency-style design) */

:root {
  --cream: #f8f0e3;
  --cream-2: #fbf6ec;
  --line-2: rgba(43, 33, 24, 0.12);
  --ink-2: #241a10;
  --ink-soft-2: #6b5f4f;
  --brown: #6b4322;
  --gold: #d99a55;
  --gold-2: #e7b878;
  --gradient-cta: linear-gradient(135deg, #8a5225, #d99a55);
  --card-olive: linear-gradient(150deg, #f2f1dc 0%, #e2e2b4 45%, #c7cc8f 100%);
  --glass-olive: linear-gradient(150deg, rgba(242, 241, 220, 0.55) 0%, rgba(226, 226, 180, 0.42) 45%, rgba(199, 204, 143, 0.40) 100%);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-blur: blur(22px) saturate(150%);
}

section[id],
footer[id] {
  scroll-margin-top: 90px;
}

body.home {
  background:
    radial-gradient(1100px 720px at 12% -8%, rgba(217, 154, 85, 0.28), transparent 60%),
    radial-gradient(900px 640px at 92% 6%, rgba(107, 67, 34, 0.20), transparent 55%),
    radial-gradient(1000px 700px at 50% 110%, rgba(201, 205, 147, 0.30), transparent 60%),
    var(--cream);
  background-attachment: fixed;
  background-size: 100% 100%;
  color: var(--ink-2);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.home-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- nav ---------- */
header.home-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 236, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 30px -18px rgba(36, 26, 16, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

header.home-nav .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-2);
}

.home-logo .mark {
  width: 34px;
  height: 34px;
  display: block;
}

.home-logo .word {
  font-size: 17px;
  letter-spacing: 0.01em;
}

.home-logo .word b {
  font-weight: 800;
}

.home-logo .word span {
  font-weight: 500;
  color: var(--ink-soft-2);
  letter-spacing: 0.08em;
  margin-left: 3px;
}

nav.home-links {
  display: flex;
  gap: 34px;
}

nav.home-links a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
}

nav.home-links a:hover {
  color: var(--brown);
}

.home-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: #fff;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.home-cta-btn:hover {
  opacity: 0.92;
}

@media (max-width: 900px) {
  nav.home-links {
    display: none;
  }
}

/* ---------- hero ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 96px 0 90px;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/hero-chef.jpg') center 25% / cover no-repeat;
  filter: blur(3px) saturate(1.1);
  transform: scale(1.06);
  z-index: -2;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18, 13, 9, 0.94) 28%, rgba(18, 13, 9, 0.75) 55%, rgba(18, 13, 9, 0.5) 100%);
  z-index: -1;
}

.home-hero .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.home-hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 22px;
}

.home-hero .eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-2);
}

.home-hero h1 {
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #fdf8ef;
  margin: 0 0 22px;
}

.home-hero h1 .accent {
  background: linear-gradient(90deg, var(--gold), #f0c58a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.home-hero p.lead {
  color: rgba(253, 248, 239, 0.72);
  font-size: 17px;
  line-height: 1.65;
  max-width: 440px;
  margin: 0 0 34px;
}

.home-hero .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
}

.hbtn-solid {
  background: var(--gradient-cta);
  color: #fff;
}

.hbtn-solid:hover {
  opacity: 0.92;
}

.hbtn-outline {
  border: 1px solid rgba(253, 248, 239, 0.4);
  color: #fdf8ef;
}

.hbtn-outline:hover {
  border-color: #fdf8ef;
}

/* phone fan */
.phone-fan {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  position: absolute;
  width: 214px;
  border-radius: 34px;
  background: #0d0a07;
  padding: 9px;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-screen {
  background: #1e1611;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 1006 / 2000;
  position: relative;
}

.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-notch {
  position: absolute;
  top: 1.6%;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  aspect-ratio: 3.6 / 1;
  background: #0d0a07;
  border-radius: 999px;
  z-index: 3;
}

.phone.p-left {
  left: 2%;
  top: 14%;
  transform: rotate(-7deg);
  z-index: 1;
  animation: float-left 6.5s ease-in-out infinite;
  animation-delay: -1.2s;
}

.phone.p-right {
  right: 2%;
  top: 14%;
  transform: rotate(7deg);
  z-index: 1;
  animation: float-right 7.5s ease-in-out infinite;
  animation-delay: -3.8s;
}

.phone.p-center {
  width: 250px;
  left: 50%;
  top: -2%;
  transform: translateX(-50%);
  z-index: 2;
  animation: float-center 8.5s ease-in-out infinite;
  animation-delay: -2.5s;
}

@keyframes float-left {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-9.5deg) translateY(-16px); }
}

@keyframes float-right {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  50% { transform: rotate(9.5deg) translateY(-14px); }
}

@keyframes float-center {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-20px); }
}

@media (prefers-reduced-motion: reduce) {
  .phone.p-left,
  .phone.p-right,
  .phone.p-center {
    animation: none;
  }
}

/* ---------- features strip ---------- */
.features-strip {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line-2);
  padding: 44px 0;
}

.features-strip .grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 26px;
  border-left: 1px solid var(--line-2);
}

.feat:first-child {
  border-left: none;
  padding-left: 0;
}

.feat .fi {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(240, 226, 203, 0.55);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--brown);
  display: grid;
  place-items: center;
}

.feat h4 {
  margin: 0 0 4px;
  font-size: 15.5px;
}

.feat p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft-2);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .features-strip .grid4 {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .feat {
    border-left: none;
    padding-left: 0;
  }
}

/* ---------- our apps ---------- */
.apps-section {
  padding: 90px 0 110px;
}

.apps-head {
  max-width: 560px;
  margin-bottom: 48px;
}

.apps-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 18px;
}

.apps-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brown);
}

.apps-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  font-weight: 800;
}

.apps-head p {
  color: var(--ink-soft-2);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.app-card {
  background: var(--glass-olive);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  text-decoration: none;
  color: var(--ink-2);
  box-shadow: 0 20px 45px -26px rgba(43, 33, 24, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.app-card:hover {
  box-shadow: 0 26px 50px -20px rgba(43, 33, 24, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.app-card .ai {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(240, 226, 203, 0.55);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--brown);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.app-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.app-card p {
  font-size: 14px;
  color: var(--ink-soft-2);
  line-height: 1.55;
  margin: 0 0 14px;
  max-width: 240px;
}

.app-card .learn {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brown);
}

.app-card .mini-phone {
  width: 108px;
  border-radius: 20px;
  background: #0d0a07;
  padding: 6px;
}

.app-card .mini-phone .phone-screen {
  border-radius: 15px;
}

/* ---------- about ---------- */
.about-section {
  background: var(--cream-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 90px 0 100px;
}

.about-col {
  max-width: 700px;
}

.about-h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.015em;
  font-weight: 800;
  margin: 0 0 24px;
}

.about-col p {
  color: var(--ink-soft-2);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 20px;
  text-align: justify;
  text-justify: inter-word;
}

.about-lede {
  color: var(--ink-2) !important;
  font-size: 19px !important;
  line-height: 1.6 !important;
  font-weight: 500;
}

.about-col h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  margin: 44px 0 16px;
}

.about-questions {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-questions li {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink-2);
  padding-left: 26px;
  position: relative;
}

.about-questions li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.about-quote {
  margin: 12px 0 24px;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--gold);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: var(--brown);
  line-height: 1.4;
}

.about-mission {
  margin-top: 20px;
  background: var(--glass-olive);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 34px 36px;
  box-shadow: 0 20px 45px -26px rgba(43, 33, 24, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.about-mission h3 {
  margin-top: 0;
}

.about-mission p:last-child {
  margin-bottom: 0;
}

/* ---------- footer ---------- */
footer.home-footer {
  background: var(--cream-2);
  border-top: 1px solid var(--line-2);
  padding: 52px 0 40px;
  color: var(--ink-soft-2);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand .home-logo {
  margin-bottom: 2px;
}

.footer-brand .home-logo .mark {
  width: 26px;
  height: 26px;
}

.waterfall-address {
  display: flex;
  flex-direction: column;
  font-size: 13.5px;
  line-height: 1.7;
}

.waterfall-address span {
  display: block;
}

.waterfall-address span:nth-child(1) { margin-left: 0; }
.waterfall-address span:nth-child(2) { margin-left: 14px; }
.waterfall-address span:nth-child(3) { margin-left: 28px; }
.waterfall-address span:nth-child(4) { margin-left: 42px; color: var(--ink-2); font-weight: 600; }

.footer-copy {
  font-size: 13px;
  color: var(--ink-soft-2);
  margin-top: 4px;
}

.footer-stores {
  align-items: center;
  text-align: center;
}

.stores-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brown);
}

.store-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1c1710;
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.4);
}

.store-badge:hover {
  background: #2b2318;
}

.store-badge svg {
  flex-shrink: 0;
}

.store-badge .txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge .txt .small {
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.75);
}

.store-badge .txt .big {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.stores-note {
  font-size: 12px;
  color: var(--ink-soft-2);
}

.footer-links {
  align-items: flex-end;
  text-align: right;
}

.footer-links-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 2px;
}

footer.home-footer .footer-links a {
  color: var(--ink-soft-2);
  text-decoration: none;
  font-weight: 600;
}

footer.home-footer .footer-links a:hover {
  color: var(--ink-2);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 34px;
  }
  .footer-brand,
  .footer-links {
    align-items: center;
    text-align: center;
  }
  .waterfall-address span:nth-child(1) { margin-left: 0; }
  .waterfall-address span:nth-child(2) { margin-left: 0; }
  .waterfall-address span:nth-child(3) { margin-left: 0; }
  .waterfall-address span:nth-child(4) { margin-left: 0; }
}

@media (max-width: 900px) {
  .home-hero .inner {
    grid-template-columns: 1fr;
  }
  .phone-fan {
    height: 380px;
    margin-top: 40px;
  }
  .phone {
    width: 168px;
  }
  .phone.p-center {
    width: 192px;
  }
  .apps-grid {
    grid-template-columns: 1fr;
  }
  .app-card {
    grid-template-columns: 1fr;
  }
  .app-card .mini-phone {
    justify-self: start;
  }
}
