:root {
  --color--background-color: #141414;
  --fonts--heading-font: "Bricolage Grotesque", sans-serif;
  --color--font-color: white;
  --color--accent-color: #f7744a;
  --fonts--paragraphs: "Montserrat", sans-serif;
  --morri-glow-pad: 2px;
  --morri-glow-radius: 14px;
  --morri-glass-bg: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(0, 0, 0, 0.42) 55%,
    rgba(0, 0, 0, 0.52) 100%
  );
  --morri-scrollbar-size: 10px;
  --morri-scrollbar-track: transparent;
  --morri-scrollbar-thumb: rgba(255, 255, 255, 0.14);
  --morri-scrollbar-thumb-hover: rgba(247, 116, 74, 0.45);
  --morri-scrollbar-thumb-active: rgba(247, 116, 74, 0.62);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--morri-scrollbar-thumb) var(--morri-scrollbar-track);
}

*::-webkit-scrollbar {
  width: var(--morri-scrollbar-size);
  height: var(--morri-scrollbar-size);
}

*::-webkit-scrollbar-track {
  background: var(--morri-scrollbar-track);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--morri-scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color 0.15s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: var(--morri-scrollbar-thumb-hover);
}

*::-webkit-scrollbar-thumb:active {
  background-color: var(--morri-scrollbar-thumb-active);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

/* Hero summary + hero social border glow: React Bits BorderGlow (apps/web). */

/* ── Utility ─────────────────────────────────────────────── */

.grid-layout {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

/* ── Base ────────────────────────────────────────────────── */

body {
  background-color: var(--color--background-color);
  font-family: var(--fonts--paragraphs);
  color: var(--color--font-color);
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--fonts--heading-font);
}

h1 {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 90px;
  font-weight: 900;
  line-height: 1.2;
}

h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 85px;
  font-weight: 500;
  line-height: 1.2;
}

h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
}

h4 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

h5 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

h6 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

p {
  color: var(--color--font-color);
  margin-bottom: 10px;
  font-family: var(--fonts--paragraphs);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

a {
  color: var(--color--font-color);
  font-family: var(--fonts--paragraphs);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 40px;
}

li {
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 18px;
  line-height: 1.3;
}

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

blockquote {
  text-transform: none;
  background-image:
    url("../images/Qoute-Right.svg"), url("../images/Qoute-Left.svg");
  background-position:
    100% 100%,
    0 0;
  background-repeat: no-repeat, no-repeat;
  background-size: auto, auto;
  border: 1px #000;
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 50px 114px;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.7;
}

figure {
  margin-bottom: 10px;
}

figcaption {
  text-align: center;
  margin-top: 5px;
  font-size: 16px;
}

/* ── Layout ──────────────────────────────────────────────── */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 2em 69px;
  box-sizing: border-box;
}

.container.navbar-container {
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
}

.container.no-paddings {
  padding-top: 0;
  padding-bottom: 0;
}

.container.project-container {
  z-index: 1;
  grid-row-gap: 80px;
  flex-direction: column;
  justify-content: space-between;
  display: flex;
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  color: #fff;
  background-color: #000;
  border: none;
  border-radius: 0;
  cursor: pointer;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--fonts--paragraphs);
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.45s;
}

.btn:hover {
  color: #fff;
  background-color: #222;
}

/* ── Navigation ──────────────────────────────────────────── */

.navbar {
  z-index: 42;
  background-color: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 70px;
  min-height: 70px;
  display: flex;
  position: sticky;
  top: 0;
}

.navbar-holder {
  width: 100%;
  height: 100%;
}

.navbar-container {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

.nav-menu-wrapper {
  z-index: 2;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: 50vw;
  height: 100%;
  margin: 0;
  position: fixed;
  inset: 0% auto 0% 0%;
  overflow: hidden;
  /* Hidden by default — JS toggles .nav-open on .navbar */
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  visibility: hidden;
}

.navbar.nav-open .nav-menu-wrapper {
  transform: translateX(0);
  visibility: visible;
}

.nav-menu-link-holder {
  grid-row-gap: 32px;
  background-color: var(--color--accent-color);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 50vw;
  min-width: 50vw;
  max-width: 50vw;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  padding: 0 0 0 69px;
  display: flex;
  /* Above .nav-backdrop (z-index: 1) so links are not dimmed and receive clicks */
  position: relative;
  z-index: 2;
}

.nav-links {
  grid-column-gap: 12px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  display: flex;
}

.nav-links:hover .nav-link-big {
  font-weight: 200;
}

.nav-link-big {
  color: #000;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  font-family: var(--fonts--heading-font);
  font-size: 62px;
  font-weight: 900;
  transition:
    opacity 0.6s,
    font-weight 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link-big:hover {
  opacity: 0.7;
}

.nav-link-big.active {
  color: #fff;
}

.number {
  margin-top: 15px;
  font-size: 18px;
}

.menu-button {
  justify-content: center;
  align-items: center;
  width: 52px;
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  display: flex;
  cursor: pointer;
  background: transparent;
  border: none;
  position: relative;
  z-index: 50;
}

.navbar.nav-open .menu-button {
  z-index: 20;
  background-color: #fff;
}

.menu-holder {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

.menu-icon {
  z-index: 32;
  width: 34px;
}

/* Nav backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.navbar.nav-open .nav-backdrop {
  display: block;
}

/* ── Scroll Animations ───────────────────────────────────── */

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-overflow---hidden {
  perspective: 1500px;
  height: 100%;
  overflow: hidden;
}

.fade-in-overflow---content {
  height: 100%;
  opacity: 0;
  transform: translate3d(0, 120%, 0) rotateZ(8deg);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-overflow---content.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateZ(0deg);
}

/* ── Hero Section ────────────────────────────────────────── */

.section.hero-section {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  margin-top: -70px;
  display: flex;
}

.hero-section-holder {
  z-index: 1;
  position: relative;
}

.hero-section-wrapper {
  grid-row-gap: 12px;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.arrow-holder {
  align-items: center;
  display: flex;
}

.arrow-line {
  background-color: var(--color--accent-color);
  width: 260px;
  height: 3px;
}

.arrow-head {
  min-width: 9px;
  margin-left: -8px;
}

.description-holder {
  grid-column-gap: 14px;
  align-items: center;
  margin-left: -30px;
  display: flex;
}

.graphic-image {
  width: 18px;
}

.short-description {
  color: var(--color--accent-color);
  white-space: nowrap;
  font-size: 33px;
  font-weight: 900;
  overflow: hidden;
}

.full-name-holder {
  perspective: 1500px;
  max-width: 1020px;
}

.name {
  color: var(--color--accent-color);
  font-family: var(--fonts--heading-font);
  font-weight: 900;
  text-transform: uppercase;
  margin-top: 0;
}

.summary-holder {
  margin-top: 52px;
  position: relative;
  width: 100%;
}

/* React islands: no inner scroll, no fixed max-height from legacy .summary-paragraph */
#morri-summary-root,
#morri-social-root {
  overflow: visible;
}

#morri-summary-root.summary-holder {
  max-width: 720px;
  width: 100%;
}

/* Lift the whole glow card on hover so the outer border moves with the link (inner transform left a static rim). */
#morri-social-root .border-glow-card,
#morri-nav-social-root .border-glow-card {
  transition: transform 0.25s ease;
}

#morri-social-root .border-glow-card:has(.morri-social-link:hover),
#morri-nav-social-root .border-glow-card:has(.morri-social-link:hover) {
  transform: translate3d(0, -1px, 0.01px);
}

#morri-social-root .morri-social-link:hover,
#morri-nav-social-root .morri-social-link:hover {
  transform: none;
}

#morri-summary-root .morri-summary-copy {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  padding: 20px 24px;
  font-family: var(--fonts--paragraphs);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.45;
  color: #fff;
  text-transform: none;
}

#morri-summary-root .morri-summary-copy p {
  margin: 0;
}

#morri-social-root .morri-social-link,
#morri-nav-social-root .morri-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  padding: 8px 12px;
  text-decoration: none;
  color: #fff;
  border-radius: 12px;
  transition:
    background-color 0.25s ease,
    color 0.2s ease;
}

#morri-social-root .morri-social-link:hover,
#morri-nav-social-root .morri-social-link:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

#morri-social-root .morri-social-link img,
#morri-nav-social-root .morri-social-link img {
  width: 33px;
  height: auto;
  padding-left: 6px;
  padding-right: 6px;
  flex-shrink: 0;
}

#morri-social-root .morri-social-handle,
#morri-nav-social-root .morri-social-handle {
  font-family: var(--fonts--paragraphs);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: none;
}

.summary {
  -webkit-backdrop-filter: blur(28px) saturate(1.25);
  backdrop-filter: blur(28px) saturate(1.25);
  text-transform: uppercase;
  background: var(--morri-glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.35);
  width: 100%;
  height: 100%;
  padding-right: 0;
  position: relative;
  z-index: 1;
  border-radius: var(--morri-glow-radius);
}

.summary-block {
  border: 2px solid var(--color--accent-color);
  background-color: #fff;
  width: 12px;
  height: 12px;
  position: absolute;
  inset: -7px auto auto -5px;
  z-index: 3;
}

.summary-block._02 {
  top: -8px;
  left: auto;
  right: -7px;
}

.summary-block._03 {
  top: auto;
  bottom: -4px;
}

.summary-block._04 {
  inset: auto -7px -5px auto;
}

.summary-paragraph {
  min-width: 720px;
  max-width: 720px;
  min-height: 170px;
  max-height: 230px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.social-media-holder {
  grid-column-gap: 18px;
  margin-top: 32px;
  display: flex;
}

.social-media-link-holder {
  border: 1px solid #d6d6d6;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
  column-gap: 6px;
  transition:
    border-color 0.3s,
    background-color 0.4s,
    transform 0.25s ease;
  display: inline-flex;
  text-decoration: none;
  border-radius: 12px;
  background: var(--morri-glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 24px rgba(0, 0, 0, 0.28);
}

.social-media-link-holder:hover {
  border-color: var(--color--accent-color);
  background-color: rgba(2, 2, 2, 0.72);
  transform: translateY(-1px);
}

.social-media-link-holder.red {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
}

.social-media-link {
  width: 33px;
  padding-left: 6px;
  padding-right: 6px;
}

.social-name {
  text-transform: none;
  overflow: hidden;
}

.hero-section-image-wrapper {
  justify-content: center;
  align-items: center;
  width: 55vw;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0% 0% auto auto;
}

.hero-section-image-holder {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

.hero-section-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
}

.graphics {
  z-index: 1;
  filter: invert();
  mix-blend-mode: difference;
  width: 118px;
  position: absolute;
  inset: auto auto -25px -47px;
}

.overlay {
  background-image: linear-gradient(90deg, #431303bf 49%, #190502bf);
  position: absolute;
  inset: 0%;
}

/* ── About Section ───────────────────────────────────────── */

.about-me-section-holder {
  flex-direction: column;
  align-items: flex-start;
  padding-top: 180px;
  display: flex;
}

.heading-holder {
  grid-column-gap: 15px;
  align-items: center;
  display: flex;
  position: relative;
}

.red-caps-heading {
  width: auto;
  color: var(--color--accent-color);
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 900;
  overflow: hidden;
}

.black-graphic {
  filter: invert();
  width: 40px;
}

.about-short-text-holder {
  text-transform: uppercase;
  max-width: 500px;
  margin-top: 22px;
  padding-left: 60px;
}

.no-margins {
  margin-bottom: 0;
}

.black-graphis-holder {
  flex-direction: column;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 49% -28% auto auto;
}

.about-me-grid-holder {
  flex-direction: column;
  align-items: center;
  padding-top: 272px;
  display: flex;
}

.about-me-grid {
  grid-column-gap: 80px;
  grid-template-rows: auto;
  grid-template-columns: 0.35fr 1fr;
  width: 90%;
  max-width: 90%;
  display: flex;
}

.about-me-content {
  grid-row-gap: 2px;
  flex-direction: column;
  max-width: 330px;
  display: flex;
  position: relative;
}

.about-me-graphic {
  filter: invert();
  width: 260px;
  position: absolute;
  top: -83px;
  left: auto;
  right: -68px;
}

.about-me-image-holder {
  width: 100%;
  position: relative;
}

.about-me-image {
  width: 100%;
}

.sticky-note {
  --morri-glow-radius: 12px;
  position: sticky;
  top: 120px;
  isolation: isolate;
  padding: calc(18px + var(--morri-glow-pad)) calc(20px + var(--morri-glow-pad));
  border-radius: calc(var(--morri-glow-radius) + var(--morri-glow-pad));
  background: var(--morri-glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 36px rgba(0, 0, 0, 0.28);
}

.sticky-note > * {
  position: relative;
  z-index: 3;
}

.graphic-image-02 {
  filter: invert();
  width: 58px;
  position: absolute;
  inset: -1% -3% auto auto;
}

.about-me-text {
  filter: invert();
  width: 305px;
}

/* ── Projects Section ────────────────────────────────────── */

.section.work-section {
  background-color: #0e0e0e;
  margin-top: 120px;
}

.work-title-wrapper {
  grid-column-gap: 60px;
  grid-row-gap: 16px;
  grid-template-rows: auto;
  grid-template-columns: 0.5fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.work-title-holder {
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 130px;
  padding-bottom: 30px;
}

.work-title {
  color: var(--color--accent-color);
  text-transform: uppercase;
  margin-top: 5px;
  margin-bottom: 20px;
  font-size: 62px;
  font-weight: 900;
}

.selected-work-image-holder {
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  display: flex;
}

.selected-work-image {
  filter: invert();
  width: 213px;
}

.work-list-holder {
  margin-bottom: 120px;
  padding-top: 44px;
  padding-bottom: 44px;
  position: relative;
}

.work-list {
  grid-column-gap: 56px;
  grid-row-gap: 56px;
  flex-direction: column;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.work-list-item {
  justify-content: flex-end;
}

.project-item {
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 470px;
  padding: 24px;
  display: flex;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-sizing: border-box;
}

.project-thumbnail-holder {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
  overflow: hidden;
}

.project-thumbnail {
  z-index: 3;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.project-name-holder {
  z-index: 2;
  align-items: center;
  display: flex;
  position: relative;
}

.project-name {
  color: #fff;
  text-transform: uppercase;
  font-family: var(--fonts--heading-font);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}

.project-description-short {
  color: #fff;
  font-size: 22px;
}

.project-name-wrapper {
  z-index: 2;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

.overlay-image {
  z-index: 1;
  opacity: 0.6;
  background-image: linear-gradient(#000, #0000 20% 80%, #000);
  position: absolute;
  inset: 0%;
}

/* ── Contact Form ────────────────────────────────────────── */

.contact-form-wrapper {
  background-color: #141414;
  padding-top: 72px;
  padding-bottom: 72px;
  overflow: hidden;
}

.form-block-holder {
  --morri-glow-radius: 18px;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
  position: relative;
  isolation: isolate;
  padding: calc(24px + var(--morri-glow-pad)) calc(22px + var(--morri-glow-pad));
  margin-top: 0;
  border-radius: calc(var(--morri-glow-radius) + var(--morri-glow-pad));
  background: var(--morri-glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  backdrop-filter: blur(22px) saturate(1.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 48px rgba(0, 0, 0, 0.35);
}

.form-block-holder > * {
  position: relative;
  z-index: 3;
}

.form-content-text {
  color: #fff;
  max-width: 360px;
  font-family: var(--fonts--paragraphs);
  font-size: 19px;
}

.contact-from-block {
  width: 100%;
  margin-top: 96px;
}

.text-field-grid {
  grid-column-gap: 44px;
  grid-row-gap: 42px;
  flex-direction: column;
  justify-content: flex-start;
  display: flex;
}

.text-field-holder {
  grid-row-gap: 8px;
  flex-direction: column;
  width: 100%;
  display: flex;
}

.field-label {
  color: #fff;
  text-transform: uppercase;
  font-size: 25px;
  font-weight: 700;
  font-family: var(--fonts--heading-font);
}

.contact-text-field {
  color: #fff;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  height: 35px;
  margin-bottom: 0;
  padding: 0;
  font-family: var(--fonts--paragraphs);
  font-size: 17px;
  font-weight: 400;
  transition: border-color 0.375s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.contact-text-field:hover {
  border-bottom-color: #595550;
}

.contact-text-field:focus {
  border-bottom-color: var(--color--accent-color);
}

.submit-button-simple {
  color: #595550;
  letter-spacing: 1px;
  background-color: #fff;
  background-image: url("../images/Up-Arrow.svg");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: auto;
  border-radius: 200px;
  border: none;
  width: 60px;
  min-width: 60px;
  height: 60px;
  min-height: 60px;
  padding: 0;
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-block;
}

.submit-button-simple:hover {
  background-color: #b8b299;
}

.form-success {
  color: #595550;
  background-color: #d1ccb8;
  border: 1px solid #5d5d5d;
  border-radius: 0;
  padding: 40px;
  font-size: 24px;
  font-weight: 600;
  display: none;
}

.form-error {
  color: #fff;
  text-align: center;
  background-color: #333;
  border: 1px solid #aa5252;
  border-radius: 8px;
  width: 100%;
  padding: 16px;
  font-size: 14px;
  display: none;
}

/* ── Footer ──────────────────────────────────────────────── */

.footer-container {
  z-index: 2;
  background-color: #000;
  padding-top: 100px;
  padding-bottom: 20px;
  position: relative;
}

.footer-grid-holder {
  justify-content: space-between;
  display: flex;
}

.footer-grid-content {
  grid-row-gap: 8px;
  flex-direction: column;
  display: flex;
}

.footer-heading {
  color: #fff;
  font-family: var(--fonts--heading-font);
  font-size: 54px;
  font-weight: 400;
}

.footer-heading.smaller {
  font-size: 52px;
  font-weight: 300;
}

.footer-heading-holder {
  grid-column-gap: 16px;
  align-items: center;
  display: inline-flex;
  text-decoration: none;
}

.footer-links-holder {
  grid-column-gap: 130px;
  display: flex;
}

.footer-links-container {
  grid-row-gap: 12px;
  flex-direction: column;
  display: flex;
}

.footer-links {
  color: #fff;
  font-family: var(--fonts--heading-font);
  font-size: 25px;
  font-weight: 300;
}

.footer-copy-right {
  padding-top: 120px;
}

.footer-copy-right-content {
  grid-column-gap: 16px;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.footer-copy-right-links {
  color: #666668;
  font-family: var(--fonts--paragraphs);
  font-size: 15px;
}

.footer-copy-right-links.white {
  color: #fff;
}

.links-holder {
  grid-column-gap: 16px;
  display: flex;
}

/* ── Project Detail ──────────────────────────────────────── */

.project-main-image-holder {
  width: 100%;
  margin-top: -70px;
  position: relative;
}

.project-main-image {
  object-fit: cover;
  object-position: 50% 0%;
  width: 100%;
  height: 100%;
}

.project-details {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  flex-direction: column;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.project-title-holder {
  grid-row-gap: 12px;
  flex-direction: column;
  display: flex;
}

.project-title {
  font-size: 60px;
}

.project-summary-wrapper {
  --morri-glow-radius: 10px;
  max-width: 60%;
  position: relative;
  isolation: isolate;
  padding: var(--morri-glow-pad);
  border-radius: calc(var(--morri-glow-radius) + var(--morri-glow-pad));
}

.project-long-summary {
  position: relative;
  z-index: 1;
  font-size: 24px;
  padding: 14px 18px;
  border-radius: var(--morri-glow-radius);
  background: var(--morri-glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 36px rgba(0, 0, 0, 0.3);
}

.project-details-wrapper {
  justify-content: flex-start;
  align-items: flex-start;
  padding-bottom: 60px;
  display: flex;
}

.project-grid-holder {
  grid-column-gap: 30px;
  grid-row-gap: 16px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.project-details-container {
  --morri-glow-radius: 10px;
  grid-row-gap: 12px;
  flex-direction: column;
  display: flex;
  position: relative;
  isolation: isolate;
  padding: calc(14px + var(--morri-glow-pad)) calc(16px + var(--morri-glow-pad));
  border-radius: calc(var(--morri-glow-radius) + var(--morri-glow-pad));
  background: var(--morri-glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 28px rgba(0, 0, 0, 0.28);
}

.project-details-container > * {
  position: relative;
  z-index: 3;
}

.project-details-title {
  font-family: var(--fonts--paragraphs);
  font-size: 18px;
}

.project-details-paragraph {
  white-space: pre;
  font-size: 22px;
}

.rich-text-holder {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
  display: flex;
}

.rich-text {
  --morri-glow-radius: 14px;
  max-width: 70%;
  position: relative;
  isolation: isolate;
  padding: calc(28px + var(--morri-glow-pad)) calc(32px + var(--morri-glow-pad));
  border-radius: calc(var(--morri-glow-radius) + var(--morri-glow-pad));
  background: var(--morri-glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 44px rgba(0, 0, 0, 0.32);
}

.rich-text > * {
  position: relative;
  z-index: 3;
}

.rich-text h2,
.rich-text h3,
.rich-text p,
.rich-text ul,
.rich-text li {
  margin-bottom: 1em;
}

/* ── 404 / Utility Pages ─────────────────────────────────── */

.utility-page-wrap {
  background-color: #141414;
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  margin-top: -70px;
  padding-top: 70px;
  display: flex;
  box-sizing: border-box;
}

.utility-page-content {
  text-align: center;
  flex-direction: column;
  width: 600px;
  display: flex;
}

._404 {
  --morri-glow-radius: 16px;
  grid-column-gap: 30px;
  grid-row-gap: 15px;
  color: #fff;
  flex-direction: column;
  align-items: center;
  display: flex;
  position: relative;
  isolation: isolate;
  padding: calc(36px + var(--morri-glow-pad)) calc(28px + var(--morri-glow-pad));
  border-radius: calc(var(--morri-glow-radius) + var(--morri-glow-pad));
  background: var(--morri-glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  backdrop-filter: blur(22px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 48px rgba(0, 0, 0, 0.35);
}

._404 > * {
  position: relative;
  z-index: 3;
}

.title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
}

/* ── Spline ──────────────────────────────────────────────── */

.spline-wrapper {
  position: absolute;
  inset: 0%;
}

.spline,
.spline-webmoz {
  width: 100%;
  height: 100%;
}

/* ── Help / Template Pages ───────────────────────────────── */

.help-holder {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  grid-template-rows: auto;
  grid-template-columns: 0.5fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.help-container {
  border-right: 1px solid #3a3a3a;
  min-width: 270px;
  padding-top: 80px;
  position: relative;
}

.help-content-holder {
  grid-row-gap: 30px;
  flex-direction: column;
  padding-top: 80px;
  display: flex;
}

.help-back-link-holder {
  grid-column-gap: 8px;
  color: #7d7d7d;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.4s;
  display: flex;
}

.help-back-link-holder:hover {
  color: #fff;
}

.help-link-holder {
  grid-row-gap: 36px;
  flex-direction: column;
  padding-top: 100px;
  padding-bottom: 100px;
  display: flex;
}

.help-link-container {
  z-index: 3;
  grid-column-gap: 16px;
  opacity: 0.5;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  position: relative;
  left: 2px;
}

.help-link-container.active {
  border-right: 3px solid var(--color--accent-color);
  opacity: 1;
}

.sticky {
  position: sticky;
  top: 85px;
}

.hide {
  display: none;
}

/* ── Responsive ──────────────────────────────────────────── */

@media screen and (min-width: 1440px) {
  .container {
    max-width: 1340px;
  }

  .container.navbar-container {
    max-width: none;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 70px;
  }
  h2 {
    font-size: 38px;
  }
  h3 {
    font-size: 32px;
  }
  h4 {
    font-size: 28px;
  }
  h5 {
    font-size: 24px;
  }
  h6 {
    font-size: 20px;
  }

  .container {
    padding-left: 7px;
    padding-right: 7px;
  }

  .navbar-container {
    grid-column-gap: 80px;
  }

  .menu-button {
    border-radius: 8px;
    padding: 10px;
    transition: background-color 0.4s;
  }

  .navbar.nav-open .menu-button {
    background-color: #000;
    border-radius: 0;
    padding: 10px;
  }

  .work-list {
    grid-column-gap: 30px;
    grid-template-columns: 1fr 1fr;
  }

  .work-list-item:nth-child(odd),
  .work-list-item:nth-child(2n) {
    margin-left: 0%;
  }

  .project-item {
    width: 100%;
  }

  .work-list-holder {
    grid-row-gap: 120px;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 0;
    display: flex;
  }

  .footer-heading {
    font-size: 32px;
  }

  .footer-heading.smaller {
    font-size: 28px;
  }

  .footer-links-holder {
    grid-column-gap: 40px;
  }

  .footer-copy-right-content {
    grid-row-gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .project-details {
    flex-direction: column;
  }

  .project-title {
    font-size: 120px;
  }

  .project-long-summary {
    font-size: 18px;
  }

  .hero-section-holder {
    padding-top: 70px;
  }

  .hero-section-image-wrapper {
    width: 100%;
    margin-top: 30px;
    position: relative;
  }

  .heading-holder._02 {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-short-text-holder {
    width: 500px;
    position: absolute;
    left: 93%;
  }

  .black-graphis-holder {
    top: 79%;
    right: -67%;
  }

  .about-me-graphic {
    top: -127px;
  }

  .work-title-wrapper {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .nav-menu-link-holder {
    width: 60vw;
    min-width: 60vw;
    max-width: 60vw;
    height: auto;
    padding-left: 10px;
  }

  .nav-menu-wrapper {
    width: 60vw;
  }

  .nav-links {
    grid-row-gap: 20px;
    flex-direction: row;
    height: auto;
  }

  .nav-link-big {
    font-size: 42px;
  }

  .help-holder {
    flex-direction: column;
    display: flex;
  }

  .help-container {
    border-right-style: none;
  }

  .help-link-holder {
    grid-column-gap: 30px;
    flex-direction: row;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 60px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 22px;
  }
  h5 {
    font-size: 20px;
  }
  h6 {
    font-size: 18px;
  }
  p {
    font-size: 16px;
  }

  blockquote {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 60px 0;
  }

  .container.project-container {
    padding-top: 60px;
  }

  .paragraph-xl {
    font-size: 18px;
  }

  .help-link-holder {
    flex-direction: column;
  }

  .work-title-holder {
    grid-row-gap: 30px;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .project-item {
    height: 350px;
  }

  .project-name {
    font-size: 22px;
    font-weight: 500;
  }

  .footer-grid-holder {
    grid-row-gap: 60px;
    flex-direction: column;
  }

  .footer-grid-content {
    grid-row-gap: 6px;
  }

  .footer-heading {
    font-size: 42px;
  }

  .footer-heading.smaller {
    font-size: 40px;
  }

  .links-holder {
    justify-content: space-between;
    width: 100%;
  }

  .project-title {
    font-size: 60px;
    font-weight: 500;
  }

  .project-summary-wrapper {
    padding-top: 16px;
  }

  .project-long-summary {
    font-size: 17px;
    line-height: 1.4;
  }

  .project-grid-holder {
    grid-column-gap: 12px;
    grid-row-gap: 16px;
    flex-direction: column;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }

  .rich-text {
    max-width: 100%;
  }

  .hero-section-holder {
    padding-top: 52px;
  }

  .summary-holder,
  .social-media-holder {
    margin-top: 12px;
  }

  .hero-section-image-holder {
    min-width: 100%;
    max-width: 100%;
  }

  .hero-section-image-wrapper {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin-top: 30px;
    position: relative;
  }

  .about-me-section-holder {
    grid-row-gap: 12px;
  }

  .about-short-text-holder {
    margin-top: 12px;
    position: static;
  }

  .black-graphis-holder {
    inset: 46px auto auto 17px;
  }

  .summary-paragraph {
    min-width: 100%;
    max-width: 100%;
  }

  .about-me-grid {
    grid-column-gap: 20px;
    width: 100%;
    max-width: 100%;
  }

  .graphic-image-02 {
    top: -3%;
    right: 1%;
  }

  .work-title-wrapper {
    grid-row-gap: 0px;
    flex-direction: column-reverse;
    display: flex;
    position: relative;
  }

  .selected-work-image-holder {
    position: absolute;
    inset: 30% 0% auto auto;
  }

  .selected-work-image {
    width: 180px;
  }

  .about-me-text {
    width: 200px;
  }

  .nav-menu-link-holder {
    width: 80vw;
    min-width: 80vw;
    max-width: 80vw;
  }

  .nav-menu-wrapper {
    width: 80vw;
  }
}

@media screen and (max-width: 479px) {
  p {
    text-transform: uppercase;
    font-size: 15px;
  }

  .container {
    padding-left: 6px;
    padding-right: 6px;
  }

  .container.navbar-container {
    padding-left: 1em;
    padding-right: 1em;
  }

  .footer-container {
    padding-top: 60px;
  }

  .work-title-holder {
    grid-row-gap: 10px;
    margin-bottom: 30px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .work-title {
    font-size: 41px;
  }

  .work-list {
    display: flex;
    flex-direction: column;
  }

  .project-item {
    height: 400px;
  }

  .project-name {
    font-size: 31px;
  }

  .project-description-short {
    font-size: 18px;
    font-weight: 300;
  }

  .contact-form-wrapper {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .text-field-grid {
    grid-row-gap: 30px;
    flex-direction: column;
    align-items: flex-end;
  }

  .contact-from-block {
    margin-top: 40px;
  }

  .contact-text-field {
    border-bottom-color: #707070;
  }

  .footer-copy-right-content {
    grid-row-gap: 30px;
  }

  .links-holder._02 {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    flex-direction: column;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }

  .project-grid-holder {
    grid-row-gap: 30px;
    flex-direction: column;
    display: flex;
  }

  .hero-section-holder,
  .hero-section-wrapper {
    width: 100%;
  }

  .description-holder {
    width: 100%;
    margin-left: 0;
  }

  .full-name-holder {
    width: 100%;
    max-width: none;
  }

  .social-media-holder {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
    flex-direction: column;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    width: 100%;
    margin-top: 6px;
    display: grid;
  }

  .short-description {
    font-size: 19px;
  }

  .name {
    font-size: 10vw;
  }

  .hero-section-image-holder,
  .hero-section-image-wrapper {
    min-width: 100%;
    max-width: 100%;
  }

  .about-me-section-holder {
    padding-top: 60px;
  }

  .black-graphic {
    width: 20px;
  }

  .about-short-text-holder {
    width: 100%;
    max-width: none;
    padding-left: 0;
  }

  .black-graphis-holder {
    top: 12px;
    left: 48px;
  }

  .summary-paragraph {
    max-height: 270px;
    padding: 12px;
  }

  .about-me-grid-holder {
    padding-top: 170px;
  }

  .about-me-grid {
    grid-row-gap: 32px;
    flex-direction: column-reverse;
  }

  .about-me-graphic {
    display: none;
  }

  .selected-work-image-holder {
    top: 2%;
  }

  .selected-work-image {
    width: 130px;
  }

  .about-me-text {
    width: 150px;
  }

  .nav-menu-link-holder {
    grid-row-gap: 70px;
    justify-content: center;
    align-items: center;
    width: 90vw;
    min-width: 90vw;
    max-width: 90vw;
    padding: 80px 14px;
  }

  .nav-link-big {
    font-size: 38px;
  }

  .nav-menu-wrapper {
    justify-content: center;
    align-items: center;
    width: 90vw;
    display: flex;
  }
}

/* ══════════════════════════════════════════
   VIEW TOGGLE BAR
══════════════════════════════════════════ */

.view-toggle-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0 60px;
  gap: 14px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.toggle-eyebrow {
  font-family: var(--fonts--paragraphs);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.toggle-pill {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 4px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.toggle-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--color--accent-color);
  border-radius: 100px;
  pointer-events: none;
  z-index: 0;
}
.toggle-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--fonts--paragraphs);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.toggle-btn.toggle-active {
  color: #0a0a0a;
  font-weight: 700;
}

/* ══════════════════════════════════════════
   CONTENT VIEWS
══════════════════════════════════════════ */

.content-view {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Fills viewport under the toggle so the blueprint layout can use flex + spacer */
.blueprint-video-section > #ai-blueprint-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* ══════════════════════════════════════════
   AI BLUEPRINT VIEW
══════════════════════════════════════════ */

.blueprint-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 69px 80px;
  gap: 28px;
  flex: 1;
  min-height: 0;
  width: 100%;
}
.blueprint-vertical-spacer {
  flex: 0 0 auto;
  width: 100%;
  min-height: max(8px, calc(52vh - 380px));
  pointer-events: none;
}
.blueprint-intro {
  text-align: center;
  max-width: 680px;
}
.blueprint-eyebrow {
  font-family: var(--fonts--paragraphs);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color--accent-color);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.blueprint-heading {
  font-family: var(--fonts--heading-font);
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.blueprint-subtext {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0;
  font-family: var(--fonts--paragraphs);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Input */
.blueprint-input-area {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Blueprint input: inner layout */
.blueprint-input-inner {
  box-sizing: border-box;
  width: 100%;
  padding: 22px 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blueprint-textarea {
  background: none;
  border: none;
  color: #fff;
  font-family: var(--fonts--paragraphs);
  font-size: 17px;
  line-height: 1.55;
  resize: none;
  outline: none;
  width: 100%;
  overflow: hidden;
}
.blueprint-textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}
.blueprint-input-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.blueprint-generate-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color--accent-color);
  color: #000;
  border: none;
  padding: 11px 24px;
  font-family: var(--fonts--paragraphs);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 100px;
  transition:
    background-color 0.25s,
    transform 0.2s;
}
.blueprint-generate-btn:hover:not(:disabled) {
  background-color: #ff8a5c;
  transform: translateY(-1px);
}
.blueprint-generate-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-dots span {
  width: 5px;
  height: 5px;
  background: #000;
  border-radius: 50%;
  display: block;
}

/* Chips */
.suggestion-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.chips-label {
  font-family: var(--fonts--paragraphs);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.chip {
  background: rgba(10, 10, 14, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  padding: 7px 15px;
  font-family: var(--fonts--paragraphs);
  font-size: 12px;
  border-radius: 100px;
  cursor: pointer;
  transition:
    border-color 0.25s,
    color 0.25s,
    background 0.25s;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.chip:hover {
  border-color: var(--color--accent-color);
  color: #fff;
  background: rgba(247, 116, 74, 0.18);
}

/* ══════════════════════════════════════════
   BLUEPRINT OUTPUT
══════════════════════════════════════════ */

.blueprint-output {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.output-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.output-tag {
  font-family: var(--fonts--paragraphs);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color--accent-color);
  text-transform: uppercase;
}
.output-title {
  font-family: var(--fonts--heading-font);
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
}
.output-subtitle {
  font-family: var(--fonts--paragraphs);
  font-size: 15px;
  color: #666;
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto;
}

/* Workflow nodes */
.workflow-nodes {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.workflow-node {
  flex: 1;
  min-width: 155px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 6px;
}
.node-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.node-number {
  font-family: var(--fonts--paragraphs);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--color--accent-color);
  font-weight: 700;
}
.node-icon {
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--color--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(247, 116, 74, 0.06);
  flex-shrink: 0;
}
.node-label {
  font-family: var(--fonts--heading-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  margin-top: 2px;
}
.node-desc {
  font-family: var(--fonts--paragraphs);
  font-size: 12px;
  color: #4a4a4a;
  line-height: 1.6;
}

.node-connector {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-top: 23px;
  width: 28px;
}
.conn-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--color--accent-color) 50%,
    rgba(247, 116, 74, 0.2)
  );
  transform-origin: left center;
}
.conn-head {
  color: var(--color--accent-color);
  font-size: 7px;
  margin-left: -1px;
  line-height: 1;
}

/* Tech stack */
.blueprint-tech-stack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #141414;
}
.tech-label {
  font-family: var(--fonts--paragraphs);
  font-size: 10px;
  color: #333;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tech-badge {
  font-family: var(--fonts--paragraphs);
  font-size: 11px;
  color: #555;
  background: #0c0c0c;
  border: 1px solid #1a1a1a;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

/* Book CTA */
.blueprint-book-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 40px 0 10px;
}
.cta-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #1e1e1e 20% 80%,
    transparent
  );
  margin-bottom: 10px;
}
.cta-lead {
  font-family: var(--fonts--heading-font);
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.book-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: #000;
  padding: 18px 42px;
  font-family: var(--fonts--paragraphs);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  transition:
    background 0.3s,
    color 0.3s,
    gap 0.3s,
    transform 0.2s;
}
.book-call-btn:hover {
  background: var(--color--accent-color);
  color: #000;
  gap: 22px;
  transform: translateY(-2px);
}
.book-arrow {
  font-size: 18px;
  line-height: 1;
}
.cta-note {
  font-family: var(--fonts--paragraphs);
  font-size: 11px;
  color: #2e2e2e;
  margin: 0;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media screen and (max-width: 991px) {
  .blueprint-section {
    padding: 0 20px 80px;
  }
  .blueprint-heading {
    font-size: 36px;
  }
  .workflow-node {
    min-width: 165px;
  }
}
@media screen and (max-width: 767px) {
  .blueprint-heading {
    font-size: 32px;
  }
  .blueprint-section {
    gap: 36px;
    padding: 0 16px 60px;
  }
  .toggle-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
  .output-title {
    font-size: 26px;
  }
  .cta-lead {
    font-size: 22px;
  }
  .book-call-btn {
    padding: 15px 28px;
    font-size: 13px;
  }
}
@media screen and (max-width: 479px) {
  .view-toggle-bar {
    padding: 50px 16px 36px;
  }
  .blueprint-heading {
    font-size: 28px;
  }
  .suggestion-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .chip {
    white-space: nowrap;
  }
}

/* ══════════════════════════════════════════
   BLUEPRINT VIDEO BACKGROUND
══════════════════════════════════════════ */

/* One viewport tall only: video + overlay stay fixed; About & Work flows below (scroll). */
.blueprint-video-section {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: visible;
}

.blueprint-video-section > #portfolio-view {
  flex: 0 0 auto;
  min-width: 0;
}

.blueprint-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.blueprint-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgb(20 20 20 / 23%) 0%,
    rgb(10 10 10 / 33%) 50%,
    rgb(20 20 20 / 85%) 100%
  );
  pointer-events: none;
}

/* ── Intake flow — questioning state ───────────────────────────────────────── */

.intake-question-panel {
  padding: 3rem 1.5rem 2rem;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intake-progress {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.intake-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease;
}

.intake-progress-dot--filled {
  background: var(--color--accent-color);
}

.intake-question-text {
  color: #fff;
  font-family: var(--fonts--heading-font);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  margin: 0;
}

.intake-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.intake-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-family: var(--fonts--body-font, 'Montserrat', sans-serif);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.intake-pill:hover:not(:disabled) {
  background: rgba(247, 116, 74, 0.18);
  border-color: var(--color--accent-color);
  transform: translateY(-1px);
}

.intake-pill:disabled { opacity: 0.5; cursor: not-allowed; }

.intake-custom-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.intake-custom-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--fonts--body-font, 'Montserrat', sans-serif);
  padding: 0.65rem 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.intake-custom-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.intake-custom-input:focus { border-color: rgba(247, 116, 74, 0.5); }

.intake-send-btn {
  background: var(--color--accent-color);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1.1rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intake-send-btn:hover:not(:disabled) { opacity: 0.85; transform: translateX(2px); }
.intake-send-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.intake-error {
  color: #ff6b6b;
  font-size: 0.82rem;
  text-align: center;
  margin: 0;
}

.intake-restart-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  cursor: pointer;
  text-align: center;
  padding: 0;
  transition: color 0.2s ease;
  font-family: var(--fonts--body-font, 'Montserrat', sans-serif);
  letter-spacing: 0.05em;
}

.intake-restart-btn:hover { color: rgba(255, 255, 255, 0.65); }

/* ── Activation flow ────────────────────────────────────────────────────────── */

.activation-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 32px 0 64px;
  width: 100%;
}

.act-progress {
  display: flex;
  gap: 0;
  align-items: center;
}

.act-progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.act-progress-step + .act-progress-step {
  margin-left: 24px;
}

.act-progress-step + .act-progress-step::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin-right: 24px;
}

.act-progress-step--active {
  color: rgba(255,255,255,0.9);
}

.act-progress-step--done {
  color: #2dd4a0;
}

.act-progress-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.act-progress-label { font-size: 0.75rem; }

/* Step container */
.act-step {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.act-step--wide {
  max-width: 680px;
}

.act-step--done {
  align-items: center;
  text-align: center;
  gap: 20px;
}

.act-done-icon {
  font-size: 3rem;
  line-height: 1;
  animation: pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop-in {
  from { transform: scale(0.3); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.act-step-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,116,74,0.8);
  margin: 0;
}

.act-step-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.act-step-subtext {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.5;
}

/* Auth form */
.act-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.act-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.act-input:focus {
  border-color: rgba(247,116,74,0.5);
}

.act-mode-row {
  display: flex;
  gap: 8px;
}

.act-mode-btn {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.act-mode-btn--active {
  border-color: rgba(247,116,74,0.5);
  color: #fff;
  background: rgba(247,116,74,0.1);
}

/* Tool connect cards */
.act-tool-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.act-tool-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  transition: border-color 0.3s;
}

.act-tool-card--connected {
  border-color: rgba(45,212,160,0.35);
  background: rgba(45,212,160,0.05);
}

.act-tool-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.act-tool-name {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  text-transform: capitalize;
}

.act-tool-right { display: flex; align-items: center; }

.act-tool-status {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
}

.act-tool-status--connected { color: #2dd4a0; }
.act-tool-status--checking { color: rgba(255,255,255,0.4); }
.act-tool-status--connecting { color: rgba(247,116,74,0.8); animation: pulse 1.5s ease-in-out infinite; }

@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

.act-connect-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(247,116,74,0.5);
  background: rgba(247,116,74,0.1);
  color: rgba(247,116,74,0.9);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.act-connect-btn:hover {
  background: rgba(247,116,74,0.2);
}

/* Review card */
.act-review-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.act-review-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.act-review-objective {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.5;
}

.act-review-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.act-review-stat {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.act-review-stat strong { color: rgba(247,116,74,0.9); }

.act-review-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.act-review-tool {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: capitalize;
}

.act-review-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 12px;
}

.act-review-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.act-review-step-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(247,116,74,0.15);
  color: rgba(247,116,74,0.8);
  font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.act-review-step-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  padding-top: 2px;
}

/* Shared primary button */
.act-primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #f7744a 0%, #e85d36 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

.act-primary-btn:hover:not(:disabled) { opacity: 0.88; transform: translateY(-1px); }
.act-primary-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.act-primary-btn--ready {
  margin-top: 8px;
}

.act-primary-btn--activate {
  background: linear-gradient(135deg, #2dd4a0 0%, #1ab88a 100%);
}

.act-secondary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
  box-sizing: border-box;
}

.act-secondary-btn:hover:not(:disabled) { background: rgba(255,255,255,0.11); transform: translateY(-1px); }
.act-secondary-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.act-error {
  font-size: 0.85rem;
  color: #ff7070;
  margin: 0;
}

.act-warning {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(250, 204, 21, 0.86);
  margin: 0;
}

.timeline-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: capitalize;
}

.timeline-status strong {
  color: rgba(247,116,74,0.92);
}

.timeline-steps,
.timeline-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.035);
}

.timeline-step--tested {
  border-color: rgba(45,212,160,0.28);
  background: rgba(45,212,160,0.045);
}

.timeline-step--pending_approval {
  border-color: rgba(247,116,74,0.32);
  background: rgba(247,116,74,0.06);
}

.timeline-step--custom_build_required,
.timeline-step--error {
  border-color: rgba(248,113,113,0.28);
  background: rgba(248,113,113,0.055);
}

.timeline-step-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247,116,74,0.14);
  color: rgba(247,116,74,0.9);
  font-size: 0.74rem;
  flex-shrink: 0;
}

.timeline-step-title {
  margin: 0 0 3px;
  color: rgba(255,255,255,0.88);
  font-size: 0.86rem;
  line-height: 1.35;
}

.timeline-step-meta,
.timeline-step-status {
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  text-transform: capitalize;
}

.timeline-step-status {
  padding-top: 3px;
  white-space: nowrap;
}

.timeline-approval {
  border: 1px solid rgba(247,116,74,0.32);
  border-radius: 12px;
  background: rgba(247,116,74,0.07);
  padding: 14px;
}

.timeline-approval-title {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
  margin: 0 0 4px;
}

.timeline-approval-copy {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.58);
  font-size: 0.82rem;
  line-height: 1.45;
}

.timeline-payload {
  max-height: 220px;
  overflow: auto;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0,0,0,0.26);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.timeline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline-actions > * {
  flex: 1 1 180px;
}

.timeline-events {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 10px;
}

.timeline-events p {
  margin: 0;
  color: rgba(255,255,255,0.46);
  font-size: 0.76rem;
  line-height: 1.4;
}

/* ── Dashboard ──────────────────────────────────────────────────────────────── */

.dashboard-page-wrapper {
  min-height: 100vh;
  padding: 100px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.dash-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vh;
}

.dash-auth-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 80px 0;
  text-align: center;
}

.dash-auth-msg {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
}

.dashboard {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dash-header-left { display: flex; flex-direction: column; gap: 4px; }

.dash-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.dash-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.dash-signout-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 6px 14px;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.dash-signout-btn:hover { color: #fff; border-color: rgba(255,255,255,0.35); }

/* Points */
.points-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 6px 14px;
}

.points-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}

.points-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.points-topup-link {
  font-size: 0.78rem;
  color: rgba(247,116,74,0.8);
  background: none;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding: 0 0 0 8px;
  margin-left: 4px;
  cursor: pointer;
  transition: color 0.2s;
}

.points-topup-link:hover { color: #f7744a; }

/* Success banner */
.dash-success-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(45,212,160,0.1);
  border: 1px solid rgba(45,212,160,0.3);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #2dd4a0;
  animation: slide-down 0.3s ease;
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dash-success-close {
  background: none;
  border: none;
  color: rgba(45,212,160,0.6);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
  flex-shrink: 0;
}

/* Top-up panel */
.topup-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slide-down 0.25s ease;
}

.topup-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.topup-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,116,74,0.8);
  margin: 0 0 4px;
}

.topup-subtext {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
  line-height: 1.5;
}

.topup-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.topup-close:hover { color: rgba(255,255,255,0.7); }

.topup-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 540px) {
  .topup-packages { grid-template-columns: 1fr; }
}

.topup-pkg {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: border-color 0.2s;
}

.topup-pkg--popular {
  border-color: rgba(247,116,74,0.4);
  background: rgba(247,116,74,0.06);
}

.topup-pkg-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #f7744a;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.topup-pkg-name {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

.topup-pkg-points {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-top: 4px;
}

.topup-pkg-pts-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topup-pkg-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin: 4px 0 8px;
}

.topup-pkg-btn {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(247,116,74,0.5);
  background: rgba(247,116,74,0.12);
  color: #f7744a;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
}

.topup-pkg--popular .topup-pkg-btn {
  background: #f7744a;
  color: #fff;
  border-color: #f7744a;
}

.topup-pkg-btn:hover:not(:disabled) {
  background: #f7744a;
  color: #fff;
}

.topup-pkg-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.topup-error {
  font-size: 0.83rem;
  color: #ff8080;
  margin: 0;
  text-align: center;
}

.topup-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
  text-align: center;
}

/* Sections */
.dash-section { display: flex; flex-direction: column; gap: 12px; }

.dash-section-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* Empty state */
.dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px 0;
  text-align: center;
}

.dash-empty-text {
  color: rgba(255,255,255,0.35);
  font-size: 1rem;
  margin: 0;
}

/* Agent card */
.dash-agent-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s;
}

.dash-agent-card--needs_you {
  border-color: rgba(247,116,74,0.4);
  background: rgba(247,116,74,0.04);
}

.dash-agent-card--error {
  border-color: rgba(255,80,80,0.3);
}

.dash-agent-card--paused {
  opacity: 0.75;
}

.dash-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dash-card-left { display: flex; flex-direction: column; gap: 6px; }

.dash-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.dash-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dash-status-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
}

.dash-status-badge--running  { background: rgba(45,212,160,0.15); color: #2dd4a0; }
.dash-status-badge--paused   { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }
.dash-status-badge--error    { background: rgba(255,80,80,0.15); color: #ff8080; }
.dash-status-badge--needs_you { background: rgba(247,116,74,0.2); color: #f7744a; }

.dash-card-trigger, .dash-card-runs, .dash-card-last-run {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.dash-card-tools {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
}

.dash-card-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.dash-ctrl-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}

.dash-ctrl-btn:hover:not(:disabled) {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.dash-ctrl-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.dash-ctrl-btn--primary {
  border-color: rgba(45,212,160,0.4);
  color: #2dd4a0;
}

.dash-ctrl-btn--primary:hover:not(:disabled) {
  background: rgba(45,212,160,0.1);
  border-color: #2dd4a0;
  color: #2dd4a0;
}

.dash-ctrl-btn--danger {
  border-color: rgba(255,80,80,0.3);
  color: rgba(255,100,100,0.8);
}

.dash-ctrl-btn--danger:hover:not(:disabled) {
  background: rgba(255,80,80,0.1);
  color: #ff8080;
}

.dash-confirm-delete {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.dash-card-error {
  font-size: 0.82rem;
  color: #ff8080;
  margin: 0;
}

/* Handoff card */
.handoff-card {
  background: rgba(247,116,74,0.07);
  border: 1px solid rgba(247,116,74,0.25);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.handoff-card--done {
  background: rgba(45,212,160,0.07);
  border-color: rgba(45,212,160,0.2);
}

.handoff-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(247,116,74,0.9);
}

.handoff-done-msg {
  font-size: 0.85rem;
  color: #2dd4a0;
}

.handoff-instruction {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.5;
}

.handoff-context {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.handoff-context-row { display: flex; gap: 8px; font-size: 0.8rem; }
.handoff-context-key { color: rgba(247,116,74,0.7); flex-shrink: 0; }
.handoff-context-val { color: rgba(255,255,255,0.6); word-break: break-word; }

.handoff-response-row {
  display: flex;
  gap: 8px;
}

.handoff-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.handoff-input:focus { border-color: rgba(247,116,74,0.5); }

.handoff-send-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: rgba(247,116,74,0.8);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.handoff-send-btn:hover:not(:disabled) { background: #f7744a; }
.handoff-send-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.handoff-error {
  font-size: 0.82rem;
  color: #ff8080;
  margin: 0;
}

/* ── React Flow node styles ─────────────────────────────────────────────────── */

/* Override React Flow dark-mode backgrounds to match site */
.react-flow { background: transparent !important; }
.react-flow__background { opacity: 0.4; }
.react-flow__handle {
  width: 8px !important; height: 8px !important;
  background: rgba(247, 116, 74, 0.7) !important;
  border: 2px solid rgba(247, 116, 74, 0.3) !important;
}

.flow-node {
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  width: 220px;
  color: #fff;
  font-family: var(--fonts--body-font, 'Montserrat', sans-serif);
  font-size: 0.8rem;
  cursor: default;
  transition: border-color 0.2s ease;
}

.flow-node--editable { cursor: pointer; }
.flow-node--editable:hover { border-color: rgba(247, 116, 74, 0.4); }

.flow-node--trigger {
  border-color: rgba(247, 116, 74, 0.45);
  background: rgba(247, 116, 74, 0.08);
}
.flow-node--human-review {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.08);
}
.flow-node--output {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.08);
}

.flow-node-badge {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 6px;
}
.flow-node-badge--human { color: rgba(167, 139, 250, 0.9); opacity: 1; }
.flow-node-badge--success { color: rgba(74, 222, 128, 0.9); opacity: 1; }
.flow-node-badge--custom { color: rgba(248, 113, 113, 0.95); opacity: 1; }

.flow-node-header {
  display: flex; align-items: center; gap: 7px; margin-bottom: 6px;
}
.flow-node-tool {
  font-size: 0.7rem; opacity: 0.55; text-transform: capitalize;
}
.flow-node-title {
  font-size: 0.82rem; font-weight: 600; margin-bottom: 4px; text-transform: capitalize;
}
.flow-node-desc {
  font-size: 0.72rem; opacity: 0.65; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Node palette ───────────────────────────────────────────────────────────── */
.node-palette {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 7px 12px;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; margin-bottom: 8px;
}
.node-palette-label {
  font-size: 0.7rem; opacity: 0.45; text-transform: uppercase; letter-spacing: 0.08em;
}
.palette-node {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.13);
  border-radius: 8px; padding: 5px 10px; cursor: grab; user-select: none;
  transition: background 0.15s, border-color 0.15s;
}
.palette-node:hover { background: rgba(255,255,255,0.1); border-color: rgba(247,116,74,0.4); }
.palette-node:active { cursor: grabbing; }
.palette-node-icon { font-size: 0.95rem; }
.palette-node-label { font-size: 0.75rem; font-weight: 600; color: #fff; line-height: 1.2; }
.palette-node-desc { font-size: 0.65rem; opacity: 0.45; }

/* ── Blueprint renderer ─────────────────────────────────────────────────────── */
.blueprint-renderer {
  max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem; color: #fff;
}
.br-header { text-align: center; margin-bottom: 1.5rem; }
.br-title {
  font-family: var(--fonts--heading-font);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  margin: 0.4rem 0 0.75rem; line-height: 1.25;
}
.br-summary {
  opacity: 0.75; max-width: 560px; margin: 0 auto 1rem;
  font-size: 0.9rem; line-height: 1.65;
}
.br-stat {
  display: inline-flex; align-items: baseline; gap: 5px;
  background: rgba(247,116,74,0.12); border: 1px solid rgba(247,116,74,0.28);
  border-radius: 100px; padding: 3px 14px;
}
.br-stat-number { font-size: 1.1rem; font-weight: 700; color: var(--color--accent-color); }
.br-stat-label { font-size: 0.78rem; opacity: 0.65; }

.br-risk {
  max-width: 620px;
  margin: 0.9rem auto 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.68);
  font-size: 0.8rem;
  line-height: 1.45;
}

.br-risk--high,
.br-risk--custom {
  border-color: rgba(248,113,113,0.25);
  background: rgba(248,113,113,0.06);
  color: rgba(254,202,202,0.86);
}

.br-risk--medium {
  border-color: rgba(247,116,74,0.25);
  background: rgba(247,116,74,0.06);
  color: rgba(255,214,180,0.86);
}

.br-tools {
  display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-bottom: 1.25rem;
}
.br-tool-badge {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.11);
  border-radius: 100px; padding: 3px 11px 3px 5px; font-size: 0.78rem;
}

.br-canvas-wrapper { position: relative; margin-bottom: 0.75rem; }
.br-canvas {
  height: 300px; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.br-edit-row { text-align: center; margin: 0.75rem 0 1.25rem; }
.br-edit-btn {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.65); border-radius: 8px;
  padding: 0.4rem 1rem; font-size: 0.8rem; cursor: pointer;
  transition: background 0.2s;
}
.br-edit-btn:hover { background: rgba(255,255,255,0.13); }

.br-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.br-cta { flex: 1; min-width: 220px; }
.br-cta-btn {
  width: 100%; padding: 0.8rem 1.25rem; border-radius: 12px; border: none;
  font-size: 0.95rem; font-family: inherit; cursor: pointer; font-weight: 600;
  transition: opacity 0.2s, transform 0.15s;
}
.br-cta-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.br-cta-btn--primary { background: var(--color--accent-color); color: #fff; }
.br-cta-btn--secondary {
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.18); color: #fff;
}
.br-cta-panel {
  margin-top: 0.9rem; padding: 1.1rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
}
.br-cta-heading { font-size: 0.95rem; font-weight: 600; margin: 0 0 0.45rem; }
.br-cta-copy { font-size: 0.82rem; opacity: 0.72; line-height: 1.6; margin: 0 0 0.65rem; }
.br-contact-link {
  display: inline-block; color: var(--color--accent-color);
  text-decoration: none; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem;
}
.br-cta-note { font-size: 0.72rem; opacity: 0.45; margin: 0.4rem 0 0; }
.br-cta-subtext { font-size: 0.76rem; opacity: 0.45; text-align: center; margin: 0.4rem 0 0; }

/* ── Blueprint editor ───────────────────────────────────────────────────────── */
.blueprint-editor {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px; padding: 1.1rem; margin-bottom: 0.75rem;
}
.blueprint-editor-header {
  display: flex; gap: 1rem; margin-bottom: 0.9rem; align-items: flex-start;
}
.editor-name-input,
.editor-objective-input,
.editor-hours-input {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.11);
  border-radius: 7px; color: #fff; padding: 0.45rem 0.7rem;
  font-family: inherit; font-size: 0.82rem; width: 100%; outline: none;
  transition: border-color 0.2s;
}
.editor-name-input { font-weight: 600; font-size: 0.9rem; margin-bottom: 5px; }
.editor-objective-input { resize: none; }
.editor-name-input:focus,
.editor-objective-input:focus,
.editor-hours-input:focus { border-color: rgba(247,116,74,0.4); }
.editor-hours-saved { flex-shrink: 0; width: 110px; }
.editor-hours-saved label {
  display: block; font-size: 0.68rem; opacity: 0.55; margin-bottom: 3px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.editor-step {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 9px; padding: 7px 9px; margin-bottom: 6px;
}
.editor-step-drag { cursor: grab; opacity: 0.35; font-size: 1.1rem; flex-shrink: 0; }
.editor-step-type {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.72rem; opacity: 0.65; flex-shrink: 0; min-width: 70px;
}
.editor-step-type--human { color: rgba(167,139,250,0.9); opacity: 1; }
.editor-step-instruction {
  flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; color: #fff; font-size: 0.78rem;
  padding: 3px 7px; outline: none; font-family: inherit;
}
.editor-step-instruction:focus { border-color: rgba(247,116,74,0.4); }
.editor-step-actions { display: flex; gap: 3px; flex-shrink: 0; }
.editor-step-btn {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px; color: rgba(255,255,255,0.55);
  font-size: 0.72rem; padding: 2px 6px; cursor: pointer; transition: background 0.15s;
}
.editor-step-btn:hover { background: rgba(255,255,255,0.12); }
.editor-step-btn--danger:hover { background: rgba(239,68,68,0.2); color: #f87171; }
.editor-add-step {
  background: none; border: 1px dashed rgba(255,255,255,0.18); border-radius: 8px;
  color: rgba(255,255,255,0.35); padding: 5px; width: 100%; cursor: pointer;
  font-size: 0.78rem; margin-top: 2px; transition: border-color 0.15s, color 0.15s;
}
.editor-add-step:hover { border-color: rgba(247,116,74,0.4); color: rgba(247,116,74,0.8); }
