:root {
    --d7-ink: #171719;
    --d7-ink-soft: #242426;
    --d7-paper: #f6f6f6;
    --d7-white: #fff;
    --d7-muted: #a8a8aa;
    --d7-gold: var(--tl-color-theme-primary, #caa05c);
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 90px;
}

body {
    background: var(--d7-paper);
}

.d7-container {
    width: min(100% - 48px, 1280px);
    margin-inline: auto;
}

.d7-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(23, 23, 25, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.d7-header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.d7-brand {
    display: inline-flex;
    flex-direction: column;
    color: var(--d7-white);
    line-height: 1;
    flex-shrink: 0;
}

.d7-brand:hover {
    color: var(--d7-white);
}

.d7-brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    letter-spacing: .04em;
}

.d7-brand-caption {
    margin-top: 8px;
    font-family: var(--tl-ff-body);
    font-size: 9px;
    letter-spacing: .25em;
}

.d7-brand-caption span {
    margin-left: 8px;
    color: var(--d7-gold);
}

.d7-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.8vw, 42px);
}

.d7-nav a {
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.d7-nav a:hover,
.d7-footer-nav a:hover {
    color: var(--d7-gold);
}

.d7-nav .d7-nav-cta {
    padding: 13px 18px;
    border: 1px solid rgba(202, 160, 92, .7);
    color: var(--d7-gold);
}

.d7-nav .d7-nav-cta:hover {
    color: var(--d7-ink);
    background: var(--d7-gold);
}

.d7-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, .2);
}

.d7-menu-toggle span {
    display: block;
    height: 1px;
    margin: 5px 0;
    background: var(--d7-white);
}

.d7-hero {
    min-height: min(790px, calc(100vh - 86px));
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--d7-white);
    background:
        radial-gradient(ellipse at 76% 38%, rgba(202, 160, 92, .2), transparent 26%),
        radial-gradient(ellipse at 70% 82%, rgba(77, 88, 60, .45), transparent 38%),
        linear-gradient(112deg, #101112 0%, #1c1d1d 48%, #26302b 100%);
}

.d7-hero::before,
.d7-hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.d7-hero::before {
    width: 48vw;
    height: 48vw;
    right: -6vw;
    top: 5%;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    box-shadow: 0 0 0 50px rgba(255, 255, 255, .018), 0 0 0 110px rgba(255, 255, 255, .014);
}

.d7-hero::after {
    right: 13%;
    bottom: -5%;
    width: 26%;
    height: 74%;
    border-left: 1px solid rgba(202, 160, 92, .24);
    border-right: 1px solid rgba(202, 160, 92, .14);
    transform: skewX(-24deg);
}

.d7-hero-texture {
    position: absolute;
    inset: 0;
    opacity: .24;
    background-image: linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, .08) 50%, transparent 50.1%);
    background-size: 120px 100%;
    mask-image: linear-gradient(90deg, transparent 15%, #000 100%);
}

.d7-hero-content {
    position: relative;
    z-index: 1;
    padding-block: 110px 130px;
}

.d7-eyebrow {
    margin: 0 0 20px;
    color: var(--d7-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    line-height: 1.5;
    text-transform: uppercase;
}

.d7-hero h1,
.d7-section-heading h2,
.d7-location-heading h2,
.d7-contact-intro h2 {
    margin: 0;
    font-size: clamp(48px, 7vw, 92px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.035em;
}

.d7-hero h1 {
    max-width: 900px;
    color: var(--d7-white);
}

.d7-hero h1 span {
    display: block;
}

.d7-hero h1 span,
.d7-section-heading h2 span,
.d7-location-heading h2 span,
.d7-contact-intro h2 span {
    color: var(--d7-gold);
}

.d7-hero-description {
    max-width: 530px;
    margin: 28px 0 34px;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
    line-height: 1.8;
}

.d7-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 24px;
    color: var(--d7-ink);
    background: var(--d7-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.d7-button:hover {
    color: var(--d7-white);
    background: #a77f43;
    transform: translateY(-2px);
}

.d7-hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 72px;
    color: rgba(255, 255, 255, .6);
    font-size: 11px;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.d7-hero-note span {
    width: 34px;
    height: 1px;
    background: var(--d7-gold);
}

.d7-scroll-cue {
    position: absolute;
    right: max(24px, calc((100vw - 1280px) / 2));
    bottom: 44px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.d7-scroll-cue:hover {
    color: var(--d7-gold);
}

.d7-scroll-cue span {
    width: 1px;
    height: 42px;
    background: var(--d7-gold);
}

.d7-section {
    padding-block: clamp(80px, 10vw, 140px);
}

.d7-section-heading {
    max-width: 680px;
    margin-bottom: 56px;
}

.d7-section-heading h2,
.d7-location-heading h2,
.d7-contact-intro h2 {
    font-size: clamp(42px, 5.2vw, 68px);
}

.d7-section-heading > p:last-child,
.d7-location-heading > p,
.d7-contact-intro > p:not(.d7-eyebrow) {
    max-width: 560px;
    margin: 22px 0 0;
    color: var(--tl-color-text-body);
    font-size: 16px;
    line-height: 1.8;
}

.d7-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.d7-service-card {
    position: relative;
    min-height: 260px;
    padding: 32px;
    overflow: hidden;
    background: var(--d7-white);
    border: 1px solid rgba(25, 25, 25, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.d7-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(25, 25, 25, .09);
}

.d7-service-card-featured {
    color: var(--d7-white);
    background: var(--d7-ink);
}

.d7-service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 30px;
    color: var(--d7-gold);
    background: rgba(202, 160, 92, .12);
    font-size: 20px;
}

.d7-card-number {
    position: absolute;
    top: 39px;
    right: 32px;
    color: rgba(25, 25, 25, .3);
    font-size: 12px;
    letter-spacing: .1em;
}

.d7-service-card-featured .d7-card-number {
    color: rgba(255, 255, 255, .42);
}

.d7-service-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    font-weight: 500;
}

.d7-service-card-featured h3 {
    color: var(--d7-white);
}

.d7-service-card p {
    margin: 0;
    color: var(--tl-color-text-body);
    font-size: 14px;
    line-height: 1.7;
}

.d7-service-card-featured p {
    color: rgba(255, 255, 255, .68);
}

.d7-gallery {
    color: var(--d7-white);
    background: var(--d7-ink);
}

.d7-section-heading-light h2 {
    color: var(--d7-white);
}

.d7-section-heading-light > p:last-child {
    color: rgba(255, 255, 255, .64);
}

.d7-work-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
}

.d7-work-card {
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    overflow: hidden;
    background-color: #353735;
    background-image: linear-gradient(0deg, rgba(13, 14, 14, .94), rgba(13, 14, 14, .05) 75%), radial-gradient(ellipse at 65% 23%, rgba(202, 160, 92, .42), transparent 34%), linear-gradient(130deg, #202927, #4a5147 48%, #252b2a);
}

.d7-work-video-card {
    padding: 0;
}

.d7-work-video-card::before {
    display: none;
}

.d7-work-video-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.d7-work-card::before {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, .13);
    content: "";
    pointer-events: none;
}

.d7-work-two {
    background-image: linear-gradient(0deg, rgba(13, 14, 14, .94), rgba(13, 14, 14, .05) 75%), radial-gradient(ellipse at 30% 25%, rgba(182, 127, 86, .42), transparent 36%), linear-gradient(145deg, #302b28, #5b4539 50%, #292624);
}

.d7-work-three {
    background-image: linear-gradient(0deg, rgba(13, 14, 14, .94), rgba(13, 14, 14, .05) 75%), radial-gradient(ellipse at 72% 30%, rgba(110, 127, 99, .45), transparent 38%), linear-gradient(145deg, #242c29, #414d42 50%, #282b2a);
}

.d7-work-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    color: rgba(255, 255, 255, .17);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(60px, 9vw, 120px);
    transform: translate(-50%, -58%);
}

.d7-work-card > div {
    position: relative;
    z-index: 1;
}

.d7-work-card > div > span,
.d7-work-card small {
    color: rgba(255, 255, 255, .66);
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.d7-work-card h3 {
    margin: 8px 0 7px;
    color: var(--d7-white);
    font-size: 23px;
}

.d7-work-card small {
    letter-spacing: .02em;
    text-transform: none;
}

.d7-location-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin: 110px 0 34px;
}

.d7-location-heading h2 {
    color: var(--d7-white);
}

.d7-location-heading > p {
    max-width: 440px;
    margin: 0 0 7px;
    color: rgba(255, 255, 255, .64);
}

.d7-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.d7-location-card {
    min-height: 240px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    overflow: hidden;
    background-color: #39403b;
    background-image: linear-gradient(0deg, rgba(15, 17, 16, .88), transparent 80%), radial-gradient(ellipse at 30% 30%, rgba(95, 122, 91, .64), transparent 46%), linear-gradient(130deg, #303a36, #596653 55%, #25312f);
}

.d7-location-card::after {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    content: "";
    pointer-events: none;
}

.d7-location-city {
    background-image: linear-gradient(0deg, rgba(15, 17, 16, .9), transparent 80%), radial-gradient(ellipse at 70% 30%, rgba(202, 160, 92, .42), transparent 42%), linear-gradient(130deg, #2d3030, #565047 55%, #252a2b);
}

.d7-location-hills {
    background-image: linear-gradient(0deg, rgba(15, 17, 16, .9), transparent 80%), radial-gradient(ellipse at 40% 30%, rgba(145, 157, 112, .56), transparent 44%), linear-gradient(130deg, #263631, #667052 55%, #30382f);
}

.d7-location-heritage {
    background-image: linear-gradient(0deg, rgba(15, 17, 16, .9), transparent 80%), radial-gradient(ellipse at 70% 32%, rgba(178, 126, 85, .48), transparent 42%), linear-gradient(130deg, #36302b, #685543 55%, #302b28);
}

.d7-location-rural {
    background-image: linear-gradient(0deg, rgba(15, 17, 16, .9), transparent 80%), radial-gradient(ellipse at 25% 30%, rgba(140, 147, 88, .56), transparent 44%), linear-gradient(130deg, #354035, #656247 55%, #29332e);
}

.d7-location-forest {
    background-image: linear-gradient(0deg, rgba(15, 17, 16, .9), transparent 80%), radial-gradient(ellipse at 67% 24%, rgba(82, 123, 88, .6), transparent 42%), linear-gradient(130deg, #202e2b, #40564a 55%, #222a29);
}

.d7-location-photo {
    background-image: linear-gradient(0deg, rgba(15, 17, 16, .88), transparent 80%), url("../img/project/Supem denuwan/hinayak4.JPG");
    background-position: center;
    background-size: cover;
    cursor: pointer;
}

.d7-location-photo-28 {
    background-image: linear-gradient(0deg, rgba(15, 17, 16, .88), transparent 80%), url("../img/project/28/28_1.JPG");
    background-position: center;
    background-size: cover;
}

.d7-location-photo-dadayak {
    background-image: linear-gradient(0deg, rgba(15, 17, 16, .88), transparent 80%), url("../img/project/dadayak/1.jpg");
    background-position: center;
    background-size: cover;
}

.d7-location-photo-puthalam {
    background-image: linear-gradient(0deg, rgba(15, 17, 16, .88), transparent 80%), url("../img/project/Puthalam/4.jpg");
    background-position: center;
    background-size: cover;
}

.d7-location-photo-song {
    background-image: linear-gradient(0deg, rgba(15, 17, 16, .88), transparent 80%), url("../img/project/Song/1.JPG");
    background-position: center;
    background-size: cover;
}

.d7-location-photo:focus-visible {
    outline: 3px solid var(--d7-gold);
    outline-offset: 4px;
}

.d7-photo-dialog {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    background: #101312;
    color: var(--d7-white);
}

.d7-photo-dialog::backdrop {
    background: rgba(0, 0, 0, .84);
}

.d7-photo-dialog-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 20px;
    box-sizing: border-box;
}

.d7-photo-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.d7-photo-dialog-header h2 {
    margin: 0;
    color: var(--d7-white);
    font-size: 24px;
}

.d7-photo-close,
.d7-photo-arrow {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .08);
    color: var(--d7-white);
    cursor: pointer;
}

.d7-photo-close {
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 1;
}

.d7-photo-stage {
    display: grid;
    flex: 1;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
    min-height: 0;
}

.d7-photo-stage img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    background: #080909;
}

.d7-photo-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
}

.d7-photo-count {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .72);
    text-align: center;
}

@media (max-width: 600px) {
    .d7-photo-dialog-content {
        padding: 14px;
    }

    .d7-photo-stage {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: 6px;
    }

    .d7-photo-arrow {
        width: 36px;
        height: 36px;
        font-size: 25px;
    }

    .d7-photo-stage img {
        height: 100%;
    }
}

.d7-location-card span,
.d7-location-card h3 {
    position: relative;
    z-index: 1;
    color: var(--d7-white);
}

.d7-location-card span {
    color: var(--d7-gold);
    font-size: 10px;
    letter-spacing: .16em;
}

.d7-location-card h3 {
    max-width: 250px;
    margin: 40px 0 0;
    font-size: 23px;
    font-weight: 500;
}

.d7-team {
    background: var(--d7-paper);
}

.d7-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.d7-team-card {
    background: var(--d7-white);
}

.d7-team-portrait {
    height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: rgba(255, 255, 255, .88);
    background: linear-gradient(145deg, #c8c5bf, #888982);
}

.d7-portrait-one {
    background: url("../img/team/rangana.jpg") center / cover no-repeat;
}

.d7-portrait-two {
    background: url("../img/team/malinda.jpg") center / cover no-repeat;
}

.d7-portrait-three {
    background: url("../img/team/jill.jpg") center / cover no-repeat;
}

.d7-team-portrait > span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 72px;
    letter-spacing: .04em;
}

.d7-team-portrait small {
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.d7-team-info {
    padding: 24px 25px 28px;
}

.d7-team-info > span {
    color: #96713b;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.d7-team-info h3 {
    margin: 9px 0 5px;
    font-size: 23px;
}

.d7-team-info p {
    margin: 0;
    color: var(--tl-color-text-body);
    font-size: 13px;
}

.d7-contact {
    color: var(--d7-white);
    background:
        radial-gradient(ellipse at 12% 74%, rgba(202, 160, 92, .14), transparent 34%),
        linear-gradient(120deg, #161719, #202220 58%, #1a1d1c);
}

.d7-contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: start;
    gap: clamp(45px, 8vw, 120px);
}

.d7-contact-intro {
    padding-top: 28px;
}

.d7-contact-intro h2 {
    color: var(--d7-white);
}

.d7-contact-intro > p:not(.d7-eyebrow) {
    color: rgba(255, 255, 255, .68);
}

.d7-direct-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.d7-direct-icon {
    width: 46px;
    height: 46px;
    display: grid;
    flex: 0 0 46px;
    place-items: center;
    color: var(--d7-gold);
    border: 1px solid rgba(202, 160, 92, .45);
    font-size: 17px;
}

.d7-direct-contact span {
    color: var(--d7-white);
    font-size: 13px;
    font-weight: 600;
}

.d7-direct-contact p {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
}

.d7-direct-contact a {
    color: rgba(255, 255, 255, .75);
}

.d7-direct-contact a:hover {
    color: var(--d7-gold);
}

.d7-form-card {
    padding: clamp(26px, 4vw, 48px);
    color: var(--d7-ink);
    background: var(--d7-white);
}

.d7-form-card > h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 500;
}

.d7-form-intro {
    margin: 7px 0 28px;
    color: var(--tl-color-text-body);
    font-size: 13px;
}

.d7-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}

.d7-field {
    min-width: 0;
}

.d7-field-full {
    grid-column: 1 / -1;
}

.d7-field label,
.d7-support-options legend {
    display: block;
    margin-bottom: 8px;
    color: var(--d7-ink);
    font-size: 12px;
    font-weight: 600;
}

.d7-field input:not([type="checkbox"]),
.d7-field select,
.d7-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--d7-ink);
    background: #f7f7f6;
    border: 1px solid #e1e0dc;
    border-radius: 0;
    font-family: var(--tl-ff-body);
    font-size: 14px;
}

.d7-field textarea {
    min-height: 125px;
    resize: vertical;
}

.d7-field input:focus,
.d7-field select:focus,
.d7-field textarea:focus {
    border-color: var(--d7-gold);
    outline: 2px solid rgba(202, 160, 92, .18);
}

.d7-support-options {
    margin: 0;
    padding: 0;
    border: 0;
}

.d7-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.d7-checkbox-grid label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: var(--tl-color-text-body);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.d7-checkbox-grid input {
    flex: 0 0 auto;
    accent-color: #96713b;
}

.d7-submit-button {
    margin-top: 24px;
}

.d7-form-message:not(:empty) {
    margin-bottom: 18px;
    padding: 12px 15px;
    color: var(--d7-ink);
    background: #f4eee3;
    font-size: 13px;
}

.d7-form-message.alert-danger {
    color: #842029;
    background: #f8d7da;
}

.d7-form-message.alert-success {
    color: #0f5132;
    background: #d1e7dd;
}

.d7-footer {
    color: var(--d7-white);
    background: #101113;
}

.d7-footer-main {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.d7-footer-brand .d7-brand-name {
    font-size: 31px;
}

.d7-footer-main > p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
    letter-spacing: .08em;
}

.d7-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.d7-footer-nav a {
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.d7-footer-bottom {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
}

body.d7-page-ready .d7-hero-content > * {
    animation: d7-hero-enter 800ms cubic-bezier(.2, .75, .25, 1) both;
}

body.d7-page-ready .d7-hero-content > :nth-child(1) { animation-delay: 80ms; }
body.d7-page-ready .d7-hero-content > :nth-child(2) { animation-delay: 190ms; }
body.d7-page-ready .d7-hero-content > :nth-child(3) { animation-delay: 310ms; }
body.d7-page-ready .d7-hero-content > :nth-child(4) { animation-delay: 420ms; }
body.d7-page-ready .d7-hero-content > :nth-child(5) { animation-delay: 540ms; }
body.d7-page-ready .d7-scroll-cue {
    animation: d7-hero-enter 700ms 650ms cubic-bezier(.2, .75, .25, 1) both;
}

@keyframes d7-hero-enter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.d7-reveal {
    transition: opacity 750ms cubic-bezier(.2, .75, .25, 1) var(--d7-reveal-delay, 0ms),
        transform 750ms cubic-bezier(.2, .75, .25, 1) var(--d7-reveal-delay, 0ms);
}

.d7-reveal-up {
    transform: translateY(34px);
}

.d7-reveal-left {
    transform: translateX(-38px);
}

.d7-reveal-right {
    transform: translateX(38px);
}

.d7-motion-ready .d7-reveal:not(.d7-is-visible) {
    opacity: 0;
}

.d7-motion-ready .d7-reveal.d7-is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

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

    body.d7-page-ready .d7-hero-content > *,
    body.d7-page-ready .d7-scroll-cue {
        animation: none;
    }

    .d7-reveal,
    .d7-motion-ready .d7-reveal:not(.d7-is-visible) {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 991px) {
    .d7-header-inner {
        min-height: 76px;
    }

    .d7-menu-toggle {
        display: block;
    }

    .d7-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 10px 24px 22px;
        background: var(--d7-ink);
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .d7-nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .d7-nav a {
        padding: 13px 0;
    }

    .d7-nav .d7-nav-cta {
        align-self: flex-start;
        margin-top: 9px;
        padding: 12px 16px;
    }

    .d7-hero {
        min-height: 680px;
    }

    .d7-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .d7-work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .d7-work-card:first-child {
        grid-column: 1 / -1;
    }

    .d7-contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 640px) {
    .d7-container {
        width: min(100% - 36px, 1280px);
    }

    .d7-brand-name {
        font-size: 30px;
    }

    .d7-hero {
        min-height: 640px;
    }

    .d7-hero-content {
        padding-block: 90px 110px;
    }

    .d7-hero h1 {
        font-size: clamp(45px, 13vw, 68px);
    }

    .d7-hero-description {
        font-size: 15px;
    }

    .d7-hero-note {
        margin-top: 52px;
        font-size: 9px;
    }

    .d7-scroll-cue {
        display: none;
    }

    .d7-section {
        padding-block: 76px;
    }

    .d7-section-heading {
        margin-bottom: 36px;
    }

    .d7-section-heading h2,
    .d7-location-heading h2,
    .d7-contact-intro h2 {
        font-size: clamp(39px, 11vw, 54px);
    }

    .d7-service-grid,
    .d7-work-grid,
    .d7-location-grid,
    .d7-team-grid {
        grid-template-columns: 1fr;
    }

    .d7-service-card {
        min-height: 0;
        padding: 26px;
    }

    .d7-service-icon {
        margin-bottom: 23px;
    }

    .d7-work-card,
    .d7-work-card:first-child {
        min-height: 260px;
        grid-column: auto;
    }

    .d7-location-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin: 76px 0 28px;
    }

    .d7-location-card {
        min-height: 220px;
    }

    .d7-team-portrait {
        height: 300px;
    }

    .d7-contact-layout {
        gap: 38px;
    }

    .d7-form-card {
        padding: 25px 20px;
    }

    .d7-form-card > h3 {
        font-size: 25px;
    }

    .d7-form-grid,
    .d7-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .d7-field-full {
        grid-column: auto;
    }

    .d7-footer-main,
    .d7-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .d7-footer-main {
        padding-block: 38px;
    }

    .d7-footer-nav {
        gap: 14px 20px;
    }

    .d7-footer-bottom {
        justify-content: center;
        padding-block: 18px;
    }
}
