/* ========================================================================== */
/* OH YEAH — MAIN.CSS (CONSOLIDATED)                                          */
/* ========================================================================== */
/*
  Original file order (preserved):
  1. style.css
  2. project.css
  3. post.css
  4. about.css
  5. expertise.css
  6. blog.css

  Link this in your HTML:
  <link rel="stylesheet" href="main.css?v=1">
*/


/* ========================================================================== */
/* GLOBAL SITE STYLES                                                       */
/* Source: style.css                                                        */
/* ========================================================================== */

/* ========================================================================== */
/* OH YEAH — SITE STYLES (CLEAN, CONSISTENT, LOW-DRAMA)                        */
/* ========================================================================== */

/* ========================================================================== */
/* 00. DESIGN TOKENS                                                          */
/* ========================================================================== */

:root {
    --max-width: 1480px;
    --gutter: clamp(24px, 2.6vw, 48px);

    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 40px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 80px;

    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --text: #000;
    --muted: #959595;
    --bg: #fff;
    --yellow: #ffe800;

    --shadow-pill: 0 10px 40px rgba(0, 0, 0, 0.05);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-pill: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================================================================== */
/* 01. BASE                                                                   */
/* ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Manrope", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

.content-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Global rhythm */
section {
    padding: var(--space-9) 0;
}

/* ========================================================================== */
/* 02. NAVIGATION (MORPH PILL)                                                 */
/* ========================================================================== */

.nav-spacer {
    height: 0px;
    width: 100%;
}

.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 5000;

    display: flex;
    justify-content: center;
    align-items: center;

    pointer-events: none;
}

.nav-morph-container {
    width: 2500px;
    height: 70px;
    background: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    pointer-events: auto;
    transition: all 0.45s var(--ease-pill);
}

.nav-wrapper.scrolled .nav-morph-container {
    width: 650px;
    height: 54px;
    margin-top: 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-pill);
    overflow: hidden;
}

.navbar {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: max-width 0.45s ease, padding 0.45s ease;
}

.nav-wrapper.scrolled .navbar {
    max-width: 650px;
    padding: 0 30px;
}

.nav-logo-img {
    height: 24px;
    width: auto;
    transition: height 0.45s ease;
}

.nav-wrapper.scrolled .nav-logo-img {
    height: 18px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    color: var(--text);
}

/* Hamburger (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 25px;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text);
}

/* Overlay menu */
.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--yellow);
    z-index: 9000;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: right 0.5s var(--ease);
}

.menu-overlay.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    cursor: pointer;
}

.mobile-nav-links a {
    display: block;
    margin: 20px 0;
    text-align: center;

    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    color: var(--text);
}

/* ========================================================================== */
/* 03. HERO SLIDER                                                             */
/* ========================================================================== */

.hero-slider {
    margin-top: 70px;
    width: 100%;
    position: relative;

    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    transition: transform 0.8s var(--ease);
    z-index: 1;
}

.slide.active {
    transform: translateX(0);
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

/* Caption: align to the same grid as .content-container */
.hero-caption {
    position: absolute;
    bottom: clamp(20px, 5vh, 50px);
    left: max(5%, calc((100vw - 1400px) / 2 + 5%));

    text-align: left;
    color: #fff;
    z-index: 100;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.slide.active .hero-caption {
    opacity: 1;
    transform: translateY(0);
}

.caption-sub {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 2px;
}

.hero-title {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* ========================================================================== */
/* 04. PROJECT HERO VIDEO                                                      */
/* ========================================================================== */

.project-hero-video {
    margin-top: 0px;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    background: #fff;
}

.project-hero-video .video-frame {
    width: 100%;
    max-width: var(--max-width);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Custom play button */
.custom-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 88px;
    height: 88px;
    border-radius: var(--radius-pill);

    background: var(--yellow);
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.25s ease, opacity 0.25s ease;
}

.custom-play:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.custom-play.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 18px solid #000;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 3px;
}

/* ========================================================================== */
/* 05. AMBITION TEXT                                                           */
/* ========================================================================== */

.text-block {
    padding: 80px 0;
}

.ambition-text {
    font-size: clamp(46px, 4.5vw, 64px);
    line-height: 1.1;
    font-weight: 500;
}

.underline {
    text-decoration: underline;
    text-underline-offset: 16px;
}

/* ========================================================================== */
/* 06. WORK GALLERY                                                            */
/* ========================================================================== */

.gallery-header {
    border-bottom: 1.5px solid var(--text);
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-6);
}

.gallery-title {
    font-size: 36px;
    font-weight: 500;
}

.work-item-single,
.work-grid-dual {
    margin-bottom: var(--space-9);
}

.gallery > :last-child {
    margin-bottom: 0;
}

.work-grid-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.work-item,
.work-item-single {
    display: flex;
    flex-direction: column;
}

.work-anchor {
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
}

.img-container {
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    margin-bottom: var(--space-4);

    isolation: isolate;
    mask-image: radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);

    position: relative;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.9s var(--ease);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.work-title {
    font-size: clamp(18px, 2.5vw, 20px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 0px;
}

.work-sub {
    font-size: 20px;
    font-weight: 500;
    color: var(--muted);
}

/* ========================================================================== */
/* 07. SERVICES ACCORDION                                                      */
/* ========================================================================== */

.services-accordion {
    padding-top: 40px;
    margin-top: 20px;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 45px 0;
    background: none;
    border: none;
    cursor: pointer;

    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.02em;

    transition: opacity 0.3s;
    color: #000 !important;
}

.accordion-content-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.7s var(--ease);
    will-change: grid-template-rows;
}

.accordion-item.active .accordion-content-wrapper {
    grid-template-rows: 1fr;
}

.accordion-content {
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: #000 !important;

    font-size: 20px;
    line-height: 1.6;
    color: #333;
}

.accordion-item.active .accordion-content {
    opacity: 1;
    padding-bottom: 50px;
    transition-delay: 0.2s;
}

.accordion-item.active .icon {
    transform: rotate(180deg);
}

.accordion-content ul li {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ========================================================================== */
/* ACCORDION GREY SECTION                                                     */
/* ========================================================================== */

.services {
    background: #f5f5f5;   /* very light grey */
    padding: 80px 0;       /* keeps spacing above + below */
}

/* Remove outer spacing from accordion itself */
.services-accordion {
    margin: 0;
    padding: 0;
}

/* ========================================================================== */
/* SERVICES: FULL-BLEED GREY BACKGROUND + ALIGNED CONTENT                      */
/* ========================================================================== */

.services {
    position: relative;
    padding: 80px 0 120px 0;           /* keep your vertical spacing */
    background: transparent;    /* background will be on ::before */
}

.services::before {
    content: "";
    position: absolute;
    inset: 0;

    /* Full-bleed trick (ignores any max-width/padding constraints) */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    background: #f5f5f5;
    z-index: -1;
}

/* ========================================================================== */
/* SPACE AFTER GREY ACCORDION BAND                                            */
/* ========================================================================== */

.services {
    margin-bottom: 80px;
}

/* ========================================================================== */
/* 08. BLOG                                                                    */
/* ========================================================================== */

.blog-preview {
    padding-top: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 50px;
}

.blog-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.blog-img-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f4f4f4;
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-item:hover .blog-img-container img {
    transform: scale(1.03);
}

.blog-date {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

.blog-headline {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--text);
}

.read-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================================================== */
/* 09. FOOTER                                                                  */
/* ========================================================================== */

.footer {
    background: var(--yellow);
    padding: 120px var(--gutter);
    width: 100vw;
    font-size: 15px;
    color: var(--text);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    padding-bottom: 60px;
    margin-bottom: 100px;
}

.footer-row-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.footer-link-bold {
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
}

.footer-link-social {
    font-weight: 500;
    text-decoration: none;
    color: var(--text);
}

.divider {
    color: var(--text);
    opacity: 0.3;
    font-weight: 300;
}

.footer-col.col-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.back-to-top {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;

    color: #000;
    -webkit-text-fill-color: #000;
}

.big-arrow {
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 5px;
    color: #000;
    -webkit-text-fill-color: #000;
    transition: transform 0.3s ease;
}

.btp-text {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #000;
    -webkit-text-fill-color: #000;
}

.back-to-top:hover .big-arrow {
    transform: translateY(-5px);
}

.footer-brand {
    width: 100%;
    text-align: center;
    margin-top: 60px;
}

.footer-logo-img {
    width: 100%;
    max-width: var(--max-width);
    height: auto;
}

/* ========================================================================== */
/* 10. RESPONSIVE (MOBILE)                                                     */
/* ========================================================================== */

@media (max-width: 850px) {

    section {
        padding: var(--space-7) 0;
    }

    .content-container {
        padding: 0 24px;
    }

    /* Nav */
    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    .nav-morph-container {
        width: 90% !important;
        max-width: 350px !important;
        height: 50px !important;
        margin-top: 15px !important;

        border-radius: var(--radius-pill) !important;
        overflow: hidden;
    }

    .navbar {
        padding: 0 20px !important;
    }

    .nav-logo-img {
        height: 16px !important;
    }

    /* Hero */
    .hero-caption {
        bottom: 18px;
    }

    /* Work */
    .work-grid-dual {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        margin-bottom: 0; /* avoid doubled spacing when stacking */
    }

    /* Consistent spacing between blocks inside the gallery on mobile */
    .gallery > .work-item-single,
    .gallery > .work-grid-dual {
        margin-bottom: 40px;
    }

    .gallery > :last-child {
        margin-bottom: 0;
    }

    .img-container {
        margin-bottom: var(--space-3);
    }

    .work-title {
        font-size: 17px;
        line-height: 1.15;
        margin-bottom: 4px;
    }

    .work-sub {
        font-size: 15px;
        line-height: 1.3;
    }

    /* Accordion */
    .accordion-header {
        font-size: 28px;
        padding: 36px 0;
    }

    .accordion-content,
    .accordion-content ul li {
        font-size: 16px;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    /* Footer */
    .footer-top {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 40px;
        margin-bottom: 60px;
    }

    .footer-row-inline {
        flex-direction: column;
        gap: 12px;
        white-space: normal;
    }

    .divider {
        display: none;
    }

    .footer-col.col-right {
        order: -1;
        margin-bottom: 10px;
        justify-content: center;
    }

    .big-arrow {
        font-size: 40px;
    }
}


/* ==========================================================================
   CONTACT PAGE 
   ========================================================================== */

.contact-hero-media {
  padding: 0 0 clamp(28px, 4vw, 48px);
}

.contact-hero-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-black);
}

.contact-hero-frame img,
.contact-hero-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Black panel */
.contact-panel {
  padding: 0 0 clamp(80px, 10vw, 140px);
}

.contact-panel-inner {
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
}

/* Top layout */
.contact-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(22px, 3vw, 56px);
  align-items: start;
}

.contact-city h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact-col h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.contact-col p {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

.contact-panel a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.contact-divider {
  height: 1px;
  background: rgba(255,255,255,0.6);
  margin: clamp(26px, 3vw, 42px) 0;
}

/* Big rows */
.contact-big {
  display: grid;
  gap: 26px;
}

.contact-big-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  padding-top: 6px;
}

.contact-big-row--border {
  border-top: 1px solid rgba(255,255,255,0.6);
  padding-top: 26px;
}

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.75);
  display: grid;
  place-items: center;
  opacity: 0.95;
}

.contact-big-text a {
  text-decoration: none;
  color: inherit;
  font-size: clamp(36px, 5.2vw, 86px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact-big-text a:hover {
  text-decoration: underline;
  text-underline-offset: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-top {
    grid-template-columns: 1fr;
  }

  .contact-city h2 {
    font-size: clamp(44px, 10vw, 72px);
  }

  .contact-big-row {
    grid-template-columns: 56px 1fr;
  }

  .contact-big-text a {
    font-size: clamp(30px, 7.5vw, 54px);
  }
}


/* ========================================================================== */
/* 11. ACCESSIBILITY + MOTION                                                  */
/* ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* ========================================================================== */
/* MOBILE TITLE SCALE                                                         */
/* ========================================================================== */

@media (max-width: 850px) {

    /* Hero slider title */
    .hero-title {
        font-size: 28px !important;
        line-height: 1.2;
    }

    /* Accordion titles (NOT the body text) */
    .accordion-header {
        font-size: 24px !important;
        padding: 28px 0;
    }

    /* Optional: project titles under images */
    .work-title {
        font-size: 17px !important;
    }

    .work-sub {
        font-size: 15px !important;
    }
}

/* ========================================================================== */
/* MOBILE: SECTION TITLE SCALE                                                */
/* ========================================================================== */

@media (max-width: 850px) {
    .gallery-title {
        font-size: 24px !important;
        line-height: 1.1;
    }
}

/* ========================================================================== */
/* PROJECT PAGE: HERO                                                         */
/* ========================================================================== */

.project-hero {
  padding: 90px 0 30px;
}

.project-hero-media {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.project-hero-video,
.project-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================================================== */
/* PROJECT PAGE: INTRO GRID                                                   */
/* ========================================================================== */

.project-intro {
  padding: 40px 0 90px;
}

.project-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.project-project-title {
  font-size: clamp(40px, 4.5vw, 72px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.project-meta-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 14px;
  margin-bottom: 6px;
  opacity: 0.85;
}

.project-meta-value {
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.85;
}

.project-download-btn {
  display: inline-flex;
  margin-top: 36px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #2c2c2c;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.project-download-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.project-deck {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

/* ========================================================================== */
/* READ MORE / LESS (COLLAPSE + FADE)                                         */
/* ========================================================================== */

.project-readmore {
  position: relative;
}

/* Collapsed state: clamp by max-height (set by JS) */
.project-readmore.is-collapsed .project-body {
  overflow: hidden;
}

/* Expanded: no fade */
.project-readmore.is-expanded .project-body {
  overflow: visible;
}

/* Paragraph styling */
.project-body p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 18px;
}

/* Fade overlay (only visible when collapsed) */
.project-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 46px; /* sits above buttons */
  height: 120px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* If your section background is white */
.project-readmore.is-collapsed .project-fade {
  opacity: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

/* If later you use a grey page background, swap to this by adding .bg-grey on body:
   body.bg-grey .project-readmore.is-collapsed .project-fade { background: linear-gradient(to bottom, rgba(245,245,245,0), rgba(245,245,245,1)); }
*/

.project-readmore-btn,
.project-readless-btn {
  margin-top: 10px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: #000;
}

/* Show/hide buttons based on state */
.project-readmore.is-collapsed .project-readmore-btn { display: inline-block; }
.project-readmore.is-collapsed .project-readless-btn { display: none; }

.project-readmore.is-expanded .project-readmore-btn { display: none; }
.project-readmore.is-expanded .project-readless-btn { display: inline-block; }

/* ========================================================================== */
/* RESPONSIVE                                                                 */
/* ========================================================================== */

@media (max-width: 850px) {
  .project-hero { padding: 80px 0 20px; }

  .project-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-project-title {
    font-size: 44px;
  }

  .project-body p {
    font-size: 16px;
  }
}


/* ========================================================================== */
/* PROJECT PAGE STYLES                                                      */
/* Source: project.css                                                      */
/* ========================================================================== */

/* ========================================================================== */
/* PROJECT PAGE (PROJECT.CSS)                                                 */
/* Only project-page specific styling. Header/footer remain in style.css      */
/* ========================================================================== */


/* ========================================================================== */
/* PROJECT HERO — RELIABLE COVER + CLEAN ROUNDED CORNERS                      */
/* ========================================================================== */

.project-hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    background: transparent;
    -webkit-clip-path: inset(0 round 20px);
    clip-path: inset(0 round 20px);

    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.project-hero-video,
.project-hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transform: scale(1.04);
    transform-origin: center;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* ---------------------------------- */
/* READ MORE TOGGLE PILL BUTTON       */
/* ---------------------------------- */

.project-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 18px;
    padding: 12px 22px;
    border-radius: 999px;

    background: #191f39;
    color: #ffe800;

    border: none;
    cursor: pointer;

    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;

    transition: background-color 0.25s ease,
                color 0.25s ease,
                transform 0.2s ease;
}

.project-toggle-btn:hover {
    background: #ffe800;
    color: #191f39;
    transform: translateY(-1px);
}

/* ---------------------------------- */
/* INTRO GRID                         */
/* ---------------------------------- */







.project-project-title {
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}







.project-deck {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 5px;
}


/* ---------------------------------- */
/* READ MORE / LESS                   */
/* ---------------------------------- */




.project-body {
    overflow: hidden;
    max-height: var(--collapsed-height, 180px);
    transition: max-height 0.6s cubic-bezier(0.22,1,0.36,1);
    will-change: max-height;
}







.project-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 64px;
    height: 140px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.project-readmore.is-expanded .project-fade {
    opacity: 0;
}

.project-readmore-btn,
.project-readless-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #191f39;
    color: #ffe800;
    border: none;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.project-readmore-btn:hover,
.project-readless-btn:hover {
    background: #ffe800;
    color: #191f39;
    transform: translateY(-1px);
}

.project-readmore.is-collapsed .project-readmore-btn { display:inline-flex; }
.project-readmore.is-collapsed .project-readless-btn { display:none; }

.project-readmore.is-expanded .project-readmore-btn { display:none; }
.project-readmore.is-expanded .project-readless-btn { display:inline-flex; }


/* ========================================================================== */
/* PROJECT GALLERY (1–2–1 GRID, TALL FRIENDLY)                                */
/* ========================================================================== */

.project-gallery {
    padding: 40px 0 120px;
}

.pg-row {
    display: grid;
    gap: 28px;
    margin-bottom: 28px;
}

.pg-row-1 { grid-template-columns: 1fr; }
.pg-row-2 { grid-template-columns: 1fr 1fr; }

/* Shared frame */
.pg-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #000;   /* brings back the cinematic black frames */

    -webkit-clip-path: inset(0 round 20px);
    clip-path: inset(0 round 20px);

    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* BIG SINGLE IMAGE ROWS */
.pg-row-1 .pg-item {
    aspect-ratio: auto;
}

/* TWO-UP ROWS ALLOW TALL MEDIA */
.pg-row-2 .pg-item {
    aspect-ratio: auto;
}

/* Media behaviour */
.pg-row-1 .pg-item img,
.pg-row-1 .pg-item video {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transform: scale(1.02);
    transform-origin: center;
}

.pg-row-2 .pg-item img,
.pg-row-2 .pg-item video {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Prevent accidental video pausing while scrolling */
.pg-item video {
    pointer-events: none;
}

 /* Ensure ALL gallery media respects rounded corners */
.pg-item .pg-media {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;        /* keeps NEVER CROP behaviour */

  border-radius: inherit;
  -webkit-clip-path: inset(0 round var(--radius-md));
  clip-path: inset(0 round var(--radius-md));
  -webkit-mask-image: -webkit-radial-gradient(white, black);

  background: #000;
}

/* =====================================================
   PROJECT GRID — KEEP 1–2–1 FLOW ON MOBILE
   (2-up rows stay 2 columns instead of stacking)
===================================================== */

@media (max-width: 700px) {

  /* The 2-up rows: force 2 columns on mobile */
  .pg-row-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important; /* tweak to taste */
  }

  /* Make sure items can shrink without forcing wrap */
  .pg-row-2 .pg-item {
    min-width: 0;
  }

  /* Keep media behaving nicely */
  .pg-row-2 .pg-item img,
  .pg-row-2 .pg-item video {
    width: 100%;
    height: auto;
    display: block;
  }
}
/* ---------------------------------- */
/* RESPONSIVE                         */
/* ---------------------------------- */

@media (max-width: 850px) {

    .project-intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .project-project-title { font-size: 40px; }
    .project-deck { font-size: 26px; }
    .project-body p { font-size: 18px; }

    .project-fade {
        bottom: 58px;
        height: 120px;
    }

    .pg-row {
        gap: 18px;
        margin-bottom: 18px;
    }

    .pg-row-2 {
        grid-template-columns: 1fr;
    }

    .pg-item {
        border-radius: 16px;
        -webkit-clip-path: inset(0 round 16px);
        clip-path: inset(0 round 16px);
    }

    .pg-row-1 .pg-item {
        aspect-ratio: 4 / 3;
    }
}

/* =====================================================
   PROJECT GRID — SINGLE (1-up) ITEMS: NO CROP ON MOBILE
===================================================== */
@media (max-width: 700px){

  /* Let the 1-up item grow to the image’s natural ratio */
  .pg-row-1 .pg-item{
    aspect-ratio: auto;   /* cancels any forced ratio */
    height: auto;
    overflow: visible;    /* stops clipping */
  }

  /* Make media determine height */
  .pg-row-1 .pg-item img,
  .pg-row-1 .pg-item video{
    width: 100%;
    height: auto;
    object-fit: unset;    /* important: prevents cover-cropping */
    display: block;
  }
}

/* ========================================================================== */
/* POST PAGE STYLES                                                         */
/* Source: post.css                                                         */
/* ========================================================================== */

/* ========================================================================== */
/* POST — SIMPLE, CLEAN HIERARCHY                                              */
/* Heading -> Standfirst -> Meta Pills -> Body                                  */
/* ========================================================================== */


/* ========================================================================== */
/* HERO                                                                         */
/* ========================================================================== */

.post-hero {
  /* Clears fixed/sticky nav overlap */
  padding: 110px 0 24px;
}

.post-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #000;

  /* Safari rounded-corner stability */
  -webkit-clip-path: inset(0 round 20px);
  clip-path: inset(0 round 20px);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.post-hero-image,
.post-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transform-origin: center;
}


/* ========================================================================== */
/* HEADING                                                                      */
/* ========================================================================== */

.post-heading {
  padding: 10px 0 10px;
}

.post-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.85;
}

.post-title {
  margin: 0;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}


/* ========================================================================== */
/* INTRO (STANDFIRST)                                                           */
/* ========================================================================== */

.post-intro {
  padding: 18px 0 6px;
}

.post-standfirst {
  margin: 0;
  max-width: 70ch;

  font-size: 20px;
  line-height: 1.6;
  font-weight: 600;
  opacity: 0.92;
}


/* ========================================================================== */
/* META PILLS                                                                   */
/* ========================================================================== */

.post-meta-bar {
  padding: 14px 0 34px;
}

.post-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 14px;
  border-radius: 999px;

  border: 1px solid rgba(0, 0, 0, 0.25);
  background: transparent;
  color: #000;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  opacity: 0.85;
}


/* ========================================================================== */
/* BODY                                                                         */
/* ========================================================================== */

.post-body {
  padding: 0 0 110px;
}

.post-article {
  max-width: 72ch;
}

.post-article p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
}

.post-article h2 {
  margin: 44px 0 14px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 500;
}

.post-article h3 {
  margin: 30px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
}

.post-article blockquote {
  margin: 34px 0 34px;
  padding: 18px 22px;
  border-left: 4px solid #000;

  font-size: 18px;
  line-height: 1.7;
  opacity: 0.95;
}

.post-article a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* ========================================================================== */
/* FOOTER NAV                                                                   */
/* ========================================================================== */

.post-footer-nav {
  padding: 10px 0 120px;
}

.post-footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.post-back,
.post-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 18px;
  border-radius: 999px;

  background: #000;
  color: #ffe800;

  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;

  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.post-back:hover,
.post-next:hover {
  background: #ffe800;
  color: #191f39;
  transform: translateY(-1px);
}


/* ========================================================================== */
/* RESPONSIVE                                                                   */
/* ========================================================================== */

@media (max-width: 900px) {
  .post-hero {
    padding: 95px 0 18px;
  }

  .post-standfirst {
    font-size: 18px;
  }

  .post-article p {
    font-size: 16px;
    line-height: 1.75;
  }

  .post-article h2 {
    font-size: 26px;
  }
}

@media (max-width: 650px) {
  .post-hero-media {
    border-radius: 16px;
    -webkit-clip-path: inset(0 round 16px);
    clip-path: inset(0 round 16px);
  }

  .post-footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================================================== */
/* ABOUT PAGE STYLES                                                        */
/* Source: about.css                                                        */
/* ========================================================================== */

/* ========================================================================== */
/* ABOUT PAGE                                                                  */
/* ========================================================================== */


/* ========================================================================== */
/* HERO TEXT                                                                   */
/* ========================================================================== */

.about-hero {
    padding: 90px 0 60px;
}

.about-hero--end {
    padding: 90px 0 140px;
}

.about-hero-text {
    font-size: clamp(28px, 6vw, 54px);
    line-height: 1.1;
    font-weight: 500;
    width: 100%;
}


/* ========================================================================== */
/* IMAGE BREAK (BOXED, SUBTLE DEPTH)                                           */
/* Notes:                                                                      */
/* - This is NOT true parallax (no JS).                                        */
/* - It gives a similar feeling by slightly over-scaling the image layer.      */
/* ========================================================================== */

.about-parallax {
    padding: 40px 0;
}

.about-parallax-frame {
    position: relative;
    width: 100%;
	aspect-ratio: 4 / 3;
    height: auto;
    overflow: hidden;
    border-radius: 20px;
    background: #000;

    /* clean clipping + Safari stability */
    -webkit-clip-path: inset(0 round 20px);
    clip-path: inset(0 round 20px);
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.about-parallax-layer {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* subtle depth feel */
    transform: scale(1.05);
    transform-origin: center;

    will-change: transform;
}


/* ========================================================================== */
/* STORY BLOCK                                                                 */
/* ========================================================================== */

.about-story {
    padding: 90px 0 90px;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.about-story-title {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.15;
    font-weight: 500;
    margin: 0;
}

.about-block + .about-block {
    margin-top: 34px;
}

.about-block h3 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    margin: 0 0 10px;
}

.about-block p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
    max-width: 62ch;
}



/* ========================================================================== */
/* RESPONSIVE                                                                  */
/* ========================================================================== */

@media (max-width: 850px) {

    .about-hero {
        padding: 80px 0 30px;
    }

    .about-hero--end {
        padding: 80px 0 110px;
    }

    .about-parallax {
        padding: 26px 0;
    }

    .about-parallax-frame {
        aspect-ratio: 4 / 3;
    height: auto;
    border-radius: var(--radius-md);
    -webkit-clip-path: inset(0 round var(--radius-md));
    clip-path: inset(0 round var(--radius-md));
    }

    .about-story {
        padding: 70px 0 70px;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .about-block + .about-block {
        margin-top: 24px;
    }

    .about-block h3 {
        font-size: 20px;
    }

    .about-block p {
        font-size: 15px;
    }
}

/* ========================================================================== */
/* EXPERTISE PAGE STYLES                                                    */
/* Source: expertise.css                                                    */
/* ========================================================================== */

/* ========================================================================== */
/* EXPERTISE PAGE                                                             */
/* ========================================================================== */

.expertise-hero {
  padding: 90px 0 30px;
}

.expertise-hero-text {
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1.1;
  font-weight: 500;
  max-width: none;      /* 👈 removes narrow editorial width */
  width: 100%;
}

.expertise {
  padding: 30px 0 120px;
}

.expertise-block {
  padding: 30px 0 70px;
}

.expertise-header {
  margin-bottom: 18px;
}

.expertise-title {
  font-size: 34px;
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 12px;
}

.expertise-rule {
  height: 2px;
  background: #000;
  opacity: 0.75;
  width: 100%;
}

.expertise-card {
  margin: 20px 0 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: transparent;   /* removes yellow */
  padding: 0;                /* removes frame spacing */
}

/* Make image/video fill nicely */
.expertise-card img,
.expertise-card video {
  width: 100%;
  height: auto;
  display: block;
}

/* Two-column text grid */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 60px;
  padding-top: 8px;
  align-items: start;
}

.expertise-item h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 8px;
  font-weight: 600;
}

.expertise-item p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 48ch;
}

/* Responsive */
@media (max-width: 850px) {
  .expertise-hero {
    padding: 80px 0 18px;
  }

  .expertise-hero-text {
    max-width: 24ch;
    font-size: clamp(28px, 7vw, 44px);
  }

  .expertise-title {
    font-size: 28px;
  }

  .expertise-card {
    padding: 18px;
    border-radius: 18px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ========================================================================== */
/* BLOG / NEWS PAGE STYLES                                                  */
/* Source: blog.css                                                         */
/* ========================================================================== */

/* ========================================================================== */
/* NEWS / BLOG PAGE                                                            */
/* ========================================================================== */
.news-section:first-of-type {
  padding-top: 40px;
}
.news-hero {
  padding: 90px 0 40px;
}

.news-hero-text {
  font-size: clamp(46px, 4.5vw, 64px);
  line-height: 1.1;
  font-weight: 500;
  width: 100%;
}



.news-tab.is-active {
  border-bottom-color: #000;
}

/* Grid */
.news-section {
  padding: 10px 0 80px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.news-card {
  min-width: 0;
}

.news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-media {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;

  -webkit-clip-path: inset(0 round 20px);
  clip-path: inset(0 round 20px);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.news-media img,
.news-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transform-origin: center;
}

.news-meta {
  margin-bottom: 10px;
}

.news-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.35);
  font-size: 13px;
  opacity: 0.9;
}

.news-title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 8px;
}

.news-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.8;
}

/* Featured case */
.news-feature {
  padding: 10px 0 90px;
}

.news-feature-link {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 34px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.news-feature-media {
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;

  -webkit-clip-path: inset(0 round 22px);
  clip-path: inset(0 round 22px);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.news-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.news-feature-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.85;
}

.news-feature-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 500;
}

.news-feature-sub {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}

.news-feature-cta {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  background: #191f39;
  color: #ffe800;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.news-feature-link:hover .news-feature-cta {
  background: #ffe800;
  color: #191f39;
}

/* Responsive */
@media (max-width: 1000px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-tabs {
    gap: 22px;
  }

  .news-tab {
    font-size: 26px;
  }
}

@media (max-width: 650px) {
  .news-filter {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news-tabs {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .news-tab {
    font-size: 22px;
  }

  .news-sort {
    justify-self: start;
  }

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

  .news-feature-link {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px){
  .about-block p{
    font-size: 18px;      /* or 16px if you prefer */
    line-height: 1.65;
    max-width: none;      /* optional: stops narrow wrapping */
  }
}


/* Keyboard-accessible mobile navigation controls. */
.hamburger, .close-menu { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; }
.hamburger { box-sizing: content-box; padding: 10px; min-height: 24px; justify-content: center; }
.close-menu { font-size: 50px; padding: 0 8px; }
:focus-visible { outline: 3px solid #243aaf; outline-offset: 5px; }

/* Homepage introduction supporting line. */
.home-intro-support { font-size: clamp(18px, 2vw, 26px); line-height: 1.5; max-width: 48ch; margin: 24px 0 0; }
