:root {
    --primary: #01261f;
    --primary-container: #1a3c34;
    --secondary: #5f5e5e;
    --surface: #faf9f7;
    --surface-container: #eeeeec;
    --outline-variant: #c1c8c4;
    --brand-gold: #d4af37;
    --brand-gold-hover: #c4a030;
}

body {
    background:
        radial-gradient(circle at top left, rgba(170, 206, 195, 0.24), transparent 34rem),
        linear-gradient(180deg, #faf9f7 0%, #f4f4f2 44%, #faf9f7 100%);
}

body.modal-open {
    overflow: hidden;
}

html {
    scroll-padding-top: 96px;
}

.section-anchor {
    scroll-margin-top: 96px;
}

.nav-link {
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link::after {
    background: var(--brand-gold);
    bottom: -0.125rem;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.brand-lockup {
    align-items: center;
    color: var(--primary);
    display: inline-flex;
    flex-shrink: 0;
    gap: 0.75rem;
    min-width: max-content;
}

.brand-logo {
    height: 4rem;
    object-fit: contain;
    width: 4rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    font-family: "Playfair Display", serif;
    font-size: 1.28rem;
    font-weight: 700;
}

.brand-text small {
    color: var(--secondary);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
    text-transform: uppercase;
}

#desktop-nav {
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.blueprint-divider {
    background-color: rgba(193, 200, 196, 0.5);
    height: 1px;
    margin: 2rem 0;
    position: relative;
}

.blueprint-divider::after {
    background-color: var(--brand-gold);
    content: "";
    height: 4px;
    position: absolute;
    right: 0;
    top: -1.5px;
    transform: rotate(45deg);
    width: 4px;
}

.js-enabled .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.js-enabled .reveal.is-visible,
.reveal {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-150 {
    transition-delay: 150ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.trust-item {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

.trust-item > .material-symbols-outlined {
    align-items: center;
    background: rgba(26, 60, 52, 0.05);
    border-radius: 9999px;
    display: flex;
    height: 4rem;
    justify-content: center;
    width: 4rem;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(193, 200, 196, 0.35);
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(26, 60, 52, 0.05);
    padding: 2rem;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-icon {
    color: var(--brand-gold);
    display: block;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3,
.process-step h3 {
    color: var(--primary);
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2rem;
    margin-bottom: 0.75rem;
}

.service-card p,
.process-step p {
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1.5rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    position: relative;
}

.process-step > span {
    align-items: center;
    background: #fff;
    border: 2px solid var(--brand-gold);
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: var(--primary);
    display: flex;
    flex: 0 0 3.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    height: 3.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.process-step > div {
    padding-top: 0.75rem;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gallery-filters {
    justify-content: center;
    margin-bottom: 2rem;
}

.project-filter {
    background: var(--surface-container);
    border: 1px solid transparent;
    border-radius: 9999px;
    color: var(--secondary);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.65rem 1rem;
    text-transform: uppercase;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.project-filter:hover,
.project-filter.active {
    background: rgba(26, 60, 52, 0.08);
    border-color: rgba(1, 38, 31, 0.12);
    color: var(--primary);
}

.process-intro {
    color: var(--secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1.25rem;
    max-width: 42rem;
}

.process-assurance-grid {
    border-top: 1px solid rgba(193, 200, 196, 0.65);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 4rem;
}

.process-assurance-grid > div {
    background: rgba(255, 255, 255, 0.64);
    padding: 1.5rem 1.25rem;
}

.process-assurance-grid .material-symbols-outlined {
    color: var(--brand-gold);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.process-assurance-grid strong {
    color: var(--primary);
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.process-assurance-grid p {
    color: var(--secondary);
    font-size: 0.94rem;
    line-height: 1.55;
}

.about-media {
    min-height: 0;
}

.about-media img {
    border: 1px solid rgba(193, 200, 196, 0.35);
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.about-media-single img {
    aspect-ratio: 16 / 9;
    background: #fff;
    object-fit: contain;
    padding: 0.75rem;
}

.project-grid {
    display: grid;
    gap: 1rem;
    grid-auto-flow: dense;
    grid-auto-rows: 220px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-card,
.video-card {
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(26, 60, 52, 0.05);
    overflow: hidden;
    position: relative;
}

.project-card {
    background: #fff;
    cursor: zoom-in;
}

.project-card.is-filtered-out {
    display: none;
}

.project-feature {
    grid-column: span 2;
    grid-row: span 2;
}

.project-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
    width: 100%;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card::after {
    background: linear-gradient(to top, rgba(1, 38, 31, 0.85), transparent 65%);
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 240ms ease;
}

.project-card:hover::after {
    opacity: 1;
}

.project-card figcaption {
    bottom: 1rem;
    color: #fff;
    left: 1rem;
    opacity: 0;
    position: absolute;
    transform: translateY(10px);
    transition: opacity 240ms ease, transform 240ms ease;
    z-index: 1;
}

.project-card:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

.project-card span,
.video-card span {
    background: var(--brand-gold);
    border-radius: 0.25rem;
    color: #fff;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    padding: 0.2rem 0.5rem;
}

.project-card strong,
.video-card h3 {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.project-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.project-view-more {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(1, 38, 31, 0.18);
    border-radius: 9999px;
    color: var(--primary);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 0.5rem;
    letter-spacing: 0.04em;
    padding: 0.8rem 1.15rem;
    text-transform: uppercase;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.project-view-more:hover {
    background: var(--primary);
    border-color: var(--brand-gold);
    color: #fff;
}

.project-view-more .material-symbols-outlined {
    color: currentColor;
    font-size: 1.15rem;
    transition: transform 220ms ease;
}

.project-view-more:hover .material-symbols-outlined {
    transform: translateX(4px);
}


.gallery-hero {
    background:
        linear-gradient(90deg, rgba(1, 38, 31, 0.94), rgba(1, 38, 31, 0.66)),
        url("site-assets/image20.jpg") center/cover;
    padding-bottom: 8rem;
    padding-top: 8rem;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-auto-flow: dense;
    grid-auto-rows: 230px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.gallery-modal {
    align-items: center;
    background: rgba(250, 249, 247, 0.96);
    backdrop-filter: blur(8px);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 5rem 6rem;
    position: fixed;
    z-index: 100;
}

.gallery-modal.is-open {
    display: flex;
}

.gallery-modal figure {
    margin: 0;
    max-height: 88vh;
    max-width: min(1100px, 100%);
}

.gallery-modal img {
    border-radius: 0.75rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    max-height: 78vh;
    max-width: 100%;
    object-fit: contain;
}

.gallery-modal figcaption {
    color: var(--primary);
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    margin-top: 1rem;
    text-align: center;
}

.gallery-modal button {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(193, 200, 196, 0.55);
    border-radius: 9999px;
    color: var(--primary);
    display: flex;
    height: 3.25rem;
    justify-content: center;
    position: absolute;
    transition: background 180ms ease, transform 180ms ease;
    width: 3.25rem;
}

.gallery-modal button:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.04);
}

.gallery-modal__close {
    right: 1.5rem;
    top: 1.5rem;
}

.gallery-modal__prev {
    left: 1.5rem;
}

.gallery-modal__next {
    right: 1.5rem;
}

.video-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.video-card {
    background: #000;
    min-height: 420px;
}

.video-card video {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.video-card::after {
    background: linear-gradient(to top, rgba(1, 38, 31, 0.82), transparent 60%);
    content: "";
    inset: 0;
    position: absolute;
}

.video-card > div {
    bottom: 1.5rem;
    color: #fff;
    left: 1.5rem;
    position: absolute;
    right: 1.5rem;
    z-index: 1;
}

.care-promise-section {
    background: linear-gradient(180deg, #faf9f7 0%, #f4f4f2 100%);
    padding-bottom: 5rem;
}

.care-promise {
    background:
        linear-gradient(135deg, rgba(1, 38, 31, 0.96), rgba(26, 60, 52, 0.92)),
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.18), transparent 22rem);
    border-radius: 0.75rem;
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
    padding: 3rem;
}

.care-promise__intro p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
    max-width: 34rem;
}

.care-promise__intro a {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 0.45rem;
    letter-spacing: 0.04em;
    margin-top: 1.75rem;
    text-transform: uppercase;
}

.care-promise__intro a span {
    font-size: 1.1rem;
    transition: transform 180ms ease;
}

.care-promise__intro a:hover span {
    transform: translateX(4px);
}

.care-promise__grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.care-promise__grid > div {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.35rem;
}

.care-promise__grid .material-symbols-outlined {
    color: var(--brand-gold);
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.care-promise__grid strong {
    color: #fff;
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.care-promise__grid p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.94rem;
    line-height: 1.55;
}

.contact-row {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
}

.contact-row > .material-symbols-outlined {
    align-items: center;
    background: var(--surface-container);
    border-radius: 9999px;
    color: var(--primary);
    display: flex;
    flex: 0 0 3rem;
    height: 3rem;
    justify-content: center;
}

.contact-row h4 {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.25rem;
    margin-bottom: 0.25rem;
}

.contact-row a,
.contact-row p {
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1.5rem;
    transition: color 180ms ease;
}

.contact-row a:hover {
    color: var(--brand-gold);
}

.feedback-invite {
    align-items: center;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(193, 200, 196, 0.48);
    border-left: 3px solid var(--brand-gold);
    border-radius: 0.75rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2.5rem;
    max-width: 34rem;
    padding: 1.25rem;
}

.feedback-invite strong {
    color: var(--primary);
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feedback-invite p {
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.feedback-button,
.feedback-submit {
    align-items: center;
    background: var(--brand-gold);
    border-radius: 0.375rem;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.875rem;
    font-weight: 600;
    justify-content: center;
    letter-spacing: 0.05em;
    line-height: 1.25rem;
    padding: 0.9rem 1.25rem;
    transition: background 180ms ease, transform 180ms ease;
}

.feedback-button:hover,
.feedback-submit:hover {
    background: var(--brand-gold-hover);
    transform: translateY(-1px);
}

.form-field {
    background: var(--surface);
    border-color: rgba(193, 200, 196, 0.5);
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: var(--primary);
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
}

.form-field:focus {
    border-color: var(--primary-container);
    box-shadow: 0 0 0 3px rgba(26, 60, 52, 0.2);
    outline: none;
}

.reviews-section {
    background:
        linear-gradient(135deg, rgba(1, 38, 31, 0.96), rgba(26, 60, 52, 0.92)),
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 16rem);
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    color: #fff;
    padding-bottom: 1.35rem;
    padding-top: 1.35rem;
}

.reviews-section[hidden] {
    display: none;
}

.reviews-inner {
    margin: 0 auto;
    max-width: 820px;
}

.reviews-header {
    align-items: baseline;
    display: flex;
    gap: 0.6rem;
    justify-content: flex-start;
    margin-bottom: 0.6rem;
}

.reviews-header span {
    color: var(--brand-gold);
    display: block;
    font-size: 0.66rem;
    margin-bottom: 0;
}

.reviews-header h2 {
    color: #fff;
    font-size: 1rem;
    line-height: 1.3rem;
}

.reviews-carousel {
    position: relative;
}

.reviews-viewport {
    overflow: hidden;
}

.reviews-track {
    animation: reviews-marquee 22s linear infinite;
    display: flex;
    gap: 0.6rem;
    width: max-content;
    will-change: transform;
}

.reviews-carousel:hover .reviews-track {
    animation-play-state: paused;
}

.review-card {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 0.5rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
    color: #fff;
    flex: 0 0 230px;
    min-height: 5.8rem;
    padding: 0.65rem;
}

.review-card__meta {
    align-items: flex-start;
    display: grid;
    gap: 0.35rem;
    grid-template-columns: 1fr auto;
    margin-bottom: 0.35rem;
}

.review-card h3 {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
}

.review-card time {
    color: rgba(255, 255, 255, 0.64);
    display: block;
    font-size: 0.64rem;
    margin-top: 0.1rem;
}

.review-stars,
.star-rating {
    align-items: center;
    color: var(--brand-gold);
    display: flex;
    gap: 0.18rem;
}

.review-stars {
    flex: 0 0 auto;
    font-size: 0.68rem;
    letter-spacing: 0;
}

.review-card p {
    color: rgba(255, 255, 255, 0.78);
    display: -webkit-box;
    font-size: 0.72rem;
    line-height: 1.4;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@keyframes reviews-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 0.3rem));
    }
}

.feedback-modal {
    align-items: center;
    background: rgba(1, 38, 31, 0.58);
    backdrop-filter: blur(8px);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 1.25rem;
    pointer-events: none;
    position: fixed;
    transition: opacity 220ms ease;
    z-index: 80;
}

.feedback-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.feedback-dialog {
    background: rgba(250, 249, 247, 0.96);
    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: 0.75rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    color: var(--primary);
    max-height: min(90vh, 780px);
    max-width: 760px;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    transform: translateY(14px);
    transition: transform 220ms ease;
    width: min(100%, 760px);
}

.feedback-modal.is-open .feedback-dialog {
    transform: translateY(0);
}

.feedback-close {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(193, 200, 196, 0.55);
    border-radius: 9999px;
    color: var(--primary);
    display: flex;
    height: 2.5rem;
    justify-content: center;
    position: absolute;
    right: 1rem;
    top: 1rem;
    transition: background 180ms ease, color 180ms ease;
    width: 2.5rem;
}

.feedback-close:hover {
    background: var(--primary);
    color: #fff;
}

.feedback-dialog__header {
    padding-right: 3rem;
}

.feedback-dialog__header span {
    color: var(--brand-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.feedback-dialog__header h2 {
    color: var(--primary);
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

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

.feedback-rating-list {
    display: grid;
    gap: 1rem;
}

.rating-field {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(193, 200, 196, 0.36);
    border-radius: 0.625rem;
    padding: 1rem;
}

.rating-label {
    color: var(--primary);
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.65rem;
}

.star-rating button {
    color: rgba(95, 94, 94, 0.36);
    font-size: 1.45rem;
    line-height: 1;
    transition: color 160ms ease, transform 160ms ease;
}

.star-rating button.is-active,
.star-rating button:hover,
.star-rating button:focus {
    color: var(--brand-gold);
}

.star-rating button:hover,
.star-rating button:focus {
    transform: translateY(-1px);
}

.feedback-status {
    color: var(--secondary);
    font-size: 0.95rem;
    min-height: 1.45rem;
}

.feedback-status.is-success {
    color: var(--primary-container);
    font-weight: 600;
}

.feedback-status.is-error {
    color: #8a1f1f;
    font-weight: 600;
}

.feedback-submit {
    border-radius: 0.375rem;
    padding: 1rem 1.25rem;
    width: 100%;
}

.feedback-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.site-footer {
    background: var(--inverse-surface, #2f3130);
    color: var(--inverse-on-surface, #f1f1ef);
}

.footer-inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(230px, 1.4fr) repeat(4, minmax(140px, 1fr));
    margin: 0 auto;
    max-width: 1280px;
    padding: 4rem 64px;
}

.footer-inner-compact {
    grid-template-columns: minmax(230px, 1.5fr) minmax(150px, 0.8fr) minmax(190px, 1fr);
}

.footer-brand-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.footer-brand {
    align-items: center;
    color: #fff;
    display: inline-flex;
    gap: 0.85rem;
    max-width: 100%;
}

.footer-brand img {
    filter: brightness(0) invert(1);
    flex: 0 0 4.25rem;
    height: 4.25rem;
    object-fit: contain;
    width: 4.25rem;
}

.footer-brand span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.footer-brand strong {
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    line-height: 1.05;
    white-space: nowrap;
}

.footer-brand small {
    color: rgba(227, 226, 225, 0.78);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
    text-transform: uppercase;
}

.footer-brand-panel p {
    color: rgba(227, 226, 225, 0.75);
    line-height: 1.55;
    max-width: 19rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column h4 {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-column a,
.footer-column p {
    color: rgba(227, 226, 225, 0.8);
    font-size: 1rem;
    line-height: 1.5rem;
    transition: color 180ms ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-socials a {
    align-items: center;
    display: flex;
    gap: 0.7rem;
}

.social-icon {
    align-items: center;
    border: 1px solid rgba(227, 226, 225, 0.28);
    border-radius: 9999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 1.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    height: 1.85rem;
    justify-content: center;
    line-height: 1;
    width: 1.85rem;
}

.material-symbols-outlined.social-icon {
    font-size: 1rem;
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 80px;
    }

    .section-anchor {
        scroll-margin-top: 80px;
    }

    .font-headline-lg,
    .text-headline-lg {
        font-size: 2.25rem;
        line-height: 2.75rem;
    }

    .text-headline-xl-mobile {
        font-size: 2.35rem;
        line-height: 2.85rem;
    }

    .py-section-padding {
        padding-bottom: 4.5rem;
        padding-top: 4.5rem;
    }

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

    .project-feature {
        grid-column: span 1;
        grid-row: span 1;
    }

    .brand-logo {
        height: 3.25rem;
        width: 3.25rem;
    }

    .brand-text strong {
        font-size: 1.08rem;
    }

    .brand-text small {
        font-size: 0.62rem;
    }

    .about-media img,
    .about-media-single img {
        min-height: 0;
        padding: 0.45rem;
    }

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

    .gallery-hero {
        padding-bottom: 5rem;
        padding-top: 5rem;
    }

    .process-assurance-grid {
        grid-template-columns: 1fr;
        margin-top: 3rem;
    }

    .gallery-modal {
        padding: 4rem 1rem;
    }

    .gallery-modal__prev {
        bottom: 1.25rem;
        left: calc(50% - 4rem);
    }

    .gallery-modal__next {
        bottom: 1.25rem;
        right: calc(50% - 4rem);
    }

    .video-card {
        min-height: 300px;
    }

    .care-promise-section {
        padding-bottom: 4rem;
    }

    .care-promise {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .care-promise__grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        gap: 1rem;
    }

    .process-step > span {
        flex-basis: 3rem;
        height: 3rem;
    }

    .process-step h3 {
        font-size: 1.25rem;
        line-height: 1.7rem;
    }

    .project-actions {
        justify-content: flex-start;
    }

    .project-view-more {
        font-size: 0.78rem;
        padding: 0.72rem 1rem;
    }

    .feedback-invite {
        align-items: stretch;
        flex-direction: column;
    }

    .feedback-button {
        width: 100%;
    }

    .reviews-section {
        padding-bottom: 1.5rem;
        padding-top: 1.5rem;
    }

    .reviews-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }

    .review-card {
        flex-basis: min(100%, 230px);
    }

    .feedback-dialog {
        max-height: 92vh;
        padding: 1.4rem;
    }

    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .rating-field {
        padding: 0.9rem;
    }
}

@media (max-width: 420px) {
    .brand-lockup {
        gap: 0.55rem;
    }

    .brand-logo {
        height: 2.9rem;
        width: 2.9rem;
    }

    .brand-text strong {
        font-size: 1rem;
    }

    .brand-text small {
        display: none;
    }

    .text-headline-xl-mobile {
        font-size: 2rem;
        line-height: 2.45rem;
    }

    .project-grid,
    .gallery-grid {
        grid-auto-rows: 200px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .review-card {
        flex-basis: 230px;
    }

    .footer-inner,
    .footer-inner-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 3.5rem 32px;
    }
}

@media (max-width: 640px) {
    .review-card {
        flex-basis: min(82vw, 230px);
    }

    .footer-inner,
    .footer-inner-compact {
        grid-template-columns: 1fr;
        padding: 3rem 20px;
    }

    .footer-brand strong {
        font-size: 1.25rem;
    }

    .footer-brand small {
        font-size: 0.62rem;
    }
}

@media (min-width: 1024px) and (max-width: 1180px) {
    .brand-text {
        display: none;
    }
}

@media (max-width: 1023px) {
    .brand-text {
        display: flex;
    }

    .brand-logo {
        height: 3.6rem;
        width: 3.6rem;
    }

    .brand-text strong {
        font-size: 1.18rem;
    }

    .brand-text small {
        font-size: 0.62rem;
    }

    #mobile-menu {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    #mobile-menu > div {
        gap: 0.25rem;
        padding: 1.1rem 1.25rem;
    }

    #mobile-menu .nav-link {
        display: inline-flex;
        padding-bottom: 0.35rem;
        width: fit-content;
    }

    #mobile-menu .nav-link::after {
        bottom: -0.3rem;
        width: 1.6rem;
    }

    #mobile-menu .nav-link.active::after,
    #mobile-menu .nav-link:hover::after {
        transform: scaleX(1);
    }

    #projects .mb-12 {
        margin-bottom: 2rem;
    }

    #projects h2 {
        font-size: 2.25rem;
        line-height: 2.7rem;
    }

    #projects .flex-wrap {
        gap: 0.5rem;
    }

    .project-preview-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
}

@media (min-width: 520px) and (max-width: 767px) {
    .project-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }

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