
.hero { --form-accent: #f28b65; }
.hero h1 { font-size: clamp(65px, 6.2vw, 90px); max-width: 790px; }
.hero-title-line { display: block; white-space: nowrap; }
.form-word {
  display: inline-block;
  vertical-align: baseline;
  width: 3.18em;
  height: 1.1em;
  padding: 0;
  border: 0;
  background: none;
  color: var(--form-accent);
  font: inherit;
  text-align: left;
  line-height: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.form-label { display: inline-block; font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.04em; }
.form-word:hover .form-label { filter: brightness(1.16); }
.form-word:focus-visible { outline: 2px solid var(--form-accent); border-radius: 8px; outline-offset: 7px; }
.form-hint { position: relative; z-index: 2; display: flex; align-items: center; gap: 13px; margin: -9px 0 25px; color: #a8ab9f; font-size: 10px; letter-spacing: .2px; }
.form-hint-icon { font-size: 15px; color: var(--form-accent); }
.form-progress { display: inline-flex; align-items: center; gap: 5px; }
.form-progress i { display: block; width: 4px; height: 4px; border-radius: 50%; background: #565b4f; transition: width .45s, background .45s; }
.form-progress i.active { width: 16px; border-radius: 4px; background: var(--form-accent); }
.form-status { min-width: 69px; color: #c7cabe; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-description { max-width: 420px; }
.form-word.is-changing .form-label { animation: form-type-in .48s cubic-bezier(.22, 1, .36, 1); }

/* Position wrappers handle layout changes; inner windows handle ambient movement. */
.window-position { position: absolute; transition: top .8s cubic-bezier(.22, 1, .36, 1), left .8s cubic-bezier(.22, 1, .36, 1), right .8s cubic-bezier(.22, 1, .36, 1), width .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1); }
.edit-position { top: 43px; left: 28px; width: 370px; }
.web-position { top: 286px; right: 11px; width: 293px; }
.hero-art .edit-window, .hero-art .web-window { position: relative; inset: auto; width: 100%; }
.video-scene, .mini-web { padding: 0; }
.theme-scene { position: absolute; inset: 0; padding: 23px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transition: opacity .45s, transform .6s cubic-bezier(.22, 1, .36, 1), visibility .45s; }
.mini-web { position: relative; }
.mini-web .theme-scene { padding: 16px; }
.hero[data-form="elegant"] [data-scene="elegant"],
.hero[data-form="bold"] [data-scene="bold"],
.hero[data-form="creative"] [data-scene="creative"] { opacity: 1; visibility: visible; transform: none; }
.theme-scene * { animation-play-state: paused; }
.hero[data-form="elegant"] [data-scene="elegant"] *,
.hero[data-form="bold"] [data-scene="bold"] *,
.hero[data-form="creative"] [data-scene="creative"] * { animation-play-state: running; }
.theme-scene .scene-time { left: 23px; }
.hero .video-scene, .hero .mini-web, .hero .orb, .hero .halo { transition: background .7s, border-radius .9s, box-shadow .7s; }
.hero .art-caption { left: 0; right: 0; text-align: center; }
.hero .playhead { background: var(--form-accent); }

/* 01 — Elegant: editorial type and slow, floating windows. */
.hero[data-form="elegant"] .edit-window { animation-duration: 11s; }
.hero[data-form="elegant"] .web-window { animation-duration: 12s; }

/* 02 — Bold: aligned windows, crisp typography, a graphic editing canvas. */
.hero[data-form="bold"] { --form-accent: #b8cd8d; }
.hero[data-form="bold"] .form-label { font-family: 'DM Sans', Arial, sans-serif; font-weight: 700; font-style: normal; letter-spacing: -.075em; }
.hero[data-form="bold"] .edit-position { top: 92px; left: 2px; width: 278px; transform: rotate(0deg); }
.hero[data-form="bold"] .web-position { top: 185px; right: -6px; width: 260px; transform: rotate(0deg); }
.hero[data-form="bold"] .edit-window, .hero[data-form="bold"] .web-window { animation: bold-drift 8s ease-in-out infinite; }
.hero[data-form="bold"] .web-window { animation-delay: -4s; }
.hero[data-form="bold"] .video-scene { background: #b8cd8d; color: #20271b; }
.hero[data-form="bold"] .mini-web { background: #e9eae2; color: #252923; }
.hero[data-form="bold"] .orb { background: linear-gradient(135deg, #becd9b, #657c49); border-radius: 27%; box-shadow: inset -15px -18px 32px #29421f40; }
.hero[data-form="bold"] .halo { background: radial-gradient(ellipse, #91a56735, transparent 67%); }
.bold-title { display: block; font-size: 43px; line-height: .95; font-weight: 700; letter-spacing: -2.7px; }
.bold-title em { font-style: normal; -webkit-text-stroke: 1px #20271b; color: transparent; }
.cut-bar { height: 5px; width: 44px; position: absolute; right: 16px; bottom: 24px; background: #20271b; animation: cut-slide 3s cubic-bezier(.7, 0, .3, 1) infinite; }
.bold-web-nav { display: flex; justify-content: space-between; font-size: 7px; font-weight: 700; letter-spacing: -.2px; }
.bold-web-heading { margin-top: 18px; font-size: 30px; font-weight: 700; line-height: .94; letter-spacing: -1.8px; }
.bold-web-heading span { color: #72864f; }
.bold-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 5px; margin-top: 12px; height: 35px; }
.bold-grid i { background: #303b28; border-radius: 2px; }
.bold-grid i:nth-child(2) { background: #b4c68e; }
.bold-grid i:nth-child(3) { background: #d1d6c8; }

/* 03 — Creative: playful lettering, moving shapes, a modular little website. */
.hero[data-form="creative"] { --form-accent: #c6acf2; }
.hero[data-form="creative"] .form-label { font-family: 'Caveat', 'Segoe Print', cursive; font-size: 1.08em; font-style: normal; font-weight: 600; letter-spacing: -.045em; }
.hero[data-form="creative"] .edit-position { top: 75px; left: 17px; width: 348px; transform: rotate(-3deg); }
.hero[data-form="creative"] .web-position { top: 304px; right: 4px; width: 286px; transform: rotate(3deg); }
.hero[data-form="creative"] .edit-window { animation: creative-float 9s ease-in-out infinite; }
.hero[data-form="creative"] .web-window { animation: creative-float 10s -4s ease-in-out infinite reverse; }
.hero[data-form="creative"] .video-scene { background: #413753; }
.hero[data-form="creative"] .mini-web { background: #f0e8f5; color: #433451; }
.hero[data-form="creative"] .orb { background: radial-gradient(circle at 30% 22%, #e7caf4, #ac88cb 50%, #745492); border-radius: 40% 60% 57% 43%; box-shadow: inset -12px -15px 32px #59367044; }
.hero[data-form="creative"] .halo { background: radial-gradient(ellipse, #b186c943, transparent 67%); }
.creative-title { position: relative; z-index: 2; display: block; margin-top: 21px; font-family: 'Caveat', 'Segoe Print', cursive; font-size: 56px; line-height: .9; color: #f6efdf; transform: rotate(-5deg); }
.creative-title em { font: inherit; color: #c9e5a6; }
.creative-shape { position: absolute; display: block; }
.creative-shape.one { width: 92px; height: 92px; border-radius: 50%; background: #e5a2a9; top: 13px; right: 24px; animation: shape-one 7s ease-in-out infinite; }
.creative-shape.two { width: 75px; height: 75px; border-radius: 17px; border: 14px solid #c2dc99; bottom: 28px; right: 59px; animation: shape-two 9s ease-in-out infinite; }
.creative-shape.three { width: 20px; height: 20px; background: #f2d2a2; border-radius: 50%; top: 50px; right: 134px; }
.creative-web-nav { display: flex; justify-content: space-between; align-items: center; font-size: 7px; }
.creative-web-nav b { font-family: 'Caveat', cursive; font-size: 17px; }
.creative-web-heading { margin-top: 9px; font-family: 'Caveat', 'Segoe Print', cursive; font-size: 35px; line-height: 1; letter-spacing: -.9px; }
.creative-tiles { display: flex; align-items: center; gap: 8px; margin-top: 12px; height: 52px; }
.creative-tiles i { display: block; flex: 1; height: 42px; background: #bca4d9; border-radius: 7px; animation: tile-dance 7s ease-in-out infinite; }
.creative-tiles i:nth-child(2) { background: #bdcd9a; border-radius: 30px; animation-delay: -2s; }
.creative-tiles i:nth-child(3) { background: #e4afb2; border-radius: 25px 25px 5px 5px; animation-delay: -4s; }

@keyframes form-type-in { from { opacity: .3; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes bold-drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes creative-float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-9px) rotate(-1deg); } }
@keyframes cut-slide { 0%,25%,100% { transform: translateX(0); } 45%,70% { transform: translateX(-75px); } }
@keyframes shape-one { 50% { transform: translate(-12px, 21px) scale(.9); } }
@keyframes shape-two { 50% { transform: translate(13px,-10px) rotate(70deg); } }
@keyframes tile-dance { 50% { transform: translateY(-6px) rotate(7deg); } }

.entrance-active .form-hint, .entrance-complete .form-hint { animation: entrance-content .7s 1.17s both; }
.entrance-skipped .form-hint { animation: none; }
@media(max-width:1100px) and (min-width:761px) {
  .hero h1 { font-size: 65px; }
  .hero-art { right: -80px; transform: scale(.75); transform-origin: right center; }
}
@media(max-width:1050px) and (min-width:761px) {
  .hero { height: auto; min-height: 1100px; padding-top: 65px; }
  .hero-art { position: relative; top: auto; right: auto; left: 50%; margin: 5px 0 -25px; transform: translateX(-50%) scale(.9); transform-origin: center; }
}
@media(max-width:760px) {
  .hero h1 { font-size: clamp(51px, 10.5vw, 76px); letter-spacing: -3px; margin-bottom: 22px; }
  .hero-title-line { white-space: normal; }
  .form-word { display: block; height: 1.12em; }
  .form-hint { margin-top: -5px; margin-bottom: 25px; font-size: 9px; gap: 9px; }
  .hero-description { font-size: 14px; max-width: 270px; }
}
@media(max-width:480px) { .hero-art { transform: translateX(-50%) scale(.62); margin: -60px auto -110px; } }
@media(max-width:380px) { .hero h1 { font-size: 51px; } .form-hint { gap: 7px; font-size: 8px; } .hero-art { transform: translateX(-50%) scale(.52); margin: -90px auto -140px; } }
@media(prefers-reduced-motion:reduce) { .theme-scene, .window-position, .form-progress i { transition: none; } }
