/* getensign.com: the landing page (/) and the web development pitch (/development/).
   Same design language as the KGSO mockup: Archivo (condensed caps) for headings and the wordmark,
   Manrope for reading; the drawn figures use their own face inside the canvas. /* taste-skill-ignore */ Dark, with neon kept as light
   in the background (purple, pink, cyan) and yellow for the things you press. Surfaces are told
   apart by a step in tone, never by lines or shadows. Square corners everywhere. */

@property --mh { syntax: '<number>'; inherits: true; initial-value: 48; }

:root {
  --bg: #07040d;
  --band: #130a20;
  --tile: #1d1430;
  --ink: #F2EEF8;
  --ink-2: rgba(242, 238, 248, .62);
  --volt: #FFD23F;
  --pink: #FF3DBB;
  --cyan: #33E1FF;
  --ion: #B026FF;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --display: 'Archivo', system-ui, sans-serif;
  --text: 'Manrope', system-ui, sans-serif;
  --s-display: clamp(5.5rem, 17vw, 14.5rem);
  --s-title: clamp(3.4rem, 8.6vw, 7.5rem);
  --s-heading: clamp(2.4rem, 4.6vw, 3.5rem);
  --s-item: clamp(1.75rem, 2.8vw, 2.25rem);
  --s-lead: clamp(1.15rem, 1.7vw, 1.5rem);
  --s-small: .875rem;
  --space: clamp(96px, 13vw, 180px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: var(--volt); color: #000; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  padding: 8px 12px; background: var(--volt); color: #000; font-weight: 700; font-size: var(--s-small);
}
.skip:focus { top: 12px; }

.h2 {
  margin: 0;
  font: 800 var(--s-heading)/.95 var(--display);
  font-stretch: 75%;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

/* ---- Bar ---- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 64px; padding: 0 var(--gutter);
  background: rgba(7, 4, 13, .8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.mark {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 800 var(--s-lead) var(--display); font-stretch: 80%; letter-spacing: .01em;
  text-transform: uppercase; text-decoration: none;
}
.tabs { display: flex; align-items: center; gap: 2px; }
.tabs a {
  padding: 8px 12px;
  font-size: var(--s-small); font-weight: 600;
  color: var(--ink-2); text-decoration: none;
  transition: color .15s, background-color .15s;
}
.tabs a:hover, .tabs a[aria-current="page"] { color: var(--ink); background: rgba(242, 238, 248, .07); }
.tabs .tabs__cta { margin-left: 10px; padding: 9px 16px; color: #000; background: var(--volt); font-weight: 700; }
.tabs .tabs__cta:hover { color: #000; background: #ffe070; }
.bar__menu {
  display: none; order: 2; min-height: 44px;
  font: 700 var(--s-small) var(--text); color: var(--ink);
  background: rgba(242, 238, 248, .1); border: 0; padding: 9px 16px; cursor: pointer;
}

.btn, .tabs a, .bar__menu, .mrow, .door, .work__row { transition: transform .2s var(--ease-out), background-color .15s, color .15s; }
.btn:active, .tabs a:active, .bar__menu:active, .mrow:active, .door:active, .work__row:active { transform: scale(.97); transition-duration: .06s; }

/* ---- Hero ---- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 32px;
  min-height: 100svh;
  max-width: var(--max); margin: 0 auto;
  padding: 104px var(--gutter) 48px;
}
.hero__glow { position: absolute; inset: 0 calc(50% - 50vw); z-index: -2; overflow: hidden; pointer-events: none; }
.hero__glow span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
  animation: drift 26s ease-in-out infinite alternate;
}
.hero__glow span:nth-child(1) { width: 46vw; height: 46vw; left: 46%; top: 2%; background: var(--ion); }
.hero__glow span:nth-child(2) { width: 30vw; height: 30vw; left: 72%; top: 44%; background: var(--pink); opacity: .32; animation-duration: 31s; animation-delay: -8s; }
.hero__glow span:nth-child(3) { width: 26vw; height: 26vw; left: 4%; top: 58%; background: var(--cyan); opacity: .16; animation-duration: 37s; animation-delay: -15s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4vw, 3vw, 0) scale(1.12); }
}

.hero__copy { position: relative; z-index: 1; }
.hero__title {
  margin: 0;
  font: 800 var(--s-display)/.8 var(--display);
  font-stretch: 72%;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
/* The pitch's longer headline: the same face, a size down */
.hero__title--long { font-size: var(--s-title); line-height: .86; }
.hero__name { margin: 1.25rem 0 0; font: 700 var(--s-lead)/1.25 var(--display); }
.hero__sub { max-width: 32rem; margin: 1rem 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 2.25rem; }
.btn {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 15px 24px;
  font: 700 1rem var(--text);
  color: #000; background: var(--volt); text-decoration: none;
}
.btn:hover { background: #ffe070; }
.link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--ink-2); text-underline-offset: 5px;
}
.link:hover { text-decoration-color: var(--volt); }

.hero__fig { position: relative; height: min(78svh, 680px); min-height: 420px; }
.field { display: block; width: 100%; height: 100%; }
.field--grab { cursor: grab; touch-action: pan-y; }
.field--grab.is-dragging { cursor: grabbing; }
.field--grab:focus-visible { outline-offset: -6px; }
.motion {
  position: absolute; right: 0; bottom: 0; min-height: 44px; padding: 0 16px;
  font: 600 var(--s-small) var(--text); color: var(--ink);
  background: rgba(242, 238, 248, .1); border: 0; cursor: pointer;
}
.motion:hover { background: rgba(242, 238, 248, .18); }
.is-still .hero__glow span { animation-play-state: paused; }

/* ---- Section frame ---- */
.sec { max-width: var(--max); margin: 0 auto; padding: var(--space) var(--gutter) 0; }
.sec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 64px; align-items: end; }
.sec__note { margin: 0; max-width: 30rem; }

/* ---- About: heading, then a statement beside the details ---- */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; }
.about .h2 { grid-column: 1 / -1; }
.about__statement { margin: 0; max-width: 34rem; font: 700 clamp(1.5rem, 2.8vw, 2.25rem)/1.2 var(--display); letter-spacing: -.01em; }
.about__more > p { margin: 0; font-size: 1.0625rem; }
.about__more > p + p { margin-top: 1rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin: 28px 0 0; }
.facts dt { font-size: var(--s-small); color: var(--ink-2); }
.facts dd { margin: 2px 0 0; font-weight: 600; }

/* ---- A list whose figure the active row redraws ---- */
.list__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 40px; }
.mlist { list-style: none; margin: 0; padding: 0; }
.mrow {
  --mc: hsl(var(--h) 92% 66%);
  display: block; width: 100%;
  margin: 0; padding: 10px 0; border: 0; background: none; cursor: pointer; text-align: left;
  color: rgba(242, 238, 248, .46);
}
.mrow__name { display: block; font: 800 var(--s-item)/1.1 var(--display); font-stretch: 78%; letter-spacing: -.015em; }
.mrow__desc { display: block; margin-top: 4px; max-width: 30rem; font: 500 1rem/1.5 var(--text); color: var(--ink-2); }
.mrow:hover { color: var(--ink); }
.mrow.is-active { color: var(--mc); transform: translateX(6px); }
.mrow.is-active .mrow__desc { color: var(--ink); }

.list__fig {
  --mh: 48;
  position: sticky; top: 96px;
  align-self: start;
  height: min(68vh, 600px);
  transition: --mh .6s var(--ease-out);
}
.list__fig::before {
  content: ''; position: absolute; inset: 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, hsl(var(--mh) 95% 55% / .24), transparent); /* taste-skill-ignore: the figure's own light, as on KGSO */
  filter: blur(20px);
}

/* ---- Doors: big pressable tiles ---- */
.band { margin-top: var(--space); background: var(--band); }
.band__inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) var(--gutter);
}
.band__note { margin: 1.25rem 0 0; max-width: 26rem; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.door {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  min-height: 240px; padding: 28px;
  background: var(--tile);
  text-decoration: none;
}
.door:hover { background: var(--volt); color: #000; }
.door__tag { margin-bottom: auto; font-size: var(--s-small); font-weight: 600; color: var(--ink-2); }
.door:hover .door__tag { color: rgba(0, 0, 0, .66); }
.door__who { font: 800 var(--s-item)/1 var(--display); font-stretch: 78%; letter-spacing: -.01em; text-transform: uppercase; }
.door__kind { font-weight: 600; }

/* ---- Steps ---- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 40px 0 0; padding: 0; }
.step { display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; padding: 28px; background: var(--band); }
.step h3 { margin: 32px 0 0; font: 700 var(--s-lead)/1.25 var(--display); }
.step p { margin: 8px 0 0; color: var(--ink-2); }

/* ---- Work: rows that are links ---- */
.work { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; }
.work__row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 8px 40px; align-items: baseline;
  padding: 28px; background: var(--band); text-decoration: none;
}
.work__row:hover { background: var(--tile); }
.work__name { font: 800 var(--s-item)/1.05 var(--display); font-stretch: 78%; letter-spacing: -.01em; text-transform: uppercase; }
.work__what { color: var(--ink-2); }
.work__url { font-size: var(--s-small); font-weight: 700; text-decoration: underline; text-decoration-color: var(--ink-2); text-underline-offset: 5px; }
.work__row:hover .work__url { text-decoration-color: var(--volt); }

/* ---- The pitch (/development) ---- */
.list__side { position: sticky; top: 96px; align-self: start; }
.list__side .list__fig { position: relative; top: auto; }
.fig-link { margin-top: 8px; }
.about .facts div { display: flex; flex-direction: column-reverse; }
.about .facts dd { font: 800 var(--s-item)/1.05 var(--display); font-stretch: 78%; letter-spacing: -.015em; color: var(--volt); }
.fig-note { position: absolute; left: 0; bottom: 0; max-width: 22rem; margin: 0; font-size: var(--s-small); color: var(--ink-2); }
.fig-note b { color: var(--ink); font-weight: 600; }
.mlink { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(242, 238, 248, .3); text-underline-offset: 4px; }
.mlink:hover { color: var(--volt); text-decoration-color: var(--volt); }
.kinds { margin: 0; display: grid; gap: 28px; }
.kinds div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4px 32px; align-items: baseline; }
.kinds dt { font: 800 var(--s-item)/1.05 var(--display); font-stretch: 78%; letter-spacing: -.015em; text-transform: uppercase; }
.kinds dd { margin: 0; }
.kinds dd span { display: block; color: var(--ink-2); margin-top: 2px; }
.plan { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 40px; }
.plan li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 64px; align-items: baseline; }
.plan h3 { margin: 0; font: 800 var(--s-item)/1.05 var(--display); font-stretch: 78%; letter-spacing: -.015em; text-transform: uppercase; color: var(--volt); }
.plan p { margin: 0; max-width: 40rem; font-size: 1.0625rem; }
.secret { margin-top: var(--space); background: var(--band); }
.secret__inner { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--gutter); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
.secret blockquote { margin: 20px 0 0; font: 700 clamp(1.375rem, 3vw, 2.25rem)/1.2 var(--display); letter-spacing: -.01em; max-width: 30ch; }
.secret p { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) {
  .hero__fig:has(.fig-note) { height: auto; min-height: 0; }
  .hero__fig:has(.fig-note) .field { height: 46svh; min-height: 300px; }
  .hero__fig:has(.fig-note) .motion { position: static; margin: 8px var(--gutter) 24px; }
  .fig-note { position: static; margin: 8px var(--gutter) 0; }
  .list__side { position: static; display: contents; }
  .fig-link { display: none; }
  .plan li, .kinds div, .secret__inner { grid-template-columns: 1fr; }
  .kinds { gap: 44px; }
}

/* ---- FAQ: every answer in view ---- */
.faq__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; margin: 40px 0 0; }
.faq dt { font: 700 var(--s-lead)/1.25 var(--display); }
.faq dd { margin: 10px 0 0; }

/* ---- Footer: the name again, full width ---- */
.foot { max-width: var(--max); margin: var(--space) auto 0; padding: 0 var(--gutter) 32px; }
.foot__word {
  margin: 0;
  font: 800 var(--s-display)/.8 var(--display);
  font-stretch: 72%;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: #605a72;
}
.foot__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px;
  margin-top: 32px; font-size: var(--s-small); color: var(--ink-2);
}
.foot__row p { margin: 0; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot__links a:hover { color: var(--ink); }

/* ---- Entrances (only with the script present, so nothing stays hidden without it) ---- */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }
[data-enter] { animation: enter .8s var(--ease-out) both; }
.hero__name[data-enter] { animation-delay: 80ms; }
.hero__sub[data-enter] { animation-delay: 160ms; }
.hero__actions[data-enter] { animation-delay: 240ms; }
@keyframes enter { from { opacity: 0; transform: translateY(24px); } }

/* ---- Narrower screens ---- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 80px; gap: 0; }
  .hero__fig { order: -1; height: 46svh; min-height: 300px; margin: 0 calc(-1 * var(--gutter)); }
  .motion { right: var(--gutter); }
  .hero__glow span:nth-child(1) { width: 90vw; height: 90vw; left: 10%; top: 0; }
  .hero__glow span:nth-child(2) { width: 60vw; height: 60vw; left: 50%; top: 22%; }
  .about, .sec__head, .band__inner { grid-template-columns: 1fr; }
  .faq__list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .work__row { grid-template-columns: 1fr; }
  .list__body { grid-template-columns: 1fr; margin-top: 24px; }
  .list__fig { position: relative; top: auto; height: 240px; margin: 4px 0 12px; }
}

@media (max-width: 760px) {
  .bar__menu { display: block; }
  .tabs {
    position: absolute; top: 60px; right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 2px;
    min-width: 210px; padding: 6px;
    background: var(--tile);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .55); /* taste-skill-ignore: a real menu that floats */
    transform-origin: top right;
    transform: scale(.94);
    opacity: 0; visibility: hidden;
    transition: transform .28s var(--ease-out), opacity .18s, visibility 0s .28s;
  }
  .tabs.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .28s var(--ease-out), opacity .18s; }
  .tabs a { padding: 12px 14px; font-size: 1rem; }
  .tabs .tabs__cta { margin: 6px 0 0; text-align: center; }
  .doors, .steps { grid-template-columns: 1fr; }
  .door { min-height: 170px; }
  .step { min-height: 0; }
  .faq__list { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  .mrow.is-active { transform: none; }
  .motion { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .bar { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: rgba(242, 238, 248, .88); }
}
