/* Arka Idea Fardad holding — stone paper, ink, one hairline. RTL, Dana (text) + Estedad (display), shared with the Standkala skin. */
@font-face { font-family: Dana; src: url(../../Standkala/assets/fonts/dana-fanum-light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: Dana; src: url(../../Standkala/assets/fonts/dana-fanum-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Dana; src: url(../../Standkala/assets/fonts/dana-fanum-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Estedad; src: url(../../Standkala/assets/fonts/Estedad-FD-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Estedad; src: url(../../Standkala/assets/fonts/Estedad-FD-Black.woff2) format("woff2"); font-weight: 900; font-display: swap; }

:root {
    --stone: #f3f1ec;
    --stone2: #e9e5dc;
    --ink: #14171b;
    --ink2: #555b62;
    --line: rgba(20, 23, 27, .14);
    --ease: cubic-bezier(.2, .7, .1, 1);
    --wrap: 1180px;
}

body { margin: 0; background: var(--stone); color: var(--ink); font: 400 16px/1.9 Dana, Tahoma, sans-serif; direction: rtl; -webkit-font-smoothing: antialiased; }
.ak a { color: inherit; text-decoration: none; }
.ak h1, .ak h2, .ak h3 { font-family: Estedad, Dana, sans-serif; margin: 0; line-height: 1.2; }
.ak p { margin: 0 0 1em; }
.ak-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; box-sizing: border-box; }
.ak { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.ak-main { flex: 1; }

/* header: wordmark + panel link, nothing else */
.ak-head { border-bottom: 1px solid var(--line); }
.ak-head__in { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.ak-mark b { display: block; font: 900 22px/1 Estedad, sans-serif; letter-spacing: -.01em; }
.ak-mark small { display: block; margin-top: 7px; font: 700 9.5px/1 Dana, sans-serif; letter-spacing: .32em; color: var(--ink2); direction: ltr; text-align: right; }
.ak-panel { font-size: 14.5px; padding: 9px 18px; border: 1px solid var(--ink); border-radius: 99px; transition: background .25s, color .25s; }
.ak-panel:hover { background: var(--ink); color: var(--stone); }

/* DNN panes and module wrappers stay out of the layout in view mode */
body:not(.dnnEditState) .ak-pane .DnnModule,
body:not(.dnnEditState) .ak-pane .akc,
body:not(.dnnEditState) .ak-pane [id^="dnn_ctr"][id$="_ContentPane"],
body:not(.dnnEditState) .ak-pane [id^="dnn_ctr"][id$="_ModuleContent"],
body:not(.dnnEditState) .ak-pane [id^="dnn_ctr"][id$="_lblContent"] { display: contents; }
.ak-pane .DnnModule > a[name]:empty { display: none; }

/* intro (HTML module) */
.ak-intro { padding: clamp(70px, 12vw, 150px) 0 clamp(50px, 8vw, 90px); }
.ak-eyebrow { font-size: 13px; letter-spacing: .02em; color: var(--ink2); display: flex; align-items: center; gap: 12px; }
.ak-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.ak-intro h1 { font-weight: 900; font-size: clamp(38px, 6.4vw, 86px); letter-spacing: -.02em; margin: 22px 0 28px; max-width: 14ch; }
.ak-intro p { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink2); max-width: 46ch; }

/* brand index (HTML module): one row per company, the whole row is the link */
.ak-brands { list-style: none; margin: 0; padding: 0 0 clamp(70px, 10vw, 120px); border-top: 1px solid var(--ink); }
.ak-brand { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 8px 28px; align-items: baseline; padding: clamp(26px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.ak-brand::before { content: ""; position: absolute; inset: 0; background: var(--stone2); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); z-index: -1; }
.ak-brand { isolation: isolate; }
.ak-brand:hover::before { transform: none; }
.ak-brand__n { font: 500 14px/1 Estedad, sans-serif; color: var(--ink2); }
.ak-brand__name { font: 900 clamp(34px, 5.4vw, 72px)/1.05 Estedad, sans-serif; letter-spacing: -.02em; transition: transform .6s var(--ease); }
.ak-brand:hover .ak-brand__name { transform: translateX(-10px); }
.ak-brand__desc { grid-column: 2; color: var(--ink2); margin: 0; font-size: 15.5px; }
.ak-brand__go { grid-row: 1 / span 2; grid-column: 3; align-self: center; text-align: left; font-size: 13px; color: var(--ink2); }
.ak-brand__host { display: block; direction: ltr; font: 700 13px/1.4 Dana, sans-serif; color: var(--ink); letter-spacing: .02em; }
.ak-brand__go::after { content: "←"; display: inline-block; margin-top: 6px; font-size: 22px; transition: transform .4s var(--ease); }
.ak-brand:hover .ak-brand__go::after { transform: translateX(-8px); }
.ak-brand.is-soon { cursor: default; }
.ak-brand.is-soon::before { display: none; }
.ak-brand.is-soon .ak-brand__name { color: var(--ink2); }
.ak-brand.is-soon .ak-brand__go::after { content: "به‌زودی"; font-size: 13px; }

/* footer */
.ak-foot { border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink2); }
.ak-foot__in { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ak-foot a:hover { color: var(--ink); }

@media (max-width: 720px) {
    .ak-wrap { padding: 0 18px; }
    .ak-head__in { height: 70px; }
    .ak-brand { grid-template-columns: 44px minmax(0, 1fr); }
    .ak-brand__go { grid-row: auto; grid-column: 2; text-align: right; }
    .ak-foot__in { flex-direction: column; justify-content: center; padding: 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .ak-brand::before, .ak-brand__name, .ak-brand__go::after { transition: none; }
}
