:root {
    --navy: #213d5e;
    --navy-mid: #4173b0;
    --blue-pale: #c3d7ea;
    --cream: #fbf5f5;
    --gray-bg: #f6f6f6;
    --gold: #edce7a;
    --blush: #eabcb5;
    --text-body: #5b6470;
    --white: #ffffff;

    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'DM Sans', sans-serif;

    --container: 1200px;
    --pad-x: 2.5rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    line-height: 1.65;
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

.container{
    width: 428px;
    margin: 0 auto;
}


.btn {
    display: inline-block;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    opacity: 0.88;
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
}

.btn-block {
    display: block;
    width: 100%;
}



/* ---------- Header ---------- */

.site-header {
    background: var(--white);
    text-align: center;
    padding: 1.6rem var(--pad-x);
}

.site-header .logo {
    width: 178px;
    margin: 0 auto;
    height: auto;
}

/* ---------- Hero ---------- */

.hero {
    background: var(--blue-pale);
}

.eyebrow {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2.25px;
    line-height: 1;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 1.5rem;
}



.hero-header {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.14;
    color: #213D5E;
    font-family: var(--font-serif);
    font-weight: 600;
    font-style: italic;
}

.lead{
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1.6rem;
}

.btn.btn-navy.btn-hero {
    font-size: 1.5rem;
    width: 100%;
    padding: 1.8rem 2.4rem;
    font-weight: 500;
    letter-spacing: 2.25px;
    line-height: 1;
}

.hero-media {
    position: relative;
    padding: 4rem 2.7rem 1rem 2.7rem;
}

.hero-badge {
    position: absolute;
    top: 1rem;
    left: 4.2rem;
    width: 98px;
    z-index: 2;
}

.hero-image-mobile {
    width: 100%;
    border-radius: 4px;
    /* box-shadow: 0 20px 40px rgba(31, 58, 92, 0.18); */
}

.hero-image-desktop {
    width: 100%;
    border-radius: 4px;
    /* box-shadow: 0 20px 40px rgba(31, 58, 92, 0.18); */
    display: none;
}

.hero-content {
    padding: 2rem var(--pad-x) 2.4rem;
}


/* ---------- Projects intro ---------- */

.projects-intro {
    padding: 3rem var(--pad-x) 2.5rem;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    color: #213D5E;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    line-height: 1.14;
}

/* ---------- Project cards ---------- */

.project {
    padding-bottom: 3.5rem;
}

.eyebrowproject{
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2.25px;
    line-height: 1;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.left{
    text-align: left;
    margin-bottom: 1.6rem;
}

.note{
    font-family: var(--font-sans);
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1.6rem;
    font-weight: 500;
    line-height: 1.66;
}

.project-media {
    position: relative;
    margin-bottom: 1.5rem;
}

.project-badge {
    position: absolute;
    top: 1.4rem;
    left: 1.5rem;
    width: 98px;
    z-index: 2;
}

.project-image {
    width: 100%;
    display: block;
}

.project-content {
    padding: 4rem var(--pad-x);
}


.project-note {
    font-size: 1.5rem;
    line-height: 1.66;
    color: var(--navy);
}

.project-content .btn {
    margin-top: 1.6rem;
    font-size: 1.5rem;
    width: 100%;
    padding: 1.8rem 2.4rem;
    font-weight: 500;
    letter-spacing: 2.25px;
    line-height: 1;
}

/* ---------- Websites grid ---------- */

.websites {

    padding: 3rem var(--pad-x);
    text-align: center;
}

.websites-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    margin: 2rem -2.5rem;
    padding: 0 2.5rem 1rem;
    scrollbar-width: none;
}

.websites-grid::-webkit-scrollbar {
    display: none;
}

.websites-grid img {
    flex: 0 0 72%;
    width: 72%;
    border-radius: 9px;
    border: 1px solid #5b64702f;
    /* box-shadow: 0px 0px 00px rgba(31, 58, 92, 0.1); */
    scroll-snap-align: start;
    padding: 2rem;
}

.websites-grid .websites-extra {
    display: block;
}

.project-content .btn {
    margin-top: 1.6rem;
    font-size: 1.5rem;
    width: 100%;
    padding: 1.8rem 2.4rem;
    font-weight: 500;
    letter-spacing: 2.25px;
    line-height: 1;
}


/* ---------- Feature sections (graphic / logo / events) ---------- */

.feature-media {
    position: relative;
}

.eyebrow-light {
    color: var(--white);
}

.btn.btn-white.btn-hero {
    font-size: 1.5rem;
    width: 100%;
    padding: 1.8rem 2.4rem;
    font-weight: 500;
    letter-spacing: 2.25px;
    line-height: 1;
}


.feature-media > img:first-child {
    width: 100%;
}

.feature-badge {
    position: absolute;
    bottom: -5.6rem;
    right: 1.5rem;
    width: 110px;
    z-index: 2;
}

.feature-content {
    padding: 4rem var(--pad-x) 3rem;
}

.feature-graphic {
    background: var(--navy-mid);
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr;
}

.feature-logo{
    padding: 3.5rem 2.5rem;
}

.feature-badge.logo-badge {
    position: absolute;
    bottom: -1.6rem;
    right: 3.5rem;
    width: 110px;
    z-index: 2;
}

.feature-content.logo-content {
    padding: 4rem 0rem 0rem 0rem;
}




.feature-events {
    background: #F6F6F6;
    padding-bottom: 1rem;
}

.feature-events .feature-content {
    padding-top: 2.5rem;
}



.events-media {
    position: relative;
    aspect-ratio: 428 / 347.75;
}

.events-media .events-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.events-card {
    position: absolute;
    object-fit: cover;
    border-radius: 2px;
}

.events-card-1 {
    left: 20.6%;
    top: 14.5%;
    width: 40.5%;
    height: 66.5%;
    box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.15);
}

.events-card-2 {
    left: 53.5%;
    top: 22.3%;
    width: 35.8%;
    height: 62.3%;
    box-shadow: 5px 3px 10px rgba(0, 0, 0, 0.15);
}

/* ---------- About ---------- */

.about {
    background: var(--white);
    padding: 3.5rem var(--pad-x);
}

.about-media {
    position: relative;
}

.about-media img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.about-badge {
    position: absolute;
    bottom: 1.2rem;
    right: -0.4rem;
    width: 92px !important;
    height: 92px;
    border-radius: 50%;
    background: var(--blue-pale);
    box-shadow: 0 6px 16px rgba(31, 58, 92, 0.18);
    margin-bottom: 0 !important;
    z-index: 2;
}


/* ---------- Testimonials ---------- */

.testimonials {
    /* background: #F6F6F6; */
    padding: 3.5rem var(--pad-x);
    text-align: center;
}

.testimonial-container{
    width: 348px;
    height: 384px;
    padding: 2.4rem .5rem;
   
}

.testimonial-container h3{
   font-family: "Cormorant Garamond", serif;
   font-style: italic;
   font-weight: 400;
   
}

.testimonials .section-title {
    margin-bottom: 2.8rem;
}

.testimonials-grid {
    display: grid;
    gap: 3rem;
}

.testimonial {
    background: var(--white);
    border-radius: 10px;
    padding: 2.4rem 1.6rem 2rem;
    box-shadow: 0 16px 36px rgba(31, 58, 92, 0.08);
    margin-top: 2rem;
}

.testimonial-avatar {
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 50%;
    margin: -7.6rem auto 1.2rem;
    border: 4px solid var(--white);
    box-shadow: 0 6px 16px rgba(31, 58, 92, 0.15);

}

.stars {
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 0.9rem;
    font-size: 3.5rem;
}

.testimonial h3 {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    color: #000;
}

.testimonial p {
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
    color: #000;
    letter-spacing: .7px;
    line-height: 2.0;
}

.testimonial-name {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 700;
    margin: 2rem 0 0 0;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 2.8rem var(--pad-x) 3rem;
}

.site-footer h2 {
    color: var(--white);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
}


.site-footer > p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.8rem;
    margin: 0  auto 2rem  auto;

}

.footer-p{
    margin: 0 auto 1.6rem auto;
    width: 24.9rem;
    font-size: 1.5rem;
    font-weight: 400;

}


.footer-contacts {
    display: flex;
    flex-direction: column;
    row-gap: 0px;
    margin-bottom: 1.6rem;
    
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    gap: 1rem;
   

}

.contact-row img {
    width: 36px;
    height: 36px;
}

.site-footer .btn {
    margin-top: 1rem;
}

.btn.btn-white.btn-hero.bold{
    font-weight: 900;
}






