/* ==========================================================================
   LekkerLogic About page (about.php). Loads after site.css and uses its tokens
   and primitives (.sec, .sec-head, .cells, .ask, .mono-label ...). Only what is
   specific to this page lives here.
     1 Page head + facts    4 Seats (experience)
     2 Section backdrops    5 Principles
     3 Why + crew           6 The name (lexicon card)
                            7 Responsive
   The hero's Fig.01 "one table" diagram is shared with the homepage: one-table.css.
   ========================================================================== */

/* 1 Page head + facts ----------------------------------------------------- */
.about-hero { position: relative; padding: 96px 0 88px; overflow: hidden; }
.about-hero .wrap { position: relative; }
.about-hero::before {
    content: ''; position: absolute; right: -8%; top: -180px; width: 980px; height: 760px; pointer-events: none;
    background:
        radial-gradient(closest-side at 62% 42%, rgba(169, 155, 255, .13), transparent),
        radial-gradient(closest-side at 28% 72%, rgba(98, 232, 180, .09), transparent);
}
.about-hero .hero-grid {
    -webkit-mask-image: radial-gradient(ellipse 62% 70% at 40% 30%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 62% 70% at 40% 30%, #000 10%, transparent 75%);
}
.about-kicker { display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; margin-bottom: 28px; }
.about-kicker .sep { color: var(--fg-4); margin: 0 10px; }
/* Wide screens: headline and lead on the left, the "one table" diagram on the right (stacks at 1140, section 7) */
.about-hero-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: 40px 56px; align-items: center; }
.about-hero h1 {
    max-width: 13.5em;
    font-size: clamp(2.5rem, 1.2rem + 3.4vw, 4.25rem);
    line-height: 1.02; letter-spacing: -.032em; font-weight: 600; font-stretch: 96%;
    text-wrap: balance;
}
.about-hero h1 .hl {
    background-image: linear-gradient(95deg, #62e8b4 0%, #7cc4ff 25%, #a99bff 50%, #7cc4ff 75%, #62e8b4 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: grad-shift 9s ease-in-out infinite alternate;
}
.about-lead { max-width: 40em; margin-top: 28px; font-size: 19px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }

/* Four facts in one hairline panel */
.about-facts {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 56px 0 0;
    border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
    background: rgba(13, 15, 18, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.about-facts > div { padding: 22px 24px 24px; }
.about-facts > div + div { border-left: 1px solid var(--line); }
.about-facts dt { font: 500 11.5px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--fg-3); }
.about-facts dd { margin: 10px 0 0; }
.about-facts b { display: block; font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.022em; font-stretch: 96%; color: var(--fg); }
.about-facts dd span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--fg-2); text-wrap: pretty; }
.about-facts > div:first-child b { color: var(--signal); }

/* 2 Section backdrops ----------------------------------------------------- */
/* site.css draws each section's pattern in .sec::before and masks it with --fade;
   every section here sets its own so the pattern never covers the whole section. */
#why-us {
    --pattern: var(--dots); --cell: 22px;
    --fade: radial-gradient(ellipse 52% 78% at 4% 30%, #000 4%, transparent 74%);
    --wash: radial-gradient(620px 520px at 0% 30%, rgba(124, 196, 255, .07), transparent 70%);
}
#who {
    --fade: radial-gradient(ellipse 58% 62% at 94% 6%, #000 4%, transparent 74%);
    --wash: radial-gradient(640px 440px at 94% 60px, rgba(98, 232, 180, .07), transparent 70%), radial-gradient(560px 460px at 2% 70%, rgba(169, 155, 255, .045), transparent 70%);
}
#experience {
    --pattern: var(--dots); --cell: 26px;
    --fade: radial-gradient(ellipse 58% 62% at 6% 6%, #000 4%, transparent 74%);
    --wash: radial-gradient(640px 440px at 6% 60px, rgba(169, 155, 255, .075), transparent 70%), radial-gradient(520px 380px at 100% 96%, rgba(243, 197, 107, .035), transparent 70%);
}
#build {
    --fade: radial-gradient(ellipse 58% 62% at 94% 6%, #000 4%, transparent 74%);
    --wash: radial-gradient(640px 460px at 94% 60px, rgba(124, 196, 255, .075), transparent 70%), radial-gradient(560px 460px at 0% 60%, rgba(98, 232, 180, .04), transparent 70%);
}
#principles {
    --pattern: var(--dots); --cell: 22px;
    --fade: radial-gradient(ellipse 52% 78% at 4% 50%, #000 4%, transparent 74%);
    --wash: radial-gradient(620px 520px at 0% 50%, rgba(98, 232, 180, .06), transparent 70%);
}
#name {
    --fade: radial-gradient(ellipse 60% 60% at 20% 20%, #000 4%, transparent 74%);
    --wash: radial-gradient(700px 520px at 18% 30%, rgba(169, 155, 255, .08), transparent 70%), radial-gradient(560px 420px at 100% 100%, rgba(98, 232, 180, .05), transparent 70%);
}

/* 3 Why + crew ------------------------------------------------------------ */
/* Two-column section: heading on the left, prose (or a list) on the right */
.about-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.about-split > header h2 { margin-top: 24px; }
.about-side { max-width: 30em; margin-top: 20px; font-size: 16.5px; line-height: 1.6; text-wrap: pretty; }
.about-prose p { max-width: 40em; font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.about-prose p + p, .about-prose .gap-list + p { margin-top: 18px; }
.about-prose b { font-weight: 600; color: var(--fg); }
.about-split:not(.is-name) .about-prose { padding-top: 54px; } /* first line sits level with the heading */
.about-more { margin-top: 24px; color: var(--fg); }
.about-more i { color: var(--signal); transition: transform .2s var(--ease); }
.about-more:hover i { transform: translateX(3px); }

.gap-list { margin-top: 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-1); }
.gap-list li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; font-size: 15.5px; line-height: 1.45; color: var(--fg); }
.gap-list li + li { border-top: 1px solid var(--line); }
.gap-list i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; font-size: 16px; color: var(--amber); background: rgba(243, 197, 107, .08); border: 1px solid rgba(243, 197, 107, .22); }

/* Three disciplines, each with its own accent */
.crew { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.crew > li:nth-child(1) { --c: var(--signal); }
.crew > li:nth-child(2) { --c: var(--sky); }
.crew > li:nth-child(3) { --c: var(--violet); }
.crew > li {
    position: relative; display: flex; flex-direction: column; padding: 32px; overflow: hidden;
    border: 1px solid var(--line-2); border-radius: 16px;
    background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--c) 9%, transparent), transparent 70%), var(--bg-1);
    transition: border-color .2s;
}
.crew > li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--c) 30%, var(--c) 70%, transparent); opacity: .7; }
.crew > li:hover { border-color: color-mix(in srgb, var(--c) 35%, var(--line-2)); }
.crew-icon {
    display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 40px; border-radius: 12px; font-size: 22px;
    color: var(--c); background: color-mix(in srgb, var(--c) 11%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
}
.crew h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.crew p { margin-top: 12px; font-size: 15.5px; line-height: 1.6; text-wrap: pretty; }
.crew-focus { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 28px; }
.crew-focus li { font: 400 11.5px/1 var(--mono); color: var(--fg-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 8px; }

/* 4 Seats (experience) ---------------------------------------------------- */
.seats { --cols: minmax(0, 2.4fr) minmax(0, 4fr) minmax(0, 5fr); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.seats-list > li:nth-child(1) { --c: var(--signal); }
.seats-list > li:nth-child(2) { --c: var(--sky); }
.seats-list > li:nth-child(3) { --c: var(--violet); }
.seats-list > li:nth-child(4) { --c: var(--amber); }
.seats-head { display: grid; grid-template-columns: var(--cols); background: var(--bg-2); border-bottom: 1px solid var(--line-2); }
.seats-head > .mono-label { display: flex; align-items: center; height: 44px; padding: 0 24px; font-size: 11.5px; }
.seats-head > .mono-label + .mono-label { border-left: 1px solid var(--line); }
.seats-head-to { color: var(--fg-2); }
.seats-list > li { display: grid; grid-template-columns: var(--cols); }
.seats-list > li + li { border-top: 1px solid var(--line); }
.seats-list > li > * { padding: 24px; }
.seats-list > li > * + * { border-left: 1px solid var(--line); }
.seat-name { display: flex; align-items: center; gap: 14px; }
.seat-icon {
    flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font-size: 18px;
    color: var(--c); background: color-mix(in srgb, var(--c) 11%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
}
.seat-name h3 { font-size: 19px; letter-spacing: -.014em; }
.seat-lived { display: flex; flex-direction: column; justify-content: center; font-size: 14.5px; line-height: 1.55; color: var(--fg-3); text-wrap: pretty; }
.seat-build {
    display: flex; flex-direction: column; justify-content: center; font-size: 15px; line-height: 1.55; color: var(--fg); text-wrap: pretty;
    background: radial-gradient(90% 120% at 0 50%, color-mix(in srgb, var(--c) 7%, transparent), transparent 70%), var(--bg-1);
}
/* Per-cell labels: for screen readers on wide screens, visible once rows stack (section 7) */
.seat-tag { display: block; margin-bottom: 6px; font: 500 11px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--fg-3); }
.seat-build .seat-tag { color: color-mix(in srgb, var(--c) 80%, var(--fg)); }
@media (min-width: 761px) {
    .seat-tag { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
.seats-note { max-width: 52em; margin-top: 24px; font-size: 15px; line-height: 1.6; color: var(--fg-3); text-wrap: pretty; }

.about-links { margin-top: 32px; gap: 24px; }
.about-links .link-arrow { color: var(--fg); }
.about-links .link-arrow i { color: var(--signal); }

/* 5 Principles ------------------------------------------------------------ */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line-2); }
.principles li { display: flex; gap: 18px; align-items: baseline; padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.principles h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.012em; }
.principles p { margin-top: 6px; font-size: 15px; line-height: 1.6; text-wrap: pretty; }

/* 6 The name (lexicon card) ----------------------------------------------- */
.about-split.is-name { align-items: center; }
.is-name h2 { margin: 24px 0 24px; }
.lexicon {
    position: relative; margin: 0; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
    background:
        radial-gradient(circle, rgba(255, 255, 255, .06) 1px, transparent 1.2px) 0 0 / 16px 16px,
        radial-gradient(90% 80% at 0% 0%, rgba(98, 232, 180, .08), transparent 70%),
        var(--bg-1);
    box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9);
}
.lexicon::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--grad); opacity: .6; }
.lexicon-bar { display: flex; justify-content: space-between; align-items: center; height: 42px; padding: 0 24px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.lexicon-bar .mono-label { font-size: 11px; }
.lexicon-body { padding: 36px 32px 32px; }
.lexicon-word {
    font-size: clamp(3.4rem, 2.2rem + 4vw, 5.6rem); line-height: 1; font-weight: 600; letter-spacing: -.04em; font-stretch: 96%;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    padding-bottom: .06em;
}
.lexicon-say { margin-top: 10px; font: 400 15px/1.4 var(--mono); color: var(--fg-3); }
.lexicon-defs { margin-top: 28px; border-top: 1px solid var(--line); }
.lexicon-defs li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; color: var(--fg); }
.lexicon-defs i { margin-right: 6px; font: 400 12.5px/1 var(--mono); font-style: normal; color: var(--fg-3); }

/* 7 Responsive ------------------------------------------------------------ */
@media (max-width: 1140px) {
    /* The diagram needs ~560px, so below 1140 it moves under the lead at full width */
    .about-hero-main { grid-template-columns: minmax(0, 1fr); }
    .about-hero h1 { font-size: clamp(2.5rem, 1.2rem + 4.2vw, 4.75rem); }
    .tf { margin-top: 16px; }
    .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-facts > div:nth-child(3) { border-left: 0; }
    .about-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .crew { grid-template-columns: 1fr; }
    .crew > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 24px; }
    .crew-icon { grid-row: 1 / span 3; margin-bottom: 0; }
    .crew-focus { padding-top: 18px; }
}
@media (max-width: 960px) {
    .about-hero { padding: 64px 0 72px; }
    .about-split { grid-template-columns: 1fr; gap: 32px; }
    .about-split:not(.is-name) .about-prose { padding-top: 0; }
    .about-split.is-name > .lexicon { order: 2; }
    .principles { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .seats-head { display: none; }
    .seats-list > li { grid-template-columns: 1fr; }
    .seats-list > li > * + * { border-left: 0; border-top: 1px solid var(--line); }
    .seats-list > li > * { padding: 18px 20px; }
    .seats-list > li + li { border-top: 1px solid var(--line-3); }
}
@media (max-width: 640px) {
    .about-hero { padding: 48px 0 56px; }
    .about-kicker { font-size: 11px; }
    .about-lead { font-size: 17px; }
    .about-facts { margin-top: 40px; }
    .tf { margin-top: 8px; }
    .about-facts > div { padding: 18px; }
    .about-facts b { font-size: 21px; }
    .about-facts dd span { font-size: 13px; }
    .crew > li { display: flex; padding: 24px; }
    .crew-icon { margin-bottom: 24px; }
    .crew h3 { font-size: 22px; }
    .about-prose p { font-size: 16px; }
    .gap-list li { padding: 12px 14px; font-size: 15px; }
    .lexicon-body { padding: 28px 22px 24px; }
    .about-links .btn { width: 100%; }
}
