/* Happy4us Studio — bold product marketing */

:root {
  --stu-ink: #171417;
  --stu-ink-soft: #2c292b;
  --stu-paper: #f5f5f7;
  --stu-paper-2: #ffffff;
  --stu-mute: #5c575a;
  --stu-line: #e4e2e5;
  --stu-orange: #ee4d2d;
  --stu-orange-deep: #d73211;
  --stu-display: "Syne", "Rubik", sans-serif;
  --stu-body: "DM Sans", "Nunito Sans", sans-serif;
}

body.page-studio {
  font-family: var(--stu-body);
  color: var(--stu-ink);
  background: var(--stu-paper);
}

body.page-studio h1,
body.page-studio h2,
body.page-studio h3,
body.page-studio .stu-brand,
body.page-studio .stu-lane-num,
body.page-studio .stu-steps .n {
  font-family: var(--stu-display);
  letter-spacing: -0.03em;
}

/* —— Header —— */
.studio-header {
  background: rgba(245, 245, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stu-line);
  box-shadow: none;
}

.studio-header .brand .wordmark {
  font-family: var(--stu-display);
  font-weight: 700;
}

.studio-mark {
  font-family: var(--stu-body);
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stu-mute);
  margin-inline-start: 0.4rem;
  vertical-align: middle;
}

.studio-header .nav-links a {
  color: var(--stu-ink-soft);
  font-weight: 600;
}

.studio-header .nav-links a.active,
.studio-header .nav-links a:hover {
  color: var(--stu-orange);
}

.studio-header .studio-shop-link {
  color: var(--stu-mute) !important;
  font-size: 0.9em;
}

/* —— Buttons —— */
.stu-btn-primary {
  background: var(--stu-orange) !important;
  border-color: var(--stu-orange) !important;
  color: #fff !important;
  font-family: var(--stu-display);
  font-weight: 700;
  padding: 0.85rem 1.4rem;
  border-radius: 6px;
}

.stu-btn-primary:hover {
  background: var(--stu-orange-deep) !important;
  border-color: var(--stu-orange-deep) !important;
}

.stu-btn-ghost {
  background: transparent !important;
  border: 2px solid var(--stu-ink) !important;
  color: var(--stu-ink) !important;
  font-family: var(--stu-display);
  font-weight: 700;
  padding: 0.8rem 1.35rem;
  border-radius: 6px;
}

.stu-btn-ghost:hover {
  border-color: var(--stu-orange) !important;
  color: var(--stu-orange) !important;
}

.stu-btn-on-orange {
  background: var(--stu-ink) !important;
  border-color: var(--stu-ink) !important;
  color: #fff !important;
  font-family: var(--stu-display);
  font-weight: 700;
  padding: 0.9rem 1.5rem;
  border-radius: 6px;
}

.stu-btn-on-orange:hover {
  background: #000 !important;
  border-color: #000 !important;
}

/* —— Hero —— */
.stu-hero {
  position: relative;
  min-height: min(88vh, 46rem);
  display: flex;
  align-items: center;
  padding: clamp(4.5rem, 10vw, 6rem) 0 clamp(3rem, 6vw, 4rem);
  overflow: hidden;
  background: var(--stu-paper);
}

.stu-hero.stu-hero-compact {
  min-height: unset;
  align-items: flex-end;
  padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.stu-hero-plane {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 42%, rgba(238, 77, 45, 0.14) 42%, rgba(238, 77, 45, 0.14) 58%, transparent 58%),
    linear-gradient(180deg, #ebebef 0%, var(--stu-paper) 70%);
  pointer-events: none;
}

.stu-hero-plane::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 12%;
  width: min(48vw, 28rem);
  height: min(48vw, 28rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 77, 45, 0.35), transparent 68%);
  filter: blur(2px);
}

.stu-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.stu-brand {
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  color: var(--stu-ink);
}

.stu-brand span {
  color: var(--stu-orange);
}

.stu-brand-sub {
  font-style: normal;
  font-family: var(--stu-body);
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stu-mute);
  vertical-align: 0.35em;
  margin-inline-start: 0.15em;
}

.stu-hero h1 {
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.9rem;
  max-width: 22ch;
  color: var(--stu-ink);
}

.stu-hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.45;
  color: var(--stu-mute);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.stu-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stu-req-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stu-orange);
  margin: 0 0 0.5rem;
}

/* —— Offer lanes (not cards) —— */
.stu-lanes,
.stu-process-block,
.stu-examples {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.stu-examples {
  background:
    linear-gradient(180deg, #ebebef 0%, var(--stu-paper) 28%, var(--stu-paper) 100%);
  border-top: 1px solid var(--stu-line);
  border-bottom: 1px solid var(--stu-line);
}

.stu-section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stu-orange);
  margin: 0 0 0.5rem;
}

.stu-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 0.65rem;
  max-width: 18ch;
  color: var(--stu-ink);
}

.stu-section-lede {
  margin: 0 0 2.25rem;
  max-width: 36rem;
  color: var(--stu-mute);
  font-size: 1.05rem;
  line-height: 1.45;
}

.stu-section-title:not(:has(+ .stu-section-lede)) {
  margin-bottom: 1.75rem;
}

/* —— Example showcases —— */
.stu-example-list {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.stu-example {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}

@media (min-width: 900px) {
  .stu-example {
    grid-template-columns: minmax(0, 1.45fr) minmax(14rem, 0.85fr);
  }

  .stu-example-flip {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.45fr);
  }

  .stu-example-flip .stu-example-frame {
    order: 2;
  }

  .stu-example-flip .stu-example-meta {
    order: 1;
  }
}

.stu-example-frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--stu-ink);
  background: var(--stu-ink);
  isolation: isolate;
}

.stu-example-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.stu-example-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.01);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.stu-example:hover .stu-example-frame img {
  transform: scale(1.035);
}

.stu-example-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stu-orange);
  margin: 0 0 0.55rem;
}

.stu-example-meta h3 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--stu-ink);
}

.stu-example-meta p {
  margin: 0 0 1rem;
  color: var(--stu-mute);
  line-height: 1.45;
  max-width: 28rem;
}

.stu-example-link {
  font-family: var(--stu-display);
  font-weight: 700;
  color: var(--stu-orange);
  text-decoration: none;
}

.stu-example-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (prefers-reduced-motion: reduce) {
  .stu-example-frame img {
    transition: none;
  }
  .stu-example:hover .stu-example-frame img {
    transform: scale(1.01);
  }
}

.stu-lane-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--stu-ink);
}

.stu-lane {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--stu-line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, padding-inline 0.2s ease;
}

.stu-lane-static {
  cursor: default;
}

a.stu-lane:hover {
  background: rgba(238, 77, 45, 0.06);
  padding-inline: 0.75rem;
}

.stu-lane-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--stu-orange);
}

.stu-lane-body h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.stu-lane-body p {
  margin: 0;
  color: var(--stu-mute);
  font-size: 0.98rem;
  max-width: 40rem;
}

.stu-lane-cue {
  font-family: var(--stu-display);
  font-weight: 700;
  color: var(--stu-orange);
  white-space: nowrap;
}

/* —— Punch band —— */
.stu-punch {
  background: var(--stu-orange);
  color: #fff;
  padding: clamp(3rem, 8vw, 4.5rem) 0;
}

.stu-punch-inner {
  max-width: 36rem;
}

.stu-punch h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 0.65rem;
  color: #fff;
}

.stu-punch p {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
}

/* —— Process steps —— */
.stu-steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .stu-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.stu-steps li {
  border-top: 3px solid var(--stu-orange);
  padding-top: 1rem;
}

.stu-steps .n {
  display: block;
  font-weight: 800;
  color: var(--stu-orange);
  margin-bottom: 0.4rem;
}

.stu-steps strong {
  display: block;
  font-family: var(--stu-display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.stu-steps span {
  color: var(--stu-mute);
  font-size: 0.95rem;
}

/* —— Request form —— */
.stu-form-layout {
  padding-bottom: 3.5rem;
}

.stu-form-card {
  border: 2px solid var(--stu-ink);
  border-radius: 10px;
  box-shadow: none;
  background: var(--stu-paper-2);
}

.stu-form-card h2 {
  font-family: var(--stu-display);
  font-weight: 800;
}

body.page-studio .trust-rail .trust-block {
  border: 1px solid var(--stu-line);
  border-radius: 8px;
  background: var(--stu-paper-2);
}

body.page-studio .trust-rail .n {
  color: var(--stu-orange);
}

/* —— Footer —— */
.studio-footer {
  background: var(--stu-ink);
  color: rgba(255, 255, 255, 0.82);
  border-top: 0;
  padding: 2.5rem 0 1.5rem;
}

.studio-footer a {
  color: #fff;
}

.studio-footer a:hover {
  color: var(--stu-orange);
}

.studio-footer-brand strong {
  font-family: var(--stu-display);
  font-size: 1.35rem;
  color: #fff;
  display: block;
  margin-bottom: 0.4rem;
}

.studio-footer-brand strong span {
  color: var(--stu-orange);
}

.studio-footer-brand p {
  max-width: 28rem;
  margin: 0 0 1.25rem;
}

.studio-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.studio-footer-row {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

/* —— Motion —— */
.stu-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) var(--stu-delay, 0ms),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) var(--stu-delay, 0ms);
}

.stu-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .stu-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  a.stu-lane {
    transition: none;
  }
}

@media (max-width: 960px) {
  .stu-lane {
    grid-template-columns: 3.25rem 1fr;
  }
  .stu-lane-cue {
    grid-column: 2;
    justify-self: start;
  }
  .studio-header .nav-links .studio-shop-link {
    display: none;
  }
}

@media (max-width: 640px) {
  .stu-hero {
    min-height: 0;
    align-items: flex-end;
  }
  .stu-brand {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
}
