* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    margin: 0;
    font: 17px/1.55 Arial, sans-serif;
    color: #151515;
    background: #a9b7dd
}

a {
    color: inherit
}

button {
    font: inherit;
    cursor: pointer
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 4vw;
    background: #a9b7dd;
    border-bottom: 1px solid #15151540;
    gap: 20px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.5px
}

.brand img {
    width: 46px;
    height: 53px;
    object-fit: contain;
    background: white
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 1.6px
}

header nav {
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-weight: bold
}

header nav a {
    text-decoration: none
}

header nav a:hover {
    text-decoration: underline
}

/* Hero Section */
.hero {
    padding: 32px 4vw 40px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    grid-template-areas:
        "top top top"
        "title photo scroll"
        "desc photo scroll";
    align-items: center;
    gap: 10px 3vw;
}

.hero-top {
    grid-area: top;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

h1,
h2,
p {
    margin: 0;
}

h1,
h2 {
    font-family: Impact, 'Arial Black', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .94;
}

h1 {
    grid-area: title;
    font-size: clamp(52px, 7.2vw, 110px); /* एक लाइन में फिट करने के लिए साइज़ एडजस्ट किया */
    margin: 0;
    align-self: end;
}

em {
    font-style: normal;
    color: #fff;
}

h2 {
    font-size: clamp(46px, 7vw, 110px);
}

.hero-bottom {
    display: contents;
}

.hero-bottom p {
    grid-area: desc;
    align-self: start;
    margin-top: 12px;
}

.round {
    grid-area: scroll;
    display: grid;
    align-content: center;
    text-align: center;
    width: 100px;
    height: 100px;
    border: 1px solid;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    transform: rotate(12deg);
    flex-shrink: 0;
}

.collage {
    grid-area: photo;
    position: relative;
    height: 360px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo {
    border: 0;
    background: transparent;
    padding: 0;
    display: block;
    position: relative;
    text-align: left;
    color: inherit;
    width: 100%;
    overflow: hidden;
}

.photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
}

.photo:hover img {
    transform: scale(1.035);
}

.photo span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 16px 13px;
    color: white;
    background: linear-gradient(transparent, #000b);
    font-size: 14px;
    font-weight: bold;
}

.photo b {
    float: right;
}

.hero-photo {
    width: 100%;
    max-width: 330px;
    height: 290px;
    flex-shrink: 0;
    border: 8px solid #fff;
    box-shadow: 0 16px 35px #0002;
}

.h0 {
    transform: rotate(-9deg);
    top: 24px;
}

.h1 {
    transform: rotate(6deg);
    z-index: 1;
}

.h2 {
    transform: rotate(-5deg);
    top: 25px;
}

.sticker {
    position: absolute;
    right: 10px;
    top: 15px;
    z-index: 2;
    border-radius: 50%;
    padding: 24px 15px;
    background: #ffde30;
    transform: rotate(13deg);
    font-weight: 900;
    font-size: 16px;
    line-height: 1.1;
    text-align: center;
}

@media (max-width: 768px) {
    .hero {
        display: block;
    }
    h1 {
        font-size: clamp(60px, 14vw, 90px);
        margin: 35px 0 20px;
    }
    .hero-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }
    .collage {
        margin-top: 25px;
    }
}

/* Ticker */
.ticker {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    background: #151515;
    color: #ffde30;
    padding: 20px 0;
    font-size: 30px;
    font-weight: 900
}

.ticker span {
    animation: drift 35s linear infinite;
    flex-shrink: 0
}

@keyframes drift {
    to {
        transform: translateX(-100%)
    }
}

/* Intro Section */
.intro {
    padding: 80px 5vw;
    background: #eee8e1;
    display: grid;
    grid-template-columns: 1.1fr 1fr; /* बाईं तरफ हेडिंग+बटन, दाईं तरफ पैराग्राफ */
    grid-template-areas:
        "eyebrow eyebrow"
        "heading copy"
        "years copy";
    align-items: start;
    gap: 20px 5vw;
}

.eyebrow {
    grid-area: eyebrow;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.intro h2 {
    grid-area: heading;
    margin: 0;
}

.intro h2 em {
    color: #7a488b;
}

.intro-copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 100%;
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    padding-top: 8px;
}

.years {
    grid-area: years;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.years a,
.pill,
.filters button {
    border: 1px solid #151515;
    color: inherit;
    padding: 11px 22px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.years a:hover,
.pill:hover,
.filters button:hover {
    background: #151515;
    color: #ffffff;
}

/* Mobile Tblet Screen */
@media (max-width: 850px) {
    .intro {
        display: flex;
        flex-direction: column;
        padding: 60px 5vw;
        gap: 24px;
    }
    .years {
        margin-top: 10px;
    }
}

/* Era Section */
.era {
    padding: 80px 5vw;
    overflow: hidden;
}

.era0 {
    background: #f29368;
}

.era1 {
    background: #d5bcda;
}

.era2 {
    background: #a9c9e0;
}

.era-heading {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5vw;
    margin-bottom: 60px;
    align-items: start;
}

.year {
    font: 900 clamp(55px, 8vw, 130px)/.9 Impact, 'Arial Black', sans-serif;
    letter-spacing: -.05em;
}

.year span {
    display: block;
}

.era-heading h2 {
    font-size: clamp(38px, 4.8vw, 76px);
    margin-bottom: 20px;
}

.era-heading p:last-child {
    max-width: 500px;
    line-height: 1.65;
    font-size: 16px;
}

.era-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.era-photos .photo {
    height: 310px;
    border: 8px solid #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.era-photos .photo:nth-child(3n+1) {
    transform: rotate(-2deg);
}

.era-photos .photo:nth-child(3n+2) {
    margin-top: 40px;
    transform: rotate(1deg);
}

.era-photos .photo:nth-child(3n+3) {
    margin-top: 15px;
    transform: rotate(2.5deg);
}

.era-photos .photo:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
    z-index: 2;
}

@media (max-width: 950px) {
    .era-photos {
        grid-template-columns: repeat(2, 1fr);
    }
    .era-photos .photo:nth-child(n) {
        margin-top: 0;
    }
    .era-photos .photo:nth-child(even) {
        margin-top: 30px;
    }
}

@media (max-width: 600px) {
    .era {
        padding: 60px 5vw;
    }
    .era-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    .era-photos {
        grid-template-columns: 1fr;
    }
    .era-photos .photo {
        height: 270px;
        margin-top: 0 !important;
        transform: rotate(0deg) !important;
    }
}

.today {
    padding: 100px 5vw;
    background: #ffde30
}

.today em {
    color: #7a488b
}

.today-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin-top: 45px
}

.today-bottom p {
    max-width: 650px
}

.pill {
    flex-shrink: 0
}

.gallery {
    padding: 100px 5vw;
    background: #171717;
    color: #fff
}

.gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px
}

.gallery-heading p {
    max-width: 400px
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 50px
}

.filters button {
    color: white;
    border-color: #fff7
}

.filters .selected {
    background: #d5bcda;
    color: #151515;
    border-color: #d5bcda
}

.count {
    font-size: 13px;
    margin: 20px 0
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.gallery-item .photo {
    height: 280px
}

.gallery-item[hidden] {
    display: none
}

.source-note {
    font-size: 13px;
    color: #ccc;
    margin-top: 32px;
    max-width: 750px
}

/* ================= CONTACT SECTION ================= */
.contact {
    padding: 90px 5vw;
    display: grid;
    grid-template-columns: 1.4fr auto;
    grid-template-areas:
        "eyebrow cta"
        "heading cta"
        "links links";
    align-items: center;
    gap: 15px 5vw;
}

.contact .eyebrow {
    grid-area: eyebrow;
    margin-bottom: 5px;
    opacity: 0.85;
}

.contact h2 {
    grid-area: heading;
    font-size: clamp(52px, 8.5vw, 130px);
    line-height: 0.96;
    margin: 0;
}

.contact h2 a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 12px;
    transition: opacity 0.3s ease, text-underline-offset 0.3s ease;
}

.contact h2 a:hover {
    opacity: 0.8;
    text-underline-offset: 16px;
}

.contact-cta {
    grid-area: cta;
    display: grid;
    place-items: center;
    text-align: center;
    width: 165px;
    height: 165px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.4;
    transform: rotate(10deg);
    transition: transform 0.35s ease, background-color 0.35s ease, color 0.35s ease;
}

.contact-cta:hover {
    background: #ffffff;
    color: #3d1624;
    border-color: #ffffff;
    transform: rotate(0deg) scale(1.06);
}

.contact-links {
    grid-area: links;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-links a {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    padding: 12px 24px;
    border: 1.5px solid currentColor;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.contact-links a:hover {
    background: #ffffff;
    color: #3d1624;
    border-color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 850px) {
    .contact {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 70px 5vw;
    }
    .contact-cta {
        width: 130px;
        height: 130px;
        font-size: 12px;
        margin-top: 20px;
        transform: rotate(0deg);
    }
    .contact-links {
        margin-top: 30px;
        padding-top: 25px;
        width: 100%;
    }
    .contact-links a {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* ================= FOOTER SECTION ================= */
footer {
    padding: 32px 5vw !important;
    background-color: #151515 !important;
    color: #ffffff !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 30px;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 10;
}

footer a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
    text-underline-offset: 5px;
}

footer span {
    color: rgba(255, 255, 255, 0.75) !important;
}

footer a[href="#main"] {
    padding: 9px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

footer a[href="#main"]:hover {
    background-color: #ffffff !important;
    color: #151515 !important;
    border-color: #ffffff;
    opacity: 1;
    text-decoration: none;
}

@media (max-width: 700px) {
    footer {
        flex-direction: column;
        text-align: center;
        padding: 40px 5vw !important;
        gap: 16px;
    }
}

dialog {
    width: min(1200px, 96vw);
    max-height: 96vh;
    padding: 18px;
    background: #141414;
    color: white;
    border: 1px solid #555
}

dialog::backdrop {
    background: #000e
}

dialog img {
    width: 100%;
    height: 70vh;
    object-fit: contain
}

.viewer-top,
.viewer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px
}

.viewer-top {
    margin-bottom: 15px
}

.viewer-bottom {
    margin-top: 15px
}

.viewer-bottom p {
    text-align: center;
    font-size: 14px
}

dialog button {
    background: white;
    color: #111;
    border: 0;
    padding: 10px 18px;
    border-radius: 20px
}

.skip {
    position: absolute;
    left: -9999px
}

.skip:focus {
    left: 0;
    top: 0;
    background: white;
    padding: 15px;
    z-index: 10
}

:focus-visible {
    outline: 3px solid #a83457;
    outline-offset: 5px
}

@media(max-width:750px) {
    header {
        align-items: start
    }

    .brand {
        font-size: 15px
    }

    .brand img {
        width: 35px;
        height: 42px
    }

    .brand small {
        font-size: 7px
    }

    header nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: end;
        font-size: 12px;
        max-width: 160px
    }

    .hero-top {
        font-size: 10px
    }

    .hero {
        padding-top: 25px
    }

    h1 {
        font-size: clamp(55px, 12vw, 95px);
        margin-top: 35px
    }

    .hero-bottom p {
        font-size: 14px
    }

    .round {
        width: 75px;
        height: 75px;
        flex-shrink: 0;
        font-size: 9px
    }

    .collage {
        height: 270px
    }

    .hero-photo {
        height: 195px;
        width: 33%;
        border-width: 4px
    }

    .hero-photo span {
        font-size: 10px;
        padding: 20px 7px 7px
    }

    .sticker {
        font-size: 11px;
        padding: 20px 10px;
        top: 5px
    }

    .ticker {
        font-size: 22px
    }

    .intro,
    .era,
    .today,
    .gallery,
    .contact {
        padding: 60px 6vw
    }

    .intro-copy,
    .era-heading {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .year {
        font-size: 68px
    }

    .year span {
        display: inline
    }

    .era-heading {
        margin-bottom: 30px
    }

    .era-photos {
        gap: 15px
    }

    .era-photos .photo {
        height: 200px
    }

    .era-photos .photo:nth-child(even) {
        margin-top: 45px
    }

    .today-bottom,
    .gallery-heading {
        display: block
    }

    .today-bottom .pill {
        display: inline-block;
        margin-top: 25px
    }

    .gallery-heading>p {
        margin-top: 30px
    }

    .photo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px
    }

    .gallery-item .photo {
        height: 200px
    }

    .filters button,
    .years a {
        font-size: 13px;
        padding: 10px 14px
    }

    .contact-links {
        font-size: 15px;
        gap: 15px
    }

    .viewer-bottom p {
        font-size: 12px
    }

    dialog button {
        font-size: 13px;
        padding: 9px 12px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .ticker span {
        animation: none
    }

    .photo img {
        transition: none
    }
}

/* Restrained KK Journals palette and presentation. */
body {
    background: #fff;
    color: #292532
}

header {
    background: #fff;
    border-bottom-color: #e6ddda
}

.brand {
    color: #701f35
}

header nav a {
    color: #701f35
}

.hero {
    background: #fbf3ef;
    padding-bottom: 45px
}

h1,
h2 {
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: -.025em;
    line-height: 1.1
}

h1 {
    font-size: clamp(44px, 6.8vw, 94px);
    margin: 38px 0 24px
}

h2 {
    font-size: clamp(34px, 4.4vw, 64px)
}

em {
    color: #701f35
}

.hero-top,
.eyebrow {
    color: #701f35
}

.hero-top {
    font-size: 12px
}

.round {
    color: #701f35;
    border-color: #bba4aa;
    transform: none
}

.collage {
    height: 370px;
    margin-top: 30px;
    gap: 24px
}

.hero-photo {
    height: 290px;
    border: 6px solid #fff;
    box-shadow: 0 8px 22px #34212c12;
    border-radius: 8px
}

.h0,
.h1,
.h2 {
    transform: none;
    top: 0
}

.sticker {
    display: none
}

.ticker {
    background: #701f35;
    color: #fff;
    padding: 14px 0;
    font-size: 17px;
    letter-spacing: 1.5px;
    justify-content: center
}

.ticker span {
    animation: none
}

.ticker span+span {
    display: none
}

.intro {
    background: #fff
}

.intro h2 em,
.today em {
    color: #701f35
}

.intro-copy {
    color: #69636a
}

.years a,
.pill,
.filters button {
    border-radius: 6px
}

.years a {
    border-color: #c9b7bd;
    color: #701f35
}

.years a:hover,
.pill:hover {
    background: #701f35;
    color: white
}

.era0,
.era2 {
    background: #faf8f6
}

.era1 {
    background: #fff
}

.era {
    border-top: 1px solid #eee5e1
}

.year {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: normal;
    font-size: clamp(48px, 6.5vw, 90px);
    color: #701f35;
    letter-spacing: -.035em;
    line-height: 1.1
}

.era-heading h2 {
    font-size: clamp(30px, 3.6vw, 52px);
    color: #34212c
}

.era-heading p:last-child {
    color: #69636a
}

.era-photos {
    align-items: stretch
}

.era-photos .photo {
    height: 330px;
    border-radius: 8px;
    box-shadow: 0 6px 20px #34212c0c
}

.era-photos .photo:nth-child(even),
.era-photos .photo:nth-child(odd) {
    margin-top: 0;
    transform: none
}

.today {
    background: #f0e9e5;
    border-top: 1px solid #e6ddda
}

.today-bottom p {
    color: #59515a
}

.pill {
    background: #701f35;
    color: #fff;
    border-color: #701f35
}

.gallery {
    background: #fff;
    color: #292532
}

.gallery-heading h2 {
    color: #34212c
}

.gallery-heading>p {
    color: #69636a
}

.filters button {
    color: #701f35;
    border-color: #c9b7bd
}

.filters .selected {
    background: #701f35;
    color: #fff;
    border-color: #701f35
}

.count,
.source-note {
    color: #69636a
}

.gallery-item .photo {
    border-radius: 8px
}

.photo span {
    background: linear-gradient(transparent, #2d182be0)
}

.contact {
    background: #481c2b;
    color: white
}

.contact .eyebrow {
    color: #e2cbd3
}

.contact h2 {
    font-size: clamp(45px, 7vw, 100px)
}

.contact h2 a {
    text-decoration-thickness: 2px;
    text-underline-offset: 8px
}

.contact-links {
    font-size: 17px
}

footer {
    background: #f0e9e5;
    color: #59515a
}

dialog {
    background: #fff;
    color: #292532;
    border-color: #d6c8cd;
    border-radius: 10px
}

dialog button {
    background: #701f35;
    color: #fff
}

dialog::backdrop {
    background: #251721e8
}

.photo img {
    transition: transform .25s
}

@media(max-width:750px) {
    h1 {
        font-size: clamp(39px, 8vw, 65px)
    }

    .hero {
        padding-bottom: 30px
    }

    .collage {
        height: 220px;
        gap: 10px;
        margin-top: 25px
    }

    .hero-photo {
        height: 180px;
        width: 32%;
        border-width: 3px
    }

    .ticker {
        font-size: 12px;
        letter-spacing: .5px
    }

    .era-photos .photo {
        height: 200px
    }

    .era-photos .photo:nth-child(even) {
        margin-top: 0
    }

    .year {
        font-size: 53px
    }

    .contact h2 {
        font-size: clamp(42px, 9vw, 70px)
    }

    .gallery-heading h2 {
        font-size: 38px
    }

    .intro,
    .era,
    .today,
    .gallery,
    .contact {
        padding-top: 50px;
        padding-bottom: 50px
    }
}