/* Studio UX layer — 2026-08-20. Loaded after corporate/subpage + shared-ui. */

:root {
  --wrap: 1120px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 1px 1px rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 23, 42, 0.06);
}

body.site-aarohii {
  text-rendering: optimizeLegibility;
}

:focus-visible {
  outline: 2px solid var(--accent, #14b8a6);
  outline-offset: 3px;
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.floating-contact-btn:focus-visible {
  outline-offset: 2px;
}

/* Wider subpage canvas for product / work */
body.site-aarohii.product-page .subpage-main,
body.site-aarohii.work-page .subpage-main,
body.site-aarohii.wide-page .subpage-main {
  max-width: 980px;
}

/* Screenshot-first product cards */
.live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.live-grid > *,
.verify-row > *,
.process > *,
.studio-band > *,
.work-facts > *,
.trust-grid > * {
  min-width: 0;
}

.live-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 100%;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  transform-style: preserve-3d;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.28s ease;
}

.live-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.28);
}

.live-card__shot {
  position: relative;
  display: block;
  background: #0b1220;
}

.live-card__shot picture,
.work-story__shot picture {
  display: block;
  width: 100%;
}

.live-card__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: top center;
  background: #0b1220;
}

.live-card__live {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #042f2e;
  background: #5eead4;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}

.live-card__live--soon {
  color: #0c1f33;
  background: var(--gold, #c4a227);
}

.live-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
}

.live-card__body h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.live-card__body p {
  color: var(--muted, #64748b);
  font-size: 0.95rem;
  flex: 1;
  margin: 0 0 1rem;
}

.live-card .product-card__links {
  margin-top: auto;
}

.seek-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.35rem 0 1.75rem;
}

.seek-row a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #0c1f33);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.seek-row a:hover {
  border-color: #0e9a8c;
  background: #e5f7f3;
  color: #0e9a8c;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line, #e2e8f0);
  vertical-align: top;
}

.compare-table thead th {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
  font-weight: 700;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--ink, #0c1f33);
  width: 28%;
}

/* Verify / proof strip */
.verify-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.verify-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.verify-link:hover {
  border-color: #0e9a8c;
  border-style: solid;
  background: #e5f7f3;
}

.verify-link strong {
  color: var(--ink, #0c1f33);
}

.verify-link span {
  font-size: 0.82rem;
  color: var(--muted, #64748b);
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.process__step {
  padding: 1.2rem 1.15rem;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 14px;
  background: #fff;
  min-height: 100%;
}

.process__step:hover {
  background: #e5f7f3;
}

.process__step b {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #0e9a8c);
  margin-bottom: 0.45rem;
}

.process__step h3 {
  font-size: 1.02rem;
  margin: 0 0 0.35rem;
}

.process__step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted, #64748b);
}

/* Next-steps after contact */
.next-steps {
  text-align: left;
  margin: 1.1rem auto;
  padding: 0 0 0 1.1rem;
  max-width: 22rem;
  color: var(--ink-soft, #334155);
}

.next-steps li {
  margin: 0.35rem 0;
}

/* Case / work stories */
.work-story {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2.25rem;
  padding: 0 0 2.25rem;
  border-bottom: 1px solid var(--line, #e2e8f0);
}

.work-story:last-of-type {
  border-bottom: 0;
}

.work-story__shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line, #e2e8f0);
  background: #0b1220;
}

.work-story__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  background: #fff;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
}

.work-meta span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent, #0e9a8c);
  background: var(--accent-soft, #e5f7f3);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

.work-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.1rem 0;
  padding: 0;
  list-style: none;
}

.work-facts li {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 12px;
  background: #fff;
}

.work-facts strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent, #0e9a8c);
  margin-bottom: 0.25rem;
}

/* Trust / security list */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0 2rem;
}

.trust-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 14px;
  background: #fff;
}

.trust-card h3 {
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
}

.trust-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted, #64748b);
}

.studio-band {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: start;
}

.studio-band .entity-facts {
  grid-template-columns: 1fr;
  margin: 0;
}

.studio-band .team-grid {
  margin: 0;
}

/* Contact band next-steps */
.contact-band {
  align-items: start;
}

.contact-next {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-next li {
  position: relative;
  padding-left: 1.7rem;
  margin: 0.45rem 0;
  color: var(--ink-soft, #334155);
}

.contact-next li::before {
  content: attr(data-n);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: var(--accent-soft, #e5f7f3);
  color: var(--accent, #0e9a8c);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Insights cards with meta */
.insight-card small {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--muted, #64748b);
}

.insight-list .subpage-card small {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: var(--muted, #64748b);
}

/* Product sticky CTA */
.product-sticky {
  position: sticky;
  bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  background: #0f2744;
  color: #fff;
  border-radius: 12px;
}

.product-sticky.is-visible {
  display: flex;
}

.product-sticky span {
  font-size: 0.9rem;
}

.product-sticky a {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

.product-sticky .btn {
  background: #fff;
  color: #0f2744 !important;
  min-height: 38px;
  padding: 0.4rem 0.9rem;
}

body.cookie-visible .product-sticky {
  bottom: 6.25rem;
}

/* FAQ on product pages */
.product-page .faq-list {
  margin-top: 0.5rem;
}

.form-hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

/* Rounded options card — the closed field stays rectangular like the other inputs */
.oval-select {
  position: relative;
  margin-bottom: 0.85rem;
}

.oval-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-modal .oval-select .oval-select__button,
.contact-card .oval-select .oval-select__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  margin-bottom: 0;
  padding: 0.75rem 0.95rem 0.75rem 0.85rem;
  border: 1px solid var(--line-strong, #cbd5e1);
  border-radius: 8px;
  background: #fff;
  color: var(--ink, #0c1f33);
  font: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}

.contact-modal .oval-select .oval-select__button:focus,
.contact-card .oval-select .oval-select__button:focus,
.contact-modal .oval-select .oval-select__button:focus-visible,
.contact-card .oval-select .oval-select__button:focus-visible {
  outline: 2px solid var(--accent, #0e9a8c);
  outline-offset: 1px;
  border-color: var(--accent, #0e9a8c);
}

.oval-select__button.is-placeholder {
  color: #64748b;
}

.oval-select__chevron {
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  margin-left: 0.75rem;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg) translateY(-2px);
}

.oval-select.is-open .oval-select__chevron {
  transform: rotate(225deg) translateY(-1px);
}

.oval-select__menu {
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  top: calc(100% + 0.4rem);
  z-index: 30;
  margin: 0;
  padding: 0.45rem 0.4rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line, #d3e4df);
  border-radius: 1.75rem;
  box-shadow: 0 18px 40px -18px rgba(12, 34, 56, 0.38);
  max-height: min(18rem, 50vh);
  overflow-y: auto;
}

.oval-select__menu[hidden] {
  display: none;
}

.oval-select__menu [role="option"] {
  padding: 0.62rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink, #0c1f33);
  font-size: 0.94rem;
  line-height: 1.35;
}

.oval-select__menu [role="option"]:hover,
.oval-select__menu [role="option"]:focus,
.oval-select__menu [role="option"].is-active {
  background: #e5f7f3;
  outline: none;
}

.oval-select__menu [role="option"][aria-selected="true"] {
  background: #e5f7f3;
  font-weight: 600;
  color: #0c5c56;
}

/* Mobile nav overlay polish */
@media (max-width: 1100px) {
  .live-grid,
  .process,
  .studio-band {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .live-grid,
  .verify-row,
  .process,
  .studio-band,
  .work-facts,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .live-grid,
  .verify-row,
  .process,
  .studio-band,
  .work-facts,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .product-sticky {
    flex-wrap: wrap;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  .product-sticky span {
    width: 100%;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero-orb {
    width: 70vw;
    height: 70vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-card,
  .live-card:hover {
    transform: none;
    transition: none;
  }
}
