/* ALDA website (alda.krd), design of 12 Nov 2026. Layout: eleven open A's stand on one ground line and the chosen one grows; a quiet directory follows; ALDA Tech sits in a night band. */
:root {
  --ground: #F1F3F4; --paper: #FFFFFF; --sunk: #E3E7E9; --ink: #12171B; --ink-2: #4B565E; --line: #CFD6DA; --dash: #98A3AA; --band: #12171B;
  --live: #17734A; --soon: #8A5A00; --focus: #1F5FD1;
  --c-fit: #F4511A; --c-nest: #AE6C09; --c-bloom: #B157BF; --c-store: #7A3FC4; --c-tech: #1F5FD1; --c-dine: #6A9A00;
  --c-cart: #258E10; --c-rack: #667E8A; --c-team: #DB3398; --c-build: #0F8F83; --c-home: #F31230;
  --f-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --r: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ground: #12171B; --paper: #1B2228; --sunk: #232B32; --ink: #F1F3F4; --ink-2: #AEB8BE; --line: #2D373E; --dash: #5A666E; --live: #4BD081; --soon: #F0B94A; --focus: #7AA2FF; --c-store: #8E5BD6; --c-tech: #3574E6; --c-dine: #C8F560; --c-cart: #5FCF45; --band: #0B0F12; color-scheme: dark } }
:root[data-theme="dark"] { --ground: #12171B; --paper: #1B2228; --sunk: #232B32; --ink: #F1F3F4; --ink-2: #AEB8BE; --line: #2D373E; --dash: #5A666E; --live: #4BD081; --soon: #F0B94A; --focus: #7AA2FF; --c-store: #8E5BD6; --c-tech: #3574E6; --c-dine: #C8F560; --c-cart: #5FCF45; --band: #0B0F12; color-scheme: dark }
.night { --ground: #12171B; --paper: #1B2228; --sunk: #232B32; --ink: #F1F3F4; --ink-2: #AEB8BE; --line: #2D373E; --dash: #5A666E; --live: #4BD081; --soon: #F0B94A; --focus: #7AA2FF; --c-store: #8E5BD6; --c-tech: #3574E6; --c-dine: #C8F560; --c-cart: #5FCF45; --ground: var(--band); color: var(--ink); background: var(--ground) }

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth }
section, footer { scroll-margin-top: 16px }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.55 var(--f-body); -webkit-font-smoothing: antialiased }
h1, h2, h3, p, ul, ol, figure { margin: 0 }
ul, ol { padding: 0; list-style: none }
a { color: inherit }
svg { display: block }
button { font: inherit; color: inherit }
.ink { fill: currentColor }
.col { fill: var(--b) }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px }
.wrap { max-width: 1384px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)) } }
[data-b="fit"] { --b: var(--c-fit) }
[data-b="nest"] { --b: var(--c-nest) }
[data-b="bloom"] { --b: var(--c-bloom) }
[data-b="store"] { --b: var(--c-store) }
[data-b="tech"] { --b: var(--c-tech) }
[data-b="dine"] { --b: var(--c-dine) }
[data-b="cart"] { --b: var(--c-cart) }
[data-b="rack"] { --b: var(--c-rack) }
[data-b="team"] { --b: var(--c-team) }
[data-b="build"] { --b: var(--c-build) }
[data-b="home"] { --b: var(--c-home) }

.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px }
.seg a, .seg button { appearance: none; border: 0; background: none; cursor: pointer; text-decoration: none; white-space: nowrap; font: 600 13px/1 var(--f-body); color: var(--ink-2); padding: 0 12px; min-height: 34px; display: inline-flex; align-items: center; border-radius: 999px }
.seg [lang="ar"], .seg [lang="ckb"] { font-family: var(--f-ar); font-size: 14px }
.seg a:hover, .seg button:hover { color: var(--ink) }
.seg [aria-current="page"], .seg [aria-pressed="true"] { background: var(--ink); color: var(--ground) }

/* The website */
.site { font-family: var(--f-body) }
.site[dir="rtl"] { font-family: var(--f-ar); line-height: 1.75 }
.top { display: flex; align-items: center; gap: 24px; padding-block: max(16px, env(safe-area-inset-top, 0px)) 16px }
.brand { display: block; border-radius: 4px }
.brand svg { height: 30px; width: auto }
.links { display: flex; gap: 4px; margin-inline: auto }
.links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15.5px; padding: 8px 13px; border-radius: 999px }
.links a:hover { color: var(--ink); background: var(--sunk) }
@media (max-width: 860px) { .links { display: none } .top .seg { margin-inline-start: auto } .brand svg { height: 26px } }

h1, h2 { font-family: var(--f-display); font-weight: 700; text-wrap: balance }
.site[dir="rtl"] h1, .site[dir="rtl"] h2, .site[dir="rtl"] h3 { font-family: var(--f-ar); letter-spacing: 0 }
.site h1 { font-size: clamp(42px, 6.2vw, 90px); line-height: .96; letter-spacing: -.035em }
.site[dir="rtl"] h1 { font-size: clamp(38px, 5.6vw, 84px); line-height: 1.22 }
.site h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -.025em }
.site[dir="rtl"] h2 { line-height: 1.3 }

/* Hero: the street */
.hero { overflow: hidden; overflow: clip; padding-block: 28px 64px }
.hero-grid { display: grid; grid-template-areas: "copy" "stage" "street" "panel"; gap: 28px }
.copy { grid-area: copy; display: grid; gap: 20px; justify-items: start }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 40rem }
.hint { color: var(--ink-2); font-size: 15px; display: none }
.panel { grid-area: panel; display: grid }
.p { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; visibility: hidden; opacity: 0; transition: opacity .35s }
.p.on { visibility: visible; opacity: 1 }
.p .logo { height: 38px; width: auto; max-width: 100% }
.p-role { color: var(--ink-2); max-width: 36ch; min-height: 3.1em }
.site[dir="rtl"] .p-role { min-height: 3.5em }
.p-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; min-height: 44px }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--ground); font: 600 15px/1 var(--f-body); text-decoration: none; transition: transform .2s }
.btn:hover { transform: translateY(-2px) }
.site[dir="rtl"] .btn { font-family: var(--f-ar) }
.arr { width: 11px; height: 11px; flex: none }
[dir="rtl"] .arr { transform: scaleX(-1) }
.chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none }
.chip.live { color: var(--live) }
.chip.soon { color: var(--soon) }
.chip.soon::before { background: none; border: 2px solid currentColor }
.chip.tech { color: var(--ink-2) }
.chip.tech::before { border-radius: 2px; background: var(--c-tech) }
.note { color: var(--ink-2); font-size: 14px }

.stage { grid-area: stage; position: relative; padding-top: 4px }
.stage svg { width: min(58%, 240px); height: auto; margin-inline: auto }
.stage::after, .street::before { content: ""; position: absolute; left: -100vw; right: -100vw; height: 3px; background: var(--ink) }
.stage::after { bottom: -3px }
.so { display: none; transform-box: fill-box; transform-origin: 50% 100% }
.so.on { display: inline; animation: pop .5s cubic-bezier(.3, .7, .3, 1) }

.street-wrap { grid-area: street; container-type: inline-size; min-width: 0 }
.street { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px }
.street::before { display: none }
.door { appearance: none; border: 0; background: none; padding: 8px 6px 6px; margin: 0; cursor: pointer; min-width: 0; display: block; text-align: center; border-radius: 12px 12px 0 0; border-bottom: 3px solid transparent }
.door[aria-pressed="true"] { background: var(--paper); border-bottom-color: var(--ink) }
.a-box { display: flex; align-items: flex-end }
.a-box svg { width: 100%; height: auto; overflow: visible }
.obj { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .3s cubic-bezier(.3, .7, .3, 1) }
.door:hover .obj { transform: translateY(-4px) }
.door[aria-pressed="true"] .obj { animation: pop .55s cubic-bezier(.3, .7, .3, 1) }
.door-l { display: block; padding-top: 8px; line-height: 1.2 }
.door-l b { display: block; font: 600 13px/1.2 var(--f-body); color: var(--ink) }
.door-l i { display: none; font-style: normal; font-size: 12.5px; color: var(--ink-2); margin-top: 3px }
@media (max-width: 340px) { .door { padding-inline: 2px } }
@keyframes pop { 0% { transform: scale(.55) } 60% { transform: scale(1.1) } 100% { transform: scale(1) } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }

@media (min-width: 720px) {
  .hero { padding-block: 28px 72px }
  .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); grid-template-areas: "copy panel" "street street"; column-gap: 56px; row-gap: 40px; align-items: end }
  .stage { display: none }
  .hint { display: block }
  .panel { padding-bottom: 4px }
  .street { display: flex; align-items: flex-start; gap: 10px; --h: calc((100cqw - 100px) * .2357) }
  .street::before { display: block; top: var(--h) }
  .door { flex: 1 1 0; padding: 0; border: 0; border-radius: 6px; transition: flex-grow .6s cubic-bezier(.3, .85, .25, 1) }
  .door[aria-pressed="true"] { flex-grow: 3.5; background: none }
  .a-box { height: var(--h) }
  .a-box svg { animation: rise .7s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 45ms) }
  .door-l { padding-top: 17px }
  .door-l b { font-size: 15px }
  .door-l i { display: block }
  .door[aria-pressed="false"] .door-l b { color: var(--ink-2) }
}
@media (min-width: 720px) and (max-width: 1040px) { .door-l i { display: none } }

/* Sections */
.sec { display: grid; gap: 32px; padding-block: 72px }
.sec-h { display: grid; gap: 12px; align-content: start }
.sec-h p { color: var(--ink-2); max-width: 30ch }
@media (min-width: 960px) {
  .sec { grid-template-columns: minmax(220px, .8fr) 3fr; gap: 56px; padding-block: 112px }
  .sec-h { position: sticky; top: calc(32px + env(safe-area-inset-top, 0px)); align-self: start }
}

/* For families: every card stands on the ground like a letter. Soft top, flat feet. */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)) }
.card { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px 28px 0; min-height: 250px; background: var(--paper); border-radius: var(--r) var(--r) 0 0; border-bottom: 3px solid var(--ink) }
.card.is-soon { background: none; border: 2px dashed var(--dash); min-height: 210px }
.card-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px }
.card .logo { height: 36px; width: auto; max-width: 100% }
.role { color: var(--ink-2); max-width: 34ch }
.card-f { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px }
.card-f > :first-child { padding-bottom: 26px }
.go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none }
a.go::after { content: ""; position: absolute; inset: 0; border-radius: var(--r) var(--r) 0 0 }
.toy { height: 92px; width: auto; flex: none; transition: transform .35s cubic-bezier(.3, .7, .3, 1); transform-origin: 50% 100% }
.card:hover .toy, .sys:hover .toy { transform: translateY(-8px) }
.card.is-soon .toy { height: 72px }

/* For business: the night band */
.lead { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; padding-bottom: 40px }
.lead .logo { height: 50px; width: auto; max-width: 100% }
.lead .role { flex: 1 1 280px; max-width: 46ch; font-size: 18px }
.sys-grid { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)) }
.sys { background: var(--ground); min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 0; min-height: 214px; text-decoration: none; transition: background .2s }
.sys:hover { background: var(--paper) }
.sys .logo { height: 27px; width: auto; max-width: 100%; align-self: flex-start }
.sys p { color: var(--ink-2); font-size: 15.5px; max-width: 32ch }
.sys-f { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px }
.sys-f .go { padding-bottom: 24px; font-size: 15px }
.sys .toy { height: 60px }

/* The name */

/* Contact and footer */
.foot { padding-top: 72px; overflow: hidden }
.foot-top { display: grid; gap: 48px }
.talk-rows { margin-top: 24px; border-top: 1px solid var(--line) }
.talk-r { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-block: 18px; border-bottom: 1px solid var(--line); text-decoration: none }
.talk-r > span { color: var(--ink-2) }
.talk-r b { font-weight: 600; display: inline-flex; align-items: center; gap: 8px }
.dir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px }
.dir h3 { font: 600 14px/1.3 var(--f-body); color: var(--ink-2); margin-bottom: 12px }
.site[dir="rtl"] .dir h3 { font-family: var(--f-ar) }
.dir li > * { display: inline-flex; align-items: center; gap: 10px; padding-block: 7px; text-decoration: none; font-weight: 500 }
.dir li > span { color: var(--ink-2) }
.dir a:hover { text-decoration: underline; text-underline-offset: 4px }
.dir .mk { height: 20px; width: auto; flex: none; color: var(--ink) }
.foot-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 56px; color: var(--ink-2); font-size: 14px }
@media (min-width: 960px) { .foot { padding-top: 112px } .foot-top { grid-template-columns: 1.15fr 1fr; gap: 96px } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .a-box svg, .so.on, .door[aria-pressed="true"] .obj { animation: none }
  .door, .obj, .toy, .btn, .p { transition: none }
}

/* Skip link: off screen until a keyboard reaches it */
.skip { position: absolute; inset-inline-start: 16px; top: -80px; z-index: 10; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 600; text-decoration: none }
.skip:focus { top: max(12px, env(safe-area-inset-top, 0px)) }
.foot-meta { padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)) }
