/* Senna's content studio. All four scenes are vector / CSS, with reserved space. */
.creative-scene {
  position: relative;
  container-type: inline-size;
  min-width: 0;
  width: 100%;
  isolation: isolate;
  --scene-progress: 0;
}
.scene-content { position: absolute; inset: 0; pointer-events: none; user-select: none; }
.scene-icon { display: block; flex: 0 0 auto; width: 24px; height: 24px; fill: currentColor; }
.scene-piece {
  position: absolute;
  transform: translate3d(calc(var(--scene-progress) * var(--drift-x, 0px)), calc(var(--scene-progress) * var(--drift-y, 0px)), 0) rotate(calc(var(--angle, 0deg) + var(--scene-progress) * var(--drift-angle, 0deg)));
  transform-origin: center;
}
.scene-reveal { width: 100%; height: 100%; }
.scene-entered .scene-reveal { animation: studio-arrive 620ms var(--ease-out) calc(var(--scene-entry-offset, 0ms) + var(--delay, 0ms)) backwards; }
.scene-route { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #a69ab9; stroke-width: 1.5; stroke-dasharray: 5 7; }
.scene-story { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: center; gap: 16px; font: 700 10px/1.2 Arial, sans-serif; letter-spacing: .08em; }
.scene-story i { color: var(--violet); font-style: normal; font-size: 16px; }
.hero-art { justify-self: end; max-width: 510px; aspect-ratio: 1 / 1.07; }
.note-label { display: block; font: 700 max(9px, 1.9cqw)/1.2 Arial, sans-serif; letter-spacing: .045em; }
.idea-note { z-index: 2; left: 1%; top: 8%; width: 35%; }
.idea-note > div { padding: 9% 10% 11%; background: #eee6f8; border-radius: 3px 3px 22px 3px; box-shadow: 0 8px 20px rgb(44 29 69 / 9%); }
.idea-note .scene-icon { width: 30%; height: auto; aspect-ratio: 1; margin: 10% 0 6%; color: var(--violet); }
.idea-note strong { display: block; font: 400 4.2cqw/1.05 var(--font-display); text-transform: uppercase; }
.note-signature { display: block; width: max-content; margin-top: 9%; border-bottom: 2px solid var(--pink); font-size: max(9px, 2.2cqw); color: #564266; }
.content-phone { z-index: 1; left: 36%; top: 3%; width: 47%; height: 83%; }
.phone-device { position: relative; overflow: hidden; border: max(4px, 1.3cqw) solid var(--ink); border-radius: 6cqw; background: var(--white); box-shadow: 1.7cqw 2.8cqw 5cqw rgb(23 23 26 / 15%), inset 0 0 0 1px #ccc5c0; }
.phone-speaker { width: 31%; height: 1.2cqw; min-height: 3px; margin: 4% auto 5%; border-radius: 10px; background: var(--ink); }
.phone-profile { display: flex; align-items: center; gap: 7%; padding: 3% 7% 6%; font-size: max(8px, 2.2cqw); }
.phone-profile .scene-icon { width: 15%; height: auto; aspect-ratio: 1; }
.phone-profile > span { margin-left: auto; font-size: 2cqw; }
.phone-post { display: flex; flex-direction: column; justify-content: space-between; margin: 0 3%; padding: 8%; min-height: 59%; background: var(--violet); color: var(--white); }
.post-category, .post-signature { font: 700 max(7px, 1.55cqw)/1.4 Arial, sans-serif; letter-spacing: .04em; }
.phone-post strong { margin-block: 6%; font: 400 7.4cqw/.98 var(--font-display); }
.phone-post em { color: #fcd9ee; font-style: normal; }
.phone-actions { display: flex; align-items: center; gap: 8%; padding: 7% 8% 4%; }
.phone-actions .scene-icon { width: 12%; height: auto; aspect-ratio: 1; }
.phone-actions .scene-icon:first-child { color: #af307c; }
.phone-actions span { margin-left: auto; font-size: 1.6cqw; }
.phone-caption { margin-inline: 8%; max-width: 88%; font-size: max(8px, 1.8cqw); line-height: 1.45; }
.phone-home { position: absolute; bottom: 2%; left: 33%; width: 34%; height: 1%; min-height: 2px; border-radius: 9px; background: var(--ink); }
.capture-camera { z-index: 3; width: 40%; left: 0; top: 49%; }
.camera-illustration { display: block; width: 100%; height: auto; aspect-ratio: 180 / 135; filter: drop-shadow(0 9px 8px rgb(23 23 26 / 17%)); }
.capture-camera span, .studio-camera span { display: block; margin: 9% 0 0 7%; color: #484050; font: 700 max(8px, 1.8cqw)/1.2 Arial, sans-serif; letter-spacing: .04em; }
.social-float { z-index: 3; top: 17%; right: 0; width: 14%; aspect-ratio: 1; }
.social-float > div { display: grid; place-items: center; border-radius: 28%; background: var(--pink); color: var(--ink); box-shadow: 0 6px 18px rgb(23 23 26 / 12%); }
.social-float .scene-icon { width: 55%; height: 55%; }
.impact-note { z-index: 4; right: 0; bottom: 11%; width: 43%; }
.impact-note > div { padding: 9%; border: 1px solid #d8ded6; border-radius: 8px; background: var(--white); box-shadow: 0 10px 24px rgb(23 23 26 / 12%); }
.impact-note .note-label { color: #267454; }
.impact-note strong { display: block; margin-top: 7%; font-size: max(11px, 3cqw); line-height: 1.15; }
.impact-note > div > span:last-child { display: block; font-size: max(8px, 1.8cqw); line-height: 1.35; color: #526054; }
.impact-chart { display: block; width: 100%; height: auto; margin-block: 9%; aspect-ratio: 180 / 64; }
.chart-guide { stroke: #e4e8e2; stroke-width: 1; }
.chart-line, .chart-arrow { stroke: #267454; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.scene-entered .chart-line { animation: chart-draw 800ms var(--ease-out) calc(var(--scene-entry-offset, 0ms) + 420ms) backwards; }

/* Four connected disciplines, centered on the supplied Senna wordmark. */
.brand-network { grid-area: stamp; max-width: 470px; aspect-ratio: 500 / 290; }
.network-connections { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #a895c9; stroke-width: 1.5; stroke-dasharray: 4 6; }
.network-wordmark { position: absolute; top: 40%; left: 31%; width: 38%; aspect-ratio: 3.25; overflow: hidden; background: var(--white); }
.network-wordmark img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 49.35%; transform: scale(1.384615); }
.network-node { width: 41%; }
.network-node > div { display: flex; align-items: center; gap: 10%; }
.network-node .scene-icon { width: 24%; height: auto; aspect-ratio: 1; padding: 3%; border-radius: 9px; background: #eee6f8; color: var(--violet); }
.network-node b { display: block; margin-bottom: 6%; font: 700 max(9px, 2.5cqw)/1.1 Arial, sans-serif; letter-spacing: .015em; }
.network-node span { display: block; max-width: 15ch; font-size: max(8px, 2.2cqw); line-height: 1.4; color: var(--muted); }
.network-brand { left: 0; top: 0; }
.network-strategy { right: 0; top: 0; }
.network-presence { left: 0; bottom: 0; }
.network-impact { right: 0; bottom: 0; }
.network-strategy .scene-icon { background: #f9e7f2; color: #994279; }
.network-presence .scene-icon { background: #e0f1f7; color: #226b89; }
.network-impact .scene-icon { background: #e2f0e9; color: #267454; }

/* An illustrated timeline. No card backgrounds or five-box layout. */
.process-board { --timeline-gap: 28px; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--timeline-gap); list-style: none; }
.process-step { position: relative; min-width: 0; color: var(--ink); }
.process-visual { height: 140px; transform: translateY(calc(var(--scene-progress, 0) * -5px)); }
.process-step:nth-child(even) .process-visual { transform: translateY(calc(var(--scene-progress, 0) * 5px)); }
.process-illustration { display: block; width: min(100%, 170px); height: 140px; filter: drop-shadow(0 6px 4px rgb(23 23 26 / 7%)); transition: transform 240ms var(--ease-out); }
.process-step.is-visible .process-illustration { animation: stage-arrive 600ms var(--ease-out) var(--reveal-delay, 0ms) backwards; }
.process-index { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; margin: 12px 0 18px; background: var(--ink); border-radius: 50%; color: var(--white); font: 700 10px/1 Arial, sans-serif; }
.process-step:not(:last-child)::after { position: absolute; top: 164px; left: 36px; right: calc(-1 * var(--timeline-gap) + 6px); height: 1px; background: #b0a69b; content: ""; }
.process-step h3 { margin-bottom: 16px; font: 400 clamp(27px, 2.5vw, 34px)/1.1 var(--font-display); text-transform: uppercase; }
.process-step p { max-width: 28ch; font-size: 15px; line-height: 1.55; }
.process-note { max-width: 500px; margin-top: 46px; font-weight: 400; }

/* From an editorial canvas to a reel and the conversations it creates. */
.instagram-composition { max-width: 540px; margin-left: auto; aspect-ratio: 500 / 460; }
.studio-route { stroke: #225c74; opacity: .6; }
.studio-browser { z-index: 1; width: 77%; height: 77%; top: 7%; left: 0; }
.editor-window { overflow: hidden; border: 1px solid #28222d; border-radius: 9px; background: var(--white); box-shadow: 1.5cqw 2.4cqw 4cqw rgb(20 52 65 / 18%); }
.editor-toolbar { display: flex; align-items: center; justify-content: space-between; height: 11%; padding-inline: 5%; border-bottom: 1px solid #ddd5e2; font-size: max(7px, 1.8cqw); }
.editor-toolbar > span { letter-spacing: .17em; color: var(--violet); }
.editor-toolbar .scene-icon { width: 5%; height: auto; aspect-ratio: 1; }
.editor-canvas { position: relative; height: 89%; padding: 4% 8% 6%; background: #e9e4ed; }
.editor-ruler { margin-bottom: 3%; font: 700 max(6px, 1.4cqw)/1.2 Arial, sans-serif; color: #5e4c70; letter-spacing: .04em; }
.studio-poster { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 92%; width: 84%; padding: 8%; background: var(--violet); color: var(--white); }
.studio-poster > span { font: 700 max(6px, 1.4cqw)/1.2 Arial, sans-serif; letter-spacing: .05em; }
.studio-poster strong { font: 400 6.7cqw/1.02 var(--font-display); }
.studio-poster em { color: #fcd9ee; font-style: normal; }
.editor-cursor { position: absolute; right: 16%; bottom: 17%; color: var(--pink); }
.editor-cursor .scene-icon { width: 5cqw; height: 5cqw; }
.editor-cursor > span { display: block; margin-left: 65%; padding: 3px 7px; border-radius: 3px; background: var(--pink); color: var(--ink); font: 700 max(7px, 1.7cqw)/1.2 Arial, sans-serif; }
.studio-phone { z-index: 3; right: 1%; top: 26%; width: 33%; height: 65%; }
.studio-phone .phone-device { border-width: max(3px, 1cqw); border-radius: 4.8cqw; }
.reel-top { display: flex; align-items: center; gap: 7%; padding: 4% 8% 7%; font-size: max(7px, 1.7cqw); }
.reel-top .scene-icon { width: 15%; height: auto; aspect-ratio: 1; }
.reel-cover { display: flex; flex-direction: column; justify-content: space-between; height: 66%; margin-inline: 4%; padding: 10% 8%; background: #f4d1e9; color: var(--ink); }
.reel-cover > span { font: 700 max(6px, 1.35cqw)/1.4 Arial, sans-serif; }
.reel-cover strong { font: 400 5.6cqw/1.06 var(--font-display); }
.reel-cover em { font-style: normal; color: var(--violet); }
.reel-cover .scene-icon { width: 23%; height: auto; aspect-ratio: 1; }
.reel-bottom { display: flex; gap: 13%; padding: 9% 10%; }
.reel-bottom .scene-icon { width: 16%; height: auto; aspect-ratio: 1; }
.studio-camera { z-index: 4; width: 34%; left: 0; top: 62%; }
.studio-camera span { color: #0b3445; }
.conversation-note { z-index: 5; right: 0; top: 0; width: 42%; }
.conversation-note > div { display: flex; align-items: center; gap: 7%; padding: 7%; background: var(--white); border-radius: 10px 10px 10px 2px; box-shadow: 0 6px 18px rgb(20 52 65 / 12%); }
.conversation-note .scene-icon { color: #267454; width: 17%; height: auto; aspect-ratio: 1; }
.conversation-note span { font-size: max(8px, 2.3cqw); line-height: 1.4; }
.engagement-note { z-index: 5; bottom: 8%; left: 27%; width: 45%; }
.engagement-note > div { display: flex; align-items: center; gap: 7%; padding: 7% 8%; border-radius: 30px; background: var(--ink); color: var(--white); box-shadow: 0 6px 12px rgb(20 52 65 / 14%); }
.engagement-note .scene-icon { width: 13%; height: auto; aspect-ratio: 1; }
.engagement-note .scene-icon:first-child { color: #f3a6d9; }
.engagement-note > div > span { font-size: max(7px, 1.8cqw); line-height: 1.3; }
.studio-scene .scene-story { color: #0b3445; }
.studio-scene .scene-story i { color: #0b3445; }

/* A true WhatsApp brand mark. Entry, hover and halo have separate transforms. */
.whatsapp-float {
  position: fixed;
  right: max(24px, calc(env(safe-area-inset-right) + 16px));
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 50%;
  background: #16864b;
  color: #fff;
  box-shadow: 0 5px 18px rgb(13 73 39 / 22%);
  translate: 0 calc(-1 * var(--contact-lift, 0px));
  transition: background-color 180ms ease, transform 180ms var(--ease-out), translate 180ms var(--ease-out), opacity 180ms ease;
  animation: contact-enter 480ms var(--ease-out) backwards;
}
.whatsapp-mark { display: block; width: 29px; height: 29px; fill: currentColor; }
.whatsapp-float::before { position: absolute; inset: -1px; z-index: -1; border: 1px solid #16864b; border-radius: inherit; content: ""; pointer-events: none; opacity: 0; }
.whatsapp-float:not(:hover):not(:focus-visible)::before { animation: contact-pulse 4.8s ease-out 1.2s 3; }
.whatsapp-float:hover { background: #10743f; transform: translateY(-3px); }
.whatsapp-float:active { transform: scale(.97); }
.whatsapp-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }

@keyframes studio-arrive { from { opacity: 0; translate: 0 14px; scale: .985; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes stage-arrive { from { opacity: 0; transform: translateY(12px) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes chart-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes contact-enter { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes contact-pulse { 0%, 70%, 100% { opacity: 0; transform: scale(1); } 12% { opacity: .32; } 45% { opacity: 0; transform: scale(1.3); } }

@media (hover: hover) and (pointer: fine) { .process-step:hover .process-illustration { transform: translateY(-5px) rotate(-2deg); } }
@media (max-width: 1100px) {
  .hero-art { max-width: 420px; }
  .scene-story { gap: 10px; font-size: 9px; }
  .process-board { --timeline-gap: 18px; }
}
@media (max-width: 900px) {
  .process-board { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; padding-left: 40px; gap: 32px; }
  .process-step { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 30px; align-content: start; min-height: 148px; }
  .process-visual { grid-column: 1; grid-row: 1 / span 2; }
  .process-index { position: absolute; left: -38px; top: 56px; margin: 0; }
  .process-step h3 { grid-column: 2; margin: 22px 0 12px; font-size: 32px; }
  .process-step p { grid-column: 2; max-width: 42ch; font-size: 16px; }
  .process-step:not(:last-child)::after { top: 92px; bottom: -80px; left: -26px; right: auto; width: 1px; height: auto; }
  .brand-network { margin-top: 12px; }
}
@media (max-width: 640px) {
  .hero-art { justify-self: center; max-width: 440px; margin-top: 8px; }
  .brand-network { max-width: 460px; margin-top: 4px; }
  .instagram-composition { width: calc(100% - 8px); max-width: 460px; margin: 18px auto 0; }
  .scene-story { font-size: 9px; gap: 12px; }
  .process-board { padding-left: 26px; gap: 32px; }
  .process-step { grid-template-columns: 104px minmax(0, 1fr); column-gap: 20px; min-height: 154px; }
  .process-visual, .process-illustration { height: 118px; }
  .process-index { left: -28px; top: 33px; width: 20px; height: 20px; font-size: 9px; }
  .process-step:not(:last-child)::after { top: 63px; bottom: -55px; left: -18px; }
  .process-step h3 { margin-top: 10px; font-size: 30px; }
  .process-step p { font-size: 15px; }
  .whatsapp-float { right: max(16px, calc(env(safe-area-inset-right) + 12px)); bottom: calc(80px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .whatsapp-mark { width: 27px; height: 27px; }
  .footer-bottom { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .process-board { padding-left: 22px; }
  .process-step { grid-template-columns: 78px minmax(0, 1fr); gap: 0 14px; }
  .process-visual, .process-illustration { height: 94px; }
  .process-index { left: -23px; top: 27px; }
  .process-step:not(:last-child)::after { left: -13px; top: 55px; bottom: -49px; }
  .process-step h3 { font-size: 27px; }
  .scene-story { gap: 10px; font-size: 8px; }
  .network-node b { font-size: 9px; }
  .network-node span { font-size: 8px; }
}

