body { background: #fff; color: #111; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: auto;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  box-shadow: none;
  padding: 18px 0 8px;
}
.nav.scrolled { box-shadow: none; }
.nav-inner {
  width: min(1080px, calc(100% - 40px));
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  grid-template-columns: 1fr auto auto;
}
.mark {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.brand { font-weight: 700; letter-spacing: -0.04em; }
.nav-links { gap: 6px; }
.nav-links a {
  border-radius: 999px !important;
  padding: 8px 14px;
  font-weight: 700;
  color: #444;
  background: transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: #e10600;
  background: #fff1f0;
}
.nav .btn,
#main .btn,
.mobile-cta .btn,
.footer .btn,
.pill-end .btn,
.product-card button {
  font-family: var(--font-sans), var(--font-bn), sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-radius: 999px !important;
  background: #111;
  border-color: #111;
  color: #fff;
  padding: 14px 22px;
  box-shadow: none;
}
.nav .btn:hover,
#main .btn:hover,
.mobile-cta .btn:hover {
  background: #e10600;
  border-color: #e10600;
  color: #fff;
}
.btn-ghost {
  border-radius: 999px !important;
  border-color: #e8e8e8;
  background: #fff;
  color: #111;
}
.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  border: 1px solid #eee !important;
  background: #fff !important;
  display: none;
  place-items: center;
  gap: 4px;
  flex-direction: column;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #111;
}

.pill-page,
.studio-block,
.pill-end {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}
.pill-hero { padding: 42px 0 18px; max-width: 760px; }
.pill-kicker {
  margin: 0 0 14px;
  color: #8a8a8a;
  font-size: 15px;
  font-weight: 700;
}
.pill-hero h1,
.pill-head h2,
.pill-note h2,
.pill-end h2,
.studio-head h1,
.studio-about h1,
.page-hero h1,
.case-top h1,
.display,
.product-card h3,
.brand,
.pill-timeline strong,
.pack strong {
  font-family: var(--font-display), var(--font-bn), sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.05em !important;
  text-transform: none !important;
  line-height: 1.02 !important;
}
.pill-hero h1 {
  font-size: clamp(3.2rem, 7vw, 5.4rem) !important;
  max-width: 10ch !important;
  margin: 0 0 10px !important;
}
.pill-accent {
  margin: 0 0 22px;
  color: #e10600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.pill-hero-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.pill-hero-row p,
.product-card p,
.pack small,
.studio-about p,
.pill-note p {
  font-family: var(--font-sans), var(--font-bn), sans-serif;
  margin: 0;
  max-width: 42ch;
  color: #666;
  font-size: 16px;
}

.product-list { display: grid; gap: 16px; }
.product-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid #ececec;
  background: #fff;
}
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 20px !important;
}
.product-card h3 {
  margin: 4px 0 8px;
  font-size: 28px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.product-card .bn { font-weight: 700; color: #333; }
.product-card > div > button,
.product-card a {
  display: inline-flex;
  margin-top: 14px;
  border: 0;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}
.product-packs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pack {
  display: grid;
  gap: 6px;
  text-align: left;
  padding: 16px;
  border-radius: 22px !important;
  border: 1px solid #eee;
  background: #fafafa;
  color: inherit;
}
.pack span { color: #e10600; font-weight: 700; }
.pack a { color: #111; }

.contact-page {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.contact-options { align-self: start; min-width: 0; }
.contact-chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: min(760px, calc(100vh - 150px));
  overflow: hidden;
}
.contact-chat .chat-body {
  flex: 1;
  min-height: 420px;
  max-height: none;
}
.contact-chat .chat-form { padding: 0; border: 0; }
.contact-options { display: grid; gap: 8px; }
.contact-options a,
.contact-options button {
  display: grid;
  gap: 2px;
  text-align: left;
  width: 100%;
  border: 1px solid #eee;
  border-radius: 18px;
  background: #fff;
  padding: 12px 14px;
  color: inherit;
}
.contact-options strong { font-weight: 700; }
.contact-options span { color: #666; font-size: 13px; }

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #eee;
}
.chat-form input {
  flex: 1;
  border-radius: 999px !important;
  padding: 10px 14px;
}
.chat-form button,
.chat-admin form button {
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
}
.bubble.mine { margin-left: auto; background: #111; color: #fff; }
.chat-admin { display: grid; grid-template-columns: 240px 1fr; gap: 16px; min-height: 520px; }
.chat-admin aside { display: grid; align-content: start; gap: 8px; }
.chat-admin aside button {
  text-align: left;
  border-radius: 16px;
  border: 1px solid #eee;
  background: #fff;
  padding: 10px;
}
.chat-admin aside button.on { border-color: #e10600; }
.chat-admin aside small { display: block; color: #777; }
.chat-admin-log { display: grid; gap: 8px; min-height: 360px; }
.chat-admin-log p { margin: 0; padding: 10px 12px; border-radius: 16px; background: #f6f6f6; }
.chat-admin-log .studio { background: #111; color: #fff; }
.chat-admin form { display: flex; gap: 8px; margin-top: 12px; }
.chat-admin input { flex: 1; border-radius: 999px !important; padding: 10px 14px; }

.menu-btn { display: none; }

.pill-bento {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.95fr;
  gap: 16px;
  align-items: stretch;
  padding: 28px 0 10px;
}
.pill-stack { display: grid; gap: 16px; }
.pill-card,
.straight-card,
.straight-packs article,
.pkg,
.step,
.choice,
.footer,
.nav-mobile,
.case-hero,
.gallery img,
.studio-about img {
  border-radius: 28px !important;
  border: 1px solid #ececec;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
  overflow: hidden;
}
.pill-card { display: block; color: inherit; padding: 18px; }
.pill-label {
  margin: 0 0 16px;
  color: #9a9a9a;
  font-size: 13px;
  font-weight: 700;
}
.pill-timeline ol {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  display: grid;
  gap: 18px;
  border-left: 2px solid #f0f0f0;
}
.pill-timeline li { position: relative; padding-left: 16px; }
.pill-timeline li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #111;
  position: absolute;
  left: -22px;
  top: 4px;
}
.pill-timeline strong { display: block; font-size: 16px; }
.pill-timeline span { color: #777; font-size: 13px; }
.pill-shot { padding: 12px; }
.pill-shot img,
.pill-grid img,
.pill-services img,
.pill-card img,
.straight-card img,
.studio-grid img,
.studio-lead img,
.studio-about img,
.case-hero img,
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px !important;
  background: #f6f6f6;
}
.pill-shot span,
.pill-grid span,
.pill-services span,
.straight-card span {
  display: grid;
  gap: 2px;
  padding: 12px 4px 2px;
}
.pill-card small,
.straight-card em {
  color: #777;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
}
.pill-note h2 {
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin: 0 0 10px;
}
.pill-note p {
  color: #555;
  white-space: pre-line;
  margin: 0 0 16px;
}
.pill-note a,
.pill-head a,
.straight-packs a,
.straight-card i {
  color: #e10600;
  font-weight: 700;
  font-style: normal;
}

.pill-block { padding: 28px 0; }
.pill-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}
.pill-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.pill-grid,
.pill-services,
.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pill-end {
  margin: 12px auto 48px;
  padding: 28px;
  border-radius: 32px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
}
.pill-end h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 14ch;
  margin: 0 0 10px;
}
.pill-end p { color: #555; max-width: 42ch; }
.pill-end .btn { margin-top: 8px; background: #e10600; border-color: #e10600; }

.studio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  border: 0;
}
.studio-filters button {
  border-radius: 999px !important;
  border: 1px solid #eee !important;
  background: #fff;
  padding: 8px 14px;
  font-weight: 700;
  color: #555;
}
.studio-filters button.on {
  color: #fff;
  background: #111;
  border-color: #111 !important;
}

.straight { display: grid; gap: 12px; }
.straight-card {
  display: grid;
  grid-template-columns: 148px 1fr auto;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 12px;
  gap: 14px;
}
.straight-card img { width: 148px; height: 108px; }
.straight-card.on { border-color: #e10600; }
.straight-card i { padding-right: 10px; }
.straight-packs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.straight-packs article {
  padding: 22px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.straight-packs h3 { margin: 0 0 8px; letter-spacing: -0.03em; }
.straight-packs ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }

.studio-head h1,
.studio-about h1 { font-size: clamp(2.4rem, 5vw, 4rem) !important; margin: 8px 0 !important; }
.studio-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.studio-about img { height: 420px; }
.footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 28px;
  padding: 28px;
  border-top: 0;
}
.nav-mobile {
  width: min(1080px, calc(100% - 40px));
  margin: 8px auto;
  padding: 16px;
  display: grid;
  gap: 8px;
}
.nav-mobile a,
.nav-mobile button {
  border-radius: 999px;
  border: 1px solid #eee;
  background: #fff;
  padding: 12px 16px;
  text-align: left;
}
input, textarea, select, .choice {
  border-radius: 18px !important;
  border: 1px solid #ececec !important;
  background: #fff;
}

@media (max-width: 900px) {
  .pill-bento,
  .pill-grid,
  .pill-services,
  .studio-grid,
  .studio-about,
  .straight-packs,
  .straight-card,
  .product-card,
  .product-packs,
  .chat-admin,
  .contact-page { grid-template-columns: 1fr; }
  .pill-hero-row { display: grid; }
  .menu-btn { display: grid; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .pill-shot img,
  .pill-grid img,
  .pill-services img { height: 200px; }
}
