:root {
    --bg: #050807;
    --panel: rgba(255, 255, 255, 0.045);
    --panel-strong: rgba(255, 255, 255, 0.075);
    --cream: #f4eee6;
    --muted: rgba(244, 238, 230, 0.68);
    --soft: rgba(244, 238, 230, 0.42);
    --line: rgba(255, 255, 255, 0.12);
    --gold: #c99763;
    --sage: #7d9581;
    --rose: #c9a6a0;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(125, 149, 129, 0.1), transparent 28rem),
        radial-gradient(circle at 80% 20%, rgba(201, 151, 99, 0.11), transparent 30rem),
        var(--bg);
    color: var(--cream);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

body::selection {
    background: var(--gold);
    color: #050807;
}

img {
    max-width: 100%;
}

a,
button,
input,
textarea {
    font: inherit;
}

a {
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section {
    padding: 7.5rem 8%;
}

.section-tag,
.small-text,
.section-title {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.34rem;
    text-transform: uppercase;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: end;
    margin-bottom: 2.4rem;
}

.section-heading h2 {
    max-width: 760px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.6rem, 5vw, 5.4rem);
    line-height: 0.98;
    font-weight: 500;
}

.section-intro {
    max-width: 440px;
    color: var(--muted);
    line-height: 1.75;
}

.services-heading {
    display: grid;
    justify-content: center;
    text-align: center;
}

.services-heading .section-tag {
    margin-bottom: 1.1rem;
}

.services-heading h2 {
    max-width: 820px;
}

.projects-heading {
    display: grid;
    justify-content: start;
    text-align: left;
}

.projects-heading .section-intro {
    max-width: 700px;
    margin-top: 1rem;
}

.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(920px, calc(100% - 32px));
    padding: 0.9rem 1.15rem 0.9rem 1.45rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: rgba(5, 8, 7, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1000;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.navbar.scrolled {
    background: rgba(5, 8, 7, 0.88);
    border-color: rgba(255, 255, 255, 0.18);
}

.brand {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.04rem;
    color: var(--cream);
    text-decoration: none;
    white-space: nowrap;
}

nav ul {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.4rem);
    list-style: none;
}

nav a {
    color: rgba(244, 238, 230, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
    color: #d7e1d5;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 12rem 8% 6rem;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3, 6, 5, 0.92), rgba(3, 6, 5, 0.38), rgba(3, 6, 5, 0.9)),
        linear-gradient(0deg, rgba(3, 6, 5, 0.38), rgba(3, 6, 5, 0.3)),
        url("forest-bg.jpg");
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 16rem;
    background: linear-gradient(transparent, var(--bg));
    pointer-events: none;
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 32%, rgba(244, 238, 230, 0.18), transparent 19rem),
        radial-gradient(circle at 60% 78%, rgba(125, 149, 129, 0.18), transparent 16rem);
    mix-blend-mode: screen;
    opacity: 0.45;
    pointer-events: none;
    transition: background 0.45s ease, opacity 0.45s ease;
    transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0);
}

.hero[data-mood="luxury"] .hero-atmosphere {
    background:
        radial-gradient(circle at 28% 30%, rgba(244, 238, 230, 0.22), transparent 17rem),
        radial-gradient(circle at 72% 42%, rgba(201, 166, 160, 0.22), transparent 18rem);
}

.hero[data-mood="cozy"] .hero-atmosphere {
    background:
        radial-gradient(circle at 30% 34%, rgba(201, 151, 99, 0.24), transparent 18rem),
        radial-gradient(circle at 72% 74%, rgba(125, 149, 129, 0.22), transparent 18rem);
}

.hero[data-mood="bold"] .hero-atmosphere {
    background:
        radial-gradient(circle at 28% 32%, rgba(108, 139, 194, 0.22), transparent 17rem),
        radial-gradient(circle at 78% 44%, rgba(201, 151, 99, 0.2), transparent 19rem);
}

.hero-mist {
    position: absolute;
    width: 46rem;
    height: 18rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(244, 238, 230, 0.16), transparent 66%);
    filter: blur(24px);
    opacity: 0.28;
    pointer-events: none;
    animation: driftMist 13s ease-in-out infinite alternate;
}

.hero-mist-one {
    top: 20%;
    left: -12rem;
}

.hero-mist-two {
    right: -14rem;
    bottom: 20%;
    animation-duration: 16s;
    animation-direction: alternate-reverse;
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
}

.small-text {
    margin-bottom: 1.4rem;
    color: rgba(244, 238, 230, 0.72);
}

.hero h1 {
    max-width: 980px;
    color: var(--cream);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.5rem, 6vw, 6.8rem);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: 0;
    text-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.hero-description {
    max-width: 660px;
    margin-top: 1.6rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.8;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.hero-copy-changing {
    opacity: 0;
    transform: translateY(8px);
}

.hero-mood-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.8rem;
}

.mood-btn {
    min-height: 44px;
    padding: 0.72rem 1rem;
    color: rgba(244, 238, 230, 0.86);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mood-btn:hover,
.mood-btn.active {
    transform: translateY(-2px);
    color: #f8f3ea;
    border-color: rgba(215, 225, 213, 0.78);
    background: rgba(125, 149, 129, 0.2);
}

.feeling-panel {
    max-width: 660px;
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(5, 8, 7, 0.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.feeling-label {
    margin-bottom: 0.45rem;
    color: #d7e1d5;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.22rem;
}

#feeling-copy {
    color: rgba(244, 238, 230, 0.76);
    font-size: 0.94rem;
    line-height: 1.55;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.7rem;
}

.hero-projects {
    position: relative;
    display: grid;
    gap: 0.85rem;
    justify-self: end;
    width: min(100%, 380px);
    perspective: 1000px;
}

.hero-project-card {
    position: relative;
    min-height: 156px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 0;
    color: var(--cream);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
    transform: translateX(0) rotateY(-5deg);
    transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.hero-project-card:nth-child(2) {
    margin-left: 2.2rem;
}

.hero-project-card:nth-child(3) {
    margin-left: 4.4rem;
}

.hero-project-card:hover,
.hero-project-card.active {
    transform: translateX(-8px) rotateY(0deg);
    border-color: rgba(215, 225, 213, 0.78);
}

.hero-project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0.74;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.hero-project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 8, 7, 0.78), rgba(5, 8, 7, 0.2) 58%, rgba(5, 8, 7, 0.5)),
        linear-gradient(transparent 20%, rgba(5, 8, 7, 0.55), rgba(5, 8, 7, 0.94));
}

.hero-project-card:hover img,
.hero-project-card.active img {
    transform: scale(1.05);
    opacity: 0.82;
}

.hero-project-card span,
.hero-project-card strong {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: calc(100% - 2rem);
    margin-left: 1rem;
    margin-right: 1rem;
}

.hero-project-card span {
    margin-bottom: 0.35rem;
    padding: 0.36rem 0.5rem;
    color: #111713;
    background: rgba(244, 238, 230, 0.86);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
}

.hero-project-card strong {
    margin-bottom: 1rem;
    padding: 0.55rem 0.7rem 0.65rem;
    color: #fffaf2;
    background: rgba(5, 8, 7, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.75rem;
    line-height: 1;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.primary-btn {
    background: var(--cream);
    color: var(--bg);
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--cream);
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-3px);
}

.secondary-btn:hover {
    border-color: var(--gold);
    background: rgba(201, 151, 99, 0.08);
}

.scroll-indicator {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 3.2rem;
    transform: translateX(-50%);
    color: rgba(244, 238, 230, 0.52);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.34rem;
}

.about-section {
    padding-top: 6.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1.1fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.about-image img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: 52% center;
}

.about-text h2 {
    max-width: 650px;
    margin: 1.4rem 0 1.8rem;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.4rem, 6vw, 6.4rem);
    font-weight: 500;
    line-height: 0.96;
}

.about-text p {
    max-width: 720px;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 0.9rem;
}

.about-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.about-notes span,
.service-tags span {
    display: inline-flex;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(244, 238, 230, 0.78);
    font-size: 0.84rem;
}

.about-belief {
    margin-top: 2rem;
    padding-left: 1.2rem;
    border-left: 1px solid rgba(201, 151, 99, 0.7);
    color: var(--cream) !important;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15 !important;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    perspective: 1200px;
}

.project-card {
    display: flex;
    min-height: 560px;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.2);
    transition: border-color 0.25s ease, transform 0.18s ease, background 0.25s ease;
    transform-style: preserve-3d;
}

.project-card:hover {
    border-color: rgba(201, 151, 99, 0.72);
    background: var(--panel-strong);
}

.project-thumb {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.project-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.65s ease, filter 0.65s ease;
}

.project-card:hover .project-thumb img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.06);
}

.project-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 8, 7, 0.52);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.project-card:hover .project-thumb-overlay {
    opacity: 1;
}

.project-thumb-overlay span {
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    color: var(--cream);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
}

.project-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: end;
    padding: 2rem;
}

.project-kicker {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.project-info h3 {
    margin-bottom: 1rem;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1;
}

.project-info p:not(.project-kicker) {
    color: var(--muted);
    line-height: 1.8;
}

.services-section {
    background:
        linear-gradient(rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.018)),
        transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.service-card {
    min-height: 340px;
    padding: 2rem;
    text-align: left;
    color: var(--cream);
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-icon {
    display: block;
    width: 116px;
    height: 116px;
    margin-bottom: 1.35rem;
    border-radius: 999px;
    object-fit: cover;
    opacity: 0.88;
    filter: drop-shadow(0 14px 35px rgba(0, 0, 0, 0.36));
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.service-card:hover,
.service-card.active {
    transform: translateY(-5px);
    border-color: rgba(201, 151, 99, 0.72);
    background: rgba(201, 151, 99, 0.08);
}

.service-card:hover .service-icon,
.service-card.active .service-icon {
    opacity: 1;
    transform: translateY(-4px) scale(1.03);
}

.service-number {
    display: block;
    margin-bottom: 1.7rem;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.24rem;
}

.service-card h3,
.service-stage h3 {
    margin-bottom: 1rem;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.25rem;
    line-height: 1;
}

.service-card p,
.service-stage p {
    color: var(--muted);
    line-height: 1.8;
}

.service-stage {
    margin-top: 1.4rem;
    padding: clamp(2rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 0.35fr 0.65fr;
    gap: 2rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(125, 149, 129, 0.14), transparent 42%),
        rgba(255, 255, 255, 0.04);
}

.service-stage-label {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.28rem;
}

.service-stage h3,
.service-stage #service-copy,
.service-tags {
    grid-column: 2;
}

.service-stage #service-copy {
    max-width: 780px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.4rem;
}

.contact-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: start;
}

.contact-left h2 {
    margin: 1.3rem 0 1.7rem;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(4rem, 9vw, 8.2rem);
    font-weight: 600;
    line-height: 0.83;
}

.contact-left h2 span {
    color: var(--soft);
    font-style: italic;
}

.contact-left p {
    max-width: 480px;
    color: var(--muted);
    line-height: 1.9;
}

.contact-details {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
}

.contact-details span {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.26rem;
}

.contact-form-box {
    padding: clamp(1.5rem, 4vw, 3.2rem);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.65rem;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    color: white;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.option-section {
    margin-top: 2.5rem;
}

.section-title {
    display: block;
    margin-bottom: 1rem;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.option-buttons button {
    min-height: 50px;
    padding: 0.8rem 1.1rem;
    color: var(--cream);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.option-buttons button:hover,
.option-buttons button.selected {
    transform: translateY(-2px);
    border-color: rgba(201, 151, 99, 0.78);
    background: rgba(201, 151, 99, 0.14);
}

.submit-btn {
    width: 100%;
    min-height: 58px;
    margin-top: 2.5rem;
    color: #050807;
    background: var(--cream);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.16rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    background: #fff7ed;
}

.form-note {
    margin-top: 1rem;
    color: var(--soft);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

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

@keyframes driftMist {
    from {
        transform: translate3d(-2rem, 0, 0) scale(1);
    }

    to {
        transform: translate3d(3rem, 1.5rem, 0) scale(1.12);
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-mist {
        animation: none;
    }
}

@media (max-width: 1050px) {
    .project-grid,
    .services-grid,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: auto;
    }

    .project-thumb {
        height: 360px;
    }

    .service-stage {
        grid-template-columns: 1fr;
    }

    .service-stage h3,
    .service-stage #service-copy,
    .service-tags {
        grid-column: auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-projects {
        justify-self: stretch;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-project-card,
    .hero-project-card:nth-child(2),
    .hero-project-card:nth-child(3) {
        margin-left: 0;
        transform: none;
    }

    .hero-project-card:hover,
    .hero-project-card.active {
        transform: translateY(-5px);
    }
}

@media (max-width: 760px) {
    .section {
        padding: 5.5rem 6%;
    }

    .navbar {
        top: 12px;
        width: calc(100% - 24px);
        align-items: flex-start;
        flex-direction: column;
        gap: 0.85rem;
        border-radius: 24px;
    }

    nav ul {
        width: 100%;
        gap: 0.65rem;
        justify-content: space-between;
    }

    nav a {
        font-size: 0.84rem;
    }

    .hero {
        min-height: 92vh;
        padding: 12rem 6% 5rem;
        align-items: end;
        background-position: center;
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 4.8rem);
    }

    .hero-projects {
        grid-template-columns: 1fr;
        margin-top: 1rem;
    }

    .hero-project-card {
        min-height: 118px;
    }

    .section-heading,
    .about-grid,
    .form-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .project-thumb {
        height: 270px;
    }

    .contact-details {
        margin-top: 2.5rem;
    }
}

@media (max-width: 480px) {
    .brand {
        font-size: 1.45rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .hero-buttons,
    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .mood-btn {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .project-info,
    .service-card,
    .contact-form-box {
        padding: 1.35rem;
    }
}
