/* elitesoft — drawings (our own SVG), drawing sheets, title blocks, the flow chain, product cards. */
.art--lit polygon { stroke: rgba(0, 0, 0, .18); stroke-width: 0.02; }
/* ---------- home: the drawing sheet ---------- */
/* Hairlines, a structural grid and a title block: the page speaks drawing.
   One moment: a section plane sweeps across the line drawing and leaves a render behind. */
.ln-face { fill: var(--sheet); stroke: rgba(238, 234, 227, .74); stroke-width: 1.1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ln-hatch { fill: var(--hatch); }
.ln-hatchline { stroke: rgba(238, 234, 227, .28); stroke-width: 0.035; }
.an-grid { stroke: var(--draft); stroke-width: 0.03; stroke-dasharray: 0.6 0.16 0.06 0.16; opacity: .7; }
.an-ext, .an-dim { stroke: var(--draft); stroke-width: .9; vector-effect: non-scaling-stroke; }
.an-tick { stroke: var(--draft); stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.an-bub { fill: var(--sheet); stroke: var(--draft); stroke-width: .9; vector-effect: non-scaling-stroke; }
.an-text, .an-btext { fill: var(--draft); text-anchor: middle; dominant-baseline: central; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.an-text { font-size: .42px; font-weight: 500; }
.an-btext { font-size: .44px; font-weight: 600; }

.hero { padding: calc(var(--top-h) + 4px) 0 clamp(16px, 3vh, 28px); }
.hero__sheet { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); grid-template-rows: minmax(0, 1fr) auto; min-height: calc(100svh - var(--top-h) - 4px - clamp(16px, 3vh, 28px)); border: 1px solid var(--line-2); border-radius: var(--r-xs); overflow: hidden; }
.hero__copy { grid-row: 1 / 3; display: grid; align-content: end; padding: clamp(24px, 3.6vw, 56px); border-right: 1px solid var(--line-2); }
.hero__copy h1 { font-size: clamp(34px, 4.3vw, 66px); line-height: 1; letter-spacing: -0.035em; max-width: 14ch; }
.hero__copy .lead { margin: 26px 0 30px; max-width: 38ch; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__draw { position: relative; min-height: 420px; overflow: hidden; }
.draw__sheet, .draw__win, .draw__render { position: absolute; inset: 0; }
.draw__sheet { background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, var(--sheet); }
.hero__draw .art { position: absolute; left: 4%; top: 3%; width: 92%; height: 90%; }
/* The render window slides; its content slides back the same distance, so the render stays put. */
.draw__win { --cut: 55%; overflow: hidden; transform: translateX(var(--cut)); }
.draw__render { transform: translateX(calc(var(--cut) * -1)); background: linear-gradient(180deg, var(--sky1), var(--sky2) 88%); }
.draw__render::before { content: ''; position: absolute; left: 22%; right: 14%; bottom: 10%; height: 28%; border-radius: 50%; background: radial-gradient(closest-side, var(--pool), transparent); opacity: .4; filter: blur(8px); }
.draw__render::after { content: ''; position: absolute; inset: 0; background-image: var(--grain); background-size: 160px; opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.draw__render .art { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); }
.draw__cut { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 1px; background: var(--tungsten); }
.draw__cut svg { position: absolute; left: -13px; width: 30px; height: 30px; overflow: visible; }
.draw__cut svg:first-child { top: 14px; }
.draw__cut svg:last-child { bottom: 14px; }
.draw__cut circle { fill: var(--sheet); stroke: var(--tungsten); stroke-width: 1.5; }
.draw__cut path { fill: none; stroke: var(--tungsten); stroke-width: 1.5; stroke-linejoin: round; }
.draw__cut text { fill: var(--tungsten); font: 700 10px var(--sans); text-anchor: middle; dominant-baseline: central; }
.draw__legend { position: absolute; left: 18px; bottom: 16px; display: flex; align-items: end; gap: 18px; }
.draw__north { width: 30px; height: 30px; }
.draw__north circle { fill: none; stroke: var(--draft); stroke-width: 1.2; }
.draw__north path { fill: var(--draft); }
.draw__north text { fill: var(--draft); font: 700 9px var(--sans); text-anchor: middle; }
.draw__scale { width: 150px; height: 28px; }
.draw__scale rect { fill: var(--sheet); stroke: var(--draft); stroke-width: 1; }
.draw__scale rect.on { fill: var(--draft); }
.draw__scale text { fill: var(--ink-soft); font: 500 9px var(--sans); font-variant-numeric: tabular-nums; }

/* title block: who sells, to whom, on what terms */
.tblock { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 2.4fr); border-top: 1px solid var(--line-2); }
.tblock__name { margin: 0; max-width: none; min-width: 0; padding: 14px 18px; display: grid; align-content: center; gap: 6px; border-right: 1px solid var(--line-2); font: 700 20px/1.05 var(--display); letter-spacing: -0.03em; overflow-wrap: break-word; }
.tblock__name span { font: 400 var(--t-xs)/1.35 var(--sans); letter-spacing: 0; color: var(--muted); }
.tblock__name .logo { display: block; width: auto; height: 36px; max-width: 100%; object-fit: contain; object-position: left center; }
.tblock__fields { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tblock__fields div { padding: 12px 16px; }
.tblock__fields div + div { border-left: 1px solid var(--line); }
.tblock dt { font-size: 12px; color: var(--muted); }
.tblock dd { margin: 4px 0 0; font-size: 14px; line-height: 1.35; }
@media (max-width: 1099px) {
  .hero__sheet { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; min-height: 0; }
  .hero__copy { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--line-2); padding-top: clamp(28px, 6vw, 56px); }
  .hero__copy h1 { font-size: clamp(34px, 6.4vw, 60px); max-width: 14ch; }
  .hero__draw { min-height: 0; aspect-ratio: 16 / 10; }
  .tblock { grid-column: auto; }
}
@media (max-width: 600px) {
  .hero__copy { padding: 26px 20px 24px; }
  .hero__draw { aspect-ratio: 1 / 1; }
  .draw__win { --cut: 52%; }
  .an-text { display: none; }
  .draw__legend { left: 12px; bottom: 12px; }
  .draw__north { display: none; }
  .draw__scale { width: 112px; }
  .tblock { grid-template-columns: minmax(0, 1fr); }
  .tblock__name { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .tblock__fields { grid-template-columns: minmax(0, 1fr); }
  .tblock__fields div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 16px; }
  .tblock__fields div + div { border-left: 0; border-top: 1px solid var(--line); }
  .tblock dd { margin: 0; }
}
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards[hidden], .card[hidden] { display: none; }
.cards.is-swap { animation: fadein 200ms var(--ease-out); }
.card { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform var(--d-ui) var(--ease-out), border-color var(--d-fast) ease; }
.card__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--sky1) 70%, var(--sky2)), var(--sky2) 86%); border-bottom: 1px solid var(--line); }
.card__art::before { content: ''; position: absolute; left: 18%; right: 18%; bottom: 8%; height: 30%; border-radius: 50%; background: radial-gradient(closest-side, var(--pool), transparent); opacity: .35; }
.card__art .art { position: absolute; left: 10%; top: 8%; width: 80%; height: 84%; transition: transform 500ms var(--ease-out); }
.card__body { display: grid; grid-template-rows: auto auto 1fr auto auto; padding: 20px 22px 22px; }
.card__name { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.05; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.card__name a { text-decoration: none; }
.card__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__name a:focus-visible { outline: none; }
.card:has(.card__name a:focus-visible) { outline: 2px solid var(--tungsten); outline-offset: 3px; }
.card__by { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.card__tag { margin: 12px 0 0; font-size: var(--t-sm); color: var(--ink-soft); }
.card__spec { margin: 18px 0 0; border-top: 1px solid var(--line); }
.card__spec div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.card__spec dt { color: var(--muted); }
.card__spec dd { margin: 0; }
.files { overflow-wrap: anywhere; }
.card__price { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 14px; color: var(--ink-soft); }
.card__price b { font: 600 22px var(--display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.card__price .sample { margin: 0; }
.card:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-2px); border-color: var(--line-2); }
  .card:hover .card__art .art { transform: scale(1.03); }
}
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card__art { aspect-ratio: 2 / 1; }
  .card__body { padding: 18px 18px 20px; }
}
.cat-empty { display: grid; justify-items: start; gap: 18px; padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.cat-empty[hidden] { display: none; }
.cat-empty p { margin: 0; color: var(--muted); }
.cat-empty b { color: var(--ink); font-weight: 600; }
.cat-empty a { color: var(--ink); }
/* ---------- one ground floor, three drawing conventions (2026-11-15, spec §19) ----------
   design: plan with poché walls; survey: point cloud; simulation: daylight grid.
   Same tokens as the hero drawing: ink for what is built, draft blue for annotation,
   tungsten for what the person acts on (scan stations, the sun). */
.pl { display: block; width: 100%; height: 100%; }
.pl text { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.pl-axis { fill: none; stroke: var(--draft); stroke-width: .8; stroke-dasharray: 12 3 2 3; opacity: .5; vector-effect: non-scaling-stroke; }
.pl-bub { fill: var(--sheet); stroke: var(--draft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pl-btext { fill: var(--draft); font-size: 9px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.pl-wall { fill: var(--ink); fill-opacity: .88; }
.pl-win { fill: var(--sheet); stroke: rgba(238, 234, 227, .7); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pl-glass, .pl-door { fill: none; stroke: rgba(238, 234, 227, .62); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pl-dim { fill: none; stroke: var(--draft); stroke-width: .9; vector-effect: non-scaling-stroke; }
.pl-tick { fill: none; stroke: var(--draft); stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.pl-dtext { fill: var(--draft); font-size: 11px; font-weight: 500; text-anchor: middle; }
.pl-north circle { fill: none; stroke: var(--draft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pl-north path { fill: var(--draft); }
/* points are zero-length strokes with round caps: one path per intensity */
.pc-hi, .pc-mid, .pc-lo { fill: none; stroke-linecap: round; }
.pc-hi { stroke: var(--ink); stroke-opacity: .9; stroke-width: 2.3; }
.pc-mid { stroke: var(--draft); stroke-opacity: .85; stroke-width: 2; }
.pc-lo { stroke: var(--draft); stroke-opacity: .42; stroke-width: 1.6; }
.pc-ray { fill: none; stroke: var(--draft); stroke-opacity: .17; stroke-width: .7; vector-effect: non-scaling-stroke; }
.pc-reg { fill: none; stroke: var(--tungsten); stroke-width: 1; stroke-dasharray: 5 4; opacity: .85; vector-effect: non-scaling-stroke; }
.pc-st circle { fill: var(--sheet); stroke: var(--tungsten); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pc-st path { fill: none; stroke: var(--tungsten); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pc-st text { fill: var(--tungsten); font-size: 10px; font-weight: 700; }
.pc-tg circle { fill: var(--sheet); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pc-tg path { fill: var(--ink); }
.pc-tg text { fill: var(--ink-soft); font-size: 10px; font-weight: 600; }
.sim-iso { fill: none; stroke: rgba(238, 234, 227, .62); stroke-width: .8; vector-effect: non-scaling-stroke; }
.sim-iso--2 { stroke: rgba(11, 14, 18, .6); }
.sim-wall { fill: var(--ground-deep); stroke: rgba(238, 234, 227, .5); stroke-width: .8; vector-effect: non-scaling-stroke; }
.sim-glass { fill: none; stroke: var(--f-glass); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.sim-path { fill: none; stroke: var(--tungsten); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.sim-hour, .sim-sun { fill: var(--tungsten); }
.sim-htext { fill: var(--tungsten); font-size: 9px; font-weight: 600; text-anchor: middle; }
.sim-rays { fill: none; stroke: var(--tungsten); stroke-width: 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sim-wind { fill: none; stroke: var(--draft); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* ---------- category page ---------- */
.chead { padding: calc(var(--top-h) + 4px) 0 0; }
.chead__sheet { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); grid-template-rows: minmax(0, 1fr) auto; border: 1px solid var(--line-2); border-radius: var(--r-xs); overflow: hidden; }
.chead__copy { grid-row: 1 / 3; display: grid; align-content: space-between; gap: 40px; padding: clamp(24px, 3.6vw, 56px); border-right: 1px solid var(--line-2); min-width: 0; }
.chead__copy .crumbs { margin-bottom: 22px; }
.chead__copy h1 { font-size: clamp(30px, 3.1vw, 50px); line-height: 1.02; letter-spacing: -0.03em; max-width: 17ch; overflow-wrap: break-word; hyphens: manual; }
.chead__copy .lead { margin: 0 0 28px; max-width: 42ch; color: var(--ink-soft); }
.chead__draw { position: relative; aspect-ratio: 3 / 2; padding: 3% 5%; background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, var(--sheet); }
.chead .tblock { grid-column: 2; }
@media (max-width: 1099px) {
  .chead__sheet { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .chead__copy { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--line-2); gap: 28px; }
  .chead .tblock { grid-column: auto; }
}
@media (max-width: 600px) { .chead__copy { padding: 26px 20px 24px; } .chead__draw { padding: 3%; } }
/* how the three connect: survey, design, simulation in project order */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.chain__node { position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 1px solid var(--line-2); border-radius: var(--r-xs); background: var(--surface); transition: border-color var(--d-fast) ease, background-color var(--d-fast) ease; }
.chain__node + .chain__node::before { content: ''; position: absolute; top: 76px; left: -27px; width: 25px; height: 1px; background: var(--draft); }
.chain__node + .chain__node::after { content: ''; position: absolute; top: 72px; left: -11px; width: 8px; height: 8px; border-top: 1px solid var(--draft); border-right: 1px solid var(--draft); transform: rotate(45deg); }
.chain__sheet { aspect-ratio: 3 / 2; padding: 4% 5%; border-bottom: 1px solid var(--line-2); background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, var(--sheet); }
.chain__body { display: grid; align-content: start; gap: 8px; padding: 18px 20px 22px; }
.chain__body .bubble { width: 26px; height: 26px; font-size: 12px; }
.chain__name { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.1; letter-spacing: -0.02em; }
.chain__name a { text-decoration: none; }
.chain__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.chain__name a:focus-visible { outline: none; }
.chain__node:has(.chain__name a:focus-visible) { outline: 2px solid var(--tungsten); outline-offset: 3px; }
.chain__here { margin: 0; font-size: 13px; font-weight: 600; color: var(--tungsten); }
.chain__out { margin: 0; color: var(--ink-soft); font-size: var(--t-sm); }
.chain__hand { margin: 0; font-size: 14px; color: var(--muted); }
.chain__node.is-here { border-color: var(--tungsten-line); background: radial-gradient(120% 100% at 0% 0%, rgba(242, 176, 94, .12), transparent 60%), var(--surface-2); }
@media (hover: hover) and (pointer: fine) { .chain__node:not(.is-here):hover { border-color: rgba(238, 234, 227, .34); background-color: var(--surface-2); } }
@media (max-width: 860px) {
  .chain { grid-template-columns: minmax(0, 1fr); }
  .chain__node { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: auto; }
  .chain__sheet { border-bottom: 0; border-right: 1px solid var(--line-2); align-self: stretch; }
  .chain__node + .chain__node::before { top: -27px; left: 48px; width: 1px; height: 25px; }
  .chain__node + .chain__node::after { top: -11px; left: 44.5px; transform: rotate(135deg); }
}
@media (max-width: 520px) {
  .chain__node { grid-template-columns: minmax(0, 1fr); }
  .chain__sheet { border-right: 0; border-bottom: 1px solid var(--line-2); }
}
.notes p a { color: var(--ink); }
.notes__go { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; font-weight: 600; font-size: var(--t-sm); color: var(--ink); text-decoration: none; }
.notes__go::after { content: ''; flex: none; width: 7px; height: 7px; border-top: 2px solid var(--tungsten); border-right: 2px solid var(--tungsten); transform: rotate(45deg); transition: transform var(--d-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .notes__go:hover { text-decoration: underline; } .notes__go:hover::after { transform: translateX(3px) rotate(45deg); } }
/* ---------- ροή σάρωση → ψηφιακό δίδυμο → σχέδιο ---------- */
.chain__kicker { margin: 0; font-size: 13px; font-weight: 600; color: var(--draft); }
.tw-pc { opacity: .55; }
.tw-wall { fill: var(--ink); fill-opacity: .9; }
.flow__title { margin: clamp(48px, 6vw, 80px) 0 18px; }

/* ---------- theme additions ---------- */
.art { display: block; width: 100%; height: 100%; }
.art text { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.m-l { fill: var(--f-left); }
.m-r { fill: var(--f-right); }
.m-t { fill: var(--f-top); }
.m-g { fill: var(--f-ground); }
.m-w { fill: var(--f-glass); }
/* plain classes: the drawings are <use> clones of the sprite, where ancestor selectors do not reach */
.m-l, .m-r, .m-t, .m-g, .m-w { stroke: rgba(0, 0, 0, .18); stroke-width: 0.02; }
.m-vr.m-t { fill: #C9D9E8; }
.m-vr.m-w { fill: var(--sky); }
.m-vr.m-r { fill: #4F6E8C; }
.ln-hatch { fill: var(--hatch); stroke: none; }
/* structural frame («Στατικά») */
.fr-sup { fill: none; stroke: var(--draft); stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.fr-load { fill: none; stroke: var(--tungsten); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fr-ltext { fill: var(--tungsten); font-size: 10px; font-weight: 600; text-anchor: middle; }
.fr-moment { fill: none; stroke: var(--draft); stroke-width: 1.2; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
/* cards: the category drawing, on a sky (render) or on a sheet (plan conventions) */
.card__art--sheet { background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, var(--sheet); }
.card__art--sheet::before { display: none; }
.card__art--sheet .art { left: 0; top: 0; width: 100%; height: 100%; }
.card__price { font-size: 14px; }
.card__price .price__now { font: 600 22px var(--display); letter-spacing: -0.02em; color: var(--ink); }
.chead__draw .art, .disc__sheet .art, .chain__sheet .art, .nb__sheet .art { width: 100%; height: 100%; }
.card__body { display: flex; flex-direction: column; }
.card__price { margin-top: auto; padding-top: 16px; }
.card__spec + .card__price { margin-top: auto; }
/* topography («Τοπογραφία & GIS») */
.tp-iso { fill: none; stroke: var(--draft); stroke-opacity: .55; stroke-width: .8; vector-effect: non-scaling-stroke; }
.tp-iso--major { stroke-opacity: .9; stroke-width: 1.2; }
.tp-plot { fill: none; stroke: var(--tungsten); stroke-width: 1.1; stroke-dasharray: 8 3 2 3; vector-effect: non-scaling-stroke; }
.tp-pt { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tp-txt { fill: var(--ink-soft); font-size: 8px; font-variant-numeric: tabular-nums; }

/* ---------- οι κατηγορίες ανά οικογένεια (αρχική, κατάλογος) ----------
   Each category is a card: on top the real screens of its first products, spread like
   prints on the board; below, the product names as links. Pointing at a name brings its
   screen forward (assets/js/motion.js). */
.c8s { display: grid; gap: clamp(36px, 5vw, 60px); }
.c8s__fam { min-width: 0; }
.c8s__famname { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font: 600 20px/1.15 var(--display); letter-spacing: -0.02em; }
.c8s__famname .glyph { color: var(--draft); width: 22px; height: 22px; }
.c8s__famname a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.c8s__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.c8 { grid-column: span 2; position: relative; min-width: 0; display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 10px; padding: 0 22px 20px; background-color: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform var(--d-ui) var(--ease-out), border-color var(--d-fast) ease, box-shadow var(--d-ui) ease; }
/* two, four or five in a family: half-row cards, so no row is left with a hole */
.c8:first-child:nth-last-child(2), .c8:first-child:nth-last-child(2) ~ .c8,
.c8:first-child:nth-last-child(4), .c8:first-child:nth-last-child(4) ~ .c8,
.c8:first-child:nth-last-child(5), .c8:first-child:nth-last-child(5) + .c8 { grid-column: span 3; --pics-ar: 16 / 6.4; --pic-w: 36%; }
.c8__pics { position: relative; margin: 0 -22px 8px; aspect-ratio: var(--pics-ar, 16 / 8.6); overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, var(--sheet); }
.c8__pics--render { background: linear-gradient(180deg, color-mix(in srgb, var(--sky1) 70%, var(--sky2)), var(--sky2) 86%); }
.c8__pics .art { position: absolute; left: 12%; top: 8%; width: 76%; height: 84%; transition: transform 700ms var(--ease-out); }
.c8__pic { position: absolute; left: 50%; top: 50%; width: var(--pic-w, 50%); height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-xs); box-shadow: 0 0 0 1px rgba(238, 234, 227, .2), 0 16px 30px -10px rgba(0, 0, 0, .85); transform: translate(-50%, -50%) translateX(var(--x, 0%)) rotate(var(--rot, 0deg)) scale(var(--s, 1)); transition: transform 650ms var(--ease-out), filter 300ms ease; }
.c8__pic:nth-child(1) { --x: -52%; --rot: -5deg; z-index: 1; }
.c8__pic:nth-child(2) { --x: 0%; --rot: 1.5deg; z-index: 3; --s: 1.06; }
.c8__pic:nth-child(3) { --x: 52%; --rot: 5deg; z-index: 2; }
.c8__pic:first-child:nth-last-child(2) { --x: -30%; }
.c8__pic:nth-child(2):last-child { --x: 30%; --rot: 4deg; }
.c8__pic:only-child { --x: 0%; --rot: -2deg; --s: 1.15; }
.c8__short { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 600 13px/1.3 var(--sans); color: var(--draft); }
.c8__name { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: break-word; transition: color var(--d-fast) ease; }
.c8__name a { text-decoration: none; }
.c8__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.c8__name a:focus-visible { outline: none; }
.c8:has(.c8__name a:focus-visible) { outline: 2px solid var(--tungsten); outline-offset: 2px; }
.c8__purpose { margin: 0; color: var(--ink-soft); font-size: var(--t-sm); }
.c8__chips { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line-2); display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
.c8__chips li { min-width: 0; }
.c8__chips a { position: relative; z-index: 2; display: inline-flex; align-items: center; max-width: 100%; min-height: 34px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: rgba(238, 234, 227, .03); font-size: 13.5px; font-weight: 600; line-height: 1.2; color: var(--ink-soft); text-decoration: none; overflow-wrap: anywhere; transition: background-color var(--d-fast) ease, border-color var(--d-fast) ease, color var(--d-fast) ease, transform var(--d-fast) var(--ease-out); }
.c8__chips a:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 2px; }
.c8__chips a:active { transform: scale(0.97); }
.c8__n { margin: 4px 0 0; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.c8__n::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tungsten); }
.c8__n::after { content: ''; margin-left: auto; margin-right: 4px; width: 8px; height: 8px; border-top: 2px solid var(--tungsten); border-right: 2px solid var(--tungsten); transform: rotate(45deg); transition: transform var(--d-fast) var(--ease-out); }
/* a name is pointed at: its screen comes forward, the others step back */
.c8[data-on] .c8__pic { filter: brightness(.45) saturate(.7); }
.c8[data-on] .c8__pic.is-on { filter: none; z-index: 5; --rot: 0deg; --s: 1.3; --x: 0%; }
@media (hover: hover) and (pointer: fine) {
  .c8:hover { transform: translateY(-4px); border-color: var(--tungsten-line); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .9); }
  .c8:hover .c8__name { color: var(--tungsten); }
  .c8:hover .c8__n::after { transform: translateX(4px) rotate(45deg); }
  .c8:hover .c8__pics .art { transform: scale(1.05); }
  .c8:not([data-on]):hover .c8__pic:nth-child(1) { --x: -70%; --rot: -8deg; }
  .c8:not([data-on]):hover .c8__pic:nth-child(2) { --s: 1.14; --rot: 0deg; }
  .c8:not([data-on]):hover .c8__pic:nth-child(3) { --x: 70%; --rot: 8deg; }
  .c8:not([data-on]):hover .c8__pic:first-child:nth-last-child(2) { --x: -40%; }
  .c8:not([data-on]):hover .c8__pic:nth-child(2):last-child { --x: 40%; --rot: 6deg; --s: 1.06; }
  .c8__chips a:hover { background-color: var(--tungsten); border-color: var(--tungsten); color: var(--tungsten-ink); }
}
@media (max-width: 1000px) {
  .c8s__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c8s .c8s__list > .c8.c8:nth-child(n) { grid-column: auto; --pics-ar: 16 / 8.6; --pic-w: 50%; }
  .c8s .c8s__list > .c8.c8.c8:last-child:nth-child(odd) { grid-column: 1 / -1; --pics-ar: 16 / 6.4; --pic-w: 36%; }
}
@media (max-width: 600px) {
  .c8s__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .c8s .c8s__list > .c8.c8:nth-child(n) { grid-column: auto; padding: 0 16px 18px; --pics-ar: 16 / 8.6; --pic-w: 50%; }
  .c8__pics { margin: 0 -16px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .c8, .c8__pic, .c8__pics .art, .c8__chips a { transition: none; }
  .c8:hover { transform: none; }
}


/* ---------- product photos (temporary, local only: spec §23) ----------
   A photo sits on the same drawing sheet as the SVG art, inset like a print pinned on a
   board: thin hairline, small padding, no filters. Frames keep their aspect ratio, so a
   photo never moves the layout. */
.es-frame { background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, var(--sheet); }
.es-frame::before { display: none; }
.es-photo { display: block; border-radius: var(--r-xs); box-shadow: 0 0 0 1px rgba(238, 234, 227, .16), 0 10px 24px -12px rgba(0, 0, 0, .7); }
.card__art--photo .es-photo { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card:hover .card__art--photo .es-photo { transform: scale(1.015); } }
.feat__art { position: relative; aspect-ratio: 16 / 9; margin: -22px -22px 12px; overflow: hidden; border-bottom: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0; }
.feat__art--render { background: linear-gradient(180deg, color-mix(in srgb, var(--sky1) 70%, var(--sky2)), var(--sky2) 86%); }
.feat__art--render .art { position: absolute; left: 15%; top: 8%; width: 70%; height: 84%; }
.feat__art--sheet { background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, var(--sheet); }
.feat__art--photo .es-photo { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .card__art--photo .es-photo { transition: none; } .card:hover .card__art--photo .es-photo { transform: none; } }
/* Firefox only (Κώστας 2026-11-18: «μόνο φωτογραφίες»): the product photos keep their thin light edge but not the soft
 * shadow under them. On his phone the blurred shadows of the photos cost Firefox ~4% of the frames of a scroll of the
 * home page; Chrome draws them at no cost and keeps them. Only Firefox understands -moz-appearance. */
@supports (-moz-appearance: none) {
  .es-photo { box-shadow: 0 0 0 1px rgba(238, 234, 227, .16); }
  .c8__pic { box-shadow: 0 0 0 1px rgba(238, 234, 227, .2); }
}
