/*
Theme Name: IMAGECAFE Studio
Theme URI: https://instagram.com/vishnu_imagecafe
Author: IMAGECAFE Wedding & Modeling
Description: Wedding & Modeling photography studio based in Varkala, Kerala.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: imagecafe-studio
*/

:root {
    --ink: #171716;
    --paper: #f5f1e9;
    --cream: #ebe3d4;
    --gold: #b7925b;
    --lime: #b6f000;
    --line: rgba(23, 23, 22, .18);
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Arial, Helvetica, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65
}

body.menu-open {
    overflow: hidden
}

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

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

.wrap {
    width: min(1280px, calc(100% - 48px));
    margin: auto
}

.eyebrow {
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 700
}

.display {
    font: 400 clamp(46px, 7vw, 104px)/.9 var(--serif);
    letter-spacing: -.055em;
    margin: 0
}

.section-title {
    font: 400 clamp(38px, 5vw, 76px)/.98 var(--serif);
    letter-spacing: -.04em;
    margin: 0
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid var(--ink);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: .25s
}

.button:hover {
    background: var(--ink);
    color: #fff
}

.button-light {
    border-color: #fff;
    color: #fff
}

.button-light:hover {
    background: #fff;
    color: var(--ink)
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    color: #fff
}

.header-inner {
    height: 106px;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 0 clamp(28px, 7vw, 150px);
    width: 100%;
    max-width: none
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font: 600 24px/1 var(--sans);
    letter-spacing: -.03em;
    white-space: nowrap
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--lime);
    color: #15352f;
    font-size: 27px
}

.brand small {
    display: none
}

.site-nav {
    margin-left: auto
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 42px;
    list-style: none;
    padding: 0;
    margin: 0
}

.site-nav a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none
}

.header-search {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    color: #17423e;
    font-size: 30px
}

.header-cta {
    border: 0;
    background: var(--lime);
    color: #16332d;
    min-height: 58px;
    padding: 0 31px;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none
}

.header-cta:hover {
    background: #fff;
    color: #16332d
}

.menu-toggle {
    display: none;
    margin-left: auto;
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 24px
}

.hero {
    min-height: 760px;
    height: calc(100vh - 30px);
    margin: 15px;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    border-radius: 30px;
    overflow: hidden;
    background: #1d1b18 url('/assets/images/hero-main.webp') center/cover no-repeat
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .63) 0%, rgba(0, 0, 0, .21) 55%, rgba(0, 0, 0, .08) 80%), linear-gradient(0deg, rgba(15, 28, 25, .38), transparent 48%)
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px clamp(28px, 7vw, 150px) 85px;
    width: 100%;
    max-width: none
}

.hero .eyebrow {
    display: none
}

.hero .display {
    max-width: 780px;
    font-family: var(--sans);
    font-size: clamp(48px, 5vw, 82px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -.04em
}

.hero .display span {
    display: inline-flex;
    align-items: center;
    gap: 28px
}

.hero .display span:after {
    content: '';
    display: inline-block;
    width: 190px;
    height: 2px;
    background: var(--lime)
}

.hero-copy {
    display: block;
    margin-top: 38px
}

.hero-pill {
    display: inline-flex;
    align-items: center
}

.hero-pill span,
.hero-pill b {
    display: grid;
    place-items: center;
    min-height: 60px;
    background: var(--lime);
    color: #16332d;
    font-size: 14px;
    font-weight: 700
}

.hero-pill span {
    padding: 0 32px;
    border-radius: 60px
}

.hero-pill b {
    width: 60px;
    border-radius: 50%;
    font-size: 25px;
    margin-left: 2px
}

.hero-tabs {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 46px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 clamp(28px, 7vw, 150px);
    width: 100%;
    max-width: none
}

.hero-tabs a {
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 0 38px;
    border-radius: 24px;
    background: rgba(230, 235, 224, .42);
    backdrop-filter: blur(10px);
    color: #172b28;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em
}

.hero-tabs a.active {
    background: #fff;
    color: #28524d
}

.marquee {
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    padding: 22px 0;
    white-space: nowrap
}

.marquee-track {
    display: inline-flex;
    gap: 34px;
    animation: marquee 25s linear infinite;
    font: 400 20px/1 var(--serif);
    text-transform: uppercase;
    letter-spacing: .08em
}

.marquee-track span:after {
    content: '✦';
    margin-left: 34px;
    color: var(--gold)
}

@keyframes marquee {
    to {
        transform: translateX(-50%)
    }
}

.intro {
    padding: 135px 0
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 100px;
    align-items: start
}

.intro-copy {
    padding-top: 68px
}

.intro-copy p {
    font-size: 20px;
    max-width: 520px;
    margin: 0 0 42px
}

.signature {
    font: italic 28px/1 var(--serif);
    color: var(--gold)
}

.story-cards {
    padding: 88px 15px 110px;
    background: #fff
}

.story-grid {
    width: min(1660px, calc(100% - 70px));
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.story-card {
    position: relative;
    min-height: 700px;
    border-radius: 34px;
    overflow: hidden
}

.story-card-light {
    display: flex;
    flex-direction: column;
    padding: 58px 42px 0;
    background: #f1f0ed;
    color: #194c45
}

.story-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.story-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 25px;
    border: 1px solid rgba(25, 76, 69, .17);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase
}

.story-arrow {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    color: #194c45;
    font-size: 27px;
    transition: .25s
}

.story-arrow:hover {
    transform: rotate(10deg);
    background: #194c45;
    color: #fff
}

.story-card h2 {
    font: 500 clamp(27px, 2.2vw, 40px)/1.25 var(--sans);
    letter-spacing: .01em;
    margin: 25px 0 40px
}

.story-image {
    height: 355px;
    margin-top: auto;
    border-radius: 28px 28px 0 0;
    overflow: hidden
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.story-card-feature {
    display: flex;
    flex-direction: column;
    padding: 0 42px 44px;
    background: var(--lime);
    color: #194c45
}

.feature-image {
    height: 420px;
    margin: 0 -42px;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 18%, 88% 24%, 100% 38%, 100% 100%, 55% 100%, 50% 82%, 45% 100%, 0 100%, 0 62%, 10% 54%, 0 46%)
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.feature-copy {
    margin-top: auto
}

.story-card-feature h2 {
    margin-bottom: 0
}

.story-card-feature>.story-arrow {
    position: absolute;
    right: 38px;
    bottom: 72px
}

.services {
    background: var(--cream);
    padding: 120px 0
}

.services-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 70px
}

.service-list {
    border-top: 1px solid var(--line)
}

.service-row {
    display: grid;
    grid-template-columns: 70px 1fr 1fr 60px;
    gap: 28px;
    align-items: center;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
    transition: .25s
}

.service-row:hover {
    padding-left: 18px;
    background: rgba(255, 255, 255, .35)
}

.service-row .num {
    font-size: 12px
}

.service-row h3 {
    font: 400 clamp(28px, 3vw, 48px)/1 var(--serif);
    margin: 0
}

.service-row p {
    max-width: 440px;
    margin: 0;
    color: #5d5a55
}

.arrow {
    font-size: 28px;
    text-align: right
}

.portfolio {
    padding: 135px 0;
    background: var(--ink);
    color: #fff
}

.portfolio-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 60px
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: 420px 420px;
    gap: 20px
}

.work-card {
    position: relative;
    overflow: hidden;
    background: #292722
}

.work-card:first-child {
    grid-row: 1/3
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s
}

.work-card:hover img {
    transform: scale(1.04)
}

.work-card:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .72), transparent 55%)
}

.work-meta {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 25px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: end
}

.work-meta h3 {
    font: 400 34px/1 var(--serif);
    margin: 4px 0 0
}

.work-meta small {
    text-transform: uppercase;
    letter-spacing: .12em
}

.numbers {
    padding: 110px 0
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.number {
    padding: 50px 28px;
    border-right: 1px solid var(--line)
}

.number:last-child {
    border: 0
}

.number strong {
    display: block;
    font: 400 clamp(48px, 6vw, 80px)/1 var(--serif)
}

.number span {
    display: block;
    margin-top: 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em
}

.testimonial {
    padding: 110px 0;
    background: var(--gold);
    color: #fff
}

.quote {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center
}

.quote blockquote {
    font: 400 clamp(34px, 5vw, 66px)/1.08 var(--serif);
    letter-spacing: -.03em;
    margin: 0
}

.quote cite {
    display: block;
    margin-top: 40px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 11px
}

.journal {
    padding: 130px 0
}

.journal-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 58px
}

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

.post-card {
    border-top: 1px solid var(--line);
    padding-top: 18px
}

.post-visual {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #796b5b, #d1b895);
    margin-bottom: 22px
}

.post-card:nth-child(2) .post-visual {
    background: linear-gradient(135deg, #232323, #847667)
}

.post-card:nth-child(3) .post-visual {
    background: linear-gradient(135deg, #b5a18d, #eee3d4)
}

.post-card small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em
}

.post-card h3 {
    font: 400 28px/1.1 var(--serif);
    margin: 12px 0 0
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 720px
}

.contact-visual {
    background: url('/assets/images/contact-background.webp') center/cover
}

.contact-panel {
    background: #ded3c0;
    padding: 90px clamp(30px, 6vw, 100px);
    display: flex;
    flex-direction: column;
    justify-content: center
}

.contact-panel form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 40px
}

.contact-panel input,
.contact-panel textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #736d64;
    background: transparent;
    padding: 16px 0;
    font: inherit
}

.contact-panel textarea {
    grid-column: 1/3;
    min-height: 100px
}

.contact-panel button {
    margin-top: 10px;
    background: var(--ink);
    color: #fff;
    cursor: pointer
}

.site-footer {
    background: #111;
    color: #fff;
    padding: 80px 0 30px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 60px
}

.footer-brand {
    font: 400 42px/1 var(--serif)
}

.footer-col h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #aaa
}

.footer-col p,
.footer-col a {
    display: block;
    color: #c9c9c9;
    margin: 8px 0
}

.copyright {
    margin-top: 70px;
    padding-top: 25px;
    border-top: 1px solid #333;
    font-size: 11px;
    color: #888;
    display: flex;
    justify-content: space-between
}

.content-page {
    padding: 150px 0 100px
}

.content-page h1 {
    font: 400 clamp(45px, 7vw, 90px)/1 var(--serif)
}

@media(max-width:900px) {
    .site-nav {
        position: fixed;
        inset: 0;
        background: #111;
        display: none;
        padding: 120px 30px
    }
    .menu-open .site-nav {
        display: block
    }
    .site-nav ul {
        display: block
    }
    .site-nav li {
        margin: 20px 0
    }
    .site-nav a {
        font-size: 20px
    }
    .menu-toggle {
        display: block;
        z-index: 3
    }
    .header-inner>.button,
    .header-search {
        display: none
    }
    .hero {
        min-height: 760px
    }
    .hero-content {
        padding-bottom: 190px
    }
    .hero .display span:after {
        width: 90px
    }
    .hero-tabs {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        bottom: 28px
    }
    .hero-tabs a {
        padding: 0 18px;
        min-height: 64px;
        border-radius: 18px
    }
    .intro-grid,
    .contact {
        grid-template-columns: 1fr
    }
    .intro-copy {
        padding-top: 0
    }
    .portfolio-grid {
        display: block
    }
    .work-card {
        height: 440px;
        margin-bottom: 20px
    }
    .numbers-grid {
        grid-template-columns: 1fr 1fr
    }
    .number:nth-child(2) {
        border-right: 0
    }
    .posts {
        grid-template-columns: 1fr
    }
    .footer-grid {
        grid-template-columns: 1fr
    }
    .contact-visual {
        min-height: 500px
    }
}

@media(max-width:600px) {
    .wrap {
        width: min(100% - 30px, 1280px)
    }
    .site-header {
        top: 8px;
        left: 8px;
        width: calc(100% - 16px)
    }
    .header-inner {
        height: 78px;
        padding: 0 22px
    }
    .brand {
        font-size: 19px
    }
    .brand-mark {
        width: 39px;
        height: 39px;
        font-size: 22px
    }
    .hero {
        height: auto;
        margin: 8px;
        min-height: 720px;
        border-radius: 22px;
        background-position: 62% center
    }
    .hero-content {
        padding: 110px 25px 245px
    }
    .hero .display {
        font-size: 43px
    }
    .hero .display span {
        display: block
    }
    .hero .display span:after {
        display: block;
        width: 80px;
        margin-top: 18px
    }
    .hero-tabs {
        display: block;
        padding: 0 20px;
        bottom: 20px
    }
    .hero-tabs a {
        min-height: 54px;
        margin-top: 7px;
        border-radius: 16px
    }
    .hero-pill span {
        padding: 0 22px
    }
    .services-head,
    .portfolio-head,
    .journal-head {
        display: block
    }
    .services-head .button,
    .portfolio-head .button,
    .journal-head .button {
        margin-top: 25px
    }
    .service-row {
        grid-template-columns: 42px 1fr 30px
    }
    .service-row p {
        display: none
    }
    .portfolio-grid .work-card {
        height: 370px
    }
    .numbers-grid {
        grid-template-columns: 1fr
    }
    .number {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }
    .contact-panel form {
        grid-template-columns: 1fr
    }
    .contact-panel textarea {
        grid-column: auto
    }
    .copyright {
        display: block
    }
    .copyright span {
        display: block;
        margin-top: 8px
    }
}

@media(max-width:900px) {
    .story-grid {
        grid-template-columns: 1fr;
        width: min(680px, calc(100% - 30px))
    }
    .story-card {
        min-height: 650px
    }
}

@media(max-width:600px) {
    .story-cards {
        padding: 52px 8px 72px
    }
    .story-grid {
        width: 100%;
        gap: 15px
    }
    .story-card {
        min-height: 570px;
        border-radius: 24px
    }
    .story-card-light {
        padding: 30px 24px 0
    }
    .story-image {
        height: 300px;
        border-radius: 20px 20px 0 0
    }
    .story-card-feature {
        padding: 0 24px 34px
    }
    .feature-image {
        height: 340px;
        margin: 0 -24px
    }
    .story-card-feature>.story-arrow {
        right: 24px;
        bottom: 40px
    }
    .story-arrow {
        width: 54px;
        height: 54px
    }
}