:root {
    --ink: #07101d;
    --ink-soft: #0b1728;
    --paper: #f4f0e8;
    --paper-muted: rgba(244, 240, 232, 0.65);
    --gold: #c7a86b;
    --gold-light: #e0c993;
    --line: rgba(224, 201, 147, 0.24);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: "Manrope", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.hero {
    min-height: 100svh;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(105deg, rgba(5, 14, 25, 0.98) 0%, rgba(6, 16, 29, 0.91) 46%, rgba(5, 13, 24, 0.74) 100%),
        var(--ink);
}

.hero__image {
    position: absolute;
    z-index: -3;
    inset: 0;
    background: url("../imgs/bg/oikonomika.jpg") center / cover no-repeat;
    opacity: 0.32;
    filter: saturate(0.55) contrast(1.1);
    transform: scale(1.03);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.065) 0.6px, transparent 0.6px);
    background-size: 5px 5px;
    opacity: 0.17;
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.hero__glow--one {
    width: 38rem;
    height: 38rem;
    right: -16rem;
    top: -18rem;
    background: radial-gradient(circle, rgba(199, 168, 107, 0.16), transparent 68%);
}

.hero__glow--two {
    width: 26rem;
    height: 26rem;
    left: 30%;
    bottom: -16rem;
    background: radial-gradient(circle, rgba(68, 105, 133, 0.16), transparent 68%);
}

.shell {
    width: min(1380px, calc(100% - 8vw));
    min-height: 100svh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.topbar {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand__mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font: italic 500 21px/1 "Playfair Display", Georgia, serif;
}

.brand__name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.28em;
}

.topbar__meta,
.hero__footer {
    color: var(--paper-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.hero__content {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.72fr);
    gap: clamp(60px, 10vw, 180px);
    align-items: center;
    padding: 70px 0;
}

.eyebrow {
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 36px;
    height: 1px;
    background: var(--gold);
}

h1 {
    margin: 0;
    font: 500 clamp(4.3rem, 8vw, 8.5rem)/0.84 "Playfair Display", Georgia, serif;
    letter-spacing: -0.055em;
}

h1 em {
    color: var(--gold-light);
    font-weight: 500;
}

.hero__lead {
    max-width: 520px;
    margin: 38px 0 0 4px;
    color: var(--paper-muted);
    font-size: 15px;
    line-height: 1.8;
}

.document-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(224, 201, 147, 0.35);
    background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
    box-shadow: 0 40px 90px rgba(0,0,0,0.28);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.document-card__topline {
    display: flex;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    color: var(--paper-muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.document-card__year {
    height: 185px;
    display: flex;
    align-items: center;
    padding: 0 27px;
    color: rgba(224, 201, 147, 0.085);
    font: 600 clamp(6rem, 10vw, 9.5rem)/1 "Playfair Display", Georgia, serif;
    letter-spacing: -0.08em;
    border-bottom: 1px solid var(--line);
}

.document-card__body {
    min-height: 158px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 28px;
}

.document-card__icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--gold-light);
}

.document-card__icon svg {
    width: 22px;
    stroke: currentColor;
    stroke-width: 1.3;
}

.document-card__body p {
    margin: 0 0 8px;
    color: var(--paper-muted);
    font-size: 10px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.document-card__body h2 {
    margin: 0;
    max-width: 280px;
    font: 500 23px/1.28 "Playfair Display", Georgia, serif;
}

.document-card__action {
    min-height: 68px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gold);
    color: var(--ink);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: background 220ms ease, padding 220ms ease;
}

.document-card__action:hover,
.document-card__action:focus-visible {
    background: var(--gold-light);
    padding-right: 22px;
}

.document-card__action:focus-visible {
    outline: 2px solid var(--paper);
    outline-offset: 4px;
}

.action-arrow { font-size: 21px; font-weight: 400; }

.hero__footer {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-top: 1px solid var(--line);
}

.hero__footer-line {
    height: 1px;
    flex: 1;
    background: var(--line);
}

@media (max-width: 900px) {
    .shell { width: min(100% - 44px, 680px); }
    .topbar { min-height: 90px; }
    .hero__content {
        grid-template-columns: 1fr;
        gap: 55px;
        padding: 65px 0 75px;
    }
    .document-card { max-width: 560px; }
    .hero__footer { min-height: 76px; }
}

@media (max-width: 560px) {
    .shell { width: calc(100% - 32px); }
    .topbar__meta { display: none; }
    .hero__content { padding: 52px 0 58px; gap: 44px; }
    h1 { font-size: clamp(3.1rem, 15.8vw, 5rem); line-height: 0.9; }
    .hero__lead { margin-top: 28px; font-size: 14px; }
    .document-card__year { height: 130px; font-size: 6rem; }
    .document-card__body { min-height: 145px; padding: 26px 22px; }
    .document-card__body h2 { font-size: 20px; }
    .document-card__action { padding: 0 22px; }
    .hero__footer { align-items: flex-start; justify-content: center; flex-direction: column; gap: 8px; padding: 22px 0; }
    .hero__footer-line { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
