:root {
    --bg: #1A1210;
    --surface: #241917;
    --surface-2: #2C201D;
    --text: #FFFFFF;
    --text-soft: rgba(255,255,255,0.82);
    --text-muted: rgba(255,255,255,0.60);
    --hairline: rgba(255,255,255,0.16);
    --cream: #FFF4E4;
    --cream-soft: #FFF8F1;
    --ink: #241917;
    --magenta: #D6427E;
    --orange: #FF8A5C;
    --orange-deep: #F2683C;
    --logo-bg: #FFF8F1;

    --hero-glow: radial-gradient(125% 110% at 12% 88%, rgba(214,66,126,0.55) 0%, rgba(255,138,92,0.34) 34%, rgba(42,25,23,0.6) 64%, var(--bg) 100%);
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Inter", Arial, sans-serif;
    --space-page: clamp(16px, 4vw, 64px);
    --section-y: clamp(27px, 4vw, 54px);
    --hero-top-y: clamp(11px, 1.6vw, 22px);
    --radius-sm: 8px;
    --radius-md: 12px;
    --type-hero: 2.6rem;
    --type-title: 2rem;
    --type-lead: 1.05rem;
    --type-stat: 1.9rem;
    --type-body: 1.05rem;
    --type-small: 0.78rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--type-body);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent 38%);
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 20;
    transform: translateY(-160%);
    border-radius: var(--radius-sm);
    background: var(--text);
    color: var(--bg);
    padding: 10px 12px;
}

.skip-link:focus {
    transform: translateY(0);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid transparent;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(26,18,16,0.94);
    border-bottom-color: var(--hairline);
    backdrop-filter: blur(8px);
}

.top-nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 var(--space-page);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.brand-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: var(--logo-bg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* zoom so the logo's outer ring meets the circular crop edge */
    transform: scale(1.2);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-soft);
    font-size: 0.78rem;
    white-space: nowrap;
}

.nav-links a,
.brand {
    padding: 10px 0;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--orange);
}

.section-inner {
    width: min(1120px, calc(100% - (var(--space-page) * 2)));
    margin: 0 auto;
}

.section-pad {
    padding: var(--section-y) 0;
}

.eyebrow,
.micro-label {
    margin: 0 0 14px;
    color: var(--orange);
    font-size: var(--type-small);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    letter-spacing: 0;
}

h1 {
    font-size: var(--type-hero);
    line-height: 0.95;
}

h2 {
    font-size: var(--type-title);
    line-height: 1;
}

h3 {
    line-height: 1.12;
}

p {
    margin: 0;
}

.hero {
    display: grid;
    gap: 14px;
    align-items: stretch;
    padding: var(--hero-top-y) var(--space-page) var(--section-y);
}

.hero-photo {
    order: 1;
}

.hero-copy {
    order: 2;
    display: grid;
    align-content: center;
    min-height: auto;
    overflow: hidden;
    border: 0.5px solid var(--hairline);
    border-radius: var(--radius-md);
    background: var(--hero-glow);
    padding: clamp(28px, 6vw, 46px) clamp(18px, 5vw, 58px);
}

.hero-hook,
.page-intro,
.section-head p {
    max-width: 32ch;
    margin-top: 18px;
    color: var(--text-soft);
    font-size: var(--type-lead);
    line-height: 1.5;
}

.hero-subline {
    max-width: 38rem;
    margin-top: 12px;
    color: var(--text-muted);
}

.media-slot {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 100%;
    margin: 0;
    border: 0.5px solid var(--hairline);
    border-radius: var(--radius-sm);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.04), transparent 42%),
        var(--surface-2);
    color: var(--text-muted);
}

.media-slot--portrait {
    aspect-ratio: 4 / 5;
}

.media-slot--wide {
    aspect-ratio: 16 / 9;
}

.media-slot span {
    font-size: 0.72rem;
    text-transform: lowercase;
}

.media-slot img,
.media-slot iframe {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.media-slot--contain {
    background:
        linear-gradient(145deg, rgba(255,244,228,0.05), transparent 42%),
        #1f1513;
}

.media-slot--contain img {
    object-fit: contain;
}

.media-slot--focus-lower img {
    object-position: center bottom;
    transform: scale(1.22);
    transform-origin: center bottom;
}

/* Lightweight video facade: YouTube thumbnail + play button, swapped for an
   iframe only when clicked (keeps up to 30 videos fast to load). */
.video-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: var(--surface-2);
    color: inherit;
}

.video-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease, opacity 240ms ease;
}

.video-thumb:hover img {
    transform: scale(1.035);
    opacity: 0.92;
}

.video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
    display: grid;
    place-items: center;
    transition: transform 200ms ease, background 200ms ease;
    pointer-events: none;
}

.video-play::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

.video-thumb:hover .video-play,
.video-thumb:focus-visible .video-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--orange-deep);
}

.proof-band {
    padding: 0 0 var(--section-y);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(255,244,228,0.56);
    border-radius: var(--radius-sm);
    background: rgba(36,25,23,0.18);
}

.proof-grid div {
    min-height: 106px;
    display: grid;
    align-content: center;
    padding: 18px;
    background: var(--cream);
    color: var(--ink);
}

dl,
dd {
    margin: 0;
}

.proof-grid dt {
    font-family: var(--font-display);
    color: var(--ink);
    font-size: var(--type-stat);
    font-weight: 600;
    line-height: 1;
}

.proof-grid dd {
    margin-top: 7px;
    color: rgba(36,25,23,0.78);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.35;
    text-transform: uppercase;
}

.proof-grid small {
    display: block;
    margin-top: 3px;
    color: rgba(36,25,23,0.66);
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: none;
}

.client-strip {
    padding: var(--section-y) 0;
    border-block: 1px solid var(--hairline);
    background: rgba(255,255,255,0.025);
}

.client-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.client-list li {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255,244,228,0.76);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 16px 18px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.client-list img {
    width: 138px;
    height: 54px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.client-vedantu img {
    transform: scale(2.25);
}

.client-haier img {
    transform: scale(1.06);
}

.client-jindal img {
    transform: scale(2.08);
}

.client-malabar-gold img {
    transform: scale(1.28);
}

.client-joy-alukkas img {
    transform: scale(2.12);
}

.client-great-destinations img {
    transform: scale(1.95);
}

.client-khushals img {
    transform: scale(1.12);
}

.about-teaser,
.services,
.content-section:nth-of-type(even) {
    background: var(--surface);
}

.split-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.teaser-copy {
    display: grid;
    gap: 22px;
}

.teaser-copy p,
.prose p {
    color: var(--text-soft);
}

.teaser-copy p {
    max-width: 36rem;
    font-size: 1.18rem;
}

.text-link {
    display: inline-flex;
    width: fit-content;
    color: var(--orange);
    font-weight: 500;
}

.text-link:hover {
    color: var(--orange-deep);
}

.section-head {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
}

.section-head.compact {
    display: block;
}

.media-row,
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.media-card {
    display: grid;
    gap: 10px;
}

.media-card p {
    color: var(--text-soft);
    font-weight: 500;
}

.media-card-link {
    width: fit-content;
    color: var(--orange);
    font-size: 0.86rem;
    font-weight: 500;
}

.media-card-link:hover {
    color: var(--orange-deep);
}

/* Scrollable gallery pane: shows N rows, scrolls the rest internally.
   max-height is set by JS based on the real card height; this is the
   no-JS / fallback styling. */
.scroll-pane {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--orange) transparent;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scroll-padding-top: 4px;
}

.scroll-pane::-webkit-scrollbar {
    width: 8px;
}

.scroll-pane::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 999px;
}

.scroll-pane::-webkit-scrollbar-track {
    background: transparent;
}

/* When there is more to scroll, fade the bottom edge as an affordance. */
.scroll-pane.has-overflow {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent 100%);
}

.scroll-pane.is-scrolled-end {
    -webkit-mask-image: none;
    mask-image: none;
}

.photo-gallery {
    background: var(--surface);
}

/* Ordered masonry: a CSS grid whose row spans are set by JS so 16:9 and 9:16
   photos pack tightly while keeping left-to-right 1,2,3 reading order. */
.photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.photo-grid.masonry-ready {
    grid-auto-rows: 10px; /* base unit; JS assigns each card a row span */
}

.photo-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
}

/* Each photo is shown in its native orientation: landscape -> 16:9,
   portrait -> 9:16. Used as the no-JS fallback height; once JS adds
   `masonry-ready`, the grid row span drives the height instead. */
.photo-card.is-landscape {
    aspect-ratio: 16 / 9;
}

.photo-card.is-portrait {
    aspect-ratio: 9 / 16;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease, opacity 220ms ease;
}

.photo-card:hover img {
    transform: scale(1.035);
    opacity: 0.92;
}

.photo-card span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    border-radius: 999px;
    background: rgba(26,18,16,0.76);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.3;
    padding: 5px 10px;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.service-list li {
    min-height: 178px;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(255,244,228,0.18);
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #9B4C65 0%, #765246 100%);
    box-shadow: 0 18px 34px rgba(92,54,47,0.22);
}

.service-list h3 {
    color: var(--text);
    font-size: 1.38rem;
}

.service-list p {
    color: rgba(255,255,255,0.86);
}

.page-hero {
    padding-bottom: var(--section-y);
    background: var(--hero-glow);
}

.page-hero .section-inner {
    max-width: 1120px;
}

.page-hero h1 {
    max-width: 11ch;
}

.content-section {
    border-top: 1px solid var(--hairline);
}

.about-section-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.prose-wrap {
    max-width: 820px;
}

.prose {
    max-width: 780px;
}

.prose h2 {
    margin-bottom: 24px;
}

.prose p + p {
    margin-top: 18px;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
}

.filter-button {
    min-height: 40px;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    color: var(--text-soft);
    cursor: pointer;
    padding: 8px 12px;
}

.filter-button:hover,
.filter-button.is-active {
    border-color: rgba(255,138,92,0.55);
    background: var(--orange);
    color: var(--bg);
}

.gallery-card {
    padding: 0;
}

.youtube-link {
    margin-top: 30px;
}

.site-footer {
    padding: var(--section-y) 0;
    border-top: 1px solid var(--hairline);
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    gap: 18px;
}

.footer-name {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--hairline);
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    color: var(--text-soft);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.social-links a.social-email-link {
    width: auto;
    min-width: 0;
    border-radius: 999px;
    padding: 0 14px;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0;
}

.social-links a:hover {
    border-color: rgba(255,138,92,0.58);
    background: rgba(255,244,228,0.08);
    transform: translateY(-1px);
}

.social-links img,
.social-links svg {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

.social-links span {
    font-size: 0.72rem;
}

.social-links a.social-email-link span {
    font-size: inherit;
    line-height: 1;
    white-space: nowrap;
}

.top-social-links {
    gap: 8px;
}

.top-social-links a {
    width: 36px;
    height: 36px;
}

.top-social-links a.social-email-link {
    width: auto;
    padding-inline: 11px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    color: var(--text-soft);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: var(--orange);
}

[data-animate] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 520ms ease, transform 520ms ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[hidden] {
    display: none !important;
}

@media (max-width: 820px) {
    .top-nav {
        min-height: auto;
        flex-wrap: wrap;
        padding-block: 10px;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }
}

@media (max-width: 560px) {
    .top-social-links a {
        width: 32px;
        height: 32px;
    }

    .top-social-links a.social-email-link {
        width: auto;
        max-width: 100%;
        padding-inline: 10px;
    }
}

@media (max-width: 430px) {
    .nav-actions {
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .top-social-links {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 390px) {
    .top-nav {
        padding-inline: 12px;
    }

    .brand {
        font-size: 0.78rem;
        gap: 7px;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .nav-links {
        gap: 8px;
        font-size: 0.72rem;
    }

    .hero-copy {
        min-height: auto;
        padding: 24px 18px;
    }
}

@media (min-width: 680px) {
    :root {
        --type-hero: 4rem;
        --type-title: 2.75rem;
        --type-lead: 1.18rem;
        --type-stat: 2.25rem;
    }

    .nav-links {
        gap: 24px;
        font-size: 0.9rem;
    }

    .brand {
        font-size: 1rem;
    }

    .brand-logo {
        width: 62px;
        height: 62px;
    }

    .hero {
        gap: 20px;
        padding-top: var(--hero-top-y);
    }

    .proof-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .media-row,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .footer-grid {
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
    }
}

@media (min-width: 940px) {
    :root {
        --type-hero: 5.25rem;
        --type-title: 3.4rem;
        --type-lead: 1.3rem;
        --type-stat: 2.6rem;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
        min-height: 0;
        padding-bottom: var(--section-y);
    }

    .hero-copy {
        order: 1;
        min-height: auto;
        padding: clamp(34px, 4vw, 52px);
    }

    .hero-photo {
        order: 2;
        align-self: start;
        display: grid;
        width: 100%;
    }

    .hero-photo .media-slot--portrait {
        width: min(100%, 480px);
        justify-self: end;
    }

    .split-grid {
        grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
        gap: 56px;
    }

    .about-section-grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
        gap: 56px;
    }

    .about-section-grid.is-media-right {
        grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
        align-items: stretch;
    }

    .about-section-grid.is-media-left {
        grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
    }

    .about-section-grid.is-media-left .media-slot--portrait {
        aspect-ratio: 3 / 4;
    }

    .about-section-grid.is-media-right .section-media {
        position: relative;
        min-height: 0;
        align-self: stretch;
    }

    .about-section-grid.is-media-right .media-slot--portrait {
        position: absolute;
        inset: 0;
        aspect-ratio: auto;
    }

    .about-section-grid.is-media-right .media-slot--portrait img {
        object-position: center top;
    }

    .section-head {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .media-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}
