/* ===========================================================
   sankalp0o.com — hand-written CSS, no framework
   =========================================================== */

:root {
    --ink: #282828;
    --yellow: #ffc524;
    --white: #ffffff;
    --max-width: 1080px;
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    color: var(--ink);
    font-family: "Muli", system-ui, -apple-system, sans-serif;
    font-size: 18px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Abril Fatface", Georgia, serif;
    color: var(--ink);
    letter-spacing: 1px;
    margin: 0;
}

h1 {
    font-size: 34px;
}

p {
    margin: 0 0 1em 0;
}

a {
    color: var(--ink);
    text-decoration: none;
}

/* Highlighter-underline links (white highlight over yellow hero) */
.text-link-alt {
    display: inline;
    text-decoration: none;
    background: linear-gradient(
        to bottom,
        transparent 0 60%,
        var(--white) 60% 100%
    );
    transition: background 0.2s ease;
}

.text-link-alt:hover {
    background: linear-gradient(
        to bottom,
        transparent 0 0,
        var(--white) 0 100%
    );
}

/* ===========================================================
   Hero
   =========================================================== */
.hero {
    background-color: var(--yellow);
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 5fr 6fr;
    align-items: stretch;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 32px 40px;
}

.hero-content h1 {
    margin-bottom: 16px;
}

.hero-greeting {
    margin-bottom: 0;
}

/* Nav links inside hero */
.links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.links .text-link-alt {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.links .icons {
    margin-left: auto;
    display: flex;
    gap: 16px;
}

.links .icons img {
    width: 28px;
    height: 28px;
    display: block;
}

/* ===========================================================
   Cat footer
   =========================================================== */
.cat {
    display: flex;
    justify-content: center;
    padding: 24px 0 56px;
}

.cat img {
    height: 80px;
    width: auto;
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 720px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-img-col {
        display: none;
    }

    .hero-content {
        padding: 24px 20px 32px;
    }

    .links {
        flex-wrap: wrap;
        gap: 16px;
    }
}
