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


html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, p, figure {
    margin: 0;
    padding: 0;
}

.row {
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}




.list-none {
    list-style: none;
}

.as_3_4 {
    aspect-ratio: 3/4;
}

ul, li {
    text-decoration: none;
    list-style: none;
    padding: 0;
    margin: 0;

}

blockquote {
    margin: 0;
}


/* UTILITY GAP */

.font-primary {
    color: var(--primary-color);
}

.gap-6 {
    gap: 6px;
}

.gap-32 {
    gap: var(--gap-32);
}

.gap-24 {
    gap: var(--gap-24);
}

.gap-12 {
    gap: var(--gap-12);
}

.gap-28 {
    gap: var(--gap-28);
}

.gap-46 {
    gap: 2.875rem;
}

.gap-30 {
    gap: var(--gap-30)
}

.gap-55 {
    gap: var(--gap-55)
}

.gap-80 {
    gap: clamp(1.5rem, 1rem + 3vw, 5rem);
}

.gap-12 {
    gap: clamp(0.5rem, 0.25rem + 1vw, 0.75rem);
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: clamp(0.75rem, 2vw, 1.25rem);
}

.gap-42 {
    gap: 42px;
}

.gap-43 {
    gap: clamp(1rem, 3vw, 2.6875rem);
}

.gap-34 {
    gap: clamp(1rem, 2.5vw, 2.125rem);
}

.gap-52 {
    gap: clamp(1rem, 4vw, 3.25rem);

}

.gap-36 {
    gap: clamp(1.25rem, 0.8rem + 1.875vw, 2.25rem);
}



/* line height */

.line-15 {
    line-height: var(--line-15)
}

.line-30 {
    line-height: var(--line-30)
}

.line-75 {
    line-height: 1.17;
    /* adjust according to the screen size */
}

/* letter Spacing */
.letter-1 {
    letter-spacing: var(--letter-1);
}

/* Faq Border color  #88888833*/

.border-top-faq {
    border-top: 1px solid #88888833;
}

/* Padding y: 12px */

.py-12 {
    padding: 12px 0;
}

.padding-20 {
    padding: 20px;
}

/* Gutter Styles */

.gx-26 {
    --bs-gutter-x: 26px;
}

/* text alignment  */
.text-center {
    text-align: center;
}

/* FONT SIZE */

/* font-size: 64px */
.font-64 {
    font-size: var(--font-size-64);
}

/* font-size: 25px */
.font-25 {
    font-size: clamp(1rem, 0.82rem + 0.9vw, 1.5625rem);
}


.font-12 {
    font-size: var(--font-size-12);
}

body {
    font-family: var(--font-primary);
    /* 1. Set image path */
    background-image:
        linear-gradient(rgba(23, 22, 20, 0.2), rgba(23, 22, 20, 0.2)),
        url('../assets/body-img.png');

    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat;
    background-attachment: fixed;

    margin: 0;
    background:
        radial-gradient(circle at 30% 20%,
            rgba(255, 255, 255, 0.025),
            transparent 30%),
        radial-gradient(circle at 80% 70%,
            rgba(255, 255, 255, 0.018),
            transparent 30%),
        var(--bg);

    color: var(--text);
    overflow-x: hidden;

}



/* Define globally */
:root {
    --primary-color: #3b82f6;
    --bg-color: #ffffff;
    --primary-color: #B8794A;
    --border-radius: 8px;
    --padding-std: 16px;
    --color-F2F0EB: #F2F0EB;
    --color-858585: #858585;
    --color-0B0B0B: #0B0B0B;
    --color-FFFFFFBF: #FFFFFFBF;
    --color-FFFFFF66: #FFFFFF66;
    --color-FFFFFFB2: #FFFFFFB2;
    --color-FFFFFF0E: #FFFFFF0E;
    --color-FFFFFF0F: #FFFFFF0F;
    --color-FFFFFF26: #FFFFFF26;
    --color-D4C4B7: #D4C4B7;
    --color-FFFFFF1A: #FFFFFF1A;

    --color-F0E9DF80: #F0E9DF80;
    --bg-form-color: #0C0C0D;

    --font-color: #FFFFFF7A;
    --font-color-1A1815: #1A1815;

    /* border color */
    --border-color-B8794A40: #B8794A40;
    --border-color-FFFFFF12: #FFFFFF12;

    --color-F1EEE8: #F1EEE8;
    /* fonts */
    --font-primary: "Space Grotesk", sans-serif;
    --font-secondary: 'Syne', sans-serif;
    /* font-size 32px */

    --font-size: clamp(1.33rem, 1rem + 1vw, 2rem);
    --line-height: 1.2;


    /* font-size 8px */
    --font-size-8: clamp(0.375rem, 0.3393rem + 0.1786vw, 0.5rem);
    /* font-size 9px */

    --font-size-9: clamp(0.4375rem, 0.4018rem + 0.1786vw, 0.5625rem);
    /* font-size 18px */

    --font-size-span: clamp(0.875rem, 0.75rem + 0.625vw, 1.125rem);

    /* font-size 14px  */

    --font-size-14: clamp(0.75rem, 0.693rem + 0.242vw, 0.875rem);

    /* font-size 20px  */

    --font-size-20: clamp(1rem, 0.57vw + 0.86rem, 1.25rem);

    /* font-size 15px  */
    --font-size-15: clamp(0.75rem, 0.85vw + 0.579rem, 0.9375rem);

    /* font-size 12px  */
    --font-size-12: clamp(0.75rem, 0.5rem + 0.625vw, 0.75rem);

    /* font-size 22px  */
    --font-size-22: clamp(1rem, 0.85rem + 0.75vw, 1.375rem);

    /* font-size 24px  */
    --font-size-24: clamp(1.125rem, 0.95rem + 0.75vw, 1.5rem);

    /* font-size 13px  */
    --font-size-13: clamp(0.6875rem, 0.57vw + 0.57rem, 0.8125rem);

    /* font-size 16px  */
    --font-size-16: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);

    /* font-size 10px  */
    --font-size-10: clamp(0.5rem, 0.41rem + 0.38vw, 0.625rem);

    /* font-size 35px  */
    --font-size-35: clamp(1.5rem, 5vw, 2.1875rem);

    /* font-size 32px  */
    --font-size-32: clamp(1.5rem, 0.5rem + 2.016vw, 2rem);

    /* font-size 26px  */
    --font-size-26: clamp(1rem, 3vw, 1.625rem);
    --font-size-46: clamp(1.75rem, 1.417rem + 1.666vw, 2.9163rem);
    --font-62: clamp(2rem, 1.2rem + 3.5vw, 3.875rem);
    --font-size-64: clamp(2.25rem, 1.5rem + 3.1vw, 4rem);
    ;
    ;

    --paragraph-color: #F0E9DF8C;

    /* git -grid-gap */
    --bento-gap: 25px;

    /* Gap 24px */
    --gap-12: clamp(0.5rem, 1vw, 0.75rem);

    /* Gap 24px */
    --gap-24: clamp(1rem, 2vw, 1.5rem);

    /* Gap 30px */
    --gap-30: clamp(1rem, 0.6rem + 1.7vw, 1.875rem);

    /* Gap 32px */
    --gap-32: clamp(1rem, 2vw, 2rem);

    /* Gap 32px */
    --gap-28: clamp(1rem, 2vw, 1.75rem);

    /* Gap 55px */
    --gap-55: clamp(1.5rem, 4vw, 3.4375rem);

    /* Line height */
    --line-15: 15px;
    --line-30: 30px;

    /* letter Spacing */
    --letter-1: 1.5px;

    /* journey section */
    --bg: #171818;
    --bg-light: #202121;
    --text: #d8d8d8;
    --heading: #f3f3f3;
    --muted: #898989;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #a96736;

}

/* page header utility class */

.page-header-wrapper {
    display: grid;
    gap: 10px;
    max-width: 1010px;

}

.page-header-wrapper h1 {
    max-width: 1010px;

}

.page-header-title {
    font-size: var(--font-size);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 50px;
}

.page-border {
    content: "";
    width: 75px;
    display: block;
    border: 2px;
    border-top: 2px solid var(--primary-color);
    margin-top: 10px;


}

.page-subtitle {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: var(--font-size-span);
    text-transform: uppercase;
    color: var(--primary-color);
    display: inline-block;

}

.flex-basis-100 {
    flex-basis: 100% !important;
}

.paragraph-color {
    color: #F1EEE8A6;
}



.card-paragraph {
    font-size: var(--font-size-span);
    font-weight: 400;
    /* line-height: 1.667; */
}


/* margin top and bottom */
.py-48 {
    padding-top: 48px;
    padding-bottom: 48px;
}

.my-48 {
    padding-top: 48px;
    padding-bottom: 48px;
}

/* utility class */

.link-class {
    color: var(--primary-color);
    letter-spacing: 0.015em;
    font-weight: 700;
    font-size: var(--font-size-14);
    text-transform: uppercase;
}


/* Reuse variables */
.button {
    background-color: var(--primary-color);
    color: var(--text-color);
    border-radius: var(--border-radius);
    padding: var(--padding-std);
    border: none;
}

.card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: calc(var(--padding-std) * 1.5);
}

.container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.container-1280 {
    max-width: 1280px;

}

.container-1350 {
    max-width: 1350px;

}

.studio.container {
    max-width: 1216px;
}

.main-header {
    position: fixed;
    z-index: 99;
    left: 0;
    right: 0;
}

.header-scrolled {
    backdrop-filter: blur(8px);
    transition: background-color 0.7s ease-in-out;

}


.hero-header {
    padding: 10px;
    border-radius: 80px;
    margin: 14px 0;

}

article.review-content-wrapper {
    flex: 0 0 300px;
}

.header-book-now-button {
    grid-area: navbar;
    justify-self: end;
    align-self: center;
}

.header-book-now {
    text-decoration: none;
    border: 1px solid;
    padding: 8px;
    border-radius: 50px;
    background: var(--primary-color);
    display: none;
}

.header-book-now a {
    color: white;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: var(--font-size-14);
    letter-spacing: 0.015em;
    text-align: center;
    text-transform: uppercase;

}

.menu-btn {
    background: none;
    border: none
}


.badge-wrapper {
    position: relative;
    z-index: 99;
    display: grid;
    grid-template-areas: "navbar";
    grid-auto-flow: column;
}

.header-badge {
    width: 113px;
    height: 113px;
    grid-area: navbar;
    align-self: center;
    justify-self: center;
}


.dropdown {
    position: absolute;
    top: 100px;
    right: 0;
    z-index: 4;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 28px 36px;
    width: 285px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    background: rgb(255 255 255 / 5%);
    backdrop-filter: blur(10px);

}

.dropdown.show {
    display: flex;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    align-self: flex-end;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 21px;
    backdrop-filter: blur(10px);
}

.nav-link a {
    width: 212px;
    text-decoration: none;
    border: 1px solid #B8794A80;
    border-radius: 4px;
    padding: 10px 0;
    font-weight: 700;
    font-size: var(--font-size-20);
    /* line-height: 75px; */
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    color: var(--primary-color);
    display: block;
    background: #ffff;
    box-shadow: 0px 4px 4px 0px #0000001A;

}

.dropdown a:hover {
    background: #f3f4f6;
}

/* hero section */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 900px;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.hero-content {
    display: flex;
    flex-direction: column;
    top: 0;
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    justify-content: center;
    gap: 24px;
    z-index: 2;
}

.hero-subtitle {
    color: var(--primary-color);
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    line-height: 1.2;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.hero-heading {
    font-weight: 700;
    line-height: clamp(2.8rem, 2rem + 3vw, 5rem);
    letter-spacing: 0.015em;
    text-transform: uppercase;
    color: white;
    max-width: 734px;
    font-size: var(--font-size-64);
    /* 36px -> 64px */
    line-height: 1.17;
    /* 75 / 64 = 1.17, so it scales with the font */
}

.hero-heading span {
    display: block;
}

.hero-booking-link {
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: white;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 16px 26px;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: var(--font-size-span);
    letter-spacing: 0.015em;
    text-align: center;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
}

.hero-content>.cursor-pointer {
    height: 100%;
    width: 179px;
    height: 56px;
    border-radius: 4px;
    overflow: hidden;
}

/* feature section */
.feature-section {
    padding: 48px 0;
}

.feature-subtitle {
    letter-spacing: 0.015em;
}

.feature-title {
    line-height: var(--line-height);
    letter-spacing: 0.015em;
}

/* features section */



.feature-item-sub {
    font-weight: 700;
    font-size: var(--font-size-20);
    letter-spacing: 0.015em;
    /* 1.5% converted to em units */
    text-transform: uppercase;
}

.feature-item-sub {
    color: white
}

.feature-item-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: var(--font-size-20);
    line-height: 50px;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}



.feature-img-container img {
    transition: scale 0.3s ease;
}

.feature-img-container:hover img {
    scale: 1.1;
}




/* Philosophy section */

.philosophy-content-wrapper {
    display: grid;
    grid-template-areas: "philosophy-video";
}

.philosophy-video {
    width: 100%;
    height: 707px;
    object-fit: cover;
    opacity: 0.5;
    grid-area: philosophy-video;
}

.philosophy-title {
    font-size: var(--font-size);
    line-height: var(--line-height);
    color: #171614;
}

.philosophy-content {
    grid-area: philosophy-video;

}


.philosophy-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    grid-area: philosophy-video;

}

.philosophy-figure::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    right: 15px;
    top: 17px;
}

.philosophy-figure {
    height: 538px;
    margin: 0;
    max-width: 452px;
}

.custom-border-before {
    width: 100%;
    height: 538px;
    max-width: 472px;
    height: 543px;
}




.feature-description {
    line-height: 1.7;
    max-width: 690px;
    color: var(--font-color-1A1815);
    gap: 16px;
    text-align: justify;
}

.feature-description-span {
    display: inline-block;
}

/* founder section */

.founder {
    padding: 74px 0;
    /* gap: 45 px; */
}



.founder-subtitle {
    /* line-height: 4.167; */
    letter-spacing: 1.5px;

}

.founder-wrapper {
    gap: 63px;
}

.founder-title {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    gap: 63px;

}

.founder-intro div {
    font-size: var(--font-size-span);
    font-weight: 400;
    /* Unitless ratio (30px / 18px = 1.667) for proportional scaling */
    line-height: 1.667;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: white
}

.founder-intro h3 {
    font-size: var(--font-size-span);
    font-weight: 400;
    /* Unitless ratio (30px / 18px = 1.667) for proportional scaling */
    line-height: 1.667;
    letter-spacing: 2.2px;
    text-transform: capitalize;
    color: var(--primary-color)
}

.founder-description {
    gap: 36px;
}

.founder-description p {
    line-height: 1.667;
    color: var(--paragraph-color)
}

/* story section */

/* keep existing story section styles intact; only vertically center the story container */
.story-section>.container {
    display: grid;
    align-items: center;
    min-height: 564px;
}

.story-wrapper {
    width: 37%;
    gap: 26px;
}

.story-section {
    display: inline-block;
    width: 100%;
    height: 100%;
    min-height: 200px;
    position: relative;
}

.story-section::before {
    content: "";
    background-image: url(../assets/images/story-image.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

.story-span {
    line-height: 4.1;
}

.story-title {
    font-size: clamp(2.25rem, 1.2rem + 3.5vw, 3.875rem);
    line-height: 1.20;
    font-weight: 700;
    letter-spacing: 1.5px;
    /* text-align: center; */
    text-transform: uppercase;

}

.story-desc {
    font-weight: 400;
    font-size: var(--font-size-15);
    line-height: 30px;
    /* text-align: center; */

}

/* .story-button {} */

.story-button {
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background: var(--primary-color);
    padding: 12px 38px;
    font-weight: 700;
    font-size: var(--font-size-14);
    letter-spacing: 0.015em;
    text-align: center;
    text-transform: uppercase;
}

.story-link {
    text-decoration: none;
    color: var(--primary-color)
}

/* studio section */


.studio-span {
    /* line-height: 4.167; */
    letter-spacing: 3.08px;
}


/* blog section */

.blog-section {
    display: grid;
    /* grid-template-columns: repeat(600px, 1fr); */
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    grid-auto-rows: 1fr;
    gap: var(--gap-24);
}

.blog-card.featured {
    grid-row: span 2;
    grid-column: span 2;
}



.blog-card {
    display: flex;
    flex-direction: column;
    grid-column: span 2;
}

.blog-article-two {
    box-shadow: 0px 4px 4px 0px #B8794A33;
    padding: 20px;
    border: 1px solid var(--primary-color);
}

.blog-article-two-wrapper {
    gap: 10px;
    max-width: 394px;
    border: none;
    box-shadow: none;
    padding: 20px;
}

.blog-card figure {
    height: 140px;
    margin: 0;
}

.blog-card.featured figure {
    height: 494px;
}


.blog-div {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 13.5px;
    letter-spacing: 2.52px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-size: var(--font-size-14);

}

.blog-title {
    font-weight: 700;
    font-size: var(--font-size-15);
    line-height: 20.63px;
    color: var(--font-color-1A1815);
    text-decoration: none;
}


.blog-desc {
    font-weight: 400;
    font-size: var(--font-size-13);
    line-height: 19.5px;
    color: var(--font-color-1A1815);

}

.blog-tag {
    display: flex;
    gap: 20px;
    font-weight: 400;
    /* Font size clamp: 7px to 9px */
    font-size: 9px;

    /* Line height clamp: 10.5px to 13.5px */
    line-height: 13.5px;

    letter-spacing: 1.62px;
    text-transform: uppercase;
    color: var(--font-color-1A1815);

}

.blog-tag div {
    font-weight: 400;

    /* font size 9px */
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 1.62px;
    text-transform: uppercase;
}

.blog-article-content {
    padding: 32px 32px;
    border: 1px solid var(--primary-color);
    box-shadow: 0px 4px 4px 0px #B8794A33;
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.blog-article-wrapper {
    display: flex;
    gap: 14px;
    flex-direction: column;
    max-width: 374px;
}

.blog-article-two-span {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: clamp(0.5rem, 0.57vw + 0.386rem, 0.625rem);
    line-height: 1.35;
    letter-spacing: 2.52px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.blog-article-two-title {
    font-weight: 700;
    font-size: clamp(0.75rem, 0.85vw + 0.579rem, 0.9375rem);
    line-height: 1.3753;
    color: var(--font-color-1A1815);
}

.blog-article-two-desc {
    font-weight: 400;
    /* Font Size: clamp(10px, 0.57vw + 8.18px, 12px) */
    font-size: clamp(0.75rem, 0.57vw + 0.511rem, 0.75rem);
    /* Line Height: clamp(16.25px, 0.92vw + 13.3px, 19.5px) */
    line-height: clamp(1.0156rem, 0.92vw + 0.831rem, 1.21875rem);
    max-width: 345px;
    color: var(--font-color-1A1815);

}

/* Homepage image */
.homepage-image {
    width: 100%;
    height: 164px;

    background-image: url("../assets/images/homepage-image.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center bottom;
}

.review-section {
    padding: 47px 0;
}

.review-content {
    background-color: #3F3F3F;
    /* flex: 1; */
    padding: 44px;
    border-radius: 12px;
}


.review-content p {
    font-weight: 500;
    font-size: var(--font-size-20);
    line-height: 30px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;


}


.review-icon {
    color: #FDC000;
    font-size: var(--font-size-span);
}


/* main footer */

.main-footer {
    padding-top: 38px;
    background-color: #060607;
}

.footer-wrapper {
    padding: 38px 0;
}


.flex-image figure {
    width: 140px;
    height: 140px;
}

.flex-image p {
    color: var(--paragraph-color);
}




/* .footer-content {
    flex-basis: 70%;
} */

.footer-top-container {
    padding: 38px 0;
}

.footer-image-container {
    border-right: 1px solid #FFFFFF33;
}

.footer-content-list div {
    display: inline-block;
    padding-bottom: 20px;
    color: var(--primary-color);
    font-size: var(--font-size-span);
    font-weight: 700;
    font-family: var(--font-secondary);
    line-height: 30px;
    letter-spacing: 2.52px;
    text-transform: uppercase;
}

.footer-content-list ul {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.footer-content-list a {
    color: var(--color-F0E9DF80);
    font-weight: 400;
    font-size: var(--font-size-span);
    line-height: clamp(1.4583rem, 1.25rem + 1.0417vw, 1.875rem);
    text-decoration: none;

}

.footer-social {
    gap: 18px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    color: white;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    padding: 10px;
    text-align: center;
}

.footer-bottom-container {
    border-top: 0.8px solid #FFFFFF33;
    padding: 32px;
}

.footer-bottom-container p, .footer-bottom-content-wrapper {
    color: #F0E9DF99;
    font-weight: 400;
    font-size: var(--font-size-12);
    line-height: clamp(0.8125rem, 0.6875rem + 0.625vw, 0.9375rem);
    letter-spacing: 1.8px;
    text-transform: capitalize;
}


/* PORTFOLIO SECTION */

.portfolio-hero {
    grid-template-areas: "stack";
    place-items: center;
    overflow: hidden;
    position: relative;
}

section.portfolio-hero.d-grid::before, section.hero-section::before, .archive-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 11, 11, 0.4) 0%, rgba(11, 11, 11, 0.28) 50%, rgba(11, 11, 11, 0) 100%),
        linear-gradient(0deg, rgba(11, 11, 11, 0.1) 0%, rgba(11, 11, 11, 0) 50%, rgba(11, 11, 11, 0.03) 100%);
    z-index: 2;

}


.portfolio-img {
    width: 100%;
    height: 750px;
    grid-area: stack;

}

.portfolio-hero-content {
    grid-area: stack;
    z-index: 3;
}

.portfolio-image-gallery {
    grid-area: stack;
    align-self: end;
    justify-self: end;
    justify-content: flex-end;
    gap: var(--gap-24);
    padding-bottom: 67px;
    z-index: 1;
}

.portfolio-image-gallery figure {
    width: 184px;
    height: 136px;
}

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

.slick-list, .slick-track {
    height: 100%;
}

.portfolio-card {
    transform: translateX(calc((var(--pos) - var(--home)) * (100% + var(--gap-24))));
    transition: transform 4s ease;
    /* was .9s, bigger = slower */
}

.portfolio-card.moving {
    z-index: 10;
    transform: translateX(calc((var(--pos) - var(--home)) * (100% + var(--gap-24))));
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* .slick-track {
    width: 100%;
    height: 100%;
} */

.portfolio-img {
    max-width: 1905px;
    /* your container width */
    margin: 0 auto;
}

.portfolio-img .slick-list {
    width: 100%;
    height: 750px;
    /* your custom height */
}

.portfolio-img .slick-track,
.portfolio-img .slick-slide,
.portfolio-img .slick-slide>div {
    height: 100%;
}

.portfolio-img figure {
    margin: 0;
    height: 100%;
}


.portfolio-category-wrapper {
    padding: 11px 0px;
    margin-top: 42px;
    margin-bottom: 68px;
    border-top: 1px solid #FFFFFF0D;
    /* Top border */
    border-bottom: 1px solid #FFFFFF0D;
    /* Bottom border */
}

.portfolio-category-button {
    padding: 10px 16px;
    background-color: transparent;
    border-radius: 4px;
    border: none;
    color: white;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-transform: uppercase;
    font-weight: 500;
    font-size: var(--font-size-14);
    line-height: clamp(0.9375rem, 0.8125rem + 0.625vw, 1.125rem);
    letter-spacing: 2.5px;
    text-align: center;
    text-transform: uppercase;
}

.portfolio-category-button:hover {

    background-color: var(--color-FFFFFF1A);
    transition: all .3s ease-in-out;
}

.portfolio-category-button.active {
    background-color: var(--color-FFFFFF1A);
    transition: all .3s ease-in;

}


/* portfolio category */
/* Bento Grid */

.bento-grid {
    width: 100%;
    grid-template-rows: 529px 428px 529px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* grid-template-rows: 1fr 1fr 1.3fr; */
    grid-template-areas:
        "hero-left  hero-left  hero-left  hero-right hero-right hero-right"
        "tri-left   tri-left   tri-center tri-center tri-right  tri-right"
        "feature-left feature-left feature-right feature-right feature-right feature-right";
    gap: var(--bento-gap);
}

.bento-item {
    overflow: hidden;
    position: relative;

    /* border-radius: var(--radius); */
}

.bento-img-wrapper {
    width: 100%;
    height: 100%;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;

}

.bento-item:hover img {
    transform: scale(1.1);
}

/* each "type" coming from the DB maps to one grid-area */
.type-hero-left {
    grid-area: hero-left;
}

.type-hero-right {
    grid-area: hero-right;
}

.type-tri-left {
    grid-area: tri-left;
}

.type-tri-center {
    grid-area: tri-center;
}

.type-tri-right {
    grid-area: tri-right;
}

.type-feature-left {
    grid-area: feature-left;
}

.type-feature-right {
    grid-area: feature-right;
}

.bento-content-wrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0 20px;
}

.bento-content-inner {
    border-top: 3px solid var(--primary-color);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.bento-content-inner, .bento-content-inner h2 {
    font-weight: 700;
    font-size: var(--font-size-span);
    line-height: 30px;
    text-transform: uppercase;
}

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

.bento-content-inner a {
    text-decoration: underline;
    text-decoration-style: solid;
    color: white
}

.bento-content-wrapper {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.3s ease;
}

.bento-item:hover .bento-content-wrapper {
    opacity: 1;
    visibility: visible;
}

/* PORTFOLIO DETAILS PAGE STYLE */

.portfolio-details-testimonial {
    gap: 96px;
    padding: 45px 0px;
}

.portfolio-testimonial-title {
    font-size: var(--font-size);
    color: white;
    padding-bottom: 21px;
}




.portfolio-details-image {
    height: 475px;
    max-width: 510px;
}

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

/* .portfolio-details-content {
    max-width: 669px;
    width: 100%;
} */

.portfolio-testimonial-section {
    gap: 96px;
}


.portfolio-testimonial-details {
    gap: 32px;
    color: var(--paragraph-color);
    line-height: 30px;
}

.portfolio-testimonial-details-title {
    font-weight: 700;
    font-size: var(--font-size-20);
    line-height: clamp(1.625rem, 1.426rem + 0.849vw, 2.0625rem);
    color: white;
}

.portfolio-testimonial-details-subtitle {
    font-weight: 400;
    font-size: var(--font-size-14);
    line-height: clamp(0.8125rem, 0.756rem + 0.242vw, 0.9375rem);
    letter-spacing: 3px;
    color: var(--primary-color)
}

.portfolio-testimonial-details-quote {
    padding: 8px 0px 8px 32px;
    border-left: 1px solid var(--primary-color);
}

/* Research Content */
.research-content::before {
    content: "";
    width: 1px;
    height: 120px;
    /* display: flex; */
    background: #3A3A3A;
    position: absolute;
    top: 75px;
    left: 1px;
}

.research-content.research-second, .research-content.research-four {
    top: 20px;
}

.research-content.research-second::before {
    top: -12px;
    left: 6px;
}

.research-content.research-third::before {
    top: 64px;
    left: 6px;
}

.research-content.research-four::before {
    top: -10px;
    left: 6px;
}

.research-id {
    font-weight: 800;
    font-size: 140px;
    line-height: 210px;
    letter-spacing: -7px;
    top: -68px;
    left: -18 px;
    color: #FFFFFF08;
}

.research-second::after {
    left: 0;
    top: -26px;
    position: absolute;
    bottom: 0;
    content: "";
    display: block;
    width: 14.67px;
    height: 10.67px;
    background-image: url(../assets/images/portfolio-details/research//Icon.png);
    background-size: cover;
    background-position: center;

}

.research-third::after {
    left: 0;
    position: absolute;
    bottom: -16px;
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background-image: url("../assets/images/portfolio-details/research/Container.png");
    background-size: cover;
    background-position: center;

}

.research-four::after {
    left: 0;
    position: absolute;
    top: -26px;
    content: "";
    display: block;
    width: 14.67px;
    height: 13.67px;
    background-image: url(../assets/images/portfolio-details/research/Icon-1.png);
    background-size: cover;
    background-position: center;

}

.research-content {
    padding: 0px 35px;
}

.research-section {
    background-color: #0D0C0B;
    padding: 48px 0;
}

.research-content-wrapper {
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    grid-template-columns: repeat(5, 1fr);
    min-height: 400px;
}

.research-content-timeline {
    border-bottom: 1px solid #3A3A3A;
    width: 81.5%;
    position: absolute;
    top: 50%;
    /* Position at 50% from the top */
    left: 0;
    transform: translateY(-50%);
    /* Pulls back by half its own height for exact center */
}

/* Pseudo-element implementation */
.research-content-timeline::before {
    content: "";
    display: block;
    /* or position: absolute */
    width: 11px;
    height: 11px;
    background: var(--primary-color);
    border-radius: 100%;

    position: absolute;
    right: 0;
}

.research-content-timeline::after {
    content: "";
    display: block;
    /* or position: absolute */
    width: 11px;
    height: 11px;
    background: var(--primary-color);
    border-radius: 100%;
}



.research-content h2 {
    color: var(--color-F2F0EB);
    font-weight: 500;
    vertical-align: middle;

    /* Fluid Font-Size (Min: 16px / Max: 22px) */
    /* Font Size (16px to 22px) */
    font-size: clamp(1rem, 0.83rem + 0.727vw, 1.375rem);

    /* Line Height (24px to 33px) — mathematically aligned with font-size */
    line-height: clamp(1.5rem, 1.245rem + 1.091vw, 2.0625rem);
}


.research-content p {
    color: var(--color-858585);
    font-weight: 400;
    vertical-align: middle;

    /* Fluid Font-Size (Min: 12px / Max: 14px) */
    font-size: clamp(0.75rem, 0.693rem + 0.242vw, 0.875rem);

    /* Option A: Explicit fluid clamp line-height (Min: 19.2px / Max: 22.4px) */
    line-height: clamp(1.2rem, 1.109rem + 0.388vw, 1.4rem);
}


/* Evolution Section */

.evolution-section {
    margin: 48px 0;
}

.evolution-number {
    font-weight: 500;
    font-size: clamp(0.5625rem, 0.4625rem + 0.5vw, 0.6875rem);
    line-height: 16.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
}

/* Flex line that fills remaining space without overflowing */
.evolution-number::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: var(--color-FFFFFF0F);
}


.evolution-article-group {
    gap: 90px
}

.evolution-article-group>div {
    flex: 1 1 calc(25% - 67.5px);
    min-width: 0;
}


.evolution-article-content h3 {
    font-size: var(--font-size-span);
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 1px;
    text-transform: uppercase;

}


.evolution-article-content p {
    color: #F1EEE866;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: var(--font-size-13);
    line-height: 22.1px;

}

/* Process Section */

.process-section {
    background-color: var(--color-0B0B0B);
    padding: 48px 0px 76px 0;
    position: relative;
    overflow: hidden;
}

.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "sketch  ."
        ".       stencil"
        "needle  ."
        "final   final";
    row-gap: 76px;
}

figure.process-image {
    position: absolute;
    width: 83px;
    height: 135px;
    z-index: 3;
    transform: rotate(45deg);

}


figure.process-image img {
    width: 100%;
    height: 100%;
}

figure.process-image.sketch, figure.process-image.needle {
    top: -40px;
    left: -12px;
}



figure.process-image.stencil, figure.process-image.final {
    transform: rotate(-45deg);
    top: -40px;
    right: -25px;
}

/* .process-card needle {
    transform: rotate(45deg);
    top: -40px;
    left: -25px;
} */

.sketch {
    grid-area: sketch;
}

.stencil {
    grid-area: stencil;
    justify-self: end;
}

.needle {
    grid-area: needle;
}

.final {
    grid-area: final;
}

.process-card {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: auto;
    aspect-ratio: 605 / 440;
}

.process-card.final {
    aspect-ratio: 1088 / 438;
}


.process-card::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 11, 11, 0.6) 0%, rgba(11, 11, 11, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.process-card.sketch {
    rotate: 2.14deg;
}

.process-card.stencil {
    rotate: -4.4deg;
}

.process-card.needle {
    rotate: 4.68deg;
}

.process-card.final {
    rotate: -2.25deg;
}

/* .process-card.needle img {
    width: 100%;
    height: 100%;
    transform: translate(0, -25%);
}

.process-card.final img {
    width: 100%;
    height: 100%;
    transform: translate(0, -35%);
} */


.process-card>article>img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    color: #fff;
    z-index: 2;
}

.caption span {
    padding-bottom: 12px;
}

.caption h3 {
    margin: 0;
    text-transform: uppercase;
}


/* craft section */

/* Shared small label style */



.stats-wrapper {
    padding-top: 32px;
    border-top: 0.8px solid var(--border-color-B8794A40);
}

.stat-unit,
.craft-label {
    text-transform: uppercase;
    font-weight: 400;
    font-size: var(--font-size-14);
    line-height: 20px;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

/* ---------- Stats component ---------- */
.stat-value {
    font-size: clamp(2.5rem, 1.5rem + 5vw, 5.831875rem);
    color: var(--color-F1EEE8);
    font-weight: 700;
    line-height: 93.31px;

}

.stat-caption {

    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: var(--font-size-14);
    line-height: 20px;
    color: #F1EEE859
}

/* ---------- Craft component ---------- */



.content-wrapper {
    padding: 0 clamp(1rem, 8vw, 8.5625rem);
}

.craft-content-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 80px;
    row-gap: 24px;
}

.craft-text {
    font-weight: 400;
    font-size: var(--font-size-16);
    line-height: 25.2px;
    color: var(--color-F1EEE8);
    text-align: justify;
}

.craft-content {
    border-top: 0.8px solid var(--border-color-FFFFFF12);
    padding-top: 20px;
}

/* .gx-80 {
    --bs-gutter-x: clamp(1.5rem, 0.5rem + 4vw, 5rem);
} */


/* Portfoio Details Stories Section */

.stories-wrapper figure {
    width: 100%;
    height: 140px;
}

.stories-header {
    gap: 54px;
}

.stories-wrapper {
    border: 1px solid var(--border-color-B8794A40);
    border-radius: 4px;
    overflow: hidden;
}

/* founder-Philosophy */

.craft-section {
    background: var(--color-0B0B0B);
}

.founder-header {
    max-width: 900px;
}



.col {
    padding: 0
}

.custom-craft-padding {
    padding: 32px 40px 32px 0;
}




.custom-craft-gap-row {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 65px;
    max-width: 1312px;
    margin: 0 auto;
}


/* JOURNEY SECTION STYLES */
.history-section {
    position: relative;
    padding: 60px 0 100px;
    min-height: 100vh;
}

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

/* ==========================
       TIMELINE
    ========================== */

.timeline {
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 145px;
    top: 18px;
    bottom: 0;
    width: 1px;
    background: var(--line);
}

.timeline-item {
    position: relative;
    min-height: 450px;
    display: grid;
    grid-template-columns: 145px 1fr;
}

.timeline-year {
    position: relative;
    padding-right: 16px;
    text-align: right;
}

.timeline-year h2 {
    margin: -7px 0 0;
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.11);
    letter-spacing: -3px;
}

.timeline-dot {
    position: absolute;
    top: 17px;
    right: -4px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 3px var(--bg);
}

.timeline-main {
    position: relative;
    padding-left: 0;
    padding-bottom: 80px;
}

.timeline-wrapper {
    padding-left: 79px;
    padding-top: 16px;
}

.timeline-item:nth-child(even) .timeline-wrapper {
    padding-left: 0px;
    /* padding-top: 16px; */
}

/* 
.timeline-main::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
} */

.timeline-content {
    position: relative;
    z-index: 1;
    padding-top: 0;
}

.timeline-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
    gap: 70px;
    align-items: start;
}

.timeline-item.reverse .timeline-grid {
    grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1fr);
}

.timeline-item.reverse .timeline-image {
    order: 1;
}

.timeline-item.reverse .timeline-copy {
    order: 2;
}

.timeline-copy {
    position: relative;
    top: 12px;
}


.timeline-main-before, .timeline-image-before {
    border: 1px solid var(--border-color-B8794A40);
    height: 1px;
    width: 74px;
}

.timeline-image {
    position: relative;
    top: 18px;
}




.timeline-main-after {
    border: 1px solid var(--border-color-FFFFFF12);
    height: 1px;
    flex: 1
}

.mini-year {
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
}

.timeline-title {
    color: var(--heading);
    font-size: 23px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.timeline-description {
    max-width: 500px;
    color: #bcbcbc;
    font-size: 15px;
    line-height: 1.85;
    letter-spacing: 0.02em;
    margin: 0;
}

/* ==========================
       IMAGE
    ========================== */

.timeline-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* max-width: 340px;  */
    margin-left: auto;
    background: #222;
}

.timeline-item.reverse .timeline-image {
    margin-left: 0;
    margin-right: auto;
}

.timeline-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.15));
    pointer-events: none;
}

.timeline-image img {
    display: block;
    width: 100%;
    height: 385px;
    object-fit: cover;
    filter: saturate(0.75) contrast(1.05);
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.timeline-image:hover img {
    transform: scale(1.04);
    filter: saturate(1) contrast(1.05);
}

.image-label {
    position: absolute;
    left: 16px;
    bottom: 13px;
    z-index: 3;
    color: rgba(255, 255, 255, 0.42);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ==========================
       FADE ANIMATION
    ========================== */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



/* Heritage Section */

.container.heritage {
    max-width: 1038px;
}

.heritage-wrapper {
    --bs-gutter-x: 80px;
}

.heritage-header {
    max-width: 479px;
    width: 100%;
}



.heritage-image-wrapper {
    display: grid;
    grid-template-areas: "heritage";
    height: 718px;
}

.heritage-wrapper figure {

    grid-area: heritage;
}

.heritage-image-content {
    grid-area: heritage;
    display: flex;
    justify-content: end;
    padding-bottom: 20px;
    flex-direction: column;
    align-self: end;
    padding: 0px 32px 32px 32px;
    height: 126px;
    gap: 6px;

}

.heritage-image-content p {
    font-weight: 700;
    font-size: var(--font-size-span);
    line-height: 23.8px;
    text-transform: uppercase;
    isolation: isolate;

}

.heritage-image-content span {
    font-weight: 700;
    font-size: var(--font-size-14);
    line-height: 13.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    isolation: isolate;

}

.heritage-image-content::before {
    content: "";
    /* Required for pseudo-elements to render */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(11, 11, 11, 0.8) 0%, rgba(11, 11, 11, 0) 100%);
    pointer-events: none;
    /* Allows clicks to pass through to underlying elements/images */
    /* z-index: ; */
    /* Places gradient above the image */
}

.heritage-header span {
    padding-bottom: 20px;

}

.heritage-header-desc {
    font-size: var(--font-size-16);
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 28.8px;
    color: var(--color-F1EEE8);
    text-align: justify;
}


.heritage-tag {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: var(--font-size-12);
    line-height: 13.5px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.heritage-content {
    padding: 32px 0 32px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 0.8px solid var(--border-color-FFFFFF12);
}

.heritage-label {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
}

.heritage-text {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: var(--font-size-13);
    line-height: 23.4px;
    color: var(--color-F1EEE8);
}

/* Founder Details */

.founder-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 19px;
}

.founder-content figure {
    width: 100%;
    height: 540px;
    border: 0.8px solid var(--primary-color);
    border-radius: 4px;
    overflow: hidden;
}

.founder-content img {
    filter: grayscale(100%);

}

.founder-des-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    padding: 20px 30px 0 30px;
    gap: 4px;

}

.founder-des-intro h3 {
    font-weight: 700;
    font-size: var(--font-size-24);
    line-height: 32px;
    letter-spacing: -0.5px;
    text-transform: uppercase;

}

.founder-des-intro span {
    font-weight: 400;
    font-size: var(--font-size-10);
    line-height: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);


}

.founder-des-intro p {
    font-weight: 400;
    font-size: var(--font-size-14);
    line-height: 23.8px;
    text-align: center;

}

/* TEAM AND LEGACY PAGE */

.knowledge-section {
    background-color: var(--color-0B0B0B);
}

.knowledge-content-wrapper {
    gap: 96px;
}

.knowledge-content-list {
    border-bottom: 0.8px solid #FFFFFF33;
}

.knowledge-wrapper {
    display: grid;
    gap: 96px;
    grid-template-columns: repeat(2, 1fr);
}

.knowledge-header {
    max-width: 532px;
    gap: 20px;
}

.knowledge-header-wrapper {
    gap: 30px;
}

.knowledge.page-header-title {
    max-width: 290px;
}

.knowledge-tag {
    font-weight: 400;
    font-size: var(--font-size-10);
    line-height: 15px;
    letter-spacing: 2px;
    color: var(--primary-color);

}

.knowledge-label {
    font-weight: 500;
    font-size: var(--font-size-13);
    line-height: 19.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: white;
}

.knowledge-text {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: var(--font-size-13);
    line-height: 22.75px;
    color: white;

}

.knowledge-content-first {
    padding-right: 62px;
}

.knowledge-content {
    border-top: 0.8px solid #FFFFFF33;
}

.knowledge-content-desc {
    color: var(--primary-color);
    text-align: center;
}

.knowledge-image-content div {
    height: 1px;
    background-color: #B8794A33;
    width: 231px;

}

.knowledge-image-content p {
    font-weight: 400;
    font-size: var(--font-size-12);
    line-height: 13.5px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.knowledge-image-wrapper {
    display: grid;
    grid-template-areas: "knowledge";
}

.knowledge-image-wrapper figure {
    height: 364px;
}

.knowledge-image-wrapper figure, .knowledge-image-wrapper p {
    grid-area: knowledge;
}

.knowledge-image-wrapper p {
    padding: 16px;
    font-weight: 400;
    font-size: var(--font-size-12);
    line-height: 13.5px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-F1EEE8);
}


/* Archive Section */

.archive-wrapper {
    display: grid;
    grid-template-areas: "archive";
}

.archive-image, .archive-content {
    grid-area: archive;
}

.archive-image {
    height: 618px;
}

.archive-subtitle.hero-subtitle {
    font-size: var(--font-size-span);
    line-height: 15px;
    letter-spacing: 5px;
}

.archive-heading.hero-heading {
    font-size: 40.82px;
    line-height: 50px;
    letter-spacing: 1.5px;
    max-width: 740px;
    padding-bottom: 0px;
}

.archive.homepage-image {
    grid-area: archive;
    display: flex;
    align-self: end;
}



/* BLOG PAGE */


.blog-list-features {
    gap: 74px;
    display: grid
}

.blog-list-wrapper {
    gap: 60px;
    align-items: end;
}

.blog-hero-content {
    max-width: 725px;
}

.figure-demo {
    max-width: 637px;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}



.blog-list-header {
    line-height: 37.56px;
    letter-spacing: 1.5px;
}

.blog-list-desc {
    text-align: justify;
    font-weight: 400;
    font-size: var(--font-size-span);
    line-height: 30px;
    text-align: justify;
    max-width: 581px;

}

.blog-list.page-header-wrapper {
    gap: 20px;
}

.blog-list-tag div {
    width: 1px;
    background-color: #FFFFFF33;
}

.blog-list-tag p {
    font-weight: 400;
    font-size: var(--font-size-10);
    line-height: 15px;
    letter-spacing: 2px;
    color: var(--color-F1EEE8);
}

.blog-list.link-class {
    font-weight: 400;
    font-size: var(--font-size-10);
    line-height: 16.5px;
    letter-spacing: 3px;
    text-decoration: none;
}

.blog-list.stories-wrapper {
    border: 1px solid var(--primary-color);
    box-shadow: 0px 4px 4px 0px #B8794A33;
    overflow: hidden;
}


/* BLOG DETAILS PAGE */

.blog-details-container {
    padding: 38px 0;
}


.blog-details-image {
    height: 425px;
    margin-top: 68px;
    margin-bottom: 127px;
}

.blog-details-content-wrapper h2 {
    font-weight: 700;
    font-size: var(--font-size);
    line-height: 36px;
    letter-spacing: -0.5px;
    text-transform: uppercase;

}


.blog-details-content-wrapper p {
    font-weight: 400;
    font-size: var(--font-size-span);
    line-height: 30px;
}

.blog-details-quote-container {
    background-color: #0B0B0B4D;
    padding: 28px 0;
    margin: 0 auto;
    margin: 48px 0;
}

.blog-details-quote-container h3 {
    max-width: 1067px;
    margin: 0 auto;
    border-left: 1px solid var(--primary-color);
    width: 100%;
}

.blog-details-quote {
    font-weight: 400;
    font-size: var(--font-size-35);
    line-height: 48.52px;
    color: var(--primary-color);
    padding: 22px 27px 20px 48px;
}

.quote-section h3 {
    font-weight: 700;
    font-size: var(--font-size-20);
    line-height: 30px;

}

.quote-section p {
    font-weight: 400;
    font-style: Regular;
    font-size: var(--font-size-12);
    line-height: 13.5px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.blog-details.founder-wrapper {
    width: 32px;
    height: 1px;
    background-color: var(--primary-color);
}

/* TATOO LIBRARY */

.tattoo-library-gallery-wrapper {
    border-bottom: 0.8px solid var(--border-color-FFFFFF12);
}

.tattoo-library-gallery-content {
    padding: 0 104px;
}

.tattoo-library.hero-heading {
    max-width: 710px;
}

.tattoo-library-image {
    width: 96px;
    height: 96px;
    overflow: hidden;
}

.tattoo-library-image-desc h2 {
    font-weight: 700;
    font-size: var(--font-size-26);
    line-height: 30px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-F1EEE8);

}



.tattoo-library-image-desc p {
    font-weight: 400;
    font-size: var(--font-size-12);
    line-height: 21.45px;
    letter-spacing: 0px;
    color: #F1EEE8CC;

}

.tattoo-library-desc h3 {
    font-weight: 700;
    font-size: var(--font-size-14);
    line-height: 30px;
    letter-spacing: 1.5px;
    color: var(--color-F1EEE8);

}

.tattoo-library-desc p {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: var(--font-size-12);
    line-height: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.portfolio-category-button-filter {
    gap: 39px;
}


/* CLIENT STORY */

.client-image {
    max-width: 474px;
    height: 597px;
    border-radius: 4px;
    overflow: hidden;

}

.client-story-quote {
    font-weight: 400;
    font-size: var(--font-size-20);
    line-height: 35.64px;
    border-left: 1px solid var(--primary-color);
    padding-left: 24px;
}

.client-story-quote-container cite {
    font-weight: 500;
    font-size: var(--font-size-10);
    line-height: 13.5px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.client-identity {
    padding-left: 24px;
}

.client-identity div {
    width: 20px;
    height: 1px;
    background-color: var(--primary-color);
}

.client-list-desc {
    font-weight: 400;
    font-size: var(--font-size-span);
    max-width: 706px;

}

/* PROCESS SECTION */

.process-content {
    padding-top: 16px;
    /* max-width: 211px; */
    width: 100%;
}

.client-content-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: minmax(211px, auto);
}


.process-content p {
    font-weight: 400;
    font-size: var(--font-size-12);
    line-height: 13.5px;
    letter-spacing: 2px;
}


.process-desc h2 {
    font-weight: 700;
    font-size: var(--font-size-15);
    line-height: 15px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.process-desc p {
    font-weight: 400;
    font-size: var(--font-size-12);
    line-height: 19.8px;
    letter-spacing: 0px;
}


/* Transformaion Section */

.transformation-image {
    display: grid;
    grid-template-areas: "transformation";
}

.transformation-image img,
.transformation-image figcaption {
    grid-area: transformation;
}

.transformation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* keeps the image from stretching */
}

.transformation-image figcaption {
    display: grid;
    place-items: center;
    /* centers text horizontally and vertically */
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 25px;
    line-height: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-0B0B0B);
}

.transformation-list h2 {
    line-height: 36px;
    letter-spacing: -0.5px;

}


.after-image figure {
    max-width: 225px;
    height: 329px;
    border-radius: 4px;
    border: 1px solid var(--color-F1EEE8);
    overflow: hidden;
}

.after-image figure:last-child {
    max-width: 241px;

}

.after-content p {
    font-weight: 400;
    font-size: var(--font-size-24);
    line-height: 40.8px;
    color: var(--color-FFFFFFBF);
}

.client-identity cite {
    font-weight: 500;
    font-size: var(--font-size-10);
    line-height: 13.5px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.after-footer {
    padding-top: 32px;
    border-top: 0.8px solid var(--color-FFFFFF0E);
}

.after-footer-content div {
    font-weight: 400;
    font-size: var(--font-size-9);
    line-height: 13.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-FFFFFF66);
}

.after-footer-content h3 {
    font-weight: 600;
    font-size: var(--font-size-span);
    line-height: 20px;
    text-transform: uppercase;
    color: var(--bg-color);
}

.after-footer-content p {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 13px;
    line-height: 19.5px;
    letter-spacing: 0px;
    color: var(--color-FFFFFFB2);
}

/* STUDION SECTION */


.studio.page-subtitle {
    line-height: 13.5px;
}

.studio.page-header-title {
    max-width: 248px;
    width: 100%;
}

.studio-content:last-child {
    border-bottom: 0.8px solid var(--color-FFFFFF0F);
}

.studio-content {
    gap: 16px;
    border-top: 1px solid var(--color-FFFFFF0F);
    max-width: 641px;
}


.studio-tag {
    font-weight: 400;
    font-size: var(--font-size-12);
    line-height: 13.5px;
    letter-spacing: 2px;
    color: var(--primary-color);

}

.studio-label {
    font-weight: 600;
    font-size: 14px;
    line-height: 16.5px;
    text-transform: uppercase;
    /* max-width: 189px */
}

.studio-text {
    font-weight: 400;
    font-size: var(--font-size-14);
    line-height: 22.75px;
    max-width: 399px;
    width: 100%;
}

.studio-image>figure {
    max-width: 398px;
}

.studio-image figure {
    height: 361px;
}

.studio-image-caption {
    border: 0.8px solid #FFFFFF0F;
    border-radius: 4px;
}

.studio-image-caption div {
    font-weight: 400;
    font-size: var(--font-size-12);
    line-height: 13.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.studio-image-caption p {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: var(--font-size-13);
    line-height: 22.1px;
    color: var(--color-FFFFFF0F);
}



.studio-content-number {
    font-weight: 400;
    font-size: var(--font-size-12);
    line-height: 13.5px;
    letter-spacing: 2px;
    color: var(--primary-color);

}

.studio-label {
    font-weight: 600;
    font-size: var(--font-size-14);
    line-height: 17.88px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}



.custom-studio-padding {
    border-top: 0.8px solid var(--color-FFFFFF0F);
    border-right: 0.8px solid var(--color-FFFFFF0F);
    padding: 40px;
    max-width: 487px;

}

.custom-studio-padding:nth-child(even) {
    border-right: none;
}

.studio-ethical-image figure {
    max-width: 545px;
    width: 100%;
}

/* CULTURAL SECTION */

.tattoo-practice figure {
    max-width: 353px;
    height: 444px;
}

.tattoo-practice figure {
    max-width: 353px;
    height: 444px;
}

.tattoo-practice figure:last-child {
    height: 385px;
}


.studio.page-desc {
    max-width: 520px;
    width: 100%;
}

/* Festival Section */

.festival-wrapper {
    height: 590px
}



.festival-content>figure>img {
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    overflow: hidden;
}

.festival-content>figure>figcaption {
    font-weight: 400;
    font-size: var(--font-size-12);
    line-height: 20.4px;
    color: white;

}

.architecture.page-header-title {
    font-size: var(--font-size-46);
}

.architecture-content, .architecture-items {
    border: 0.8px solid var(--primary-color);
}

.architecture-content h3 {
    font-weight: 400;
    line-height: 13.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: var(--font-size-9);
    color: var(--primary-color);
}

.architecture-content p {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: var(--font-size-12);
    line-height: 21px;
    color: var(--font-color);
}

.architecture-content div {
    font-weight: 400;
    font-size: var(--font-size-8);
    line-height: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-FFFFFF26);
}

/* Architecture Grid */

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    column-gap: 24px;
    row-gap: 12px;
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1rem, -0.5rem + 6vw, 5rem);
}

.pagoda-banner {
    grid-column: 1 / -1;
    /* span all 4 columns */
    grid-row: 1;
}

.architecture-content,
.brick-carving,
.stone-carving,
.geometric-tattoo {
    grid-row: 2;
    /* each takes exactly 1 of the 4 columns automatically */
}

/* Second Last/Value Section */

.value-wrapper {
    display: grid;
    grid-template-areas: "value";
    /* height: 302px; */
}


.value-video, .value-title {
    grid-area: value;
}

.value-title h3 {
    font-weight: 700;
    font-size: 40px;
    line-height: 40.82px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-F1EEE8);
    max-width: 318px;
    width: 100%;
}

.value-video {
    width: 100%;
    height: 302px;
}

.value-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.value-title {
    display: flex;
    align-items: center;

}

/* Saying Section */

.saying-section {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    align-items: center;
    gap: 42px;
    padding-bottom: 36px;
}


.saying-header-line {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}

.left-line,
.right-line {
    flex: 1;
    height: 1px;
    background-color: var(--color-FFFFFF0E);
}

.center-line {
    width: 6px;
    height: 6px;
    background: #000;
    flex: 0 0 6px;


    background-color: var(--primary-color);
    border-radius: 50%;
}

.saying-header-line {
    display: flex;
    align-items: center;
    gap: 20px;
}


.saying-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.saying-title>h3 {
    font-weight: 700;
    font-size: var(--font-62);
    line-height: 71.38px;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: white;
    max-width: 800px;
    width: 100%;
    text-align: center;
}


/* Booking Form Section */
.form {
    background-color: var(--bg-form-color);

}

.form.header {
    background-color: var(--bg-form-color);
    padding: 14px 0;
}

.form-banner {
    padding-bottom: 72px;
    /* height: 364px; */
    border-bottom: 1px solid #88888833;
}

.form.container {
    max-width: 1200px;
}

/* .form-header-button {
    position: absolute;
    transform: translate(50%, 0);
    inset: 0;
} */


.form-section {
    padding-top: 38px;
    height: 480px;
}


.form.page-subtitle {
    line-height: 48px;
    letter-spacing: -0.4px;
}

.form-banner>h1 {
    max-width: 792px;
    text-align: center;
}

/* Fields Style */

.booking-form {
    max-width: 792px;
    width: 100%;
    margin: 0 auto;
}

.form-control {
    font-weight: 400;
    font-size: var(--font-size-16);
    line-height: 24px;
    padding-top: 12px;
    padding: 0;
    height: 192px;
}

.form-group textarea.form-control {
    height: 192px;
    border: 0;
    border-bottom: 0.8px solid var(--primary-color);
    border-radius: 0;
    box-shadow: none;
    outline: none;
    height: 192px;

}

.form-group textarea.form-control:focus {
    border-bottom-color: var(--primary-color);
    box-shadow: none;

}

.form-group label {
    font-weight: 700;
    font-size: var(--font-size-span);
    line-height: 16px;
    letter-spacing: 1.2px;
    color: var(--primary-color);
}

#idea::placeholder {
    color: #50453B;
}

.in-studio-wrapper label, .online-wrapper label {
    font-weight: 600;
    font-size: var(--font-size-14);
    line-height: 20px;
    letter-spacing: 0.7px;
    color: var(--color-D4C4B7);

}

/* Upload Zone */

.upload-zone {
    width: 100%;
    min-height: 281px;
    border: 1px dashed #4a4a4a;
    color: #E5E2E1;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.upload-zone:hover {
    border-color: #e8a46a;
    background: #141414;
}

/* hide the native input but keep it accessible */
.upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.upload-icon {
    width: 28px;
    height: 28px;
    color: #e8a46a;
}

.upload-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
}

.upload-text {
    max-width: 380px;
    font-weight: 400;
    font-size: var(--font-size-16);
    line-height: 24px;
    color: var(--color-D4C4B7);
    text-align: center;

}

.upload-files {
    font-size: 13px;
    color: #e8a46a;
}

.online-wrapper, .in-studio-wrapper {
    gap: 12px;
    display: flex;
    align-items: center;
}

.consulation.form-group {
    font-weight: 400;
    font-size: var(--font-size-16);
    line-height: 24px;
    color: var(--color-D4C4B7);
}

.consulation.form-group p {
    font-weight: 400;
    font-size: var(--font-size-16);
    line-height: 24px;
    color: var(--color-D4C4B7);
}

.contact {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    border-bottom: 1px solid #88888833;
    padding-bottom: 50px;
}

.contact>div:nth-child(3) {
    grid-column: 1 / -1;
}

.contact input, .contact textarea, .contact.form-control:focus {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--primary-color);
    outline: none;
    background-color: var(--color-FFFFFF1A);
    color: white
}


#name::placeholder, #email::placeholder, #phone::placeholder {
    color: white;
    font-weight: 400;
    font-size: var(--font-size-16);

}

.contact input:focus {
    border-bottom-color: var(--primary-color);

}

.form-desc {
    font-weight: 400;
    font-size: var(--font-size-14);
    line-height: 20px;
    color: var(--color-D4C4B7);
    text-align: center;

}

.accordion-number {
    font-weight: 700;
    font-size: var(--font-size-16);
    line-height: 16px;
    letter-spacing: 1.2px;
    color: var(--primary-color);
    position: relative;
    top: 12px;


}

.form-button button {
    padding: 14px 25px;
    background-color: #A67C52;
    border-radius: 4px;
    border: none;
    font-weight: 600;
    font-size: var(--font-size-14);
    line-height: 20px;
    letter-spacing: 0.7px;
    text-align: center;
    color: #121212;
    text-transform: uppercase;

}

.accordion-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: var(--font-size-32);
    line-height: 40px;
    border: none;
    color: var(--primary-color);
    text-align: start;
    max-width: 699px;
    width: 100%;
}

.accordion-btn.collapsed .accordion-title {
    color: white;
}

.accordion-icon {
    transition: transform 0.3s ease;
    max-width: 14px;
    height: 14px;
}

/* closed: X rotated into a plus */
.accordion-btn.collapsed .accordion-icon {
    transform: rotate(45deg);
}

.accordion-card-text {
    font-weight: 400;
    font-size: var(--font-size-span);
    line-height: 30px;
    color: var(--color-D4C4B7);
}

.faq-image-wrapper {
    display: grid;
    grid-template-areas: "faq-image ";
    height: 600px;

}


.faq-section {
    display: grid;
    grid-template-columns: 384px auto;
    grid-template-areas: "faq-image ";
}

.faq-image-container {
    /* max-width: 368px; */
    padding: 0 16px;
}

.faq-image-container>img {
    border-radius: 4px;
    overflow: hidden;
}

.faq-image-container, .faq-image-caption {
    grid-area: faq-image
}


.faq-image-caption {
    align-items: end;
    justify-content: center;
    display: flex;
}

.faq-image-caption span {
    padding: 16px 12px;
    color: var(--primary-color);
    margin-bottom: 26px;
    font-weight: 700;
    font-size: var(--font-size-12);
    line-height: 16px;
    letter-spacing: 1.2px;
    border-radius: 4px;
    background: #131313E5;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(4px);
    /* Safari */
    backdrop-filter: blur(4px);
}

.contact-message {
    grid-column: 1 / -1;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.max-w-100 {
    max-width: 100%;
}

.footer-location {
    max-width: 200px;
}

.back-to-top {
    display: inline-block;
    padding: 20px 22px;
    border-radius: 69%;
    position: fixed;
    right: 58px;
    bottom: 54px;
    color: white;
    background: rgb(201, 145, 102);
    backdrop-filter: blur(20px);
}

.back-to-top i {
    font-size: 28px;
    cursor: pointer;

}

.back-to-top:hover {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}


@media (max-width: 1290px) {
    .container {
        padding: 0 40px;
    }

    .story-wrapper {
        width: 100%;
    }

    .knowledge-image-content {
        justify-content: center;
    }

    .blog-article-content {
        padding: 40px 32px;
    }
}

/* ==========================
       TABLET
    ========================== */

@media (max-width: 991.98px) {

    .container {
        padding: 0 20px;
    }

    .history-section {
        padding-top: 50px;
    }


    .philosophy-figure {
        max-width: 100%;
    }

    .founder {
        display: grid;
        gap: 24px;
    }

    .founder-title {
        line-height: 36px;
    }

    .founder-wrapper {
        max-width: 100%;
    }

    .timeline::before {
        left: 100px;
    }

    .timeline-item {
        grid-template-columns: 100px 1fr;
        min-height: auto;
    }

    .timeline-year h2 {
        font-size: 35px;
    }

    .timeline-main {
        padding-left: 45px;
        padding-bottom: 90px;
    }

    .timeline-grid,
    .timeline-item.reverse .timeline-grid {
        gap: 40px;
        grid-template-columns: 1fr 0.8fr;
    }

    .timeline-title {
        font-size: 19px;
    }

    .timeline-description {
        font-size: 14px;
        line-height: 1.8;
    }


    .client-content-wrapper {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
    }

    .after-image figure {
        flex: 1 1 0;
        min-width: 0;
    }


    .timeline-image img {
        height: 320px;
    }

    .figure-demo, .blog-list-desc, .custom-studio-padding, .studio-ethical-image figure, .studio-content, .client-list-desc, .client-image, .portfolio-details-image, .tattoo-practice figure, .studio.page-desc {
        max-width: 100%;
    }

    .tattoo-practice {
        gap: 20px;
    }

    /* Festival Section */
    .festival-wrapper {
        height: 100%;
    }

    .client-image {

        height: 700px;
    }

    .evolution-article-group>div {
        flex-basis: calc(50% - 45px);
    }

    .festival-content-wrapper {
        flex-basis: calc(50% - 45px)
    }

    .studio.page-header-title, .custom-border-before {
        max-width: 100%;
    }

    .custom-craft-gap-row, .founder-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-image.sketch, .process-image.needle, .process-image.stencil, .process-image.final {
        width: 53px;
        height: 80px;
    }

    figure.process-image.sketch, figure.process-image.needle {
        top: -27px;
        left: -6px;
    }

    figure.process-image.stencil, figure.process-image.final {
        top: -24px;
        right: -12px;
    }

    .architecture-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: repeat(3, 234px);
        gap: 12px;
        padding: 0;
    }

    .architecture-content,
    .brick-carving,
    .stone-carving,
    .geometric-tattoo {
        grid-column: span 2;
        grid-row: auto;
    }

    .pagoda-banner {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .knowledge-content-first {
        padding-right: 0;
    }

    .portfolio-img {
        max-width: 1000px;
    }

    .portfolio-image-gallery {
        justify-content: flex-start;
    }


}

/* ==========================
       MOBILE
    ========================== */

@media (max-width: 767.98px) {

    .content-wrapper {
        padding-left: 0;
    }

    .page-header-title {
        line-height: 30px;
    }

    .craft-text {
        padding-right: 0;
    }

    .research-content-wrapper {
        grid-template-columns: 1fr;
        gap: 26px;
        min-height: auto;
    }

    .research-content {
        padding: 0 0 0 50px;
    }

    .research-content::before,
    .research-content.research-second::before,
    .research-content.research-third::before,
    .research-content.research-four::before {
        top: 12px;
        left: 14px;
        height: calc(100% - 12px);
    }

    .research-second::after,
    .research-third::after,
    .research-four::after {
        left: 8px;
        top: -4px;
    }

    .research-content-timeline {
        display: none;
    }

    .portfolio-details-image {
        max-width: 100%;
    }




    /* Process Card */
    .process-grid {
        grid-template-columns: minmax(300px, 500px);
        grid-template-areas: "sketch"
            "stencil"
            "needle"
            "final";
        /* width: 100%; */
    }

    .client-content-wrapper {
        grid-template-columns: auto;
    }



    .stencil {
        justify-self: stretch;
    }

    .process-card,
    .process-card.final {
        width: 100%;
        height: auto;
        aspect-ratio: 605 / 440;
    }

    .process-card.final {
        aspect-ratio: 1088 / 438;
    }

    /* tatoo-library */
    .tattoo-library-gallery-content {
        padding: 0;
    }

    /* Heritage Section */

    .heritage-wrapper {
        --bs-gutter-x: 0;
    }

    .founder-content, .craft-content-wrapper, .custom-craft-gap-row {
        grid-template-columns: 1fr;
    }


    /* philosophy section */

    .philosophy-video {
        height: 100%;
    }

    .philosophy-wrapper {
        flex-wrap: wrap;
        gap: 48px
    }

    .philosophy-figure {
        flex-basis: 100%;
    }

    .feature-header-wrapper {
        flex-basis: 100%;
    }

    .figure-demo {
        max-width: 100%;
    }


    .festival-content-wrapper {
        flex-basis: 100%;
    }

    /* bento grid */

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: none;
        grid-template-rows: none;
        grid-auto-rows: 1fr;
    }

    .type-hero-left, .type-hero-right,
    .type-tri-left, .type-tri-center, .type-tri-right,
    .type-feature-left, .type-feature-right {
        grid-area: auto;
        /* fall back to normal source-order placement */
    }


    /* Studio section */

    .custom-studio-padding {
        max-width: 100%;
        border-right: none;
        padding-inline: 0;
        padding-block: 18px;
    }

    /* client responsive styles */



    /* Architecture Bento Grid */


    .architecture-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-auto-rows: 234px;
        gap: 12px;
        padding: 0;
    }

    .architecture-content,
    .brick-carving,
    .stone-carving,
    .geometric-tattoo {
        grid-column: 1 / -1;
        grid-row: auto;
    }



    .contact {
        grid-template-columns: 1fr;
        /* three rows, full width */
    }

    .history-section {
        padding: 40px 0 50px;
    }

    .history-container {
        padding: 0 18px;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline-item {
        display: block;
        padding-left: 50px;
        min-height: auto;
    }

    .timeline-year {
        position: static;
        padding: 0;
        text-align: left;
    }

    .timeline-year h2 {
        position: absolute;
        left: 48px;
        top: -10px;
        font-size: 36px;
    }

    .timeline-dot {
        left: 14px;
        right: auto;
        top: 7px;
    }

    .timeline-main {
        padding: 0px 0 75px;
    }

    .timeline-main::before {
        top: 10px;
        left: -32px;
        right: 0;
    }

    .timeline-grid,
    .timeline-item.reverse .timeline-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .timeline-copy {
        top: 2px;
    }

    .timeline-wrapper {
        padding-left: 12px;
    }

    .timeline-copy,
    .timeline-item.reverse .timeline-copy {
        order: 1;
    }

    .timeline-image,
    .timeline-item.reverse .timeline-image {
        order: 2;
        max-width: 100%;
        margin: 0;
    }

    .timeline-image, .timeline-item:nth-child(even) .timeline-wrapper {
        padding-left: 12px;
    }

    .timeline-image img {
        height: 430px;
    }

    .timeline-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .timeline-description {
        max-width: 100%;
        font-size: 14px;
    }

    .faq-section {
        grid-template-columns: auto;
    }

    .evolution-article-group>div {
        flex-basis: 100%;
    }

    .blogs-cards {
        flex-basis: 100%;
    }

    .max-w-md-100 {
        max-width: 100%;
    }

    .custom-craft-padding {
        padding: 0;
    }

    .heritage-content {
        padding: 32px 0 0 0;
    }

    .value-title h3 {
        max-width: 100%;
    }

    .studio-label {
        font-weight: 600;
        font-size: var(--font-size-14);
        line-height: 17.88px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        width: 213px;
    }


}

@media (max-width: 580px) {

    .hero-header {
        border: 1px solid var(--border-color-B8794A40);

    }

    .header-logo {
        width: 86px;
        height: 54px;
    }

    .header-badge {
        width: 54px;
        height: 54px;
        justify-self: start;
    }

    .header-book-now {
        display: flex;
    }

    .menu-btn svg {
        width: 24px;
        height: 24px;
    }

    .timeline-image img {
        height: 340px;
    }

    .timeline-year h2 {
        font-size: 31px;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .timeline-year h2 {
        left: 37px;
    }

    .timeline-main::before {
        left: -20px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    /* Fullscreen Overlay Container */
    .fullscreen-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--nav-bg);
        color: var(--nav-text);
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        /* Right-aligned text */
        padding: 40px 30px;
        box-sizing: border-box;

        /* Hidden state by default */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    /* Active state (Uses your JS class `.show`) */
    .fullscreen-nav.show {
        opacity: 1;
        visibility: visible;
    }

    article.review-content-wrapper {
        flex: 0 0 150px;
    }

    .review-content {
        padding: 22px;

    }

    .footer-bottom-container {
        padding: 26px 0;
    }


}