/*
Theme Name: Made in Medina — Burgundy & Ivory Edition
Theme URI: https://made-in-medina.com/
Author: Made in Medina
Description: Custom responsive portfolio theme for Made in Medina. Marrakech film, photography and graphic design, with editable projects, videos, clients, and colors.
Version: 4.90
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: made-in-medina
*/

    :root {
      color-scheme: dark;
      /* Burgundy & Ivory Edition: exact user-selected base and text colors */
      --ink: #390108;          /* user-selected deep burgundy */
      --paper: #E4DCD0;        /* ivory text */
      --muted: #DCD0CC;        /* warm secondary text */
      --rule: rgba(228,220,208,.20);
      --accent: #E4DCD0;       /* ivory headings and details */
      --card-top: #742D38;
      --card-middle: #51151F;
      --card-bottom: #390108;
      --gutter: clamp(20px, 4vw, 64px);
      --mono: "DM Mono", "Courier New", monospace;
      --sans: "Manrope", Arial, sans-serif;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; background: var(--ink); }
    body { margin: 0; color: var(--paper); background: var(--ink); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; }
    body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E"); mix-blend-mode: screen; }
    a { color: inherit; text-decoration: none; }
    button { color: inherit; font: inherit; }
    img { display: block; width: 100%; }
    .page-shell { overflow: clip; }
    .eyebrow, .micro, .nav-link, .image-note, .project-meta, .section-index, .footer-small { font: 10px/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
    .eyebrow { color: var(--muted); }
    .grid-frame { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .site-header { position: relative; z-index: 30; height: 74px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-bottom: 1px solid var(--rule); }
    .brand { display: inline-flex; flex-direction: column; width: max-content; font-size: 12px; font-weight: 700; line-height: .95; letter-spacing: .12em; }
    .brand span:last-child { color: var(--accent); }
    .header-location { justify-self: center; color: var(--muted); }
    .header-right { justify-self: end; display: flex; align-items: center; gap: 34px; }
    .nav-link { color: var(--paper); transition: color .25s ease; }
    .nav-link:hover, .nav-link:focus-visible { color: var(--accent); }
    .availability { display: flex; align-items: center; gap: 9px; color: var(--muted); }
    .availability i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(228,220,208,.55); }
    .menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }

    .hero { min-height: min(850px, calc(100svh - 74px)); position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; padding: 0 var(--gutter); isolation: isolate; }
    .hero::before, .hero::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; width: 1px; background: var(--rule); }
    .hero::before { left: 34%; } .hero::after { right: 34%; }
    .hero-topline { grid-column: 1 / -1; display: flex; justify-content: space-between; padding: 20px 0 0; color: var(--muted); }
    .hero-copy { grid-column: 1 / -1; grid-row: 2; position: relative; align-self: center; z-index: 3; padding: 30px 0 90px; }
    .hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px 5px; }
    .hero-kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
    h1 { margin: 0; max-width: 100%; font-size: clamp(76px, 16.5vw, 248px); font-weight: 500; letter-spacing: -.095em; line-height: .72; text-transform: uppercase; }
    h1 span { display: block; }
    h1 .line-two { padding-left: 12.8vw; }
    .hero-image { position: absolute; z-index: 1; width: clamp(280px, 36vw, 570px); height: clamp(300px, 42vw, 590px); top: 18%; left: 47%; overflow: hidden; border: 1px solid rgba(228,220,208,.33); background: #46111B; }
    .hero-image img { height: 100%; object-fit: cover; object-position: center 57%; filter: saturate(.72) brightness(.78); transform: scale(1.02); animation: image-settle 1.4s cubic-bezier(.2,.7,.2,1) both; }
    .hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 43%, rgba(0,0,0,.5)); }
    .image-note { position: absolute; z-index: 2; left: 14px; bottom: 12px; padding: 5px 8px; color: white; background: rgba(33,16,21,.83); backdrop-filter: blur(6px); font-size: 8px; }
    .hero-bottom { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; padding: 0 0 32px; }
    .scroll-cue { display: flex; align-items: center; gap: 10px; width: max-content; color: var(--paper); font-size: 12px; }
    .scroll-cue b { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--rule); border-radius: 50%; font-size: 15px; font-weight: 400; transition: transform .3s ease, background .3s ease; }
    .scroll-cue:hover b { transform: translateY(4px); background: var(--accent); }
    .hero-description { grid-column: 3; justify-self: end; max-width: 275px; margin: 0; color: #DCD0CC; font-size: 13px; line-height: 1.65; }
    .hero-description strong { color: var(--paper); font-weight: 500; }
    .hero-index { justify-self: center; align-self: end; color: var(--muted); }

    .intro { display: grid; grid-template-columns: 1fr 1fr; min-height: 510px; padding: 0 var(--gutter); border-bottom: 1px solid var(--rule); }
    .intro-label { border-right: 1px solid var(--rule); padding: 28px 24px 28px 0; }
    .intro-content { padding: clamp(54px, 8vw, 120px) 5vw; display: flex; flex-direction: column; justify-content: center; }
    .intro h2 { max-width: 780px; margin: 0; font-size: clamp(44px, 7.5vw, 110px); line-height: .96; font-weight: 400; letter-spacing: -.075em; }
    .intro h2 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
    .intro-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-top: 52px; }
    .intro-bottom p { max-width: 390px; margin: 0; color: #DCD0CC; font-size: 13px; line-height: 1.85; }
    .text-link { justify-self: end; display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--accent); padding-bottom: 8px; font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: gap .25s ease; }
    .text-link:hover { gap: 23px; }
    .text-link span { color: var(--accent); font-size: 16px; }

    .services { display: grid; grid-template-columns: 35% 65%; padding: 0 var(--gutter); border-bottom: 1px solid var(--rule); }
    .services-aside { position: relative; padding: 28px 28px 50px 0; border-right: 1px solid var(--rule); }
    .services-aside .aside-photo { position: sticky; top: 45px; margin-top: 90px; width: min(82%, 380px); aspect-ratio: .85; overflow: hidden; background: #46111B; }
    .aside-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) brightness(.78); }
    .services-list { padding: 26px 0 35px 6vw; }
    .services-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 75px; }
    .services-heading h2 { margin: 0; font-weight: 400; font-size: clamp(24px, 3vw, 42px); letter-spacing: -.05em; }
    .service-row { display: grid; grid-template-columns: 60px 1fr 28px; align-items: center; gap: 18px; min-height: 104px; border-top: 1px solid var(--rule); transition: padding .3s ease, color .3s ease; }
    .service-row:last-child { border-bottom: 1px solid var(--rule); }
    .service-row:hover { padding-left: 12px; color: var(--accent); }
    .service-row .num { color: var(--muted); font: 10px var(--mono); }
    .service-row h3 { margin: 0; font-size: clamp(25px, 3vw, 43px); font-weight: 400; letter-spacing: -.06em; }
    .service-row p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
    .service-row .arrow { color: var(--accent); font-size: 20px; }

    .portfolio { padding: 0 var(--gutter) 110px; border-bottom: 1px solid var(--rule); }
    .portfolio-head { display: grid; grid-template-columns: 1fr 1fr; padding: 27px 0 42px; border-bottom: 1px solid var(--rule); align-items: end; }
    .portfolio-head h2 { margin: 30px 0 0; font-size: clamp(52px, 8vw, 116px); line-height: .83; font-weight: 400; letter-spacing: -.09em; }
    .portfolio-head h2 span { color: var(--accent); font-family: Georgia, serif; font-style: italic; }
    .portfolio-note { max-width: 280px; justify-self: end; margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 1.75; }
    .filter-bar { display: flex; align-items: center; gap: 8px; padding: 17px 0 25px; }
    .filter-btn { border: 1px solid transparent; border-radius: 99px; padding: 8px 13px; background: transparent; color: var(--muted); cursor: pointer; font: 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: color .2s ease, background .2s ease, border-color .2s ease; }
    .filter-btn:hover, .filter-btn[aria-pressed="true"] { border-color: var(--rule); color: var(--paper); background: rgba(228,220,208,.12); }
    .work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
    .work-card { grid-column: span 4; min-width: 0; cursor: pointer; animation: card-in .55s ease both; }
    .work-card:nth-child(3n + 2) { margin-top: 88px; }
    .work-card:nth-child(3n) { margin-top: 35px; }
    .work-card[hidden] { display: none; }
    .work-visual { position: relative; aspect-ratio: .79; overflow: hidden; background: #46111B; }
    .work-card:nth-child(2) .work-visual { aspect-ratio: .88; }
    .work-card:nth-child(3) .work-visual { aspect-ratio: .74; }
    .work-card:nth-child(4) .work-visual { aspect-ratio: .95; }
    .work-card:nth-child(5) .work-visual { aspect-ratio: .72; }
    .work-card:nth-child(6) .work-visual { aspect-ratio: .9; }
    .work-visual img { height: 100%; object-fit: cover; filter: saturate(.78) brightness(.82); transition: transform .8s cubic-bezier(.2,.65,.2,1), filter .6s ease; }
    .work-card:hover .work-visual img { transform: scale(1.055); filter: saturate(.95) brightness(.94); }
    .work-visual::after { content: ""; position: absolute; right: 14px; top: 14px; display: block; width: 38px; height: 38px; border: 1px solid rgba(218,176,170,.65); border-radius: 50%; background: rgba(0,0,0,.2) center/16px 16px no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DAB0AA' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18 18 6M8 6h10v10'/%3E%3C/svg%3E"); opacity: 0; transform: translate(-5px, 5px); transition: .3s ease; }
    .work-card:hover .work-visual::after { opacity: 1; transform: translate(0); }
    .work-info { display: flex; justify-content: space-between; gap: 12px; align-items: start; padding: 13px 0 0; }
    .work-title { margin: 0; font-size: 18px; font-weight: 400; letter-spacing: -.04em; }
    .project-meta { margin: 4px 0 0; color: var(--muted); font-size: 8px; }
    .placeholder-tag { flex: none; color: var(--accent); font: 8px/1.4 var(--mono); letter-spacing: .04em; text-align: right; }
    .portfolio-end { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--muted); }

    .process { display: grid; grid-template-columns: 1fr 1fr; min-height: 470px; padding: 0 var(--gutter); border-bottom: 1px solid var(--rule); }
    .process-title { padding: 28px 5vw 65px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: space-between; }
    .process-title h2 { margin: 70px 0 0; max-width: 600px; font-size: clamp(48px, 7vw, 98px); font-weight: 400; letter-spacing: -.085em; line-height: .88; }
    .process-title h2 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
    .process-body { padding: 28px 0 55px 6vw; display: flex; flex-direction: column; justify-content: space-between; }
    .process-body > p { max-width: 390px; margin: 65px 0 60px; color: #DCD0CC; font-size: 13px; line-height: 1.85; }
    .process-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
    .process-step { padding: 15px 15px 0 0; }
    .process-step strong { display: block; color: var(--accent); font: 10px var(--mono); }
    .process-step span { display: block; margin-top: 18px; font-size: 13px; }

    .contact { position: relative; min-height: 430px; padding: 32px var(--gutter) 52px; display: flex; flex-direction: column; justify-content: space-between; border-bottom: 1px solid var(--rule); overflow: hidden; }
    .contact::before { content: "M"; position: absolute; right: -1.5vw; bottom: -30vw; color: rgba(172,115,114,.06); font-size: 65vw; line-height: .8; letter-spacing: -.13em; pointer-events: none; }
    .contact-main { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; margin-top: 50px; }
    .contact h2 { max-width: 900px; margin: 0; font-size: clamp(58px, 10vw, 148px); line-height: .83; font-weight: 400; letter-spacing: -.09em; }
    .contact h2 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
    .contact-cta { display: flex; align-items: center; justify-content: center; gap: 25px; width: clamp(135px, 16vw, 205px); aspect-ratio: 1; border: 1px solid rgba(172,115,114,.5); border-radius: 50%; font: 10px/1.5 var(--mono); letter-spacing: .06em; text-align: center; text-transform: uppercase; transition: color .3s ease, background .3s ease, transform .3s ease; }
    .contact-cta:hover { color: var(--ink); background: var(--paper); transform: rotate(-8deg); }
    .contact-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-top: 55px; }
    .contact-bottom p { max-width: 280px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
    .contact-bottom .eyebrow { text-align: right; }
    .site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 23px var(--gutter) 27px; align-items: end; }
    .footer-brand { font-size: 14px; }
    .footer-center { justify-self: center; color: var(--muted); text-align: center; }
    .footer-social { justify-self: end; text-align: right; }
    .footer-social a { display: inline-flex; gap: 7px; align-items: center; border-bottom: 1px solid var(--rule); padding-bottom: 4px; transition: color .2s; }
    .footer-social a:hover { color: var(--accent); }

    dialog { width: min(980px, calc(100% - 28px)); max-width: none; max-height: calc(100% - 28px); padding: 0; overflow: auto; border: 1px solid var(--rule); color: var(--paper); background: #390108; }
    dialog::backdrop { background: rgba(0,0,0,.85); backdrop-filter: blur(9px); }
    .modal-image { position: relative; max-height: 70vh; overflow: hidden; background: #390108; }
    .modal-image img { max-height: 70vh; object-fit: cover; }
    .modal-content { display: flex; justify-content: space-between; gap: 25px; align-items: start; padding: 22px 24px; }
    .modal-content h2 { margin: 0; font-size: clamp(25px, 5vw, 44px); font-weight: 400; letter-spacing: -.06em; }
    .modal-close { border: 1px solid var(--rule); border-radius: 50%; width: 40px; height: 40px; background: transparent; cursor: pointer; font-size: 19px; }
    .modal-close:hover { background: var(--paper); color: var(--ink); }
    .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
    .reveal.is-visible { opacity: 1; transform: none; }
    @keyframes image-settle { from { opacity: .4; transform: scale(1.08); } to { opacity: 1; transform: scale(1.02); } }
    @keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
    @media (min-width: 1450px) { .hero { max-width: 1920px; margin: 0 auto; } }
    @media (max-width: 800px) {
      .site-header { height: 65px; grid-template-columns: 1fr auto; }
      .header-location { display: none; }
      .header-right { gap: 20px; }
      .header-right .availability { display: none; }
      .menu-toggle { display: block; font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
      .header-right nav { display: none; }
      .header-right nav.is-open { position: absolute; display: flex; flex-direction: column; align-items: flex-end; gap: 20px; top: 65px; left: 0; right: 0; padding: 26px var(--gutter) 30px; border-bottom: 1px solid var(--rule); background: rgba(33,16,21,.98); }
      .hero { min-height: min(760px, calc(100svh - 65px)); grid-template-rows: auto 1fr auto; }
      .hero::before { left: 50%; } .hero::after { display: none; }
      .hero-topline { padding-top: 15px; }
      .hero-topline .eyebrow:last-child { text-align: right; }
      .hero-copy { padding: 40px 0 130px; }
      .hero-kicker { font-size: 8px; }
      h1 { font-size: clamp(68px, 18vw, 140px); line-height: .78; }
      h1 .line-two { padding-left: 8vw; }
      .hero-image { width: 64vw; height: 59vw; max-height: 390px; top: 28%; left: 30%; }
      .hero-bottom { grid-template-columns: 1fr 1fr; padding-bottom: 22px; }
      .hero-index { display: none; }
      .hero-description { grid-column: 2; max-width: 230px; font-size: 11px; }
      .intro { min-height: auto; grid-template-columns: 1fr; }
      .intro-label { padding: 20px 0 0; border-right: 0; }
      .intro-content { padding: 65px 0 72px; }
      .intro-bottom { margin-top: 35px; }
      .services { grid-template-columns: 1fr; }
      .services-aside { display: grid; grid-template-columns: 1fr 1fr; align-items: start; min-height: 110px; padding: 20px 0; border: 0; }
      .services-aside .aside-photo { position: static; grid-column: 2; grid-row: 1 / span 2; width: 100%; margin: 0; aspect-ratio: 1.25; }
      .services-list { padding: 15px 0 50px; }
      .services-heading { margin-bottom: 35px; }
      .portfolio { padding-bottom: 75px; }
      .portfolio-head { grid-template-columns: 1fr; gap: 25px; }
      .portfolio-note { justify-self: start; }
      .work-card { grid-column: span 6; }
      .work-card:nth-child(3n + 2), .work-card:nth-child(3n) { margin-top: 0; }
      .work-card:nth-child(even) { margin-top: 45px; }
      .process { grid-template-columns: 1fr; }
      .process-title { min-height: 340px; border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; }
      .process-title h2 { margin-top: 55px; }
      .process-body { padding: 0 0 45px; }
      .process-body > p { margin: 40px 0 55px; }
      .contact { min-height: 390px; }
      .contact-main { grid-template-columns: 1fr; align-items: start; }
      .contact-cta { width: 125px; justify-self: end; margin-top: -6px; }
      .contact h2 { font-size: clamp(56px, 12vw, 92px); }
      .site-footer { grid-template-columns: 1fr 1fr; row-gap: 25px; }
      .footer-center { grid-column: 1 / -1; grid-row: 2; justify-self: start; text-align: left; }
    }
    @media (max-width: 520px) {
      :root { --gutter: 18px; }
      .micro, .eyebrow { font-size: 8px; }
      .hero { min-height: 690px; }
      .hero-image { width: 72vw; height: 78vw; top: 31%; left: 25%; }
      .hero-copy { padding-top: 60px; padding-bottom: 100px; }
      h1 { font-size: clamp(58px, 19vw, 100px); }
      h1 .line-two { padding-left: 4vw; }
      .hero-description { font-size: 10px; max-width: 190px; }
      .scroll-cue { font-size: 10px; }
      .intro h2 { font-size: clamp(43px, 12vw, 62px); }
      .intro-bottom { grid-template-columns: 1fr; gap: 23px; }
      .text-link { justify-self: start; }
      .services-aside { min-height: 90px; }
      .services-aside .aside-photo { aspect-ratio: 1; }
      .service-row { grid-template-columns: 31px 1fr 20px; gap: 11px; min-height: 90px; }
      .service-row h3 { font-size: 25px; }
      .service-row p { max-width: 235px; font-size: 10px; line-height: 1.5; }
      .filter-bar { gap: 3px; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
      .filter-btn { flex: none; padding: 8px 10px; font-size: 8px; }
      .work-grid { gap: 24px 12px; }
      .work-card { grid-column: span 6; }
      .work-card:nth-child(even) { margin-top: 30px; }
      .work-title { font-size: 14px; }
      .placeholder-tag { max-width: 65px; font-size: 7px; }
      .project-meta { font-size: 7px; }
      .portfolio-end { margin-top: 40px; }
      .process-title { min-height: 300px; }
      .process-title h2 { font-size: 59px; }
      .process-steps { grid-template-columns: 1fr; }
      .process-step { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--rule); }
      .process-step span { margin: 0; }
      .contact { min-height: 370px; }
      .contact-main { gap: 22px; margin-top: 45px; }
      .contact h2 { font-size: 62px; }
      .contact-cta { width: 105px; font-size: 8px; }
      .contact-bottom { align-items: start; }
      .contact-bottom p { max-width: 200px; font-size: 9px; }
      .contact-bottom .eyebrow { max-width: 125px; }
      .site-footer { font-size: 8px; }
      .footer-brand { font-size: 12px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
      .reveal { opacity: 1; transform: none; }
    }

    /* Burgundy-and-ivory design language from the supplied reference.
       All content, anchors, filters and modal behavior remain unchanged. */
    .hero h1, .intro h2, .services-heading h2, .portfolio-head h2,
    .process-title h2, .contact h2 { color: var(--accent); }
    .hero-description strong, .work-title, .service-row h3 { color: var(--paper); }
    .hero-image img, .aside-photo img, .work-visual img { filter: saturate(.7) sepia(.08) brightness(.77); }
    .service-row { padding: 12px 15px; margin-bottom: 10px;
      border: 1px solid var(--rule); border-radius: 8px;
      background: linear-gradient(180deg, rgba(228,220,208,.08) 0%, rgba(57,1,8,.34) 60%, rgba(57,1,8,.12) 100%);
      transition: padding .3s ease, color .3s ease, background .3s ease; }
    .service-row:last-child { border-bottom: 1px solid var(--rule); }
    .service-row:hover { background: linear-gradient(180deg, rgba(228,220,208,.13) 0%, rgba(57,1,8,.4) 75%, rgba(57,1,8,.2) 100%); }
    .work-visual { background: linear-gradient(180deg, var(--card-top), var(--card-middle) 55%, var(--card-bottom)); }
    .contact-cta:hover, .modal-close:hover { background: var(--accent); color: var(--ink); }
    @media (max-width: 520px) { .service-row { padding: 12px 10px; } }
  
/* WordPress-ready additions */
html {scroll-padding-top: 24px;}
.site-header {min-height:74px;height:auto;}
.header-right nav {display:flex;gap:25px;align-items:center;}
.site-header .nav-link{white-space:nowrap;}
.hero {min-height:680px;}
.hero-description,.intro-bottom p,.process-body>p,.contact-bottom p,.portfolio-note {color:#DCD0CC;}
.logo-line {word-break:break-word;}
.service-row h3 {color:var(--accent);}
.feature-tag{color:var(--accent);font:9px var(--mono);letter-spacing:.05em;text-transform:uppercase;}
.video-section,.clients-section{padding:28px var(--gutter) 90px;border-bottom:1px solid var(--rule);}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:22px;margin:0 0 32px;padding-bottom:22px;border-bottom:1px solid var(--rule);}
.section-head h2{font-size:clamp(52px,8vw,100px);font-weight:400;letter-spacing:-.08em;line-height:.94;margin:20px 0 0;color:var(--accent);}
.section-head p{color:#DCD0CC;font-size:12px;line-height:1.75;max-width:300px;}
.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.video-card{min-width:0;display:block;}
.video-cover{position:relative;aspect-ratio:16/11;overflow:hidden;background:linear-gradient(160deg,#742D38 0%,#51151F 50%,#390108 100%);}
.video-cover img{width:100%;height:100%;object-fit:cover;filter:saturate(.75) brightness(.8);transition:transform .5s}
.video-card:hover .video-cover img{transform:scale(1.04)}
.play-mark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:56px;height:56px;border:1px solid #E4DCD0b7;border-radius:100%;background:#390108b8;color:#E4DCD0;font-size:20px;}
.video-card h3{font-size:18px;font-weight:500;letter-spacing:-.045em;margin:12px 0 4px;color:var(--accent)}
.video-card p{font:9px var(--mono);text-transform:uppercase;margin:0;color:#DCD0CC}
.clients-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--rule);border:1px solid var(--rule)}
.client-tile{min-height:145px;background:var(--ink);display:flex;align-items:center;justify-content:center;padding:25px;color:var(--accent);font-weight:700;letter-spacing:.02em;text-align:center}
.client-tile img{width:auto;height:auto;max-width:100%;max-height:65px;object-fit:contain;filter:grayscale(1);opacity:.78;transition:filter .2s,opacity .2s}.client-tile:hover img{opacity:1;filter:none}
.empty-slot{padding:30px;border:1px dashed var(--rule);font:12px/1.8 var(--sans);color:#DCD0CC}
.work-placeholder{aspect-ratio:.79;background:linear-gradient(180deg, var(--card-top) 0%,var(--card-middle) 45%,var(--card-bottom) 100%);display:flex;justify-content:center;align-items:center;font-size:50px;color:var(--ink)}
.page-content{padding:80px var(--gutter) 100px;max-width:1100px;margin:auto;min-height:65vh}
.page-content h1{font-size:clamp(62px,12vw,130px);line-height:.9;letter-spacing:-.08em;margin:0 0 60px}
.page-content p,.page-content li{line-height:1.8;color:#DCD0CC;font-size:15px}.page-content a{text-decoration:underline;text-decoration-color:var(--accent)}
.skip-link{position:absolute;top:-100px;left:10px;z-index:99;padding:10px;background:#fff;color:#111}.skip-link:focus{top:8px}
.work-visual button{border:0;width:100%;height:100%;padding:0;background:none;text-align:left;cursor:pointer}
.work-visual button:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.filter-btn:focus-visible,.contact-cta:focus-visible,.nav-link:focus-visible,.video-card:focus-visible{outline:2px solid #E4DCD0;outline-offset:3px}
@media(max-width:800px){.header-right nav{display:none}.header-right nav.is-open{display:flex}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.clients-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-head{display:block}.hero{min-height:700px}}
@media(max-width:520px){.video-grid{grid-template-columns:1fr}.clients-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header{min-height:65px}.section-head h2{font-size:56px}.hero{min-height:690px}}
/* The wider navigation collapses before it could collide with the brand. */
@media (max-width:1180px){
  .site-header{grid-template-columns:1fr 1fr 1fr;}
  .header-right .availability{display:none}
  .header-right nav{display:none}
  .menu-toggle{display:block}
  .header-right nav.is-open{position:absolute;display:flex;flex-direction:column;align-items:flex-end;gap:19px;top:74px;left:0;right:0;padding:25px var(--gutter) 29px;border-bottom:1px solid var(--rule);background:rgba(57,1,8,.98)}
}
@media (max-width:800px){.site-header{grid-template-columns:1fr auto}.header-right nav.is-open{top:65px}}


/* v1.1 — The Instagram-style 4:5 photography / 9:16 Reels portfolio. */
.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;align-items:start}
.gallery-tile,.reel-tile{min-width:0;animation:card-in .4s ease both}
.gallery-tile[hidden],.reel-tile[hidden],.gallery-more[hidden]{display:none!important}
.gallery-open,.reel-open{width:100%;display:block;text-align:left;border:0;background:transparent;padding:0;cursor:pointer;color:inherit;text-decoration:none}
.gallery-photo,.reel-cover{display:block;position:relative;overflow:hidden;background:linear-gradient(180deg,#742D38,#51151F 55%,#390108);isolation:isolate}
.gallery-photo{aspect-ratio:4/5}.reel-cover{aspect-ratio:9/16}
.gallery-photo>img,.reel-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.82) brightness(.88);transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .45s}
.gallery-open:hover img,.reel-open:hover img{transform:scale(1.05);filter:saturate(.98) brightness(.96)}
.gallery-hover{position:absolute;inset:auto 10px 10px auto;background:#390108c9;color:#E4DCD0;padding:8px 10px;font:9px var(--mono);letter-spacing:.05em;text-transform:uppercase;opacity:0;transform:translateY(6px);transition:.25s}
.gallery-open:hover .gallery-hover,.gallery-open:focus-visible .gallery-hover{opacity:1;transform:none}
.gallery-info,.reel-info{display:flex;flex-direction:column;gap:4px;padding:11px 2px 18px}
.gallery-info strong,.reel-info strong{color:#E4DCD0;font-size:14px;font-weight:600;line-height:1.3}
.gallery-info span,.reel-info span{font:9px/1.5 var(--mono);color:var(--accent);letter-spacing:.02em;text-transform:uppercase}
.demo-label{position:absolute;left:10px;top:10px;padding:6px 7px;background:#390108cf;font:8px var(--mono);letter-spacing:.08em;color:#E4DCD0;text-transform:uppercase}
.reel-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:59px;height:59px;border-radius:50%;border:1px solid #E4DCD0aa;color:#E4DCD0;background:#390108b3;font:22px var(--sans);transition:background .25s,transform .25s}
.reel-open:hover .reel-play{background:#E4DCD0;transform:translate(-50%,-50%) scale(1.08)}
.reels-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.reels-section{padding-top:38px}.reels-section .section-head h2{font-size:clamp(48px,7vw,100px)}
.reel-placeholder{display:grid;place-items:center;position:absolute;inset:0;color:#E4DCD0;font:11px var(--mono);text-transform:uppercase}
.reel-no-video{cursor:default}
.gallery-more{margin:37px auto 15px;display:flex;justify-content:center;align-items:center;gap:18px;padding:14px 26px;background:none;border:1px solid #E4DCD0;color:#E4DCD0;font:10px var(--mono);letter-spacing:.1em;text-transform:uppercase;cursor:pointer;transition:background .2s}
.gallery-more:hover{background:#E4DCD033}.gallery-more span{font-size:17px;color:var(--accent)}
.gallery-open:focus-visible,.reel-open:focus-visible,.gallery-more:focus-visible{outline:3px solid #E4DCD0;outline-offset:4px}
.mim-lightbox{width:min(1020px,calc(100% - 24px));max-height:92vh;background:#390108}.mim-lightbox .modal-image{display:grid;place-items:center;max-height:75vh;background:#250006}.mim-lightbox .modal-image img{width:auto;max-width:100%;height:auto;max-height:75vh;object-fit:contain}
.mim-reel-modal{position:fixed;width:min(440px,calc(100% - 20px));max-width:none;max-height:95vh;background:#390108;color:#E4DCD0;border:1px solid #87515A;padding:12px}
.mim-reel-modal::backdrop{background:#000e;backdrop-filter:blur(8px)}
.mim-reel-modal-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.reel-close{width:33px;height:33px;border:1px solid #B6858D;border-radius:50%;background:transparent;font-size:20px;cursor:pointer}
.reel-player-wrap{display:grid;place-items:center;max-height:76vh;background:#250006;aspect-ratio:9/16;margin:auto}
#mim-reel-player{display:block;width:100%;height:100%;max-height:76vh;object-fit:contain}
.reel-playing-title{font-size:14px;letter-spacing:-.01em;margin:13px 3px 4px}
@media(max-width:1100px){.gallery-grid,.reels-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.gallery-grid,.reels-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-info strong,.reel-info strong{font-size:12px}.gallery-info span,.reel-info span{font-size:8px}.gallery-hover{display:none}.reel-play{width:45px;height:45px;font-size:17px}.reels-section{padding-bottom:65px}}
@media(max-width:420px){.gallery-grid,.reels-grid{gap:8px}.gallery-info{padding:8px 2px 14px}.reel-info{padding:8px 2px 15px}.gallery-more{margin-top:23px}.demo-label{font-size:7px;padding:5px}}

/* v1.2 — Direct contact and About Us (responsive) */
.contact-links{position:relative;z-index:1;display:flex;gap:14px;flex-wrap:wrap;margin:34px 0 0}
.contact-method{flex:1 1 240px;max-width:390px;display:flex;align-items:center;gap:13px;min-height:82px;padding:17px 19px;background:linear-gradient(165deg,rgba(228,220,208,.07),rgba(57,1,8,.35));border:1px solid rgba(228,220,208,.24);border-radius:9px;transition:background .2s,transform .2s}
.contact-method:hover{background:rgba(228,220,208,.12);transform:translateY(-2px)}
.contact-method-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid var(--accent);border-radius:50%;font-size:19px}
.contact-method>span:nth-child(2){flex:1;min-width:0}.contact-method strong{display:block;font-size:15px;color:#E4DCD0}.contact-method small{display:block;color:#DCD0CC;font-size:11px;overflow-wrap:anywhere;margin-top:4px}.contact-method>span:last-child{color:var(--accent)}
.contact-hint{border:1px dashed rgba(228,220,208,.42);color:#DCD0CC;padding:18px;font:12px/1.7 var(--sans);margin:0;max-width:550px}
.footer-social{display:flex;flex-wrap:wrap;gap:13px 19px;justify-content:flex-end;max-width:490px}
.footer-social a{margin:0;white-space:nowrap}.footer-social a:hover{color:#E4DCD0}
.about-page{width:100%;}.about-page h1,.about-page h2,.about-page h3{color:var(--accent)}
.about-page-hero{min-height:480px;padding:35px var(--gutter) 40px;display:flex;flex-direction:column;justify-content:space-between;position:relative;border-bottom:1px solid var(--rule);background:radial-gradient(ellipse at 75% 40%,rgba(228,220,208,.055),transparent 53%)}
.about-page-hero h1{font-size:clamp(80px,14vw,210px);letter-spacing:-.1em;line-height:.9;text-transform:none;margin:70px 0 65px}
.about-page-hero h1 em,.about-page h2 em{font-family:Georgia,serif;font-weight:400}
.about-page-hero-bottom{display:flex;justify-content:space-between;gap:20px;align-items:flex-end}.about-page-hero-bottom p{font-size:14px;margin:0;color:#DCD0CC}
.about-biography{padding:85px var(--gutter);display:grid;grid-template-columns:35% 1fr;gap:6vw;border-bottom:1px solid var(--rule)}
.about-biography h2{font-size:clamp(45px,5.5vw,84px);font-weight:400;letter-spacing:-.07em;line-height:.98;margin:0 0 35px}
.about-biography p{font-size:clamp(16px,1.6vw,21px);line-height:1.9;color:#E4DCD0;max-width:740px}
.about-details{padding:70px var(--gutter) 110px;border-bottom:1px solid var(--rule)}
.about-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.about-detail-card{padding:27px 25px 40px;background:linear-gradient(180deg,rgba(228,220,208,.10),rgba(57,1,8,.26) 43%,rgba(57,1,8,.45));border:1px solid rgba(228,220,208,.18);border-radius:10px;min-width:0}
.about-detail-num{font:10px var(--mono);color:#DCD0CC;letter-spacing:.07em}
.about-detail-card h3{font-size:clamp(26px,3vw,43px);font-weight:500;letter-spacing:-.06em;margin:35px 0 22px}
.about-detail-card ul{list-style:none;margin:0;padding:0}.about-detail-card li{font-size:13px;line-height:1.85;color:#E4DCD0;border-top:1px solid rgba(228,220,208,.15);padding:12px 0}
.about-page-cta{padding:75px var(--gutter) 100px}.about-page-cta h2{font-size:clamp(56px,9vw,135px);line-height:.88;letter-spacing:-.08em;font-weight:400;margin:50px 0 45px}
.about-page-cta>a{display:inline-flex;gap:35px;padding:18px 22px;border:1px solid var(--accent);border-radius:80px;font:12px var(--mono);text-transform:uppercase;color:#E4DCD0}.about-page-cta>a:hover{background:var(--accent);color:var(--ink)}
@media(max-width:1000px){.about-detail-grid{grid-template-columns:1fr 1fr}.about-detail-card:last-child{grid-column:1/-1}}
@media(max-width:800px){.footer-social{justify-content:flex-start;max-width:none}.about-biography{grid-template-columns:1fr;gap:35px}.about-detail-grid{grid-template-columns:1fr}.about-detail-card:last-child{grid-column:auto}.about-page-hero{min-height:360px}.about-page-hero h1{font-size:clamp(65px,15vw,116px)}.about-biography{padding-top:55px;padding-bottom:65px}}
@media(max-width:520px){.site-footer{gap:20px}.footer-social{grid-column:1/-1;grid-row:3}.contact-links{margin-top:25px}.contact-method{flex-basis:100%;max-width:none}.about-page-hero{min-height:320px}.about-page-hero h1{margin:50px 0}.about-page-hero-bottom{display:block}.about-page-hero-bottom .micro{display:block;margin-top:12px}.about-details{padding:45px var(--gutter) 65px}.about-detail-card{padding:22px}.about-page-cta{padding:55px var(--gutter) 75px}}


/* v1.6 — original icons in a deliberately slow, seamless horizontal marquee */
.mim-icon-banner{position:relative;z-index:3;width:100%;overflow:hidden;background:var(--ink);border-top:1px solid rgba(228,220,208,.12);border-bottom:1px solid rgba(228,220,208,.12);padding:3px 0;isolation:isolate}
.mim-icon-banner::before,.mim-icon-banner::after{content:"";position:absolute;z-index:2;top:0;bottom:0;width:5.5vw;pointer-events:none}
.mim-icon-banner::before{left:0;background:linear-gradient(90deg,var(--ink),transparent)}
.mim-icon-banner::after{right:0;background:linear-gradient(270deg,var(--ink),transparent)}
.mim-icon-track{display:flex;align-items:center;width:max-content;animation:mim-icon-marquee var(--mim-banner-duration,75s) linear infinite;will-change:transform}
.mim-icon-group{display:flex;align-items:center;justify-content:space-around;flex:0 0 100vw;width:100vw;gap:clamp(6px,1.3vw,14px);padding:0 8px}
.mim-banner-icon{width:clamp(44px,4.2vw,58px);height:clamp(44px,4.2vw,58px);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.mim-banner-icon img{width:100%;height:100%;object-fit:contain;display:block}
@keyframes mim-icon-marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.mim-icon-banner:hover .mim-icon-track{animation-play-state:paused}
@media(max-width:650px){.mim-icon-banner{padding:2px 0}.mim-icon-group{gap:4px;padding:0 3px}.mim-banner-icon{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.mim-icon-track{animation:none;will-change:auto}}


/* v1.7 — Moroccan-inspired display typography. Body text and controls stay legible. */
:root{--mim-heading-font:"Marhey", "Manrope", sans-serif;}
.hero h1,
.portfolio-head h2,
.section-head h2,
.intro h2,
.services-heading h2,
.process-title h2,
.contact h2,
.about-page-hero h1,
.about-biography h2,
.about-details h2,
.about-page-cta h2,
.reels-section .section-head h2{
  font-family:var(--mim-heading-font);
  font-weight:500;
  letter-spacing:-.035em;
  line-height:1.10;
}
/* Decorative emphasis inherits the same family instead of unexpectedly switching to Georgia. */
.portfolio-head h2 span,
.section-head h2 span,
.intro h2 em,
.process-title h2 em,
.contact h2 em,
.about-page-hero h1 em,
.about-page h2 em{
  font-family:var(--mim-heading-font);
  letter-spacing:inherit;
}
/* The hand-lettered face is wider; keep the large hero contained on phones. */
.hero h1{font-size:clamp(52px, 12.4vw, 185px);line-height:1.08;overflow-wrap:normal;}
.hero h1 .line-two{padding-left:7vw;}
.portfolio-head h2{font-size:clamp(48px,7vw,104px);}
.about-page-hero h1{font-size:clamp(60px,11vw,160px);}
@media(max-width:800px){
  .hero h1{font-size:clamp(49px,12.4vw,100px);}
  .hero h1 .line-two{padding-left:5vw;}
}
@media(max-width:520px){
  .hero h1{font-size:clamp(44px,12vw,68px);line-height:1.12;}
  .hero h1 .line-two{padding-left:4vw;}
  .portfolio-head h2{font-size:clamp(42px,11.4vw,58px);}
  .contact h2{font-size:clamp(46px,11vw,64px);}
}

/* v1.8: Solander for large display headings only.
 * Font data are supplied by the site owner through the WordPress media library.
 */
:root{--mim-heading-font:"MIM Solander","Cormorant Garamond",Georgia,serif}
.hero h1,.intro h2,.services-heading h2,.portfolio-head h2,.section-head h2,
.process-title h2,.contact h2,.about-page-hero h1,.about-biography h2,
.about-details h2,.about-page-cta h2,.page-content h1{
  font-family:var(--mim-heading-font);
  font-weight:400;
  font-style:normal;
  letter-spacing:0;
  line-height:1.14;
  text-transform:none;
}
.hero h1{font-size:clamp(52px,11vw,168px);line-height:1.15;overflow-wrap:normal;word-break:normal}
.hero h1 .line-two{padding-left:min(12vw,150px)}
.portfolio-head h2{font-size:clamp(46px,7vw,104px)}
.about-page-hero h1{font-size:clamp(55px,10vw,156px)}
@media(max-width:800px){
 .hero h1{font-size:clamp(48px,11vw,105px)}
}
@media(max-width:520px){
 .hero h1{font-size:clamp(42px,11vw,65px)}
 .hero h1 .line-two{padding-left:3vw}
 .contact h2{font-size:clamp(45px,11vw,64px)}
 .portfolio-head h2{font-size:clamp(43px,10.3vw,61px)}
 .section-head h2{font-size:clamp(45px,11vw,62px)}
}


/* v1.9: fixed Solander lettering rendered as vector artwork; no font file is distributed. */
.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mim-vector-heading{position:relative;max-width:100%;}
.mim-vector-display{display:none;width:100%;line-height:0;}
.mim-vector-art{display:block;width:100%;aspect-ratio:var(--mim-ratio);background-color:var(--paper);-webkit-mask-image:var(--mim-art);mask-image:var(--mim-art);-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;}
.mim-vector-art.mim-art-mobile{display:none;}
.mim-use-vector .mim-vector-heading{font-size:0!important;letter-spacing:0!important;line-height:1!important;}
.mim-use-vector .mim-vector-heading .mim-vector-fallback{display:none!important;}
.mim-use-vector .mim-vector-heading .mim-vector-display{display:block;}
.mim-use-vector .hero h1.mim-vector-heading{width:min(62vw,850px);}
.mim-use-vector .portfolio-head h2.mim-vector-heading{width:min(100%,900px);margin-top:30px;}
.mim-use-vector .section-head h2.mim-vector-heading{width:min(100%,760px);}
.mim-use-vector .intro h2.mim-vector-heading{width:min(100%,820px);}
.mim-use-vector .services-heading h2.mim-vector-heading{width:min(100%,730px);}
.mim-use-vector .process-title h2.mim-vector-heading{width:min(100%,640px);}
.mim-use-vector .contact h2.mim-vector-heading{width:min(100%,1020px);}
.mim-use-vector .about-page-hero h1.mim-vector-heading{width:min(100%,900px);}
.mim-use-vector .about-biography h2.mim-vector-heading{width:min(100%,980px);}
.mim-use-vector .about-details h2.mim-vector-heading{width:min(100%,860px);}
.mim-use-vector .about-page-cta h2.mim-vector-heading{width:min(100%,900px);}
.mim-use-vector .hero h1.mim-vector-heading .mim-vector-display,
.mim-use-vector .portfolio-head h2.mim-vector-heading .mim-vector-display{padding:0}
/* Remove old decorative stars in SVG titles; the actual Solander shapes remain unobstructed */
.mim-use-vector .mim-vector-heading::before{content:none!important;display:none!important;}
@media(max-width:620px){
 .mim-use-vector .portfolio-head h2.mim-vector-heading{width:100%;}
 .mim-vector-art.mim-art-desktop{display:none;}
 .mim-vector-art.mim-art-mobile{display:block;}
 .mim-use-vector .hero h1.mim-vector-heading{width:min(100%,480px);}
 .mim-use-vector .contact h2.mim-vector-heading{width:100%;}
}

/* v2.1 Exact original Solander: static heading glyph outlines, no custom typeface bundled. */
.mim-use-vector .mim-vector-heading::before{content:none!important;display:none!important}
.mim-use-vector .mim-vector-heading .mim-vector-display{display:block}
.mim-use-vector .mim-vector-heading .mim-vector-fallback{display:none!important}
.mim-vector-heading .mim-vector-display .mim-vector-art{background-color:var(--paper);-webkit-mask-position:left center;mask-position:left center;}
.mim-use-vector .services-heading h2.mim-vector-heading{min-height:50px}
@media(max-width:620px){
 .mim-use-vector .hero h1.mim-vector-heading{width:min(90vw,455px)}
 .mim-use-vector .portfolio-head h2.mim-vector-heading{width:100%}
}

/* v2.2 — uppercase Solander letter shapes + warm ivory typography */
.mim-vector-heading .mim-vector-fallback{text-transform:uppercase;}
.mim-vector-art{background-color:var(--paper);}

/* Editable title layout — applied when Studio Control custom copy replaces SVG artwork */
.mimdc-live-heading{font-weight:400;line-height:1.12;max-width:100%;overflow-wrap:anywhere;hyphens:auto;}
.mimdc-live-heading::before{display:none!important}



/* v2.4.1 — Keep the site navigation fixed on desktop and mobile. */
:root { --mim-fixed-header-height: 74px; }
html { scroll-padding-top: calc(var(--mim-fixed-header-height) + 16px); }
body { padding-top: var(--mim-fixed-header-height); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  height: var(--mim-fixed-header-height);
  min-height: var(--mim-fixed-header-height);
  background: var(--ink);
  z-index: 9000;
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .14);
}
body.admin-bar .site-header { top: 32px; }

@media (max-width: 800px) {
  :root { --mim-fixed-header-height: 65px; }
}
@media (max-width: 1180px) {
  .header-right nav.is-open {
    top: 100%;
    max-height: calc(100dvh - var(--mim-fixed-header-height) - 20px);
    overflow-y: auto;
  }
}
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
}

/* Respect links that target a specific section via #anchor. */
#main, [id="top"], [id="studio"], [id="services"], [id="work"],
[id="videos"], [id="clients"], [id="contact"] {
  scroll-margin-top: calc(var(--mim-fixed-header-height) + 16px);
}



/* v2.5.0 — Scroll-reactive cinematic home photography. */
.mim-hero-stage{--mim-p:0;--mim-strength:1;position:relative;isolation:isolate;}
.mim-hero-stage[data-mim-motion-intensity="subtle"]{--mim-strength:.55}
.mim-hero-stage[data-mim-motion-intensity="cinematic"]{--mim-strength:1.3}
.mim-hero-stage.mim-motion-enabled{height:175svh;}
.mim-hero-stage.mim-motion-enabled > .hero{
  position:sticky;top:var(--mim-fixed-header-height,74px);
  height:calc(100svh - var(--mim-fixed-header-height,74px));
  min-height:0;overflow:hidden;
}
.mim-hero-stage .hero{isolation:isolate;}
.mim-hero-visuals{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;perspective:1100px;}
.mim-hero-visuals .mim-scene-photo{margin:0;position:absolute;border:1px solid rgba(228,220,208,.37);overflow:hidden;box-shadow:0 20px 65px rgba(10,0,0,.32);background:#46111B;will-change:transform,opacity;}
.mim-hero-visuals .mim-scene-photo img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.77) brightness(.8);}
.mim-hero-visuals .hero-image{z-index:2;left:47%;top:18%;width:clamp(280px,36vw,570px);height:clamp(300px,42vw,590px);}
.mim-hero-visuals .mim-scene-photo--second{z-index:3;width:clamp(160px,25vw,350px);height:clamp(190px,32vw,440px);left:8%;top:38%;}
.mim-hero-visuals .mim-scene-photo--third{z-index:1;width:clamp(160px,22vw,320px);height:clamp(210px,27vw,390px);right:2%;top:11%;}
.mim-hero-visuals .mim-scene-photo--second,.mim-hero-visuals .mim-scene-photo--third{opacity:0;}
.mim-hero-visuals .mim-motion-caption{position:absolute;right:var(--gutter);bottom:17%;z-index:4;font:9px var(--mono);letter-spacing:.2em;color:var(--paper);opacity:0;transform:translate3d(0,18px,0);}
.mim-hero-stage.mim-motion-enabled .mim-scene-photo--main{
 transform:translate3d(calc(var(--mim-p)*-13vw*var(--mim-strength)),calc(var(--mim-p)*-16vh*var(--mim-strength)),0) rotate(calc(var(--mim-p)*-5deg*var(--mim-strength)));
 opacity:calc(1 - var(--mim-p)*.38);
}
.mim-hero-stage.mim-motion-enabled .mim-scene-photo--second{
 transform:translate3d(calc(var(--mim-p)*8vw*var(--mim-strength)),calc((1 - var(--mim-p))*18vh*var(--mim-strength)),0) rotate(calc((1 - var(--mim-p))*-9deg));
 opacity:clamp(0,calc(var(--mim-p)*1.9 - .22),1);
}
.mim-hero-stage.mim-motion-enabled .mim-scene-photo--third{
 transform:translate3d(calc((1 - var(--mim-p))*12vw*var(--mim-strength)),calc((1 - var(--mim-p))*-13vh*var(--mim-strength)),0) rotate(calc((1 - var(--mim-p))*9deg));
 opacity:clamp(0,calc(var(--mim-p)*1.8 - .33),1);
}
.mim-hero-stage.mim-motion-enabled .hero-copy{
 transform:translate3d(0,calc(var(--mim-p)*-5vh*var(--mim-strength)),0);
 opacity:clamp(.3,calc(1 - var(--mim-p)*.48),1);
 will-change:transform,opacity;
}
.mim-hero-stage.mim-motion-enabled .mim-motion-caption{opacity:clamp(0,calc(var(--mim-p)*2 - .7),1);transform:translate3d(0,calc((1 - var(--mim-p))*18px),0);}
.mim-hero-stage .hero-topline,.mim-hero-stage .hero-bottom{position:relative;z-index:4;}
.mim-hero-stage .hero-copy{position:relative;z-index:5;pointer-events:none;}
/* Portfolio images remain clickable; gentle one-time editorial reveal on entry. */
.mim-motion-ready .gallery-tile,.mim-motion-ready .reel-tile{opacity:0;transform:translate3d(0,18px,0);transition:opacity .68s ease,transform .85s cubic-bezier(.2,.7,.2,1);}
.mim-motion-ready .gallery-tile.mim-inview,.mim-motion-ready .reel-tile.mim-inview{opacity:1;transform:translate3d(0,0,0);}
@media (max-width:800px){
 .mim-hero-stage.mim-motion-enabled{height:163svh;}
 .mim-hero-visuals .hero-image{width:62vw;height:65vw;max-height:385px;left:34%;top:29%;}
 .mim-hero-visuals .mim-scene-photo--second{left:3%;top:52%;width:39vw;height:48vw;}
 .mim-hero-visuals .mim-scene-photo--third{right:2%;top:10%;width:38vw;height:46vw;}
 .mim-hero-stage.mim-motion-enabled .mim-scene-photo--main{transform:translate3d(calc(var(--mim-p)*-10vw),calc(var(--mim-p)*-12vh),0) rotate(calc(var(--mim-p)*-4deg));}
 .mim-hero-stage.mim-motion-enabled .mim-scene-photo--second{transform:translate3d(calc(var(--mim-p)*8vw),calc((1 - var(--mim-p))*14vh),0) rotate(calc((1 - var(--mim-p))*-7deg));}
 .mim-hero-stage.mim-motion-enabled .mim-scene-photo--third{transform:translate3d(calc((1 - var(--mim-p))*9vw),calc((1 - var(--mim-p))*-9vh),0) rotate(calc((1 - var(--mim-p))*8deg));}
 .mim-hero-visuals .mim-motion-caption{bottom:20%;font-size:8px;}
}
@media(max-width:520px){
 .mim-hero-stage.mim-motion-enabled{height:150svh;}
 .mim-hero-visuals .hero-image{width:67vw;height:76vw;left:29%;top:31%;max-height:360px;}
 .mim-hero-visuals .mim-scene-photo--second{width:43vw;height:55vw;left:3%;top:44%;}
 .mim-hero-visuals .mim-scene-photo--third{width:41vw;height:55vw;right:3%;top:16%;}
 .mim-hero-stage.mim-motion-enabled .hero-copy{transform:translate3d(0,calc(var(--mim-p)*-2vh),0);}
 .mim-hero-visuals .mim-motion-caption{right:14px;bottom:18%;font-size:7px;}
}
@media(prefers-reduced-motion:reduce){
 .mim-hero-stage.mim-motion-enabled{height:auto!important;}
 .mim-hero-stage.mim-motion-enabled > .hero{position:relative;height:auto;min-height:690px;top:auto;overflow:hidden;}
 .mim-hero-stage.mim-motion-enabled .hero-copy,.mim-hero-stage.mim-motion-enabled .mim-scene-photo--main{transform:none!important;opacity:1!important;}
 .mim-hero-visuals .mim-scene-photo--second,.mim-hero-visuals .mim-scene-photo--third,.mim-motion-caption{display:none!important;}
 .mim-motion-ready .gallery-tile,.mim-motion-ready .reel-tile{transform:none;opacity:1;transition:none;}
}


/* v2.6.0 — iPhone hero showcase with Apple-style floating photography. */
.mim-hero-iphone{position:absolute;inset:0;overflow:hidden;pointer-events:none;perspective:1400px;}
.mim-hero-iphone .mim-iphone-device{position:absolute;left:57%;top:51%;width:min(28vw,300px);z-index:3;transform:translate3d(-50%,-50%,0);will-change:transform,opacity;}
.mim-hero-iphone .mim-iphone-frame{position:relative;padding:12px;border-radius:44px;background:linear-gradient(180deg,#4e4443 0%,#161010 17%,#090606 100%);box-shadow:0 24px 60px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -2px 0 rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);}
.mim-hero-iphone .mim-iphone-frame::before{content:"";position:absolute;inset:6px;border-radius:39px;border:1px solid rgba(255,255,255,.07);pointer-events:none;}
.mim-hero-iphone .mim-iphone-notch{position:absolute;left:50%;top:10px;transform:translateX(-50%);width:35%;height:22px;border-radius:0 0 16px 16px;background:#070404;z-index:4;box-shadow:inset 0 -1px 0 rgba(255,255,255,.05);}
.mim-hero-iphone .mim-device-screen{margin:0;position:relative;aspect-ratio:9/19.5;border-radius:34px;overflow:hidden;border:1px solid rgba(228,220,208,.15);background:#2a0a12;}
.mim-hero-iphone .mim-device-screen img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.8) brightness(.82);}
.mim-hero-iphone .mim-device-screen::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.08),transparent 20%,transparent 74%,rgba(0,0,0,.18));}
.mim-hero-iphone .mim-device-glow{position:absolute;left:50%;top:55%;width:120%;height:72%;transform:translate(-50%,-50%);background:radial-gradient(circle, rgba(228,220,208,.18) 0%, rgba(228,220,208,.06) 32%, transparent 70%);filter:blur(28px);z-index:-1;pointer-events:none;}
.mim-hero-iphone .mim-float-card{position:absolute;left:57%;top:51%;margin:0;width:clamp(120px,13vw,220px);aspect-ratio:4/5;border-radius:18px;overflow:hidden;border:1px solid rgba(228,220,208,.28);background:#46111B;box-shadow:0 22px 54px rgba(0,0,0,.3);will-change:transform,opacity;}
.mim-hero-iphone .mim-float-card img{width:100%;height:100%;object-fit:cover;filter:saturate(.82) brightness(.86);}
.mim-hero-iphone .mim-float-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.08),transparent 24%, transparent 82%, rgba(0,0,0,.22));}
.mim-hero-iphone .mim-motion-caption{position:absolute;left:57%;top:82%;transform:translateX(-50%);z-index:4;font:9px/1 var(--mono);letter-spacing:.22em;color:var(--paper);opacity:.85;white-space:nowrap;}
.mim-hero-iphone .mim-float-card--lt{z-index:4;}
.mim-hero-iphone .mim-float-card--lb{z-index:2;}
.mim-hero-iphone .mim-float-card--rt{z-index:4;}
.mim-hero-iphone .mim-float-card--rb{z-index:2;}

.mim-hero-stage .mim-hero-iphone .mim-float-card--lt{transform:translate3d(calc(-50% - 19vw),calc(-50% - 16vh),60px) rotate(-10deg);}
.mim-hero-stage .mim-hero-iphone .mim-float-card--lb{transform:translate3d(calc(-50% - 22vw),calc(-50% + 11vh),0) rotate(-7deg);}
.mim-hero-stage .mim-hero-iphone .mim-float-card--rt{transform:translate3d(calc(-50% + 16vw),calc(-50% - 14vh),40px) rotate(11deg);}
.mim-hero-stage .mim-hero-iphone .mim-float-card--rb{transform:translate3d(calc(-50% + 20vw),calc(-50% + 13vh),0) rotate(8deg);}

.mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-iphone-device{transform:translate3d(-50%,calc(-50% - var(--mim-p)*5.5vh*var(--mim-strength)),0) scale(calc(1 - var(--mim-p)*.02));opacity:calc(1 - var(--mim-p)*.08);}
.mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-float-card--lt{transform:translate3d(calc(-50% - 19vw - var(--mim-p)*7vw*var(--mim-strength)),calc(-50% - 16vh - var(--mim-p)*3vh*var(--mim-strength)),60px) rotate(calc(-10deg - var(--mim-p)*4deg));opacity:clamp(.72,calc(.5 + var(--mim-p)*1.1),1);}
.mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-float-card--lb{transform:translate3d(calc(-50% - 22vw - var(--mim-p)*9vw*var(--mim-strength)),calc(-50% + 11vh + var(--mim-p)*3vh*var(--mim-strength)),0) rotate(calc(-7deg - var(--mim-p)*2deg));opacity:clamp(.66,calc(.46 + var(--mim-p)*1.1),1);}
.mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-float-card--rt{transform:translate3d(calc(-50% + 16vw + var(--mim-p)*6.5vw*var(--mim-strength)),calc(-50% - 14vh - var(--mim-p)*3vh*var(--mim-strength)),40px) rotate(calc(11deg + var(--mim-p)*4deg));opacity:clamp(.72,calc(.52 + var(--mim-p)*1.1),1);}
.mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-float-card--rb{transform:translate3d(calc(-50% + 20vw + var(--mim-p)*8.5vw*var(--mim-strength)),calc(-50% + 13vh + var(--mim-p)*3vh*var(--mim-strength)),0) rotate(calc(8deg + var(--mim-p)*2deg));opacity:clamp(.66,calc(.46 + var(--mim-p)*1.1),1);}
.mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-motion-caption{transform:translate3d(-50%,calc(var(--mim-p)*12px),0);opacity:clamp(.68,calc(.4 + var(--mim-p)*1.1),1);}
.mim-hero-stage.mim-motion-enabled .hero-copy{transform:translate3d(0,calc(var(--mim-p)*-4vh*var(--mim-strength)),0);opacity:clamp(.34,calc(1 - var(--mim-p)*.42),1);will-change:transform,opacity;}

@media (max-width: 1280px){
  .mim-hero-iphone .mim-iphone-device,.mim-hero-iphone .mim-float-card,.mim-hero-iphone .mim-motion-caption{left:60%;}
}
@media (max-width: 980px){
  .mim-hero-iphone .mim-iphone-device,.mim-hero-iphone .mim-float-card,.mim-hero-iphone .mim-motion-caption{left:53%;}
  .mim-hero-iphone .mim-iphone-device{width:min(38vw,250px);}
  .mim-hero-stage .mim-hero-iphone .mim-float-card--lt{transform:translate3d(calc(-50% - 18vw),calc(-50% - 18vh),30px) rotate(-10deg);}
  .mim-hero-stage .mim-hero-iphone .mim-float-card--lb{transform:translate3d(calc(-50% - 18vw),calc(-50% + 14vh),0) rotate(-6deg);}
  .mim-hero-stage .mim-hero-iphone .mim-float-card--rt{transform:translate3d(calc(-50% + 16vw),calc(-50% - 15vh),25px) rotate(10deg);}
  .mim-hero-stage .mim-hero-iphone .mim-float-card--rb{transform:translate3d(calc(-50% + 16vw),calc(-50% + 13vh),0) rotate(7deg);}
}
@media (max-width: 760px){
  .mim-hero-stage.mim-motion-enabled{height:150svh;}
  .mim-hero-iphone .mim-iphone-device,.mim-hero-iphone .mim-float-card,.mim-hero-iphone .mim-motion-caption{left:50%;}
  .mim-hero-iphone .mim-iphone-device{width:min(54vw,230px);top:53%;}
  .mim-hero-iphone .mim-float-card{width:clamp(88px,22vw,130px);}
  .mim-hero-iphone .mim-float-card--lb,.mim-hero-iphone .mim-float-card--rb{display:none;}
  .mim-hero-stage .mim-hero-iphone .mim-float-card--lt{transform:translate3d(calc(-50% - 21vw),calc(-50% - 18vh),18px) rotate(-9deg);}
  .mim-hero-stage .mim-hero-iphone .mim-float-card--rt{transform:translate3d(calc(-50% + 21vw),calc(-50% - 16vh),18px) rotate(9deg);}
  .mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-float-card--lt{transform:translate3d(calc(-50% - 21vw - var(--mim-p)*5vw),calc(-50% - 18vh - var(--mim-p)*2vh),18px) rotate(calc(-9deg - var(--mim-p)*2deg));}
  .mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-float-card--rt{transform:translate3d(calc(-50% + 21vw + var(--mim-p)*5vw),calc(-50% - 16vh - var(--mim-p)*2vh),18px) rotate(calc(9deg + var(--mim-p)*2deg));}
  .mim-hero-iphone .mim-motion-caption{top:auto;bottom:18%;font-size:8px;}
}


/* v2.7 — Editorial scroll story. Inspired by the pacing and staging of product-story pages;
   imagery/content remains Made in Medina's own. */
.mim-scroll-story{position:absolute;right:max(5%,var(--gutter));bottom:19%;z-index:7;width:clamp(190px,25vw,350px);min-height:105px;pointer-events:none;text-align:right}
.mim-scroll-beat{position:absolute;inset:auto 0 0 auto;width:100%;margin:0;opacity:0;transform:translate3d(0,24px,0);filter:blur(6px);will-change:opacity,transform,filter}
.mim-scroll-beat .mim-beat-index{display:block;margin-bottom:9px;font:10px/1.4 var(--mono);letter-spacing:.16em;color:var(--muted)}
.mim-scroll-beat strong{display:block;font-family:var(--mim-heading-font,Georgia,serif);font-weight:400;font-size:clamp(28px,3.6vw,64px);line-height:1.02;letter-spacing:-.015em;text-transform:uppercase;color:var(--paper);text-shadow:0 2px 12px rgba(57,1,8,.62)}
.mim-scroll-progress{position:absolute;z-index:8;right:var(--gutter);bottom:11%;width:125px;height:2px;background:rgba(228,220,208,.16);overflow:hidden;opacity:.65}
.mim-scroll-progress::after{content:"";display:block;height:100%;width:100%;background:var(--paper);transform:scaleX(var(--mim-p,0));transform-origin:left;will-change:transform}
/* Make the phone more dimensional while stories progress. */
.mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-iphone-device{filter:drop-shadow(0 32px 50px rgba(0,0,0,.28));transform:translate3d(-50%,calc(-50% - var(--mim-p,0)*5.8vh*var(--mim-strength)),0) rotateY(calc(var(--mim-p,0)*-7deg)) rotateZ(calc(var(--mim-p,0)*-2deg)) scale(calc(1 + var(--mim-p,0)*.07))}
/* Headings, body copy and card groups are scroll-scrubbed, reversible in both directions. */
.mim-editorial-enabled.mim-editorial-ready [data-mim-scroll]{
  opacity:var(--mim-item-opacity,1);
  transform:translate3d(0,var(--mim-item-y,0px),0) scale(var(--mim-item-scale,1));
  filter:blur(var(--mim-item-blur,0px));
  transform-origin:center 85%;
}
.mim-editorial-enabled.mim-editorial-ready [data-mim-scroll="title"]{transform-origin:left center}
.mim-editorial-enabled.mim-editorial-ready [data-mim-scroll="image"]{transform-origin:center 60%}
.mim-editorial-enabled.mim-editorial-ready .gallery-tile img,.mim-editorial-enabled.mim-editorial-ready .reel-tile img{transform:scale(1.045) translate3d(0,var(--mim-image-y,0px),0)}
.mim-editorial-enabled.mim-editorial-ready .gallery-tile:hover img,.mim-editorial-enabled.mim-editorial-ready .reel-tile:hover img{transform:scale(1.085) translate3d(0,var(--mim-image-y,0px),0)}
/* Override the previous one-shot observer without disabling the progressive reveal. */
.mim-editorial-enabled.mim-editorial-ready.mim-motion-ready .gallery-tile,.mim-editorial-enabled.mim-editorial-ready.mim-motion-ready .reel-tile{opacity:var(--mim-item-opacity,1);transform:translate3d(0,var(--mim-item-y,0px),0) scale(var(--mim-item-scale,1));}
.mim-editorial-enabled.mim-editorial-ready.mim-motion-ready .gallery-tile.mim-inview,.mim-editorial-enabled.mim-editorial-ready.mim-motion-ready .reel-tile.mim-inview{opacity:var(--mim-item-opacity,1);transform:translate3d(0,var(--mim-item-y,0px),0) scale(var(--mim-item-scale,1));}
/* Keep focus/reading and navigation crisp. Never animate the fixed header. */
.site-header,.site-header *{filter:none}
@media(max-width:850px){
 .mim-scroll-story{right:var(--gutter);bottom:19%;width:min(50vw,245px);min-height:76px}
 .mim-scroll-beat strong{font-size:clamp(20px,6vw,35px)}
 .mim-scroll-progress{bottom:10%;width:85px}
}
@media(max-width:520px){
 .mim-scroll-story{bottom:17%;width:60%;min-height:72px}
 .mim-scroll-beat strong{font-size:clamp(21px,5.5vw,30px)}
 .mim-scroll-progress{bottom:9%}
}
@media(prefers-reduced-motion:reduce){
 .mim-scroll-story,.mim-scroll-progress{display:none!important}
 .mim-editorial-ready [data-mim-scroll]{opacity:1!important;transform:none!important;filter:none!important}
 .mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-iphone-device{transform:translate3d(-50%,-50%,0)!important}
}


/* Final scroll choreography: the large Solander hero title yields to the product scene. */
.mim-hero-stage.mim-motion-enabled .hero-copy{opacity:clamp(0,calc(1 - var(--mim-p,0)*2.45),1);transform:translate3d(0,calc(var(--mim-p,0)*-6vh),0)}
.mim-hero-iphone::before{content:"";position:absolute;width:75vw;height:75vw;max-width:1000px;max-height:1000px;left:57%;top:45%;z-index:0;transform:translate3d(-50%,-50%,0) scale(calc(.85 + var(--mim-p,0)*.25));background:radial-gradient(circle,rgba(228,220,208,.095) 0%,rgba(107,31,45,.13) 26%,transparent 62%);opacity:.75;pointer-events:none;will-change:transform}
.mim-scroll-beat strong{text-shadow:0 4px 15px rgba(31,0,6,.92)}

/* Keep mobile story typography legible when the iPhone occupies the screen. */
@media(max-width:760px){
  .mim-hero-stage.mim-motion-enabled .hero-description{opacity:clamp(0,calc(1 - var(--mim-p,0)*2.35),1)}
  .mim-hero-iphone .mim-motion-caption{display:none}
  .mim-scroll-story{bottom:27%;width:min(65%,250px);min-height:88px}
  .mim-scroll-progress{bottom:21%;right:var(--gutter)}
}


/* v2.8.0 — Solo burgundy iPhone hero, Apple-style 3D scroll motion. */
.mim-hero-iphone{position:absolute;inset:0;overflow:hidden;pointer-events:none;perspective:1800px;isolation:isolate;}
.mim-hero-iphone .mim-float-card{display:none !important;}
.mim-hero-iphone::before{content:"";position:absolute;inset:18% 8% 12% 38%;background:radial-gradient(circle at center, rgba(162,79,99,.22), rgba(110,25,46,.08) 32%, transparent 68%);filter:blur(34px);z-index:0;}
.mim-hero-iphone .mim-iphone-device{position:absolute;left:58%;top:51%;width:min(31vw,360px);z-index:3;transform:translate3d(calc(-50% + var(--mim-phone-shift,0px)),calc(-50% - var(--mim-p,0)*3.6vh),0) rotateX(calc(-3deg + var(--mim-p,0)*5deg)) rotateY(var(--mim-phone-rotate,0deg)) scale(var(--mim-phone-scale,1));transform-style:preserve-3d;will-change:transform,opacity;}
.mim-hero-iphone .mim-iphone-frame{position:relative;padding:12px;border-radius:46px;background:linear-gradient(180deg,#9a5b67 0%,#7e3244 18%,#5b1426 48%,#35050f 82%,#180104 100%);border:1px solid rgba(255,255,255,.15);box-shadow:0 34px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -2px 0 rgba(255,255,255,.07);}
.mim-hero-iphone .mim-iphone-frame::before{content:"";position:absolute;inset:5px;border-radius:40px;border:1px solid rgba(255,255,255,.11);pointer-events:none;}
.mim-hero-iphone .mim-iphone-frame::after{content:"";position:absolute;inset:0;border-radius:46px;background:linear-gradient(115deg,rgba(255,255,255,.16),transparent 22%,transparent 70%,rgba(255,255,255,.05));mix-blend-mode:screen;pointer-events:none;}
.mim-hero-iphone .mim-iphone-notch{position:absolute;left:50%;top:11px;transform:translateX(-50%);width:36%;height:24px;border-radius:0 0 16px 16px;background:#120206;z-index:5;box-shadow:inset 0 -1px 0 rgba(255,255,255,.08);}
.mim-hero-iphone .mim-iphone-side-button{position:absolute;right:-3px;width:4px;background:rgba(208,180,187,.72);border-radius:999px;box-shadow:0 0 0 1px rgba(0,0,0,.18);}
.mim-hero-iphone .mim-iphone-side-button--top{top:112px;height:28px;}
.mim-hero-iphone .mim-iphone-side-button--mid{top:154px;height:54px;}
.mim-hero-iphone .mim-iphone-side-button--bottom{top:222px;height:42px;}
.mim-hero-iphone .mim-device-screen{margin:0;position:relative;aspect-ratio:9 / 19.5;border-radius:35px;overflow:hidden;border:1px solid rgba(228,220,208,.16);background:#24030c;transform:translateZ(1px);}
.mim-hero-iphone .mim-device-screen img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.86) brightness(.86) contrast(1.02);}
.mim-hero-iphone .mim-device-screen::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.12),transparent 16%,transparent 72%,rgba(0,0,0,.22));pointer-events:none;}
.mim-hero-iphone .mim-device-screen::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,rgba(255,255,255,.16) 4%,transparent 28%,transparent 66%,rgba(255,255,255,.05) 92%);pointer-events:none;mix-blend-mode:screen;}
.mim-hero-iphone .mim-device-glow{position:absolute;left:50%;top:56%;width:125%;height:72%;transform:translate(-50%,-50%);background:radial-gradient(circle, rgba(187,103,125,.28) 0%, rgba(142,47,74,.16) 28%, rgba(110,22,44,.06) 48%, transparent 74%);filter:blur(30px);z-index:-1;pointer-events:none;}
.mim-hero-iphone .mim-motion-caption{position:absolute;left:58%;bottom:15%;transform:translateX(-50%);z-index:4;font:9px/1 var(--mono);letter-spacing:.25em;color:var(--paper);opacity:.85;white-space:nowrap;}
.mim-hero-iphone .mim-iphone-badge{position:absolute;left:50%;bottom:-16%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 14px;border:1px solid rgba(228,220,208,.18);border-radius:999px;background:rgba(57,1,8,.55);backdrop-filter:blur(10px);box-shadow:0 14px 34px rgba(0,0,0,.22);text-transform:uppercase;}
.mim-hero-iphone .mim-iphone-badge span{font:9px/1 var(--mono);letter-spacing:.18em;color:var(--muted);}
.mim-hero-iphone .mim-iphone-badge strong{font:500 12px/1 var(--sans);letter-spacing:.03em;color:var(--paper);}
.mim-hero-stage.mim-motion-enabled .hero-copy{transform:translate3d(0,calc(var(--mim-p,0)*-5vh*var(--mim-strength)),0);opacity:clamp(.15,calc(1 - var(--mim-p,0)*.9),1);will-change:transform,opacity;}
.mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-motion-caption{transform:translate3d(-50%,calc(var(--mim-p,0)*18px),0);opacity:clamp(.62,calc(.35 + var(--mim-p,0)*1.1),1);}
.mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-iphone-badge{transform:translate3d(-50%,calc(var(--mim-p,0)*16px),0);opacity:clamp(.58,calc(.35 + var(--mim-p,0)*1.08),1);}
.mim-scroll-story{position:absolute;left:13%;bottom:18%;max-width:min(30vw,360px);z-index:4;display:grid;gap:18px;}
.mim-scroll-beat{margin:0;opacity:0;transform:translate3d(0,20px,0);filter:blur(5px);}
.mim-scroll-beat .mim-beat-index{display:block;margin-bottom:8px;font:9px/1 var(--mono);letter-spacing:.22em;color:var(--muted);}
.mim-scroll-beat strong{display:block;font:400 clamp(22px,2.5vw,40px)/.98 var(--mim-heading-font, "MIM Solander", serif);text-transform:uppercase;letter-spacing:.02em;}
.mim-scroll-progress{position:absolute;left:13%;bottom:13%;width:min(22vw,260px);height:2px;background:rgba(228,220,208,.16);overflow:hidden;border-radius:999px;z-index:4;}
.mim-scroll-progress::after{content:"";display:block;height:100%;width:calc(var(--mim-p,0) * 100%);background:var(--paper);opacity:.86;border-radius:inherit;}
@media (max-width: 1180px){
  .mim-hero-iphone .mim-iphone-device,.mim-hero-iphone .mim-motion-caption{left:60%;}
  .mim-scroll-story,.mim-scroll-progress{left:8%;}
}
@media (max-width: 980px){
  .mim-hero-iphone .mim-iphone-device{left:55%;width:min(39vw,290px);} 
  .mim-hero-iphone .mim-motion-caption{left:55%;}
  .mim-scroll-story{left:7%;bottom:13%;max-width:250px;}
  .mim-scroll-progress{left:7%;bottom:9%;width:200px;}
}
@media (max-width: 760px){
  .mim-hero-iphone::before{inset:20% 4% 16% 4%;}
  .mim-hero-iphone .mim-iphone-device{left:50%;top:52%;width:min(56vw,240px);}
  .mim-hero-iphone .mim-motion-caption{left:50%;bottom:18%;font-size:8px;letter-spacing:.18em;}
  .mim-hero-iphone .mim-iphone-badge{bottom:-18%;padding:9px 12px;}
  .mim-scroll-story{left:50%;bottom:7%;transform:translateX(-50%);text-align:center;max-width:min(82vw,300px);}
  .mim-scroll-progress{left:50%;bottom:3%;transform:translateX(-50%);width:min(78vw,240px);}
}


/* v2.9 — corrected hero text layout, no overlap with the iPhone. */
.mim-hero-iphone .mim-iphone-badge,.mim-hero-iphone .mim-motion-caption{display:none!important}
.hero-topline{z-index:8;position:relative}
.hero-copy{z-index:7;position:relative}
.hero-description{overflow-wrap:break-word;line-height:1.65}
.mim-hero-stage.mim-motion-enabled .hero-bottom{opacity:clamp(0,calc(1 - var(--mim-p,0)*4),1);transition:opacity .08s linear;}
.mim-hero-stage.mim-motion-enabled .hero-copy{opacity:clamp(0,calc(1 - var(--mim-p,0)*2.2),1);}
.mim-hero-iphone .mim-scroll-story{pointer-events:none;}
@media(min-width:981px){
  .mim-hero-stage .hero-copy{width:min(43vw,590px);padding-bottom:6vh;align-self:center;}
  .mim-use-vector .hero h1.mim-vector-heading{width:min(43vw,600px);}
  .mim-hero-iphone .mim-iphone-device{left:70%;width:min(25vw,295px)}
  .mim-hero-iphone .mim-scroll-story{left:7%;bottom:21%;max-width:31vw;}
  .mim-hero-stage .hero-bottom{position:relative;z-index:8;padding-bottom:18px;}
  .hero-description{max-width:210px;}
}
@media(min-width:761px) and (max-width:980px){
  .mim-hero-stage .hero-copy{width:42vw;}
  .mim-use-vector .hero h1.mim-vector-heading{width:42vw;}
  .mim-hero-iphone .mim-iphone-device{left:68%;width:clamp(180px,25vw,255px);}
  .mim-hero-stage .hero-description{max-width:185px;}
  .mim-scroll-story{max-width:42vw;left:6%;bottom:20%;}
}
@media(max-width:760px){
  .mim-hero-stage.mim-motion-enabled > .hero{position:sticky;top:var(--mim-fixed-header-height,65px);height:calc(100svh - var(--mim-fixed-header-height,65px));min-height:0;padding:0 6%;overflow:hidden;display:block;}
  .mim-hero-stage .hero-topline{display:none!important;}
  .mim-hero-stage .hero::before,.mim-hero-stage .hero::after{display:none!important;}
  .mim-hero-stage .hero-copy{position:absolute;top:3.5%;left:6%;right:6%;width:88%;margin:0;padding:0;max-width:none;transform:none!important;z-index:10;}
  .mim-hero-stage .hero-kicker{font-size:8px;margin:0 0 10px 0;letter-spacing:.055em;max-width:95%;line-height:1.55;}
  .mim-use-vector .hero h1.mim-vector-heading{width:min(59vw,265px)!important;margin:0;}
  .mim-hero-stage .hero h1:not(.mim-vector-heading){font-size:clamp(35px,9vw,56px);line-height:.92;letter-spacing:-.04em;max-width:73%;margin:0;}
  .mim-hero-stage .hero-bottom{position:absolute;top:27%;left:6%;right:6%;bottom:auto;width:88%;display:block;padding:0;z-index:11;}
  .mim-hero-stage .hero-bottom .scroll-cue,.mim-hero-stage .hero-bottom .hero-index{display:none!important}
  .mim-hero-stage .hero-description{display:block;grid-column:auto;justify-self:start;max-width:min(82vw,305px);font-size:11px;line-height:1.5;margin:0;color:var(--muted);text-align:left;}
  .mim-hero-stage .hero-description strong{font-size:12px;}
  .mim-hero-iphone .mim-iphone-device{left:50%;top:65%;width:min(37vw,170px);max-height:calc(100svh - 380px);transform:translate3d(calc(-50% + var(--mim-phone-shift,0px)),calc(-50% - var(--mim-p,0)*3.6vh),0) rotateY(var(--mim-phone-rotate,0deg)) scale(var(--mim-phone-scale,1));}
  .mim-hero-iphone .mim-scroll-story{left:7%;right:7%;top:26%;bottom:auto;transform:none;text-align:left;max-width:86%;width:86%;z-index:12;}
  .mim-scroll-beat{position:absolute;left:0;top:0;width:100%;}
  .mim-scroll-beat strong{font-size:clamp(19px,6vw,30px);line-height:1.08;}
  .mim-hero-iphone .mim-scroll-progress{left:7%;top:38%;bottom:auto;transform:none;width:35%;}
}
@media(max-width:520px){
  .mim-hero-stage .hero-kicker{font-size:7px;}
  .mim-use-vector .hero h1.mim-vector-heading{width: min(57vw,218px)!important;}
  .mim-hero-stage .hero-bottom{top:29%;}
  .mim-hero-iphone .mim-iphone-device{width:min(35vw, calc((100svh - 370px)/2.28), 165px);top:68%;}
  .mim-hero-iphone .mim-iphone-frame{padding:8px;border-radius:31px;}
  .mim-hero-iphone .mim-device-screen{border-radius:25px;}
  .mim-hero-iphone .mim-iphone-notch{height:13px;top:6px;}
  .mim-hero-iphone .mim-scroll-story{top:29%;}
}
@media(max-width:380px){
  .mim-hero-stage .hero-description{font-size:10px;max-width:94%;}
  .mim-hero-iphone .mim-iphone-device{width:min(34vw,calc((100svh - 350px)/2.28),150px);top:68%;}
}
@media(prefers-reduced-motion: reduce){
  .mim-hero-iphone .mim-scroll-story,.mim-scroll-progress{display:none!important}
  .mim-hero-stage .hero-bottom,.mim-hero-stage .hero-copy{opacity:1!important;}
}
/* Instagram embeds: inline if no thumbnail; on-site modal if a cover was uploaded. */
.mim-inline-embed{width:100%;aspect-ratio:4/5;overflow:hidden;background:#f5f2ef;border-radius:9px 9px 0 0;}
.mim-inline-embed iframe{display:block;width:100%;height:100%;border:0;background:#f6f4f1;}
.mim-inline-reel{aspect-ratio:9/16;}
.mim-ig-expand{width:100%;display:block;text-align:left;padding:12px 14px;border:1px solid var(--rule);border-top:0;background:rgba(228,220,208,.04);font:10px var(--mono);letter-spacing:.03em;color:var(--paper);cursor:pointer;}
.mim-ig-expand:hover,.mim-ig-expand:focus-visible{background:rgba(228,220,208,.14);}
.mim-instagram-modal{position:fixed;border:1px solid rgba(228,220,208,.38);padding:0;background:#390108;color:#e4dcd0;width:min(560px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);overflow:auto;border-radius:12px;}
.mim-instagram-modal::backdrop{background:rgba(6,0,3,.85);backdrop-filter:blur(7px);}
.mim-instagram-modal-top{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;gap:12px;border-bottom:1px solid var(--rule);font:12px var(--sans);}
.mim-instagram-close{width:38px;height:38px;border-radius:50%;border:1px solid var(--rule);background:none;color:inherit;font-size:23px;cursor:pointer;}
.mim-instagram-frame-wrap{height:min(72dvh,780px);background:#f6f4f1;}
.mim-instagram-frame-wrap iframe{display:block;width:100%;height:100%;border:0;}
.mim-instagram-note{font:11px/1.5 var(--sans);padding:10px 18px;margin:0;color:var(--muted);}


/* v3.0 — Apple-style polish: realistic Pro Max device, cleaner text, stronger mobile layout, clearer client logos. */
:root{
  --apple-ui:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",Arial,sans-serif;
}
body,
.hero-topline,
.hero-kicker,
.hero-description,
.portfolio-note,
.section-head p,
.intro-bottom p,
.services-copy p,
.process-body p,
.contact-method strong,
.contact-method small,
.contact-hint,
.footer-small,
.hero-index,
.mim-scroll-beat .mim-beat-index,
.gallery-info strong,
.reel-info strong,
.gallery-info span,
.reel-info span{
  font-family:var(--apple-ui);
}
.eyebrow,.micro,.section-index,.footer-small,.hero-topline,.hero-kicker,.mim-scroll-beat .mim-beat-index{
  letter-spacing:.11em;
}
.hero-topline,.eyebrow,.micro,.hero-index,.portfolio-note,.section-head p,.contact-method small,.contact-hint{color:rgba(228,220,208,.82)}
.hero-description,
.intro-bottom p,
.process-body p,
.portfolio-note,
.contact-hint,
.page-content p,
.page-content li{color:rgba(228,220,208,.9)}
.hero-description{max-width:320px;font-size:13px;line-height:1.72}
.hero-description strong{display:block;margin-bottom:5px;color:var(--paper);font-weight:600}
.image-note,.mim-iphone-badge,.mim-motion-caption{display:none!important}

/* More realistic single-device hero inspired by Apple's product pages */
.mim-hero-iphone{perspective:2200px}
.mim-hero-iphone::before{inset:16% 10% 10% 39%;background:radial-gradient(circle at center, rgba(232,183,193,.18), rgba(142,47,74,.10) 32%, transparent 69%);filter:blur(38px)}
.mim-hero-iphone .mim-iphone-device{
  left:60%;
  top:50%;
  width:min(24vw,296px)!important;
  transform:translate3d(calc(-50% + var(--mim-phone-shift,0px)),calc(-50% - var(--mim-p,0)*3vh),0) rotateX(calc(-2deg + var(--mim-p,0)*4deg)) rotateY(var(--mim-phone-rotate,0deg)) scale(var(--mim-phone-scale,1));
}
.mim-hero-iphone .mim-iphone-frame{
  padding:9px;
  border-radius:54px;
  background:linear-gradient(180deg,#b98c79 0%,#82554e 16%,#5b2930 42%,#2c0a12 78%,#140104 100%);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 45px 100px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -2px 0 rgba(255,255,255,.07);
}
.mim-hero-iphone .mim-iphone-frame::before{inset:4px;border-radius:46px;border-color:rgba(255,255,255,.12)}
.mim-hero-iphone .mim-iphone-frame::after{border-radius:54px;background:linear-gradient(112deg,rgba(255,255,255,.24) 3%,transparent 24%,transparent 68%,rgba(255,255,255,.06) 96%)}
.mim-hero-iphone .mim-iphone-notch{top:8px;width:41%;height:28px;border-radius:0 0 18px 18px;background:#0d0205;box-shadow:inset 0 -1px 0 rgba(255,255,255,.08),0 1px 10px rgba(0,0,0,.28)}
.mim-hero-iphone .mim-iphone-side-button{width:4px;background:rgba(219,191,183,.88)}
.mim-hero-iphone .mim-iphone-side-button--top{top:102px;height:30px}
.mim-hero-iphone .mim-iphone-side-button--mid{top:148px;height:58px}
.mim-hero-iphone .mim-iphone-side-button--bottom{top:220px;height:44px}
.mim-hero-iphone .mim-device-screen{border-radius:38px;border:1px solid rgba(255,255,255,.12);background:#1b0208}
.mim-hero-iphone .mim-device-screen img{filter:saturate(.93) brightness(.95) contrast(1.04)}
.mim-hero-iphone .mim-device-screen::before{background:linear-gradient(180deg,rgba(255,255,255,.14),transparent 16%,transparent 76%,rgba(0,0,0,.2))}
.mim-hero-iphone .mim-device-screen::after{background:linear-gradient(110deg,rgba(255,255,255,.16) 5%,transparent 28%,transparent 70%,rgba(255,255,255,.05) 92%)}
.mim-hero-iphone .mim-device-glow{width:130%;height:76%;background:radial-gradient(circle, rgba(205,151,163,.24) 0%, rgba(145,48,76,.16) 31%, rgba(91,19,37,.05) 57%, transparent 75%)}
.mim-use-vector .hero h1.mim-vector-heading{width:min(56vw,690px)!important}
.mim-scroll-story{right:var(--gutter);left:auto;top:auto;bottom:16%;width:min(24vw,220px);text-align:right}
.mim-scroll-beat strong{font-size:clamp(22px,2.9vw,40px);line-height:1.04}
.mim-scroll-progress{right:var(--gutter);bottom:12%;width:110px}

/* Subtler Apple-like motion feel */
.mim-hero-stage.mim-motion-enabled .mim-hero-iphone .mim-iphone-device{filter:drop-shadow(0 36px 60px rgba(0,0,0,.34))}

/* Client logos feel cleaner and clearer */
.clients-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;background:none;border:none}
.client-tile{min-height:118px;background:linear-gradient(180deg,rgba(228,220,208,.06),rgba(57,1,8,.16));border:1px solid rgba(228,220,208,.18);border-radius:18px;padding:26px}
.client-tile img{max-height:56px;opacity:.92;filter:grayscale(1) contrast(1.05)}
.client-tile:hover img{opacity:1;filter:none}

/* Contact and footer readability */
.contact-method{background:linear-gradient(180deg,rgba(228,220,208,.08),rgba(57,1,8,.24));border-color:rgba(228,220,208,.24)}
.contact-method strong{font-size:16px;font-weight:600;color:var(--paper)}
.contact-method small{font-size:12px;color:rgba(228,220,208,.76)}
.contact-hint{background:rgba(228,220,208,.035);border-style:solid}
.footer-social a,.footer-small{color:rgba(228,220,208,.86)}

/* Mobile: avoid overlap between descriptive copy and the phone */
@media (max-width:900px){
  .mim-hero-stage.mim-motion-enabled{height:132svh!important}
  .mim-use-vector .hero h1.mim-vector-heading{width:min(60vw,460px)!important}
  .mim-hero-iphone .mim-iphone-device{left:54%;top:56%;width:min(33vw,230px)!important}
  .hero-bottom{grid-template-columns:1fr;gap:12px;align-items:start;padding-bottom:26px}
  .hero-index{display:none}
  .hero-description{grid-column:1;justify-self:start;max-width:min(72vw,320px)}
  .mim-scroll-story{bottom:28%;width:min(30vw,170px)}
  .mim-scroll-progress{bottom:24%}
}
@media (max-width:760px){
  .mim-hero-stage.mim-motion-enabled{height:124svh!important}
  .hero{min-height:760px}
  .hero-topline{padding-top:14px;font-size:9px}
  .hero-copy{align-self:start;padding:24px 0 0}
  .mim-use-vector .hero h1.mim-vector-heading{width:min(65vw,285px)!important}
  .mim-hero-iphone .mim-iphone-device{left:50%;top:58%;width:min(41vw,198px)!important}
  .mim-hero-iphone .mim-iphone-frame{padding:8px;border-radius:36px}
  .mim-hero-iphone .mim-iphone-frame::before{border-radius:30px}
  .mim-hero-iphone .mim-device-screen{border-radius:27px}
  .mim-hero-iphone .mim-iphone-notch{height:16px;top:6px}
  .hero-description{font-size:12px;line-height:1.58;max-width:min(84vw,285px);padding-right:18px}
  .scroll-cue{font-size:11px}
  .mim-scroll-story{right:var(--gutter);bottom:35%;width:min(42vw,150px);min-height:74px}
  .mim-scroll-beat strong{font-size:clamp(18px,5vw,24px)}
  .mim-scroll-progress{bottom:31%;width:90px}
  .clients-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:520px){
  .mim-hero-stage.mim-motion-enabled{height:118svh!important}
  .hero{min-height:690px}
  .mim-use-vector .hero h1.mim-vector-heading{width:min(66vw,230px)!important}
  .mim-hero-iphone .mim-iphone-device{top:56%;width:min(46vw,184px)!important}
  .hero-description{font-size:11px;line-height:1.52;max-width:min(78vw,245px)}
  .mim-scroll-story{bottom:37%;width:min(40vw,140px)}
  .mim-scroll-progress{bottom:33%}
  .contact-links{gap:12px}
  .contact-method{min-height:76px;padding:15px 16px}
}


/* v3.1 — dual realistic phone hero: iPhone 18 Pro Max + iPhone Duo */
.mim-hero-dual-devices{position:absolute;inset:0;pointer-events:none;overflow:hidden;perspective:2400px;isolation:isolate}
.mim-hero-dual-devices::before{content:"";position:absolute;inset:14% 12% 8% 34%;background:radial-gradient(circle at center, rgba(206,147,165,.22), rgba(127,22,49,.13) 32%, transparent 69%);filter:blur(44px);z-index:-2}
.mim-hero-dual-devices .mim-device-pro,.mim-hero-dual-devices .mim-device-duo{position:absolute;will-change:transform,opacity;transform-style:preserve-3d}
.mim-hero-dual-devices .mim-device-pro{left:59%;top:47%;width:min(20.6vw,248px);z-index:5}
.mim-hero-dual-devices .mim-device-duo{left:73%;top:66%;width:min(35vw,560px);z-index:3}
.mim-hero-dual-devices .mim-device-shell{position:relative}
.mim-hero-dual-devices .mim-device-shell--pro{padding:8px;border-radius:48px;background:linear-gradient(180deg,#b77b88 0%,#8c4d5d 14%,#5a2532 42%,#2d0d16 76%,#1a050a 100%);box-shadow:0 38px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -2px 0 rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12)}
.mim-hero-dual-devices .mim-device-shell--pro::before{content:"";position:absolute;inset:4px;border-radius:40px;border:1px solid rgba(255,255,255,.12);pointer-events:none}
.mim-hero-dual-devices .mim-device-shell--pro::after{content:"";position:absolute;inset:0;border-radius:48px;background:linear-gradient(111deg,rgba(255,255,255,.17) 2%,transparent 24%,transparent 69%,rgba(255,255,255,.06) 96%);mix-blend-mode:screen;pointer-events:none}
.mim-hero-dual-devices .mim-iphone-notch{position:absolute;left:50%;top:8px;transform:translateX(-50%);width:41%;height:27px;border-radius:0 0 16px 16px;background:#070203;z-index:4;box-shadow:inset 0 -1px 0 rgba(255,255,255,.06),0 4px 12px rgba(0,0,0,.3)}
.mim-hero-dual-devices .mim-iphone-side-button{position:absolute;right:-3px;width:4px;border-radius:999px;background:rgba(220,190,196,.92);box-shadow:0 0 0 1px rgba(72,15,28,.25)}
.mim-hero-dual-devices .mim-iphone-side-button--top{top:100px;height:29px}
.mim-hero-dual-devices .mim-iphone-side-button--mid{top:145px;height:58px}
.mim-hero-dual-devices .mim-iphone-side-button--bottom{top:218px;height:44px}
.mim-hero-dual-devices .mim-device-screen--pro{margin:0;position:relative;aspect-ratio:9/19.5;border-radius:34px;overflow:hidden;border:1px solid rgba(255,255,255,.12);background:#170205}
.mim-hero-dual-devices .mim-device-shell--duo{padding:8px;border-radius:38px;background:linear-gradient(180deg,#50545c 0%,#2b2f35 20%,#16171c 58%,#090a0d 100%);border:1px solid rgba(255,255,255,.1);box-shadow:0 32px 66px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.16), inset 0 -2px 0 rgba(255,255,255,.06)}
.mim-hero-dual-devices .mim-device-shell--duo::before{content:"";position:absolute;inset:4px;border-radius:30px;border:1px solid rgba(255,255,255,.11);pointer-events:none}
.mim-hero-dual-devices .mim-device-shell--duo::after{content:"";position:absolute;inset:0;border-radius:38px;background:linear-gradient(112deg,rgba(255,255,255,.14) 4%,transparent 20%,transparent 78%,rgba(255,255,255,.04) 94%);mix-blend-mode:screen;pointer-events:none}
.mim-hero-dual-devices .mim-duo-camera-hole{position:absolute;left:50%;top:11px;transform:translateX(-50%);width:18px;height:18px;border-radius:999px;background:#06080b;box-shadow:inset 0 -1px 0 rgba(255,255,255,.05),0 1px 6px rgba(0,0,0,.22);z-index:4}
.mim-hero-dual-devices .mim-device-screen--duo{margin:0;position:relative;aspect-ratio:16/7.3;border-radius:28px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:#d7d7d7}
.mim-hero-dual-devices .mim-device-screen img,.mim-hero-dual-devices .mim-device-screen video{width:100%;height:100%;display:block;object-fit:cover;object-position:center center;filter:saturate(.93) brightness(.94) contrast(1.03);background:#0a0a0a}
.mim-hero-dual-devices .mim-device-screen::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.12),transparent 18%,transparent 76%,rgba(0,0,0,.18));pointer-events:none}
.mim-hero-dual-devices .mim-device-screen::after{content:"";position:absolute;inset:0;background:linear-gradient(112deg,rgba(255,255,255,.15) 5%,transparent 24%,transparent 71%,rgba(255,255,255,.05) 94%);pointer-events:none;mix-blend-mode:screen}
.mim-hero-dual-devices .mim-device-tag{position:absolute;left:50%;bottom:-18px;transform:translateX(-50%);padding:8px 13px;border-radius:999px;border:1px solid rgba(228,220,208,.18);background:rgba(41,1,8,.58);backdrop-filter:blur(10px);font:9px/1 var(--mono);letter-spacing:.17em;text-transform:uppercase;color:rgba(228,220,208,.82);white-space:nowrap}
.mim-hero-dual-devices .mim-device-tag--duo{bottom:-14px;background:rgba(17,18,21,.62)}
.mim-hero-dual-devices .mim-device-glow{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;z-index:-1;filter:blur(30px)}
.mim-hero-dual-devices .mim-device-glow--pro{width:124%;height:72%;background:radial-gradient(circle, rgba(187,103,125,.28) 0%, rgba(142,47,74,.16) 28%, rgba(110,22,44,.06) 48%, transparent 74%)}
.mim-hero-dual-devices .mim-device-glow--duo{width:108%;height:70%;background:radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,.06) 30%, transparent 72%)}

.mim-hero-stage.mim-motion-enabled .mim-hero-dual-devices .mim-device-pro{transform:translate3d(calc(-50% + var(--mim-phone-shift,0px)),calc(-50% - var(--mim-p,0)*4.4vh),0) rotateX(calc(-2deg + var(--mim-p,0)*4deg)) rotateY(var(--mim-phone-rotate,0deg)) scale(var(--mim-phone-scale,1));opacity:calc(1 - var(--mim-p,0)*.08)}
.mim-hero-stage.mim-motion-enabled .mim-hero-dual-devices .mim-device-duo{transform:translate3d(calc(-50% + (var(--mim-phone-shift,0px) * -.42)),calc(-50% + var(--mim-p,0)*2.5vh),0) rotateX(calc(10deg - var(--mim-p,0)*8deg)) rotateY(calc(var(--mim-phone-rotate,0deg) * -.66)) scale(calc(.97 + var(--mim-p,0)*.03));opacity:calc(.98 - var(--mim-p,0)*.05)}

.mim-hero-dual-devices .mim-scroll-story{position:absolute;left:12%;bottom:18%;max-width:min(30vw,360px);z-index:4;display:grid;gap:18px}
.mim-hero-dual-devices .mim-scroll-progress{position:absolute;left:12%;bottom:13%;width:min(22vw,260px);height:2px;background:rgba(228,220,208,.16);overflow:hidden;border-radius:999px;z-index:4}
.mim-hero-dual-devices .mim-scroll-progress::after{content:"";display:block;height:100%;width:calc(var(--mim-p,0) * 100%);background:var(--paper);opacity:.86;border-radius:inherit}
.mim-hero-dual-devices .mim-scroll-beat{margin:0;opacity:0;transform:translate3d(0,20px,0);filter:blur(5px)}
.mim-hero-dual-devices .mim-scroll-beat .mim-beat-index{display:block;margin-bottom:8px;font:9px/1 var(--mono);letter-spacing:.22em;color:var(--muted)}
.mim-hero-dual-devices .mim-scroll-beat strong{display:block;font:400 clamp(22px,2.5vw,40px)/.98 var(--mim-heading-font, "MIM Solander", serif);text-transform:uppercase;letter-spacing:.02em}
.hero-description{max-width:340px}

@media (max-width:1200px){
  .mim-hero-dual-devices .mim-device-pro{left:58%;width:min(24vw,244px)}
  .mim-hero-dual-devices .mim-device-duo{left:72%;width:min(40vw,520px)}
  .mim-hero-dual-devices .mim-scroll-story,.mim-hero-dual-devices .mim-scroll-progress{left:8%}
}
@media (max-width:980px){
  .mim-hero-dual-devices .mim-device-pro{left:56%;top:47%;width:min(27vw,210px)}
  .mim-hero-dual-devices .mim-device-duo{left:64%;top:66%;width:min(48vw,420px)}
  .mim-hero-dual-devices .mim-scroll-story{left:6%;bottom:18%;max-width:240px}
  .mim-hero-dual-devices .mim-scroll-progress{left:6%;bottom:14%;width:180px}
  .hero-description{max-width:250px;font-size:12px}
}
@media (max-width:760px){
  .mim-hero-stage.mim-motion-enabled{height:126svh!important}
  .hero{min-height:820px}
  .mim-hero-dual-devices::before{inset:16% 6% 12% 8%}
  .mim-hero-dual-devices .mim-device-pro{left:50%;top:42%;width:min(48vw,200px)}
  .mim-hero-dual-devices .mim-device-duo{left:50%;top:70%;width:min(74vw,340px)}
  .mim-hero-stage.mim-motion-enabled .mim-hero-dual-devices .mim-device-pro{transform:translate3d(calc(-50% + (var(--mim-phone-shift,0px) * .42)),calc(-50% - var(--mim-p,0)*2.5vh),0) rotateY(calc(var(--mim-phone-rotate,0deg) * .5)) scale(var(--mim-phone-scale,1))}
  .mim-hero-stage.mim-motion-enabled .mim-hero-dual-devices .mim-device-duo{transform:translate3d(calc(-50% + (var(--mim-phone-shift,0px) * -.18)),calc(-50% + var(--mim-p,0)*1.7vh),0) rotateX(3deg) rotateY(calc(var(--mim-phone-rotate,0deg) * -.25)) scale(1)}
  .mim-hero-dual-devices .mim-device-tag{font-size:8px;letter-spacing:.13em;padding:7px 11px}
  .mim-hero-dual-devices .mim-scroll-story{left:var(--gutter);right:var(--gutter);bottom:6%;max-width:none;gap:10px}
  .mim-hero-dual-devices .mim-scroll-beat strong{font-size:clamp(16px,4vw,22px)}
  .mim-hero-dual-devices .mim-scroll-progress{left:var(--gutter);bottom:3.5%;width:min(42vw,170px)}
  .hero-bottom{padding-bottom:28px}
  .hero-description{max-width:84vw;padding-right:0}
}
@media (max-width:520px){
  .mim-hero-stage.mim-motion-enabled{height:118svh!important}
  .hero{min-height:740px}
  .mim-hero-dual-devices .mim-device-pro{width:min(50vw,182px)}
  .mim-hero-dual-devices .mim-device-duo{width:min(82vw,320px);top:69%}
  .mim-hero-dual-devices .mim-scroll-story{bottom:9%}
  .mim-hero-dual-devices .mim-scroll-progress{bottom:5%}
}
@media(prefers-reduced-motion:reduce){
  .mim-hero-dual-devices .mim-device-pro,.mim-hero-dual-devices .mim-device-duo{transform:translate(-50%,-50%)!important}
}


/* v3.2 — Magnetic cursor buttons, in Made in Medina colors (#390108 / #E4DCD0). */
.mim-magnetic{translate:var(--mim-magnet-x,0px) var(--mim-magnet-y,0px);}
.mim-magnetic:is(.contact-method,.contact-cta,.filter-btn,.gallery-more,.mim-ig-expand){
  transition:background-color .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.mim-magnetic-active:is(.contact-method,.contact-cta,.filter-btn,.gallery-more,.mim-ig-expand){
  border-color:rgba(228,220,208,.75);
  background-image:radial-gradient(circle at var(--mim-light-x,50%) var(--mim-light-y,50%),rgba(228,220,208,.15),rgba(57,1,8,.22) 65%);
  box-shadow:0 13px 32px rgba(10,0,4,.28),inset 0 0 0 1px rgba(228,220,208,.09);
}
.mim-magnetic-active:is(.scroll-cue,.text-link){color:#E4DCD0;}
.mim-magnetic:focus-visible{outline:2px solid #E4DCD0;outline-offset:5px;}
@media (hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){
  .mim-magnetic{translate:0 0!important;will-change:auto;}
}


/* v3.3 — Burgundy Frosted Glass navigation. Header stays fixed: only the LINKS move with the pointer. */
:root{--mim-menu-opacity:78%;--mim-menu-blur:18px}
.page-shell > .site-header{
  position:fixed;
  inset:0 0 auto;
  z-index:9000;
  width:100%;
  background-color:rgba(57,1,8,.78);
  background-color:color-mix(in srgb, var(--ink,#390108) var(--mim-menu-opacity,78%), transparent);
  -webkit-backdrop-filter:blur(var(--mim-menu-blur,18px)) saturate(135%);
  backdrop-filter:blur(var(--mim-menu-blur,18px)) saturate(135%);
  border-bottom:1px solid rgba(228,220,208,.21);
  box-shadow:0 6px 26px rgba(11,0,4,.13);
  color:var(--paper,#E4DCD0);
  isolation:isolate;
}
.page-shell > .site-header .nav-link,
.page-shell > .site-header .menu-toggle{color:var(--paper,#E4DCD0);}
.page-shell > .site-header .nav-link{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  transition:color .2s ease,text-shadow .2s ease;
}
.page-shell > .site-header .nav-link:hover,
.page-shell > .site-header .nav-link:focus-visible{
  color:var(--paper,#E4DCD0);
  text-shadow:0 0 12px rgba(228,220,208,.45);
}
.page-shell > .site-header .nav-link:focus-visible,
.page-shell > .site-header .menu-toggle:focus-visible{
  outline:2px solid var(--paper,#E4DCD0);
  outline-offset:5px;
}
/* Apply the glass effect to the expanded mobile navigation, not just the top bar. */
@media(max-width:1180px){
  .page-shell > .site-header .header-right nav.is-open{
    top:100%;
    background-color:rgba(57,1,8,.92);
    background-color:color-mix(in srgb,var(--ink,#390108) 91%,transparent);
    -webkit-backdrop-filter:blur(calc(var(--mim-menu-blur,18px) + 4px)) saturate(125%);
    backdrop-filter:blur(calc(var(--mim-menu-blur,18px) + 4px)) saturate(125%);
    border-bottom:1px solid rgba(228,220,208,.22);
    box-shadow:0 14px 30px rgba(7,0,3,.22);
  }
}
/* Keep the navigational surface legible if backdrop-filter is unsupported. */
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .page-shell > .site-header{background:var(--ink,#390108)}
  .page-shell > .site-header .header-right nav.is-open{background:var(--ink,#390108)}
}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){
  .page-shell > .site-header .nav-link,
  .page-shell > .site-header .menu-toggle{translate:0 0!important}
}



/* v3.3.1 — Contact visibility refinement. Keep the reveal effect, avoid washed-out copy. */
.contact-links .contact-method{
  background:linear-gradient(160deg,rgba(228,220,208,.10),rgba(57,1,8,.23));
  border-color:rgba(228,220,208,.33);
}
.contact-links .contact-method strong{color:#E4DCD0;font-weight:650;}
.contact-links .contact-method small,
.contact .contact-bottom p,
.contact .contact-hint{color:rgba(228,220,208,.9);}
.contact .contact-topline,
.contact .section-index{color:rgba(228,220,208,.85);}
.contact .contact-method-icon{border-color:rgba(228,220,208,.6);color:#E4DCD0;}
/* Preserve regular title/card scroll animation elsewhere; no global opacity override. */


/* v3.4 Customizer galleries — preserve Burgundy/Ivory style & scroll effects. */
.mim-custom-slot-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;background:linear-gradient(145deg,#6e2937 0%,#3e0711 54%,#250008 100%);color:#E4DCD0;font:500 12px/1.45 var(--apple-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);letter-spacing:.04em;text-align:center}
.mim-custom-slot-placeholder>span{font-size:32px;line-height:1;opacity:.88}
.gallery-tile .mim-custom-slot-placeholder,.reel-tile .mim-custom-slot-placeholder{transition:filter .3s}
.gallery-tile:hover .mim-custom-slot-placeholder,.reel-tile:hover .mim-custom-slot-placeholder{filter:brightness(1.18)}
.gallery-photo,.reel-cover{isolation:isolate}
.mim-custom-slot-placeholder{z-index:0}
.gallery-hover,.reel-play{z-index:2}
@media (prefers-reduced-motion:reduce){.mim-custom-slot-placeholder{transition:none}}

/* v3.5 — responsive YouTube / Shorts playback without leaving the portfolio */
.mim-youtube-modal{
  width:min(980px,calc(100vw - 24px));
  max-width:none;
  max-height:calc(100dvh - 24px);
  padding:0;
  overflow:hidden;
  background:#390108;
  color:#E4DCD0;
  border:1px solid rgba(228,220,208,.3);
  border-radius:16px;
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}
.mim-youtube-modal::backdrop{background:rgba(9,0,3,.88);backdrop-filter:blur(8px)}
.mim-youtube-modal-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 16px;min-height:55px;font:600 13px/1.5 var(--sans,Arial,sans-serif)}
.mim-youtube-modal-head strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mim-youtube-close{flex:none;width:34px;height:34px;border-radius:50%;border:1px solid rgba(228,220,208,.35);background:transparent;color:inherit;font-size:24px;cursor:pointer}
.mim-youtube-iframe-wrap{width:100%;aspect-ratio:16/9;background:#130006}
.mim-youtube-iframe-wrap iframe{display:block;width:100%;height:100%;border:0}
.mim-youtube-modal.mim-youtube-short{width:min(430px,calc(100vw - 24px))}
.mim-youtube-short .mim-youtube-iframe-wrap{aspect-ratio:9/16}
@media(max-height:660px){.mim-youtube-short .mim-youtube-iframe-wrap{max-height:calc(100dvh - 90px)}}


/* v3.6 — remove phone mockups and use three floating vertical portfolio panels */
.mim-hero-photo-panels{
  position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;isolation:isolate;
}
.mim-hero-photo-panels::before{
  content:"";position:absolute;inset:10% 20% 12% 20%;
  background:radial-gradient(circle at center, rgba(186,115,126,.14), rgba(57,1,8,0) 70%);
  filter:blur(42px);z-index:-1;
}
.mim-hero-panel{
  position:absolute;display:block;margin:0;
  width:clamp(180px,15vw,260px);height:clamp(290px,34vw,450px);
  border-radius:28px;overflow:hidden;
  border:1px solid rgba(228,220,208,.28);
  background:linear-gradient(180deg, rgba(112,29,43,.86), rgba(49,6,14,.96));
  box-shadow:0 24px 72px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.08);
  will-change:transform,opacity;transform-style:preserve-3d;
}
.mim-hero-panel::after{
  content:"";position:absolute;inset:0;border-radius:inherit;
  background:linear-gradient(135deg, rgba(255,255,255,.12), transparent 23%, transparent 72%, rgba(255,255,255,.05));
  pointer-events:none;
}
.mim-hero-panel-bg{
  position:absolute;inset:10px;border-radius:22px;
  border:1px solid rgba(228,220,208,.18);pointer-events:none;z-index:2;
}
.mim-hero-panel img{
  width:100%;height:100%;object-fit:cover;display:block;
  filter:saturate(.82) contrast(.92) brightness(.92);
  transform:scale(1.03);
}
.mim-hero-panel-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(57,1,8,.12) 0%, rgba(57,1,8,.18) 38%, rgba(57,1,8,.30) 100%);
  mix-blend-mode:multiply;
}
.mim-hero-panel figcaption{
  position:absolute;left:14px;bottom:14px;z-index:3;margin:0;
  padding:7px 12px;border-radius:999px;
  background:rgba(42,1,7,.78);backdrop-filter:blur(10px);
  color:var(--paper);border:1px solid rgba(228,220,208,.18);
  font:9px/1 var(--mono);letter-spacing:.18em;text-transform:uppercase;
}
.mim-hero-panel--one{left:5%;top:30%;z-index:2;opacity:.92}
.mim-hero-panel--two{left:53%;top:16%;z-index:4}
.mim-hero-panel--three{right:5.5%;top:54%;z-index:3}

.mim-hero-stage.mim-motion-enabled .mim-hero-panel--one{
  transform:translate3d(calc(var(--mim-p)*2.8vw),calc(var(--mim-p)*-10vh),0) rotate(calc(-9deg + var(--mim-p)*4deg));
}
.mim-hero-stage.mim-motion-enabled .mim-hero-panel--two{
  transform:translate3d(calc(var(--mim-p)*-1.4vw),calc(var(--mim-p)*-15vh),0) rotate(calc(5deg - var(--mim-p)*2deg)) scale(calc(1 + var(--mim-p)*.04));
}
.mim-hero-stage.mim-motion-enabled .mim-hero-panel--three{
  transform:translate3d(calc(var(--mim-p)*-4.4vw),calc(var(--mim-p)*-12vh),0) rotate(calc(-5deg + var(--mim-p)*4deg));
}
@keyframes mimFloatA{0%,100%{translate:0 0}50%{translate:0 -10px}}
@keyframes mimFloatB{0%,100%{translate:0 0}50%{translate:0 -15px}}
@keyframes mimFloatC{0%,100%{translate:0 0}50%{translate:0 -11px}}
.mim-hero-panel--one{animation:mimFloatA 7.4s ease-in-out infinite}
.mim-hero-panel--two{animation:mimFloatB 8.8s ease-in-out infinite}
.mim-hero-panel--three{animation:mimFloatC 7.9s ease-in-out infinite}

.mim-hero-photo-panels .mim-scroll-story{right:max(5%,var(--gutter));bottom:15%;width:clamp(170px,21vw,300px)}
.mim-hero-photo-panels .mim-scroll-beat strong{font-size:clamp(24px,2.7vw,50px)}
.mim-hero-photo-panels .mim-scroll-progress{right:max(5%,var(--gutter));bottom:9%}

@media (max-width: 1100px){
  .mim-hero-panel{width:clamp(150px,23vw,230px);height:clamp(240px,39vw,390px)}
  .mim-hero-panel--one{left:2%;top:36%}
  .mim-hero-panel--two{left:57%;top:19%}
  .mim-hero-panel--three{right:2%;top:58%}
}
@media (max-width: 820px){
  .mim-hero-photo-panels{overflow:visible}
  .mim-hero-panel{width:min(30vw,180px);height:min(50vw,280px);border-radius:24px}
  .mim-hero-panel--one{left:2%;top:auto;bottom:16%}
  .mim-hero-panel--two{left:57%;top:22%}
  .mim-hero-panel--three{right:2%;top:auto;bottom:14%}
  .mim-hero-photo-panels .mim-scroll-story{right:4%;bottom:30%;width:min(45vw,220px)}
  .mim-hero-photo-panels .mim-scroll-progress{right:4%;bottom:24%}
}
@media (max-width: 640px){
  .mim-hero-panel{width:34vw;height:52vw;min-width:120px;min-height:190px}
  .mim-hero-panel--one{left:4%;top:auto;bottom:17%;opacity:.84}
  .mim-hero-panel--two{left:53%;top:17%}
  .mim-hero-panel--three{right:4%;top:auto;bottom:12%}
  .mim-hero-photo-panels .mim-scroll-story{display:none}
  .mim-hero-photo-panels .mim-scroll-progress{display:none}
}
@media (prefers-reduced-motion: reduce){
  .mim-hero-panel{animation:none !important;transform:none !important}
}


/* v3.6.1 — make hero photos fill the three main columns more fully */
.mim-hero .hero-copy{position:relative;z-index:6}
.mim-hero .hero-bottom{position:relative;z-index:6}
.mim-hero-photo-panels{padding:0 1.2vw}
.mim-hero-panel{
  width:29.2%;
  height:76%;
  top:12%;
  border-radius:30px;
}
.mim-hero-panel--one{left:2.2%;top:13%;z-index:2;opacity:.9}
.mim-hero-panel--two{left:35.5%;top:11%;z-index:3}
.mim-hero-panel--three{right:2.2%;top:13%;z-index:2}
.mim-hero-panel--one img,.mim-hero-panel--two img,.mim-hero-panel--three img{transform:scale(1.04)}
.mim-hero-stage.mim-motion-enabled .mim-hero-panel--one{
  transform:translate3d(calc(var(--mim-p)*1.1vw),calc(var(--mim-p)*-7vh),0) rotate(calc(-3deg + var(--mim-p)*1.6deg));
}
.mim-hero-stage.mim-motion-enabled .mim-hero-panel--two{
  transform:translate3d(0,calc(var(--mim-p)*-9vh),0) rotate(calc(2deg - var(--mim-p)*1.1deg)) scale(calc(1 + var(--mim-p)*.02));
}
.mim-hero-stage.mim-motion-enabled .mim-hero-panel--three{
  transform:translate3d(calc(var(--mim-p)*-1.2vw),calc(var(--mim-p)*-7vh),0) rotate(calc(3deg - var(--mim-p)*1.5deg));
}
.mim-hero-panel-overlay{background:linear-gradient(180deg, rgba(57,1,8,.22) 0%, rgba(57,1,8,.26) 35%, rgba(57,1,8,.45) 100%)}
.mim-hero-panel--one .mim-hero-panel-overlay{background:linear-gradient(180deg, rgba(57,1,8,.40) 0%, rgba(57,1,8,.50) 40%, rgba(57,1,8,.62) 100%)}
.mim-hero-panel figcaption{bottom:16px;left:16px}
.mim-hero-photo-panels .mim-scroll-story{right:4%;bottom:17%;z-index:7}
.mim-hero-photo-panels .mim-scroll-progress{right:4%;bottom:10%;z-index:7}

@media (max-width: 1100px){
  .mim-hero-panel{width:30.5%;height:72%}
  .mim-hero-panel--one{left:1.6%;top:15%}
  .mim-hero-panel--two{left:34.8%;top:13%}
  .mim-hero-panel--three{right:1.6%;top:15%}
}
@media (max-width: 820px){
  .mim-hero-panel{width:31%;height:54%;border-radius:24px}
  .mim-hero-panel--one{left:1.8%;top:28%}
  .mim-hero-panel--two{left:34.5%;top:18%}
  .mim-hero-panel--three{right:1.8%;top:34%}
}
@media (max-width: 640px){
  .mim-hero-panel{width:31.5%;height:40%;min-width:94px;min-height:170px;border-radius:20px}
  .mim-hero-panel--one{left:1.8%;top:34%}
  .mim-hero-panel--two{left:34.2%;top:21%}
  .mim-hero-panel--three{right:1.8%;top:42%}
  .mim-hero-panel figcaption{font-size:8px;padding:6px 10px}
}


/* v3.7: comprehensive content-creation specialties */
@media(min-width:821px){.filter-bar{flex-wrap:wrap;row-gap:8px;max-width:100%;}}
.filter-bar{scrollbar-width:thin;scrollbar-color:rgba(228,220,208,.28) transparent}
.filter-btn{white-space:nowrap}
.filter-btn[aria-pressed="true"]{border-color:rgba(228,220,208,.32);background:rgba(228,220,208,.13)}
.mim-filter-empty{margin:0 0 20px;color:var(--paper);font:13px/1.8 var(--sans);padding:15px 17px;border:1px solid rgba(228,220,208,.16);border-radius:10px}
.mim-filter-empty[hidden]{display:none!important}
.mim-content-disciplines{border-top:1px solid var(--rule);margin:20px 0 6px;padding:25px 0 4px}
.mim-content-disciplines .micro{color:var(--muted)}
.mim-content-disciplines p{max-width:850px;font:400 clamp(13px,1.35vw,17px)/2 var(--apple-ui,var(--sans));color:var(--paper);margin:13px 0 0}
.mim-content-disciplines p span{color:rgba(228,220,208,.42);padding:0 5px}
@media(max-width:820px){
 .filter-bar{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:5px;padding-bottom:18px}
 .filter-bar .filter-btn{flex:none;scroll-snap-align:start}
 .mim-content-disciplines{margin:12px 0 10px}
}



/* v3.9 EDITORIAL FRAME: square photos, fine gray inner rule, four ivory corners and caption strip.
   The underlying Burgundy/Ivory design and scroll-scrub controls remain unchanged. */
:root{--mim-frame-rule:rgba(190,190,190,.52);--mim-frame-corner:#f5f2ee}

/* HERO: exactly three large straight columns; no tilt, pill, glass, or multiple rounded borders. */
.mim-hero-photo-panels{position:absolute;inset:0;overflow:hidden;z-index:1;pointer-events:none;isolation:isolate;padding:0}
.mim-hero-photo-panels::before{display:none!important}
.mim-hero-photo-panels .mim-hero-panel{
  position:absolute;display:block;box-sizing:border-box;
  top:11%!important;width:30.2%!important;height:77%!important;
  margin:0!important;padding:0!important;
  background:#210007!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;overflow:visible!important;
  opacity:1!important;animation:none!important;rotate:0deg!important;
  transform:translate3d(0,var(--mim-hero-shift,0px),0)!important;
  transition:transform .9s cubic-bezier(.2,.7,.2,1);
  will-change:transform;
}
.mim-hero-photo-panels .mim-hero-panel--one{left:1.5%!important;right:auto!important;z-index:2}
.mim-hero-photo-panels .mim-hero-panel--two{left:34.9%!important;right:auto!important;z-index:3}
.mim-hero-photo-panels .mim-hero-panel--three{left:auto!important;right:1.5%!important;z-index:2}
.mim-hero-photo-panels .mim-hero-panel-bg{display:none!important}
.mim-hero-photo-panels .mim-hero-panel::after{display:none!important}
.mim-hero-photo-panels .mim-hero-panel-inner{
  position:absolute;inset:10px;display:grid;grid-template-rows:minmax(0,1fr) 43px;
  background:#170006;border:1px solid var(--mim-frame-rule);padding:13px 13px 0;
  border-radius:0!important;overflow:hidden;
}
.mim-hero-photo-panels .mim-hero-panel-media{
  position:relative;min-height:0;height:100%;width:100%;overflow:hidden;
  border:0;border-radius:0;background:#160006;
}
.mim-hero-photo-panels .mim-hero-panel-media>img{
  position:absolute;inset:0;display:block;width:100%!important;height:100%!important;
  max-width:none;object-fit:cover;object-position:center;
  filter:saturate(.89) brightness(.89) contrast(1.03);
  transform:scale(1.045);clip-path:none!important;
  transition:transform 1.2s cubic-bezier(.2,.7,.2,1),filter .7s ease;
  border:0!important;border-radius:0!important;
}
.mim-hero-photo-panels .mim-hero-panel-overlay{
  position:absolute;inset:0;display:block!important;border-radius:0!important;
  background:linear-gradient(180deg,rgba(57,1,8,.09),rgba(57,1,8,.17));
  opacity:.65;mix-blend-mode:normal;pointer-events:none;
}
.mim-hero-photo-panels .mim-hero-panel--one .mim-hero-panel-overlay{
  background:linear-gradient(90deg,rgba(57,1,8,.55),rgba(57,1,8,.18) 86%);opacity:.76;
}
.mim-hero-photo-panels .mim-hero-panel-caption{
  position:relative!important;inset:auto!important;left:auto!important;bottom:auto!important;
  display:flex!important;align-items:center!important;gap:10px;
  width:100%;min-width:0;height:43px;padding:0 4px!important;
  margin:0!important;background:#170006!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  font:500 10px/1.2 var(--mono,monospace)!important;
  letter-spacing:.16em;color:#E4DCD0!important;text-transform:uppercase;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:3;
}
.mim-hero-photo-panels .mim-caption-index{color:#f1ede7;font-weight:500}
.mim-hero-photo-panels .mim-caption-dot{opacity:.65}
.mim-hero-photo-panels .mim-caption-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.9}
.mim-hero-photo-panels .mim-photo-frame{
  position:absolute;inset:0;z-index:8;pointer-events:none;
}
.mim-hero-photo-panels .mim-photo-corner{
  position:absolute;display:block;width:29px;height:29px;
  border:solid var(--mim-frame-corner);border-width:0;
  opacity:0;filter:blur(3px);scale:.66;
  transition:opacity .6s ease,filter .6s ease,transform .85s cubic-bezier(.2,.85,.2,1),scale .85s;
}
.mim-hero-photo-panels .mim-photo-corner--tl{top:0;left:0;border-top-width:1px;border-left-width:1px;transform:translate(10px,10px)}
.mim-hero-photo-panels .mim-photo-corner--tr{top:0;right:0;border-top-width:1px;border-right-width:1px;transform:translate(-10px,10px)}
.mim-hero-photo-panels .mim-photo-corner--bl{bottom:0;left:0;border-bottom-width:1px;border-left-width:1px;transform:translate(10px,-10px)}
.mim-hero-photo-panels .mim-photo-corner--br{bottom:0;right:0;border-bottom-width:1px;border-right-width:1px;transform:translate(-10px,-10px)}
.mim-hero-photo-panels .mim-photo-frame.mim-frame-loaded .mim-photo-corner{
  opacity:1;filter:none;scale:1;transform:translate(0,0);
}
/* Flat movement driven by scroll position, no rotation and no skew. */
.mim-hero-stage.mim-motion-enabled .mim-hero-photo-panels .mim-hero-panel--one{
  --mim-hero-shift:calc(var(--mim-p,0) * -15px)
}
.mim-hero-stage.mim-motion-enabled .mim-hero-photo-panels .mim-hero-panel--two{
  --mim-hero-shift:calc(var(--mim-p,0) * -25px)
}
.mim-hero-stage.mim-motion-enabled .mim-hero-photo-panels .mim-hero-panel--three{
  --mim-hero-shift:calc(var(--mim-p,0) * -19px)
}
/* Disable legacy floating animation which previously fought the frame layout. */
.mim-hero-photo-panels .mim-hero-panel--one,
.mim-hero-photo-panels .mim-hero-panel--two,
.mim-hero-photo-panels .mim-hero-panel--three{animation:none!important}
.mim-hero-photo-panels .mim-scroll-story,
.mim-hero-photo-panels .mim-scroll-progress{display:none!important}

/* PORTFOLIO: photo sits within a thin gray border, caption remains outside gallery below. */
.gallery-tile .gallery-photo{
  display:block;position:relative;width:100%;aspect-ratio:4/5;
  padding:0!important;background:#170006!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  overflow:visible!important;isolation:isolate;
}
.gallery-tile .gallery-photo::before{
  content:"";position:absolute;inset:10px;
  border:1px solid var(--mim-frame-rule);
  z-index:3;pointer-events:none;background:none!important;border-radius:0!important;
}
.gallery-tile .gallery-photo::after{content:"";position:absolute;inset:22px 22px 47px;border:0;z-index:3;pointer-events:none}
.gallery-tile .gallery-photo>img{
  position:absolute;inset:22px 22px 47px;width:calc(100% - 44px);height:calc(100% - 69px);
  object-fit:cover;border:0!important;border-radius:0!important;
  filter:saturate(.92) brightness(.9)!important;
  transform:scale(1)!important;
  transition:filter .65s ease,scale .65s cubic-bezier(.2,.8,.2,1)!important;
}
.gallery-tile .gallery-open:hover .gallery-photo>img,
.gallery-tile .gallery-open:focus-visible .gallery-photo>img{scale:1.022;filter:saturate(1) brightness(1)!important}
.gallery-tile .gallery-photo .mim-photo-frame{position:absolute;inset:0;z-index:5;pointer-events:none}
.gallery-tile .gallery-photo .mim-photo-corner{
  position:absolute;display:block;width:23px;height:23px;
  border:1px solid var(--mim-frame-corner);border-width:0;
  opacity:0;filter:blur(2px);scale:.7;
  transition:opacity .6s,filter .6s,scale .65s,transform .65s cubic-bezier(.2,.85,.25,1)
}
.gallery-tile .gallery-photo .mim-photo-corner--tl{left:0;top:0;border-left-width:1px;border-top-width:1px;transform:translate(8px,8px)}
.gallery-tile .gallery-photo .mim-photo-corner--tr{right:0;top:0;border-right-width:1px;border-top-width:1px;transform:translate(-8px,8px)}
.gallery-tile .gallery-photo .mim-photo-corner--bl{left:0;bottom:0;border-left-width:1px;border-bottom-width:1px;transform:translate(8px,-8px)}
.gallery-tile .gallery-photo .mim-photo-corner--br{right:0;bottom:0;border-right-width:1px;border-bottom-width:1px;transform:translate(-8px,-8px)}
.gallery-tile .gallery-photo.mim-frame-loaded .mim-photo-corner{
  opacity:1;filter:none;scale:1;transform:none;
}
.gallery-tile .gallery-open:hover .mim-photo-corner,
.gallery-tile .gallery-open:focus-visible .mim-photo-corner{scale:1.05}
.gallery-tile .gallery-photo .mim-photo-number{
  position:absolute;left:25px;bottom:25px;z-index:5;
  display:block;max-width:calc(100% - 50px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#ddd6cd;font:9px/1.2 var(--mono,monospace);letter-spacing:.16em;text-transform:uppercase;
  opacity:0;transform:translateY(5px);transition:opacity .65s ease,transform .65s ease;
}
.gallery-tile .gallery-photo.mim-frame-loaded .mim-photo-number{opacity:1;transform:none}
.gallery-tile .gallery-hover{display:none!important}
.gallery-tile .demo-label{display:none!important}
.gallery-tile .mim-custom-slot-placeholder{position:absolute;inset:22px 22px 47px}
.gallery-tile .gallery-info{padding:11px 3px 20px}
.gallery-tile .gallery-info strong{color:#E4DCD0;font-size:13px;font-weight:600}
.gallery-tile .gallery-info span{color:rgba(228,220,208,.72);font-size:10px}

/* Same visual vocabulary on narrower screens, with a horizontal swipeable hero. */
@media(max-width:900px){
  .mim-hero-photo-panels .mim-hero-panel{top:19%!important;height:64%!important}
  .mim-hero-photo-panels .mim-hero-panel-caption{font-size:8px!important;letter-spacing:.11em}
  .mim-hero-photo-panels .mim-hero-panel-inner{inset:8px;padding:9px 9px 0;grid-template-rows:minmax(0,1fr) 36px}
  .mim-hero-photo-panels .mim-hero-panel-caption{height:36px}
}
@media(max-width:700px){
  .mim-hero-stage.mim-motion-enabled{height:136svh!important}
  .mim-hero-stage .hero-copy{align-self:start;padding-top:60px}
  .mim-hero-photo-panels{
    inset:auto 0 15% 0;top:30%;height:58%;
    display:flex;gap:16px;align-items:stretch;
    overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x mandatory;overscroll-behavior-x:contain;
    scrollbar-width:none;pointer-events:auto;z-index:2;
    padding:8px 11vw 12px;
  }
  .mim-hero-photo-panels::-webkit-scrollbar{display:none}
  .mim-hero-photo-panels .mim-hero-panel,
  .mim-hero-stage.mim-motion-enabled .mim-hero-photo-panels .mim-hero-panel{
    position:relative!important;left:auto!important;right:auto!important;top:auto!important;
    flex:0 0 74vw;width:74vw!important;height:100%!important;
    transform:none!important;scroll-snap-align:center;animation:none!important;
  }
  .mim-hero-photo-panels .mim-hero-panel-inner{inset:8px;padding:9px 9px 0;grid-template-rows:minmax(0,1fr) 38px}
  .mim-hero-photo-panels .mim-hero-panel-caption{height:38px;font-size:9px!important}
  .mim-hero-photo-panels .mim-photo-corner{width:22px;height:22px}
  .gallery-tile .gallery-photo::before{inset:8px}
  .gallery-tile .gallery-photo>img{inset:17px 17px 41px;width:calc(100% - 34px);height:calc(100% - 58px)}
  .gallery-tile .gallery-photo .mim-photo-number{left:20px;bottom:19px;font-size:8px}
  .gallery-tile .gallery-photo .mim-photo-corner{width:18px;height:18px}
}
@media(prefers-reduced-motion:reduce){
  .mim-hero-photo-panels .mim-hero-panel{transform:none!important}
  .mim-hero-photo-panels .mim-photo-corner,
  .gallery-tile .gallery-photo .mim-photo-corner{opacity:1!important;filter:none!important;scale:1!important;transform:none!important;transition:none!important}
  .gallery-tile .gallery-photo .mim-photo-number{opacity:1!important;transform:none!important}
  .gallery-tile .gallery-photo>img,
  .mim-hero-photo-panels .mim-hero-panel-media>img{transition:none!important}
}


/* v4.0 — continuous horizontal mobile hero with intact white corner frames.
   Desktop retains the v3.9 three-column editorial layout. */
.mim-hero-loop .mim-hero-viewport,
.mim-hero-loop .mim-hero-loop-track,
.mim-hero-loop .mim-hero-loop-group[data-copy="1"]{display:contents}
.mim-hero-loop .mim-hero-loop-group[data-copy="0"],
.mim-hero-loop .mim-hero-loop-group[data-copy="2"]{display:none}

@media(max-width:700px){
  .mim-hero-stage.mim-motion-enabled{height:128svh!important;min-height:720px}
  .mim-hero-stage.mim-motion-enabled > .hero{
    height:calc(100svh - var(--mim-fixed-header-height,65px))!important;
    min-height:0!important;overflow:hidden!important;
  }
  .mim-hero-stage .hero-copy{
    position:absolute!important;left:6%!important;right:6%!important;top:3.5%!important;
    margin:0!important;padding:0!important;z-index:15!important;
    transform:none!important;opacity:1!important;
  }
  .mim-hero-stage .hero-bottom{
    position:absolute!important;left:6%!important;right:6%!important;width:88%!important;
    top:var(--mim-loop-desc-top,26%)!important;bottom:auto!important;
    margin:0!important;padding:0!important;display:block!important;
    z-index:16!important;opacity:1!important;transform:none!important;
  }
  .mim-hero-stage .hero-bottom .scroll-cue,
  .mim-hero-stage .hero-bottom .hero-index{display:none!important}
  .mim-hero-stage .hero-description{
    margin:0!important;padding:0!important;max-width:92%!important;
    font-size:11px!important;line-height:1.48!important;color:rgba(228,220,208,.83)!important;
    opacity:1!important;filter:none!important;transform:none!important;
  }
  .mim-hero-stage .hero-description strong{color:#E4DCD0!important;font-weight:600}

  .mim-hero-photo-panels.mim-hero-loop{
    position:absolute!important;inset:0!important;top:0!important;height:100%!important;
    width:100%!important;padding:0!important;margin:0!important;
    z-index:4!important;display:block!important;pointer-events:none!important;
    overflow:hidden!important;isolation:isolate;
  }
  .mim-hero-loop .mim-hero-viewport{
    display:block!important;position:absolute!important;
    top:var(--mim-loop-top,40%)!important;bottom:15px!important;
    left:0!important;right:0!important;width:100%!important;
    height:auto!important;min-height:0!important;
    box-sizing:border-box;padding:12px 0 14px!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    overscroll-behavior-x:contain;touch-action:pan-x;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;
    pointer-events:auto!important;scroll-snap-type:none!important;
    scroll-behavior:auto!important;
  }
  .mim-hero-loop .mim-hero-viewport::-webkit-scrollbar{display:none}
  .mim-hero-loop .mim-hero-loop-track{
    display:flex!important;position:relative;width:max-content!important;
    min-width:100%;height:100%;align-items:center;
    gap:0!important;margin:0!important;padding:0!important;
    transform:none!important;animation:none!important;
  }
  .mim-hero-loop .mim-hero-loop-group{
    display:flex!important;flex:none!important;align-items:center;height:100%;
    width:max-content!important;gap:var(--mim-loop-gap,18px)!important;
    padding:0 var(--mim-loop-gap,18px) 0 0!important;
    box-sizing:border-box;
  }
  .mim-hero-loop .mim-hero-loop-group[data-copy="0"],
  .mim-hero-loop .mim-hero-loop-group[data-copy="2"]{display:flex!important}
  .mim-hero-loop .mim-hero-panel,
  .mim-hero-stage.mim-motion-enabled .mim-hero-loop .mim-hero-panel,
  .mim-hero-photo-panels .mim-hero-panel{
    position:relative!important;inset:auto!important;left:auto!important;right:auto!important;
    top:auto!important;bottom:auto!important;
    display:block!important;flex:0 0 var(--mim-loop-card-width,min(74vw,300px))!important;
    width:var(--mim-loop-card-width,min(74vw,300px))!important;
    height:min(calc(100% - 8px),calc(var(--mim-loop-card-width,min(74vw,300px)) * 1.39))!important;
    margin:0!important;padding:0!important;
    overflow:visible!important;opacity:1!important;
    transform:none!important;translate:none!important;rotate:none!important;
    animation:none!important;transition:none!important;
  }
  .mim-hero-loop .mim-hero-panel-inner{
    inset:9px!important;padding:10px 10px 0!important;
    grid-template-rows:minmax(0,1fr) 36px!important;
    overflow:hidden!important;
  }
  .mim-hero-loop .mim-hero-panel-caption{height:36px!important;font-size:9px!important}
  .mim-hero-loop .mim-photo-corner{width:25px!important;height:25px!important}
  .mim-hero-loop .mim-photo-frame.mim-frame-loaded .mim-photo-corner{
    opacity:1!important;transform:none!important;filter:none!important;scale:1!important;
  }
  .mim-hero-loop .mim-hero-panel-media img{object-fit:cover!important}
  .mim-hero-loop .mim-scroll-story,.mim-hero-loop .mim-scroll-progress{display:none!important}
}
@media(max-width:390px){
  .mim-hero-loop{--mim-loop-gap:14px}
  .mim-hero-stage .hero-description{font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){
  .mim-hero-loop .mim-hero-viewport{scroll-behavior:auto!important}
}

/* v4.1 — 16-image infinite loop also on desktop, 3 editorial cards visible. */
@media(min-width:701px){
  .mim-hero-loop .mim-hero-viewport{
    display:block;position:absolute;inset:6% 0 8% 0;
    width:100%;height:86%;overflow-x:auto;overflow-y:hidden;
    pointer-events:auto;touch-action:pan-x;scrollbar-width:none;
    scroll-behavior:auto;z-index:2;padding:12px 0;box-sizing:border-box;
  }
  .mim-hero-loop .mim-hero-viewport::-webkit-scrollbar{display:none}
  .mim-hero-loop .mim-hero-loop-track{
    display:flex!important;position:relative;align-items:center;gap:0!important;
    height:100%;width:max-content!important;transform:none!important;animation:none!important;
  }
  .mim-hero-loop .mim-hero-loop-group,
  .mim-hero-loop .mim-hero-loop-group[data-copy="0"],
  .mim-hero-loop .mim-hero-loop-group[data-copy="1"],
  .mim-hero-loop .mim-hero-loop-group[data-copy="2"]{
    display:flex!important;flex:none;align-items:center;height:100%;
    width:max-content!important;gap:clamp(14px,1.6vw,26px)!important;
    padding:0 clamp(14px,1.6vw,26px) 0 0!important;
    box-sizing:border-box;
  }
  .mim-hero-loop .mim-hero-panel,
  .mim-hero-stage.mim-motion-enabled .mim-hero-loop .mim-hero-panel,
  .mim-hero-photo-panels .mim-hero-panel{
    position:relative!important;inset:auto!important;left:auto!important;right:auto!important;
    top:auto!important;bottom:auto!important;display:block!important;
    flex:0 0 clamp(255px,29.6vw,555px)!important;
    width:clamp(255px,29.6vw,555px)!important;
    height:calc(100% - 6px)!important;margin:0!important;
    transform:none!important;translate:none!important;rotate:none!important;
    animation:none!important;opacity:1!important;overflow:visible!important;
    background:#220007;
  }
  .mim-hero-loop .mim-hero-panel-inner{inset:10px!important;padding:12px 12px 0!important;grid-template-rows:minmax(0,1fr) 43px!important}
  .mim-hero-loop .mim-hero-panel-caption{height:43px!important}
  .mim-hero-loop .mim-hero-panel-media img{object-fit:cover!important}
  .mim-hero-loop .mim-scroll-story,.mim-hero-loop .mim-scroll-progress{display:none!important}
  .mim-hero-stage .hero-copy{pointer-events:none;z-index:7!important}
  .mim-hero-stage .hero-bottom{pointer-events:none;z-index:8!important}
  .mim-hero-stage .hero-bottom .scroll-cue{pointer-events:auto}
}
.mim-hero-loop .mim-demo-indicator{
  display:inline-block;margin-left:auto;padding:3px 5px;
  font:8px/1 var(--mono);letter-spacing:.11em;color:rgba(228,220,208,.68);
  border:1px solid rgba(228,220,208,.3);
}
@media(max-width:700px){
 .mim-hero-loop .mim-demo-indicator{font-size:7px}
 .mim-hero-loop .mim-hero-loop-group{gap:var(--mim-loop-gap,18px)!important}
}
@media(prefers-reduced-motion:reduce){
 .mim-hero-loop .mim-hero-viewport{scroll-behavior:auto!important}
}


/* v4.3 — compact editorial header and comfortable hero typography. */
.site-header .brand{
  font-size:11px;letter-spacing:.105em;line-height:.98;
  font-weight:700;
}
.site-header{border-bottom-color:rgba(228,220,208,.16)}
.mim-hero-stage .hero-kicker{color:rgba(228,220,208,.82)}
.mim-hero-stage .hero-description{color:rgba(228,220,208,.87)}
.mim-hero-stage .hero-description strong{line-height:1.45;letter-spacing:-.015em}
@media(min-width:701px){
 .mim-hero-stage .hero-copy{width:min(37vw,510px)!important;}
 .mim-use-vector .hero h1.mim-vector-heading{width:min(37vw,510px)!important;}
 .mim-hero-stage .hero-kicker{font-size:9px;letter-spacing:.065em;line-height:1.6;}
 .mim-hero-stage .hero-description{max-width:min(27vw,310px);font-size:12px;line-height:1.72;}
}
@media(max-width:700px){
 .site-header{padding-left:clamp(19px,5.5vw,30px)!important;padding-right:clamp(19px,5.5vw,30px)!important}
 .site-header .brand{font-size:9.5px;letter-spacing:.095em;line-height:1.04}
 .site-header .menu-toggle{font-size:11px;letter-spacing:.04em;}
 .mim-hero-stage .hero-copy{
    left:7%!important;right:7%!important;width:86%!important;
    top:7%!important;padding:0!important;
 }
 .mim-hero-stage .hero-kicker{
    font-size:clamp(7.4px,1.9vw,8.5px)!important;line-height:1.55;
    margin:0 0 12px!important;letter-spacing:.04em;max-width:100%;
 }
 .mim-hero-stage .hero-kicker::before{width:21px;flex:0 0 21px}
 .mim-use-vector .hero h1.mim-vector-heading{
    width:min(49vw,192px)!important;max-width:100%;
 }
 .mim-hero-stage .hero h1:not(.mim-vector-heading){
    font-size:clamp(32px,8.1vw,45px)!important;line-height:.96;max-width:70%;
 }
 .mim-hero-stage .hero-bottom{left:7%!important;right:7%!important;width:86%!important;}
 .mim-hero-stage .hero-description{
    max-width:min(85vw,315px)!important;
    font-size:11px!important;line-height:1.67!important;
    letter-spacing:0!important;color:rgba(228,220,208,.88)!important;
 }
 .mim-hero-stage .hero-description strong{font-size:11.8px!important;margin-bottom:7px;}
 .mim-hero-loop .mim-hero-viewport{bottom:13px!important}
}
@media(max-width:380px){
 .mim-use-vector .hero h1.mim-vector-heading{width:min(50vw,160px)!important}
 .mim-hero-stage .hero-kicker{font-size:7px!important;margin-bottom:10px!important}
 .mim-hero-stage .hero-description{font-size:10.5px!important;line-height:1.63!important}
}
@media(prefers-reduced-motion:reduce){
 .mim-hero-stage .hero-copy,.mim-hero-stage .hero-bottom{transform:none!important}
}


/* v4.5 — centered mobile hero type + unobstructed video cover artwork. */
.reel-cover .reel-play,
.reel-open .reel-play,
.reel-tile .reel-play { display:none!important; }
/* Preserve the entire cover and logo; the surrounding button remains interactive. */
.reel-open:focus-visible .reel-cover {outline:2px solid var(--paper,#E4DCD0);outline-offset:3px}
@media (max-width:700px) {
  .mim-hero-stage .hero-copy {
    left:4%!important;
    right:4%!important;
    width:92%!important;
    text-align:center!important;
    margin:0 auto!important;
  }
  .mim-hero-stage .hero-kicker {
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 auto 12px!important;
    text-align:center!important;
    gap:7px!important;
    line-height:1.45!important;
    letter-spacing:.018em!important;
  }
  .mim-hero-stage .hero-kicker::before {
    width:15px!important;
    flex:0 0 15px!important;
  }
  .mim-use-vector .hero h1.mim-vector-heading {
    width:clamp(166px,51vw,215px)!important;
    max-width:90%!important;
    margin:0 auto!important;
    text-align:center!important;
  }
  .mim-hero-stage .hero h1:not(.mim-vector-heading) {
    max-width:100%!important;
    width:100%!important;
    margin:0 auto!important;
    text-align:center!important;
  }
  .mim-hero-stage .hero-bottom {
    left:5%!important;
    right:5%!important;
    width:90%!important;
    text-align:center!important;
  }
  .mim-hero-stage .hero-description {
    width:100%!important;
    max-width:min(90vw,335px)!important;
    margin:0 auto!important;
    padding:0!important;
    text-align:center!important;
    line-height:1.55!important;
  }
  .mim-hero-stage .hero-description strong {
    display:block!important;
    text-align:center!important;
    margin:0 0 4px!important;
    font-size:12px!important;
  }
}
@media(max-width:380px) {
  .mim-use-vector .hero h1.mim-vector-heading{
    width:clamp(156px,50vw,190px)!important;
  }
  .mim-hero-stage .hero-kicker{
    font-size:7px!important;
  }
}


/* v4.8 — Dedicated iPad/tablet layout (portrait + landscape).
   Keep the existing 16-photo infinite carousel, but stop using desktop-height portrait columns.
   Text is in its own band above the photographs. No images behind text. */
@media (min-width:701px) and (max-width:1180px){
  .mim-hero-stage.mim-motion-enabled{
    height:122svh!important;
    min-height:760px!important;
  }
  .mim-hero-stage.mim-motion-enabled > .hero{
    position:sticky!important;
    top:var(--mim-fixed-header-height,74px)!important;
    height:calc(100svh - var(--mim-fixed-header-height,74px))!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .mim-hero-stage .hero-copy{
    position:absolute!important;
    top:clamp(38px,6vh,82px)!important;
    left:5%!important;right:5%!important;
    width:90%!important;max-width:none!important;
    padding:0!important;margin:0!important;
    text-align:center!important;
    transform:none!important;opacity:1!important;filter:none!important;
    z-index:15!important;pointer-events:none!important;
  }
  .mim-hero-stage .hero-kicker{
    display:flex!important;align-items:center!important;justify-content:center!important;
    max-width:100%!important;margin:0 auto 12px!important;
    font-size:9px!important;line-height:1.45!important;
    letter-spacing:.05em!important;text-align:center!important;
  }
  .mim-hero-stage .hero-kicker::before{width:22px!important;flex:0 0 22px!important}
  .mim-use-vector .hero h1.mim-vector-heading{
    display:block!important;
    width:clamp(175px,25vw,242px)!important;
    max-width:100%!important;
    margin:0 auto!important;
    text-align:center!important;
  }
  .mim-hero-stage .hero h1:not(.mim-vector-heading){
    width:auto!important;max-width:none!important;
    margin:0!important;
    text-align:center!important;
    font-size:clamp(40px,6.5vw,72px)!important;
    line-height:.9!important;
  }
  .mim-hero-stage .hero-bottom{
    display:block!important;
    position:absolute!important;
    top:clamp(245px,27vh,318px)!important;
    left:7%!important;right:7%!important;
    bottom:auto!important;
    width:86%!important;
    margin:0!important;padding:0!important;
    transform:none!important;opacity:1!important;filter:none!important;
    text-align:center!important;
    z-index:16!important;pointer-events:none!important;
  }
  .mim-hero-stage .hero-bottom .scroll-cue,
  .mim-hero-stage .hero-bottom .hero-index{display:none!important}
  .mim-hero-stage .hero-description{
    width:100%!important;max-width:min(92%,540px)!important;
    margin:0 auto!important;padding:0!important;
    text-align:center!important;justify-self:center!important;
    color:rgba(228,220,208,.88)!important;
    font-size:12px!important;line-height:1.6!important;
    opacity:1!important;filter:none!important;
  }
  .mim-hero-stage .hero-description strong{
    color:#E4DCD0!important;font-size:13px!important;
    font-weight:600!important;line-height:1.45!important;
    display:block!important;margin-bottom:5px!important;
  }
  .mim-hero-photo-panels.mim-hero-loop{
    position:absolute!important;inset:0!important;
    display:block!important;height:100%!important;
    overflow:hidden!important;pointer-events:none!important;
    z-index:4!important;
  }
  .mim-hero-loop .mim-hero-viewport{
    position:absolute!important;
    top:clamp(315px,35vh,405px)!important;
    bottom:clamp(45px,5.5vh,100px)!important;
    left:0!important;right:0!important;
    width:100%!important;height:auto!important;
    padding:14px 0!important;margin:0!important;
    box-sizing:border-box!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    scrollbar-width:none!important;
    scroll-behavior:auto!important;
    pointer-events:auto!important;touch-action:pan-x!important;
    overscroll-behavior-x:contain;
    z-index:5!important;
  }
  .mim-hero-loop .mim-hero-viewport::-webkit-scrollbar{display:none}
  .mim-hero-loop .mim-hero-loop-track{
    height:100%!important;display:flex!important;
    width:max-content!important;align-items:flex-start!important;
    transform:none!important;animation:none!important;
  }
  .mim-hero-loop .mim-hero-loop-group{
    height:100%!important;display:flex!important;
    align-items:flex-start!important;gap:clamp(14px,1.6vw,26px)!important;
  }
  .mim-hero-loop .mim-hero-panel,
  .mim-hero-stage.mim-motion-enabled .mim-hero-loop .mim-hero-panel,
  .mim-hero-photo-panels .mim-hero-panel{
    --mim-tablet-card: min(42vw,350px);
    flex:0 0 var(--mim-tablet-card)!important;
    width:var(--mim-tablet-card)!important;
    height:min(calc(100% - 26px),calc(var(--mim-tablet-card) * 1.39))!important;
    position:relative!important;
    left:auto!important;right:auto!important;
    top:auto!important;bottom:auto!important;inset:auto!important;
    margin:0!important;padding:0!important;
    overflow:visible!important;
    border-radius:0!important;
    transform:none!important;translate:none!important;rotate:none!important;
    animation:none!important;opacity:1!important;
  }
  .mim-hero-loop .mim-hero-panel-inner{
    inset:9px!important;
    padding:10px 10px 0!important;
    grid-template-rows:minmax(0,1fr) 38px!important;
    overflow:hidden!important;
  }
  .mim-hero-loop .mim-hero-panel-caption{
    height:38px!important;
    font-size:9px!important;
    letter-spacing:.075em!important;
  }
  .mim-hero-loop .mim-hero-panel-media>img{
    width:100%!important;height:100%!important;
    object-fit:cover!important;object-position:50% 42%!important;
  }
  .mim-hero-loop .mim-photo-corner{width:25px!important;height:25px!important}
  .mim-hero-loop .mim-scroll-story,.mim-hero-loop .mim-scroll-progress{display:none!important}
}
/* On shorter landscape tablets, keep an editorial 4:5-ish frame rather than a very tall crop. */
@media (min-width:701px) and (max-width:1180px) and (max-height:900px){
  .mim-hero-loop .mim-hero-panel,
  .mim-hero-stage.mim-motion-enabled .mim-hero-loop .mim-hero-panel,
  .mim-hero-photo-panels .mim-hero-panel{
    --mim-tablet-card:clamp(185px,23vw,275px);
  }
}


/* v4.9 — Services without the hotel-room image, balanced on all screens */
.services{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:0;
  padding-inline:var(--gutter);
}
.services .services-aside{
  display:block;
  padding:28px 0 0;
  min-height:0;
  border-right:0;
  border-bottom:0;
}
.services .services-aside .aside-photo{display:none!important}
.services .services-list{
  width:100%;max-width:1120px;
  padding:24px 0 70px;
  margin:0 auto;
  min-width:0;
}
.services .services-heading{
  margin-bottom:clamp(25px,4vw,54px);
}
.services .services-heading h2{max-width:100%}
@media(max-width:900px){
  .services .services-aside{padding:23px 0 0}
  .services .services-list{padding:20px 0 55px}
  .services .services-heading{margin-bottom:30px}
}
@media(max-width:600px){
  .services .services-aside{padding:20px 0 0}
  .services .services-list{padding:16px 0 44px}
  .services .services-heading{margin-bottom:22px}
}


/* v4.10 — center the two editorial statements, vector or editable text. */
.services .services-list{margin-inline:auto}
.services .services-heading{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;gap:clamp(12px,2vw,24px);width:100%;
  margin:clamp(12px,2vw,28px) auto clamp(30px,5vw,64px)
}
.services .services-heading h2,
.mim-use-vector .services .services-heading h2.mim-vector-heading{
  width:min(100%,800px);max-width:100%;margin:0 auto;
  text-align:center;min-height:0
}
.services .services-heading .mim-vector-display{width:100%;margin-inline:auto}
.services .services-heading .mim-vector-art{
  -webkit-mask-position:center center!important;mask-position:center center!important
}
.services .services-heading .micro{display:block;max-width:100%;text-align:center;line-height:1.5}

.process{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;padding-inline:var(--gutter)}
.process .process-title{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:clamp(28px,5vw,64px);text-align:center;
  padding:clamp(30px,5vw,65px) 0 clamp(38px,5vw,70px);
  min-height:0;border-right:0;border-bottom:1px solid var(--rule)
}
.process .process-title .section-index{align-self:center;text-align:center}
.process .process-title h2,
.mim-use-vector .process .process-title h2.mim-vector-heading{
  width:min(100%,700px);max-width:100%;margin:0 auto;text-align:center;line-height:1
}
.process .process-title .mim-vector-display{width:100%;margin-inline:auto}
.process .process-title .mim-vector-art{
  -webkit-mask-position:center center!important;mask-position:center center!important
}
.process .process-body{
  padding:clamp(24px,4vw,50px) 0 clamp(30px,5vw,60px);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:clamp(24px,4vw,50px);text-align:center
}
.process .process-body>p{
  margin:0 auto;max-width:620px;font-size:clamp(12px,1.25vw,15px);line-height:1.8
}
.process .process-steps{width:100%;max-width:960px;margin-inline:auto}
.process .process-step{padding-right:0;text-align:center}

@media(max-width:900px){
  .services .services-heading{gap:16px;margin:20px auto 32px}
  .services .services-heading h2,
  .mim-use-vector .services .services-heading h2.mim-vector-heading{width:min(100%,660px)}
  .process .process-title{padding:38px 0 46px;gap:34px}
  .process .process-title h2,
  .mim-use-vector .process .process-title h2.mim-vector-heading{
    width:min(100%,600px);font-size:clamp(44px,8vw,86px)
  }
  .process .process-body{padding:30px 0 46px}
}
@media(max-width:600px){
  .services .services-heading{gap:10px;margin:12px auto 24px}
  .services .services-heading h2,
  .mim-use-vector .services .services-heading h2.mim-vector-heading{
    width:min(100%,410px);font-size:clamp(32px,8vw,46px)
  }
  .services .services-heading .micro{font-size:9px;letter-spacing:.14em}
  .process .process-title{padding:30px 0 36px;gap:24px}
  .process .process-title h2,
  .mim-use-vector .process .process-title h2.mim-vector-heading{
    width:min(100%,420px);font-size:clamp(36px,10vw,60px)
  }
  .process .process-body{padding:26px 0 32px;gap:26px}
  .process .process-body>p{max-width:340px;margin-inline:auto;font-size:12px;line-height:1.7}
  .process .process-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  .process .process-step{
    display:flex;flex-direction:column;align-items:center;gap:8px;
    padding:12px 4px;border-bottom:0
  }
  .process .process-step span{margin:0}
}

/* v4.11: thinner white photo-frame brackets (2px -> 1px). No layout/motion changes. */
.mim-hero-photo-panels .mim-photo-corner,
.gallery-tile .gallery-photo .mim-photo-corner{border-width:0!important;}
.mim-hero-photo-panels .mim-photo-corner--tl,
.gallery-tile .gallery-photo .mim-photo-corner--tl{border-top-width:1px!important;border-left-width:1px!important;}
.mim-hero-photo-panels .mim-photo-corner--tr,
.gallery-tile .gallery-photo .mim-photo-corner--tr{border-top-width:1px!important;border-right-width:1px!important;}
.mim-hero-photo-panels .mim-photo-corner--bl,
.gallery-tile .gallery-photo .mim-photo-corner--bl{border-bottom-width:1px!important;border-left-width:1px!important;}
.mim-hero-photo-panels .mim-photo-corner--br,
.gallery-tile .gallery-photo .mim-photo-corner--br{border-bottom-width:1px!important;border-right-width:1px!important;}


/* v4.12 — center the laptop hero subtitle and slightly enlarge the Solander title.
   Tablet <=1180 and mobile <=700 retain their dedicated responsive layout. */
@media (min-width:1181px) and (max-width:1799px){
  .mim-hero-stage .hero-copy,
  .mim-hero-stage.mim-motion-enabled .hero-copy{
    position:absolute!important;
    top:46%!important;
    left:50%!important;
    right:auto!important;
    width:min(80vw,1020px)!important;
    max-width:calc(100% - 64px)!important;
    margin:0!important;
    padding:0!important;
    text-align:center!important;
    justify-self:center!important;
    align-self:center!important;
    transform:translate(-50%,-50%)!important;
    z-index:12!important;
    pointer-events:none!important;
  }
  .mim-hero-stage .hero-kicker{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:11px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 auto clamp(13px,1.5vw,23px)!important;
    text-align:center!important;
    font-size:clamp(9px,.83vw,12px)!important;
    letter-spacing:.085em!important;
    line-height:1.5!important;
    color:#E4DCD0!important;
    text-shadow:0 2px 8px rgba(31,0,8,.88);
  }
  .mim-hero-stage .hero-kicker::before{
    width:24px!important;flex:0 0 24px!important;
  }
  .mim-use-vector .mim-hero-stage .hero h1.mim-vector-heading{
    display:block!important;
    width:min(43vw,610px)!important;
    max-width:100%!important;
    margin:0 auto!important;
    padding:0!important;
    text-align:center!important;
    line-height:1!important;
  }
  .mim-use-vector .mim-hero-stage .hero h1.mim-vector-heading .mim-vector-display{
    display:block!important;
    width:100%!important;
    margin:0 auto!important;
  }
  .mim-use-vector .mim-hero-stage .hero h1.mim-vector-heading .mim-vector-art{
    -webkit-mask-position:center center!important;
    mask-position:center center!important;
    -webkit-mask-size:contain!important;
    mask-size:contain!important;
    filter:drop-shadow(0 4px 10px rgba(28,0,6,.55));
  }
  /* Editable heading from the Studio Control plugin, when SVG is not used. */
  .mim-hero-stage .hero h1:not(.mim-vector-heading){
    width:min(51vw,680px)!important;
    max-width:100%!important;
    margin:0 auto!important;
    font-size:clamp(74px,9.1vw,136px)!important;
    line-height:.86!important;
    letter-spacing:-.06em!important;
    text-align:center!important;
    text-shadow:0 4px 20px rgba(25,0,7,.35);
  }
  .mim-hero-stage .hero h1:not(.mim-vector-heading) span,
  .mim-hero-stage .hero h1 .line-two{
    padding-left:0!important;
    text-align:center!important;
  }
}


/* v4.13 — match ivory photo brackets to the thin muted-grey inner line. */
:root {
  --mim-frame-corner: var(--mim-frame-rule, rgba(190,190,190,.52));
}
.mim-hero-photo-panels .mim-photo-corner,
.gallery-tile .gallery-photo .mim-photo-corner {
  border-color: var(--mim-frame-rule, rgba(190,190,190,.52)) !important;
  border-style: solid !important;
  /* Width remains one CSS pixel, but with much gentler contrast. */
}
.mim-hero-photo-panels .mim-photo-corner {
  width:23px !important;
  height:23px !important;
}
.gallery-tile .gallery-photo .mim-photo-corner {
  width:19px !important;
  height:19px !important;
}
@media(max-width:767px) {
  .mim-hero-loop .mim-photo-corner,
  .mim-hero-photo-panels .mim-photo-corner {width:20px !important;height:20px !important;}
  .gallery-tile .gallery-photo .mim-photo-corner {width:17px !important;height:17px !important;}
}
/* The old location was two lines; the new welcome phrase stays on one line. */
.header-location.micro {
  white-space:nowrap;
  text-transform:none;
  letter-spacing:.06em;
}

/* v4.14 — Accessible language choice; preserves existing layout in RTL */
.mim-language-picker{display:flex;align-items:center;justify-content:center;gap:3px;flex:none;direction:ltr;white-space:nowrap}
.page-shell .mim-language-picker a{display:inline-grid;place-items:center;min-width:27px;height:30px;padding:0 4px;border:1px solid transparent;border-radius:5px;color:rgba(228,220,208,.72);text-decoration:none;font:600 10px/1.3 "Manrope",sans-serif;letter-spacing:.01em;transition:color .18s,border-color .18s,background .18s}
.page-shell .mim-language-picker a:hover,.page-shell .mim-language-picker a:focus-visible{color:#E4DCD0;border-color:rgba(228,220,208,.6);outline-offset:2px}
.page-shell .mim-language-picker a[aria-current="true"]{color:#E4DCD0;background:rgba(228,220,208,.11);border-color:rgba(228,220,208,.48)}
/* Arabic / Darija: RTL text direction without mirroring image grids or destroying the gallery */
html[dir="rtl"] .page-shell{direction:ltr}
html[dir="rtl"] :is(.hero-description,.hero-kicker,.portfolio-note,.intro-bottom p,.service-row h3,.service-row p,.process-body>p,.contact-bottom p,.contact-hint,.about-page,.page-content){unicode-bidi:plaintext}
html[dir="rtl"] :is(.service-row h3,.service-row p,.intro-bottom p,.about-page .entry-content,.page-content){direction:rtl}
html[dir="rtl"] .nav-link{unicode-bidi:isolate}
/* Localized titles become native text, not English SVG lettering */
.mim-use-vector .mim-vector-heading.mim-localized-heading .mim-vector-display{display:none!important}
.mim-use-vector .mim-vector-heading.mim-localized-heading .mim-vector-fallback{display:block!important;width:100%!important;height:auto!important;opacity:1!important;visibility:visible!important;position:relative!important;transform:none!important;filter:none!important;letter-spacing:normal;line-height:1.06;overflow-wrap:normal}
.mim-vector-heading.mim-localized-heading{font-family:"Marhey","Manrope",sans-serif!important;line-height:1.18!important;letter-spacing:-.015em!important;font-weight:500!important;overflow:visible!important}
html[lang^="fr"] .mim-vector-heading.mim-localized-heading{font-family:"Cormorant Garamond",Georgia,serif!important}
html[dir="rtl"] .mim-vector-heading.mim-localized-heading{font-family:"Marhey","Manrope",sans-serif!important;font-size:clamp(32px,5.5vw,74px)!important;line-height:1.42!important;text-transform:none!important;text-align:center}
html[dir="rtl"] .hero h1.mim-localized-heading{font-size:clamp(44px,6vw,82px)!important}
@media(min-width:1101px){.site-header .header-right{gap:12px}.site-header .header-right nav{gap:14px}.site-header .header-location{font-size:9px}}
@media(max-width:1100px){.page-shell .mim-language-picker{gap:0}.page-shell .mim-language-picker a{min-width:26px;height:28px}}
@media(max-width:520px){.site-header .header-right{gap:8px}.page-shell .mim-language-picker a{font-size:9px;min-width:23px;height:27px}.site-header .menu-toggle{font-size:9px}.site-header .brand{font-size:10px}}


/* v4.15 - exact compact header + bold, readable AR/ARY editorial lettering. */
/* Small quiet welcome copy like the approved reference. */
.page-shell > .site-header .header-location.micro{
  display:block;
  font-family:var(--sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif)!important;
  font-size:clamp(9px,.74vw,11px)!important;
  font-weight:500!important;
  line-height:1.35!important;
  letter-spacing:.012em!important;
  white-space:nowrap;
  text-transform:none!important;
  color:rgba(228,220,208,.79)!important;
  text-align:center;
  justify-self:center;
}
.page-shell > .site-header .nav-link{
  font-size:10px!important;
  font-weight:500!important;
  line-height:1.4!important;
  letter-spacing:.075em!important;
  text-transform:uppercase;
  white-space:nowrap;
}
.page-shell > .site-header .brand{flex-shrink:0}
.page-shell > .site-header .header-right{min-width:0}
html[lang^="ar"] .page-shell > .site-header .nav-link,
html[lang^="ary"] .page-shell > .site-header .nav-link{
  font-family:"Noto Kufi Arabic","Segoe UI",Tahoma,sans-serif!important;
  font-size:10px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none;
}

/* Keep Arabic / Darija headlines in native Arabic text, not SVG Solander glyphs. */
html[lang^="ar"] .mim-use-vector .mim-vector-heading.mim-localized-heading,
html[lang^="ary"] .mim-use-vector .mim-vector-heading.mim-localized-heading,
html[lang^="ar"] .mim-vector-heading.mim-localized-heading,
html[lang^="ary"] .mim-vector-heading.mim-localized-heading,
html[lang^="ar"] .mim-ar-display,
html[lang^="ary"] .mim-ar-display{
  font-family:"Noto Kufi Arabic","Noto Sans Arabic","Segoe UI",Tahoma,sans-serif!important;
  font-weight:900!important;
  font-size:clamp(42px,6.5vw,104px)!important;
  line-height:1.46!important;
  letter-spacing:0!important;
  text-transform:none!important;
  text-align:center!important;
  direction:rtl!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  text-wrap:balance;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  max-width:min(100%,1160px)!important;
  margin-inline:auto!important;
  padding-block:.12em .16em!important;
}
html[dir="rtl"] .mim-use-vector .mim-vector-heading.mim-localized-heading .mim-vector-display{display:none!important}
html[dir="rtl"] .mim-use-vector .mim-vector-heading.mim-localized-heading .mim-vector-fallback{
  position:static!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  font-family:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  letter-spacing:0!important;
  width:100%!important;
  min-width:0;
  max-width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  direction:rtl!important;
  text-wrap:balance;
}
/* Hero is layered over photos; keep the native translated title within the visible area. */
html[dir="rtl"] .mim-use-vector .mim-hero-stage .hero h1.mim-vector-heading.mim-localized-heading{
  width:min(78vw,1000px)!important;
  font-size:clamp(40px,6.2vw,90px)!important;
  line-height:1.46!important;
}
html[dir="rtl"] .mim-use-vector .intro h2.mim-vector-heading.mim-localized-heading,
html[dir="rtl"] .mim-use-vector .services h2.mim-vector-heading.mim-localized-heading,
html[dir="rtl"] .mim-use-vector .process h2.mim-vector-heading.mim-localized-heading{
  width:min(100%,1100px)!important;
  font-size:clamp(46px,6.5vw,105px)!important;
}
html[dir="rtl"] :is(.hero-kicker,.section-index,.portfolio-head,.mim-content-disciplines,.services-heading .micro){letter-spacing:0!important}
@media(min-width:1181px){
 .page-shell > .site-header{grid-template-columns:minmax(100px,1fr) minmax(145px,.75fr) minmax(0,2.8fr)!important;gap:12px!important}
 .page-shell > .site-header .header-right{gap:9px!important}
 .page-shell > .site-header .header-right nav{gap:clamp(9px,1.05vw,15px)!important}
}
@media(min-width:701px) and (max-width:1180px){
 .page-shell > .site-header{grid-template-columns:minmax(100px,1fr) minmax(160px,1fr) auto!important;gap:8px!important}
 .page-shell > .site-header .header-location.micro{font-size:9px!important}
}
@media(max-width:700px){
 /* Mobile header remains compact, with the welcome copy in a quiet second row. */
 .page-shell > .site-header{grid-template-columns:auto 1fr auto!important;gap:8px!important}
 .page-shell > .site-header .header-location.micro{display:none!important}
 .page-shell > .site-header .menu-toggle{text-transform:uppercase;letter-spacing:.075em!important}
 html[dir="rtl"] .mim-use-vector .mim-hero-stage .hero h1.mim-vector-heading.mim-localized-heading{
   width:min(93vw,440px)!important;
   font-size:clamp(30px,7.7vw,53px)!important;
   line-height:1.48!important;
 }
 html[dir="rtl"] .mim-use-vector :is(.intro,.services,.process,.portfolio-head,.section-head,.contact) h2.mim-vector-heading.mim-localized-heading,
 html[dir="rtl"] .mim-ar-display{
   font-size:clamp(31px,8vw,54px)!important;
   line-height:1.5!important;
   padding-inline:4px!important;
 }
}


/* v4.16: centered WELCOME STUDIO ZH.CREATIVE — same font as nav links.
   Placing it in its own small row avoids collisions with full desktop nav. */
:root{--mim-fixed-header-height:94px}
.page-shell > .site-header{
  height:var(--mim-fixed-header-height)!important;
  min-height:var(--mim-fixed-header-height)!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:64px 29px!important;
  column-gap:12px!important;
  row-gap:0!important;
  align-content:start!important;
}
.page-shell > .site-header > .brand{
  grid-column:1!important;grid-row:1!important;
  justify-self:start!important;align-self:center!important;
}
.page-shell > .site-header > .header-right{
  grid-column:2!important;grid-row:1!important;
  justify-self:end!important;align-self:center!important;
  min-width:0;
}
.page-shell > .site-header > .header-location.micro{
  grid-column:1 / -1!important;
  grid-row:2!important;
  align-self:center!important;
  justify-self:center!important;
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0 14px!important;
  font-family:var(--mono,"DM Mono","Courier New",monospace)!important;
  font-size:10px!important;
  font-weight:400!important;
  line-height:1.4!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
  text-align:center!important;
  white-space:nowrap!important;
  color:var(--paper,#E4DCD0)!important;
  opacity:.87;
}
@media(max-width:800px){
  :root{--mim-fixed-header-height:86px}
  .page-shell > .site-header{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:61px 24px!important;
    column-gap:8px!important;
  }
  .page-shell > .site-header > .header-location.micro{
    font-size:9px!important;letter-spacing:.06em!important;
  }
}
@media(max-width:380px){
  .page-shell > .site-header > .header-location.micro{
    font-size:8px!important;letter-spacing:.045em!important;
  }
}


/* v4.17 — Laptop/Desktop header on one line. Mobile and tablet keep the approved compact layout. */
@media (min-width:1024px) {
  :root { --mim-fixed-header-height: 74px; }
  .page-shell > .site-header {
    height: var(--mim-fixed-header-height) !important;
    min-height: var(--mim-fixed-header-height) !important;
    grid-template-columns: max-content minmax(145px, 1fr) max-content !important;
    grid-template-rows: minmax(0, 1fr) !important;
    column-gap: clamp(10px, 1.4vw, 22px) !important;
    row-gap: 0 !important;
    align-items: center !important;
    align-content: center !important;
  }
  .page-shell > .site-header > .brand {
    grid-column:1 !important;
    grid-row:1 !important;
    align-self:center !important;
    justify-self:start !important;
  }
  .page-shell > .site-header > .header-location.micro {
    grid-column:2 !important;
    grid-row:1 !important;
    justify-self:center !important;
    align-self:center !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    padding:0 !important;
    margin:0 !important;
    white-space:nowrap !important;
    text-align:center !important;
    font-family:var(--sans,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif) !important;
    font-size:10px !important;
    font-weight:500 !important;
    letter-spacing:.07em !important;
    line-height:1.4 !important;
    color:var(--paper,#E4DCD0) !important;
    text-transform:uppercase !important;
  }
  .page-shell > .site-header > .header-right {
    grid-column:3 !important;
    grid-row:1 !important;
    justify-self:end !important;
    align-self:center !important;
    margin:0 !important;
    min-width:0 !important;
    white-space:nowrap !important;
  }
}
@media (min-width:1024px) and (max-width:1240px) {
  .page-shell > .site-header > .header-location.micro{font-size:9px!important;letter-spacing:.045em!important;}
  .page-shell > .site-header .header-right{gap:7px!important;}
}


/* v4.18 — centered editorial hero over a gently blurred 16-photo loop.
   Scoped to .mim-hero-overlay; all other photo galleries remain sharp. */
.mim-hero-stage > .hero.mim-hero-overlay{
  position:sticky!important;
  isolation:isolate!important;
  overflow:hidden!important;
}
.mim-hero-stage > .hero.mim-hero-overlay .hero-topline{
  position:relative!important;
  z-index:18!important;
}
/* Center the complete text group (eyebrow + Solander title + description). */
.mim-hero-stage .hero.mim-hero-overlay .hero-copy{
  position:absolute!important;
  grid-area:auto!important;
  left:50%!important;right:auto!important;
  top:49%!important;bottom:auto!important;
  width:min(90vw,920px)!important;max-width:calc(100% - 28px)!important;
  height:auto!important;
  margin:0!important;
  padding:24px clamp(12px,2.6vw,44px)!important;
  transform:translate(-50%,-50%)!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  text-align:center!important;
  z-index:31!important;
  pointer-events:none!important;
  opacity:1!important;filter:none!important;
  isolation:isolate;
}
/* Localized titles retain the centered composition in Arabic & Darija too. */
.mim-hero-stage .hero.mim-hero-overlay .hero-copy::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  inset:-25% -12%;
  background:radial-gradient(ellipse at 50% 50%,rgba(34,0,8,.84) 0%,rgba(39,0,9,.57) 38%,rgba(57,1,8,0) 76%);
}
.mim-hero-stage .hero.mim-hero-overlay .hero-kicker{
  display:flex!important;justify-content:center!important;align-items:center!important;
  width:100%!important;max-width:100%!important;
  gap:11px!important;flex-wrap:wrap!important;
  margin:0 auto clamp(12px,2vh,24px)!important;
  padding:0!important;
  font-size:clamp(9px,.81vw,12px)!important;line-height:1.55!important;
  text-align:center!important;letter-spacing:.11em!important;
  color:rgba(228,220,208,.95)!important;
  text-shadow:0 2px 10px rgba(18,0,4,.7);
}
.mim-hero-stage .hero.mim-hero-overlay .hero-kicker::before{
  flex:0 0 24px!important;width:24px!important;
  background:rgba(228,220,208,.74)!important;
}
.mim-use-vector .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading{
  display:block!important;
  width:min(66vw,760px,calc(100svh - var(--mim-fixed-header-height,74px) - 40px))!important;max-width:100%!important;
  margin:0 auto!important;padding:0!important;
  text-align:center!important;
  line-height:1!important;
}
.mim-use-vector .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading .mim-vector-display{
  display:block!important;width:100%!important;margin:0 auto!important;
}
.mim-use-vector .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading .mim-vector-art{
  -webkit-mask-position:center center!important;mask-position:center center!important;
  -webkit-mask-size:contain!important;mask-size:contain!important;
  background-color:#E4DCD0!important;
  filter:drop-shadow(0 6px 18px rgba(7,0,2,.55));
}
.mim-hero-stage .hero.mim-hero-overlay h1:not(.mim-vector-heading){
  width:min(86vw,790px)!important;max-width:100%!important;
  margin:0 auto!important;
  font-size:clamp(46px,8.4vw,142px)!important;
  text-align:center!important;line-height:.95!important;
  text-shadow:0 3px 22px rgba(12,0,4,.7);
}
/* Description moved inside .hero-copy to keep alignment stable. */
.mim-hero-stage .hero.mim-hero-overlay .hero-description{
  display:block!important;position:relative!important;
  grid-area:auto!important;
  width:min(88%,660px)!important;
  max-width:660px!important;
  margin:clamp(13px,2vh,23px) auto 0!important;
  padding:0!important;
  text-align:center!important;justify-self:center!important;
  font-family:var(--apple-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif)!important;
  font-size:clamp(12px,1.1vw,15px)!important;
  line-height:1.64!important;
  color:rgba(228,220,208,.94)!important;
  text-shadow:0 2px 13px rgba(12,0,4,.94);
  opacity:1!important;filter:none!important;transform:none!important;
}
.mim-hero-stage .hero.mim-hero-overlay .hero-description strong{
  display:block!important;
  font-size:clamp(13px,1.18vw,16px)!important;
  font-weight:600!important;line-height:1.5!important;
  color:#E4DCD0!important;
  margin:0 0 5px!important;
}
/* Full-bleed photos continue moving. Do not force the frame corners white. */
.mim-hero-stage .hero.mim-hero-overlay .mim-hero-photo-panels{
  position:absolute!important;inset:0!important;
  z-index:2!important;overflow:hidden!important;
  pointer-events:none!important;
}
.mim-hero-stage .hero.mim-hero-overlay .mim-hero-viewport{
  position:absolute!important;inset:0!important;
  top:0!important;bottom:0!important;
  width:100%!important;height:100%!important;
  padding:12px 0!important;
  z-index:3!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  pointer-events:auto!important;
  scroll-behavior:auto!important;
}
/* Only images are blurred: frame corners stay fine and sharp. */
.mim-hero-stage .hero.mim-hero-overlay .mim-hero-panel-media img{
  filter:blur(5px) brightness(.66) saturate(.72)!important;
  transform:scale(1.042)!important;
}
.mim-hero-stage .hero.mim-hero-overlay .mim-hero-panel-overlay{
  background:rgba(57,1,8,.32)!important;
  opacity:1!important;mix-blend-mode:normal!important;
}
/* Light transparent burgundy veil across all scrolling panels. */
.mim-hero-stage .hero.mim-hero-overlay .mim-hero-photo-panels::after{
  content:""!important;display:block!important;
  position:absolute!important;inset:0!important;z-index:9!important;
  background:linear-gradient(90deg,rgba(35,0,8,.24),rgba(57,1,8,.18) 46%,rgba(35,0,8,.24))!important;
  pointer-events:none!important;
}
.mim-hero-stage .hero.mim-hero-overlay .mim-hero-panel-caption{
  opacity:.56!important;
}
.mim-hero-stage .hero.mim-hero-overlay .hero-bottom{
  position:absolute!important;left:var(--gutter,4%)!important;right:var(--gutter,4%)!important;
  bottom:clamp(17px,3vh,35px)!important;top:auto!important;
  width:auto!important;max-width:none!important;
  height:auto!important;margin:0!important;padding:0!important;
  z-index:31!important;transform:none!important;
  opacity:1!important;filter:none!important;
  pointer-events:none!important;
}
.mim-hero-stage .hero.mim-hero-overlay .hero-bottom .scroll-cue{
  display:flex!important;pointer-events:auto!important;
  color:#E4DCD0!important;
  text-shadow:0 2px 9px rgba(14,0,4,.9);
}
.mim-hero-stage .hero.mim-hero-overlay .hero-bottom .hero-index{
  color:rgba(228,220,208,.8)!important;
}
@media(min-width:701px) and (max-width:1180px){
  .mim-hero-stage .hero.mim-hero-overlay .hero-copy{
    top:47%!important;width:min(91vw,790px)!important;
  }
  .mim-use-vector .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading{
    width:min(70vw,650px)!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .mim-hero-panel{
    height:calc(100% - 18px)!important;
  }
}
@media(max-width:700px){
  .mim-hero-stage.mim-motion-enabled{height:117svh!important;min-height:690px!important;}
  .mim-hero-stage .hero.mim-hero-overlay .hero-copy{
    top:46%!important;
    left:50%!important;right:auto!important;
    width:94vw!important;max-width:calc(100% - 24px)!important;
    padding:14px 7px!important;
    transform:translate(-50%,-50%)!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-kicker{
    font-size:clamp(7.3px,2vw,9px)!important;
    margin:0 auto 15px!important;gap:6px!important;
    letter-spacing:.045em!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-kicker::before{
    flex:0 0 15px!important;width:15px!important;
  }
  .mim-use-vector .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading{
    width:min(80vw,318px)!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay h1:not(.mim-vector-heading){
    font-size:clamp(40px,10vw,62px)!important;width:96%!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-description{
    width:92%!important;max-width:350px!important;
    font-size:11px!important;line-height:1.65!important;
    margin:20px auto 0!important;
    padding:0!important;
    text-align:center!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-description strong{
    font-size:12px!important;line-height:1.4!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .mim-hero-viewport{
    top:0!important;bottom:0!important;height:100%!important;
    padding:10px 0!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .mim-hero-panel{
    height:min(calc(100% - 20px),calc(var(--mim-loop-card-width,min(74vw,300px)) * 1.6))!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-bottom{
    display:none!important;
  }
}
@media(max-width:380px){
  .mim-use-vector .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading{
    width:min(81vw,278px)!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-description{font-size:10.3px!important;margin-top:15px!important;}
}
@media(prefers-reduced-motion:reduce){
  .mim-hero-stage .hero.mim-hero-overlay .mim-hero-viewport{scroll-behavior:auto!important}
}



/* v4.19 — smoother hero: no blank scroll tail, balanced desktop cards, clean phone viewport. */
/* The previous sticky 117-175svh scene created an empty scrolling segment. */
.mim-hero-stage.mim-motion-enabled,
.mim-hero-stage:not(.mim-motion-enabled){
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  padding:0!important;
}
.mim-hero-stage > .hero.mim-hero-overlay,
.mim-hero-stage.mim-motion-enabled > .hero.mim-hero-overlay{
  position:relative!important;
  top:auto!important;
  height:clamp(530px,calc(100svh - var(--mim-fixed-header-height,74px)),800px)!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  margin:0!important;
}
/* Header stays readable; image frame corners start below the small topline. */
.mim-hero-stage .hero.mim-hero-overlay .hero-topline{
  position:absolute!important;
  top:18px!important;
  z-index:34!important;
  text-shadow:0 2px 10px rgba(0,0,0,.75);
}
.mim-hero-stage .hero.mim-hero-overlay .mim-hero-viewport{
  top:49px!important;
  bottom:15px!important;
  height:calc(100% - 64px)!important;
  padding:10px 0!important;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
}
/* Desktop: three editorial portraits fit without towering over the title. */
@media(min-width:1181px){
  .mim-hero-stage .hero.mim-hero-overlay .mim-hero-panel,
  .mim-hero-stage.mim-motion-enabled .hero.mim-hero-overlay .mim-hero-panel{
    width:clamp(240px,25.2vw,385px)!important;
    flex:0 0 clamp(240px,25.2vw,385px)!important;
    height:min(calc(100% - 26px),555px)!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-copy{
    top:51%!important;
    width:min(80vw,820px)!important;
    padding:12px 22px!important;
  }
  .mim-use-vector .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading{
    width:min(48vw,690px)!important;
  }
}
/* Tablet: no desktop-sized towers and no long sticky section. */
@media(min-width:701px) and (max-width:1180px){
  .mim-hero-stage > .hero.mim-hero-overlay{
    height:clamp(530px,calc(100svh - var(--mim-fixed-header-height,86px)),740px)!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .mim-hero-panel,
  .mim-hero-stage.mim-motion-enabled .hero.mim-hero-overlay .mim-hero-panel{
    width:clamp(216px,29vw,320px)!important;
    flex:0 0 clamp(216px,29vw,320px)!important;
    height:min(calc(100% - 24px),530px)!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-copy{top:50%!important;}
  .mim-hero-stage .hero.mim-hero-overlay .mim-hero-viewport{
    top:42px!important;bottom:12px!important;height:calc(100% - 54px)!important;
  }
}
/* Heavy full-image blur across 48 repeated panels was expensive to repaint.
   Preserve the burgundy cinematic treatment using a cheap tint instead. */
.mim-hero-stage .hero.mim-hero-overlay .mim-hero-panel-media img{
  filter:brightness(.77) saturate(.85)!important;
  transform:none!important;
}
.mim-hero-stage .hero.mim-hero-overlay .mim-hero-panel-overlay{
  background:rgba(57,1,8,.35)!important;
  mix-blend-mode:normal!important;
}
.mim-hero-stage .hero.mim-hero-overlay .hero-copy::before{
  background:radial-gradient(ellipse at center,rgba(34,0,8,.83),rgba(39,0,9,.48) 42%,rgba(57,1,8,0) 77%)!important;
}
@media(max-width:700px){
  .mim-hero-stage > .hero.mim-hero-overlay,
  .mim-hero-stage.mim-motion-enabled > .hero.mim-hero-overlay{
    height:clamp(510px,calc(100svh - var(--mim-fixed-header-height,86px)),760px)!important;
    min-height:0!important;
  }
  /* No extra empty band above/below the carousel. */
  .mim-hero-stage .hero.mim-hero-overlay .hero-topline{display:none!important;}
  .mim-hero-stage .hero.mim-hero-overlay .mim-hero-viewport{
    top:0!important;bottom:0!important;height:100%!important;
    padding:8px 0!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .mim-hero-panel,
  .mim-hero-stage.mim-motion-enabled .hero.mim-hero-overlay .mim-hero-panel{
    flex:0 0 min(78vw,330px)!important;
    width:min(78vw,330px)!important;
    height:min(calc(100% - 20px),calc(min(78vw,330px) * 2.35))!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-copy{
    top:50%!important;
    width:min(95vw,420px)!important;
    padding:10px 8px!important;
  }
  .mim-use-vector .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading{
    width:min(78vw,302px)!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-description{
    margin-top:14px!important;
    max-width:320px!important;
    line-height:1.5!important;
  }
}
@media(max-width:360px){
  .mim-hero-stage .hero.mim-hero-overlay .hero-kicker{
    font-size:7px!important;
    letter-spacing:.02em!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-copy{top:50%!important;}
}
@media(prefers-reduced-motion:reduce){
  .mim-hero-stage .hero.mim-hero-overlay .mim-hero-viewport{scroll-behavior:auto!important;}
}


/* v4.20 — MOBILE SCROLL & HEIGHT FIX.
   The full-screen horizontal carousel used touch-action:pan-x, capturing vertical
   swipe and making the page appear stuck. Keep both scroll axes available. */
.mim-hero-stage .hero.mim-hero-overlay .mim-hero-viewport,
.mim-hero-loop .mim-hero-viewport{
  touch-action:auto!important;
  overscroll-behavior-y:auto!important;
  overscroll-behavior-x:contain!important;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:none!important;
}
/* Avoid unnecessary hidden overflow being inherited by the page itself. */
body:not(.mim-entry-active){overflow-y:auto!important;overscroll-behavior-y:auto}
@media(max-width:700px){
  .mim-hero-stage,.mim-hero-stage.mim-motion-enabled{
    height:auto!important;min-height:0!important;
    max-height:none!important;overflow:visible!important;
  }
  .mim-hero-stage > .hero.mim-hero-overlay,
  .mim-hero-stage.mim-motion-enabled > .hero.mim-hero-overlay{
    position:relative!important;
    top:auto!important;
    height:clamp(370px,62svh,570px)!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    overflow:hidden!important;
  }
  /* Shorter, lighter cards: still a portrait treatment, not a 700px tall tower. */
  .mim-hero-stage .hero.mim-hero-overlay .mim-hero-viewport{
    position:absolute!important;inset:0!important;
    top:0!important;bottom:0!important;height:100%!important;
    padding:10px 0!important;
    touch-action:auto!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .mim-hero-panel,
  .mim-hero-stage.mim-motion-enabled .hero.mim-hero-overlay .mim-hero-panel{
    --mim-loop-card-width:min(68vw,272px);
    flex:0 0 min(68vw,272px)!important;
    width:min(68vw,272px)!important;
    height:min(calc(100% - 24px),calc(min(68vw,272px) * 1.62))!important;
    max-height:460px!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-copy{
    top:50%!important;
    width:min(94vw,400px)!important;
    max-width:calc(100% - 16px)!important;
    padding:8px!important;
  }
  .mim-use-vector .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading{
    width:min(66vw,265px)!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-kicker{
    font-size:clamp(7px,1.85vw,9px)!important;
    margin-bottom:10px!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-description{
    max-width:290px!important;
    font-size:10.5px!important;
    line-height:1.5!important;
    margin-top:10px!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-description strong{
    font-size:11px!important;
  }
  /* Performance: avoid layered blur repaint over the scrolling image. */
  .mim-hero-stage .hero.mim-hero-overlay .hero-copy::before{
    inset:-12% -8%!important;
    background:radial-gradient(ellipse,rgba(34,0,8,.75),rgba(57,1,8,.3) 56%,transparent 83%)!important;
  }
}
@media(max-width:700px) and (max-height:610px){
  .mim-hero-stage > .hero.mim-hero-overlay,
  .mim-hero-stage.mim-motion-enabled > .hero.mim-hero-overlay{
    height:clamp(330px,70svh,430px)!important;
  }
  .mim-use-vector .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading{
    width:min(59vw,205px)!important;
  }
  .mim-hero-stage .hero.mim-hero-overlay .hero-description{font-size:9.5px!important}
}


/* v4.21 — protect the hero metadata against collisions at laptop/tablet widths. */
.mim-hero-stage .hero.mim-hero-overlay .hero-topline{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  gap:clamp(18px,4vw,52px)!important;
  align-items:start!important;
  justify-content:stretch!important;
  left:var(--gutter,clamp(16px,3vw,50px))!important;
  right:var(--gutter,clamp(16px,3vw,50px))!important;
  width:auto!important;
  max-width:calc(100% - 32px)!important;
  margin:0!important;
  padding:0!important;
  font-size:clamp(9px,.72vw,11px)!important;
  line-height:1.6!important;
  color:rgba(228,220,208,.85)!important;
  letter-spacing:.05em!important;
  text-align:left!important;
}
.mim-hero-stage .hero.mim-hero-overlay .hero-topline > span:first-child{
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.mim-hero-stage .hero.mim-hero-overlay .hero-topline > span:last-child{
  justify-self:end!important;
  white-space:nowrap!important;
  padding-left:10px!important;
}
@media(min-width:701px) and (max-width:1050px){
  .mim-hero-stage .hero.mim-hero-overlay .hero-topline{
    top:12px!important;
    font-size:9px!important;
    letter-spacing:0!important;
    gap:12px!important;
  }
}
@media(max-width:700px){
  /* On mobile retain the clean cinematic hero; never cram coordinates into the service line. */
  .mim-hero-stage .hero.mim-hero-overlay .hero-topline{
    display:none!important;
  }
}

/* v4.23 public translation legibility, without reversing LTR image carousels. */
html[lang="ar"] .section-head p,html[lang="ary-MA"] .section-head p,
html[lang="ar"] .portfolio-note,html[lang="ary-MA"] .portfolio-note,
html[lang="ar"] .hero-description,html[lang="ary-MA"] .hero-description,
html[lang="ar"] .process-body > p,html[lang="ary-MA"] .process-body > p {
  font-family:"Noto Kufi Arabic","Marhey",sans-serif;
  line-height:1.95;letter-spacing:0;
}
html[lang="ar"] .section-head p,html[lang="ary-MA"] .section-head p,
html[lang="ar"] .portfolio-note,html[lang="ary-MA"] .portfolio-note{max-width:38em}
/* Horizontal carousel movement stays LTR regardless of document language. */
.mim-hero-viewport,.mim-hero-loop-track,.mim-hero-loop-group{direction:ltr;}


/* v4.26 — aligned contact text + Moroccan zellij scroll-to-top */
.contact-bottom {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  gap: clamp(14px, 4vw, 44px) !important;
  justify-content: initial !important;
  align-items: start !important;
  margin-top: clamp(24px, 4vw, 55px) !important;
}
.contact-bottom > p,
.contact-bottom > .eyebrow {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: start !important;
  vertical-align: top !important;
  line-height: 1.65 !important;
  overflow-wrap: break-word;
}
.contact-bottom > p {
  justify-self: start;
  text-align: start;
  font-size: 11px !important;
}
.contact-bottom > .eyebrow {
  justify-self: end;
  text-align: end !important;
  font-size: 10px !important;
}
@media (max-width: 600px) {
  .contact-bottom {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: 16px !important;
    margin-top: 26px !important;
  }
  .contact-bottom > p,
  .contact-bottom > .eyebrow {
    font-size: 9px !important;
    line-height: 1.6 !important;
  }
}
@media (max-width: 350px) {
  .contact-bottom { gap: 12px !important; }
  .contact-bottom > p,
  .contact-bottom > .eyebrow { font-size: 8.5px !important; }
}

.mim-back-to-top {
  --zellij-rose: #c88a8c;
  position: fixed;
  z-index: 85;
  inset-inline-end: clamp(15px, 3vw, 32px);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(228,220,208,.27);
  border-radius: 15px;
  background: rgba(57,1,8,.86);
  color: var(--zellij-rose);
  box-shadow: 0 10px 35px rgba(12,0,4,.36), inset 0 1px rgba(228,220,208,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.94);
  transition: opacity .22s ease, visibility .22s ease, transform .3s cubic-bezier(.2,.8,.2,1), background-color .22s ease, border-color .22s ease;
  text-decoration: none;
  touch-action: manipulation;
}
.mim-back-to-top.mim-is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.mim-back-to-top.mim-near-footer {
  bottom: calc(112px + env(safe-area-inset-bottom, 0px));
}
.mim-back-to-top .mim-zellij-symbol {
  width: 46px;
  height: 46px;
  overflow: visible;
}
.mim-back-to-top:hover,
.mim-back-to-top:focus-visible {
  background: rgba(85,16,29,.97);
  border-color: rgba(228,220,208,.62);
  color: var(--paper, #E4DCD0);
  transform: translateY(-3px) scale(1.025);
}
.mim-back-to-top:focus-visible { outline: 2px solid var(--paper,#E4DCD0); outline-offset: 3px; }
.mim-back-to-top .mim-zellij-arrow {transition: transform .2s ease;transform-origin: 32px 32px;}
.mim-back-to-top:hover .mim-zellij-arrow {transform: translateY(-3px);}
@media(max-width:600px){
  .mim-back-to-top {width:52px;height:52px;border-radius:13px;inset-inline-end:14px;bottom:calc(14px + env(safe-area-inset-bottom, 0px));}
  .mim-back-to-top .mim-zellij-symbol {width:39px;height:39px;}
  .mim-back-to-top.mim-near-footer {bottom:calc(110px + env(safe-area-inset-bottom, 0px));}
}
@media(prefers-reduced-motion:reduce){
  .mim-back-to-top,.mim-back-to-top .mim-zellij-arrow {transition:none !important;}
}


/* v4.27 — fixed baseline and spacing for the two Contact footer messages.
   The left paragraph was moved separately by editorial-motion.js; both are now static. */
.contact .contact-bottom {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  column-gap: clamp(20px,5vw,70px) !important;
  align-items: start !important;
  justify-content: stretch !important;
  position: relative;
  margin-top: clamp(26px,4vw,48px) !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(228,220,208,.23);
}
.contact .contact-bottom > p,
.contact .contact-bottom > .eyebrow {
  display: block !important;
  position: static !important;
  align-self: start !important;
  justify-self: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  width: 100% !important;
  font-family: var(--sans, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif) !important;
  font-size: clamp(10px,.9vw,12px) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  color: rgba(228,220,208,.88) !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  overflow-wrap: normal;
}
.contact .contact-bottom > p {text-align: start !important;}
.contact .contact-bottom > .eyebrow {
  text-align: end !important;
  letter-spacing: .035em !important;
  text-transform: uppercase;
}
/* Defensive rule for cached animation classes or old inline scroll variables. */
.mim-editorial-enabled .contact .contact-bottom > [data-mim-scroll] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
@media (max-width: 600px) {
  .contact .contact-bottom {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    column-gap: 20px !important;
    margin-top: 25px !important;
    padding-top: 16px !important;
    padding-bottom: 22px !important;
  }
  .contact .contact-bottom > p,
  .contact .contact-bottom > .eyebrow {
    font-size: 10px !important;
    line-height: 1.6 !important;
  }
  .contact .contact-bottom > .eyebrow {letter-spacing: 0 !important;}
}
@media (max-width: 355px) {
  .contact .contact-bottom {column-gap: 12px !important;}
  .contact .contact-bottom > p,
  .contact .contact-bottom > .eyebrow {font-size: 9px !important;}
}


/* v4.29 — Customizer client logos: clean luxury tiles with a seamless soft marquee */
.mim-custom-clients-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.mim-client-logo-tile{
  box-sizing:border-box;flex:0 0 clamp(174px,18vw,242px);min-height:144px;
  padding:19px 16px 14px;display:flex;flex-direction:column;gap:13px;
  justify-content:center;align-items:center;text-align:center;
  background:linear-gradient(145deg,rgba(228,220,208,.075),rgba(57,1,8,.16));
  border:1px solid rgba(228,220,208,.21);border-radius:13px;
  box-shadow:none;
}
.mim-client-logo-link,.mim-client-logo-static{
  width:100%;min-height:70px;display:flex;align-items:center;justify-content:center;
  border-radius:7px;text-decoration:none;
}
.mim-client-logo-link:focus-visible{outline:2px solid var(--paper,#E4DCD0);outline-offset:3px}
.mim-client-logo-tile img{
  width:auto!important;height:auto!important;max-width:94%!important;max-height:66px!important;
  aspect-ratio:auto;object-fit:contain;filter:none;opacity:.91;
  transition:opacity .3s ease,transform .3s ease;
}
.mim-client-logo-tile:is(:hover,:focus-within) img{filter:none;opacity:1;transform:scale(1.035)}
.mim-client-logo-name{display:block;min-height:1.35em;max-width:100%;color:rgba(228,220,208,.82);
  font:500 10px/1.4 var(--sans,Arial,sans-serif);letter-spacing:.06em;
  overflow-wrap:anywhere;text-transform:none;
}
.mim-clients-viewport{
  width:100%;position:relative;overflow:hidden;
  /* Visibility can be paused on focus and respect motion accessibility below. */
}
.mim-clients-viewport:before,.mim-clients-viewport:after{
  content:"";pointer-events:none;position:absolute;top:0;bottom:0;width:min(5vw,52px);z-index:1;
}
.mim-clients-viewport:before{left:0;background:linear-gradient(to right,var(--ink,#390108),transparent)}
.mim-clients-viewport:after{right:0;background:linear-gradient(to left,var(--ink,#390108),transparent)}
.mim-clients-track{display:flex;width:max-content;gap:0;align-items:stretch;animation:mimClientLogoScroll 42s linear infinite;will-change:transform}
.mim-clients-group{display:flex;flex:0 0 auto;align-items:stretch;gap:12px;padding-right:12px}
@keyframes mimClientLogoScroll{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(-50%,0,0)}}
.mim-clients-viewport:is(:hover,:focus-within) .mim-clients-track{animation-play-state:paused}
@media(max-width:900px){
  .mim-custom-clients-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mim-client-logo-tile{flex-basis:190px;min-height:130px;padding:15px 12px}
  .mim-client-logo-tile img{max-height:57px!important}
  .mim-clients-track{animation-duration:50s}
}
@media(max-width:600px){
  .mim-custom-clients-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .mim-client-logo-tile{flex-basis:160px;min-height:116px;padding:11px 10px;gap:5px}
  .mim-client-logo-link,.mim-client-logo-static{min-height:62px}
  .mim-client-logo-tile img{max-height:52px!important}
  .mim-client-logo-name{font-size:9px}
  .mim-clients-group{gap:10px;padding-right:10px}
  .mim-clients-track{animation-duration:52s}
}
@media(prefers-reduced-motion:reduce){
  .mim-clients-viewport{overflow-x:auto;scrollbar-width:thin}
  .mim-clients-track{animation:none!important;will-change:auto}
  .mim-clients-group[aria-hidden="true"]{display:none}
  .mim-clients-viewport:before,.mim-clients-viewport:after{display:none}
}


/* v4.30 — Content Creation / Collaboration feature in the left Studio column. */
.mim-studio-collaboration{
  display:grid;
  grid-template-columns:minmax(0,43%) minmax(0,57%);
  min-height:clamp(500px,45vw,685px);
  padding-inline:var(--gutter);
  align-items:stretch;
}
.mim-studio-collaboration .mim-studio-aside{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:27px clamp(24px,4vw,65px) 30px 0;
  border-right:1px solid var(--rule);
}
.mim-studio-collaboration .intro-label{
  flex:none;display:block;padding:0;
  border:0;
  color:rgba(228,220,208,.85);
}
.mim-studio-collaboration .mim-studio-message{
  display:flex;flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:clamp(15px,1.8vw,26px);
  margin:clamp(32px,4vw,65px) 0 clamp(20px,4vw,50px);
  max-width:560px;
}
.mim-studio-eyebrow,.mim-studio-aside-footer{
  display:block;margin:0;
  color:rgba(228,220,208,.75);
  font:500 10px/1.65 var(--mono,"Courier New",monospace);
  letter-spacing:.115em;
  text-transform:uppercase;
}
.mim-studio-collaboration .mim-studio-statement{
  margin:0;
  font-family:var(--mim-heading-font,"Cormorant Garamond",Georgia,serif);
  font-size:clamp(43px,5.1vw,86px);
  font-weight:500;
  line-height:.99;
  letter-spacing:-.03em;
  text-transform:uppercase;
  text-wrap:balance;
  overflow-wrap:normal;
  max-width:11.5ch;
  color:var(--paper);
}
.mim-studio-collaboration .mim-studio-description{
  max-width:430px;margin:0;
  font:400 clamp(12px,1.05vw,15px)/1.83 var(--apple-ui,var(--sans));
  letter-spacing:0;
  color:rgba(228,220,208,.90);
  text-wrap:pretty;
}
.mim-studio-collab-link{
  display:inline-flex;align-items:center;justify-content:space-between;
  width:min(100%,274px);min-height:50px;gap:20px;
  padding:11px 14px 11px 18px;
  border:1px solid rgba(228,220,208,.6);
  border-radius:999px;
  color:var(--paper);background:rgba(228,220,208,.035);
  font:500 10px/1.4 var(--mono,"Courier New",monospace);
  letter-spacing:.07em;text-transform:uppercase;
  transition:background .25s ease,color .25s ease,border-color .25s ease;
  white-space:normal;
}
.mim-studio-collab-link:is(:hover,:focus-visible){background:var(--paper);color:var(--ink);border-color:var(--paper)}
.mim-studio-collab-link:focus-visible{outline:2px solid var(--paper);outline-offset:4px}
.mim-studio-collab-arrow{font-size:18px;line-height:1;flex:none}
.mim-studio-collaboration .intro-content{
  min-width:0;
  padding:clamp(50px,6vw,100px) clamp(16px,4vw,70px);
  justify-content:center;
}
.mim-studio-collaboration .intro h2,
.mim-studio-collaboration .intro-content h2{max-width:100%;}
.mim-studio-collaboration .intro-bottom{
  grid-template-columns:minmax(0,1fr) auto;
  gap:clamp(16px,3vw,40px);
  align-items:end;
}
/* Arabic/Darija are written right-to-left but decorative cards keep their layout. */
html[dir="rtl"] .mim-studio-collaboration .mim-studio-message{text-align:start;align-items:flex-start}
html[dir="rtl"] .mim-studio-collaboration .mim-studio-statement{
  font-family:"Noto Kufi Arabic","Marhey",sans-serif;
  font-size:clamp(34px,3.7vw,64px);
  font-weight:800;line-height:1.48;letter-spacing:0;
  text-transform:none;max-width:100%;overflow-wrap:break-word;
}
html[dir="rtl"] .mim-studio-collab-link{direction:rtl}
@media(max-width:1150px){
  .mim-studio-collaboration{grid-template-columns:minmax(0,46%) minmax(0,54%)}
  .mim-studio-collaboration .mim-studio-statement{font-size:clamp(43px,5.1vw,66px)}
  .mim-studio-collaboration .intro-content{padding-inline:clamp(16px,3.3vw,42px)}
  .mim-studio-collaboration .intro-bottom{grid-template-columns:1fr;gap:24px}
  .mim-studio-collaboration .intro-bottom .text-link{justify-self:start}
}
@media(max-width:800px){
  .mim-studio-collaboration{grid-template-columns:minmax(0,1fr);min-height:0}
  .mim-studio-collaboration .mim-studio-aside{
    border-right:0;
    border-bottom:1px solid var(--rule);
    padding:28px 0 38px;
    align-items:stretch;
  }
  .mim-studio-collaboration .mim-studio-message{margin:40px 0 24px;gap:18px;max-width:610px}
  .mim-studio-collaboration .mim-studio-statement{font-size:clamp(48px,10vw,77px);max-width:12ch}
  .mim-studio-collaboration .mim-studio-description{font-size:14px;line-height:1.8;max-width:560px}
  .mim-studio-collaboration .intro-content{padding:45px 0 55px}
  .mim-studio-collaboration .intro-bottom{grid-template-columns:1fr;gap:22px;margin-top:28px}
  html[dir="rtl"] .mim-studio-collaboration .mim-studio-statement{font-size:clamp(34px,7.5vw,58px)}
}
@media(max-width:520px){
  .mim-studio-collaboration .mim-studio-aside{padding:20px 0 28px}
  .mim-studio-collaboration .mim-studio-message{margin:28px 0 22px;gap:14px}
  .mim-studio-collaboration .mim-studio-eyebrow{font-size:9px}
  .mim-studio-collaboration .mim-studio-statement{font-size:clamp(44px,12vw,61px);max-width:12ch;line-height:1.04}
  .mim-studio-collaboration .mim-studio-description{font-size:12px;line-height:1.75;max-width:36ch}
  .mim-studio-collaboration .mim-studio-aside-footer{font-size:9px}
  .mim-studio-collaboration .intro-content{padding:36px 0 44px}
  .mim-studio-collaboration .mim-studio-collab-link{min-height:48px}
  html[dir="rtl"] .mim-studio-collaboration .mim-studio-statement{font-size:clamp(32px,8.6vw,43px)}
}
@media(prefers-reduced-motion:reduce){.mim-studio-collab-link{transition:none}}


/* v4.33 — Correct left Studio headline ONLY. Right "IDEAS THAT TURN INTO IMAGES"
   stays exactly as originally authored in v4.31. Render specific default
   English title as outlined Solander artwork; no font binaries embedded. */
.mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default{
  display:block;
  max-width:min(100%,485px);
  min-width:0;
  width:100%;
  font-size:inherit;
  line-height:1;
  letter-spacing:0;
  text-transform:none;
  position:relative;
}
.mim-studio-statement-art{display:none;}
html[lang^="en"] .mim-studio-statement.mim-studio-solander-default .mim-studio-statement-art{
  display:block;
  width:100%;
  aspect-ratio:3316 / 2395;
  background:var(--paper,#E4DCD0);
  -webkit-mask:url('assets/solander-titles/studio-content-connects.svg') center / contain no-repeat;
  mask:url('assets/solander-titles/studio-content-connects.svg') center / contain no-repeat;
}
/* Preserve the real, translatable headline in the DOM for SEO and screen readers. */
html[lang^="en"] .mim-studio-statement.mim-studio-solander-default .mim-studio-statement-text{
  position:absolute!important;
  width:1px!important;height:1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  clip-path:inset(50%)!important;
}
/* Other languages show their real translatable text, never English lettering. */
html[lang^="fr"] .mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default,
html[lang^="ar"] .mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default{
  width:auto;
  max-width:100%;
  font-family:"Noto Kufi Arabic","Marhey",var(--sans);
}
html[lang^="fr"] .mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default{
  font-family:var(--mim-heading-font,"Cormorant Garamond",Georgia,serif);
  font-size:clamp(42px,4.6vw,76px);
  line-height:1.05;
  letter-spacing:-.03em;
  text-transform:uppercase;
}
@media(max-width:800px){
  .mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default{max-width:min(100%,520px);}
}
@media(max-width:600px){
  .mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default{max-width:min(100%,360px);}
  html[lang^="fr"] .mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default{font-size:clamp(38px,9vw,58px);}
}


/* v4.34 – CONTENT THAT / CONNECTS. as TWO outlined Solander lines.
   Right studio heading (Ideas that turn into images) remains untouched. */
html[lang^="en"] .mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default{
  max-width:min(100%,580px);
}
html[lang^="en"] .mim-studio-statement.mim-studio-solander-default .mim-studio-statement-art{
  aspect-ratio: 4665 / 1735;
  -webkit-mask:url('assets/solander-titles/studio-content-connects-two-lines-v435.svg') center / contain no-repeat;
  mask:url('assets/solander-titles/studio-content-connects-two-lines-v435.svg') center / contain no-repeat;
}
@media(max-width:800px){
  html[lang^="en"] .mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default{
    max-width:min(100%,630px);
  }
}
@media(max-width:600px){
  html[lang^="en"] .mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default{
    max-width:min(100%,400px);
  }
}

/* v4.35: Expanded SVG artboard prevents the Solander S descender from being clipped. */


/* v4.36 — center WELCOME STUDIO ZH.CREATIVE on the actual viewport centre.
   Three balanced grid tracks keep the header a single row on desktop.
   Narrow laptop widths use the existing accessible Menu button so nav and text never collide. */
@media (min-width:1024px){
  .page-shell > .site-header{
    grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr)!important;
    grid-template-rows:minmax(0,1fr)!important;
    column-gap:0!important;
  }
  .page-shell > .site-header > .brand{
    grid-column:1!important;grid-row:1!important;
    justify-self:start!important;align-self:center!important;
  }
  .page-shell > .site-header > .header-location.micro{
    grid-column:2!important;grid-row:1!important;
    justify-self:center!important;align-self:center!important;
    position:relative!important;
    width:max-content!important;max-width:100%!important;
    padding:0 10px!important;margin:0!important;
    text-align:center!important;white-space:nowrap!important;
    z-index:2;
  }
  .page-shell > .site-header > .header-right{
    grid-column:3!important;grid-row:1!important;
    justify-self:end!important;align-self:center!important;
    white-space:nowrap!important;min-width:0!important;
  }
}
@media (min-width:1024px) and (max-width:1499px){
  .page-shell > .site-header .header-right nav:not(.is-open){display:none!important}
  .page-shell > .site-header .header-right .availability{display:none!important}
  .page-shell > .site-header .header-right .menu-toggle{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    cursor:pointer!important;font-size:10px!important;letter-spacing:.075em!important;
  }
  .page-shell > .site-header .header-right nav.is-open{
    display:flex!important;position:absolute!important;
    right:0!important;left:0!important;top:100%!important;
    align-items:flex-end!important;flex-direction:column!important;
    gap:16px!important;padding:26px var(--gutter) 30px!important;
    background:var(--ink,#390108)!important;
    border-bottom:1px solid var(--rule)!important;
    white-space:normal!important;z-index:20!important;
    max-height:calc(100dvh - var(--mim-fixed-header-height) - 20px);
    overflow-y:auto;
  }
}

/* v4.38 — Owner's ZH.CREATIVE Marrakech logo (header only). */
.page-shell > .site-header > .brand.mim-zh-header-brand {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:max-content!important;
  max-height:100%!important;
  min-width:0!important;
  line-height:0!important;
}
.page-shell > .site-header .mim-zh-header-logo {
  display:block!important;
  height:60px!important;
  width:auto!important;
  max-width:none!important;
  max-height:calc(var(--mim-fixed-header-height,74px) - 10px)!important;
  object-fit:contain!important;
  filter:none!important;
  opacity:1!important;
}
@media(max-width:900px){
  .page-shell > .site-header .mim-zh-header-logo {height:51px!important;max-height:54px!important;}
}
@media(max-width:520px){
  .page-shell > .site-header .mim-zh-header-logo {height:43px!important;max-height:45px!important;}
}


/* v4.43 — Ultrawide/large desktop hero containment fix.
   Keep the cinematic carousel and copy in a full-viewport hero, instead of
   letting an ancestor/grid intrinsic width or legacy max-width shrink it. */
@media (min-width: 1181px) {
  .page-shell > main,
  .page-shell > main#main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  #main > .mim-hero-stage {
    box-sizing: border-box !important;
    display: block !important;
    position: relative !important;
    width: 100vw !important;
    max-width: none !important;
    min-width: 100vw !important;
    margin-inline: calc(50% - 50vw) !important;
  }
  #main > .mim-hero-stage > .hero.mim-hero-overlay {
    box-sizing: border-box !important;
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
  }
  #main > .mim-hero-stage .hero.mim-hero-overlay .mim-hero-photo-panels,
  #main > .mim-hero-stage .hero.mim-hero-overlay .mim-hero-viewport {
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }
  #main > .mim-hero-stage .hero.mim-hero-overlay .hero-copy {
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    max-width: min(94vw, 960px) !important;
  }
}

/* v4.44 — Balanced centered sections and correctly scaled vertical Reel tiles.
   Scoped to the photo archive, Reels and client collaborations only.
   Maintains the original 4:5 / 9:16 media aspect ratios and responsive columns. */
@media (min-width: 701px) {
  #work .portfolio-head,
  #videos .section-head,
  #clients .section-head {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:16px;
    text-align:center;
    padding:32px 0 34px;
    min-width:0;
  }
  #work .portfolio-head > div,
  #videos .section-head > div,
  #clients .section-head > div {
    display:flex;
    flex-direction:column;
    align-items:center;
    min-width:0;
    width:100%;
  }
  #work .section-index,
  #videos .section-index,
  #clients .section-index {
    display:block;
    width:100%;
    text-align:center;
  }
  /* SVG lettering has unequal intrinsic aspect ratios. Equalize apparent
     heading heights rather than assigning an identical width to each SVG. */
  .mim-use-vector #work .portfolio-head h2.mim-vector-heading {
    width:min(100%,790px)!important;
    margin:23px auto 0!important;
  }
  .mim-use-vector #videos .section-head h2.mim-vector-heading {
    width:min(100%,610px)!important;
    margin:23px auto 0!important;
  }
  .mim-use-vector #clients .section-head h2.mim-vector-heading {
    width:min(100%,485px)!important;
    margin:23px auto 0!important;
  }
  #work .portfolio-head h2.mimdc-live-heading,
  #videos .section-head h2.mimdc-live-heading,
  #clients .section-head h2.mimdc-live-heading {
    width:min(100%,1050px);
    max-width:100%;
    margin:23px auto 0!important;
    font-size:clamp(58px,5.5vw,108px);
    line-height:1.06;
    text-align:center;
    text-wrap:balance;
  }
  #work .portfolio-head .portfolio-note,
  #videos .section-head > p,
  #clients .section-head > p {
    width:min(100%,560px);
    max-width:560px;
    justify-self:center;
    margin:0 auto!important;
    text-align:center;
    font-size:13px;
    line-height:1.7;
  }
  .mim-use-vector #work .mim-vector-art,
  .mim-use-vector #videos .mim-vector-art,
  .mim-use-vector #clients .mim-vector-art {
    -webkit-mask-position:center;
    mask-position:center;
  }
  #work .filter-bar {
    justify-content:center;
  }
  #work .gallery-grid {
    width:min(100%,1380px);
    margin-inline:auto;
  }
  #videos .reels-grid {
    width:min(100%,1120px);
    margin-inline:auto;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:clamp(12px,1.25vw,20px);
    align-items:start;
  }
  #clients .clients-grid,
  #clients .empty-slot,
  #clients .mim-clients-viewport {
    width:min(100%,1120px);
    margin-inline:auto;
  }
  #clients .empty-slot {text-align:center;}
}
/* Intermediate laptop/tablet: the same centered grid but three visible Reels. */
@media (min-width:701px) and (max-width:1100px) {
  #videos .reels-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    width:min(100%,830px);
  }
  .mim-use-vector #work .portfolio-head h2.mim-vector-heading {width:min(100%,690px)!important;}
  .mim-use-vector #videos .section-head h2.mim-vector-heading {width:min(100%,560px)!important;}
  .mim-use-vector #clients .section-head h2.mim-vector-heading {width:min(100%,435px)!important;}
}
/* Phones: keep the established two-column video grid, with centered headings. */
@media (max-width:700px) {
  #work .portfolio-head,
  #videos .section-head,
  #clients .section-head {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
    text-align:center;
    padding-bottom:25px;
  }
  #work .portfolio-head > div,
  #videos .section-head > div,
  #clients .section-head > div {
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  #work .section-index,
  #videos .section-index,
  #clients .section-index {text-align:center;}
  .mim-use-vector #work .portfolio-head h2.mim-vector-heading {
    width:min(100%,450px)!important;
    margin:18px auto 0!important;
  }
  .mim-use-vector #videos .section-head h2.mim-vector-heading {
    width:min(100%,430px)!important;
    margin:18px auto 0!important;
  }
  .mim-use-vector #clients .section-head h2.mim-vector-heading {
    width:min(100%,315px)!important;
    margin:18px auto 0!important;
  }
  #work .portfolio-head h2.mimdc-live-heading,
  #videos .section-head h2.mimdc-live-heading,
  #clients .section-head h2.mimdc-live-heading {
    margin:16px auto 0!important;
    font-size:clamp(36px,9.5vw,62px);
    line-height:1.1;
    text-align:center;
  }
  #work .portfolio-head .portfolio-note,
  #videos .section-head > p,
  #clients .section-head > p {
    width:min(100%,480px);
    max-width:480px;
    margin:0 auto!important;
    text-align:center;
  }
  #videos .reels-grid {
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
    margin-inline:auto;
  }
  #clients .empty-slot {text-align:center;}
}

/* v4.45: Consistent, emoji-free vector contact icons on iOS, Android, Windows & macOS.
   SVGs are inline: no font, image loading, emoji substitution, or external icon library. */
.contact-links .contact-method-icon{
  width:42px;height:42px;min-width:42px;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(228,220,208,.55);
  border-radius:50%;background:rgba(228,220,208,.055);
  color:#E4DCD0;line-height:1;flex-shrink:0;
}
.contact-links .mim-contact-svg{
  display:block;flex:none;fill:none;color:inherit;
  width:22px;height:22px;stroke:currentColor;
  vector-effect:non-scaling-stroke;
}
.contact-links .mim-contact-label{min-width:0;flex:1 1 auto;}
.contact-links .mim-contact-arrow{
  width:28px;height:28px;display:inline-flex;
  align-items:center;justify-content:center;flex:none;
  border:1px solid rgba(228,220,208,.3);
  border-radius:7px;color:#E4DCD0;background:rgba(228,220,208,.06);
}
.contact-links .mim-contact-arrow .mim-contact-arrow-svg{width:17px;height:17px;}
@media (max-width:520px){
  .contact-links .contact-method{gap:12px;padding:15px 16px;}
  .contact-links .contact-method-icon{width:40px;height:40px;min-width:40px;}
  .contact-links .mim-contact-arrow{width:27px;height:27px;}
}


/* v4.47 — About Us: properly centered titles, readable detail names and content.
 * Only the About Us page is touched. Keeps original burgundy/ivory branding,
 * vectors, all languages, and previous device breakpoints. */
.about-page .about-page-hero{
  align-items:center;
  justify-content:space-between;
  min-height:clamp(410px,34vw,620px);
  text-align:center;
  padding-block:clamp(36px,4vw,72px);
}
.about-page .about-page-hero .eyebrow{
  text-align:center;
  font-size:clamp(10px,.75vw,13px);
}
.about-page .about-page-hero h1{
  max-width:100%;
  margin:35px auto;
  text-align:center;
}
.mim-use-vector .about-page .about-page-hero h1.mim-vector-heading{
  width:min(94%,1100px);
  margin:35px auto;
}
.about-page .about-page-hero-bottom{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:13px;
  width:100%;
  text-align:center;
}
.about-page .about-page-hero-bottom p{
  font-size:clamp(14px,.95vw,18px);
  line-height:1.65;
}
.about-page .about-page-hero-bottom .micro{
  font-size:clamp(10px,.72vw,12px);
  letter-spacing:.08em;
}
.about-page .mim-vector-heading .mim-vector-display .mim-vector-art{
  -webkit-mask-position:center center;
  mask-position:center center;
}
.about-page .about-biography{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(21px,3vw,42px);
  padding:clamp(64px,6.5vw,112px) var(--gutter);
  text-align:center;
}
.about-page .about-biography>.section-index,
.about-page .about-details .section-index,
.about-page .about-page-cta>.section-index{
  width:100%;
  text-align:center;
  font-size:clamp(10px,.75vw,12px);
}
.about-page .about-biography>div:last-child{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(20px,2.3vw,34px);
}
.about-page .about-biography h2{
  width:min(100%,1050px);
  max-width:100%;
  margin:0 auto;
  text-align:center;
  font-size:clamp(46px,5.8vw,105px);
  line-height:1.1;
  text-wrap:balance;
}
.mim-use-vector .about-page .about-biography h2.mim-vector-heading{
  width:min(100%,1120px);
  margin-inline:auto;
}
.about-page .about-biography p{
  max-width:880px;
  width:100%;
  margin:0 auto;
  color:#E4DCD0;
  font-size:clamp(17px,1.12vw,22px);
  line-height:1.85;
  text-align:center;
  text-wrap:pretty;
}
.about-page .about-details{
  padding:clamp(62px,5.5vw,105px) var(--gutter) clamp(76px,7vw,125px);
}
.about-page .about-details .section-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:0 0 clamp(28px,3vw,50px);
  margin:0;
  text-align:center;
}
.about-page .about-details .section-head>div{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  gap:22px;
}
.about-page .about-details h2{
  margin:0 auto;
  text-align:center;
  max-width:100%;
  font-size:clamp(45px,5vw,90px);
  line-height:1.1;
  text-wrap:balance;
}
.mim-use-vector .about-page .about-details h2.mim-vector-heading{
  width:min(100%,1060px);
  margin-inline:auto;
}
.about-page .about-detail-grid{
  width:min(100%,1580px);
  margin-inline:auto;
  gap:clamp(14px,1.4vw,26px);
  align-items:stretch;
}
.about-page .about-detail-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:clamp(24px,2.4vw,44px);
  text-align:center;
}
.about-page .about-detail-num{
  display:block;
  font-size:clamp(10px,.78vw,12px);
  line-height:1.6;
}
.about-page .about-detail-card h3{
  font-size:clamp(34px,3.1vw,54px);
  line-height:1.12;
  font-weight:500;
  letter-spacing:-.035em;
  margin:24px 0 28px;
  text-align:center;
}
.about-page .about-detail-card ul{
  width:100%;
  margin:0;
  padding:0;
  text-align:center;
}
.about-page .about-detail-card li{
  font-size:clamp(15px,.94vw,18px);
  line-height:1.65;
  padding:15px 4px;
  text-align:center;
  overflow-wrap:anywhere;
}
.about-page .about-page-cta{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:clamp(22px,3vw,46px);
  padding:clamp(70px,6vw,112px) var(--gutter) clamp(82px,7vw,128px);
}
.about-page .about-page-cta h2{
  width:min(100%,1060px);
  max-width:100%;
  margin:0 auto;
  text-align:center;
  font-size:clamp(52px,7vw,130px);
  line-height:1.06;
  text-wrap:balance;
}
.mim-use-vector .about-page .about-page-cta h2.mim-vector-heading{
  width:min(100%,1080px);
  margin-inline:auto;
}
.about-page .about-page-cta>a{
  align-self:center;
  justify-content:center;
  margin-inline:auto;
  font-size:clamp(12px,.8vw,14px);
  min-height:48px;
}
@media (max-width:1000px){
  .about-page .about-detail-grid{max-width:890px;}
}
@media (max-width:800px){
  .about-page .about-page-hero{min-height:350px;}
  .about-page .about-biography{padding-block:64px;}
  .about-page .about-detail-grid{max-width:620px;}
  .about-page .about-detail-card h3{font-size:clamp(34px,5vw,46px);}
  .about-page .about-detail-card li{font-size:16px;}
}
@media (max-width:520px){
  .about-page .about-page-hero{min-height:300px;padding-block:27px 31px;}
  .about-page .about-page-hero h1,
  .mim-use-vector .about-page .about-page-hero h1.mim-vector-heading{margin-block:24px;}
  .about-page .about-page-hero-bottom{display:flex;gap:9px;}
  .about-page .about-page-hero-bottom p{font-size:13px;}
  .about-page .about-biography{padding-block:54px;}
  .about-page .about-biography p{font-size:16px;line-height:1.8;}
  .mim-use-vector .about-page .about-biography h2.mim-vector-heading{width:100%;}
  .about-page .about-details{padding-block:55px 75px;}
  .about-page .about-details .section-head{padding-bottom:25px;}
  .about-page .about-detail-card{padding:25px 20px 31px;}
  .about-page .about-detail-card h3{font-size:37px;margin:20px 0 18px;}
  .about-page .about-detail-card li{font-size:15px;line-height:1.75;padding:13px 2px;}
  .about-page .about-page-cta{padding-block:58px 80px;gap:24px;}
  .about-page .about-page-cta h2{font-size:clamp(42px,10vw,62px);}
}


/* v4.48 — unified SVG-style inline icons */
.mim-inline-icon{display:inline-block;vertical-align:-0.18em;flex:none}
.contact-cta .mim-inline-icon,.about-page-cta .mim-inline-icon,.text-link .mim-inline-icon,.footer-social .mim-inline-icon,.service-row .mim-inline-icon,.mim-studio-collab-button .mim-inline-icon,.gallery-hover .mim-inline-icon,.mim-ig-expand .mim-inline-icon{width:1.05em;height:1.05em}
.contact-cta{gap:12px}.contact-cta-icon{width:16px;height:16px}
.footer-social a,.about-page-cta>a,.text-link,.mim-ig-expand,.contact-cta{display:inline-flex;align-items:center}
.footer-social a{gap:8px}.text-link,.about-page-cta>a{gap:10px}.service-arrow{margin-left:auto;color:var(--accent);width:18px;height:18px}
.mim-studio-collab-button{display:inline-flex;align-items:center;gap:10px}.mim-studio-collab-arrow{width:16px;height:16px}
.gallery-hover{display:inline-flex;align-items:center;gap:8px}.gallery-hover-icon{width:14px;height:14px}
.mim-ig-expand{display:inline-flex;align-items:center;gap:8px}.footer-link-icon,.text-link-icon{width:14px;height:14px}


/* v4.49 — About-inspired centered home page composition.
   Deliberately scoped to home #main; About, header, hero carousel motion,
   the visual grid aspect ratios and floating controls remain untouched. */
#main > .mim-studio-collaboration {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  width:100%;
  min-height:0;
  align-items:center;
}
#main > .mim-studio-collaboration .mim-studio-aside {
  width:100%;
  border-right:0;
  border-bottom:1px solid var(--rule);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:clamp(16px,2.1vw,28px);
  padding:clamp(45px,5vw,84px) 0 clamp(40px,4.5vw,70px);
}
#main > .mim-studio-collaboration .intro-label,
#main > .mim-studio-collaboration .mim-studio-aside-footer,
#main > .mim-studio-collaboration .mim-studio-eyebrow {
  width:100%;
  text-align:center;
}
#main > .mim-studio-collaboration .mim-studio-message,
html[dir="rtl"] #main > .mim-studio-collaboration .mim-studio-message {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:900px;
  margin:0 auto;
  gap:clamp(17px,2.3vw,30px);
  text-align:center;
}
#main > .mim-studio-collaboration .mim-studio-statement {
  max-width:min(100%,850px);
  margin:0 auto;
  font-size:clamp(43px,5.6vw,104px);
  line-height:1.08;
  text-align:center;
  text-wrap:balance;
}
html[lang^="en"] #main > .mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default {
  max-width:min(100%,740px);
}
#main > .mim-studio-collaboration .mim-studio-description {
  width:100%;
  max-width:750px;
  margin:0 auto;
  font-size:clamp(16px,1.15vw,20px);
  line-height:1.8;
  text-align:center;
  text-wrap:pretty;
}
#main > .mim-studio-collaboration .mim-studio-collab-link {
  align-self:center;
  justify-content:center;
  gap:16px;
  width:auto;
  max-width:100%;
  min-height:50px;
  margin:2px auto 0;
  padding:12px 24px;
  font-size:clamp(11px,.78vw,13px);
}
#main > .mim-studio-collaboration .intro-content {
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:clamp(60px,6vw,110px) 0 clamp(65px,6vw,112px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:clamp(24px,3vw,44px);
  text-align:center;
}
#main > .mim-studio-collaboration .intro-content h2,
.mim-use-vector #main > .mim-studio-collaboration .intro-content h2.mim-vector-heading {
  width:min(100%,1060px);
  max-width:100%;
  margin:0 auto;
  font-size:clamp(46px,6vw,104px);
  line-height:1.08;
  text-align:center;
  text-wrap:balance;
}
#main > .mim-studio-collaboration .intro-content .mim-vector-art {
  -webkit-mask-position:center center!important;
  mask-position:center center!important;
}
#main > .mim-studio-collaboration .intro-bottom {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:25px;
  width:100%;
  margin:0 auto;
  text-align:center;
}
#main > .mim-studio-collaboration .intro-bottom p {
  width:100%;
  max-width:820px;
  margin:0 auto;
  font-size:clamp(16px,1.08vw,20px);
  line-height:1.85;
  text-align:center;
}
#main > .mim-studio-collaboration .intro-bottom .text-link {
  justify-self:center;
  align-self:center;
  margin:0 auto;
  font-size:clamp(11px,.8vw,13px);
}

/* Services: balanced editorial grid, centered descriptions; retain rows and order. */
#main > .services .services-aside {
  display:flex;
  justify-content:center;
  padding:clamp(24px,3vw,46px) 0 0;
}
#main > .services .services-aside .section-index {text-align:center;width:100%;}
#main > .services .services-list {
  width:min(100%,1160px);
  max-width:1160px;
  margin-inline:auto;
  padding:20px 0 clamp(65px,5vw,100px);
}
#main > .services .services-heading h2,
.mim-use-vector #main > .services .services-heading h2.mim-vector-heading {
  width:min(100%,850px);
  max-width:100%;
  font-size:clamp(50px,5.5vw,96px);
  text-align:center;
  text-wrap:balance;
}
#main > .services .service-row {
  grid-template-columns:48px minmax(0,1fr) 48px;
  gap:clamp(10px,2.2vw,32px);
  min-height:clamp(112px,10vw,164px);
  padding:22px clamp(10px,3vw,40px);
  text-align:center;
}
#main > .services .service-row:hover {padding-left:clamp(10px,3vw,40px);}
#main > .services .service-row>div {min-width:0;text-align:center;}
#main > .services .service-row h3 {font-size:clamp(29px,3.1vw,48px);line-height:1.15;text-wrap:balance;}
#main > .services .service-row p {
  max-width:760px;
  margin:9px auto 0;
  font-size:clamp(13px,1vw,17px);
  line-height:1.65;
  text-align:center;
}
#main > .services .service-row .num {font-size:clamp(11px,.85vw,13px);text-align:center;}
#main > .services .service-row .service-arrow {margin-inline:auto;justify-self:center;}
#main > .services .mim-content-disciplines {text-align:center;}

/* About-like breathing space for home section headings/descriptions. */
#main #work .portfolio-head,
#main #videos .section-head,
#main #clients .section-head {gap:clamp(17px,2vw,28px);}
#main #work .portfolio-note,
#main #videos .section-head>p,
#main #clients .section-head>p {
  width:min(100%,760px);
  max-width:760px;
  margin-inline:auto!important;
  font-size:clamp(15px,1vw,19px);
  line-height:1.75;
  text-align:center;
}
#main #work .section-index,
#main #videos .section-index,
#main #clients .section-index,
#main .services .section-index,
#main .process .section-index {font-size:clamp(10px,.8vw,12px);}
#main #work .filter-bar {justify-content:center;flex-wrap:wrap;}
#main #work .gallery-info,
#main #videos .reel-info {text-align:center;}
#main .process .process-body>p {
  max-width:790px;
  font-size:clamp(16px,1.05vw,20px);
  line-height:1.8;
}
#main .process .process-step span {font-size:clamp(14px,1vw,18px);}

/* Contact matches the vertically centered About CTA, including its metadata. */
#main > .contact {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:0;
  text-align:center;
  padding:clamp(62px,6vw,108px) var(--gutter) clamp(78px,7vw,120px);
}
#main > .contact .contact-topline {
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 34px;
  width:100%;
  font-size:clamp(10px,.8vw,13px);
  text-align:center;
}
#main > .contact .contact-main {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:clamp(25px,3.4vw,52px);
  width:100%;
  margin-top:clamp(35px,5vw,72px);
  text-align:center;
}
#main > .contact h2,
.mim-use-vector #main > .contact h2.mim-vector-heading {
  width:min(100%,1100px);
  max-width:100%;
  margin:0 auto;
  text-align:center;
  font-size:clamp(56px,7vw,118px);
  line-height:1.08;
  text-wrap:balance;
}
#main > .contact .contact-main .mim-vector-art {
  -webkit-mask-position:center center!important;
  mask-position:center center!important;
}
#main > .contact .contact-cta {
  flex:0 0 auto;
  width:clamp(126px,12vw,175px);
  margin:0 auto;
  font-size:clamp(10px,.8vw,13px);
}
#main > .contact .contact-links {
  display:flex;
  justify-content:center;
  align-items:stretch;
  flex-wrap:wrap;
  width:100%;
  max-width:880px;
  gap:clamp(12px,2vw,24px);
  margin:clamp(36px,4vw,64px) auto 0;
}
#main > .contact .contact-method {
  width:min(100%,405px);
  max-width:405px;
  flex:1 1 300px;
  text-align:start;
}
#main > .contact .contact-bottom {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:13px!important;
  width:100%!important;
  margin-top:clamp(35px,5vw,66px)!important;
}
#main > .contact .contact-bottom>p,
#main > .contact .contact-bottom>.eyebrow {
  width:min(100%,760px)!important;
  max-width:760px!important;
  margin-inline:auto!important;
  justify-self:center!important;
  text-align:center!important;
}
#main > .contact .contact-bottom>p {
  font-size:clamp(14px,1.05vw,18px)!important;
  line-height:1.8!important;
}
#main > .contact .contact-bottom>.eyebrow {
  font-size:clamp(10px,.75vw,12px)!important;
  line-height:1.6!important;
}

/* Mobile: meaningful tap areas and typography without horizontal overflow. */
@media(max-width:800px){
  #main > .mim-studio-collaboration .mim-studio-aside {padding-block:48px 42px;}
  #main > .mim-studio-collaboration .intro-content {padding-block:52px 68px;}
  #main > .services .services-list {padding-block:10px 58px;}
  #main > .services .service-row {grid-template-columns:32px minmax(0,1fr) 32px;}
  #main > .contact {padding-block:62px 78px;}
}
@media(max-width:520px){
  #main > .mim-studio-collaboration .mim-studio-aside {padding-block:36px;gap:16px;}
  #main > .mim-studio-collaboration .mim-studio-message {gap:18px;}
  #main > .mim-studio-collaboration .mim-studio-statement {font-size:clamp(36px,10vw,58px);}
  #main > .mim-studio-collaboration .mim-studio-description {font-size:14px;line-height:1.8;}
  #main > .mim-studio-collaboration .intro-content {padding-block:46px 60px;gap:23px;}
  #main > .mim-studio-collaboration .intro-content h2,
  .mim-use-vector #main > .mim-studio-collaboration .intro-content h2.mim-vector-heading {font-size:clamp(38px,10vw,58px);}
  #main > .mim-studio-collaboration .intro-bottom p {font-size:15px;line-height:1.8;}
  #main > .services .services-heading h2,
  .mim-use-vector #main > .services .services-heading h2.mim-vector-heading {font-size:clamp(36px,10vw,56px);}
  #main > .services .service-row {gap:8px;min-height:112px;padding:18px 0;}
  #main > .services .service-row:hover {padding-left:0;}
  #main > .services .service-row h3 {font-size:clamp(26px,7.8vw,37px);}
  #main > .services .service-row p {font-size:13px;line-height:1.6;}
  #main #work .portfolio-note,#main #videos .section-head>p,#main #clients .section-head>p {font-size:14px;}
  #main .process .process-body>p {font-size:15px;}
  #main > .contact h2,.mim-use-vector #main > .contact h2.mim-vector-heading {font-size:clamp(40px,10vw,62px);}
  #main > .contact .contact-links {margin-top:31px;}
  #main > .contact .contact-method {flex-basis:100%;width:100%;max-width:100%;}
  #main > .contact .contact-bottom>p {font-size:13px!important;}
  #main > .contact .contact-bottom>.eyebrow {font-size:10px!important;}
}


/* v4.50 — About: new Digital Marketing & AI Search category, balanced 2×2 on desktop.
   Keep all four centered cards equally sized; use a single-column layout on phones. */
.about-page .about-detail-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:1320px;
  align-items:stretch;
}
.about-page .about-detail-grid > .about-detail-card{
  grid-column:auto;
  min-width:0;
  overflow-wrap:anywhere;
}
.about-page .about-detail-card--marketing h3{
  max-width:100%;
  text-wrap:balance;
}
@media(max-width:760px){
  .about-page .about-detail-grid{grid-template-columns:minmax(0,1fr);max-width:620px;}
  .about-page .about-detail-grid > .about-detail-card{grid-column:auto;}
}


/* v4.51 — Center the Creative Specialties label and the entire multiline list
   within the Home Services column (previously the 850px paragraph was left-aligned). */
#main > .services .mim-content-disciplines {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#main > .services .mim-content-disciplines > .micro {
  display: block;
  width: 100%;
  text-align: center;
}
#main > .services .mim-content-disciplines > p {
  width: min(100%, 850px);
  max-width: 850px;
  margin: 13px auto 0;
  text-align: center;
  text-wrap: pretty;
}
@media(max-width: 520px) {
  #main > .services .mim-content-disciplines > p {
    line-height: 1.9;
    overflow-wrap: break-word;
  }
}


/* v4.52 — Remove only the short decorative line before the homepage hero subtitle.
   All breakpoints/languages: text stays visible and centered. */
.mim-hero-stage .hero.mim-hero-overlay .hero-kicker::before,
.mim-hero-stage .hero-kicker::before,
.hero-kicker::before {
  content:none !important;
  display:none !important;
}


/* v4.53 — Hide WELCOME STUDIO ZH.CREATIVE on phones/tablets only.
   Reclaim the redundant second header row without touching desktop. */
@media (max-width: 800px) {
  :root { --mim-fixed-header-height: 65px; }
  .page-shell > .site-header {
    height: var(--mim-fixed-header-height) !important;
    min-height: var(--mim-fixed-header-height) !important;
    grid-template-columns: max-content minmax(0,1fr) !important;
    grid-template-rows: minmax(0,1fr) !important;
    align-items: center !important;
    align-content: center !important;
  }
  .page-shell > .site-header > .header-location.micro {
    display: none !important;
  }
  .page-shell > .site-header > .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .page-shell > .site-header > .header-right {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
}


/* v4.55 — ACTUAL centered composition for the overlaid editorial Hero.
   v4.54 used weak selectors without !important and was overridden by v4.18-4.21.
   These selectors match the rendered hero and outrank legacy rules.
   Tablet/mobile under 981px remain unchanged. */
@media (min-width:981px) {
  #main > .mim-hero-stage > .hero.mim-hero-overlay .hero-copy {
    position:absolute!important;
    left:50%!important;
    right:auto!important;
    top:48%!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
    width:min(calc(100vw - 48px),1060px)!important;
    max-width:calc(100vw - 48px)!important;
    margin:0!important;
    padding:18px 20px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    z-index:35!important;
  }
  #main > .mim-hero-stage .hero.mim-hero-overlay .hero-kicker {
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0 auto 16px!important;
    text-align:center!important;
  }
  #main > .mim-hero-stage .hero.mim-hero-overlay .hero-kicker::before {
    display:none!important;
    content:none!important;
  }
  body.mim-use-vector #main > .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading {
    display:block!important;
    width:clamp(450px,43vw,740px)!important;
    max-width:100%!important;
    margin:0 auto!important;
    padding:0!important;
    text-align:center!important;
    align-self:center!important;
  }
  body.mim-use-vector #main > .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading .mim-vector-display {
    display:block!important;
    width:100%!important;
    margin:0 auto!important;
  }
  body.mim-use-vector #main > .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading .mim-vector-art {
    width:100%!important;
    margin-inline:auto!important;
    -webkit-mask-position:center center!important;
    mask-position:center center!important;
  }
  #main > .mim-hero-stage .hero.mim-hero-overlay h1:not(.mim-vector-heading) {
    width:min(72vw,740px)!important;
    max-width:100%!important;
    margin:0 auto!important;
    text-align:center!important;
  }
  #main > .mim-hero-stage .hero.mim-hero-overlay .hero-description {
    width:min(94%,640px)!important;
    max-width:640px!important;
    margin:16px auto 0!important;
    padding:0!important;
    text-align:center!important;
    justify-self:center!important;
    align-self:center!important;
  }
}


/* v4.56 — vertically center the entire Hero copy OVER the PHOTO FRAME,
   not merely within the viewport. Scale Solander artwork to stay inside
   the photo strip with equal breathing room above and below. Desktop only;
   phone layout <=800px is intentionally untouched. */
@media (min-width:801px) {
  #main > .mim-hero-stage > .hero.mim-hero-overlay .hero-copy {
    left:50%!important;
    right:auto!important;
    bottom:auto!important;
    top:calc(50% - 45px)!important;
    transform:translate(-50%,-50%)!important;
    box-sizing:border-box!important;
    width:min(94vw,940px)!important;
    max-width:calc(100% - 32px)!important;
    height:auto!important;
    margin:0!important;
    padding:8px 14px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    text-align:center!important;
    z-index:35!important;
  }
  #main > .mim-hero-stage .hero.mim-hero-overlay .hero-kicker {
    width:100%!important;
    max-width:100%!important;
    margin:0 auto 13px!important;
    padding:0!important;
    justify-content:center!important;
    text-align:center!important;
  }
  body.mim-use-vector #main > .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading {
    display:block!important;
    flex:none!important;
    box-sizing:border-box!important;
    width:min(56vw,610px,calc((100svh - var(--mim-fixed-header-height,74px) - 178px) * 1.54708))!important;
    max-width:100%!important;
    margin:0 auto!important;
    padding:0!important;
    align-self:center!important;
    text-align:center!important;
  }
  body.mim-use-vector #main > .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading .mim-vector-display,
  body.mim-use-vector #main > .mim-hero-stage .hero.mim-hero-overlay h1.mim-vector-heading .mim-vector-art {
    width:100%!important;
    margin-inline:auto!important;
    -webkit-mask-position:center!important;
    mask-position:center!important;
  }
  #main > .mim-hero-stage .hero.mim-hero-overlay h1:not(.mim-vector-heading) {
    width:min(74vw,740px)!important;
    max-width:100%!important;
    margin:0 auto!important;
    font-size:clamp(46px,7.5vw,116px)!important;
    line-height:.92!important;
    text-align:center!important;
    text-wrap:balance;
  }
  #main > .mim-hero-stage .hero.mim-hero-overlay .hero-description {
    display:block!important;
    width:min(94%,620px)!important;
    max-width:620px!important;
    margin:11px auto 0!important;
    padding:0!important;
    text-align:center!important;
    align-self:center!important;
    justify-self:center!important;
    line-height:1.5!important;
    text-wrap:pretty;
  }
  #main > .mim-hero-stage .hero.mim-hero-overlay .hero-description strong {
    display:block!important;
    margin:0 0 5px!important;
  }
  #main > .mim-hero-stage .hero.mim-hero-overlay .hero-description br {display:none!important;}
}
@media (min-width:1181px) {
  #main > .mim-hero-stage > .hero.mim-hero-overlay .hero-copy {
    top:calc(50% + 17px)!important;
  }
}
@media (min-width:801px) and (max-height:650px) {
  #main > .mim-hero-stage > .hero.mim-hero-overlay .hero-copy {padding-block:4px!important;}
  #main > .mim-hero-stage .hero.mim-hero-overlay .hero-kicker {margin-bottom:8px!important;}
  #main > .mim-hero-stage .hero.mim-hero-overlay .hero-description {margin-top:7px!important;font-size:11px!important;}
}


/* v4.58 — Apply the Visual Archive's selected-category frosted pill
   consistently to actual buttons/links site-wide, including About.
   Keep photo/video tiles as media surfaces and retain the circular contact CTA. */
:root{
  --mim-pill-border:rgba(228,220,208,.32);
  --mim-pill-border-active:rgba(228,220,208,.55);
  --mim-pill-bg:rgba(228,220,208,.045);
  --mim-pill-bg-active:rgba(228,220,208,.13);
}
/* Default pill treatment: shape and sizing stay appropriate to each control. */
.page-shell > .site-header .nav-link,
.page-shell > .site-header .menu-toggle,
.page-shell .mim-language-picker a,
.page-shell .footer-social a,
.page-shell .text-link,
.page-shell .gallery-more,
.page-shell .mim-studio-collab-link,
.page-shell .about-page-cta>a,
.page-shell .scroll-cue {
  border:1px solid transparent;
  border-radius:999px;
  background-color:transparent;
  color:var(--paper,#E4DCD0);
  transition:background-color .22s ease,border-color .22s ease,color .22s ease,box-shadow .22s ease;
}
/* Navigation pills must fit within the original header width. */
.page-shell > .site-header .nav-link{
  padding-inline:clamp(5px,.45vw,8px);
  justify-content:center;
  text-shadow:none;
}
.page-shell > .site-header .menu-toggle{padding:8px 12px;}
.page-shell .mim-language-picker a{border-radius:999px;}
.page-shell .footer-social a{padding:6px 10px;border-bottom:1px solid transparent;}
.page-shell .text-link{padding:9px 13px;gap:12px;border-bottom:1px solid transparent;}
.page-shell .gallery-more{border-color:var(--mim-pill-border);background:var(--mim-pill-bg);}
.page-shell .mim-studio-collab-link{border-color:var(--mim-pill-border);background:var(--mim-pill-bg);}
.page-shell .about-page-cta>a{border-color:var(--mim-pill-border);background:var(--mim-pill-bg);}
.page-shell .scroll-cue{padding:7px 10px;}
/* Same Visual Archive selection fill on all button-like links. */
.page-shell > .site-header .nav-link:is(:hover,:focus-visible,[aria-current="page"]),
.page-shell > .site-header .menu-toggle:is(:hover,:focus-visible,[aria-expanded="true"]),
.page-shell .mim-language-picker a:is(:hover,:focus-visible,[aria-current="true"]),
.page-shell .footer-social a:is(:hover,:focus-visible),
.page-shell .text-link:is(:hover,:focus-visible),
.page-shell .gallery-more:is(:hover,:focus-visible),
.page-shell .mim-studio-collab-link:is(:hover,:focus-visible),
.page-shell .about-page-cta>a:is(:hover,:focus-visible),
.page-shell .scroll-cue:is(:hover,:focus-visible),
.page-shell .filter-btn:is(:hover,:focus-visible,[aria-pressed="true"]) {
  color:var(--paper,#E4DCD0);
  background-color:var(--mim-pill-bg-active);
  border-color:var(--mim-pill-border-active);
  box-shadow:inset 0 1px 0 rgba(228,220,208,.045);
  text-shadow:none;
}
.page-shell .text-link:hover{gap:12px;}
/* Large interactive contact cards use the same glass colors, not a stretched pill. */
#main > .contact .contact-method:is(:hover,:focus-visible),
.page-shell .mim-ig-expand:is(:hover,:focus-visible){
  color:var(--paper,#E4DCD0);
  background:var(--mim-pill-bg-active);
  border-color:var(--mim-pill-border-active);
  box-shadow:inset 0 1px 0 rgba(228,220,208,.045);
}
/* Preserve the original circular shape of Let's Talk, but match pill feedback. */
#main > .contact .contact-cta:is(:hover,:focus-visible){
  color:var(--paper,#E4DCD0);
  background:var(--mim-pill-bg-active);
  border-color:var(--mim-pill-border-active);
  box-shadow:inset 0 1px 0 rgba(228,220,208,.045);
  transform:none;
}
/* Close / back-to-top: same subtle selected effect on icon-only controls. */
.page-shell :is(.modal-close,.reel-close,.mim-instagram-close,.mim-youtube-close):is(:hover,:focus-visible),
.mim-back-to-top:is(:hover,:focus-visible){
  color:var(--paper,#E4DCD0);
  background:var(--mim-pill-bg-active);
  border-color:var(--mim-pill-border-active);
}
/* Touch presses and keyboard affordances. No perpetual hover animation. */
.page-shell :is(.filter-btn,.nav-link,.menu-toggle,.text-link,.gallery-more,.mim-studio-collab-link,.contact-cta,.contact-method):active,
.page-shell .mim-language-picker a:active,
.page-shell .about-page-cta>a:active,
.page-shell .footer-social a:active{
  background-color:var(--mim-pill-bg-active);
  border-color:var(--mim-pill-border-active);
}
@media(prefers-reduced-motion:reduce){
  .page-shell :is(.nav-link,.menu-toggle,.text-link,.gallery-more,.mim-studio-collab-link,.contact-cta,.contact-method),
  .page-shell .about-page-cta>a,
  .page-shell .mim-language-picker a,
  .page-shell .footer-social a{transition:none!important;}
}


/* v4.59 — French/localized headlines: override the zero-font-size used for the English SVG art. */
html[lang^="fr"] body.mim-use-vector .mim-vector-heading.mim-localized-heading{
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-size:clamp(43px,6vw,100px)!important;
  font-weight:500!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
  text-transform:none!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  text-align:center;
  text-wrap:balance;
}
html[lang^="fr"] body.mim-use-vector .mim-vector-heading.mim-localized-heading .mim-vector-display{display:none!important}
html[lang^="fr"] body.mim-use-vector .mim-vector-heading.mim-localized-heading .mim-vector-fallback{
  display:block!important;
  position:static!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  height:auto!important;
  font-family:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  text-align:inherit!important;
  text-transform:none!important;
  overflow-wrap:break-word;
}
/* About page has four different editorial title scales. */
html[lang^="fr"] body.mim-use-vector .about-page .about-page-hero h1.mim-vector-heading.mim-localized-heading{
  font-size:clamp(65px,9vw,150px)!important;
  width:min(100%,1100px)!important;
  margin-inline:auto;
}
html[lang^="fr"] body.mim-use-vector .about-page .about-biography h2.mim-vector-heading.mim-localized-heading{
  font-size:clamp(42px,5.7vw,96px)!important;
}
html[lang^="fr"] body.mim-use-vector .about-page .about-details h2.mim-vector-heading.mim-localized-heading{
  font-size:clamp(43px,5.3vw,90px)!important;
}
html[lang^="fr"] body.mim-use-vector .about-page .about-page-cta h2.mim-vector-heading.mim-localized-heading{
  font-size:clamp(48px,6vw,108px)!important;
}
@media(max-width:700px){
  html[lang^="fr"] body.mim-use-vector .mim-vector-heading.mim-localized-heading{
    font-size:clamp(33px,8vw,58px)!important;
  }
  html[lang^="fr"] body.mim-use-vector .about-page .about-page-hero h1.mim-vector-heading.mim-localized-heading{
    font-size:clamp(48px,11vw,79px)!important;
  }
  html[lang^="fr"] body.mim-use-vector .about-page .about-biography h2.mim-vector-heading.mim-localized-heading,
  html[lang^="fr"] body.mim-use-vector .about-page .about-details h2.mim-vector-heading.mim-localized-heading,
  html[lang^="fr"] body.mim-use-vector .about-page .about-page-cta h2.mim-vector-heading.mim-localized-heading{
    font-size:clamp(34px,8.5vw,58px)!important;
  }
}

/* v4.61 — restore authentic Solander on French pages.
   Fixed English headlines are outlines, not a bundled font; without the
   owner's font upload show the same authentic artwork rather than switching
   to the unrelated Cormorant font. Never duplicate a visible fallback title. */
html[lang^="fr"] body.mim-use-vector.mim-solander-outline-only .mim-vector-heading:not(.mim-localized-heading) .mim-vector-fallback{
  display:none!important;
}
html[lang^="fr"] body.mim-use-vector.mim-solander-outline-only .mim-vector-heading:not(.mim-localized-heading) .mim-vector-display{
  display:block!important;
}
/* The Made in Medina wordmark remains visually unchanged in all languages. */
html[lang^="fr"] body.mim-use-vector .mim-hero-stage #hero-title.mim-vector-heading .mim-vector-fallback{
  display:none!important;
}
html[lang^="fr"] body.mim-use-vector .mim-hero-stage #hero-title.mim-vector-heading .mim-vector-display{
  display:block!important;
}
/* If the owner uploads the licensed font, render translated French headings
   with that same family, rather than the unrelated fallback chosen in v4.59. */
html[lang^="fr"] body.mim-use-vector.mim-solander-font-ready .mim-vector-heading.mim-localized-heading{
  font-family:"MIM Solander",serif!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
html[lang^="fr"] body.mim-use-vector.mim-solander-font-ready .mim-vector-heading.mim-localized-heading .mim-vector-fallback{
  font-family:"MIM Solander",serif!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
/* Featured Studio heading has a separate Solander SVG outside the generic
   vector heading system; match its English treatment on French as well. */
html[lang^="fr"] body.mim-use-vector.mim-solander-outline-only .mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default{
  position:relative;
  font-size:0!important;
  line-height:1!important;
  width:min(100%,780px)!important;
  margin-inline:auto;
}
html[lang^="fr"] body.mim-use-vector.mim-solander-outline-only .mim-studio-statement.mim-studio-solander-default .mim-studio-statement-art{
  display:block!important;
  width:100%!important;
  aspect-ratio:3316 / 2395;
  background:var(--paper,#E4DCD0);
  -webkit-mask:url('assets/solander-titles/studio-content-connects-two-lines-v435.svg') center / contain no-repeat;
  mask:url('assets/solander-titles/studio-content-connects-two-lines-v435.svg') center / contain no-repeat;
}
html[lang^="fr"] body.mim-use-vector.mim-solander-outline-only .mim-studio-statement.mim-studio-solander-default .mim-studio-statement-text{
  position:absolute!important;
  width:1px!important;height:1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
}
html[lang^="fr"] body.mim-use-vector.mim-solander-font-ready .mim-studio-collaboration .mim-studio-statement.mim-studio-solander-default{
  font-family:"MIM Solander",serif!important;
}


/* v4.65 — RTL headline overlap fix.
   Older high-specificity desktop rules were displaying the original SVG even
   after Arabic/Darija had activated the native translated fallback. The hero
   brand is a single Solander wordmark in every language. Other large headings
   use ONLY their localized fallback, never an SVG layered behind the text. */
html[dir="rtl"] body.mim-use-vector #main > .mim-hero-stage .hero.mim-hero-overlay
  #hero-title.mim-vector-heading .mim-vector-fallback {
  display:none!important;
  visibility:hidden!important;
}
html[dir="rtl"] body.mim-use-vector #main > .mim-hero-stage .hero.mim-hero-overlay
  #hero-title.mim-vector-heading .mim-vector-display {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}
html[dir="rtl"] body.mim-use-vector .mim-vector-heading.mim-localized-heading:not(#hero-title)
  .mim-vector-display {
  display:none!important;
  visibility:hidden!important;
}
html[dir="rtl"] body.mim-use-vector .mim-vector-heading.mim-localized-heading:not(#hero-title)
  .mim-vector-fallback {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  height:auto!important;
  position:relative!important;
}
/* Keep Arabic section headings readable and contained; don't let them inherit
   the oversize desktop Solander-art dimensions or 0px fallback typography. */
html[dir="rtl"] body.mim-use-vector .mim-vector-heading.mim-localized-heading:not(#hero-title){
  font-family:"Noto Kufi Arabic","Marhey",Tahoma,sans-serif!important;
  font-size:clamp(30px,4.3vw,72px)!important;
  line-height:1.36!important;
  max-width:100%!important;
  height:auto!important;
  text-align:center!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
@media(max-width:700px){
  html[dir="rtl"] body.mim-use-vector .mim-vector-heading.mim-localized-heading:not(#hero-title){
    font-size:clamp(27px,7.5vw,46px)!important;
    line-height:1.38!important;
    padding-inline:6px!important;
  }
}


/* v4.70 — Mac / desktop navigation collision fix.
   At full-menu widths the long navigation and centered welcome label must NOT
   share the same grid row. Preserve the logo and full menu in the upper row;
   give the welcome caption its own centered, unobstructed second row.
   Between 1024–1499px, v4.36 still collapses navigation into Menu.
   Phone/tablet <=800px keeps the v4.53 compact header unchanged. */
@media (min-width:1500px){
  :root { --mim-fixed-header-height: 96px; }
  .page-shell > .site-header{
    height:var(--mim-fixed-header-height)!important;
    min-height:var(--mim-fixed-header-height)!important;
    display:grid!important;
    grid-template-columns:minmax(90px,1fr) max-content!important;
    grid-template-rows:62px 33px!important;
    column-gap:clamp(18px,2.5vw,48px)!important;
    row-gap:0!important;
    align-items:center!important;
    align-content:center!important;
  }
  .page-shell > .site-header > .brand{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    align-self:center!important;
  }
  .page-shell > .site-header > .header-right{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
    position:relative!important;
    z-index:1;
    min-width:0!important;
    margin:0!important;
    white-space:nowrap!important;
  }
  .page-shell > .site-header > .header-location.micro{
    grid-column:1 / -1!important;
    grid-row:2!important;
    position:static!important;
    justify-self:center!important;
    align-self:center!important;
    width:auto!important;
    max-width:calc(100% - 24px)!important;
    margin:0!important;
    padding:0 10px!important;
    text-align:center!important;
    white-space:nowrap!important;
    line-height:1.35!important;
    z-index:auto!important;
  }
  .page-shell > .site-header .mim-zh-header-logo{
    height:55px!important;
    max-height:56px!important;
  }
}
/* Extra-safe spacing for compact desktop / large Mac browser text scaling. */
@media (min-width:1500px) and (max-width:1699px){
  .page-shell > .site-header .header-right{gap:9px!important;}
  .page-shell > .site-header .header-right nav{gap:8px!important;}
  .page-shell > .site-header .nav-link{padding-inline:5px!important;}
}


/* v4.71 — remove the WELCOME STUDIO caption permanently and reclaim
   its desktop row. Give logo and navigation separate non-overlapping tracks.
   Do not change the mobile layout or site/SEO content. */
@media (min-width:801px){
  :root { --mim-fixed-header-height: 74px; }
  .page-shell > .site-header {
    height:var(--mim-fixed-header-height)!important;
    min-height:var(--mim-fixed-header-height)!important;
    display:grid!important;
    grid-template-columns:minmax(90px,1fr) max-content!important;
    grid-template-rows:minmax(0,1fr)!important;
    column-gap:clamp(14px,2vw,36px)!important;
    align-items:center!important;
    align-content:center!important;
  }
  .page-shell > .site-header > .brand {
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    align-self:center!important;
  }
  .page-shell > .site-header > .header-right {
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
    min-width:0!important;
    margin:0!important;
    white-space:nowrap!important;
  }
}


/* v4.72 — consistent, accessible section numbering across Home and About.
   Fixed-width digits, fixed slash, flexible translated label. */
.mim-index-section,
.section-index.mim-index-section,
.about-detail-num.mim-index-section {
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap;
  align-items:baseline;
  justify-content:center;
  gap:clamp(8px,1.1vw,16px);
  direction:ltr !important;
  max-width:100%;
  width:100%;
  text-align:center;
  box-sizing:border-box;
  line-height:1.5;
}
.mim-index-section .mim-index-number{
  flex:0 0 2.4ch;
  min-width:2.4ch;
  text-align:end;
  direction:ltr;
  font-variant-numeric:tabular-nums lining-nums;
  font-feature-settings:'tnum' 1;
  white-space:nowrap;
}
.mim-index-section .mim-index-separator{
  flex:0 0 1ch;
  text-align:center;
  opacity:.75;
  direction:ltr;
}
.mim-index-section .mim-index-label{
  flex:0 1 auto;
  min-width:0;
  text-align:start;
  line-height:1.5;
  overflow-wrap:break-word;
}
/* Preserve the right/left header rhythm in contact, while centering the
   group in feature section headings. */
#main .contact-topline .mim-index-section{
  flex:0 1 auto;
  width:auto !important;
  justify-content:flex-start;
}
#main .contact-topline .mim-index-label{white-space:normal}
.about-page .about-page-hero-bottom .mim-index-section{
  width:auto;
  justify-content:center;
}
.about-page .about-detail-num.mim-index-section{
  justify-content:flex-start;
  text-align:start;
}
@media(max-width:600px){
  .mim-index-section,
  .section-index.mim-index-section,
  .about-detail-num.mim-index-section {gap:8px;font-size:10px;}
  .mim-index-section .mim-index-label{overflow-wrap:anywhere;}
}


/* v4.73 — Footer: use the existing ZH brand logo, not a text wordmark. */
.site-footer .mim-footer-logo-link{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  align-items:center;
  justify-content:flex-start;
  align-self:center;
  line-height:0;
  padding:0;
  border:0;
}
.site-footer .mim-footer-logo{
  display:block;
  width:auto;
  height:74px;
  max-width:78px;
  object-fit:contain;
  margin:0;
  filter:none;
}
/* Keep the footer's visual layout consistent in both Arabic (RTL) and English. */
html[dir="rtl"] .site-footer{
  direction:ltr;
}
.site-footer .footer-center{
  direction:ltr;
  unicode-bidi:isolate;
}
@media (max-width:600px){
  .site-footer{
    padding-bottom:calc(94px + env(safe-area-inset-bottom, 0px));
    row-gap:14px;
  }
  .site-footer .mim-footer-logo{height:76px;max-width:80px;}
  .site-footer .footer-center{
    grid-column:1 / -1;
    grid-row:2;
    justify-self:start;
    text-align:left;
    max-width:100%;
    line-height:1.65;
    overflow-wrap:break-word;
  }
  .site-footer .footer-social{
    grid-column:1 / -1;
    grid-row:3;
    justify-content:flex-start;
  }
}

/* v4.73 — Same physical bottom-right corner in LTR and RTL, no movement
   when the footer intersects the viewport. Always accessible while scrolling. */
html body .mim-back-to-top,
html body .mim-back-to-top.mim-near-footer,
html[dir="rtl"] body .mim-back-to-top{
  position:fixed !important;
  inset:auto 16px calc(18px + env(safe-area-inset-bottom, 0px)) auto !important;
  inset-inline-start:auto !important;
  inset-inline-end:auto !important;
  left:auto !important;
  right:clamp(14px,2.2vw,28px) !important;
  bottom:calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:none !important;
  direction:ltr;
  z-index:110;
}
@media(max-width:600px){
  html body .mim-back-to-top,
  html body .mim-back-to-top.mim-near-footer,
  html[dir="rtl"] body .mim-back-to-top{
    width:52px;
    height:52px;
    right:16px !important;
    bottom:calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }
}


/* v4.76 — real responsive layout for Before/After + AI Creative Lab.
   No duplicated readable headings; gallery fills available width even at
   wide browser viewports or unusual zoom levels. */
#main > .mim-v474-section{
  padding:clamp(42px,5vw,86px) clamp(16px,3.4vw,72px)!important;
  min-height:0!important;
}
#main > .mim-v474-section .mim-v474-heading{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:clamp(12px,1.7vw,24px)!important;
  width:100%!important;
  max-width:none!important;
  margin:0 auto clamp(28px,3vw,52px)!important;
  padding:0!important;
  text-align:center!important;
}
#main > .mim-v474-section .mim-v474-heading > .section-index{
  width:auto!important;
  min-height:0!important;
  margin:0!important;
}
#main > .mim-v474-section .mim-v474-heading h2.mim-v476-title{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  font-size:0!important;
  line-height:0!important;
  letter-spacing:normal!important;
}
#main > .mim-v474-section .mim-v474-heading .mim-v475-solander-art{
  display:block!important;
  width:min(66vw,100%)!important;
  max-width:none!important;
  max-height:none!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:contain!important;
}
#main > .mim-v474-section .mim-v474-heading .mim-v475-localized-title{
  display:block!important;
  width:auto!important;
  font-size:clamp(32px,5.4vw,78px)!important;
  line-height:1.35!important;
  letter-spacing:normal!important;
}
#main > .mim-v474-section .mim-v474-heading > p{
  max-width:780px!important;
  margin:0 auto!important;
  font-size:clamp(13px,1.15vw,17px)!important;
  line-height:1.6!important;
}
#main > .mim-v474-section .mim-v474-compare-grid,
#main > .mim-v474-section .mim-v474-ai-grid,
#main > .mim-v474-section .mim-v474-ai-capabilities{
  width:100%!important;
  max-width:none!important;
  margin-inline:auto!important;
}
#main > .mim-v474-section .mim-v474-compare-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(16px,2.4vw,36px)!important;
}
#main > .mim-v474-section .mim-v474-compare-grid.mim-v476-single{
  grid-template-columns:minmax(0,1fr)!important;
}
#main > .mim-v474-section .mim-v474-compare-card{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}
#main > .mim-v474-section .mim-v474-compare-stage{
  width:100%!important;
  height:auto!important;
  aspect-ratio:16 / 9!important;
  max-height:none!important;
}
#main > .mim-v474-section .mim-v474-ai-capabilities{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
#main > .mim-v474-section .mim-v474-capability{min-height:210px!important;}
@media(max-width:820px){
  #main > .mim-v474-section{padding:clamp(38px,7vw,62px) 18px!important;}
  #main > .mim-v474-section .mim-v474-compare-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  #main > .mim-v474-section .mim-v474-heading .mim-v475-solander-art{
    width:93%!important;
  }
  #main > .mim-v474-section .mim-v474-ai-capabilities{
    grid-template-columns:minmax(0,1fr)!important;
  }
  #main > .mim-v474-section .mim-v474-capability{min-height:145px!important;}
}


/* v4.77 — Make new showcase sections match the Photography category grid.
   Four equally-sized 4:5 cards on desktop, compact original Solander titles,
   smaller gaps, no fullscreen Before / After, and no changes to other sections. */
#main > .mim-v474-section{
  --mim-compact-gap:clamp(10px,1.05vw,16px);
  padding:clamp(30px,3.5vw,58px) clamp(16px,3.4vw,72px)!important;
  min-height:0!important;
}
#main > .mim-v474-section .mim-v474-heading{
  gap:clamp(8px,.9vw,12px)!important;
  margin:0 auto clamp(22px,2.2vw,32px)!important;
  max-width:100%!important;
}
#main > .mim-v474-section .mim-v474-heading .mim-v475-solander-art{
  width:min(45vw,500px)!important;
  max-height:116px!important;
  object-fit:contain!important;
}
#main > .mim-v474-section .mim-v474-heading .mim-v475-localized-title{
  font-size:clamp(28px,3.3vw,48px)!important;
  line-height:1.4!important;
}
#main > .mim-v474-section .mim-v474-heading > p{
  max-width:560px!important;
  font-size:clamp(11px,.9vw,13px)!important;
  line-height:1.55!important;
}
#main > .mim-v474-section .mim-v474-compare-grid,
#main > .mim-v474-section .mim-v474-compare-grid.mim-v476-single,
#main > .mim-v474-section .mim-v474-ai-grid,
#main > .mim-v474-section .mim-v474-ai-capabilities{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:var(--mim-compact-gap)!important;
  width:min(100%,1380px)!important;
  max-width:1380px!important;
  margin-inline:auto!important;
}
#main > .mim-v474-section .mim-v474-compare-grid > .mim-v474-compare-card,
#main > .mim-v474-section .mim-v474-ai-grid > .mim-v474-ai-card,
#main > .mim-v474-section .mim-v474-ai-capabilities > .mim-v474-capability{
  flex:0 0 calc((100% - 3 * var(--mim-compact-gap))/4)!important;
  width:calc((100% - 3 * var(--mim-compact-gap))/4)!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}
#main > .mim-v474-section .mim-v474-compare-card,
#main > .mim-v474-section .mim-v474-ai-card{
  padding:clamp(6px,.7vw,10px)!important;
}
#main > .mim-v474-section .mim-v474-compare-stage,
#main > .mim-v474-section .mim-v474-ai-media{
  width:100%!important;
  aspect-ratio:4 / 5!important;
  height:auto!important;
  max-height:none!important;
}
#main > .mim-v474-section .mim-v474-card-caption,
#main > .mim-v474-section .mim-v474-ai-info{
  padding:10px 3px 7px!important;
}
#main > .mim-v474-section .mim-v474-card-caption h3,
#main > .mim-v474-section .mim-v474-ai-info h3{
  font-size:clamp(12px,1.2vw,16px)!important;
  line-height:1.4!important;
}
#main > .mim-v474-section .mim-v474-capability{
  min-height:180px!important;
  padding:16px!important;
  gap:12px!important;
  border:1px solid rgba(228,220,208,.17)!important;
}
#main > .mim-v474-section .mim-v474-capability-glyph{font-size:33px!important;}
#main > .mim-v474-section .mim-v474-capability h3{font-size:clamp(14px,1.2vw,17px)!important;}
#main > .mim-v474-section .mim-v474-image-tag{
  top:8px!important;padding:5px 9px!important;font-size:10px!important;
}
#main > .mim-v474-section .mim-v474-tag-before{right:8px!important;}
#main > .mim-v474-section .mim-v474-tag-after{left:8px!important;}
#main > .mim-v474-section .mim-v474-handle{
  width:40px!important;height:40px!important;flex-basis:40px!important;font-size:21px!important;
}
/* Remove inherited full-width tinted background; only the compact tiles are framed. */
#main > .mim-v474-section .mim-v474-ai-capabilities{
  background:none!important;
  border:0!important;
}
@media(max-width:1100px){
  #main > .mim-v474-section .mim-v474-compare-grid > .mim-v474-compare-card,
  #main > .mim-v474-section .mim-v474-ai-grid > .mim-v474-ai-card,
  #main > .mim-v474-section .mim-v474-ai-capabilities > .mim-v474-capability{
    flex-basis:calc((100% - 2 * var(--mim-compact-gap))/3)!important;
    width:calc((100% - 2 * var(--mim-compact-gap))/3)!important;
  }
  #main > .mim-v474-section .mim-v474-heading .mim-v475-solander-art{
    width:min(58vw,470px)!important;
  }
}
@media(max-width:700px){
  #main > .mim-v474-section{
    padding:clamp(28px,6vw,45px) 14px!important;
  }
  #main > .mim-v474-section .mim-v474-heading{
    margin-bottom:22px!important;
  }
  #main > .mim-v474-section .mim-v474-heading .mim-v475-solander-art{
    width:min(80vw,380px)!important;
    max-height:90px!important;
  }
  
#main > .mim-v474-section .mim-v474-compare-grid > .mim-v474-compare-card,
  #main > .mim-v474-section .mim-v474-ai-grid > .mim-v474-ai-card,
  #main > .mim-v474-section .mim-v474-ai-capabilities > .mim-v474-capability{
    flex-basis:calc((100% - var(--mim-compact-gap))/2)!important;
    width:calc((100% - var(--mim-compact-gap))/2)!important;
  }
  /* One comparison needs a larger touch target even when photo gallery uses two columns. */
  #main > .mim-v474-section .mim-v474-compare-grid.mim-v476-single > .mim-v474-compare-card{
    flex-basis:min(100%,430px)!important;
    width:min(100%,430px)!important;
  }
  #main > .mim-v474-section .mim-v474-capability{
    min-height:125px!important;padding:12px 8px!important;gap:9px!important;
  }
  #main > .mim-v474-section .mim-v474-capability-glyph{font-size:26px!important;}
  #main > .mim-v474-section .mim-v474-card-caption h3,
  #main > .mim-v474-section .mim-v474-ai-info h3{font-size:13px!important;}
}


/* v4.78 — Before/After uses landscape 16:9, NEVER the portrait 4:5 crop.
   Two Photography-card widths make one landscape comparison card, keeping
   its visual height consistent with the existing portrait photo cards.
   Other Photography, Reels and AI sections are intentionally untouched. */
#main > .mim-v474-comparisons .mim-v474-compare-grid,
#main > .mim-v474-comparisons .mim-v474-compare-grid.mim-v476-single{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:var(--mim-compact-gap,16px)!important;
  width:min(100%,1380px)!important;
  max-width:1380px!important;
  margin-inline:auto!important;
}
#main > .mim-v474-comparisons .mim-v474-compare-grid > .mim-v474-compare-card,
#main > .mim-v474-comparisons .mim-v474-compare-grid.mim-v476-single > .mim-v474-compare-card{
  flex:0 0 calc((100% - var(--mim-compact-gap,16px))/2)!important;
  width:calc((100% - var(--mim-compact-gap,16px))/2)!important;
  min-width:0!important;
  max-width:none!important;
}
#main > .mim-v474-comparisons .mim-v474-compare-stage{
  aspect-ratio:16 / 9!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  overflow:hidden!important;
}
#main > .mim-v474-comparisons .mim-v474-compare-stage > img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
@media(max-width:700px){
  #main > .mim-v474-comparisons .mim-v474-compare-grid > .mim-v474-compare-card,
  #main > .mim-v474-comparisons .mim-v474-compare-grid.mim-v476-single > .mim-v474-compare-card{
    flex-basis:100%!important;
    width:100%!important;
  }
}


/* v4.79 — One visual system: Before / After and AI Lab align precisely with
   the site's Photography / Filmmaking service banners (1160px content width).
   Keep the requested 16:9 comparison and original Solander SVG headings.
   Existing portfolio, reels, services, header, languages and SEO are untouched. */
#main > .mim-v474-section{
  --mim-service-width:1160px;
  padding:clamp(34px,4vw,66px) var(--gutter)!important;
}
#main > .mim-v474-section .mim-v474-heading{
  width:min(100%,var(--mim-service-width))!important;
  max-width:var(--mim-service-width)!important;
  margin:0 auto clamp(24px,2.8vw,42px)!important;
}
/* Every comparison gets the same centered banner width as a service row. */
#main > .mim-v474-comparisons .mim-v474-compare-grid,
#main > .mim-v474-comparisons .mim-v474-compare-grid.mim-v476-single{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:min(100%,var(--mim-service-width))!important;
  max-width:var(--mim-service-width)!important;
  gap:clamp(18px,2vw,26px)!important;
  margin:0 auto!important;
}
#main > .mim-v474-comparisons .mim-v474-compare-grid > .mim-v474-compare-card,
#main > .mim-v474-comparisons .mim-v474-compare-grid.mim-v476-single > .mim-v474-compare-card{
  display:block!important;
  flex:none!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  padding:clamp(10px,1.3vw,18px)!important;
  border:1px solid rgba(228,220,208,.32)!important;
  border-radius:10px!important;
  background:linear-gradient(165deg,rgba(130,56,67,.17),rgba(30,3,11,.48))!important;
}
#main > .mim-v474-comparisons .mim-v474-compare-stage{
  width:100%!important;
  aspect-ratio:16 / 9!important;
  height:auto!important;
  max-height:none!important;
}
/* AI projects become horizontal editorial banners, not tiny photo tiles. */
#main > .mim-v474-ai-lab .mim-v474-ai-grid,
#main > .mim-v474-ai-lab .mim-v474-ai-capabilities{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:clamp(10px,1vw,14px)!important;
  width:min(100%,var(--mim-service-width))!important;
  max-width:var(--mim-service-width)!important;
  margin:0 auto!important;
  border:0!important;
  background:none!important;
}
#main > .mim-v474-ai-lab .mim-v474-ai-capabilities > .mim-v474-capability{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) 48px!important;
  align-items:center!important;
  justify-content:initial!important;
  gap:clamp(10px,2.2vw,32px)!important;
  min-height:clamp(112px,10vw,164px)!important;
  width:100%!important;
  max-width:100%!important;
  flex:none!important;
  padding:22px clamp(10px,3vw,40px)!important;
  border:1px solid rgba(228,220,208,.25)!important;
  border-radius:8px!important;
  background:linear-gradient(160deg,rgba(228,220,208,.055),rgba(57,1,8,.16))!important;
}
#main > .mim-v474-ai-lab .mim-v474-capability-glyph{
  grid-column:1!important;
  font-size:clamp(23px,2vw,32px)!important;
  justify-self:center!important;
  color:#BE7B7C!important;
}
#main > .mim-v474-ai-lab .mim-v474-capability h3{
  grid-column:2!important;
  text-align:center!important;
  font-size:clamp(29px,3.1vw,48px)!important;
  font-weight:400!important;
  line-height:1.15!important;
  min-width:0!important;
  overflow-wrap:break-word!important;
  text-wrap:balance!important;
}
#main > .mim-v474-ai-lab .mim-v474-capability::after{
  content:"";
  display:block;
  grid-column:3;
  width:48px;
}
#main > .mim-v474-ai-lab .mim-v474-ai-grid > .mim-v474-ai-card{
  display:grid!important;
  grid-template-columns:minmax(0,34%) minmax(0,1fr)!important;
  align-items:center!important;
  gap:clamp(16px,3vw,40px)!important;
  width:100%!important;
  flex:none!important;
  max-width:100%!important;
  min-width:0!important;
  padding:clamp(12px,1.7vw,22px)!important;
  border-radius:8px!important;
}
#main > .mim-v474-ai-lab .mim-v474-ai-media{
  width:100%!important;
  height:auto!important;
  aspect-ratio:16 / 9!important;
}
#main > .mim-v474-ai-lab .mim-v474-ai-info{
  min-width:0!important;
  padding:14px!important;
  text-align:center!important;
}
#main > .mim-v474-ai-lab .mim-v474-ai-info h3{
  font-size:clamp(25px,2.5vw,38px)!important;
  line-height:1.2!important;
}
@media(max-width:700px){
  #main > .mim-v474-section{padding:34px var(--gutter) 44px!important;}
  #main > .mim-v474-section .mim-v474-heading{margin-bottom:22px!important;}
  #main > .mim-v474-comparisons .mim-v474-compare-grid > .mim-v474-compare-card{
    padding:7px!important;
  }
  #main > .mim-v474-ai-lab .mim-v474-ai-capabilities > .mim-v474-capability{
    grid-template-columns:32px minmax(0,1fr) 32px!important;
    gap:8px!important;
    min-height:108px!important;
    padding:14px 12px!important;
  }
  #main > .mim-v474-ai-lab .mim-v474-capability h3{
    font-size:clamp(21px,5.8vw,30px)!important;
  }
  #main > .mim-v474-ai-lab .mim-v474-capability-glyph{font-size:23px!important;}
  #main > .mim-v474-ai-lab .mim-v474-capability::after{width:32px;}
  #main > .mim-v474-ai-lab .mim-v474-ai-grid > .mim-v474-ai-card{
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
  }
  #main > .mim-v474-ai-lab .mim-v474-ai-info h3{font-size:23px!important;}
}


/* v4.86 — Mobile-only: slightly smaller BEFORE / AFTER labels.
   Desktop / Mac sizes remain unchanged. */
@media screen and (max-width: 700px) {
  #main > .mim-v474-section .mim-v474-image-tag {
    font-size: 9px !important;
    padding: 4px 7px !important;
    line-height: 1.3 !important;
    letter-spacing: .08em !important;
  }
  #main > .mim-v474-section .mim-v474-tag-before { right: 8px !important; }
  #main > .mim-v474-section .mim-v474-tag-after { left: 8px !important; }
}


/* v4.89 — Square Clients Logos, exact 1:1 cards and customizable logo zoom.
   WordPress → Appearance → Customize → Made in Medina — 12 Clients Logos. */
#clients .mim-custom-clients-grid {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:start;
  gap:clamp(10px,1.6vw,20px);
  background:none;
  border:0;
}
#clients .mim-client-logo-tile {
  position:relative;
  flex:0 0 var(--mim-logo-card-desktop,235px);
  width:var(--mim-logo-card-desktop,235px);
  max-width:100%;
  aspect-ratio:1 / 1;
  height:auto;
  min-height:0;
  box-sizing:border-box;
  padding:var(--mim-logo-padding,17px);
  gap:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:var(--mim-logo-radius,16px);
  background:linear-gradient(145deg,rgba(228,220,208,.075),rgba(57,1,8,.19));
  border:1px solid rgba(228,220,208,.23);
  transition:border-color .25s ease,background .25s ease;
}
#clients .mim-client-logo-tile:is(:hover,:focus-within) {
  border-color:rgba(228,220,208,.46);
  background:linear-gradient(145deg,rgba(228,220,208,.09),rgba(57,1,8,.22));
}
#clients .mim-client-logo-link,
#clients .mim-client-logo-static {
  width:100%;
  height:100%;
  min-height:0;
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  text-decoration:none;
}
#clients .mim-client-logo-tile img {
  display:block;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center;
  opacity:1;
  filter:none;
  transform:scale(var(--mim-client-zoom-d,var(--mim-logo-zoom-desktop,1.35)))!important;
  transform-origin:center;
  transition:transform .25s ease,opacity .25s ease;
}
#clients .mim-client-logo-tile:is(:hover,:focus-within) img {
  transform:scale(var(--mim-client-zoom-d,var(--mim-logo-zoom-desktop,1.35)))!important;
  filter:none;
  opacity:1;
}
#clients .mim-client-logo-tile .mim-client-logo-name {
  position:absolute;
  left:10px;right:10px;bottom:8px;
  z-index:1;
  min-height:0;
  max-width:calc(100% - 20px);
  text-align:center;
  font-size:9px;
  line-height:1.35;
  color:rgba(228,220,208,.78);
  pointer-events:none;
  text-shadow:0 1px 3px rgba(20,0,3,.8);
}
#clients .mim-clients-viewport .mim-clients-track {
  align-items:stretch;
}
#clients .mim-clients-group {
  align-items:stretch;
  gap:clamp(10px,1.5vw,18px);
  padding-right:clamp(10px,1.5vw,18px);
}
@media (max-width:900px) {
  #clients .mim-client-logo-tile {
    flex-basis:var(--mim-logo-card-tablet,195px);
    width:var(--mim-logo-card-tablet,195px);
  }
  #clients .mim-client-logo-tile img,
  #clients .mim-client-logo-tile:is(:hover,:focus-within) img {
    max-height:100%!important;
    transform:scale(var(--mim-client-zoom-t,var(--mim-logo-zoom-tablet,1.25)))!important;
  }
}
@media (max-width:600px) {
  #clients .mim-custom-clients-grid {gap:10px;}
  #clients .mim-client-logo-tile {
    flex-basis:min(var(--mim-logo-card-mobile,160px),calc((100vw - 56px)/2));
    width:min(var(--mim-logo-card-mobile,160px),calc((100vw - 56px)/2));
    min-height:0;
    padding:min(var(--mim-logo-padding,17px),12px);
  }
  #clients .mim-client-logo-tile img,
  #clients .mim-client-logo-tile:is(:hover,:focus-within) img {
    max-height:100%!important;
    transform:scale(var(--mim-client-zoom-m,var(--mim-logo-zoom-mobile,1.2)))!important;
  }
  #clients .mim-client-logo-tile .mim-client-logo-name {
    font-size:8px;
    bottom:6px;
  }
  #clients .mim-clients-group {gap:10px;padding-right:10px;}
}
@media (prefers-reduced-motion:reduce) {
  #clients .mim-client-logo-tile,
  #clients .mim-client-logo-tile img {transition:none!important}
}


/* v4.90 — Frame-free cinematic CLIENTS logo ribbon.
   Do not crop, stretch or put square cards around transparent source logos. */
#clients .mim-clients-viewport.mim-clients-marquee {
  position:relative;
  display:block;
  width:calc(100% + (var(--gutter) * 2));
  max-width:none;
  margin:18px calc(var(--gutter) * -1) 0;
  padding:6px 0;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:transparent;
}
#clients .mim-clients-viewport.mim-clients-marquee::before,
#clients .mim-clients-viewport.mim-clients-marquee::after {
  width:clamp(22px,7vw,100px);
  z-index:2;
}
#clients .mim-clients-track {
  display:flex;
  width:max-content;
  align-items:center;
  gap:0;
  animation:mimClientLogoScroll var(--mim-client-duration,52s) linear infinite;
  will-change:transform;
}
#clients .mim-clients-group {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:0;
  padding:0;
}
#clients .mim-client-logo-tile,
#clients .mim-client-logo-tile:is(:hover,:focus-within) {
  display:flex;
  flex:0 0 var(--mim-logo-card-desktop,235px);
  width:var(--mim-logo-card-desktop,235px);
  height:clamp(132px,11vw,170px);
  min-height:0;
  max-width:none;
  aspect-ratio:auto;
  margin:0;
  padding:0;
  gap:0;
  overflow:visible;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
#clients .mim-client-logo-link,
#clients .mim-client-logo-static {
  display:flex;
  flex:0 0 auto;
  width:var(--mim-client-img-w-d,195px);
  height:var(--mim-client-img-h-d,110px);
  max-width:calc(100% - var(--mim-logo-padding,17px) - var(--mim-logo-padding,17px));
  max-height:100%;
  min-height:0;
  margin:auto;
  padding:0;
  justify-content:center;
  align-items:center;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
}
#clients .mim-client-logo-tile img,
#clients .mim-client-logo-tile:is(:hover,:focus-within) img {
  display:block;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center;
  aspect-ratio:auto;
  opacity:1;
  filter:none;
  transform:none!important;
  transition:opacity .25s ease;
}
#clients .mim-client-logo-tile .mim-client-logo-name {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
#clients .mim-client-logo-tile:has(a):hover img {opacity:.77;}
#clients .mim-clients-viewport:focus-within .mim-clients-track,
#clients .mim-clients-viewport:hover .mim-clients-track {animation-play-state:paused;}
@media(max-width:900px) {
  #clients .mim-client-logo-tile,
  #clients .mim-client-logo-tile:is(:hover,:focus-within) {
    flex-basis:var(--mim-logo-card-tablet,195px);
    width:var(--mim-logo-card-tablet,195px);
    height:140px;
  }
  #clients .mim-client-logo-link,
  #clients .mim-client-logo-static {
    width:var(--mim-client-img-w-t,155px);
    height:var(--mim-client-img-h-t,102px);
  }
}
@media(max-width:600px) {
  #clients .mim-clients-viewport.mim-clients-marquee {margin-top:10px;}
  #clients .mim-client-logo-tile,
  #clients .mim-client-logo-tile:is(:hover,:focus-within) {
    flex-basis:var(--mim-logo-card-mobile,160px);
    width:var(--mim-logo-card-mobile,160px);
    height:118px;
    padding:0;
  }
  #clients .mim-client-logo-link,
  #clients .mim-client-logo-static {
    width:var(--mim-client-img-w-m,130px);
    height:var(--mim-client-img-h-m,88px);
  }
}
@media(prefers-reduced-motion:reduce) {
  #clients .mim-clients-viewport.mim-clients-marquee {overflow-x:auto;scrollbar-width:thin;}
  #clients .mim-clients-track {animation:none!important;will-change:auto;}
  #clients .mim-clients-group[aria-hidden="true"] {display:none;}
  #clients .mim-clients-viewport::before,
  #clients .mim-clients-viewport::after {display:none;}
}
