/* The view-only page shown while Tasweeqa gets ready to launch (index.html).
   Colours follow the app: brand green, gold and the warm off-white. */

@font-face {
    font-family: "Noto Sans Arabic";
    src: url("../assets/fonts/NotoSansArabic-Tasweeqa.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}

:root {
    --green: #075247;
    --green-deep: #053d35;
    --gold: #D5A716;
    --gold-soft: #F6ECCB;
    --paper: #FAF8F3;
    --mint: #E8F5F0;
    --card: #FFFFFF;
    --ink: #1D2B28;
    --muted: #5B6A66;
    --line: #E8DFD1;
    --font: "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
    color-scheme: light;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }

.wrap {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 20px;
}

.en, .hero-en, .lead-en, .en-p, .notice-en {
    font-family: var(--font);
}

/* Header */
.top {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}
.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 18px;
    flex-wrap: wrap;
}
.brand img { height: 40px; width: auto; }
.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: #6E5400;
    font-size: 14px;
    font-weight: 700;
}
.status .en { font-weight: 500; color: #8A6B0B; }
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(213, 167, 22, 0.25);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
    padding-block: 64px 56px;
}
.hero-text { display: grid; gap: 14px; }
h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.3;
    font-weight: 800;
    color: var(--green);
    text-wrap: balance;
}
.hero-en {
    max-width: 30em;
    font-size: 18px;
    font-weight: 600;
    color: var(--muted);
    text-align: right;
}
.lead { font-size: 19px; max-width: 34em; margin-top: 6px; }
.lead-en { font-size: 15px; color: var(--muted); text-align: right; max-width: 40em; }

.notice {
    margin-top: 8px;
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--mint);
    border: 1px solid #CFE7DE;
    font-size: 16px;
    display: grid;
    gap: 4px;
}
.notice strong { color: var(--green); }
.notice-en { font-size: 14px; color: var(--muted); text-align: right; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: 1.5px solid var(--green);
}
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-deep); }
.btn.ghost { color: var(--green); background: transparent; }
.btn.ghost:hover { background: var(--mint); }
.btn:focus-visible, .lines a:focus-visible, .foot a:focus-visible, .brand:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* Category tiles */
.tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.tile {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 8px 8px 12px;
    display: grid;
    gap: 8px;
    text-align: center;
}
.tile img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.tile span { font-size: 14px; font-weight: 700; color: var(--green); line-height: 1.4; }

/* What's coming */
.coming {
    background: var(--green);
    color: #EAF3F0;
    padding-block: 56px;
}
h2 {
    margin: 0 0 24px;
    font-size: clamp(26px, 3.4vw, 34px);
    font-weight: 800;
    line-height: 1.35;
    text-wrap: balance;
}
h2 .en, h3 .en {
    font-size: 0.55em;
    font-weight: 600;
    margin-inline-start: 10px;
    letter-spacing: 0.02em;
    opacity: 0.8;
}
.coming h2 { color: #fff; }
.cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.col {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 22px 22px 24px;
    display: grid;
    gap: 8px;
    align-content: start;
}
h3 {
    margin: 0 0 4px;
    font-size: 21px;
    font-weight: 800;
    color: var(--gold);
}
.col .en-p { font-size: 14px; color: #B9D3CC; text-align: right; }

/* Contact */
.contact {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
    padding-block: 64px;
}
.contact h2 { color: var(--green); margin-bottom: 12px; }
.contact-intro { display: grid; gap: 6px; }
.contact-intro .en-p { font-size: 15px; color: var(--muted); text-align: right; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px 26px 10px;
    box-shadow: 0 1px 2px rgba(7, 82, 71, 0.05), 0 18px 40px -24px rgba(7, 82, 71, 0.35);
}
.person {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--gold);
}
.people { display: grid; gap: 16px; }
.initials {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--mint);
    border: 1.5px solid #CFE7DE;
    color: var(--green);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.name {
    font-size: 22px;
    font-weight: 800;
    color: var(--green);
    line-height: 1.3;
    text-align: right;
}
.role { font-size: 15px; color: var(--muted); font-weight: 600; }

.lines { margin: 0; display: grid; }
.line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-block: 14px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}
.line:last-child { border-bottom: 0; }
.line dt { font-size: 14px; color: var(--muted); font-weight: 600; }
.line dt span { font-weight: 500; margin-inline-start: 4px; opacity: 0.8; }
.line dd { margin: 0; }
.line a {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    unicode-bidi: isolate;
}
.line a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }

/* Footer */
.foot {
    border-top: 1px solid var(--line);
    padding-block: 22px;
    font-size: 14px;
    color: var(--muted);
}
.foot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--green); font-weight: 600; text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .hero, .contact { grid-template-columns: 1fr; gap: 32px; }
    .hero { padding-block: 40px; }
    .cols { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    body { font-size: 16px; }
    .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .card { padding: 20px 18px 6px; }
    .line a { font-size: 17px; }
    .status .en { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .btn, .line a { transition: background-color 0.15s ease, color 0.15s ease; }
}
