/* Public homepage only. Account palettes and shared site.css are untouched. */
.horizon-home {
  --paper: #060909;
  --band: #0a1010;
  --panel: #0d1313;
  --ink: #eef0eb;
  --muted: #aab8b4;
  --line: #293633;
  --teal: #b7e0cc;
  --teal-dark: #b7e0cc;
  --gold: #d4dcd2;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}
.horizon-home[data-home-palette="paper"] {
  --paper: #eeeee9;
  --band: #e4e6df;
  --panel: #f5f5ef;
  --ink: #111b18;
  --muted: #48594f;
  --line: #bdc9bf;
  --teal: #235d46;
  --teal-dark: #235d46;
  --gold: #334d3b;
  color-scheme: light;
}
.horizon-home [hidden] { display: none !important; }
.horizon-home .wrap { width: min(1280px, calc(100% - 80px)); }
.horizon-home .topbar { position: relative; z-index: 20; background: var(--paper); }
.horizon-home .nav { min-height: 76px; gap: 24px; }
.horizon-home .brand { font-size: 18px; letter-spacing: .16em; font-weight: 500; gap: 10px; flex-shrink: 0; }
.brand-slash { width: 24px; height: 38px; display: inline-block; background: currentColor; mask: url('/assets/horizon/slash.svg') center / contain no-repeat; }
.horizon-home .nav-links { gap: 24px; flex: 1; }
.horizon-home .nav-links a { font-size: 12px; font-weight: 500; letter-spacing: .015em; min-height: 44px; display: inline-flex; align-items: center; }
.horizon-home .nav-signin { color: var(--ink); }
.horizon-home .nav-links a[href^="/legal/"] { display: none; } /* Still in footer. */
.horizon-home :is(a, button, select, summary):focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
.horizon-home .horizon-hero :is(a, button):focus-visible { outline-color: #dce7dc; }
.skip-content { position: absolute; top: 8px; left: 8px; z-index: 1100; padding: 12px; transform: translateY(-180%); background: var(--panel); color: var(--ink); }
.skip-content:focus { transform: none; }
.home-preferences { position: relative; font-size: 12px; }
.home-preferences summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.home-preferences summary::after { content: '+'; margin-left: 12px; font-size: 18px; }
.home-preferences[open] summary::after { content: '−'; }
.preference-panel { position: absolute; right: 0; top: 55px; width: 260px; padding: 22px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 12px 60px #0006; }
.preference-panel label { display: block; margin-bottom: 8px; font-size: 13px; }
.preference-panel :is(select, button) { width: 100%; min-height: 44px; padding: 10px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 0; font: 13px/1.3 system-ui, sans-serif; }
.preference-panel button { margin-top: 12px; cursor: pointer; }
.preference-panel p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 16px 0 0; }
.horizon-hero { position: relative; isolation: isolate; overflow: hidden; padding: 0; background: #030606; color: #eef0eb; border-bottom: 1px solid #293633; }
.horizon-scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.horizon-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #030808bb 0%, #03080850 27%, transparent 54%), linear-gradient(0deg, #060909 0%, #06090918 20%, transparent 54%); }
#horizon-canvas { display: block; width: 100%; height: 100%; opacity: 0; }
#horizon-depth-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.horizon-scene[data-renderer="2d"][data-rendered="true"] #horizon-canvas,
.horizon-scene[data-renderer="webgl"][data-rendered="true"] #horizon-depth-canvas { opacity: 1; }
.horizon-scene[data-rendered="true"] .horizon-still { visibility: hidden; }
.horizon-still { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 73% 37%, #304e8066, #0b1428 42%, #03060d 76%); }
.still-hole { position: absolute; width: min(43vw, 530px); aspect-ratio: 1; left: 64%; top: 38%; transform: translate(-50%, -50%); border-radius: 50%; background: #000; border: 1px solid #dce7ef; box-shadow: 0 0 9px #b8d2f1, 0 0 45px #567aaf55, 0 0 110px #608caa33; }
.still-hole::after { content: ''; position: absolute; inset: 34% -78%; border-radius: 50%; border: 2px solid #b5cde9; box-shadow: 0 0 12px #819bbd; transform: rotate(-9deg); }
.still-water { position: absolute; inset: 74% 0 0; background: repeating-linear-gradient(0deg, #081225dd 0 8px, #42618a33 9px, #060d1ddd 11px 19px); transform: perspective(150px) rotateX(12deg); }
.horizon-layout { min-height: clamp(620px, calc(100svh - 160px), 760px); display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.horizon-copy { max-width: 570px; padding: 220px 0 36px; }
.horizon-home h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(48px, 5.15vw, 76px); font-weight: 400; line-height: 1.03; letter-spacing: -.045em; margin: 0 0 20px; }
.horizon-home h1 em { font-weight: 400; color: #c3d9ce; white-space: nowrap; }
.horizon-copy .lead { font-size: 16px; line-height: 1.75; max-width: 390px; color: #c0cfc8; }
.horizon-home .button { border-radius: 0; padding: 14px 24px; min-height: 49px; font-size: 13px; font-weight: 600; border-color: var(--teal); background: var(--teal); color: var(--paper); }
.horizon-home .button.secondary { color: var(--teal); background: transparent; }
.horizon-copy .button { background: #dce7dc; color: #0d1913; border-color: #dce7dc; }
.horizon-copy .button.secondary { color: #e1eae3; background: #05110a66; border-color: #73877b; }
.horizon-home .button:hover { filter: brightness(1.1); }
.horizon-home .actions { gap: 12px; margin-top: 22px; }
.horizon-foot { min-height: 62px; border-top: 1px solid #afcdc333; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #aab8b4; font-size: 12px; }
.explore-link { color: #d4ded7; text-decoration: none; display: inline-flex; align-items: center; gap: 26px; min-height: 44px; }
.explore-link span { font-size: 23px; font-weight: 300; }
.scene-controls { display: flex; gap: 22px; align-items: center; }
.scene-controls button { padding: 10px 0; min-height: 44px; background: none; border: 0; border-bottom: 1px solid #8aa394; color: #dbe5dd; cursor: pointer; font: 12px/1.3 system-ui, sans-serif; }
.horizon-home main > section:not(.horizon-hero):not(.site-update):not(.privacy-statement) { padding: 60px 0; }
.horizon-home .founder-principle { background: var(--paper); color: var(--ink); border-top: 0; border-bottom: 1px solid var(--line); }
.signature-layout { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 48px; }
.signature-art { margin: 0; position: relative; isolation: isolate; }
.signature-art::before { content: ''; position: absolute; inset: 12% 0; z-index: -1; background: radial-gradient(ellipse, #94b9d319, transparent 70%); }
.signature-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 18px #9bbcd00c); }
.signature-art figcaption { margin-top: 6px; color: var(--muted); font-size: 11px; text-align: center; line-height: 1.8; }
.signature-art figcaption a { color: inherit; text-underline-offset: 3px; }
.horizon-home h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(32px, 3.4vw, 50px); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
.horizon-home .founder-principle h2 { color: var(--ink); margin: 12px 0 22px; }
.horizon-home .founder-principle p { font-size: 15px; line-height: 1.85; color: var(--muted); }
.horizon-home .founder-attribution strong { color: var(--ink); font-weight: 500; }
.horizon-home .founder-attribution span { color: var(--muted); }
.founder-clarification { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
.founder-clarification h3 { font-size: 16px; font-weight: 500; margin-bottom: 14px; color: var(--ink); }
.horizon-home .eyebrow { color: var(--teal); font-weight: 500; font-size: 10px; letter-spacing: .16em; }
.privacy-statement { padding: 32px 0; border-bottom: 1px solid var(--line); }
.privacy-statement p { max-width: 1000px; margin: 0; font-size: 14px; color: var(--muted); }
.privacy-statement strong { color: var(--ink); font-weight: 500; }
.horizon-home .site-update { background: var(--paper); }
.horizon-home .site-update-inner { align-items: center; font-size: 12px; padding: 14px 0; gap: 28px; }
.horizon-home .site-update-inner strong { flex: 0 1 32%; font-weight: 500; }
.horizon-home .site-update-inner span { flex: 1; }
.horizon-home :is(.lead, .soft-launch-copy p) { color: var(--muted); }
.horizon-home .horizon-copy .lead { color: #c0cfc8; }
.horizon-home .soft-launch { background: var(--band); }
.horizon-home .soft-launch-copy p { font-size: 15px; line-height: 1.85; }
.horizon-home .home-freshwater { background: var(--paper); border-bottom: 1px solid var(--line); }
.horizon-home .home-freshwater-inner { gap: 40px; }
.horizon-home .home-freshwater-media { background: transparent; border-radius: 0; border: 0; }
.horizon-home .home-freshwater-copy p { color: var(--muted); }
.horizon-home .grid { gap: 24px; }
.horizon-home .tile, .horizon-home .plan { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 28px 0; }
.horizon-home .tile h3, .horizon-home .plan h3 { font-weight: 500; }
.horizon-home .grid:has(.tile) { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.horizon-home .plan .button { align-self: flex-start; margin-top: auto; }
.horizon-home .price { font-weight: 400; font-family: Georgia, serif; margin: 18px 0; }
.horizon-home .section-head .lead { font-size: 16px; line-height: 1.85; }
.horizon-home .footer { padding: 40px 0; font-size: 12px; }
.horizon-home .analytics-consent { border-radius: 0; font-size: 13px; }
.horizon-home .analytics-consent button { border-radius: 0; min-height: 44px; font-weight: 500; }
.horizon-home .analytics-consent button.allow { color: var(--paper); }
.sam-create { border-bottom: 1px solid var(--line); }
.create-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.create-intro h2 { margin-bottom: 20px; }
.create-intro p { color: var(--muted); max-width: 420px; line-height: 1.8; font-size: 15px; }
.create-intro .create-account-note { font-size: 12px; margin-top: 24px; }
.create-destinations { margin-top: 24px; max-width: 420px; }
.create-destinations a { padding: 15px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; text-decoration: none; font-size: 14px; color: var(--ink); }
.create-workspace { border-left: 1px solid var(--line); padding-left: 32px; min-width: 0; }
.create-workspace label { display: block; font-size: 13px; margin-bottom: 10px; }
.create-workspace :is(select, textarea) { display: block; font: 15px/1.6 system-ui, sans-serif; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 0; width: 100%; padding: 12px; margin-bottom: 24px; min-height: 48px; }
.create-workspace textarea { resize: vertical; }
.create-workspace textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.create-workspace .button { cursor: pointer; }
.create-workspace .button:disabled { opacity: .65; cursor: wait; }
#sam-create-privacy, .result-note { font-size: 12px; line-height: 1.65; color: var(--muted); }
#sam-create-status { font-size: 13px; min-height: 1.6em; color: var(--muted); margin-bottom: 8px; }
#sam-create-login { font-size: 14px; }
#sam-create-result { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.result-label { text-transform: uppercase; letter-spacing: .12em; font-size: 10px; color: var(--teal); }
#sam-create-output { white-space: pre-wrap; overflow-wrap: anywhere; font: 24px/1.5 Georgia, serif; color: var(--ink); }
.create-empty { display: flex; align-items: center; gap: 18px; color: var(--muted); margin-top: 30px; }
.create-empty p { font: 22px/1.4 Georgia, serif; }
@media (max-width: 1100px) {
  .horizon-home .wrap { width: calc(100% - 56px); }
  .horizon-home .nav-links { gap: 14px; }
  .signature-layout { gap: 48px; }
  .create-layout { gap: 48px; }
  .horizon-copy { max-width: 560px; }
}
@media (max-width: 820px) {
  .horizon-home .wrap { width: calc(100% - 40px); }
  .horizon-home .nav { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; padding: 12px 0 0; min-height: 100px; align-items: center; }
  .horizon-home .nav-links { grid-column: 1 / -1; grid-row: 2; gap: 18px; flex-wrap: wrap; }
  .horizon-home .nav-links a { font-size: 11px; }
  .horizon-home .nav-links a[href="/contact/"] { display: none; }
  .home-preferences { grid-column: 2; grid-row: 1; }
  .horizon-layout { min-height: 660px; }
  .horizon-copy { padding: 300px 0 24px; max-width: 600px; }
  .horizon-home h1 { font-size: clamp(39px, 7.5vw, 62px); margin-bottom: 22px; }
  .horizon-copy .lead { font-size: 14px; max-width: 410px; }
  .horizon-scene::after { background: linear-gradient(0deg, #060909 0%, #060909c9 24%, #06090910 61%, transparent 85%); }
  .still-hole { width: 62vw; left: 58%; top: 25%; }
  .still-water { inset-block-start: 51%; }
  .horizon-foot { flex-wrap: wrap; gap: 4px; padding: 12px 0; }
  .scene-controls { justify-content: space-between; width: 100%; }
  .horizon-home main > section:not(.horizon-hero):not(.site-update):not(.privacy-statement) { padding: 44px 0; }
  .signature-layout { grid-template-columns: 1fr; gap: 28px; }
  .create-layout { grid-template-columns: 1fr; gap: 28px; }
  .create-workspace { border-left: 0; border-top: 1px solid var(--line); padding: 30px 0 0; }
  .signature-art { max-width: 360px; margin: 0 auto; }
  .horizon-home .site-update-inner { flex-direction: column; gap: 10px; }
  .horizon-home .site-update-inner strong { flex: auto; }
  .horizon-home .grid:has(.tile) { grid-template-columns: 1fr; gap: 0; }
  .horizon-home .home-freshwater-inner { gap: 32px; }
  .horizon-home .analytics-consent { flex-wrap: wrap; gap: 10px; right: 10px; left: 10px; bottom: 10px; }
}
@media (max-width: 420px) {
  .horizon-home .nav-links { gap: 12px; }
  .horizon-home .nav-links a { font-size: 10px; }
  .horizon-home .button { padding: 14px 17px; }
  .horizon-copy { padding-top: 270px; }
  .horizon-layout { min-height: 650px; }
  .scene-controls { gap: 14px; }
  #scene-description { max-width: 115px; font-size: 10px; }
  .horizon-home h1 { font-size: clamp(32px, 9vw, 39px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .horizon-home *, .horizon-home *::before, .horizon-home *::after { animation: none !important; transition: none !important; }
}
