/* ===== ASHOKRAO MANE — madhavsadashivraogolwalkar.com INSPIRED ===== */
/* Deep Green Hero, Clean White Sections, 4-Card Quick Links, 3-Col Footer */
/* Outfit + Source Serif 4 | Deep Green (#065F46) + Gold (#D97706) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --green: #065F46;
    --green-dark: #064E3B;
    --green-light: #ECFDF5;
    --green-50: #F0FDF4;
    --gold: #D97706;
    --gold-dark: #B45309;
    --gold-light: #FFFBEB;
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .05);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, .08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .1);
    --tr: .3s ease;
    --radius: 12px
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    color: var(--slate-600);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

ul,
ol {
    list-style: none
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--slate-900);
    font-weight: 700
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--green-dark);
    padding: 0;
    transition: var(--tr)
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, .3)
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit';
    font-size: .85rem;
    font-weight: 800;
    color: var(--white)
}

.logo-text {
    font-family: 'Outfit';
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.01em
}

.logo-text span {
    color: var(--gold)
}

.nav-links {
    display: flex;
    gap: 0
}

.nav-links a {
    color: rgba(255, 255, 255, .6);
    font-size: .82rem;
    font-weight: 600;
    padding: 20px 16px;
    transition: var(--tr);
    position: relative
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white)
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px 3px 0 0
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--tr)
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--green-dark), #042f22);
    display: flex;
    align-items: center;
    padding-top: 64px;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 119, 6, .06), transparent 60%);
    border-radius: 50%
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 95, 70, .3), transparent 60%);
    border-radius: 50%
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 119, 6, .1);
    border: 1px solid rgba(217, 119, 6, .2);
    color: var(--gold);
    font-size: .65rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 20px
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .4;
        transform: scale(1.6)
    }
}

.hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -.03em;
    font-weight: 900
}

.hero h1 span {
    color: var(--gold)
}

.hero-sub {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    color: rgba(255, 255, 255, .5);
    font-size: 1.05rem;
    margin-bottom: 8px
}

.hero-desc {
    color: rgba(255, 255, 255, .55);
    font-size: .95rem;
    margin-bottom: 32px;
    max-width: 450px;
    line-height: 1.8
}

.hero-btns {
    display: flex;
    gap: 12px
}

.hero-portrait {
    position: relative
}

.hero-portrait img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4)
}

.hero-portrait::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(217, 119, 6, .2);
    border-radius: 16px;
    z-index: -1
}

.scroll-cue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px
}

.scroll-cue span {
    font-size: .5rem;
    color: rgba(255, 255, 255, .25);
    text-transform: uppercase;
    letter-spacing: .2em
}

.scroll-cue .bar {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: sb 2s ease infinite
}

@keyframes sb {

    0%,
    100% {
        opacity: 1;
        height: 36px
    }

    50% {
        opacity: .3;
        height: 20px
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: 'Outfit';
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    border: none;
    transition: var(--tr)
}

.btn-green {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(6, 95, 70, .25)
}

.btn-green:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 95, 70, .35)
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(217, 119, 6, .25)
}

.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px)
}

.btn-glass {
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .7);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px)
}

.btn-glass:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff
}

.btn-outline {
    background: transparent;
    color: var(--green);
    border: 1.5px solid var(--green)
}

.btn-outline:hover {
    background: var(--green);
    color: var(--white)
}

/* ===== ABOUT SECTION (like reference "Journey") ===== */
.about-sec {
    padding: 80px 0;
    background: var(--slate-50)
}

.about-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 48px;
    align-items: center
}

.about-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg)
}

.about-img img {
    width: 100%;
    height: 420px;
    object-fit: cover
}

.about-text .subtitle {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    color: var(--green);
    font-size: .9rem;
    margin-bottom: 4px
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    letter-spacing: -.01em
}

.about-text p {
    margin-bottom: 14px
}

/* ===== 4-CARD QUICK LINKS (reference-matching) ===== */
.quicklinks {
    padding: 80px 0;
    background: var(--white)
}

.ql-header {
    text-align: center;
    margin-bottom: 40px
}

.ql-header h2 {
    font-size: 1.8rem;
    margin-bottom: 6px
}

.ql-header p {
    color: var(--slate-500);
    font-size: .92rem
}

.ql-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.ql-card {
    background: var(--slate-50);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--tr);
    border: 1px solid var(--slate-200);
    cursor: pointer;
    text-align: center;
    padding: 0
}

.ql-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent
}

.ql-card-img {
    height: 160px;
    overflow: hidden
}

.ql-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s
}

.ql-card:hover .ql-card-img img {
    transform: scale(1.08)
}

.ql-card-body {
    padding: 20px
}

.ql-card-body h3 {
    font-size: 1rem;
    margin-bottom: 6px
}

.ql-card-body p {
    font-size: .78rem;
    color: var(--slate-500);
    line-height: 1.6
}

.ql-card-body .ql-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--green);
    font-size: .78rem;
    font-weight: 700;
    margin-top: 8px
}

/* ===== PAGE HEADER ===== */
.pg-header {
    padding: 130px 0 50px;
    background: var(--green-dark);
    position: relative;
    overflow: hidden
}

.pg-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 119, 6, .04), transparent 70%);
    border-radius: 50%
}

.pg-header .container {
    position: relative;
    z-index: 2
}

.pg-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -.02em
}

.pg-header h1 span {
    color: var(--gold)
}

.pg-header p {
    color: rgba(255, 255, 255, .55);
    font-size: .92rem
}

.breadcrumb {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    font-size: .75rem
}

.breadcrumb a {
    color: var(--gold)
}

.breadcrumb em {
    color: rgba(255, 255, 255, .3);
    font-style: normal
}

/* ===== SECTIONS ===== */
.section {
    padding: 72px 0
}

.sec-white {
    background: var(--white)
}

.sec-light {
    background: var(--slate-50)
}

.sec-header {
    margin-bottom: 36px
}

.sec-header h2 {
    font-size: 1.6rem;
    margin-bottom: 6px
}

.sec-header p {
    color: var(--slate-500);
    font-size: .92rem
}

.sec-header .subtitle {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    color: var(--green);
    font-size: .85rem;
    margin-bottom: 4px
}

.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 28px 0
}

.duo.flip {
    direction: rtl
}

.duo.flip>* {
    direction: ltr
}

.duo-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md)
}

.duo-img img {
    width: 100%;
    height: 360px;
    object-fit: cover
}

.chip-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px
}

.chip {
    background: var(--green-light);
    color: var(--green);
    padding: 5px 14px;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700
}

/* INFO CARDS */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0
}

.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--slate-200);
    transition: var(--tr)
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green)
}

.info-card .ico {
    font-size: 1.4rem;
    margin-bottom: 12px
}

.info-card h3 {
    font-size: .95rem;
    margin-bottom: 6px
}

.info-card p {
    font-size: .82rem;
    color: var(--slate-500);
    line-height: 1.7
}

/* STAT ROW */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 28px 0
}

.stat-box {
    background: var(--green-dark);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    color: var(--white)
}

.stat-box.accent {
    background: var(--gold)
}

.stat-box .sn {
    font-family: 'Outfit';
    font-size: 2rem;
    font-weight: 800;
    line-height: 1
}

.stat-box .sl {
    font-size: .55rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 4px;
    color: rgba(255, 255, 255, .6)
}

.stat-box.accent .sl {
    color: rgba(255, 255, 255, .8)
}

/* WORK CARDS */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 28px 0
}

.w-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    gap: 14px;
    border: 1px solid var(--slate-200);
    transition: var(--tr)
}

.w-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px)
}

.w-ico {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0
}

.w-card h3 {
    font-size: .92rem;
    margin-bottom: 4px
}

.w-card p {
    font-size: .8rem;
    color: var(--slate-500);
    line-height: 1.7
}

/* TIMELINE */
.timeline {
    position: relative;
    padding-left: 30px;
    margin: 28px 0
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    width: 2px;
    height: 100%;
    background: var(--slate-200)
}

.tl-item {
    position: relative;
    margin-bottom: 24px;
    padding-left: 20px
}

.tl-dot {
    position: absolute;
    left: -26px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid var(--green-light)
}

.tl-year {
    font-family: 'Outfit';
    font-size: .7rem;
    font-weight: 800;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 2px
}

.tl-item h3 {
    font-size: .95rem;
    margin-bottom: 4px
}

.tl-item p {
    font-size: .82rem;
    color: var(--slate-500);
    line-height: 1.7
}

/* MASONRY GALLERY */
.masonry {
    column-count: 3;
    column-gap: 14px;
    margin: 28px 0
}

.m-item {
    break-inside: avoid;
    margin-bottom: 14px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer
}

.m-item img {
    width: 100%;
    display: block;
    transition: .5s
}

.m-item:hover img {
    transform: scale(1.06)
}

.m-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 47, 34, .9), transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: var(--tr)
}

.m-item:hover .m-ov {
    opacity: 1
}

.m-ov h4 {
    color: var(--white);
    font-size: .85rem
}

.m-ov p {
    color: var(--gold);
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(6, 47, 34, .95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--tr)
}

.lightbox.active {
    opacity: 1;
    visibility: visible
}

.lightbox img {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px
}

.lb-x {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr)
}

.lb-x:hover {
    background: var(--gold);
    border-color: transparent
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 28px 0
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.fg label {
    font-size: .65rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: .1em
}

.fg input,
.fg textarea {
    padding: 13px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--slate-200);
    background: var(--white);
    color: var(--slate-900);
    font-family: 'Outfit';
    font-size: .88rem;
    transition: var(--tr);
    outline: none
}

.fg input:focus,
.fg textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(6, 95, 70, .06)
}

.fg textarea {
    min-height: 120px;
    resize: vertical
}

.c-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.c-card {
    background: var(--slate-50);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--slate-200)
}

.c-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0
}

.c-card h4 {
    font-size: .85rem;
    color: var(--slate-900);
    margin-bottom: 2px
}

.c-card p {
    color: var(--slate-500);
    font-size: .78rem;
    line-height: 1.5
}

/* ===== UPDATES (dark section) ===== */
.updates-sec {
    background: var(--green-dark);
    padding: 72px 0;
    color: var(--white)
}

.updates-sec h2 {
    color: var(--white);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 16px
}

.updates-sec p {
    color: rgba(255, 255, 255, .55);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.8
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px
}

.social-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .5);
    transition: var(--tr)
}

.social-row a:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px)
}

.social-row a svg {
    width: 16px;
    height: 16px;
    fill: currentColor
}

/* ===== FOOTER ===== */
.footer {
    background: var(--slate-900);
    padding: 48px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px
}

.footer-about h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 10px
}

.footer-about p {
    color: var(--slate-500);
    font-size: .82rem;
    line-height: 1.7
}

.footer-links h4 {
    color: var(--white);
    font-size: .85rem;
    margin-bottom: 10px
}

.footer-links a {
    display: block;
    color: var(--slate-500);
    font-size: .8rem;
    padding: 4px 0;
    transition: var(--tr)
}

.footer-links a:hover {
    color: var(--gold)
}

.footer-contact h4 {
    color: var(--white);
    font-size: .85rem;
    margin-bottom: 10px
}

.footer-contact p {
    color: var(--slate-500);
    font-size: .8rem;
    line-height: 1.8
}

.footer-bar {
    border-top: 1px solid rgba(255, 255, 255, .04);
    padding: 16px 0
}

.footer-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px
}

.footer-bar-left {
    color: var(--slate-600);
    font-size: .75rem
}

.footer-bar-right {
    font-size: .75rem;
    color: var(--slate-600)
}

.footer-bar-right a {
    color: var(--gold);
    font-weight: 700
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 0 0;
    margin-top: 8px
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    color: var(--slate-500);
    transition: var(--tr)
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px)
}

.footer-social a svg {
    width: 14px;
    height: 14px;
    fill: currentColor
}

/* ANIMATIONS */
.rv {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease
}

.rv.on {
    opacity: 1;
    transform: translateY(0)
}

.rvl {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity .5s ease, transform .5s ease
}

.rvl.on {
    opacity: 1;
    transform: translateX(0)
}

.rvr {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .5s ease, transform .5s ease
}

.rvr.on {
    opacity: 1;
    transform: translateX(0)
}

/* RESPONSIVE */
@media(max-width:1024px) {

    .hero .container,
    .about-grid,
    .duo,
    .duo.flip,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .duo.flip {
        direction: ltr
    }

    .ql-grid {
        grid-template-columns: 1fr 1fr
    }

    .stat-row {
        grid-template-columns: 1fr 1fr
    }

    .info-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--green-dark);
        flex-direction: column;
        padding: 80px 24px;
        gap: 0;
        transition: var(--tr);
        box-shadow: -4px 0 20px rgba(0, 0, 0, .3)
    }

    .nav-links.active {
        right: 0
    }

    .nav-toggle {
        display: flex
    }

    .nav-links a {
        padding: 12px 0
    }

    .nav-links a.active::after {
        display: none
    }

    .hero-portrait img {
        max-height: 350px
    }

    .ql-grid,
    .work-grid,
    .info-grid,
    .stat-row {
        grid-template-columns: 1fr
    }

    .masonry {
        column-count: 2
    }

    .footer-bar .container {
        flex-direction: column;
        text-align: center
    }
}

@media(max-width:480px) {
    .masonry {
        column-count: 1
    }
}