/* ==========================================================================
   Oluwasegun Elijah Ajanaku — site layer on top of the Aliyo template.
   main.css is the untouched template (except the removed Google Fonts import);
   every adaptation lives here.
   ========================================================================== */

/* ---------- Self-hosted fonts (OFL, see assets/fonts) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0300-0303, U+0305-0307, U+0309-0328, U+032A-036F, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0300-0303, U+0305-0307, U+0309-0328, U+032A-036F, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --title-font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --body-font: "Manrope", "Helvetica Neue", Arial, sans-serif;
}
/* the template hard-codes "Manrope" in places — make sure fallbacks exist */
body { font-family: var(--body-font); }

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100000;
  background: #fff; color: #0B0C0F; padding: 10px 18px; border-radius: 40px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #FF8932; outline-offset: 3px;
}

/* ---------- Wordmark (stand-in until a personal logo is supplied) ---------- */
.site-wordmark {
  display: inline-flex; flex-direction: column; line-height: .92;
  font-family: var(--title-font); font-weight: 800; letter-spacing: .02em;
  color: #fff; font-size: 17px; text-transform: uppercase;
}
.site-wordmark span:last-child { color: #FF8932; }
.site-wordmark:hover { color: #fff; }
.mobile-logo .site-wordmark { font-size: 22px; align-items: center; }

/* header social icons as font icons */
.header1-social__item a { width: 44px; height: 44px; color: #fff; font-size: 15px; }
.header1-social__item a:hover { color: var(--theme-color1); }

/* ---------- Home hero ---------- */
.hero-intro { max-width: 540px; }
.hero-intro .hero-eyebrow {
  font-family: var(--body-font); font-size: 13px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #FF8932; margin-bottom: 14px;
}
.hero-intro .hero-headline {
  font-family: var(--title-font); color: #fff; font-weight: 800;
  font-size: 40px; line-height: 1.05; letter-spacing: -.01em; margin-bottom: 18px; text-transform: none;
}
.hero-intro .hero-text { color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.55; font-weight: 500; margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 60px;
  border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 700; font-size: 15px; transition: all .3s;
}
.hero-cta:hover { background: #fff; color: var(--theme-color1); border-color: #fff; }
.hero-cta--primary { background: var(--gradient-color); border-color: transparent; }
.hero-cta--primary:hover { background: #fff; }
.hero-availability { margin-top: 18px; color: rgba(255,255,255,.7); font-size: 14px; }
.hero1 .video .title-video { display: block; background: #000; }
.hero1-content-time__date { text-transform: uppercase; }
@media (max-width: 1399px) { .hero-intro .hero-headline { font-size: 34px; } }
@media (max-width: 991px) {
  .hero-intro .hero-headline, .hero-intro .hero-text { color: var(--theme-color1); }
  .hero-cta { color: var(--theme-color1); border-color: rgba(11,12,15,.3); }
  .hero-cta--primary { color: #fff; }
}
@media (max-width: 767px) {
  .hero-intro .hero-headline { font-size: 30px; }
  .hero-intro .hero-text { font-size: 16px; }
}
@media (max-width: 500px) {
  .hero-intro .hero-eyebrow { color: #c2410c; }
}

/* counters use h2 instead of the template's h1 */
.counter1-item-box .counter-number {
  color: var(--white); font-family: var(--title-font); font-size: 200px; font-weight: 600; line-height: 1; display: flex; align-items: flex-start;
}
@media (max-width: 1399px) { .counter1-item-box .counter-number { font-size: 150px; } }
@media (max-width: 991px) { .counter1-item-box .counter-number { font-size: 110px; } }
@media (max-width: 575px) { .counter1-item-box .counter-number { font-size: 90px; } }

/* home about heading: h2 styled like the template h4 */
.about1__desc h2.text-fill, .about1__desc2 h3.h4 { text-transform: uppercase; }
.mt-40 { margin-top: 40px; } .mt-60 { margin-top: 60px; }
.btn-wrapper.justify-content-start { justify-content: flex-start !important; }

/* selected-work intro replaces the {22-24} brace */
.section-top__intro {
  font-family: var(--body-font) !important; font-size: 20px !important; line-height: 1.5 !important;
  font-weight: 500 !important; text-transform: none !important; max-width: 520px; color: var(--theme-color1);
  align-self: flex-end;
}
.project1-card-content__title { margin: 0; font-size: 20px; }
.project1-card-content__button { white-space: nowrap; font-size: 14px; }
.project1-card__thumb img[data-placeholder] { filter: none; }

/* experience preview (award list) */
.award1-content-list__name em {
  display: block; font-style: normal; font-weight: 500; font-size: 15px; opacity: .7; margin-top: 4px; padding-left: 0;
}
.award1__thumb img { border-radius: 10px; width: 100%; height: auto; }

/* brand names in place of logos */
.brand1__logo.brand-text {
  padding: 96px 24px; min-height: 260px; text-align: center;
  font-family: var(--title-font); font-weight: 800; font-size: 26px; line-height: 1.1;
  color: #fff; text-transform: uppercase;
}
.brand1__logo.brand-text a { color: #fff; }
.brand1__logo.brand-text a:hover { color: #FF8932; }

/* footer */
.footer-mark { width: 150px; height: 150px; border-radius: 50%; background: var(--gradient-color); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-mark img { width: 48px; height: 48px; border-radius: 0 !important; filter: brightness(0) invert(1); }
@media (max-width: 1199px) { .footer-mark { width: 90px; height: 90px; } .footer-mark img { width: 30px; height: 30px; } }
.footer-closing-text { color: rgba(255,255,255,.75); font-size: 18px; max-width: 560px; margin: 10px 0 30px; }
.footer-role { opacity: .65; font-size: 14px; }
.footer1-bottom-item__menu ul { flex-wrap: wrap; }

/* ---------- Page title (breadcrumb) ---------- */
.breadcumb1-title__three-button { text-transform: uppercase; }
.breadcumb1__thumb { max-height: 820px; }
.breadcumb1__thumb img { display: block; height: auto; object-fit: cover; max-height: 820px; }

/* ---------- Portfolio ---------- */
.work-intro { color: rgba(255,255,255,.8); font-size: 20px; line-height: 1.55; max-width: 820px; margin-bottom: 36px; }
.work-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 60px; }
.work-filter__btn {
  padding: 10px 20px; border-radius: 60px; border: 1px solid rgba(255,255,255,.18); background: transparent;
  color: #fff; font-weight: 700; font-size: 15px; transition: all .25s;
}
.work-filter__btn sup { font-size: 11px; opacity: .6; margin-left: 2px; }
.work-filter__btn:hover { border-color: #fff; }
.work-filter__btn.is-active { background: var(--gradient-color); border-color: transparent; }
.work-item.is-hidden { display: none !important; }
.work-empty { color: #fff; text-align: center; padding: 60px 0; }

/* ---------- Case studies ---------- */
.cs-label { color: #FF8932; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; display: flex; gap: 10px; align-items: center; margin-bottom: 20px; }
.project-details-item-right__title { color: #fff; }
.cs-section { padding-bottom: 20px; }
.cs-gallery { display: grid; gap: 24px; margin-top: 50px; }
.cs-gallery--grid-2 { grid-template-columns: repeat(2, 1fr); }
.cs-gallery--grid-3 { grid-template-columns: repeat(3, 1fr); }
.cs-gallery--stack { grid-template-columns: 1fr; }
.cs-gallery__item { margin: 0; border-radius: 10px; overflow: hidden; background: #15161a; }
.cs-gallery__item img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
.cs-gallery__item a:hover img { transform: scale(1.03); }
@media (max-width: 991px) { .cs-gallery--grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .cs-gallery--grid-2, .cs-gallery--grid-3 { grid-template-columns: 1fr; } .cs-gallery { gap: 14px; } }
.cs-video { margin: 50px 0 0; }
.cs-video video { width: 100%; border-radius: 10px; background: #000; display: block; aspect-ratio: 16 / 9; }
.cs-video figcaption { color: rgba(255,255,255,.65); font-size: 15px; margin-top: 12px; }
.cs-palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cs-swatch { display: flex; flex-direction: column; gap: 6px; color: #fff; }
.cs-swatch__chip { display: block; aspect-ratio: 1; border-radius: 10px; background: var(--sw); border: 1px solid rgba(255,255,255,.12); }
.cs-swatch__name { font-weight: 700; }
.cs-swatch__hex { font-family: Menlo, Consolas, monospace; opacity: .6; font-size: 13px; }
@media (max-width: 575px) { .cs-palette { grid-template-columns: repeat(2, 1fr); } }
.cs-next { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 50px; margin-top: 80px; }
.cs-next__all { color: #fff; font-weight: 700; display: inline-flex; gap: 10px; align-items: center; }
.cs-next__link { color: #fff; text-align: right; display: inline-flex; gap: 14px; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; }
.cs-next__link span { opacity: .6; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 700; }
.cs-next__link strong { font-family: var(--title-font); font-size: 44px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.cs-next__link:hover strong { color: #FF8932; }
@media (max-width: 767px) { .cs-next__link strong { font-size: 28px; } }

/* ---------- About ---------- */
.hero3-content__title .text-fill { display: block; }
.hero3-numbArea__thumb img { border-radius: 10px; max-width: 100%; height: auto; }
.marquee-box2__button { color: var(--theme-color1); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.marquee-wrapper__text svg { color: #fff; }
.philosophy__label { color: #FF8932; text-transform: uppercase; font-weight: 800; letter-spacing: .12em; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.philosophy__text { color: rgba(255,255,255,.85); font-size: 24px; line-height: 1.5; font-weight: 500; }
@media (max-width: 767px) { .philosophy__text { font-size: 19px; } }
.service2-item__title { margin: 0; }
.about-exp__box { border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 50px; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.about-exp__text { color: #fff; font-size: 22px; line-height: 1.5; max-width: 760px; margin: 0; }
@media (max-width: 767px) { .about-exp__box { padding: 28px; } .about-exp__text { font-size: 18px; } }

/* ---------- Expertise ---------- */
.service-page-item__thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; border-radius: 10px; }

/* ---------- Experience ---------- */
.tool-tile { border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 22px 24px; color: #fff; font-weight: 700; font-size: 18px; display: flex; gap: 14px; align-items: baseline; }
.tool-tile__num { color: #FF8932; font-size: 13px; font-weight: 800; }
.award1-content-list__date a { color: #FF8932; font-weight: 700; }

/* ---------- Contact ---------- */
.contact-intro { color: rgba(255,255,255,.85); font-size: 22px; line-height: 1.5; max-width: 820px; margin-bottom: 50px; }
.contact-form1 textarea {
  padding: 10px 0; width: 100%; margin-bottom: 60px; border: none; border-bottom: 1px solid var(--theme-color1);
  background: transparent; resize: vertical; font-size: 18px; color: var(--theme-color1);
}
.contact-form1 textarea::placeholder { color: var(--theme-color1); }
.contact-form1 input { color: var(--theme-color1); }
.contact-form1 input:invalid.was-validated, .contact-form1 textarea:invalid.was-validated { border-bottom-color: #F52A03; }
.contact-form1__title { font-size: 36px; }
.contact-form1__note { margin-top: 18px; font-size: 14px; color: #555; }
.contact-form1-thumb img { width: 100%; height: 100%; object-fit: cover; }
.contact-social__item a { color: var(--theme-color1); font-size: 18px; }
.contact-info__text a { color: inherit; }
.contact-info__text a:hover { color: #FF8932; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-inner { animation: none !important; }
  #preloader { display: none !important; }
}

/* ---------- Semantic-tag resets ----------
   The template styles bare h1–h6/p tags (huge sizes, centred <p>). Where this
   site uses a more meaningful tag than the template did, restore the look. */
.hero-intro p, .work-intro, .contact-intro, .footer-closing-text, .philosophy__text, .philosophy__label,
.cs-label, .about-exp__text, .project-details-item-right__title, .contact-form1__note, .cs-video figcaption,
.section-top__intro, .hero-availability { text-align: left; }
.about1__desc h2.about-heading, .about1__desc2 h3.h4 {
  font-size: 60px; line-height: 70px; font-weight: 500; text-align: left; text-transform: uppercase; color: var(--white);
}
@media (max-width: 1399px) { .about1__desc h2.about-heading, .about1__desc2 h3.h4 { font-size: 48px; line-height: 58px; } }
@media (max-width: 767px) { .about1__desc h2.about-heading, .about1__desc2 h3.h4 { font-size: 30px; line-height: 45px; } }
h3.h6, h2.h6 { font-size: 30px; line-height: 40px; font-weight: 600; text-align: inherit; }
@media (max-width: 1500px) { h3.h6, h2.h6 { font-size: 24px; line-height: 32px; } }
.hero3-numbArea-item-content h3.h6 { color: var(--theme-color1); }
.service2-item__title, .work-process1-card-content__title, .project1-card-content__title,
.award1-content__title, .award1__title, .service-page-item__title, .about2-tab-details-exp__title,
.project-details-item-left__title, .contact-form1__title { text-align: left; }
.service2-item__title, .work-process1-card-content__title { text-transform: none; }
.section-top p.section-top__title2:not(.section-top__intro) {
  font-family: var(--title-font); font-size: 140px; line-height: 1; font-weight: 400; text-transform: uppercase; text-align: end;
}
@media (max-width: 1500px) { .section-top p.section-top__title2:not(.section-top__intro) { font-size: 100px; } }
@media (max-width: 991px) { .section-top p.section-top__title2:not(.section-top__intro) { font-size: 60px; } }
@media (max-width: 575px) { .section-top p.section-top__title2:not(.section-top__intro) { font-size: 40px; } }

/* About hero image sizes (template expects small fixed thumbs) */
.hero3-content__thumb { flex-shrink: 0; width: 250px; }
.hero3-content__thumb img { width: 250px; height: 165px; object-fit: cover; display: block; }
.hero3-numbArea__thumb { width: 479px; max-width: 100%; }
.hero3-numbArea__thumb img { width: 100%; height: auto; aspect-ratio: 479 / 733; object-fit: cover; display: block; }
@media (max-width: 991px) { .hero3-content__thumb, .hero3-content__thumb img { width: 180px; height: 120px; } .hero3-numbArea__thumb { width: 320px; } }
.hero3-content__title > span {
  display: block; color: var(--white); font-family: var(--title-font); font-weight: 800;
  font-size: 112px; line-height: 1; text-transform: uppercase; text-align: left;
}
@media (max-width: 1599px) { .hero3-content__title > span { font-size: 92px; } }
@media (max-width: 1199px) { .hero3-content__title > span { font-size: 64px; } }
@media (max-width: 767px) { .hero3-content__title > span { font-size: 38px; } }

@media (max-width: 767px) {
  .contact-info__text { font-size: 18px; line-height: 1.5; word-break: break-word; }
  .contact-intro, .work-intro { font-size: 18px; }
}
/* About hero legibility over the light end of the gradient */
.hero3-content__desc span { color: var(--theme-color1); font-size: 20px; line-height: 1.5; padding-left: 0; display: block; text-align: left; font-weight: 600; }
.hero3-content__desc { max-width: 520px; }
.hero3-content__title2 { color: var(--theme-color1) !important; }

/* ---------- Social film grid (reels) ---------- */
.cs-reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 50px; align-items: start; }
.cs-reel { position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: 4 / 5; }
.cs-reel video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.cs-reel__dur { position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 20px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; pointer-events: none; }
@media (max-width: 575px) { .cs-reels { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ==========================================================================
   LAYOUT SYSTEM — one set of gutters, section spacing and type scaling for
   every page. Loaded last so it settles conflicts from the template.
   ========================================================================== */
:root {
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 130px);
  --block-gap: clamp(28px, 4vw, 56px);
}
/* Gutters: containers own the side spacing; rows/cols keep Bootstrap's math */
.container { padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 1400px) { .container { max-width: calc(1320px + 2 * var(--gutter)); } }
@media (min-width: 1800px) { .container { max-width: 1794px; } }
.section-padding { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-padding.pt-0 { padding-top: 0; } .section-padding.pb-0 { padding-bottom: 0; }

/* Text: left-aligned and allowed to wrap everywhere (template centres <p>) */
p { text-align: left; }
h1, h2, h3, h4, h5, h6, p, a, span, div { overflow-wrap: break-word; }
h1, h2, h3, .section-top__title1, .section-top__title5, .section-top__title6,
.breadcumb1-title__one, .breadcumb1-title__two, .breadcumb1-title__three,
.service2-item__title, .service-page-item__title, .project-details-item-right__title { text-wrap: balance; }
.about2__text2 { text-align: left; margin-left: 0; }
.contact-form1__note { overflow-wrap: anywhere; }

/* Display type scales with the screen instead of jumping at breakpoints */
.breadcumb1-title__one, .breadcumb1-title__two { font-size: clamp(34px, 8.2vw, 140px); line-height: 1; }
.breadcumb1-title__three { font-size: clamp(34px, 8.2vw, 140px); line-height: 1.05; flex-wrap: wrap; row-gap: 14px; }
.breadcumb1-title { padding-bottom: clamp(56px, 7vw, 130px); }
.section-top__title1, .section-top__title5, .section-top__title6 { font-size: clamp(40px, 7.4vw, 140px); line-height: 1; }
.about1__desc h2.about-heading, .about1__desc2 h3.h4 { font-size: clamp(24px, 3.6vw, 60px); line-height: 1.2; }
.about1__desc2-lowercase { padding-right: clamp(16px, 8vw, 240px); font-size: clamp(16px, 1.6vw, 26px); }
.about2__text1 { font-size: clamp(26px, 3.8vw, 59px); line-height: 1.2; }
.about2__text2 { font-size: clamp(17px, 1.6vw, 26px); line-height: 1.55; }
.award1__title { font-size: clamp(30px, 5.4vw, 100px); line-height: 1.1; }
.service2-item__title { font-size: clamp(26px, 3vw, 52px); line-height: 1.1; }
.service-page-item__title { font-size: clamp(28px, 3.6vw, 60px); line-height: 1.1; }
.service-page-item__number { font-size: clamp(90px, 15vw, 300px); line-height: .9; }
.project-details-item-right__title { font-size: clamp(22px, 2.2vw, 36px); line-height: 1.3; }
.project-details-item-left__title { font-size: clamp(22px, 2.2vw, 36px); line-height: 1.25; }
.footer1-content__title1, .footer1-content__title2 { font-size: clamp(48px, 11vw, 216px); line-height: 1; }
.cs-next__link strong { font-size: clamp(26px, 3.2vw, 44px); }
.hero-intro .hero-headline { font-size: clamp(30px, 2.8vw, 44px); }

/* Counters: labels size to their text instead of a fixed pill width */
.counter1-item { gap: clamp(24px, 4vw, 48px); }
.counter1-item-box__label { width: auto !important; max-width: 100%; height: auto; padding: 14px 26px; font-size: clamp(15px, 1.4vw, 22px); line-height: 1.3; gap: 12px; white-space: nowrap; }
@media (max-width: 575px) { .counter1-item-box__label { white-space: normal; } }

/* Homepage list of disciplines and About values: a real three-column grid */
.service2-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: clamp(20px, 3vw, 48px); padding-block: clamp(24px, 3vw, 42px); }
.service2-item__text { max-width: 46ch; }
@media (max-width: 767px) {
  .service2-item { grid-template-columns: 56px minmax(0, 1fr); row-gap: 12px; padding-block: 24px; }
  .service2-item__text { grid-column: 1 / -1; }
}

/* Portfolio cards: even gutters, pills that never spill off the card */
.project1-padding { padding: clamp(16px, 4.5vw, 75px); }
@media (max-width: 767px) { .project1-padding { padding: 14px var(--gutter); } }
.project1-card-meta { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 1399px) { .project1-card-meta__item:nth-child(n+3) { display: none; } }
@media (max-width: 575px) { .project1-card-meta__item:nth-child(n+2) { display: none; } .project1-card-meta__item { padding: 6px 14px; font-size: 13px; } }
.project1-card-content { align-items: center; gap: 16px; }
.project1-card-content > a { min-width: 0; }
.project1-card-content__title { font-size: clamp(17px, 1.6vw, 24px); line-height: 1.25; }
@media (max-width: 575px) { .project1-card-content { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; } }
.project1-card__thumb img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }

/* Marquee images: consistent height */
.marquee-wrapper .text-slider img { height: clamp(64px, 9vw, 162px); width: auto; aspect-ratio: 20 / 9; object-fit: cover; max-width: none; margin-bottom: 0; vertical-align: middle; }

/* Experience preview: stack company / role / years on small screens */
.award1-content-list { align-items: center; gap: 16px; }
.award1-content-list__name { gap: clamp(16px, 3vw, 50px); font-size: clamp(17px, 1.6vw, 26px); line-height: 1.3; flex-wrap: wrap; min-width: 0; }
.award1-content-list__name em { flex-basis: 100%; padding-left: calc(clamp(16px, 3vw, 50px) + 1.2em); }
.award1-content-list__date { flex-shrink: 0; font-size: clamp(14px, 1.2vw, 20px); white-space: nowrap; }
@media (max-width: 575px) {
  .award1-content-list { flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 0; }
  .award1-content-list__name em { padding-left: 0; }
  .award1-content-list__date { text-align: left; opacity: .8; }
}

/* Brand names */
@media (max-width: 767px) { .brand1__logo.brand-text { padding: 56px 20px; min-height: 180px; font-size: 22px; } }

/* About hero: title, thumbnail and intro stack cleanly on small screens */
@media (max-width: 991px) {
  .hero3-content { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero3-content__title { width: 100%; }
  .hero3-numbArea { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* Footer: social pills flow inside the page on tablets and phones */
@media (max-width: 991px) {
  .footer1-content-socialBtn { position: static; height: auto; justify-content: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
  .footer1-content-socialBtn__item, .footer1-content-socialBtn .ui-drag-element { transform: none !important; }
  .footer1-content { padding-bottom: 40px; }
}
.footer1-bottom { row-gap: 18px; }

/* Case studies */
.project-details-item { padding-top: var(--block-gap); padding-bottom: var(--block-gap); }
.cs-gallery, .cs-reels, .cs-video { margin-top: var(--block-gap); }
@media (max-width: 575px) { .cs-gallery--grid-3 { grid-template-columns: repeat(2, 1fr); } }
.project-details-info-list { flex-wrap: wrap; row-gap: 16px; }

/* Expertise: tags and thumbs keep the same left edge as the copy */
.service-page-item { padding-top: var(--block-gap); padding-bottom: var(--block-gap); }
.service-page-item__thumbs { gap: 16px; }
@media (max-width: 575px) { .service-page-item__thumbs { grid-template-columns: 1fr 1fr; display: grid; } }

/* expertise list: template fixes the title at 33% width, which split words inside the grid column */
.service2-item__title { width: auto; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.service2-item { grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr); }
@media (max-width: 767px) { .service2-item { grid-template-columns: 48px minmax(0, 1fr); } }
/* experience list: keep the dates level with the employer name */
@media (min-width: 768px) { .award1-content-list { align-items: baseline; } }
.skip-link:not(:focus) { clip-path: inset(50%); opacity: 0; pointer-events: none; }
/* short reel sets: give each film more room instead of leaving an empty row */
@media (min-width: 576px) {
  .cs-reels--few { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); max-width: calc(var(--n) * 400px); }
}
/* template's yellow line under the case-study banner → thin brand-gradient rule */
.breadcumb1__thumb-line { height: 4px; background: var(--gradient-color, linear-gradient(90deg, #F52A03, #FF8932)); }
/* gallery rows with mixed image ratios: fill each tile instead of leaving a dark gap (the lightbox shows the full image) */
@media (min-width: 576px) {
  .cs-gallery--grid-2 .cs-gallery__item, .cs-gallery--grid-3 .cs-gallery__item { display: flex; }
  .cs-gallery--grid-2 .cs-gallery__item > a, .cs-gallery--grid-3 .cs-gallery__item > a { display: block; flex: 1; }
  .cs-gallery--grid-2 .cs-gallery__item img, .cs-gallery--grid-3 .cs-gallery__item img { height: 100%; object-fit: cover; }
}
/* footer bottom: align every row to the same left edge on small screens */
@media (max-width: 767px) {
  .footer1-bottom { flex-direction: column; align-items: flex-start; gap: 14px; text-align: left; }
  .footer1-bottom-item, .footer1-bottom-item__menu { justify-content: flex-start; text-align: left; margin: 0; flex-wrap: wrap; column-gap: 18px; row-gap: 8px; }
}

/* thin, wide banners (web-banner artwork): don't let the facts bar cover them */
@media (min-width: 768px) { .project-details-info--wide { margin-top: 0; } }
/* "pair" gallery: two artworks of different shapes side by side, uncropped */
.cs-gallery--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (max-width: 575px) { .cs-gallery--pair { grid-template-columns: 1fr; } }

/* four-up grid (event recaps, story sets) */
.cs-gallery--grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .cs-gallery--grid-4 { grid-template-columns: repeat(2, 1fr); } }
/* justified row: mixed portrait/landscape pieces at one shared height, nothing cropped */
.cs-gallery--row { display: flex; gap: 24px; align-items: flex-start; }
.cs-gallery--row .cs-gallery__item { flex: var(--ar, 1) 1 0; min-width: 0; }
@media (max-width: 575px) { .cs-gallery--row { flex-direction: column; gap: 14px; } .cs-gallery--row .cs-gallery__item { flex: none; width: 100%; } }
@media (min-width: 576px) {
  .cs-gallery--grid-4 .cs-gallery__item { display: flex; }
  .cs-gallery--grid-4 .cs-gallery__item > a { display: block; flex: 1; }
  .cs-gallery--grid-4 .cs-gallery__item img { height: 100%; object-fit: cover; }
}
@media (max-width: 575px) { .cs-gallery--grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* CV download + certifications */
.about-exp__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cv-extra { margin-top: clamp(36px, 5vw, 60px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid rgba(255,255,255,.12); }
.cv-extra__title { color: #fff; font-size: clamp(20px, 2vw, 26px); margin: 0 0 18px; }
.cv-extra__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.cv-extra__list li { color: #fff; font-size: 17px; line-height: 1.5; }
.cv-extra__list em { font-style: normal; color: rgba(255,255,255,.65); }
.cv-btn .fa-arrow-down { transform: none !important; }
.cv-extra, .cv-extra__title, .cv-extra__list { text-align: left; }
.cv-extra__list li { font-size: clamp(16px, 1.3vw, 19px); }
.cv-extra__list span { font-weight: 600; }
.cv-download { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  background: var(--gradient-color, linear-gradient(90deg, #F52A03, #FF8932)); color: #fff; font-weight: 700;
  font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.cv-download:hover { color: #fff; filter: brightness(1.08); }

/* About hero: two headline lines at one size and one left edge, intro underneath */
.hero3-content__title > span, .hero3-content__title2 {
  font-size: clamp(34px, 6.2vw, 100px) !important; line-height: 1.02 !important; letter-spacing: -.01em;
  text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: none;
}
.hero3-content__title2 { margin: 0 !important; text-align: left; }
.hero3 .hero3-content:first-of-type { padding-top: clamp(150px, 16vw, 236px); align-items: flex-end; gap: clamp(20px, 3vw, 48px); }
.hero3-content--intro { display: flex; flex-direction: column-reverse; align-items: flex-start !important; justify-content: flex-start; gap: clamp(20px, 2.4vw, 32px); padding-top: clamp(6px, 1vw, 14px) !important; }
.hero3-content--intro .hero3-content__desc { max-width: 620px; }
.hero3-content--intro .hero3-content__desc span { font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; }
@media (max-width: 1399px) {
  .hero3 .hero3-content:first-of-type { flex-direction: column-reverse; align-items: flex-start; }
}
@media (min-width: 1400px) { .hero3-content__title { flex: 1; min-width: 0; } .hero3-content__title > span { white-space: nowrap; } }

/* Multi-row justified galleries (rows of equal-height images) */
.cs-rows { margin-top: var(--block-gap); }
.cs-rows > .cs-gallery { margin-top: 24px; }
.cs-rows > .cs-gallery:first-child { margin-top: 0; }
@media (max-width: 575px) {
  .cs-rows > .cs-gallery { margin-top: 14px; }
  .cs-gallery--row.cs-gallery--many { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cs-gallery--row.cs-gallery--many .cs-gallery__item { width: auto; display: flex; }
  .cs-gallery--row.cs-gallery--many .cs-gallery__item > a { display: block; flex: 1; }
  .cs-gallery--row.cs-gallery--many .cs-gallery__item img { height: 100%; object-fit: cover; }
}
@media (max-width: 575px) { .cs-gallery--row.cs-gallery--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
