/*
 * "About us" on every brand: nianna.ge's home page - who the company is,
 * and the five characters circling - dropped into a brand's own layout.
 *
 * A scoped copy of the intro, circle and blog rules in group.css. Every rule
 * sits under .nianna-about and every class carries an na- prefix, because
 * Eleboot's Tailwind and brand-site.css both style bare h1, section, .wrap,
 * .lead and .family - unprefixed, the brand would bleed into it and it into
 * the brand. Plain CSS so the live shop's committed bundle is not rebuilt.
 */

.nianna-about {
    --na-paper: #f7f1e6;
    --na-paper-deep: #efe6d6;
    --na-ink: #2b2620;
    --na-muted: #6d6357;
    --na-rule: #e2d6c2;
    --na-accent: #7a5a3a;
    --na-measure: 62ch;
    --na-serif: 'Noto Serif Georgian', 'Noto Serif', Georgia, serif;

    background: var(--na-paper);
    color: var(--na-ink);
    font-family: 'Noto Sans Georgian', 'Noto Sans', system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    overflow-x: clip;
}

.nianna-about *,
.nianna-about *::before,
.nianna-about *::after { box-sizing: border-box; }

.nianna-about .na-wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 20px; }

.nianna-about a { color: inherit; }
.nianna-about img { max-width: 100%; height: auto; display: block; }

.nianna-about h1,
.nianna-about h2,
.nianna-about h3 {
    font-family: var(--na-serif);
    font-weight: 700;
    line-height: 1.25;
    text-wrap: balance;
    color: var(--na-ink);
    margin: 0 0 14px;
}

.nianna-about h1 { font-size: clamp(34px, 6vw, 54px); letter-spacing: -.01em; }
.nianna-about h2 { font-size: clamp(22px, 3.4vw, 28px); }
.nianna-about h3 { font-size: 19px; }

.nianna-about p { margin: 0 0 16px; }

.nianna-about .na-lead { font-size: clamp(18px, 2.4vw, 21px); max-width: var(--na-measure); }

/* ---------- about on the left, the circle on the right ---------- */

.nianna-about .na-intro { padding-block: 56px 72px; }

.nianna-about .na-grid { display: grid; gap: 48px; }

@media (min-width: 940px) {
    .nianna-about .na-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
    .nianna-about .na-family { position: sticky; top: 96px; }
}

.nianna-about .na-eyebrow {
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--na-accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.nianna-about .na-about h2 { margin-top: 40px; }
.nianna-about .na-about p { max-width: var(--na-measure); }

.nianna-about .na-pillars { display: grid; gap: 16px; margin-top: 36px; }

@media (min-width: 640px) { .nianna-about .na-pillars { grid-template-columns: 1fr 1fr; } }

.nianna-about .na-pillars > div {
    background: var(--na-paper-deep);
    border-radius: 16px;
    padding: 22px 22px 8px;
}

.nianna-about .na-pillars h3 { color: var(--na-accent); }
.nianna-about .na-pillars p { font-size: 16px; }

/* ---------- the circle of characters ---------- */

.nianna-about .na-family { text-align: center; container-type: inline-size; }

/* On a phone the circle comes first - below a long read it would go unseen. */
@media (max-width: 939px) { .nianna-about .na-family { order: -1; } }

.nianna-about .na-family-hint { color: var(--na-muted); font-size: 15px; margin-top: 6px; }

.nianna-about .na-orbit {
    /* Sized to its own column, not the window - inside a brand's narrower
       layout a 500px circle spilled over the page edge. */
    --size: min(500px, 100cqi);
    --avatar: clamp(64px, 17vw, 100px);
    --r: calc(var(--size) / 2 - var(--avatar) / 2 - 18px);
    --turn: 90s;
    position: relative;
    width: var(--size);
    aspect-ratio: 1;
    margin: 22px auto 0;
}

.nianna-about .na-track {
    position: absolute;
    inset: calc(var(--size) / 2 - var(--r));
    border: 2px dashed var(--na-rule);
    border-radius: 50%;
}

.nianna-about .na-centre {
    position: absolute;
    inset: 32%;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--na-paper-deep);
    box-shadow: inset 0 0 0 1px var(--na-rule);
    text-decoration: none;
}

.nianna-about .na-centre span {
    font-family: var(--na-serif);
    font-weight: 700;
    font-size: clamp(20px, 4.4vw, 30px);
}

/* A zero-size pivot at the centre: a full-size square spinning would sweep
   its corners past the page edge and make it scroll sideways. */
.nianna-about .na-ring {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    animation: na-spin var(--turn) linear infinite;
}

.nianna-about .na-ring li {
    --angle: calc(var(--i) / var(--n) * 1turn);
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    margin: 0;
    transform: rotate(var(--angle)) translateY(calc(-1 * var(--r)));
}

.nianna-about .na-slot {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle)));
}

.nianna-about .na-ring a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: calc(var(--avatar) + 40px);
    text-decoration: none;
    animation: na-spin var(--turn) linear infinite reverse;
}

.nianna-about .na-ring img {
    width: var(--avatar);
    height: var(--avatar);
    border-radius: 50%;
    border: 4px solid var(--ring);
    box-shadow: 0 6px 18px rgb(43 38 32 / .16);
    transition: transform .25s ease;
}

.nianna-about .na-ring span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    background: var(--na-paper);
    padding: 1px 8px;
    border-radius: 999px;
}

.nianna-about .na-ring a:hover img,
.nianna-about .na-ring a:focus-visible img { transform: scale(1.08); }

.nianna-about .na-ring a:focus-visible { outline: none; }
.nianna-about .na-ring a:focus-visible span { outline: 2px solid var(--na-accent); }

/* Stop to be clicked: hovering or tabbing into the circle holds it still. */
.nianna-about .na-orbit:hover .na-ring,
.nianna-about .na-orbit:hover .na-ring a,
.nianna-about .na-orbit:focus-within .na-ring,
.nianna-about .na-orbit:focus-within .na-ring a { animation-play-state: paused; }

@keyframes na-spin { to { rotate: 1turn; } }

@media (prefers-reduced-motion: reduce) {
    .nianna-about .na-ring,
    .nianna-about .na-ring a { animation: none; }
}

/* ---------- latest from the blog ---------- */

.nianna-about .na-latest { padding-block: 56px; border-top: 1px solid var(--na-rule); }

.nianna-about .na-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.nianna-about .na-head h2 { margin: 0; }
.nianna-about .na-head a { color: var(--na-accent); text-decoration: none; font-weight: 600; }

.nianna-about .na-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 24px;
}

.nianna-about .na-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #fffaf2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--na-rule);
    transition: transform .2s ease, box-shadow .2s ease;
}

.nianna-about .na-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--na-rule), 0 12px 28px rgb(43 38 32 / .1); }

.nianna-about .na-card-art { position: relative; aspect-ratio: 16 / 9; background: var(--na-paper-deep); }
.nianna-about .na-card-art img { width: 100%; height: 100%; object-fit: cover; }

.nianna-about .na-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: rgb(43 38 32 / .72);
}

.nianna-about .na-play::after {
    content: '';
    position: absolute;
    left: 26px;
    top: 20px;
    border-style: solid;
    border-width: 12px 0 12px 19px;
    border-color: transparent transparent transparent #fff;
}

.nianna-about .na-card-body { padding: 16px 18px 20px; }
.nianna-about .na-card-body h3 { margin: 0; font-size: 19px; }

.nianna-about .na-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--na-muted);
    margin-bottom: 8px;
}

.nianna-about .na-chip {
    font-size: 13px;
    padding: 1px 10px;
    border-radius: 999px;
    background: var(--na-paper-deep);
    color: var(--na-ink);
}

/* ---------- contact: the company, then this brand's own channels ---------- */

.nianna-about .na-contact { padding-block: 56px 64px; border-top: 1px solid var(--na-rule); }

.nianna-about .na-company { margin-bottom: 28px; }
.nianna-about .na-company p { margin: 0 0 4px; }
.nianna-about .na-company .na-name { font-weight: 600; }

.nianna-about .na-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 14px;
}

.nianna-about .na-tile {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fffaf2;
    box-shadow: 0 0 0 1px var(--na-rule);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.nianna-about .na-tile:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--na-rule), 0 10px 22px rgb(43 38 32 / .08); }
.nianna-about .na-tile .na-k { font-size: 13px; color: var(--na-muted); }
.nianna-about .na-tile .na-v { font-weight: 600; word-break: break-word; }
