h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; border: 0; font-size: inherit; font-weight: inherit; }
header, nav, main, section, article, aside, footer, figure, figcaption, search, hgroup { margin: 0; padding: 0; border: 0; }

/* Local host skin: engine.css and craft.css remain preserved source copies.
   The authored frame wrappers are permanent visual layers, not meaning tags. */
:root { color-scheme: light; background: #f3ead7; }
.a_plus {
  --paper: #f3ead7;
  --ink: #15241c;
  --line: #22322a;
  --green: #287159;
  --yellow: #f4db54;
  --surface_ink: #edf0e5;
  --surface_muted: #bfccc7;
  --surface_accent: #9bc6ba;
  --surface_line: #a6c1bd4d;
  --surface_floor: #8dbeb859;
  --surface_panel: #153946;
  --surface_control: #14323be8;
  --surface_control_hover: #24505bec;
  --surface_shadow: #061b2533;
  margin: 0;
  padding: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
}
.a_plus [hidden] { display: none; }
.a_plus .site_header {
  height: 82px;
  border-bottom: 1px solid #22322a1f;
  background: #f3ead7f5;
  color: var(--ink);
  box-shadow: none;
  backdrop-filter: blur(12px);
}
.a_plus .site_header::before { background: none; opacity: 0; }
.a_plus .brand_link { top: 30px; left: clamp(22px, 4vw, 68px); color: var(--ink); }
.a_plus .brand_visual { font-size: 24px; filter: none; }
.a_plus .brand_p_002 { color: #c85159; text-shadow: .1em 0 #387a72; }
.a_plus .experience_actions { top: 17px; right: clamp(18px, 3.7vw, 64px); gap: 16px; }
.a_plus .site_header_docked .sound_control,
.a_plus .site_header_docked .mode_control,
.a_plus .site_header_docked .header_site_nav_inner { filter: none; }
.a_plus .site_header .sound_control { background: #e9dfcc; color: var(--ink); }
.a_plus .site_header .sound_star { background: #25433a; box-shadow: none; }
.a_plus .site_header .sound_arc { border-top-color: #405d5180; border-right-color: #405d5180; }
.a_plus .site_header .sound_control[aria-pressed="true"] .sound_arc { border-top-color: #287159; border-right-color: #287159; }
.a_plus .site_header .sound_control[aria-pressed="true"] .sound_star { background: #287159; box-shadow: 0 0 14px #28715933; }
.a_plus .site_header .mode_pixel { background: #243a31; box-shadow: none; }
.a_plus .site_header .mode_pixel_002 { background: #c85159; }
.a_plus .site_header .mode_pixel_004 { background: #387a72; }
.a_plus .opening_skip,
.a_plus .header_site_nav a { color: #344a40; }
.a_plus .opening_skip { font-family: inherit; font-size: 12px; letter-spacing: .035em; }
.a_plus .opening_skip:hover,
.a_plus .header_site_nav a:hover { color: #173329; }
.a_plus .brand_link:focus-visible,
.a_plus .site_header .sound_control:focus-visible,
.a_plus .mode_control:focus-visible,
.a_plus .opening_skip:focus-visible { outline-color: #287159; }
.a_plus .sound_hint,
.a_plus .header_volume_panel,
.a_plus .mode_menu { border: 1px solid #687e6e55; background: #fffaf0fa; color: #24392f; box-shadow: 0 12px 38px #22322a22; }
.a_plus .mode_item { color: #24392f; }
.a_plus .mode_item:hover:not(:disabled),
.a_plus .mode_item:focus-visible { background: #e6ecdf; color: #16382b; }
.a_plus .mode_item:disabled { opacity: .5; }
.a_plus .score_value { color: #286d57; }
.a_plus .header_volume { accent-color: #287159; }

.a_plus_experience_outer { position: relative; padding: 102px clamp(18px, 3.5vw, 58px) 28px; background: var(--paper); }
.a_plus_frame {
  position: relative;
  max-width: 1740px;
  margin: 0 auto;
  border: 1px solid #35515766;
  border-radius: 10px;
  background: var(--surface_panel);
  box-shadow: 0 20px 48px #22332a12;
}
.a_plus_frame_face { position: relative; overflow: clip; border-radius: 9px; }
.a_plus .experience_stage {
  min-height: max(560px, calc(100svh - 132px));
  color: var(--surface_ink);
  background:
    radial-gradient(ellipse at 28% 34%, #47777b4d, transparent 63%),
    linear-gradient(155deg, #1c4550 0%, #153441 62%, #14323b 100%);
}
.a_plus .space_veil { background: radial-gradient(ellipse at 47% 46%, #82b6ae0d, transparent 60%); }
.a_plus .space_grain { opacity: .025; }
.a_plus .space_floor { background: linear-gradient(90deg, transparent 3%, var(--surface_floor) 50%, transparent 97%); box-shadow: none; }
.a_plus .portal_control {
  width: min(450px, calc(100vw - 160px));
  min-height: 65px;
  border-color: var(--surface_line);
  background: var(--surface_control);
  color: var(--surface_ink);
  box-shadow: 0 12px 36px var(--surface_shadow), inset 0 1px #ffffff0d;
}
.a_plus .portal_control:hover,
.a_plus .portal_control:focus-visible { border-color: var(--surface_accent); background: var(--surface_control_hover); box-shadow: 0 15px 36px var(--surface_shadow); filter: none; }
.a_plus .portal_cross::before,
.a_plus .portal_cross::after { background: var(--surface_muted); }
.a_plus .portal_name::after { background: var(--surface_ink); box-shadow: none; }
.a_plus .stage_sound_control { left: calc(50% + 265px); }
.a_plus :is(.scene_thought_001, .scene_thought_002, .scene_thought_003, .scene_personas, .scene_forming, .scene_actor, .scene_story, .scene_play) .stage_sound_control { top: 71.5%; left: 85.5%; }
.a_plus .sound_control_stage { border-color: var(--surface_line); background: var(--surface_control); box-shadow: 0 8px 20px var(--surface_shadow); }
.a_plus .sound_control_stage .sound_star { background: var(--surface_ink); box-shadow: 0 0 12px #9bc6ba33; }
.a_plus .sound_control_stage .sound_arc { border-top-color: var(--surface_line); border-right-color: var(--surface_line); }
.a_plus .sound_control_stage[aria-pressed="true"] .sound_star { background: var(--surface_accent); }
.a_plus .sound_control_stage[aria-pressed="true"] .sound_arc { border-top-color: var(--surface_accent); border-right-color: var(--surface_accent); }
.a_plus .stage_sound_label,
.a_plus .replay_label,
.a_plus .movement_guide_actor_label { color: var(--surface_ink); text-shadow: none; }
.a_plus .stage_volume_panel { border-color: var(--surface_line); background: var(--surface_control); color: var(--surface_ink); box-shadow: 0 10px 30px var(--surface_shadow); }
.a_plus .stage_volume { accent-color: var(--surface_accent); }
.a_plus .thoughtcraft { width: min(90%, 70rem); filter: drop-shadow(0 18px 24px #06182377); }
.a_plus .story_copy { color: var(--surface_ink); }
.a_plus .story_line_active::after { background: var(--surface_ink); }
.a_plus .story_advance_control,
.a_plus .game_next_control,
.a_plus .replay_control { border-color: var(--surface_line); background: var(--surface_control); color: var(--surface_ink); }
.a_plus .story_advance_control,
.a_plus .game_next_control { animation: none; }
.a_plus .story_advance_key { color: var(--surface_accent); border-color: var(--surface_line); }
.a_plus .move_guide_arrow { color: var(--surface_muted); filter: none; }
.a_plus .portal_control:focus-visible,
.a_plus .sound_control_stage:focus-visible,
.a_plus .story_advance_control:focus-visible,
.a_plus .replay_control:focus-visible { outline-color: var(--surface_accent); }

/* Paper is intentionally tested without an artificial dark image mat. */
.surface_paper .a_plus {
  --surface_ink: #213a35;
  --surface_muted: #49665e;
  --surface_accent: #2d7564;
  --surface_line: #526f625c;
  --surface_floor: #3c6b613d;
  --surface_panel: #e9ece0;
  --surface_control: #f9f4e7ed;
  --surface_control_hover: #fffaf0;
  --surface_shadow: #294a3418;
}
.surface_paper .a_plus_experience_outer { padding-left: 0; padding-right: 0; }
.surface_paper .a_plus_frame { max-width: none; border: 0; border-radius: 0; box-shadow: none; }
.surface_paper .a_plus_frame_face { border-radius: 0; }
.surface_paper .experience_stage {
  background:
    radial-gradient(ellipse at 50% 56%, #d8e8dd 0%, #e4ecdf77 43%, transparent 74%),
    linear-gradient(180deg, #f3ead7, #e9eddf 72%, #f3ead7);
}
.surface_paper .space_veil { background: none; }
.surface_paper .space_grain { opacity: .012; mix-blend-mode: multiply; }
.surface_paper .thoughtcraft { filter: drop-shadow(0 17px 22px #254e3626); }
.surface_paper .thoughtcraft_scan { mix-blend-mode: multiply; opacity: .15; }
.surface_paper .thoughtcraft_signal { opacity: .2; }
.surface_paper .portal_anomaly { filter: saturate(.7) drop-shadow(0 0 12px #44887526); }
.surface_paper .anomaly_shape { mix-blend-mode: multiply; }
.surface_paper .anomaly_core { border-color: #24473d66; box-shadow: 0 0 25px #629f7730; }
.surface_paper .game_rift_line { border-color: #376c60; }
.surface_paper .game_rift_prompt,
.surface_paper .jump_guide,
.surface_paper .inline_game_score { color: #29483e; text-shadow: none; }
.surface_paper .jump_control { color: #24483b; border-color: #526f6280; background: #fcf7eadb; }
.surface_paper .inline_game_exit { color: #24483b; border-color: #526f6280; background: #fcf7eadb; }

/* The frame borrows the warm paper and thin rules of A, not a new brand. */
.surface_retro .a_plus_experience_outer { padding: 108px clamp(16px, 4vw, 68px) 34px; }
.surface_retro .a_plus_frame {
  padding: clamp(18px, 2.3vw, 34px);
  border: 1px solid #b4a78d;
  border-radius: 24px;
  background: linear-gradient(155deg, #fcf6e9, #e2d6bb);
  box-shadow: 0 4px 0 #b0a58b, 0 17px 38px #403d2926, inset 0 0 0 5px #f5eedc;
}
.surface_retro .a_plus_frame::before,
.surface_retro .a_plus_frame::after {
  position: absolute;
  top: 10px;
  bottom: 10px;
  z-index: 2;
  width: 8px;
  background: radial-gradient(circle at 50% 4px, #867c66 0 1px, #e0d5bd 1.4px 3px, #998d7455 3.4px 4px, transparent 4.3px), radial-gradient(circle at 50% calc(100% - 4px), #867c66 0 1px, #e0d5bd 1.4px 3px, #998d7455 3.4px 4px, transparent 4.3px);
  content: "";
  pointer-events: none;
}
.surface_retro .a_plus_frame::before { left: 11px; }
.surface_retro .a_plus_frame::after { right: 11px; }
.surface_retro .a_plus_frame_face { border: 2px solid #38514e; border-radius: 12px; box-shadow: 0 1px 0 #ffffffb3, 0 -2px 5px #584c3333; }
.surface_retro .experience_stage { min-height: max(560px, calc(100svh - 212px)); background: radial-gradient(ellipse at 35% 26%, #35665f 0%, #254f4d 36%, #173d41 80%); }

/* The second slide keeps A's typography, yellow consultation card and pillars. */
.a_plus_company { position: relative; background: var(--paper); color: var(--ink); scroll-margin-top: 82px; }
.a_plus .site_mode { background: var(--paper); color: var(--ink); }
.a_plus .site_mode_glow { display: none; }
.a_plus_company .design_craft { max-width: none; margin: 0; overflow: clip; border: 0; border-radius: 0; box-shadow: none; }
.a_plus_slide { position: relative; display: grid; align-content: center; min-height: calc(100svh - 82px); padding-bottom: 75px; scroll-margin-top: 82px; }
.a_plus_company .craft_hero_outer { min-height: calc(100svh - 157px); }
.a_plus_company .craft_heading { font-size: clamp(44px, 6.2vw, 86px); }
.a_plus_company .site_slide_advance { right: clamp(24px, 5vw, 72px); bottom: 20px; }
.a_plus_company .site_slide_advance_link { color: #385044; font-family: inherit; letter-spacing: .025em; }
.a_plus_company .site_slide_advance_link:hover { color: #142e23; }
.a_plus_company .craft_hero_outer,
.a_plus_company .craft_section,
.a_plus_company .craft_nav_outer,
.a_plus_company .craft_pillars_outer,
.a_plus_company .craft_footer_outer { scroll-margin-top: 82px; }
.a_plus .site_slide_advance_fixed_link { padding: 10px 16px; border: 1px solid #24392f55; background: #fbf6eaf2; color: #24392f; border-radius: 4px; box-shadow: 0 6px 20px #263c3020; font-family: inherit; letter-spacing: .025em; }
.a_plus .site_slide_advance_fixed_link:hover { color: #15241c; background: #fffaf0; }
.a_plus .site_slide_advance_fixed_link:focus-visible { outline-color: #287159; }
.a_plus_descent { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 10px 24px 20px; color: #365447; font-size: 13px; text-decoration: none; }
.a_plus_descent:hover { color: #122d23; }
.a_plus_descent:focus-visible { outline: 2px solid #287159; outline-offset: -5px; }
.a_plus_descent_arrow { display: inline-block; font-size: 22px; }

/* Prototype-only comparison tools. No fake controls are part of the frame. */
.prototype_controls { position: fixed; bottom: 20px; left: 22px; z-index: 70; width: min(350px, calc(100vw - 44px)); padding: 0; border: 1px solid #72847580; border-radius: 8px; background: #fffaf0f5; color: #233e30; box-shadow: 0 10px 32px #18392b22; font-size: 13px; line-height: 1.65; backdrop-filter: blur(12px); }
.prototype_controls:not([open]) { width: max-content; max-width: 140px; }
.prototype_summary { padding: 11px 16px; cursor: pointer; font-weight: 700; }
.prototype_summary:focus-visible { outline: 2px solid #287159; outline-offset: 3px; }
.prototype_control_body { padding: 0 15px 15px; }
.prototype_choice_outer { display: flex; gap: 7px; flex-wrap: wrap; margin: 4px 0 10px; }
.surface_choice { min-height: 42px; padding: 8px 11px; border: 1px solid #72847580; border-radius: 4px; background: #f6f1e5; color: #233e30; font: inherit; cursor: pointer; }
.surface_choice[aria-pressed="true"] { border-color: #254c3c; background: #254c3c; color: #fffaf0; }
.surface_choice:hover { box-shadow: inset 0 0 0 1px #476c59; }
.surface_choice:focus-visible,
.prototype_hide:focus-visible,
.prototype_return:focus-visible { outline: 2px solid #287159; outline-offset: 3px; }
.prototype_note { margin: 8px 0; font-size: 12px; line-height: 1.8; }
.prototype_scene_outer { display: flex; gap: 7px; flex-wrap: wrap; margin: 8px 0; }
.scene_preview_control { min-height: 38px; padding: 5px 12px; border: 1px solid #72847580; border-radius: 4px; background: #f6f1e5; color: #233e30; font: inherit; cursor: pointer; }
.scene_preview_control[aria-pressed="true"] { background: #e2eadb; border-color: #315844; }
.scene_preview_control:hover { box-shadow: inset 0 0 0 1px #476c59; }
.scene_preview_control:focus-visible { outline: 2px solid #287159; outline-offset: 3px; }
.prototype_links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.prototype_hide { padding: 7px 0; min-height: 38px; border: 0; background: transparent; color: #315844; text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }
.prototype_return { position: fixed; bottom: 16px; left: 18px; z-index: 70; min-height: 38px; padding: 7px 12px; border: 1px solid #72847580; border-radius: 4px; background: #fffaf0f2; color: #315844; font: inherit; font-size: 12px; cursor: pointer; }
.prototype_notice { padding: 12px 24px; border-top: 1px solid #22322a26; background: #fffaf0; color: #3b5143; font-size: 13px; text-align: center; }

@media (max-width: 920px) {
  .a_plus_company .craft_hero_outer { min-height: 0; }
  .a_plus_company .craft_heading { font-size: clamp(44px, 7.5vw, 72px); }
}
@media (max-width: 767px) {
  .a_plus .site_header { height: 72px; }
  .a_plus .brand_link { top: 27px; left: 20px; }
  .a_plus .brand_visual { font-size: 21px; }
  .a_plus .experience_actions { top: 12px; right: 12px; gap: 4px; }
  .a_plus .opening_skip { max-width: 90px; font-size: 10px; letter-spacing: 0; }
  .a_plus .header_site_nav_inner { gap: 8px; }
  .a_plus .header_site_nav a { font-size: 10px; }
  .a_plus .header_site_nav { display: none; }
  .a_plus_experience_outer { padding: 88px 14px 20px; }
  .a_plus .experience_stage { min-height: max(540px, calc(100svh - 114px)); }
  .a_plus .portal_control { width: min(430px, calc(100vw - 76px)); min-height: 60px; }
  .a_plus .portal_name { font-size: clamp(15px, 4vw, 17px); }
  .a_plus .stage_sound_control { left: auto; right: 18px; top: calc(50% + 80px); }
  .a_plus .stage_sound_label { font-size: 17px; }
  .a_plus .thoughtcraft { width: 124%; }
  .a_plus .story_copy { left: 24px; right: 24px; font-size: clamp(28px, 7.5vw, 52px); }
  .a_plus .story_advance_control { max-width: calc(100% - 36px); right: 18px; bottom: 18px; }
  .a_plus .game_next_control { right: 18px; bottom: 18px; }
  .a_plus .scene_thought_001 .stage_sound_control,
  .a_plus .scene_thought_002 .stage_sound_control,
  .a_plus .scene_thought_003 .stage_sound_control,
  .a_plus .scene_personas .stage_sound_control,
  .a_plus .scene_forming .stage_sound_control,
  .a_plus .scene_actor .stage_sound_control,
  .a_plus .scene_story .stage_sound_control,
  .a_plus .scene_play .stage_sound_control { right: auto; left: 72%; top: 74%; }
  .a_plus .experience_controls { left: calc(72% + 54px); top: 74%; }
  .surface_retro .a_plus_experience_outer { padding: 88px 12px 24px; }
  .surface_retro .a_plus_frame { padding: 15px; border-radius: 18px; box-shadow: 0 3px 0 #b0a58b, 0 10px 24px #403d2921, inset 0 0 0 4px #f5eedc; }
  .surface_retro .a_plus_frame::before { left: 5px; }
  .surface_retro .a_plus_frame::after { right: 5px; }
  .surface_retro .experience_stage { min-height: max(510px, calc(100svh - 148px)); }
  .surface_retro .portal_control { width: calc(100vw - 104px); }
  .a_plus_company { scroll-margin-top: 72px; }
  .a_plus_slide { min-height: calc(100svh - 72px); scroll-margin-top: 72px; }
  .a_plus_company .craft_hero_outer,
  .a_plus_company .craft_section,
  .a_plus_company .craft_nav_outer,
  .a_plus_company .craft_pillars_outer,
  .a_plus_company .craft_footer_outer { scroll-margin-top: 72px; }
  .a_plus .site_slide_advance_fixed { right: 14px; bottom: 14px; }
  .prototype_controls { bottom: 12px; left: 12px; width: min(310px, calc(100vw - 24px)); }
  .prototype_controls:not([open]) { width: max-content; max-width: 140px; }
  .prototype_summary { padding: 10px 13px; }
  .prototype_return { bottom: 12px; left: 12px; }
}
@media (max-width: 560px) {
  .a_plus { padding: 0; }
  .a_plus_company .craft_heading { font-size: 43px; }
  .a_plus_company .craft_hero_outer { padding: 38px 24px 47px; }
  .a_plus_company .craft_consult { max-width: calc(100% - 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .a_plus_descent_arrow { animation: none; }
  .a_plus_frame, .a_plus_frame_face, .prototype_controls { transition: none; }
}
