.topbar {
  width: min(1320px, calc(100% - 96px));
  height: 82px;
  gap: 32px;
}

.topbar .brand {
  gap: 14px;
}

.topbar .brand span {
  padding-left: 14px;
  border-left: 1px solid rgba(184, 189, 183, .5);
  font-size: 14px;
}

.topbar nav {
  gap: 32px;
  font-size: 14px;
}

.topbar nav a {
  padding-block: 30px 25px;
}

.topbar nav a::after {
  bottom: 20px;
}

.topbar .buttonSmall {
  min-height: 40px;
  padding: 11px 19px;
  font-size: 12px;
}

.hero {
  --reveal-radius: 185px;
  min-height: 805px;
  padding-top: 75px;
}

.heroGrid {
  display: block;
  opacity: .78;
  background-size: 15px 15px;
}

.heroSceneMuted {
  filter: saturate(.22) brightness(1.08) contrast(.8) blur(.6px);
  opacity: .72;
}

.heroSceneReveal {
  clip-path: none;
  filter: saturate(1.28) brightness(1.02) contrast(1.1);
  -webkit-mask-image: radial-gradient(
    circle var(--reveal-radius) at var(--reveal-x) var(--reveal-y),
    #000 0 76%,
    rgba(0, 0, 0, .94) 82%,
    rgba(0, 0, 0, .55) 92%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle var(--reveal-radius) at var(--reveal-x) var(--reveal-y),
    #000 0 76%,
    rgba(0, 0, 0, .94) 82%,
    rgba(0, 0, 0, .55) 92%,
    transparent 100%
  );
}

.heroGlow {
  -webkit-mask-image: radial-gradient(
    circle var(--reveal-radius) at var(--reveal-x) var(--reveal-y),
    transparent 0 72%,
    rgba(0, 0, 0, .18) 80%,
    rgba(0, 0, 0, .7) 92%,
    #000 100%
  );
  mask-image: radial-gradient(
    circle var(--reveal-radius) at var(--reveal-x) var(--reveal-y),
    transparent 0 72%,
    rgba(0, 0, 0, .18) 80%,
    rgba(0, 0, 0, .7) 92%,
    #000 100%
  );
}

.revealRing {
  border: 0;
  box-shadow: none;
}

.revealRing span {
  right: 24px;
  bottom: 30px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 22px rgba(8, 42, 31, .16);
}

.heroContent {
  width: min(760px, 100%);
}

.heroContent h1 span,
.heroContent h1 small {
  display: block;
}

.mobileBreak {
  display: none !important;
}

.heroContent h1 span {
  font-size: clamp(45px, 4.6vw, 64px);
  line-height: 1;
}

.heroContent h1 small {
  margin-top: 5px;
  font-size: clamp(24px, 2.75vw, 37px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.heroLead {
  max-width: 645px;
  margin-top: 14px;
  font-size: 15px;
}

.heroEditor {
  margin-top: 17px;
}

.heroNote,
.imageNote,
.planNote {
  position: absolute;
  z-index: 7;
  margin: 0;
  color: #165469;
  font-family: "Bradley Hand", "Segoe Print", cursive;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: .02em;
  transform: rotate(-7deg);
  pointer-events: none;
}

.heroNoteLeft {
  left: max(28px, calc(50% - 625px));
  top: 120px;
}

.heroNoteRight {
  right: max(40px, calc(50% - 625px));
  top: 130px;
  transform: rotate(6deg);
}

.heroNoteResult {
  right: max(35px, calc(50% - 625px));
  top: 415px;
  transform: rotate(-5deg);
}

.lifestyleCrop {
  position: relative;
  background-image: url("/assets/ai-studio-workflow-interior-v2.webp");
  background-position: center;
}

.imageNote {
  left: 24px;
  top: 36px;
  font-size: 18px;
  transform: rotate(-5deg);
}

.toolsVisual {
  display: block;
  width: min(100%, 1060px);
  max-height: 360px;
  margin: 36px auto -15px;
  object-fit: contain;
  mix-blend-mode: multiply;
  aspect-ratio: 3 / 2;
}

.styleGallery img {
  object-position: center;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.styleGallery figure:hover img {
  transform: scale(1.035);
}

.possibility {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #173228;
  color: #fff;
}

.possibility > img,
.possibilityShade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.possibility > img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.005);
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}

.possibility:hover > img {
  transform: scale(1.025);
}

.possibilityShade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 31, 24, .92) 0%, rgba(7, 31, 24, .72) 27%, rgba(7, 31, 24, .18) 54%, transparent 75%);
}

.possibilityContent {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
}

.possibilityContent > * {
  max-width: 530px;
}

.possibility .sectionKicker {
  color: #79e9a2;
}

.possibility h2 {
  margin: 0;
  font-size: clamp(46px, 5.5vw, 76px);
  line-height: .98;
  letter-spacing: -.052em;
}

.possibilityContent > p:not(.sectionKicker) {
  margin: 24px 0 28px;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.55;
}

.possibilityButton {
  background: #18d564;
  color: #092a1d;
}

.possibilityButton:hover {
  background: #37e77b;
}

.visualizationImage {
  background-image: url("/assets/ai-studio-visualization-evening-v2.webp");
  background-position: center;
}

.planStoryGrid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 12px;
  min-width: 0;
}

.planCard {
  position: relative;
  min-width: 0;
  height: 218px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 46, 40, .1);
  border-radius: 16px;
  background: #f3f5f3;
}

.planCardPrimary {
  grid-column: 1 / -1;
  height: 250px;
}

.planCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.planCardPrimary img {
  object-position: center 52%;
}

.planCard:nth-child(2) img {
  object-fit: contain;
  padding: 12px;
  mix-blend-mode: multiply;
}

.planCard:hover img {
  transform: scale(1.025);
}

.planCard figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 7px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(8, 42, 31, .12);
  backdrop-filter: blur(8px);
}

.planCard figcaption span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: #d9f9e4;
  color: #116f3d;
  font-size: 10px;
  font-weight: 800;
}

.planCard figcaption strong {
  color: var(--ink);
  font-size: 12px;
}

.workflowLayout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(56px, 8vw, 120px);
}

.workflowSequence {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.workflowSequence li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 126px;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.workflowIndex {
  color: #68e898;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.workflowSequence strong,
.workflowSequence small {
  display: block;
}

.workflowSequence strong {
  color: #fff;
  font-size: 17px;
}

.workflowSequence small {
  margin-top: 4px;
  color: #aebdb8;
  font-size: 12px;
  line-height: 1.35;
}

.workflowSequence img {
  width: 126px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.workflowSequence li:hover img {
  transform: translateX(-5px);
  filter: brightness(1.08);
}

.toolList {
  margin-top: 0;
}

.toolList article {
  padding-top: 0;
}

.planTransformExploded {
  position: relative;
  display: block;
}

.planTransformExploded img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
}

.planNote {
  right: -30px;
  top: 35%;
  font-size: 17px;
  transform: rotate(8deg);
}

.nodeSpace img,
.nodePlan img {
  background: #fff;
  object-fit: cover;
}

/* The dotted canvas is the shared visual language across the full AI Studio page. */
.editorialIntro,
.accelerate,
.tools,
.styleFinder,
.floorPlan,
.visualizations,
.final {
  isolation: isolate;
  overflow: hidden;
}

.editorialIntro::after,
.accelerate::after,
.tools::after,
.styleFinder::after,
.floorPlan::after,
.visualizations::after,
.final::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: radial-gradient(circle, rgba(20, 83, 72, .3) 1px, transparent 1.35px);
  background-size: 18px 18px;
  opacity: .18;
  pointer-events: none;
}

.sectionInner,
.visualizations > .sectionCopy,
.visualizationImage,
.finalInner {
  position: relative;
  z-index: 1;
}

.toolsVisual,
.toolList,
.sectionHeading {
  position: relative;
  z-index: 4;
}

.promptChip,
.styleGallery figcaption,
.planNote,
.imageNote {
  z-index: 4;
}

.siteFooter {
  background-color: #fff;
  background-image: none;
}

.siteFooter {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0 40px;
  border-top: 1px solid var(--line);
  color: #667074;
}

.siteFooter .footerPages {
  grid-column: 1 / -1;
  margin: 0 0 27px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 13px;
}

.siteFooter .footerPages a,
.siteFooter .footerCopyright a,
.siteFooter .recaptchaNotice a {
  color: inherit;
  text-decoration: none;
}

.siteFooter .footerPages a {
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}

.siteFooter .footerPages a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--green-dark);
  transition: right .2s ease;
}

.siteFooter .footerPages a:hover,
.siteFooter .footerPages a:focus-visible,
.siteFooter .footerCopyright a:hover,
.siteFooter .recaptchaNotice a:hover {
  color: var(--green-dark);
}

.siteFooter .footerPages a:hover::after,
.siteFooter .footerPages a:focus-visible::after {
  right: 0;
}

.footerCopyright {
  color: #526165;
  font-size: 12px;
  white-space: nowrap;
}

.footerConnections {
  justify-self: end;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 34px;
}

.footerGroup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footerGroup strong {
  color: #526165;
  font-size: 11px;
}

.footerGroup a,
.footerGroup img {
  display: block;
  width: 20px;
  height: 20px;
}

.footerGroup a {
  opacity: .66;
  transition: opacity .2s ease, transform .2s ease;
}

.footerGroup a:hover,
.footerGroup a:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.siteFooter .recaptchaNotice {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #8a9390;
  font-size: 10px;
  line-height: 1.45;
}

@media (max-width: 800px) {
  .siteFooter {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .siteFooter .footerPages {
    margin-bottom: 24px;
    gap: 10px 22px;
  }

  .footerConnections {
    justify-self: start;
    margin-top: 20px;
  }
}

@media (max-width: 520px) {
  .siteFooter {
    width: calc(100% - 40px);
  }

  .siteFooter .footerPages {
    font-size: 12px;
  }

  .footerConnections {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

/* Copilot-style footer with production links and supporting rows. */
.siteFooter {
  display: block;
  width: 100%;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-top: 0;
  box-sizing: border-box;
}

.footerTop {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
}

.footerTop .footerBrand {
  align-self: center;
}

.siteFooter .footerTop .footerPages {
  grid-column: auto;
  margin: 0;
  justify-content: center;
  gap: 10px 24px;
  font-size: 12px;
}

.footerTop .footerCopyright {
  color: #78817c;
  font-size: 11px;
  white-space: nowrap;
}

.siteFooter .footerConnections {
  padding: 20px 0;
  border: 0;
  justify-content: flex-start;
  justify-self: auto;
  gap: 18px 42px;
}

.siteFooter .recaptchaNotice {
  margin: 0;
  padding: 15px 0 22px;
  border: 0;
  text-align: center;
}

@media (max-width: 980px) {
  .footerTop {
    grid-template-columns: 1fr auto;
    padding: 26px 0;
    row-gap: 22px;
  }

  .siteFooter .footerTop .footerPages {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .siteFooter {
    width: 100%;
    padding-inline: 20px;
  }

  .footerTop {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footerTop .footerBrand,
  .footerTop .footerCopyright,
  .siteFooter .footerTop .footerPages {
    grid-column: auto;
    grid-row: auto;
  }

  .siteFooter .footerTop .footerPages {
    justify-content: flex-start;
  }

  .siteFooter .footerConnections {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .siteFooter .recaptchaNotice {
    text-align: left;
  }
}

@media (max-width: 1100px) {
  .heroNote { display: none; }

  .topbar {
    width: calc(100% - 64px);
  }

  .topbar nav {
    gap: 20px;
    font-size: 13px;
  }
}

/* Shared Planner 5D landing-page rhythm. */
.button:not(.buttonSmall) {
  min-height: 48px;
}

.section h2 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.06;
}

.editorialIntro,
.accelerate,
.tools,
.styleFinder,
.floorPlan,
.workflowMap {
  padding-block: 96px;
}

.heroEditor {
  border-radius: 24px;
}

.lifestyleCrop,
.processCanvas,
.styleGallery figure {
  border-radius: 16px;
}

.promptChip {
  border-radius: 12px;
}

@media (max-width: 700px) {
  .editorialIntro,
  .accelerate,
  .tools,
  .styleFinder,
  .floorPlan,
  .workflowMap {
    padding-block: 72px;
  }

  .section h2 {
    font-size: 34px;
    line-height: 1.08;
  }
}

/* AI Studio canvas: prompt, upload, 3D plan and generated design on one dotted workspace. */
.studioCanvas {
  position: relative;
  min-width: 0;
  height: 470px;
  overflow: hidden;
  border-radius: 22px;
  background-color: #f4f8f6;
  background-image: radial-gradient(circle, rgba(22, 106, 79, .32) 1px, transparent 1.35px);
  background-size: 17px 17px;
  box-shadow: 0 28px 65px rgba(14, 58, 45, .13);
}

.canvasAsset {
  position: absolute;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 36px rgba(16, 48, 39, .17);
}

.canvasAsset img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.canvasConcept {
  top: 32px;
  left: 28px;
  width: 58%;
  height: 210px;
  transform: rotate(-1.3deg);
}

.canvasPlan {
  top: 22px;
  right: 25px;
  width: 35%;
  height: 188px;
  transform: rotate(1.8deg);
}

.canvasPlan span {
  position: absolute;
  right: 10px;
  bottom: 9px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #156e43;
  font-size: 10px;
  font-weight: 800;
}

.canvasDesign {
  right: 48px;
  bottom: 76px;
  width: 48%;
  height: 190px;
  transform: rotate(-1deg);
}

.canvasPromptBar {
  position: absolute;
  z-index: 4;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 9px 8px 14px;
  border: 1px solid rgba(26, 80, 62, .12);
  border-radius: 15px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 34px rgba(14, 58, 45, .16);
  color: #455751;
  font-size: 11px;
  backdrop-filter: blur(12px);
}

.canvasPromptIcon {
  color: #13be57;
  font-size: 17px;
}

.canvasUpload {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 9px;
  background: #eef3f0;
  color: #4d625b;
  white-space: nowrap;
}

.canvasPromptBar button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  place-items: center;
  border-radius: 50%;
  background: #17d665;
  color: #07341f;
  font-size: 20px;
}

/* Each AI tool owns its visual and explanation. */
.toolList {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 28px;
  margin-top: 58px;
}

.toolList article,
.toolList article:nth-child(3) {
  padding: 0;
  border: 0;
  text-align: left;
}

.toolList img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 15px;
  mix-blend-mode: normal;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.toolList article:hover img {
  transform: translateY(-6px);
}

.toolList h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.toolList p {
  max-width: 330px;
  font-size: 14px;
  line-height: 1.55;
}

.styleFinder::after {
  opacity: .3;
}

.styleGallery figure {
  height: 410px;
  border-radius: 20px;
}

/* One connected drafting canvas: plan, structure and finished room. */
.planStoryGrid {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  overflow: hidden;
  padding: 34px 24px 44px;
  border-radius: 24px;
  background-color: rgba(238, 247, 242, .72);
  background-image: radial-gradient(circle, rgba(22, 106, 79, .32) 1px, transparent 1.35px);
  background-size: 17px 17px;
  box-shadow: inset 0 0 0 1px rgba(22, 106, 79, .09);
}

.planStoryGrid::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 16%;
  right: 16%;
  top: 51%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 216, 98, .8) 14%, rgba(18, 216, 98, .8) 86%, transparent);
}

.planCard,
.planCardPrimary {
  z-index: 1;
  grid-column: auto;
  height: 230px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.planCard:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -22px;
  top: 50%;
  padding: 3px;
  transform: translateY(-50%);
  background: #eef7f2;
  color: #0ba950;
  font-size: 18px;
  font-weight: 800;
}

.planCard img,
.planCard:nth-child(2) img {
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 22px 18px rgba(27, 48, 40, .16));
}

.planCard figcaption {
  left: 50%;
  bottom: -18px;
  border: 0;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 22px rgba(15, 70, 52, .1);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
  white-space: nowrap;
}

.planCard:nth-child(2) figcaption {
  transform: translateX(-50%);
}

.planCard figcaption strong {
  color: #126b45;
  font-family: "Albert Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.planCard figcaption span {
  border-radius: 50%;
}

/* The render note behaves like an annotation, not a floating UI card. */
.visualizationPrompt {
  right: 7%;
  bottom: 8%;
  max-width: 250px;
  padding: 0 0 7px;
  border-bottom: 2px solid #4ce58a;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-family: "Bradley Hand", "Segoe Print", cursive;
  font-size: 16px;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .75);
  backdrop-filter: none;
}

.visualizationPrompt b {
  display: none;
}

/* Two-by-two image notes on the working grid. */
.workflowLayout {
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
}

.workflowSequence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 34px;
  border: 0;
}

.workflowSequence li {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  min-height: 94px;
  padding: 0;
  border: 0;
}

.workflowSequence li > div {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.workflowSequence img {
  grid-column: 1;
  grid-row: 1;
  width: 118px;
  height: 92px;
  border-radius: 5px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, .2);
}

.workflowSequence li:nth-child(even) img {
  transform: rotate(2deg);
}

.workflowSequence li:nth-child(odd) img {
  transform: rotate(-2deg);
}

.workflowSequence li:hover img {
  transform: translateY(-5px) rotate(0);
}

.workflowIndex {
  display: none;
}

.workflowSequence strong {
  font-family: "Bradley Hand", "Segoe Print", cursive;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
}

.workflowSequence small {
  margin-top: 7px;
  font-size: 11px;
}

/* Final CTA continues the hero scene and responds subtly to hover. */
.final {
  background-position: center 68%;
  background-size: 104%;
  transition: background-size 1.2s cubic-bezier(.2, .7, .2, 1), background-position 1.2s ease;
}

.final:hover {
  background-position: center 64%;
  background-size: 109%;
}

.final::before {
  background: rgba(255, 255, 255, .76);
  backdrop-filter: blur(1px) saturate(.7);
}

.final::after {
  opacity: .28;
}

/* Explicit tool visuals: every image demonstrates a different AI operation. */
.toolList img {
  background: #f4f7f5;
}

/* Transparent plan artifacts sit directly on the shared dotted workspace. */
.planCard img,
.planCard:nth-child(2) img {
  mix-blend-mode: normal;
}

.planCard figcaption {
  gap: 0;
  padding: 5px 8px;
}

.planCard figcaption span {
  display: none;
}

/* A system command, deliberately distinct from the hand-written annotations. */
.visualizationPrompt {
  right: 6%;
  bottom: 8%;
  display: block;
  max-width: 310px;
  padding: 11px 14px 10px 31px;
  border: 1px solid rgba(94, 255, 160, .48);
  border-radius: 7px;
  background: rgba(5, 17, 15, .84);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255, 255, 255, .04);
  color: #80f5ad;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.45;
  text-shadow: none;
  backdrop-filter: blur(10px);
}

.visualizationPrompt::before {
  content: ">";
  position: absolute;
  left: 13px;
  top: 11px;
  color: #fff;
}

.workflowSequence strong {
  color: #68e898;
}

/* The closing CTA repeats the hero's cursor reveal instead of a generic zoom. */
.final {
  --final-x: 82%;
  --final-y: 35%;
  --final-radius: 170px;
  min-height: 360px;
  background: #f8f5ed;
  background-image: none;
  cursor: crosshair;
}

.final:hover {
  background-image: none;
}

.finalScene {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/assets/ai-studio-hero-room.webp") center 68% / cover no-repeat;
}

.finalSceneMuted {
  filter: saturate(.18) brightness(1.12) contrast(.82);
  opacity: .68;
}

.finalSceneReveal {
  clip-path: circle(var(--final-radius) at var(--final-x) var(--final-y));
  filter: saturate(1.18) contrast(1.05);
  transition: clip-path .16s ease-out;
}

.finalGrid {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: .62;
  background-image: radial-gradient(circle, rgba(5, 39, 36, .55) 1.1px, transparent 1.45px);
  background-size: 17px 17px;
  mask-image: radial-gradient(circle var(--final-radius) at var(--final-x) var(--final-y), transparent 0 74%, #000 100%);
  pointer-events: none;
}

.final::before {
  z-index: 2;
  background: linear-gradient(90deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .86) 28%, rgba(255, 255, 255, .86) 72%, rgba(255, 255, 255, .7));
  backdrop-filter: none;
  pointer-events: none;
}

.final::after {
  display: none;
}

.finalInner {
  z-index: 3;
}

@media (max-width: 960px) {
  .studioCanvas {
    height: 430px;
  }

  .toolList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflowLayout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .visualFirst .studioCanvas {
    order: 2;
  }

  .studioCanvas {
    height: 400px;
  }

  .canvasConcept {
    width: 62%;
    height: 170px;
  }

  .canvasPlan {
    width: 38%;
    height: 146px;
  }

  .canvasDesign {
    right: 24px;
    bottom: 79px;
    width: 60%;
    height: 155px;
  }

  .canvasPromptBar {
    left: 12px;
    right: 12px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    font-size: 9px;
  }

  .canvasUpload {
    display: none;
  }

  .toolList {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .toolList img {
    border-radius: 12px;
  }

  .styleGallery {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .styleGallery figure {
    height: 340px;
    scroll-snap-align: start;
  }

  .planCard,
  .planCardPrimary {
    height: 155px;
  }

  .floorPlan .sectionCopy {
    order: 0;
  }

  .planStoryGrid {
    order: 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 24px 12px 40px;
    border-radius: 18px;
  }

  .planStoryGrid::before {
    left: 15%;
    right: 15%;
  }

  .planCard:not(:last-child)::after {
    right: -12px;
    font-size: 14px;
  }

  .planCard figcaption {
    bottom: -16px;
    padding: 5px 7px;
  }

  .planCard figcaption strong {
    font-size: 8px;
    letter-spacing: .035em;
  }

  .workflowSequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .workflowSequence li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .workflowSequence li > div,
  .workflowSequence img {
    grid-column: 1;
  }

  .workflowSequence li > div {
    grid-row: 2;
  }

  .workflowSequence img {
    grid-row: 1;
    width: 100%;
    height: 110px;
  }

  .workflowSequence strong {
    font-size: 16px;
  }

  .final {
    --final-radius: 115px;
    background-size: cover;
    cursor: default;
  }

  .final:hover {
    background-size: cover;
  }
}

@media (max-width: 960px) {
  .topbar {
    width: calc(100% - 40px);
    height: 70px;
  }

  .topbar nav {
    top: 70px;
    width: calc(100vw - 40px);
    padding: 16px 24px;
    border: 1px solid rgba(184, 189, 183, .55);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(8, 42, 31, .12);
  }

  .topbar nav a {
    padding: 13px 0;
  }

  .topbar nav a::after {
    display: none;
  }

  .topbar nav a.active {
    color: #167d43;
  }

  .topbar .menuButton {
    position: relative;
    z-index: 2;
    display: grid;
    border: 1px solid rgba(184, 189, 183, .7);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 24px rgba(8, 42, 31, .08);
  }

  .topbar .brand {
    gap: 10px;
  }

  .topbar .brand img {
    width: 94px;
  }

  .topbar .brand span {
    padding-left: 10px;
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .hero {
    min-height: 740px;
    padding-top: 76px;
  }

  .possibility {
    min-height: 640px;
    align-items: flex-end;
    padding-bottom: 58px;
  }

  .possibility > img {
    object-position: 66% center;
  }

  .possibilityShade {
    background: linear-gradient(0deg, rgba(7, 31, 24, .96) 0%, rgba(7, 31, 24, .72) 42%, rgba(7, 31, 24, .06) 78%);
  }

  .possibilityContent {
    width: calc(100% - 40px);
  }

  .possibility h2 {
    font-size: 42px;
    line-height: 1;
  }

  .possibilityContent > p:not(.sectionKicker) {
    font-size: 15px;
  }

  .heroContent,
  .heroEditor {
    width: calc(100vw - 40px) !important;
    max-width: 350px;
    margin-right: auto;
    margin-left: auto;
  }

  .heroContent h1 span {
    max-width: 330px;
    margin: 0 auto;
    font-size: 31px;
    line-height: 1.02;
  }

  .heroContent h1 .mobileBreak {
    display: inline !important;
  }

  .heroContent h1 small {
    margin-top: 7px;
    font-size: 21px;
  }
  .heroLead {
    max-width: 340px;
    margin: 12px auto 21px;
    font-size: 13px;
  }
  .heroEditor {
    margin-top: 20px;
  }
  .editorPrompt span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .imageNote, .planNote { display: none; }
  .toolsVisual { max-height: 245px; margin-top: 28px; }
  .planTransformExploded img { height: 390px; }

  .workflowLayout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .workflowSequence li {
    grid-template-columns: 34px minmax(0, 1fr) 86px;
    gap: 11px;
    min-height: 82px;
  }

  .workflowSequence strong {
    font-size: 14px;
  }

  .workflowSequence small {
    font-size: 10px;
  }

  .workflowSequence img {
    width: 86px;
    height: 58px;
  }

  .planStoryGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .planCard,
  .planCardPrimary {
    height: 155px;
  }

  .planCardPrimary {
    grid-column: auto;
  }

  .editorialIntro::after,
  .accelerate::after,
  .tools::after,
  .styleFinder::after,
  .floorPlan::after,
  .visualizations::after,
  .final::after {
    opacity: .12;
  }
}

/* GPT-style natural-language prompt over the finished visualization. */
.visualizationPrompt {
  right: 6%;
  bottom: 7%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: min(420px, 88%);
  max-width: none;
  padding: 8px 9px 8px 14px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .24);
  color: #334a43;
  font-family: "Albert Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  text-shadow: none;
  backdrop-filter: blur(14px);
}

.visualizationPrompt::before {
  display: none;
}

.visualizationPrompt .promptSpark {
  color: #0bb654;
  font-size: 18px;
}

.visualizationPrompt b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #07351f;
  font-size: 18px;
}

@media (max-width: 700px) {
  .visualizationPrompt {
    right: 4%;
    bottom: 5%;
    width: 92%;
    padding-left: 12px;
    font-size: 11px;
  }

  .workflowSequence {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .workflowSequence li {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    min-height: 92px;
  }

  .workflowSequence li > div {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .workflowSequence img {
    grid-column: 1;
    grid-row: 1;
    width: 112px;
    height: 84px;
  }

  .workflowSequence strong {
    font-size: 18px;
    line-height: 1.15;
  }

  .workflowSequence small {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.4;
  }
}
